Share via


GatewayHostnameConfigurationOperationsExtensions.ListByService Method

Definition

Lists the collection of hostname configurations for the specified gateway.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract> ListByService (this Microsoft.Azure.Management.ApiManagement.IGatewayHostnameConfigurationOperations operations, string resourceGroupName, string serviceName, string gatewayId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract> odataQuery = default);
static member ListByService : Microsoft.Azure.Management.ApiManagement.IGatewayHostnameConfigurationOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract>
<Extension()>
Public Function ListByService (operations As IGatewayHostnameConfigurationOperations, resourceGroupName As String, serviceName As String, gatewayId As String, Optional odataQuery As ODataQuery(Of GatewayHostnameConfigurationContract) = Nothing) As IPage(Of GatewayHostnameConfigurationContract)

Parameters

operations
IGatewayHostnameConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

gatewayId
String

Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'

odataQuery
ODataQuery<GatewayHostnameConfigurationContract>

OData parameters to apply to the operation.

Returns

Applies to