Share via


PolicyDefinitionsOperationsExtensions.DeleteAtManagementGroup Method

Definition

Deletes a policy definition in a management group.

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

Parameters

operations
IPolicyDefinitionsOperations

The operations group for this extension method.

policyDefinitionName
String

The name of the policy definition to delete.

managementGroupId
String

The ID of the management group.

Remarks

This operation deletes the policy definition in the given management group with the given name.

Applies to