Compartilhar via


QueuesOperationsExtensions.RegenerateKeysAsync Método

Definição

Regenera as cadeias de conexão primárias ou secundárias para a fila. https://msdn.microsoft.com/en-us/library/azure/mt705606.aspx

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

Parâmetros

operations
IQueuesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do Azure.

namespaceName
String

O nome do namespace

queueName
String

O nome da fila.

authorizationRuleName
String

O nome da autorização.

policykey
Nullable<Policykey>

Chave que precisa ser regenerada. Os valores possíveis incluem: 'PrimaryKey', 'SecondaryKey'

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a