Share via


SenderUsernameResourceCollection.GetAllAsync(CancellationToken) Method

Definition

List all valid sender usernames for a domains resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames
  • Operation Id: SenderUsernames_ListByDomains
  • Default Api Version: 2023-04-01
  • Resource: SenderUsernameResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Communication.SenderUsernameResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.SenderUsernameResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.SenderUsernameResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SenderUsernameResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SenderUsernameResource that may take multiple service requests to iterate over.

Applies to