Partilhar via


WebAppsOperationsExtensions.CreateOrUpdateVnetConnectionGatewayAsync Método

Definição

Adiciona um gateway a um Rede Virtual ligado (PUT) ou atualiza-o (PATCH).

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner> CreateOrUpdateVnetConnectionGatewayAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string vnetName, string gatewayName, Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner connectionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateVnetConnectionGatewayAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner>
<Extension()>
Public Function CreateOrUpdateVnetConnectionGatewayAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, vnetName As String, gatewayName As String, connectionEnvelope As VnetGatewayInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VnetGatewayInner)

Parâmetros

operations
IWebAppsOperations

O grupo de operações para este método de extensão.

resourceGroupName
String

Nome do grupo de recursos ao qual o recurso pertence.

name
String

Nome da aplicação.

vnetName
String

Nome do Rede Virtual.

gatewayName
String

Nome do gateway. Atualmente, a única cadeia suportada é "primária".

connectionEnvelope
VnetGatewayInner

As propriedades para atualizar este gateway com.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Observações

Descrição para Adicionar um gateway a um Rede Virtual ligado (PUT) ou atualizá-lo (PATCH).

Aplica-se a