Share via


DomainsOperationsExtensions.ListSharedAccessKeysAsync Method

Definition

List keys for a domain.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.DomainSharedAccessKeys> ListSharedAccessKeysAsync (this Microsoft.Azure.Management.EventGrid.IDomainsOperations operations, string resourceGroupName, string domainName, System.Threading.CancellationToken cancellationToken = default);
static member ListSharedAccessKeysAsync : Microsoft.Azure.Management.EventGrid.IDomainsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.DomainSharedAccessKeys>
<Extension()>
Public Function ListSharedAccessKeysAsync (operations As IDomainsOperations, resourceGroupName As String, domainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DomainSharedAccessKeys)

Parameters

operations
IDomainsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription.

domainName
String

Name of the domain.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List the two keys used to publish to a domain.

Applies to