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.
Feature: ObjectReplicationRestorePoint APIs with examples, validation…
… and prettier check
- Loading branch information
Udit Sharma
committed
May 10, 2023
1 parent
ad4625b
commit 6942ddf
Showing
5 changed files
with
338 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...e/stable/2023-01-01/examples/StorageAccountCreateObjectReplicationRestorePointMarker.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": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res7687", | ||
"accountName": "src1122", | ||
"objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", | ||
"api-version": "2023-01-01", | ||
"monitor": "true", | ||
"label": "label" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "2a20bb73-5717-4635-985a-5d4cf777438f", | ||
"label": "label", | ||
"timestamp": "2023-03-08T03:01:55.7168089Z" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...Storage/stable/2023-01-01/examples/StorageAccountDeleteObjectReplicationRestorePoint.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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6977", | ||
"accountName": "sto2527", | ||
"objectReplicationRestorePointId": "{objectReplicationRestorePoint-Id}", | ||
"api-version": "2023-01-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ft.Storage/stable/2023-01-01/examples/StorageAccountGetObjectReplicationRestorePoint.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": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6977", | ||
"accountName": "sto2527", | ||
"objectReplicationRestorePointId": "{objectReplicationRestorePoint-Id}", | ||
"api-version": "2023-01-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "{objectReplicationPolicy-Id}", | ||
"label": "label", | ||
"timestamp": "2023-03-08T03:01:55.7168089Z", | ||
"sourceAccount": "sourceaccount" | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
....Storage/stable/2023-01-01/examples/StorageAccountListObjectReplicationRestorePoints.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,29 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6977", | ||
"accountName": "sto2527", | ||
"api-version": "2023-01-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "c6c23999-fd4e-433a-bcf9-1db69d27cd8a", | ||
"label": "sto2527", | ||
"sourceAccount": "sourceaccount1", | ||
"timestamp": "2023-03-01T13:45:30.0000000Z" | ||
}, | ||
{ | ||
"id": "141d23dc-8958-4b48-b6e6-5a40bf1af116", | ||
"label": "sto2527", | ||
"sourceAccount": "sourceaccount1", | ||
"timestamp": "2023-03-02T13:45:30.0000000Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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