Share via


WebAppsOperationsExtensions.CreateOrUpdateVnetConnectionAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetInfo> CreateOrUpdateVnetConnectionAsync (this Microsoft.Azure.Management.WebSites.Version2016_09_01.IWebAppsOperations operations, string resourceGroupName, string name, string vnetName, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetInfo connectionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateVnetConnectionAsync : Microsoft.Azure.Management.WebSites.Version2016_09_01.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetInfo>
<Extension()>
Public Function CreateOrUpdateVnetConnectionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, vnetName As String, connectionEnvelope As VnetInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VnetInfo)

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
vnetName
String
connectionEnvelope
VnetInfo
cancellationToken
CancellationToken

Returns

Applies to