다음을 통해 공유


WebAppsOperationsExtensions.CreateOrUpdateHybridConnectionSlotAsync Method

Definition

Creates a new Hybrid Connection using a Service Bus relay.

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

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
HybridConnection

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