GatewayHostnameConfiguration interface

Interface representing a GatewayHostnameConfiguration.

Methods

createOrUpdate(string, string, string, string, GatewayHostnameConfigurationContract, GatewayHostnameConfigurationCreateOrUpdateOptionalParams)

Creates of updates hostname configuration for a Gateway.

delete(string, string, string, string, string, GatewayHostnameConfigurationDeleteOptionalParams)

Deletes the specified hostname configuration from the specified Gateway.

get(string, string, string, string, GatewayHostnameConfigurationGetOptionalParams)

Get details of a hostname configuration

getEntityTag(string, string, string, string, GatewayHostnameConfigurationGetEntityTagOptionalParams)

Checks that hostname configuration entity specified by identifier exists for specified Gateway entity.

listByService(string, string, string, GatewayHostnameConfigurationListByServiceOptionalParams)

Lists the collection of hostname configurations for the specified gateway.

Method Details

createOrUpdate(string, string, string, string, GatewayHostnameConfigurationContract, GatewayHostnameConfigurationCreateOrUpdateOptionalParams)

Creates of updates hostname configuration for a Gateway.

function createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: GatewayHostnameConfigurationContract, options?: GatewayHostnameConfigurationCreateOrUpdateOptionalParams): Promise<GatewayHostnameConfigurationCreateOrUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

parameters
GatewayHostnameConfigurationContract

Gateway hostname configuration details.

Returns

delete(string, string, string, string, string, GatewayHostnameConfigurationDeleteOptionalParams)

Deletes the specified hostname configuration from the specified Gateway.

function delete(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, ifMatch: string, options?: GatewayHostnameConfigurationDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

ifMatch

string

ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

options
GatewayHostnameConfigurationDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, GatewayHostnameConfigurationGetOptionalParams)

Get details of a hostname configuration

function get(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, options?: GatewayHostnameConfigurationGetOptionalParams): Promise<GatewayHostnameConfigurationGetResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

options
GatewayHostnameConfigurationGetOptionalParams

The options parameters.

Returns

getEntityTag(string, string, string, string, GatewayHostnameConfigurationGetEntityTagOptionalParams)

Checks that hostname configuration entity specified by identifier exists for specified Gateway entity.

function getEntityTag(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, options?: GatewayHostnameConfigurationGetEntityTagOptionalParams): Promise<GatewayHostnameConfigurationGetEntityTagHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

Returns

listByService(string, string, string, GatewayHostnameConfigurationListByServiceOptionalParams)

Lists the collection of hostname configurations for the specified gateway.

function listByService(resourceGroupName: string, serviceName: string, gatewayId: string, options?: GatewayHostnameConfigurationListByServiceOptionalParams): PagedAsyncIterableIterator<GatewayHostnameConfigurationContract, GatewayHostnameConfigurationContract[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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'

Returns