/// <summary> /// Retrieves a policy set definition. /// </summary> /// <remarks> /// This operation retrieves the policy set definition in the given /// subscription 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> public static PolicySetDefinition Get(this IPolicySetDefinitionsOperations operations, string policySetDefinitionName) { return(operations.GetAsync(policySetDefinitionName).GetAwaiter().GetResult()); }