Share via


AppServiceEnvironmentsOperationsExtensions.BeginChangeVnetAsync Method

Definition

Move an App Service Environment to a different 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))

Parameters

operations
IAppServiceEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the App Service Environment.

vnetInfo
VirtualNetworkProfile

Details for the new virtual network.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Move an App Service Environment to a different VNET.

Applies to