Udostępnij za pośrednictwem


AppServiceEnvironmentsOperationsExtensions.ChangeVnetAsync Metoda

Definicja

Przenieś App Service Environment do innej sieci wirtualnej.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>> ChangeVnetAsync (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 ChangeVnetAsync : 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 ChangeVnetAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, vnetInfo As VirtualNetworkProfile, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SiteInner))

Parametry

operations
IAppServiceEnvironmentsOperations

Grupa operacji dla tej metody rozszerzenia.

resourceGroupName
String

Nazwa grupy zasobów, do której należy zasób.

name
String

Nazwa App Service Environment.

vnetInfo
VirtualNetworkProfile

Szczegóły nowej sieci wirtualnej.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Uwagi

Opis przenoszenia App Service Environment do innej sieci wirtualnej.

Dotyczy