共用方式為


ClusterResourceProperties Constructors

Definition

Overloads

ClusterResourceProperties()

Initializes a new instance of the ClusterResourceProperties class.

ClusterResourceProperties(String, String, String, String, String, String, String, SeedNode, Nullable<Boolean>, IList<Certificate>, IList<Certificate>, IList<Certificate>, IList<SeedNode>, IList<SeedNode>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the ClusterResourceProperties class.

ClusterResourceProperties()

Initializes a new instance of the ClusterResourceProperties class.

public ClusterResourceProperties ();
Public Sub New ()

Applies to

ClusterResourceProperties(String, String, String, String, String, String, String, SeedNode, Nullable<Boolean>, IList<Certificate>, IList<Certificate>, IList<Certificate>, IList<SeedNode>, IList<SeedNode>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the ClusterResourceProperties class.

public ClusterResourceProperties (string provisioningState = default, string restoreFromBackupId = default, string delegatedManagementSubnetId = default, string cassandraVersion = default, string clusterNameOverride = default, string authenticationMethod = default, string initialCassandraAdminPassword = default, Microsoft.Azure.Management.CosmosDB.Models.SeedNode prometheusEndpoint = default, bool? repairEnabled = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Certificate> clientCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Certificate> externalGossipCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Certificate> gossipCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SeedNode> externalSeedNodes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SeedNode> seedNodes = default, int? hoursBetweenBackups = default, bool? deallocated = default, bool? cassandraAuditLoggingEnabled = default);
new Microsoft.Azure.Management.CosmosDB.Models.ClusterResourceProperties : string * string * string * string * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.SeedNode * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Certificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Certificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Certificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SeedNode> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SeedNode> * Nullable<int> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Models.ClusterResourceProperties
Public Sub New (Optional provisioningState As String = Nothing, Optional restoreFromBackupId As String = Nothing, Optional delegatedManagementSubnetId As String = Nothing, Optional cassandraVersion As String = Nothing, Optional clusterNameOverride As String = Nothing, Optional authenticationMethod As String = Nothing, Optional initialCassandraAdminPassword As String = Nothing, Optional prometheusEndpoint As SeedNode = Nothing, Optional repairEnabled As Nullable(Of Boolean) = Nothing, Optional clientCertificates As IList(Of Certificate) = Nothing, Optional externalGossipCertificates As IList(Of Certificate) = Nothing, Optional gossipCertificates As IList(Of Certificate) = Nothing, Optional externalSeedNodes As IList(Of SeedNode) = Nothing, Optional seedNodes As IList(Of SeedNode) = Nothing, Optional hoursBetweenBackups As Nullable(Of Integer) = Nothing, Optional deallocated As Nullable(Of Boolean) = Nothing, Optional cassandraAuditLoggingEnabled As Nullable(Of Boolean) = Nothing)

Parameters

provisioningState
String

Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

restoreFromBackupId
String

To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup.

delegatedManagementSubnetId
String

Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'

cassandraVersion
String

Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version.

clusterNameOverride
String

If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property.

authenticationMethod
String

Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. Possible values include: 'None', 'Cassandra'

initialCassandraAdminPassword
String

Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'.

prometheusEndpoint
SeedNode

Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached.

repairEnabled
Nullable<Boolean>

Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs.

clientCertificates
IList<Certificate>

List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property.

externalGossipCertificates
IList<Certificate>

List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property.

gossipCertificates
IList<Certificate>

List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property.

externalSeedNodes
IList<SeedNode>

List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes.

seedNodes
IList<SeedNode>

List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes.

hoursBetweenBackups
Nullable<Int32>

Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0.

deallocated
Nullable<Boolean>

Whether the cluster and associated data centers has been deallocated.

cassandraAuditLoggingEnabled
Nullable<Boolean>

Whether Cassandra audit logging is enabled

Applies to