v1

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

Creates or updates a policy definition in a management group.

This operation creates or updates a policy definition in the given management group with the given name.

put/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}

Path parameters

policyDefinitionNamestring required

The name of the policy definition to create.

managementGroupIdstring required

The ID of the management group.

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.

typestring

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

Response

Created - 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).