MockableServiceFabricManagedClustersSubscriptionResource.GetServiceFabricManagedClusters Method

Definition

Gets all Service Fabric cluster resources created or in the process of being created in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/managedClusters
  • Operation Id: ManagedClusters_ListBySubscription
  • Default Api Version: 2024-04-01
  • Resource: ServiceFabricManagedClusterResource
public virtual Azure.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource> GetServiceFabricManagedClusters (System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricManagedClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource>
override this.GetServiceFabricManagedClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource>
Public Overridable Function GetServiceFabricManagedClusters (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceFabricManagedClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to