DataCenterResourceProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
DataCenterResourceProperties()
Initializes a new instance of the DataCenterResourceProperties class.
public DataCenterResourceProperties ();
Public Sub New ()
Applies to
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.
public DataCenterResourceProperties (string provisioningState = default, string dataCenterLocation = default, string delegatedSubnetId = default, int? nodeCount = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SeedNode> seedNodes = default, string base64EncodedCassandraYamlFragment = default, string managedDiskCustomerKeyUri = default, string backupStorageCustomerKeyUri = default, string sku = default, string diskSku = default, int? diskCapacity = default, bool? availabilityZone = default);
new Microsoft.Azure.Management.CosmosDB.Models.DataCenterResourceProperties : string * string * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SeedNode> * string * string * string * string * string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Models.DataCenterResourceProperties
Public Sub New (Optional provisioningState As String = Nothing, Optional dataCenterLocation As String = Nothing, Optional delegatedSubnetId As String = Nothing, Optional nodeCount As Nullable(Of Integer) = Nothing, Optional seedNodes As IList(Of SeedNode) = Nothing, Optional base64EncodedCassandraYamlFragment As String = Nothing, Optional managedDiskCustomerKeyUri As String = Nothing, Optional backupStorageCustomerKeyUri As String = Nothing, Optional sku As String = Nothing, Optional diskSku As String = Nothing, Optional diskCapacity As Nullable(Of Integer) = Nothing, Optional availabilityZone As Nullable(Of Boolean) = Nothing)
Parameters
- provisioningState
- String
Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- dataCenterLocation
- String
The region this data center should be created in.
- delegatedSubnetId
- String
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>'.
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.
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.
- base64EncodedCassandraYamlFragment
- String
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.
- managedDiskCustomerKeyUri
- String
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.
- backupStorageCustomerKeyUri
- String
Indicates the Key Uri of the customer key to use for encryption of the backup storage account.
- sku
- String
Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2
- diskSku
- String
Disk SKU used for data centers. Default value is P30.
If the azure data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines.