Share via


PolicyDefinitionsOperationsExtensions.Get Method

Definition

Retrieves a policy definition in a subscription.

public static Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition Get (this Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations operations, string policyDefinitionName);
static member Get : Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations * string -> Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition
<Extension()>
Public Function Get (operations As IPolicyDefinitionsOperations, policyDefinitionName As String) As PolicyDefinition

Parameters

operations
IPolicyDefinitionsOperations

The operations group for this extension method.

policyDefinitionName
String

The name of the policy definition to get.

Returns

Remarks

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

Applies to