AppServiceEnvironmentsOperationsExtensions.ChangeVnetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET