Partager via


GatewayHostnameConfigurationOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Crée la configuration du nom d’hôte des mises à jour pour une passerelle.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.IGatewayHostnameConfigurationOperations operations, string resourceGroupName, string serviceName, string gatewayId, string hcId, Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IGatewayHostnameConfigurationOperations * string * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.GatewayHostnameConfigurationContract>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGatewayHostnameConfigurationOperations, resourceGroupName As String, serviceName As String, gatewayId As String, hcId As String, parameters As GatewayHostnameConfigurationContract, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GatewayHostnameConfigurationContract)

Paramètres

operations
IGatewayHostnameConfigurationOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

serviceName
String

Nom du service Gestion des API.

gatewayId
String

Identificateur d’entité de passerelle. Doit être unique dans le instance de service Gestion des API actuel. Ne doit pas avoir la valeur 'managed'

hcId
String

Identificateur de configuration du nom d’hôte de la passerelle. Doit être unique dans l’étendue de l’entité de passerelle parente.

ifMatch
String

ETag de l’entité. Non obligatoire lors de la création d’une entité, mais obligatoire lors de la mise à jour d’une entité.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à