forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kshittiz7/tables-gremlin-changes-2022-15
Added specs for tables and gremlin
- Loading branch information
Showing
9 changed files
with
1,068 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...icrosoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphBackupInformation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"accountName": "ddb1", | ||
"databaseName": "databaseName", | ||
"graphName": "graphName", | ||
"location": { | ||
"location": "North Europe" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"continuousBackupInformation": { | ||
"latestRestorableTimestamp": "2021-02-05T02:40:50Z" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...icrosoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableGremlinDatabaseList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "2296c272-5d55-40d9-bc05-4d56dc2d7588", | ||
"location": "WestUS", | ||
"instanceId": "d9b26648-2f53-4541-b3d8-3044f4f9810d" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/2296c272-5d55-40d9-bc05-4d56dc2d7588/providers/Microsoft.DocumentDb/locations/westus/restorableDatabaseAccounts/36f09704-6be3-4f33-aa05-17b73e504c75/restorableGremlinDatabases/59c21367-b98b-4a8e-abb7-b6f46600decc", | ||
"type": "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableGremlinDatabases", | ||
"name": "59c21367-b98b-4a8e-abb7-b6f46600decc", | ||
"properties": { | ||
"resource": { | ||
"_rid": "DLB14gAAAA==", | ||
"eventTimestamp": "2020-09-02T19:45:03Z", | ||
"ownerId": "Database1", | ||
"ownerResourceId": "PD5DALigDgw=", | ||
"operationType": "Create" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/2296c272-5d55-40d9-bc05-4d56dc2d7588/providers/Microsoft.DocumentDb/locations/westus/restorableDatabaseAccounts/d9b26648-2f53-4541-b3d8-3044f4f9810d/restorableGremlinDatabases/8456cb17-cdb0-4c6a-8db8-d0ff3f886257", | ||
"type": "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableGremlinDatabases", | ||
"name": "8456cb17-cdb0-4c6a-8db8-d0ff3f886257", | ||
"properties": { | ||
"resource": { | ||
"_rid": "ESXNLAAAAA==", | ||
"eventTimestamp": "2020-09-02T19:53:42Z", | ||
"ownerId": "Database1", | ||
"ownerResourceId": "PD5DALigDgw=", | ||
"operationType": "Delete" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...r/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableGremlinGraphList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "subid", | ||
"location": "WestUS", | ||
"instanceId": "98a570f2-63db-4117-91f0-366327b7b353", | ||
"restorableGremlinDatabaseRid": "PD5DALigDgw=" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/providers/Microsoft.DocumentDb/locations/westus/restorableDatabaseAccounts/98a570f2-63db-4117-91f0-366327b7b353/restorableGraphs/79609a98-3394-41f8-911f-cfab0c075c86", | ||
"type": "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableGraphs", | ||
"name": "79609a98-3394-41f8-911f-cfab0c075c86", | ||
"properties": { | ||
"resource": { | ||
"_rid": "zAyAPQAAAA==", | ||
"eventTimestamp": "2020-10-13T04:56:42Z", | ||
"ownerId": "Graph1", | ||
"ownerResourceId": "V18LoLrv-qA=", | ||
"operationType": "Create" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...icrosoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableGremlinResourceList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "2296c272-5d55-40d9-bc05-4d56dc2d7588", | ||
"location": "WestUS", | ||
"instanceId": "d9b26648-2f53-4541-b3d8-3044f4f9810d", | ||
"restoreLocation": "WestUS", | ||
"restoreTimestampInUtc": "10/13/2020 4:56" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"databaseName": "Database1", | ||
"graphNames": [ | ||
"Graph1" | ||
] | ||
}, | ||
{ | ||
"databaseName": "Database2", | ||
"graphNames": [ | ||
"Graph1", | ||
"Graph2" | ||
] | ||
}, | ||
{ | ||
"databaseName": "Database3", | ||
"graphNames": [] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableTableList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "subid", | ||
"location": "WestUS", | ||
"instanceId": "98a570f2-63db-4117-91f0-366327b7b353" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/providers/Microsoft.DocumentDb/locations/westus/restorableDatabaseAccounts/98a570f2-63db-4117-91f0-366327b7b353/restorableTables/79609a98-3394-41f8-911f-cfab0c075c86", | ||
"type": "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableTables", | ||
"name": "79609a98-3394-41f8-911f-cfab0c075c86", | ||
"properties": { | ||
"resource": { | ||
"_rid": "zAyAPQAAAA==", | ||
"eventTimestamp": "2020-10-13T04:56:42Z", | ||
"ownerId": "Table1", | ||
"ownerResourceId": "V18LoLrv-qA=", | ||
"operationType": "Create" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableTableResourceList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "2296c272-5d55-40d9-bc05-4d56dc2d7588", | ||
"location": "WestUS", | ||
"instanceId": "d9b26648-2f53-4541-b3d8-3044f4f9810d", | ||
"restoreLocation": "WestUS", | ||
"restoreTimestampInUtc": "10/13/2020 4:56" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
"table1", | ||
"table2" | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...nager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableBackupInformation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-15", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"accountName": "ddb1", | ||
"tableName": "tableName1", | ||
"location": { | ||
"location": "North Europe" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"continuousBackupInformation": { | ||
"latestRestorableTimestamp": "2021-02-05T02:40:50Z" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
Oops, something went wrong.