Skip to content

Commit 3c072d4

Browse files
Merge pull request #265003 from Ritvik-Jayaswal/patch-4
Update dba-commands.md
2 parents 2d21718 + 87368c5 commit 3c072d4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

articles/managed-instance-apache-cassandra/dba-commands.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,30 @@ The `cassandra-reset-password` command lets a user change their password for the
8282
```azurecli-interactive
8383
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name cassandra-reset-password --arguments password="<password>"
8484
```
85+
> [!IMPORTANT]
86+
> The password is URL encoded (UTF-8) when it is passed into this command, meaning the following rules apply:
87+
>
88+
> * `The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain the same.`
89+
> * `The special characters ".", "-", "*", and "_" remain the same.`
90+
> * `The space character " " is converted into a plus sign "+".`
91+
> * `All other characters are unsafe and are first converted into one or more bytes using some encoding scheme. Then each byte is represented
92+
> by the 3-character string "%xy", where xy is the two-digit
93+
> hexadecimal representation of the byte.`
94+
8595
The `cassandra-reset-auth-replication` command lets a user change their schema for the Cassandra user. Separate the datacenter names by space.
8696
```azurecli-interactive
8797
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name cassandra-reset-auth-replication --arguments password="<datacenters>"
8898
```
99+
> [!IMPORTANT]
100+
> The datacenters are URL encoded (UTF-8) when they are passed into this command, meaning the following rules apply:
101+
>
102+
> * `The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain the same.`
103+
> * `The special characters ".", "-", "*", and "_" remain the same.`
104+
> * `The space character " " is converted into a plus sign "+".`
105+
> * `All other characters are unsafe and are first converted into one or more bytes using some encoding scheme. Then each byte is represented
106+
> by the 3-character string "%xy", where xy is the two-digit
107+
> hexadecimal representation of the byte.`
108+
89109
The `sstable-tree` command lets a user see their sstables.
90110
```azurecli-interactive
91111
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name sstable-tree

0 commit comments

Comments
 (0)