v1

latestSwagger 2.0raw.githubusercontent.com2019-08-2810519.9 KB
PolicySetDefinitions

Creates or updates a policy set definition.

This operation creates or updates a policy set definition in the given subscription with the given name.

put/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}

Path parameters

policySetDefinitionNamestring required

The name of the policy set definition to create.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for the operation.

Request body

idstring

The ID of the policy set definition.

namestring

The name of the policy set definition.

typestring

The type of the resource (Microsoft.Authorization/policySetDefinitions).

Response

OK - Returns information about the policy set definition.

idstring

The ID of the policy set definition.

namestring

The name of the policy set definition.

typestring

The type of the resource (Microsoft.Authorization/policySetDefinitions).