v1

latestSwagger 2.0raw.githubusercontent.com2019-08-2810316.0 KB
PolicyDefinitions

Retrieves a policy definition in a subscription.

This operation retrieves the policy definition in the given subscription with the given name.

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.

typestring

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

All 10 operations