Partilhar via


EventGridTopicResource.GetSharedAccessKeys(CancellationToken) Método

Definição

Liste as duas chaves usadas para publicar em um tópico.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys
  • IdTopics_ListSharedAccessKeys de operação
public virtual Azure.Response<Azure.ResourceManager.EventGrid.Models.TopicSharedAccessKeys> GetSharedAccessKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedAccessKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.Models.TopicSharedAccessKeys>
override this.GetSharedAccessKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.Models.TopicSharedAccessKeys>
Public Overridable Function GetSharedAccessKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of TopicSharedAccessKeys)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a