共用方式為


TopicsOperationsExtensions.ListSharedAccessKeys Method

Definition

List keys for a topic.

public static Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys ListSharedAccessKeys (this Microsoft.Azure.Management.EventGrid.ITopicsOperations operations, string resourceGroupName, string topicName);
static member ListSharedAccessKeys : Microsoft.Azure.Management.EventGrid.ITopicsOperations * string * string -> Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys
<Extension()>
Public Function ListSharedAccessKeys (operations As ITopicsOperations, resourceGroupName As String, topicName As String) As 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.

Returns

Remarks

List the two keys used to publish to a topic.

Applies to