v8

latestSwagger 2.0raw.githubusercontent.com2023-06-05132207357.5 KB
Policies

Get policy.

get/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}

Path parameters

subscriptionIdstring required

The subscription ID.

resourceGroupNamestring required

The name of the resource group.

labNamestring required

The name of the lab.

policySetNamestring required

The name of the policy set.

namestring required

The name of the policy.

Query parameters

$expandstring

Specify the $expand query. Example: 'properties($select=description)'

api-versionstring required

Client API version.

Response

OK

idstring

The identifier of the resource.

namestring

The name of the resource.

typestring

The type of the resource.

locationstring

The location of the resource.

tagsobject

The tags of the resource.