MockableCommunicationSubscriptionResource.GetEmailServiceResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.