TopicsOperationsExtensions.ListSharedAccessKeysAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List keys for a topic.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys> ListSharedAccessKeysAsync (this Microsoft.Azure.Management.EventGrid.ITopicsOperations operations, string resourceGroupName, string topicName, System.Threading.CancellationToken cancellationToken = default);
static member ListSharedAccessKeysAsync : Microsoft.Azure.Management.EventGrid.ITopicsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys>
<Extension()>
Public Function ListSharedAccessKeysAsync (operations As ITopicsOperations, resourceGroupName As String, topicName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TopicSharedAccessKeys)
Parameters
- operations
- ITopicsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription.
- topicName
- String
Name of the topic.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
List the two keys used to publish to a topic.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET