/// <summary> /// Deletes a policy set definition. /// </summary> /// <remarks> /// This operation deletes the policy set definition in the given management /// group with the given name. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='policySetDefinitionName'> /// The name of the policy set definition to delete. /// </param> /// <param name='managementGroupId'> /// The ID of the management group. /// </param> public static void DeleteAtManagementGroup(this IPolicySetDefinitionsOperations operations, string policySetDefinitionName, string managementGroupId) { operations.DeleteAtManagementGroupAsync(policySetDefinitionName, managementGroupId).GetAwaiter().GetResult(); }