Delen via


ArmCosmosDBModelFactory.CassandraDataCenterProperties Method

Definition

Overloads

CassandraDataCenterProperties(Nullable<CassandraProvisioningState>, Nullable<AzureLocation>, ResourceIdentifier, Nullable<Int32>, IEnumerable<CassandraDataCenterSeedNode>, String, Uri, Uri, String, String, Nullable<Int32>, Nullable<Boolean>)
CassandraDataCenterProperties(Nullable<CassandraProvisioningState>, Nullable<AzureLocation>, ResourceIdentifier, Nullable<Int32>, IEnumerable<CassandraDataCenterSeedNode>, String, Uri, Uri, String, String, Nullable<Int32>, Nullable<Boolean>, AuthenticationMethodLdapProperties, Nullable<Boolean>, CassandraError, String)

Initializes a new instance of CassandraDataCenterProperties.

CassandraDataCenterProperties(Nullable<CassandraProvisioningState>, Nullable<AzureLocation>, ResourceIdentifier, Nullable<Int32>, IEnumerable<CassandraDataCenterSeedNode>, String, Uri, Uri, String, String, Nullable<Int32>, Nullable<Boolean>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterProperties CassandraDataCenterProperties (Azure.ResourceManager.CosmosDB.Models.CassandraProvisioningState? provisioningState = default, Azure.Core.AzureLocation? dataCenterLocation = default, Azure.Core.ResourceIdentifier delegatedSubnetId = default, int? nodeCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterSeedNode> seedNodes = default, string base64EncodedCassandraYamlFragment = default, Uri managedDiskCustomerKeyUri = default, Uri backupStorageCustomerKeyUri = default, string sku = default, string diskSku = default, int? diskCapacity = default, bool? doesSupportAvailabilityZone = default);
static member CassandraDataCenterProperties : Nullable<Azure.ResourceManager.CosmosDB.Models.CassandraProvisioningState> * Nullable<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * Nullable<int> * seq<Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterSeedNode> * string * Uri * Uri * string * string * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterProperties
Public Shared Function CassandraDataCenterProperties (Optional provisioningState As Nullable(Of CassandraProvisioningState) = Nothing, Optional dataCenterLocation As Nullable(Of AzureLocation) = Nothing, Optional delegatedSubnetId As ResourceIdentifier = Nothing, Optional nodeCount As Nullable(Of Integer) = Nothing, Optional seedNodes As IEnumerable(Of CassandraDataCenterSeedNode) = Nothing, Optional base64EncodedCassandraYamlFragment As String = Nothing, Optional managedDiskCustomerKeyUri As Uri = Nothing, Optional backupStorageCustomerKeyUri As Uri = Nothing, Optional sku As String = Nothing, Optional diskSku As String = Nothing, Optional diskCapacity As Nullable(Of Integer) = Nothing, Optional doesSupportAvailabilityZone As Nullable(Of Boolean) = Nothing) As CassandraDataCenterProperties

Parameters

dataCenterLocation
Nullable<AzureLocation>
delegatedSubnetId
ResourceIdentifier
nodeCount
Nullable<Int32>
base64EncodedCassandraYamlFragment
String
managedDiskCustomerKeyUri
Uri
backupStorageCustomerKeyUri
Uri
sku
String
diskSku
String
diskCapacity
Nullable<Int32>
doesSupportAvailabilityZone
Nullable<Boolean>

Returns

Applies to

CassandraDataCenterProperties(Nullable<CassandraProvisioningState>, Nullable<AzureLocation>, ResourceIdentifier, Nullable<Int32>, IEnumerable<CassandraDataCenterSeedNode>, String, Uri, Uri, String, String, Nullable<Int32>, Nullable<Boolean>, AuthenticationMethodLdapProperties, Nullable<Boolean>, CassandraError, String)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of CassandraDataCenterProperties.

public static Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterProperties CassandraDataCenterProperties (Azure.ResourceManager.CosmosDB.Models.CassandraProvisioningState? provisioningState = default, Azure.Core.AzureLocation? dataCenterLocation = default, Azure.Core.ResourceIdentifier delegatedSubnetId = default, int? nodeCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterSeedNode> seedNodes = default, string base64EncodedCassandraYamlFragment = default, Uri managedDiskCustomerKeyUri = default, Uri backupStorageCustomerKeyUri = default, string sku = default, string diskSku = default, int? diskCapacity = default, bool? doesSupportAvailabilityZone = default, Azure.ResourceManager.CosmosDB.Models.AuthenticationMethodLdapProperties authenticationMethodLdapProperties = default, bool? deallocated = default, Azure.ResourceManager.CosmosDB.Models.CassandraError provisionError = default, string privateEndpointIPAddress = default);
static member CassandraDataCenterProperties : Nullable<Azure.ResourceManager.CosmosDB.Models.CassandraProvisioningState> * Nullable<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * Nullable<int> * seq<Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterSeedNode> * string * Uri * Uri * string * string * Nullable<int> * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.AuthenticationMethodLdapProperties * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.CassandraError * string -> Azure.ResourceManager.CosmosDB.Models.CassandraDataCenterProperties
Public Shared Function CassandraDataCenterProperties (Optional provisioningState As Nullable(Of CassandraProvisioningState) = Nothing, Optional dataCenterLocation As Nullable(Of AzureLocation) = Nothing, Optional delegatedSubnetId As ResourceIdentifier = Nothing, Optional nodeCount As Nullable(Of Integer) = Nothing, Optional seedNodes As IEnumerable(Of CassandraDataCenterSeedNode) = Nothing, Optional base64EncodedCassandraYamlFragment As String = Nothing, Optional managedDiskCustomerKeyUri As Uri = Nothing, Optional backupStorageCustomerKeyUri As Uri = Nothing, Optional sku As String = Nothing, Optional diskSku As String = Nothing, Optional diskCapacity As Nullable(Of Integer) = Nothing, Optional doesSupportAvailabilityZone As Nullable(Of Boolean) = Nothing, Optional authenticationMethodLdapProperties As AuthenticationMethodLdapProperties = Nothing, Optional deallocated As Nullable(Of Boolean) = Nothing, Optional provisionError As CassandraError = Nothing, Optional privateEndpointIPAddress As String = Nothing) As CassandraDataCenterProperties

Parameters

provisioningState
Nullable<CassandraProvisioningState>

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

dataCenterLocation
Nullable<AzureLocation>

The region this data center should be created in.

delegatedSubnetId
ResourceIdentifier

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

nodeCount
Nullable<Int32>

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.

seedNodes
IEnumerable<CassandraDataCenterSeedNode>

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
Uri

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
Uri

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.

diskCapacity
Nullable<Int32>

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

doesSupportAvailabilityZone
Nullable<Boolean>

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

authenticationMethodLdapProperties
AuthenticationMethodLdapProperties

Ldap authentication method properties. This feature is in preview.

deallocated
Nullable<Boolean>

Whether the data center has been deallocated.

provisionError
CassandraError

Error related to resource provisioning.

privateEndpointIPAddress
String

Ip of the VPN Endpoint for this data center.

Returns

A new CassandraDataCenterProperties instance for mocking.

Applies to