WebAppsOperationsExtensions.UpdateHybridConnectionSlotAsync(IWebAppsOperations, String, String, String, String, HybridConnection, String, CancellationToken) 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 = null);
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>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

The name of the web app.

namespaceName
System.String

The namespace for this hybrid connection.

relayName
System.String

The relay name for this hybrid connection.

connectionEnvelope
HybridConnection

The details of the hybrid connection.

slot
System.String

The name of the slot for the web app.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<HybridConnection>

Remarks

Creates a new Hybrid Connection using a Service Bus relay.

Applies to