共用方式為


AppServicePlansOperationsExtensions.UpdateVnetGatewayAsync 方法

定義

更新虛擬網路閘道。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner> UpdateVnetGatewayAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations operations, string resourceGroupName, string name, string vnetName, string gatewayName, Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner connectionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member UpdateVnetGatewayAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations * 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 UpdateVnetGatewayAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, vnetName As String, gatewayName As String, connectionEnvelope As VnetGatewayInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VnetGatewayInner)

參數

operations
IAppServicePlansOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

App Service 方案的名稱。

vnetName
String

虛擬網路的名稱。

gatewayName
String

閘道的名稱。 僅支援 「主要」閘道。

connectionEnvelope
VnetGatewayInner

閘道的定義。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

更新虛擬網路閘道的描述。

適用於