MockableCommunicationSubscriptionResource.GetEmailServiceResources 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.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.