Sdílet prostřednictvím


IAppServiceEnvironmentsOperations.BeginChangeVnetWithHttpMessagesAsync Metoda

Definice

Přesuňte App Service Environment do jiné virtuální sítě.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>>> BeginChangeVnetWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.VirtualNetworkProfile vnetInfo, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginChangeVnetWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.VirtualNetworkProfile * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>>>
Public Function BeginChangeVnetWithHttpMessagesAsync (resourceGroupName As String, name As String, vnetInfo As VirtualNetworkProfile, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SiteInner)))

Parametry

resourceGroupName
String

Název skupiny prostředků, do které prostředek patří.

name
String

Název App Service Environment.

vnetInfo
VirtualNetworkProfile

Podrobnosti o nové virtuální síti

customHeaders
Dictionary<String,List<String>>

Hlavičky, které se přidají do požadavku.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolána při nemožnosti deserializovat odpověď

Vyvolá se, když má požadovaný parametr hodnotu null.

Poznámky

Popis pro přesunutí App Service Environment do jiné virtuální sítě

Platí pro