Share via


GatewayHostnameConfigurationOperationsExtensions.GetAsync Method

Definition

Get details of a hostname configuration

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

hcId
String

Gateway hostname configuration identifier. Must be unique in the scope of parent Gateway entity.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to