Partager via


ExpressRouteGatewaysOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Crée ou met à jour une passerelle ExpressRoute dans un groupe de ressources spécifié.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IExpressRouteGatewaysOperations operations, string resourceGroupName, string expressRouteGatewayName, Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IExpressRouteGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IExpressRouteGatewaysOperations, resourceGroupName As String, expressRouteGatewayName As String, putExpressRouteGatewayParameters As ExpressRouteGatewayInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteGatewayInner)

Paramètres

operations
IExpressRouteGatewaysOperations

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

resourceGroupName
String

Nom du groupe de ressources.

expressRouteGatewayName
String

Nom de la passerelle ExpressRoute.

putExpressRouteGatewayParameters
ExpressRouteGatewayInner

Paramètres requis dans une opération PUT de passerelle ExpressRoute.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à