Condividi tramite


ServiceFabricServiceCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all service resources created or in the process of being created in the Service Fabric application resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services
  • Operation Id: Services_List
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricServiceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceFabricServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to