Share via


MockableCommunicationSubscriptionResource.GetEmailServiceResourcesAsync Method

Definition

Handles requests to list all resources in a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to