共用方式為


AppServiceEnvironmentsOperationsExtensions.BeginChangeVnetAsync 方法

定義

將App Service 環境移至不同的 VNET。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>> BeginChangeVnetAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.VirtualNetworkProfile vnetInfo, System.Threading.CancellationToken cancellationToken = default);
static member BeginChangeVnetAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.VirtualNetworkProfile * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>>
<Extension()>
Public Function BeginChangeVnetAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, vnetInfo As VirtualNetworkProfile, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SiteInner))

參數

operations
IAppServiceEnvironmentsOperations

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

resourceGroupName
String

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

name
String

App Service 環境的名稱。

vnetInfo
VirtualNetworkProfile

新虛擬網路的詳細資料。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

將App Service 環境移至不同 VNET 的描述。

適用於