共用方式為


ServiceFabricClusterCollection Class

Definition

A class representing a collection of ServiceFabricClusterResource and their operations. Each ServiceFabricClusterResource in the collection will belong to the same instance of ResourceGroupResource. To get a ServiceFabricClusterCollection instance call the GetServiceFabricClusters method from an instance of ResourceGroupResource.

public class ServiceFabricClusterCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ServiceFabric.ServiceFabricClusterResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabric.ServiceFabricClusterResource>
type ServiceFabricClusterCollection = class
    inherit ArmCollection
    interface seq<ServiceFabricClusterResource>
    interface IEnumerable
    interface IAsyncEnumerable<ServiceFabricClusterResource>
Public Class ServiceFabricClusterCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ServiceFabricClusterResource), IEnumerable(Of ServiceFabricClusterResource)
Inheritance
ServiceFabricClusterCollection
Implements

Constructors

ServiceFabricClusterCollection()

Initializes a new instance of the ServiceFabricClusterCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ServiceFabricClusterData, CancellationToken)

Create or update a Service Fabric cluster resource with the specified name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_CreateOrUpdate
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
CreateOrUpdateAsync(WaitUntil, String, ServiceFabricClusterData, CancellationToken)

Create or update a Service Fabric cluster resource with the specified name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_CreateOrUpdate
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
Get(String, CancellationToken)

Get a Service Fabric cluster resource created or in the process of being created in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
GetAll(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters
  • Operation Id: Clusters_ListByResourceGroup
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
GetAllAsync(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters
  • Operation Id: Clusters_ListByResourceGroup
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
GetAsync(String, CancellationToken)

Get a Service Fabric cluster resource created or in the process of being created in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricClusterResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ServiceFabricClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceFabricClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to