This section lists a few use case scenarios for the web service to create a staging policy. It can help you effectively use the create API. Each scenario is explained using an example URL and its subsequent response details.
You can create a staging policy to configure patrol agent from a staging integration service to communicate with Infrastructure Management Server using specified integration service.
The following table lists the parameters that you must provide with the URL.
List of required parameters that must be provided to access the create API
Set of conditions based on which the agents are identified to apply the policy
|Priority for the policy. The supported values are numbers between 0 and 999 with 999 being the lowest priority and 0 being the top priority.
The default value is 999.
|Details of the tenant who owns the policy. You can either provide name or the id of the tenant.
Name of the tenant who owns the policy. The supported values are as follows:
|Indicates whether the policy is enabled. The default value is true.
|Name of the policy
Type of the policy. The supported types are as follows:
|Brief description about the policy
|Display name of the Integration Service(IS) that assists the Agent to communicate to the Infrastructure Management Server. This should be an existing IS/cluster. Ensure that the IS is created before calling the API.
|The type of the integration service. The values can be IS or cluster.
|Name of the IS or IS cluster.
A staging policy is created, and a sample response is as follows: