WebAppsOperationsExtensions.UpdateSwiftVirtualNetworkConnectionSlotAsync 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 static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner> UpdateSwiftVirtualNetworkConnectionSlotAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner connectionEnvelope, string slot, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSwiftVirtualNetworkConnectionSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SwiftVirtualNetworkInner>
<Extension()>
Public Function UpdateSwiftVirtualNetworkConnectionSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, connectionEnvelope As SwiftVirtualNetworkInner, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SwiftVirtualNetworkInner)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the app.

connectionEnvelope
SwiftVirtualNetworkInner

Properties of the Virtual Network connection. See example.

slot
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<SwiftVirtualNetworkInner>

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