Condividi tramite


WCFRelaysOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or Updates a WCFRelay. This operation is idempotent.

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

Parameters

operations
IWCFRelaysOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The Namespace Name

relayName
String

The relay name

parameters
WcfRelay

Parameters supplied to create a WCFRelays.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to