CommunicationDomainResourceCollection.GetAllAsync(CancellationToken) Method

Definition

Handles requests to list all Domains resources under the parent EmailServices resource.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to