DataCenterResourceProperties Class

Properties of a managed Cassandra data center.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
DataCenterResourceProperties

Constructor

DataCenterResourceProperties(*, provisioning_state: Optional[Union[str, azure.mgmt.cosmosdb.models._cosmos_db_management_client_enums.ManagedCassandraProvisioningState]] = None, data_center_location: Optional[str] = None, delegated_subnet_id: Optional[str] = None, node_count: Optional[int] = None, base64_encoded_cassandra_yaml_fragment: Optional[str] = None, managed_disk_customer_key_uri: Optional[str] = None, backup_storage_customer_key_uri: Optional[str] = None, sku: Optional[str] = None, disk_sku: Optional[str] = None, disk_capacity: Optional[int] = None, availability_zone: Optional[bool] = None, authentication_method_ldap_properties: Optional[azure.mgmt.cosmosdb.models._models_py3.AuthenticationMethodLdapProperties] = None, **kwargs)

Variables

provisioning_state
str or ManagedCassandraProvisioningState

The status of the resource at the time the operation was called. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled".

data_center_location
str

The region this data center should be created in.

delegated_subnet_id
str

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>'.

node_count
int

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.

seed_nodes
list[SeedNode]

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.

base64_encoded_cassandra_yaml_fragment
str

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.

managed_disk_customer_key_uri
str

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.

backup_storage_customer_key_uri
str

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

sku
str

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

disk_sku
str

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

disk_capacity
int

Number of disk used for data centers. Default value is 4.

availability_zone
bool

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

authentication_method_ldap_properties
AuthenticationMethodLdapProperties

Ldap authentication method properties. This feature is in preview.