共用方式為


NamespacesOperationsExtensions.UpdateAsync Method

Definition

Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.

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

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The Namespace Name

parameters
RelayUpdateParameters

Parameters for updating a namespace resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to