/// <summary> /// Retrieves a built in policy set definition. /// </summary> /// <remarks> /// This operation retrieves the built-in policy set definition 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 GetBuiltIn(this IPolicySetDefinitionsOperations operations, string policySetDefinitionName) { return(operations.GetBuiltInAsync(policySetDefinitionName).GetAwaiter().GetResult()); }