MockableCommunicationSubscriptionResource.GetCommunicationServiceResources 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/communicationServices
- Operation Id: CommunicationServices_ListBySubscription
- Default Api Version: 2023-04-01
- Resource: CommunicationServiceResource
public virtual Azure.Pageable<Azure.ResourceManager.Communication.CommunicationServiceResource> GetCommunicationServiceResources (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommunicationServiceResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Communication.CommunicationServiceResource>
override this.GetCommunicationServiceResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Communication.CommunicationServiceResource>
Public Overridable Function GetCommunicationServiceResources (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CommunicationServiceResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of CommunicationServiceResource that may take multiple service requests to iterate over.