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

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