PolicyDefinitions

Gets the policy definition.

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

Path parameters

policyDefinitionNamestring required

The name of the policy definition to get.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for the operation.

Response

OK - 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.

Changes

No recorded changes to this endpoint across all 3 revisions of this API.