WebAppsOperationsExtensions.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.WebSites.Models.SwiftVirtualNetwork> CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SwiftVirtualNetwork connectionEnvelope, string slot, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.SwiftVirtualNetwork * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SwiftVirtualNetwork>
<Extension()>
Public Function CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, connectionEnvelope As SwiftVirtualNetwork, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SwiftVirtualNetwork)
Parameters
- operations
- IWebAppsOperations
The operations group for this extension method.
- 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
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.