IWebAppsOperations.UpdateSwiftVirtualNetworkConnectionSlotWithHttpMessagesAsync Method

Definition

Integrates this Web App with a Virtual Network. This requires that

  1. "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner>> UpdateSwiftVirtualNetworkConnectionSlotWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner connectionEnvelope, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSwiftVirtualNetworkConnectionSlotWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner>>
Public Function UpdateSwiftVirtualNetworkConnectionSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, connectionEnvelope As SwiftVirtualNetworkInner, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SwiftVirtualNetworkInner))

Parameters

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

connectionEnvelope
SwiftVirtualNetworkInner

Properties of the Virtual Network connection. See example.

slot
String

Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

Applies to