Share via


CassandraDataCenterProperties Class

Definition

Properties of a managed Cassandra data center.

public class CassandraDataCenterProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterProperties>
type CassandraDataCenterProperties = class
    interface IJsonModel<CassandraDataCenterProperties>
    interface IPersistableModel<CassandraDataCenterProperties>
Public Class CassandraDataCenterProperties
Implements IJsonModel(Of CassandraDataCenterProperties), IPersistableModel(Of CassandraDataCenterProperties)
Inheritance
CassandraDataCenterProperties
Implements

Constructors

CassandraDataCenterProperties()

Initializes a new instance of CassandraDataCenterProperties.

Properties

AuthenticationMethodLdapProperties

Ldap authentication method properties. This feature is in preview.

BackupStorageCustomerKeyUri

Indicates the Key Uri of the customer key to use for encryption of the backup storage account.

Base64EncodedCassandraYamlFragment

A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.

DataCenterLocation

The region this data center should be created in.

Deallocated

Whether the data center has been deallocated.

DelegatedSubnetId

Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'.

DiskCapacity

Number of disks attached to each node. Default is 4.

DiskSku

Disk SKU used for data centers. Default value is P30.

DoesSupportAvailabilityZone

If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines.

ManagedDiskCustomerKeyUri

Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key.

NodeCount

The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.

PrivateEndpointIPAddress

Ip of the VPN Endpoint for this data center.

ProvisionError

Error related to resource provisioning.

ProvisioningState

The status of the resource at the time the operation was called.

SeedNodes

IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.

Sku

Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraDataCenterProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CassandraDataCenterProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraDataCenterProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraDataCenterProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CassandraDataCenterProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to