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 1775
1775
"nextLinkName" : null
1776
1776
}
1777
1777
}
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
+ }
1778
1828
}
1779
1829
},
1780
1830
"definitions" : {
2709
2759
}
2710
2760
},
2711
2761
"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
2712
2779
}
2713
2780
},
2714
2781
"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
23
23
` ` ` yaml $(python) && $(python-mode) == 'create' && $(track2)
24
24
basic-setup-py : true
25
25
output-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