共用方式為


WebAppsOperationsExtensions.UpdateHybridConnectionSlotAsync Method

Definition

Creates a new Hybrid Connection using a Service Bus relay.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.HybridConnection> UpdateHybridConnectionSlotAsync (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 UpdateHybridConnectionSlotAsync : 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 UpdateHybridConnectionSlotAsync (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