/// <summary> /// Retrieves a policy set definition. /// </summary> /// <remarks> /// This operation retrieves 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 get. /// </param> /// <param name='managementGroupId'> /// The ID of the management group. /// </param> public static PolicySetDefinition GetAtManagementGroup(this IPolicySetDefinitionsOperations operations, string policySetDefinitionName, string managementGroupId) { return(operations.GetAtManagementGroupAsync(policySetDefinitionName, managementGroupId).GetAwaiter().GetResult()); }