Dela via


HybridConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or Updates a service HybridConnection. This operation is idempotent.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Models.HybridConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Relay.IHybridConnectionsOperations operations, string resourceGroupName, string namespaceName, string hybridConnectionName, Microsoft.Azure.Management.Relay.Models.HybridConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Relay.IHybridConnectionsOperations * string * string * string * Microsoft.Azure.Management.Relay.Models.HybridConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Models.HybridConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IHybridConnectionsOperations, resourceGroupName As String, namespaceName As String, hybridConnectionName As String, parameters As HybridConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HybridConnection)

Parameters

operations
IHybridConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The Namespace Name

hybridConnectionName
String

The hybrid connection name.

parameters
HybridConnection

Parameters supplied to create a HybridConnection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to