Freigeben über


PartnerNamespaceResource.GetSharedAccessKeysAsync(CancellationToken) Methode

Definition

Listet die beiden Schlüssel auf, die zum Veröffentlichen in einem Partnernamespace verwendet werden.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceNameName}/listKeys
  • Vorgang IdPartnerNamespaces_ListSharedAccessKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.Models.PartnerNamespaceSharedAccessKeys>> GetSharedAccessKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedAccessKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.Models.PartnerNamespaceSharedAccessKeys>>
override this.GetSharedAccessKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.Models.PartnerNamespaceSharedAccessKeys>>
Public Overridable Function GetSharedAccessKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartnerNamespaceSharedAccessKeys))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: