Microsoft.DocumentDB cassandraClusters/dataCenters 2022-05-15-preview
- Latest
- 2024-05-15
- 2024-05-15-preview
- 2024-02-15-preview
- 2023-11-15
- 2023-11-15-preview
- 2023-09-15
- 2023-09-15-preview
- 2023-04-15
- 2023-03-15
- 2023-03-15-preview
- 2023-03-01-preview
- 2022-11-15
- 2022-11-15-preview
- 2022-08-15
- 2022-08-15-preview
- 2022-05-15
- 2022-05-15-preview
- 2022-02-15-preview
- 2021-11-15-preview
- 2021-10-15
- 2021-10-15-preview
- 2021-07-01-preview
- 2021-04-01-preview
- 2021-03-01-preview
Bicep resource definition
The cassandraClusters/dataCenters resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DocumentDB/cassandraClusters/dataCenters resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DocumentDB/cassandraClusters/dataCenters@2022-05-15-preview' = {
name: 'string'
parent: resourceSymbolicName
properties: {
authenticationMethodLdapProperties: {
searchBaseDistinguishedName: 'string'
searchFilterTemplate: 'string'
serverCertificates: [
{
pem: 'string'
}
]
serverHostname: 'string'
serverPort: int
serviceUserDistinguishedName: 'string'
serviceUserPassword: 'string'
}
availabilityZone: bool
backupStorageCustomerKeyUri: 'string'
base64EncodedCassandraYamlFragment: 'string'
dataCenterLocation: 'string'
delegatedSubnetId: 'string'
diskCapacity: int
diskSku: 'string'
managedDiskCustomerKeyUri: 'string'
nodeCount: int
provisioningState: 'string'
sku: 'string'
}
}
Property values
cassandraClusters/dataCenters
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: cassandraClusters |
properties | Properties of a managed Cassandra data center. | DataCenterResourceProperties |
DataCenterResourceProperties
Name | Description | Value |
---|---|---|
authenticationMethodLdapProperties | Ldap authentication method properties. This feature is in preview. | AuthenticationMethodLdapProperties |
availabilityZone | If the data center has Availability Zone feature, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. | bool |
backupStorageCustomerKeyUri | Indicates the Key Uri of the customer key to use for encryption of the backup storage account. | string |
base64EncodedCassandraYamlFragment | 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. | string |
dataCenterLocation | The region this data center should be created in. | string |
delegatedSubnetId | 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}'. | string |
diskCapacity | Number of disk used for data centers. Default value is 4. | int |
diskSku | Disk SKU used for data centers. Default value is P30. | string |
managedDiskCustomerKeyUri | 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. | string |
nodeCount | 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. | int |
provisioningState | The status of the resource at the time the operation was called. | 'Canceled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Updating' |
sku | Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 | string |
AuthenticationMethodLdapProperties
Name | Description | Value |
---|---|---|
searchBaseDistinguishedName | Distinguished name of the object to start the recursive search of users from. | string |
searchFilterTemplate | Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. | string |
serverCertificates | Certificate[] | |
serverHostname | Hostname of the LDAP server. | string |
serverPort | Port of the LDAP server. | int |
serviceUserDistinguishedName | Distinguished name of the look up user account, who can look up user details on authentication. | string |
serviceUserPassword | Password of the look up user. | string |
Certificate
Name | Description | Value |
---|---|---|
pem | PEM formatted public key. | string |
ARM template resource definition
The cassandraClusters/dataCenters resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DocumentDB/cassandraClusters/dataCenters resource, add the following JSON to your template.
{
"type": "Microsoft.DocumentDB/cassandraClusters/dataCenters",
"apiVersion": "2022-05-15-preview",
"name": "string",
"properties": {
"authenticationMethodLdapProperties": {
"searchBaseDistinguishedName": "string",
"searchFilterTemplate": "string",
"serverCertificates": [
{
"pem": "string"
}
],
"serverHostname": "string",
"serverPort": "int",
"serviceUserDistinguishedName": "string",
"serviceUserPassword": "string"
},
"availabilityZone": "bool",
"backupStorageCustomerKeyUri": "string",
"base64EncodedCassandraYamlFragment": "string",
"dataCenterLocation": "string",
"delegatedSubnetId": "string",
"diskCapacity": "int",
"diskSku": "string",
"managedDiskCustomerKeyUri": "string",
"nodeCount": "int",
"provisioningState": "string",
"sku": "string"
}
}
Property values
cassandraClusters/dataCenters
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.DocumentDB/cassandraClusters/dataCenters' |
apiVersion | The resource api version | '2022-05-15-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Properties of a managed Cassandra data center. | DataCenterResourceProperties |
DataCenterResourceProperties
Name | Description | Value |
---|---|---|
authenticationMethodLdapProperties | Ldap authentication method properties. This feature is in preview. | AuthenticationMethodLdapProperties |
availabilityZone | If the data center has Availability Zone feature, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. | bool |
backupStorageCustomerKeyUri | Indicates the Key Uri of the customer key to use for encryption of the backup storage account. | string |
base64EncodedCassandraYamlFragment | 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. | string |
dataCenterLocation | The region this data center should be created in. | string |
delegatedSubnetId | 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}'. | string |
diskCapacity | Number of disk used for data centers. Default value is 4. | int |
diskSku | Disk SKU used for data centers. Default value is P30. | string |
managedDiskCustomerKeyUri | 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. | string |
nodeCount | 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. | int |
provisioningState | The status of the resource at the time the operation was called. | 'Canceled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Updating' |
sku | Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 | string |
AuthenticationMethodLdapProperties
Name | Description | Value |
---|---|---|
searchBaseDistinguishedName | Distinguished name of the object to start the recursive search of users from. | string |
searchFilterTemplate | Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. | string |
serverCertificates | Certificate[] | |
serverHostname | Hostname of the LDAP server. | string |
serverPort | Port of the LDAP server. | int |
serviceUserDistinguishedName | Distinguished name of the look up user account, who can look up user details on authentication. | string |
serviceUserPassword | Password of the look up user. | string |
Certificate
Name | Description | Value |
---|---|---|
pem | PEM formatted public key. | string |
Terraform (AzAPI provider) resource definition
The cassandraClusters/dataCenters resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DocumentDB/cassandraClusters/dataCenters resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DocumentDB/cassandraClusters/dataCenters@2022-05-15-preview"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
authenticationMethodLdapProperties = {
searchBaseDistinguishedName = "string"
searchFilterTemplate = "string"
serverCertificates = [
{
pem = "string"
}
]
serverHostname = "string"
serverPort = int
serviceUserDistinguishedName = "string"
serviceUserPassword = "string"
}
availabilityZone = bool
backupStorageCustomerKeyUri = "string"
base64EncodedCassandraYamlFragment = "string"
dataCenterLocation = "string"
delegatedSubnetId = "string"
diskCapacity = int
diskSku = "string"
managedDiskCustomerKeyUri = "string"
nodeCount = int
provisioningState = "string"
sku = "string"
}
})
}
Property values
cassandraClusters/dataCenters
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.DocumentDB/cassandraClusters/dataCenters@2022-05-15-preview" |
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: cassandraClusters |
properties | Properties of a managed Cassandra data center. | DataCenterResourceProperties |
DataCenterResourceProperties
Name | Description | Value |
---|---|---|
authenticationMethodLdapProperties | Ldap authentication method properties. This feature is in preview. | AuthenticationMethodLdapProperties |
availabilityZone | If the data center has Availability Zone feature, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. | bool |
backupStorageCustomerKeyUri | Indicates the Key Uri of the customer key to use for encryption of the backup storage account. | string |
base64EncodedCassandraYamlFragment | 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. | string |
dataCenterLocation | The region this data center should be created in. | string |
delegatedSubnetId | 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}'. | string |
diskCapacity | Number of disk used for data centers. Default value is 4. | int |
diskSku | Disk SKU used for data centers. Default value is P30. | string |
managedDiskCustomerKeyUri | 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. | string |
nodeCount | 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. | int |
provisioningState | The status of the resource at the time the operation was called. | "Canceled" "Creating" "Deleting" "Failed" "Succeeded" "Updating" |
sku | Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 | string |
AuthenticationMethodLdapProperties
Name | Description | Value |
---|---|---|
searchBaseDistinguishedName | Distinguished name of the object to start the recursive search of users from. | string |
searchFilterTemplate | Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. | string |
serverCertificates | Certificate[] | |
serverHostname | Hostname of the LDAP server. | string |
serverPort | Port of the LDAP server. | int |
serviceUserDistinguishedName | Distinguished name of the look up user account, who can look up user details on authentication. | string |
serviceUserPassword | Password of the look up user. | string |
Certificate
Name | Description | Value |
---|---|---|
pem | PEM formatted public key. | string |