Skip to content

Commit

Permalink
added examples for newly added apis
Browse files Browse the repository at this point in the history
  • Loading branch information
rsharm7 committed Feb 27, 2023
1 parent 6b4f5f9 commit 7178823
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "cassandra-prod-rg",
"api-version": "2022-11-15-preview",
"clusterName": "cassandra-prod"
},
"responses": {
"202": {},
"200": {
"body": {
"nodes": [
{
"datacenter": "dc1",
"status": "Up",
"state": "Normal",
"address": "10.0.1.12",
"load": "512.3 MB",
"tokens": [
"12",
"15"
],
"owns": 33.3,
"hostId": "aaa1b7c1-6049-4a08-ad3e-3697a0e30e10",
"rack": "rack1"
},
{
"datacenter": "dc1",
"status": "Up",
"state": "Normal",
"address": "10.0.1.13",
"load": "512.1 MB",
"tokens": [
"12",
"15"
],
"owns": 33.3,
"hostId": "1848c369-4306-4874-afdf-5c1e95b8732e",
"rack": "rack1"
},
{
"datacenter": "dc1",
"status": "Up",
"state": "Normal",
"address": "10.0.1.14",
"load": "512.5 MB",
"tokens": [
"12",
"15"
],
"owns": 33.3,
"hostId": "49578bf1-728f-438d-b1c1-d8dd644b6f7f",
"rack": "rack1"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "cassandra-prod-rg",
"api-version": "2022-11-15-preview",
"clusterName": "cassandra-prod",
"body": {
"keyspace": "my-keyspace",
"tables": [
"table1",
"table42"
]
}
},
"responses": {
"200": {}
}
}

0 comments on commit 7178823

Please sign in to comment.