az managed-cassandra datacenter
Azure Managed Cassandra DataCenter.
Commands
| az managed-cassandra datacenter create |
Create a Datacenter in an Azure Managed Cassandra Cluster. |
| az managed-cassandra datacenter delete |
Deletes a Managed Cassandra Datacenter. |
| az managed-cassandra datacenter list |
List the Managed Cassandra Datacenters in a given Cluster. |
| az managed-cassandra datacenter show |
Get a Managed Cassandra DataCenter Resource. |
| az managed-cassandra datacenter update |
Update a Datacenter in an Azure Managed Cassandra Cluster. |
az managed-cassandra datacenter create
Create a Datacenter in an Azure Managed Cassandra Cluster.
az managed-cassandra datacenter create --cluster-name
--data-center-location
--data-center-name
--delegated-subnet-id
--node-count
--resource-group
[--availability-zone {false, true}]
[--backup-storage-customer-key-uri]
[--base64-encoded-cassandra-yaml-fragment]
[--disk-capacity]
[--disk-sku]
[--managed-disk-customer-key-uri]
[--no-wait]
[--sku]
Examples
Create a Managed Cassandra Datacenter in a Cassandra Cluster. Each datacenter should atleast have 3 nodes.
az managed-cassandra datacenter create \
--resource-group MyResourceGroup \
--cluster-name MyCluster \
--data-center-name MyDataCenter \
--data-center-location westus2 \
--node-count 3 \
--delegated-subnet-id /subscriptions/94d9b402-77b4-4049-b4c1-947bc6b7729b/resourceGroups/My-vnet/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-subnet
Required Parameters
Cluster Name.
Azure Location of the Datacenter.
Datacenter Name.
The resource id of a subnet where ip addresses of the Cassandra virtual machines will be allocated. This must be in the same region as data_center_location.
The number of Cassandra virtual machines in this data center. The minimum value is 3.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
If the data center haves Availability Zone feature, apply it to the Virtual Machine ScaleSet that host the data center virtual machines.
Indicates the Key Uri of the customer key to use for encryption of the backup storage account.
This is a Base64 encoded yaml file that is a subset of cassandra.yaml. Supported fields will be honored and others will be ignored.
Number of disk used for data centers. Default value is 4.
Disk SKU used for data centers. Default value is P30.
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.
Do not wait for the long-running operation to finish.
Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az managed-cassandra datacenter delete
Deletes a Managed Cassandra Datacenter.
az managed-cassandra datacenter delete --cluster-name
--data-center-name
--resource-group
[--no-wait]
[--yes]
Examples
Deletes a Managed Cassandra Datacenter in the given Cluster.
az managed-cassandra datacenter delete --resource-group MyResourceGroup --cluster-name MyCluster --data-center-name MyDataCenter
Deletes a Managed Cassandra Datacenter in the given Cluster without waiting for the long-running operation to finish.
az managed-cassandra datacenter delete --resource-group MyResourceGroup --cluster-name MyCluster --data-center-name MyDataCenter --no-wait
Required Parameters
Cluster Name.
Datacenter Name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az managed-cassandra datacenter list
List the Managed Cassandra Datacenters in a given Cluster.
az managed-cassandra datacenter list --cluster-name
--resource-group
Examples
List all Managed Cassandra DataCenters in a given Cluster.
az managed-cassandra datacenter list --resource-group MyResourceGroup --cluster-name MyCluster
Required Parameters
Cluster Name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az managed-cassandra datacenter show
Get a Managed Cassandra DataCenter Resource.
az managed-cassandra datacenter show --cluster-name
--data-center-name
--resource-group
Examples
Gets a Managed Cassandra Datacenter Resource. ProvisioningState tells the state of this datacenter. If the datacenter does not exist a NotFound response is returned.
az managed-cassandra datacenter show --resource-group MyResourceGroup --cluster-name MyCluster --data-center-name MyDataCenter
Required Parameters
Cluster Name.
Datacenter Name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az managed-cassandra datacenter update
Update a Datacenter in an Azure Managed Cassandra Cluster.
az managed-cassandra datacenter update --cluster-name
--data-center-name
--resource-group
[--backup-storage-customer-key-uri]
[--base64-encoded-cassandra-yaml-fragment]
[--managed-disk-customer-key-uri]
[--no-wait]
[--node-count]
Examples
Scale the number of nodes in a datacenter. This is a scale up operation assuming that the create datacenter was done with 3 nodes. Each datacenter should atleast have 3 nodes.
az managed-cassandra datacenter update --resource-group MyResourceGroup --cluster-name MyCluster --data-center-name MyDataCenter --node-count 6
Scale the number of nodes in a datacenter. This is a scale down operation assuming that the create datacenter was done with 3 nodes, followed by a scale up to 6 nodes. Each datacenter should atleast have 3 nodes.
az managed-cassandra datacenter update --resource-group MyResourceGroup --cluster-name MyCluster --data-center-name MyDataCenter --node-count 4
Required Parameters
Cluster Name.
Datacenter Name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Indicates the Key Uri of the customer key to use for encryption of the backup storage account.
This is a Base64 encoded yaml file that is a subset of cassandra.yaml. Supported fields will be honored and others will be ignored.
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.
Do not wait for the long-running operation to finish.
The number of Cassandra virtual machines in this data center. The minimum value is 3.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ