/// <summary> /// Lists the collection of hostname configurations for the specified gateway. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> /// <param name='gatewayId'> /// Gateway entity identifier. Must be unique in the current API Management /// service instance. Must not have value 'managed' /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <GatewayHostnameConfigurationContract> ListByService(this IGatewayHostnameConfigurationOperations operations, string resourceGroupName, string serviceName, string gatewayId, ODataQuery <GatewayHostnameConfigurationContract> odataQuery = default(ODataQuery <GatewayHostnameConfigurationContract>)) { return(operations.ListByServiceAsync(resourceGroupName, serviceName, gatewayId, odataQuery).GetAwaiter().GetResult()); }
/// <summary> /// Lists the collection of hostname configurations for the specified gateway. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> /// <param name='gatewayId'> /// Gateway entity identifier. Must be unique in the current API Management /// service instance. Must not have value 'managed' /// </param> /// <param name='top'> /// Number of records to return. /// </param> /// <param name='skip'> /// Number of records to skip. /// </param> public static IPage <GatewayHostnameConfigurationContract> ListByService(this IGatewayHostnameConfigurationOperations operations, string resourceGroupName, string serviceName, string gatewayId, int?top = default(int?), int?skip = default(int?)) { return(operations.ListByServiceAsync(resourceGroupName, serviceName, gatewayId, top, skip).GetAwaiter().GetResult()); }