다음을 통해 공유


CassandraDataCenterCollection Class

Definition

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

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

Constructors

CassandraDataCenterCollection()

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

Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}
  • Operation Id: CassandraDataCenters_CreateUpdate
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraDataCenterResource
CreateOrUpdateAsync(WaitUntil, String, CassandraDataCenterData, CancellationToken)

Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get the properties of a managed Cassandra data center.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}
  • Operation Id: CassandraDataCenters_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraDataCenterResource
GetAll(CancellationToken)

List all data centers in a particular managed Cassandra cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters
  • Operation Id: CassandraDataCenters_List
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraDataCenterResource
GetAllAsync(CancellationToken)

List all data centers in a particular managed Cassandra cluster.

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

Get the properties of a managed Cassandra data center.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CassandraDataCenterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to