共用方式為


CassandraClusterCollection Class

Definition

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

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

Constructors

CassandraClusterCollection()

Initializes a new instance of the CassandraClusterCollection 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, CassandraClusterData, CancellationToken)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_CreateUpdate
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
CreateOrUpdateAsync(WaitUntil, String, CassandraClusterData, CancellationToken)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_CreateUpdate
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
Get(String, CancellationToken)

Get the properties of a managed Cassandra cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
GetAll(CancellationToken)

List all managed Cassandra clusters in this resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters
  • Operation Id: CassandraClusters_ListByResourceGroup
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
GetAllAsync(CancellationToken)

List all managed Cassandra clusters in this resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters
  • Operation Id: CassandraClusters_ListByResourceGroup
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
GetAsync(String, CancellationToken)

Get the properties of a managed Cassandra cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
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<CassandraClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CassandraClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to