Delen via


ServiceFabricServiceCollection.GetAll(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.Pageable<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceFabricServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to