共用方式為


QueuesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Service Bus queue. This operation is idempotent. https://msdn.microsoft.com/en-us/library/azure/mt639395.aspx

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

Parameters

operations
IQueuesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

queueName
String

The queue name.

parameters
QueueInner

Parameters supplied to create or update a queue resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to