共用方式為


MockableCommunicationSubscriptionResource.GetCommunicationServiceResourcesAsync Method

Definition

Handles requests to list all resources in a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to