IWebAppsOperations.CreateOrUpdateHybridConnectionWithHttpMessagesAsync(String, String, String, String, HybridConnectionInner, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Creates a new Hybrid Connection using a Service Bus relay.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner>> CreateOrUpdateHybridConnectionWithHttpMessagesAsync (string resourceGroupName, string name, string namespaceName, string relayName, Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner connectionEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateOrUpdateHybridConnectionWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.HybridConnectionInner>>

Parameters

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
HybridConnectionInner

The details of the hybrid connection

customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>

The headers that will be added to request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<HybridConnectionInner>>

Exceptions

Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

Creates a new Hybrid Connection using a Service Bus relay.

Applies to