다음을 통해 공유


GatewayHostnameConfigurationOperationsExtensions.ListByServiceAsync Method

Definition

Lists the collection of hostname configurations for the specified gateway.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract>> ListByServiceAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IGatewayHostnameConfigurationOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IGatewayHostnameConfigurationOperations, resourceGroupName As String, serviceName As String, gatewayId As String, Optional odataQuery As ODataQuery(Of GatewayHostnameConfigurationContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to