Share via


AppServiceEnvironmentsOperationsExtensions.ChangeVnetAsync Method

Definition

Move an App Service Environment to a different VNET.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Site>> ChangeVnetAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.VirtualNetworkProfile vnetInfo, System.Threading.CancellationToken cancellationToken = default);
static member ChangeVnetAsync : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.VirtualNetworkProfile * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Site>>
<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 Site))

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