Share via


MockableCommunicationSubscriptionResource.GetEmailServiceResources 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.Pageable<Azure.ResourceManager.Communication.EmailServiceResource> GetEmailServiceResources (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEmailServiceResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Communication.EmailServiceResource>
override this.GetEmailServiceResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Communication.EmailServiceResource>
Public Overridable Function GetEmailServiceResources (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EmailServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to