v3

latestSwagger 2.0raw.githubusercontent.com2018-12-1013621.6 KB
PolicyDefinitions

Creates or updates a policy definition.

put/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions/{policyDefinitionName}

Path parameters

policyDefinitionNamestring required

The name of the policy 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 definition.

namestring

The name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.

Response

Created - Returns information about the policy definition.

idstring

The ID of the policy definition.

namestring

The name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.