File tree Expand file tree Collapse file tree 3 files changed +95
-1
lines changed
specification/redis/resource-manager
Microsoft.Cache/stable/2021-06-01 Expand file tree Collapse file tree 3 files changed +95
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "parameters" : {
3+ "location" : " East US" ,
4+ "api-version" : " 2021-06-01" ,
5+ "subscriptionId" : " subid" ,
6+ "operationId" : " c7ba2bf5-5939-4d79-b037-2964ccf097da"
7+ },
8+ "responses" : {
9+ "200" : {
10+ "body" : {
11+ "id" : " /subscriptions/subid/providers/Microsoft.Cache/locations/East US/asyncOperations/c7ba2bf5-5939-4d79-b037-2964ccf097da" ,
12+ "name" : " c7ba2bf5-5939-4d79-b037-2964ccf097da" ,
13+ "status" : " Succeeded" ,
14+ "startTime" : null ,
15+ "endTime" : null ,
16+ "percentComplete" : null ,
17+ "properties" : null ,
18+ "error" : null
19+ }
20+ }
21+ }
22+ }
Original file line number Diff line number Diff line change 17751775 "nextLinkName" : null
17761776 }
17771777 }
1778+ },
1779+ "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/asyncOperations/{operationId}" : {
1780+ "get" : {
1781+ "tags" : [
1782+ " AsyncOperationStatus"
1783+ ],
1784+ "operationId" : " AsyncOperationStatus_Get" ,
1785+ "description" : " For checking the ongoing status of an operation" ,
1786+ "x-ms-examples" : {
1787+ "RedisCacheAsyncOperationStatus" : {
1788+ "$ref" : " ./examples/RedisCacheAsyncOperationStatus.json"
1789+ }
1790+ },
1791+ "parameters" : [
1792+ {
1793+ "name" : " location" ,
1794+ "in" : " path" ,
1795+ "required" : true ,
1796+ "type" : " string" ,
1797+ "description" : " The location at which operation was triggered"
1798+ },
1799+ {
1800+ "name" : " operationId" ,
1801+ "in" : " path" ,
1802+ "required" : true ,
1803+ "type" : " string" ,
1804+ "description" : " The ID of asynchronous operation"
1805+ },
1806+ {
1807+ "$ref" : " ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
1808+ },
1809+ {
1810+ "$ref" : " ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
1811+ }
1812+ ],
1813+ "responses" : {
1814+ "200" : {
1815+ "description" : " Asynchronous operation status response" ,
1816+ "schema" : {
1817+ "$ref" : " #/definitions/OperationStatus"
1818+ }
1819+ },
1820+ "default" : {
1821+ "description" : " Error response describing why the operation failed." ,
1822+ "schema" : {
1823+ "$ref" : " ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
1824+ }
1825+ }
1826+ }
1827+ }
17781828 }
17791829 },
17801830 "definitions" : {
27092759 }
27102760 },
27112761 "description" : " The response of listUpgradeNotifications."
2762+ },
2763+ "OperationStatus" : {
2764+ "type" : " object" ,
2765+ "description" : " Asynchronous operation status" ,
2766+ "properties" : {
2767+ "properties" : {
2768+ "description" : " Additional properties from RP, only when operation is successful" ,
2769+ "type" : " object" ,
2770+ "additionalProperties" : {}
2771+ }
2772+ },
2773+ "allOf" : [
2774+ {
2775+ "$ref" : " ../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
2776+ }
2777+ ],
2778+ "x-ms-external" : true
27122779 }
27132780 },
27142781 "parameters" : {
Original file line number Diff line number Diff line change @@ -23,4 +23,9 @@ output-folder: $(python-sdks-folder)/redis/azure-mgmt-redis/azure/mgmt/redis
2323` ` ` yaml $(python) && $(python-mode) == 'create' && $(track2)
2424basic-setup-py : true
2525output-folder : $(python-sdks-folder)/redis/azure-mgmt-redis
26- ` ` `
26+ ` ` `
27+
28+ ` ` ` yaml $(python) && $(track2)
29+ modelerfour :
30+ lenient-model-deduplication : true
31+ ` ` `
You can’t perform that action at this time.
0 commit comments