IWebAppsOperations.UpdateSwiftVirtualNetworkConnectionWithCheckSlotWithHttpMessagesAsync 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.WebSites.Models.SwiftVirtualNetwork>> UpdateSwiftVirtualNetworkConnectionWithCheckSlotWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SwiftVirtualNetwork connectionEnvelope, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSwiftVirtualNetworkConnectionWithCheckSlotWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.WebSites.Models.SwiftVirtualNetwork * 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.WebSites.Models.SwiftVirtualNetwork>>
Public Function UpdateSwiftVirtualNetworkConnectionWithCheckSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, connectionEnvelope As SwiftVirtualNetwork, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SwiftVirtualNetwork))

Parameters

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

connectionEnvelope
SwiftVirtualNetwork

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