Share via


DataCenterResourceProperties Class

Definition

Properties of a managed Cassandra data center.

public class DataCenterResourceProperties
type DataCenterResourceProperties = class
Public Class DataCenterResourceProperties
Inheritance
DataCenterResourceProperties

Constructors

DataCenterResourceProperties()

Initializes a new instance of the DataCenterResourceProperties class.

DataCenterResourceProperties(String, String, String, Nullable<Int32>, IList<SeedNode>, String, String, String, String, String, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the DataCenterResourceProperties class.

Properties

AvailabilityZone

Gets or sets if the azure data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines.

BackupStorageCustomerKeyUri

Gets or sets indicates the Key Uri of the customer key to use for encryption of the backup storage account.

Base64EncodedCassandraYamlFragment

Gets or sets 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

Gets or sets the region this data center should be created in.

DelegatedSubnetId

Gets or sets 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/&lt;subscription id&gt;/resourceGroups/&lt;resource group&gt;/providers/Microsoft.Network/virtualNetworks/&lt;virtual network&gt;/subnets/&lt;subnet&gt;'.

DiskCapacity

Gets or sets number of disk used for data centers. Default value is 4.

DiskSku

Gets or sets disk SKU used for data centers. Default value is P30.

ManagedDiskCustomerKeyUri

Gets or sets 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

Gets or sets 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.

ProvisioningState

Gets or sets possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

SeedNodes

Gets 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

Gets or sets virtual Machine SKU used for data centers. Default value is Standard_DS14_v2

Applies to