Compartir a través de


EventGridTopicResource.GetSharedAccessKeys(CancellationToken) Método

Definición

Enumere las dos claves usadas para publicar en un tema.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys
  • IdTopics_ListSharedAccessKeys de operaciones
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

Token de cancelación que se va a usar.

Devoluciones

Se aplica a