WebAppsOperationsExtensions.CreateOrUpdateHybridConnectionSlotAsync Method

Definition

Creates a new Hybrid Connection using a Service Bus relay.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner> CreateOrUpdateHybridConnectionSlotAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string namespaceName, string relayName, Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner connectionEnvelope, string slot, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateHybridConnectionSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner>
<Extension()>
Public Function CreateOrUpdateHybridConnectionSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, namespaceName As String, relayName As String, connectionEnvelope As HybridConnectionInner, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HybridConnectionInner)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

The name of the web app.

namespaceName
String

The namespace for this hybrid connection.

relayName
String

The relay name for this hybrid connection.

connectionEnvelope
HybridConnectionInner

The details of the hybrid connection.

slot
String

The name of the slot for the web app.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates a new Hybrid Connection using a Service Bus relay.

Applies to