Udostępnij za pośrednictwem


PolicyDefinitionsOperationsExtensions.Delete Method

Definition

Deletes a policy definition in a subscription.

public static void Delete (this Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations operations, string policyDefinitionName);
static member Delete : Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations * string -> unit
<Extension()>
Public Sub Delete (operations As IPolicyDefinitionsOperations, policyDefinitionName As String)

Parameters

operations
IPolicyDefinitionsOperations

The operations group for this extension method.

policyDefinitionName
String

The name of the policy definition to delete.

Remarks

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

Applies to