@alicloud/ebs20210730 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +607 -0
- package/dist/client.js +1768 -621
- package/dist/client.js.map +1 -1
- package/package.json +5 -5
- package/src/client.ts +1437 -21
package/src/client.ts
CHANGED
|
@@ -916,6 +916,72 @@ export class CreateEnterpriseSnapshotPolicyResponse extends $tea.Model {
|
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
|
|
919
|
+
export class DeleteDiskRequest extends $tea.Model {
|
|
920
|
+
diskId?: string;
|
|
921
|
+
regionId?: string;
|
|
922
|
+
static names(): { [key: string]: string } {
|
|
923
|
+
return {
|
|
924
|
+
diskId: 'DiskId',
|
|
925
|
+
regionId: 'RegionId',
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
static types(): { [key: string]: any } {
|
|
930
|
+
return {
|
|
931
|
+
diskId: 'string',
|
|
932
|
+
regionId: 'string',
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
constructor(map?: { [key: string]: any }) {
|
|
937
|
+
super(map);
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export class DeleteDiskResponseBody extends $tea.Model {
|
|
942
|
+
requestId?: string;
|
|
943
|
+
static names(): { [key: string]: string } {
|
|
944
|
+
return {
|
|
945
|
+
requestId: 'RequestId',
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
static types(): { [key: string]: any } {
|
|
950
|
+
return {
|
|
951
|
+
requestId: 'string',
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
constructor(map?: { [key: string]: any }) {
|
|
956
|
+
super(map);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
export class DeleteDiskResponse extends $tea.Model {
|
|
961
|
+
headers?: { [key: string]: string };
|
|
962
|
+
statusCode?: number;
|
|
963
|
+
body?: DeleteDiskResponseBody;
|
|
964
|
+
static names(): { [key: string]: string } {
|
|
965
|
+
return {
|
|
966
|
+
headers: 'headers',
|
|
967
|
+
statusCode: 'statusCode',
|
|
968
|
+
body: 'body',
|
|
969
|
+
};
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
static types(): { [key: string]: any } {
|
|
973
|
+
return {
|
|
974
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
975
|
+
statusCode: 'number',
|
|
976
|
+
body: DeleteDiskResponseBody,
|
|
977
|
+
};
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
constructor(map?: { [key: string]: any }) {
|
|
981
|
+
super(map);
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
|
|
919
985
|
export class DeleteDiskReplicaGroupRequest extends $tea.Model {
|
|
920
986
|
clientToken?: string;
|
|
921
987
|
regionId?: string;
|
|
@@ -1858,6 +1924,117 @@ export class DescribeDiskReplicaPairsResponse extends $tea.Model {
|
|
|
1858
1924
|
}
|
|
1859
1925
|
}
|
|
1860
1926
|
|
|
1927
|
+
export class DescribeDisksRequest extends $tea.Model {
|
|
1928
|
+
category?: string;
|
|
1929
|
+
diskIds?: string;
|
|
1930
|
+
diskName?: string;
|
|
1931
|
+
maxResults?: number;
|
|
1932
|
+
nextToken?: string;
|
|
1933
|
+
pageNumber?: number;
|
|
1934
|
+
pageSize?: number;
|
|
1935
|
+
regionId?: string;
|
|
1936
|
+
resourceGroupId?: string;
|
|
1937
|
+
status?: string;
|
|
1938
|
+
tag?: DescribeDisksRequestTag[];
|
|
1939
|
+
zoneId?: string;
|
|
1940
|
+
static names(): { [key: string]: string } {
|
|
1941
|
+
return {
|
|
1942
|
+
category: 'Category',
|
|
1943
|
+
diskIds: 'DiskIds',
|
|
1944
|
+
diskName: 'DiskName',
|
|
1945
|
+
maxResults: 'MaxResults',
|
|
1946
|
+
nextToken: 'NextToken',
|
|
1947
|
+
pageNumber: 'PageNumber',
|
|
1948
|
+
pageSize: 'PageSize',
|
|
1949
|
+
regionId: 'RegionId',
|
|
1950
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1951
|
+
status: 'Status',
|
|
1952
|
+
tag: 'Tag',
|
|
1953
|
+
zoneId: 'ZoneId',
|
|
1954
|
+
};
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
static types(): { [key: string]: any } {
|
|
1958
|
+
return {
|
|
1959
|
+
category: 'string',
|
|
1960
|
+
diskIds: 'string',
|
|
1961
|
+
diskName: 'string',
|
|
1962
|
+
maxResults: 'number',
|
|
1963
|
+
nextToken: 'string',
|
|
1964
|
+
pageNumber: 'number',
|
|
1965
|
+
pageSize: 'number',
|
|
1966
|
+
regionId: 'string',
|
|
1967
|
+
resourceGroupId: 'string',
|
|
1968
|
+
status: 'string',
|
|
1969
|
+
tag: { 'type': 'array', 'itemType': DescribeDisksRequestTag },
|
|
1970
|
+
zoneId: 'string',
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
constructor(map?: { [key: string]: any }) {
|
|
1975
|
+
super(map);
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
export class DescribeDisksResponseBody extends $tea.Model {
|
|
1980
|
+
data?: DescribeDisksResponseBodyData[];
|
|
1981
|
+
nextToken?: string;
|
|
1982
|
+
pageNumber?: number;
|
|
1983
|
+
pageSize?: number;
|
|
1984
|
+
requestId?: string;
|
|
1985
|
+
totalCount?: number;
|
|
1986
|
+
static names(): { [key: string]: string } {
|
|
1987
|
+
return {
|
|
1988
|
+
data: 'Data',
|
|
1989
|
+
nextToken: 'NextToken',
|
|
1990
|
+
pageNumber: 'PageNumber',
|
|
1991
|
+
pageSize: 'PageSize',
|
|
1992
|
+
requestId: 'RequestId',
|
|
1993
|
+
totalCount: 'TotalCount',
|
|
1994
|
+
};
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
static types(): { [key: string]: any } {
|
|
1998
|
+
return {
|
|
1999
|
+
data: { 'type': 'array', 'itemType': DescribeDisksResponseBodyData },
|
|
2000
|
+
nextToken: 'string',
|
|
2001
|
+
pageNumber: 'number',
|
|
2002
|
+
pageSize: 'number',
|
|
2003
|
+
requestId: 'string',
|
|
2004
|
+
totalCount: 'number',
|
|
2005
|
+
};
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
constructor(map?: { [key: string]: any }) {
|
|
2009
|
+
super(map);
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
export class DescribeDisksResponse extends $tea.Model {
|
|
2014
|
+
headers?: { [key: string]: string };
|
|
2015
|
+
statusCode?: number;
|
|
2016
|
+
body?: DescribeDisksResponseBody;
|
|
2017
|
+
static names(): { [key: string]: string } {
|
|
2018
|
+
return {
|
|
2019
|
+
headers: 'headers',
|
|
2020
|
+
statusCode: 'statusCode',
|
|
2021
|
+
body: 'body',
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
static types(): { [key: string]: any } {
|
|
2026
|
+
return {
|
|
2027
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2028
|
+
statusCode: 'number',
|
|
2029
|
+
body: DescribeDisksResponseBody,
|
|
2030
|
+
};
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
constructor(map?: { [key: string]: any }) {
|
|
2034
|
+
super(map);
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
|
|
1861
2038
|
export class DescribeEnterpriseSnapshotPolicyRequest extends $tea.Model {
|
|
1862
2039
|
clientToken?: string;
|
|
1863
2040
|
diskIds?: string[];
|
|
@@ -1963,6 +2140,102 @@ export class DescribeEnterpriseSnapshotPolicyResponse extends $tea.Model {
|
|
|
1963
2140
|
}
|
|
1964
2141
|
}
|
|
1965
2142
|
|
|
2143
|
+
export class DescribeEventsRequest extends $tea.Model {
|
|
2144
|
+
endTime?: string;
|
|
2145
|
+
eventName?: string;
|
|
2146
|
+
maxResults?: number;
|
|
2147
|
+
nextToken?: string;
|
|
2148
|
+
regionId?: string;
|
|
2149
|
+
resourceId?: string;
|
|
2150
|
+
resourceType?: string;
|
|
2151
|
+
startTime?: string;
|
|
2152
|
+
status?: string;
|
|
2153
|
+
static names(): { [key: string]: string } {
|
|
2154
|
+
return {
|
|
2155
|
+
endTime: 'EndTime',
|
|
2156
|
+
eventName: 'EventName',
|
|
2157
|
+
maxResults: 'MaxResults',
|
|
2158
|
+
nextToken: 'NextToken',
|
|
2159
|
+
regionId: 'RegionId',
|
|
2160
|
+
resourceId: 'ResourceId',
|
|
2161
|
+
resourceType: 'ResourceType',
|
|
2162
|
+
startTime: 'StartTime',
|
|
2163
|
+
status: 'Status',
|
|
2164
|
+
};
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
static types(): { [key: string]: any } {
|
|
2168
|
+
return {
|
|
2169
|
+
endTime: 'string',
|
|
2170
|
+
eventName: 'string',
|
|
2171
|
+
maxResults: 'number',
|
|
2172
|
+
nextToken: 'string',
|
|
2173
|
+
regionId: 'string',
|
|
2174
|
+
resourceId: 'string',
|
|
2175
|
+
resourceType: 'string',
|
|
2176
|
+
startTime: 'string',
|
|
2177
|
+
status: 'string',
|
|
2178
|
+
};
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
constructor(map?: { [key: string]: any }) {
|
|
2182
|
+
super(map);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
export class DescribeEventsResponseBody extends $tea.Model {
|
|
2187
|
+
nextToken?: string;
|
|
2188
|
+
requestId?: string;
|
|
2189
|
+
resourceEvents?: DescribeEventsResponseBodyResourceEvents[];
|
|
2190
|
+
totalCount?: number;
|
|
2191
|
+
static names(): { [key: string]: string } {
|
|
2192
|
+
return {
|
|
2193
|
+
nextToken: 'NextToken',
|
|
2194
|
+
requestId: 'RequestId',
|
|
2195
|
+
resourceEvents: 'ResourceEvents',
|
|
2196
|
+
totalCount: 'TotalCount',
|
|
2197
|
+
};
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
static types(): { [key: string]: any } {
|
|
2201
|
+
return {
|
|
2202
|
+
nextToken: 'string',
|
|
2203
|
+
requestId: 'string',
|
|
2204
|
+
resourceEvents: { 'type': 'array', 'itemType': DescribeEventsResponseBodyResourceEvents },
|
|
2205
|
+
totalCount: 'number',
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
constructor(map?: { [key: string]: any }) {
|
|
2210
|
+
super(map);
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
export class DescribeEventsResponse extends $tea.Model {
|
|
2215
|
+
headers?: { [key: string]: string };
|
|
2216
|
+
statusCode?: number;
|
|
2217
|
+
body?: DescribeEventsResponseBody;
|
|
2218
|
+
static names(): { [key: string]: string } {
|
|
2219
|
+
return {
|
|
2220
|
+
headers: 'headers',
|
|
2221
|
+
statusCode: 'statusCode',
|
|
2222
|
+
body: 'body',
|
|
2223
|
+
};
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
static types(): { [key: string]: any } {
|
|
2227
|
+
return {
|
|
2228
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2229
|
+
statusCode: 'number',
|
|
2230
|
+
body: DescribeEventsResponseBody,
|
|
2231
|
+
};
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
constructor(map?: { [key: string]: any }) {
|
|
2235
|
+
super(map);
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
|
|
1966
2239
|
export class DescribeLensServiceStatusResponseBody extends $tea.Model {
|
|
1967
2240
|
requestId?: string;
|
|
1968
2241
|
status?: string;
|
|
@@ -2358,23 +2631,26 @@ export class DescribeReplicaGroupDrillsResponse extends $tea.Model {
|
|
|
2358
2631
|
}
|
|
2359
2632
|
}
|
|
2360
2633
|
|
|
2361
|
-
export class
|
|
2634
|
+
export class DescribeSolutionInstanceConfigurationRequest extends $tea.Model {
|
|
2362
2635
|
clientToken?: string;
|
|
2636
|
+
parameters?: DescribeSolutionInstanceConfigurationRequestParameters[];
|
|
2363
2637
|
regionId?: string;
|
|
2364
|
-
|
|
2638
|
+
solutionId?: string;
|
|
2365
2639
|
static names(): { [key: string]: string } {
|
|
2366
2640
|
return {
|
|
2367
2641
|
clientToken: 'ClientToken',
|
|
2642
|
+
parameters: 'Parameters',
|
|
2368
2643
|
regionId: 'RegionId',
|
|
2369
|
-
|
|
2644
|
+
solutionId: 'SolutionId',
|
|
2370
2645
|
};
|
|
2371
2646
|
}
|
|
2372
2647
|
|
|
2373
2648
|
static types(): { [key: string]: any } {
|
|
2374
2649
|
return {
|
|
2375
2650
|
clientToken: 'string',
|
|
2651
|
+
parameters: { 'type': 'array', 'itemType': DescribeSolutionInstanceConfigurationRequestParameters },
|
|
2376
2652
|
regionId: 'string',
|
|
2377
|
-
|
|
2653
|
+
solutionId: 'string',
|
|
2378
2654
|
};
|
|
2379
2655
|
}
|
|
2380
2656
|
|
|
@@ -2383,16 +2659,19 @@ export class FailoverDiskReplicaGroupRequest extends $tea.Model {
|
|
|
2383
2659
|
}
|
|
2384
2660
|
}
|
|
2385
2661
|
|
|
2386
|
-
export class
|
|
2662
|
+
export class DescribeSolutionInstanceConfigurationResponseBody extends $tea.Model {
|
|
2663
|
+
data?: { [key: string]: any }[];
|
|
2387
2664
|
requestId?: string;
|
|
2388
2665
|
static names(): { [key: string]: string } {
|
|
2389
2666
|
return {
|
|
2667
|
+
data: 'Data',
|
|
2390
2668
|
requestId: 'RequestId',
|
|
2391
2669
|
};
|
|
2392
2670
|
}
|
|
2393
2671
|
|
|
2394
2672
|
static types(): { [key: string]: any } {
|
|
2395
2673
|
return {
|
|
2674
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
2396
2675
|
requestId: 'string',
|
|
2397
2676
|
};
|
|
2398
2677
|
}
|
|
@@ -2402,10 +2681,79 @@ export class FailoverDiskReplicaGroupResponseBody extends $tea.Model {
|
|
|
2402
2681
|
}
|
|
2403
2682
|
}
|
|
2404
2683
|
|
|
2405
|
-
export class
|
|
2684
|
+
export class DescribeSolutionInstanceConfigurationResponse extends $tea.Model {
|
|
2406
2685
|
headers?: { [key: string]: string };
|
|
2407
2686
|
statusCode?: number;
|
|
2408
|
-
body?:
|
|
2687
|
+
body?: DescribeSolutionInstanceConfigurationResponseBody;
|
|
2688
|
+
static names(): { [key: string]: string } {
|
|
2689
|
+
return {
|
|
2690
|
+
headers: 'headers',
|
|
2691
|
+
statusCode: 'statusCode',
|
|
2692
|
+
body: 'body',
|
|
2693
|
+
};
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
static types(): { [key: string]: any } {
|
|
2697
|
+
return {
|
|
2698
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2699
|
+
statusCode: 'number',
|
|
2700
|
+
body: DescribeSolutionInstanceConfigurationResponseBody,
|
|
2701
|
+
};
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
constructor(map?: { [key: string]: any }) {
|
|
2705
|
+
super(map);
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
export class FailoverDiskReplicaGroupRequest extends $tea.Model {
|
|
2710
|
+
clientToken?: string;
|
|
2711
|
+
regionId?: string;
|
|
2712
|
+
replicaGroupId?: string;
|
|
2713
|
+
static names(): { [key: string]: string } {
|
|
2714
|
+
return {
|
|
2715
|
+
clientToken: 'ClientToken',
|
|
2716
|
+
regionId: 'RegionId',
|
|
2717
|
+
replicaGroupId: 'ReplicaGroupId',
|
|
2718
|
+
};
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
static types(): { [key: string]: any } {
|
|
2722
|
+
return {
|
|
2723
|
+
clientToken: 'string',
|
|
2724
|
+
regionId: 'string',
|
|
2725
|
+
replicaGroupId: 'string',
|
|
2726
|
+
};
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
constructor(map?: { [key: string]: any }) {
|
|
2730
|
+
super(map);
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
export class FailoverDiskReplicaGroupResponseBody extends $tea.Model {
|
|
2735
|
+
requestId?: string;
|
|
2736
|
+
static names(): { [key: string]: string } {
|
|
2737
|
+
return {
|
|
2738
|
+
requestId: 'RequestId',
|
|
2739
|
+
};
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
static types(): { [key: string]: any } {
|
|
2743
|
+
return {
|
|
2744
|
+
requestId: 'string',
|
|
2745
|
+
};
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
constructor(map?: { [key: string]: any }) {
|
|
2749
|
+
super(map);
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
export class FailoverDiskReplicaGroupResponse extends $tea.Model {
|
|
2754
|
+
headers?: { [key: string]: string };
|
|
2755
|
+
statusCode?: number;
|
|
2756
|
+
body?: FailoverDiskReplicaGroupResponseBody;
|
|
2409
2757
|
static names(): { [key: string]: string } {
|
|
2410
2758
|
return {
|
|
2411
2759
|
headers: 'headers',
|
|
@@ -2496,6 +2844,75 @@ export class FailoverDiskReplicaPairResponse extends $tea.Model {
|
|
|
2496
2844
|
}
|
|
2497
2845
|
}
|
|
2498
2846
|
|
|
2847
|
+
export class GetDiskRequest extends $tea.Model {
|
|
2848
|
+
diskId?: string;
|
|
2849
|
+
regionId?: string;
|
|
2850
|
+
static names(): { [key: string]: string } {
|
|
2851
|
+
return {
|
|
2852
|
+
diskId: 'DiskId',
|
|
2853
|
+
regionId: 'RegionId',
|
|
2854
|
+
};
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
static types(): { [key: string]: any } {
|
|
2858
|
+
return {
|
|
2859
|
+
diskId: 'string',
|
|
2860
|
+
regionId: 'string',
|
|
2861
|
+
};
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
constructor(map?: { [key: string]: any }) {
|
|
2865
|
+
super(map);
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
export class GetDiskResponseBody extends $tea.Model {
|
|
2870
|
+
disk?: GetDiskResponseBodyDisk;
|
|
2871
|
+
requestId?: string;
|
|
2872
|
+
static names(): { [key: string]: string } {
|
|
2873
|
+
return {
|
|
2874
|
+
disk: 'Disk',
|
|
2875
|
+
requestId: 'RequestId',
|
|
2876
|
+
};
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
static types(): { [key: string]: any } {
|
|
2880
|
+
return {
|
|
2881
|
+
disk: GetDiskResponseBodyDisk,
|
|
2882
|
+
requestId: 'string',
|
|
2883
|
+
};
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
constructor(map?: { [key: string]: any }) {
|
|
2887
|
+
super(map);
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
export class GetDiskResponse extends $tea.Model {
|
|
2892
|
+
headers?: { [key: string]: string };
|
|
2893
|
+
statusCode?: number;
|
|
2894
|
+
body?: GetDiskResponseBody;
|
|
2895
|
+
static names(): { [key: string]: string } {
|
|
2896
|
+
return {
|
|
2897
|
+
headers: 'headers',
|
|
2898
|
+
statusCode: 'statusCode',
|
|
2899
|
+
body: 'body',
|
|
2900
|
+
};
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
static types(): { [key: string]: any } {
|
|
2904
|
+
return {
|
|
2905
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2906
|
+
statusCode: 'number',
|
|
2907
|
+
body: GetDiskResponseBody,
|
|
2908
|
+
};
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
constructor(map?: { [key: string]: any }) {
|
|
2912
|
+
super(map);
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2499
2916
|
export class ListTagResourcesRequest extends $tea.Model {
|
|
2500
2917
|
clientToken?: string;
|
|
2501
2918
|
nextToken?: string;
|
|
@@ -2817,6 +3234,78 @@ export class ModifyDiskReplicaPairResponse extends $tea.Model {
|
|
|
2817
3234
|
}
|
|
2818
3235
|
}
|
|
2819
3236
|
|
|
3237
|
+
export class QueryDedicatedBlockStorageClusterDiskThroughputStatusRequest extends $tea.Model {
|
|
3238
|
+
clientToken?: string;
|
|
3239
|
+
qosRequestId?: string;
|
|
3240
|
+
regionId?: string;
|
|
3241
|
+
static names(): { [key: string]: string } {
|
|
3242
|
+
return {
|
|
3243
|
+
clientToken: 'ClientToken',
|
|
3244
|
+
qosRequestId: 'QosRequestId',
|
|
3245
|
+
regionId: 'RegionId',
|
|
3246
|
+
};
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
static types(): { [key: string]: any } {
|
|
3250
|
+
return {
|
|
3251
|
+
clientToken: 'string',
|
|
3252
|
+
qosRequestId: 'string',
|
|
3253
|
+
regionId: 'string',
|
|
3254
|
+
};
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
constructor(map?: { [key: string]: any }) {
|
|
3258
|
+
super(map);
|
|
3259
|
+
}
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
export class QueryDedicatedBlockStorageClusterDiskThroughputStatusResponseBody extends $tea.Model {
|
|
3263
|
+
requestId?: string;
|
|
3264
|
+
status?: string;
|
|
3265
|
+
static names(): { [key: string]: string } {
|
|
3266
|
+
return {
|
|
3267
|
+
requestId: 'RequestId',
|
|
3268
|
+
status: 'Status',
|
|
3269
|
+
};
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
static types(): { [key: string]: any } {
|
|
3273
|
+
return {
|
|
3274
|
+
requestId: 'string',
|
|
3275
|
+
status: 'string',
|
|
3276
|
+
};
|
|
3277
|
+
}
|
|
3278
|
+
|
|
3279
|
+
constructor(map?: { [key: string]: any }) {
|
|
3280
|
+
super(map);
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
export class QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse extends $tea.Model {
|
|
3285
|
+
headers?: { [key: string]: string };
|
|
3286
|
+
statusCode?: number;
|
|
3287
|
+
body?: QueryDedicatedBlockStorageClusterDiskThroughputStatusResponseBody;
|
|
3288
|
+
static names(): { [key: string]: string } {
|
|
3289
|
+
return {
|
|
3290
|
+
headers: 'headers',
|
|
3291
|
+
statusCode: 'statusCode',
|
|
3292
|
+
body: 'body',
|
|
3293
|
+
};
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
static types(): { [key: string]: any } {
|
|
3297
|
+
return {
|
|
3298
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3299
|
+
statusCode: 'number',
|
|
3300
|
+
body: QueryDedicatedBlockStorageClusterDiskThroughputStatusResponseBody,
|
|
3301
|
+
};
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
constructor(map?: { [key: string]: any }) {
|
|
3305
|
+
super(map);
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
|
|
2820
3309
|
export class QueryDedicatedBlockStorageClusterInventoryDataRequest extends $tea.Model {
|
|
2821
3310
|
clientToken?: string;
|
|
2822
3311
|
dbscId?: string;
|
|
@@ -3126,6 +3615,78 @@ export class ReprotectDiskReplicaPairResponse extends $tea.Model {
|
|
|
3126
3615
|
}
|
|
3127
3616
|
}
|
|
3128
3617
|
|
|
3618
|
+
export class SetDedicatedBlockStorageClusterDiskThroughputRequest extends $tea.Model {
|
|
3619
|
+
bps?: number;
|
|
3620
|
+
clientToken?: string;
|
|
3621
|
+
diskId?: string;
|
|
3622
|
+
regionId?: string;
|
|
3623
|
+
static names(): { [key: string]: string } {
|
|
3624
|
+
return {
|
|
3625
|
+
bps: 'Bps',
|
|
3626
|
+
clientToken: 'ClientToken',
|
|
3627
|
+
diskId: 'DiskId',
|
|
3628
|
+
regionId: 'RegionId',
|
|
3629
|
+
};
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
static types(): { [key: string]: any } {
|
|
3633
|
+
return {
|
|
3634
|
+
bps: 'number',
|
|
3635
|
+
clientToken: 'string',
|
|
3636
|
+
diskId: 'string',
|
|
3637
|
+
regionId: 'string',
|
|
3638
|
+
};
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3641
|
+
constructor(map?: { [key: string]: any }) {
|
|
3642
|
+
super(map);
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
export class SetDedicatedBlockStorageClusterDiskThroughputResponseBody extends $tea.Model {
|
|
3647
|
+
requestId?: string;
|
|
3648
|
+
static names(): { [key: string]: string } {
|
|
3649
|
+
return {
|
|
3650
|
+
requestId: 'RequestId',
|
|
3651
|
+
};
|
|
3652
|
+
}
|
|
3653
|
+
|
|
3654
|
+
static types(): { [key: string]: any } {
|
|
3655
|
+
return {
|
|
3656
|
+
requestId: 'string',
|
|
3657
|
+
};
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
constructor(map?: { [key: string]: any }) {
|
|
3661
|
+
super(map);
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3665
|
+
export class SetDedicatedBlockStorageClusterDiskThroughputResponse extends $tea.Model {
|
|
3666
|
+
headers?: { [key: string]: string };
|
|
3667
|
+
statusCode?: number;
|
|
3668
|
+
body?: SetDedicatedBlockStorageClusterDiskThroughputResponseBody;
|
|
3669
|
+
static names(): { [key: string]: string } {
|
|
3670
|
+
return {
|
|
3671
|
+
headers: 'headers',
|
|
3672
|
+
statusCode: 'statusCode',
|
|
3673
|
+
body: 'body',
|
|
3674
|
+
};
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
static types(): { [key: string]: any } {
|
|
3678
|
+
return {
|
|
3679
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3680
|
+
statusCode: 'number',
|
|
3681
|
+
body: SetDedicatedBlockStorageClusterDiskThroughputResponseBody,
|
|
3682
|
+
};
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
constructor(map?: { [key: string]: any }) {
|
|
3686
|
+
super(map);
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3129
3690
|
export class StartDiskReplicaGroupRequest extends $tea.Model {
|
|
3130
3691
|
clientToken?: string;
|
|
3131
3692
|
oneShot?: boolean;
|
|
@@ -4629,10 +5190,14 @@ export class DescribeDiskMonitorDataResponseBodyMonitorData extends $tea.Model {
|
|
|
4629
5190
|
diskId?: string;
|
|
4630
5191
|
IOPSPercent?: number;
|
|
4631
5192
|
readBPS?: number;
|
|
5193
|
+
readBlockSize?: number;
|
|
4632
5194
|
readIOPS?: number;
|
|
5195
|
+
readLatency?: number;
|
|
4633
5196
|
timestamp?: string;
|
|
4634
5197
|
writeBPS?: number;
|
|
5198
|
+
writeBlockSize?: number;
|
|
4635
5199
|
writeIOPS?: number;
|
|
5200
|
+
writeLatency?: number;
|
|
4636
5201
|
static names(): { [key: string]: string } {
|
|
4637
5202
|
return {
|
|
4638
5203
|
BPSPercent: 'BPSPercent',
|
|
@@ -4640,10 +5205,14 @@ export class DescribeDiskMonitorDataResponseBodyMonitorData extends $tea.Model {
|
|
|
4640
5205
|
diskId: 'DiskId',
|
|
4641
5206
|
IOPSPercent: 'IOPSPercent',
|
|
4642
5207
|
readBPS: 'ReadBPS',
|
|
5208
|
+
readBlockSize: 'ReadBlockSize',
|
|
4643
5209
|
readIOPS: 'ReadIOPS',
|
|
5210
|
+
readLatency: 'ReadLatency',
|
|
4644
5211
|
timestamp: 'Timestamp',
|
|
4645
5212
|
writeBPS: 'WriteBPS',
|
|
5213
|
+
writeBlockSize: 'WriteBlockSize',
|
|
4646
5214
|
writeIOPS: 'WriteIOPS',
|
|
5215
|
+
writeLatency: 'WriteLatency',
|
|
4647
5216
|
};
|
|
4648
5217
|
}
|
|
4649
5218
|
|
|
@@ -4654,10 +5223,14 @@ export class DescribeDiskMonitorDataResponseBodyMonitorData extends $tea.Model {
|
|
|
4654
5223
|
diskId: 'string',
|
|
4655
5224
|
IOPSPercent: 'number',
|
|
4656
5225
|
readBPS: 'number',
|
|
5226
|
+
readBlockSize: 'number',
|
|
4657
5227
|
readIOPS: 'number',
|
|
5228
|
+
readLatency: 'number',
|
|
4658
5229
|
timestamp: 'string',
|
|
4659
5230
|
writeBPS: 'number',
|
|
5231
|
+
writeBlockSize: 'number',
|
|
4660
5232
|
writeIOPS: 'number',
|
|
5233
|
+
writeLatency: 'number',
|
|
4661
5234
|
};
|
|
4662
5235
|
}
|
|
4663
5236
|
|
|
@@ -4932,15 +5505,244 @@ export class DescribeDiskReplicaPairsResponseBodyReplicaPairs extends $tea.Model
|
|
|
4932
5505
|
replicaGroupName: 'string',
|
|
4933
5506
|
replicaPairId: 'string',
|
|
4934
5507
|
resourceGroupId: 'string',
|
|
4935
|
-
site: 'string',
|
|
4936
|
-
sourceDiskId: 'string',
|
|
4937
|
-
sourceRegion: 'string',
|
|
4938
|
-
sourceZoneId: 'string',
|
|
4939
|
-
standbyRegion: 'string',
|
|
4940
|
-
standbyZone: 'string',
|
|
5508
|
+
site: 'string',
|
|
5509
|
+
sourceDiskId: 'string',
|
|
5510
|
+
sourceRegion: 'string',
|
|
5511
|
+
sourceZoneId: 'string',
|
|
5512
|
+
standbyRegion: 'string',
|
|
5513
|
+
standbyZone: 'string',
|
|
5514
|
+
status: 'string',
|
|
5515
|
+
statusMessage: 'string',
|
|
5516
|
+
tags: { 'type': 'array', 'itemType': DescribeDiskReplicaPairsResponseBodyReplicaPairsTags },
|
|
5517
|
+
};
|
|
5518
|
+
}
|
|
5519
|
+
|
|
5520
|
+
constructor(map?: { [key: string]: any }) {
|
|
5521
|
+
super(map);
|
|
5522
|
+
}
|
|
5523
|
+
}
|
|
5524
|
+
|
|
5525
|
+
export class DescribeDisksRequestTag extends $tea.Model {
|
|
5526
|
+
key?: string;
|
|
5527
|
+
value?: string;
|
|
5528
|
+
static names(): { [key: string]: string } {
|
|
5529
|
+
return {
|
|
5530
|
+
key: 'Key',
|
|
5531
|
+
value: 'Value',
|
|
5532
|
+
};
|
|
5533
|
+
}
|
|
5534
|
+
|
|
5535
|
+
static types(): { [key: string]: any } {
|
|
5536
|
+
return {
|
|
5537
|
+
key: 'string',
|
|
5538
|
+
value: 'string',
|
|
5539
|
+
};
|
|
5540
|
+
}
|
|
5541
|
+
|
|
5542
|
+
constructor(map?: { [key: string]: any }) {
|
|
5543
|
+
super(map);
|
|
5544
|
+
}
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
export class DescribeDisksResponseBodyDataAccessAuthorizationEcs extends $tea.Model {
|
|
5548
|
+
instanceId?: string;
|
|
5549
|
+
static names(): { [key: string]: string } {
|
|
5550
|
+
return {
|
|
5551
|
+
instanceId: 'InstanceId',
|
|
5552
|
+
};
|
|
5553
|
+
}
|
|
5554
|
+
|
|
5555
|
+
static types(): { [key: string]: any } {
|
|
5556
|
+
return {
|
|
5557
|
+
instanceId: 'string',
|
|
5558
|
+
};
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
constructor(map?: { [key: string]: any }) {
|
|
5562
|
+
super(map);
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
|
|
5566
|
+
export class DescribeDisksResponseBodyDataAccessAuthorizationPod extends $tea.Model {
|
|
5567
|
+
clusterId?: string;
|
|
5568
|
+
podId?: string;
|
|
5569
|
+
static names(): { [key: string]: string } {
|
|
5570
|
+
return {
|
|
5571
|
+
clusterId: 'ClusterId',
|
|
5572
|
+
podId: 'PodId',
|
|
5573
|
+
};
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5576
|
+
static types(): { [key: string]: any } {
|
|
5577
|
+
return {
|
|
5578
|
+
clusterId: 'string',
|
|
5579
|
+
podId: 'string',
|
|
5580
|
+
};
|
|
5581
|
+
}
|
|
5582
|
+
|
|
5583
|
+
constructor(map?: { [key: string]: any }) {
|
|
5584
|
+
super(map);
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
export class DescribeDisksResponseBodyDataAccessAuthorization extends $tea.Model {
|
|
5589
|
+
accessToken?: string;
|
|
5590
|
+
ecs?: DescribeDisksResponseBodyDataAccessAuthorizationEcs;
|
|
5591
|
+
pod?: DescribeDisksResponseBodyDataAccessAuthorizationPod;
|
|
5592
|
+
static names(): { [key: string]: string } {
|
|
5593
|
+
return {
|
|
5594
|
+
accessToken: 'AccessToken',
|
|
5595
|
+
ecs: 'Ecs',
|
|
5596
|
+
pod: 'Pod',
|
|
5597
|
+
};
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
static types(): { [key: string]: any } {
|
|
5601
|
+
return {
|
|
5602
|
+
accessToken: 'string',
|
|
5603
|
+
ecs: DescribeDisksResponseBodyDataAccessAuthorizationEcs,
|
|
5604
|
+
pod: DescribeDisksResponseBodyDataAccessAuthorizationPod,
|
|
5605
|
+
};
|
|
5606
|
+
}
|
|
5607
|
+
|
|
5608
|
+
constructor(map?: { [key: string]: any }) {
|
|
5609
|
+
super(map);
|
|
5610
|
+
}
|
|
5611
|
+
}
|
|
5612
|
+
|
|
5613
|
+
export class DescribeDisksResponseBodyDataAttachments extends $tea.Model {
|
|
5614
|
+
attachedTime?: string;
|
|
5615
|
+
instanceId?: string;
|
|
5616
|
+
namespaceId?: number;
|
|
5617
|
+
static names(): { [key: string]: string } {
|
|
5618
|
+
return {
|
|
5619
|
+
attachedTime: 'AttachedTime',
|
|
5620
|
+
instanceId: 'InstanceId',
|
|
5621
|
+
namespaceId: 'NamespaceId',
|
|
5622
|
+
};
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5625
|
+
static types(): { [key: string]: any } {
|
|
5626
|
+
return {
|
|
5627
|
+
attachedTime: 'string',
|
|
5628
|
+
instanceId: 'string',
|
|
5629
|
+
namespaceId: 'number',
|
|
5630
|
+
};
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
constructor(map?: { [key: string]: any }) {
|
|
5634
|
+
super(map);
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
export class DescribeDisksResponseBodyDataTags extends $tea.Model {
|
|
5639
|
+
tagKey?: string;
|
|
5640
|
+
tagValue?: string;
|
|
5641
|
+
static names(): { [key: string]: string } {
|
|
5642
|
+
return {
|
|
5643
|
+
tagKey: 'TagKey',
|
|
5644
|
+
tagValue: 'TagValue',
|
|
5645
|
+
};
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5648
|
+
static types(): { [key: string]: any } {
|
|
5649
|
+
return {
|
|
5650
|
+
tagKey: 'string',
|
|
5651
|
+
tagValue: 'string',
|
|
5652
|
+
};
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
constructor(map?: { [key: string]: any }) {
|
|
5656
|
+
super(map);
|
|
5657
|
+
}
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
export class DescribeDisksResponseBodyData extends $tea.Model {
|
|
5661
|
+
accessAuthorization?: DescribeDisksResponseBodyDataAccessAuthorization[];
|
|
5662
|
+
attachedTime?: string;
|
|
5663
|
+
attachments?: DescribeDisksResponseBodyDataAttachments[];
|
|
5664
|
+
burstingEnabled?: boolean;
|
|
5665
|
+
category?: string;
|
|
5666
|
+
creationTime?: string;
|
|
5667
|
+
description?: string;
|
|
5668
|
+
detachedTime?: string;
|
|
5669
|
+
deviceNguid?: string;
|
|
5670
|
+
diskId?: string;
|
|
5671
|
+
diskName?: string;
|
|
5672
|
+
encrypted?: boolean;
|
|
5673
|
+
iops?: number;
|
|
5674
|
+
iopsRead?: number;
|
|
5675
|
+
iopsWrite?: number;
|
|
5676
|
+
kmsKeyId?: string;
|
|
5677
|
+
modifyAt?: string;
|
|
5678
|
+
performanceLevel?: string;
|
|
5679
|
+
provisionedIops?: number;
|
|
5680
|
+
regionId?: string;
|
|
5681
|
+
resourceGroupId?: string;
|
|
5682
|
+
size?: number;
|
|
5683
|
+
status?: string;
|
|
5684
|
+
tags?: DescribeDisksResponseBodyDataTags[];
|
|
5685
|
+
throughput?: number;
|
|
5686
|
+
zoneId?: string;
|
|
5687
|
+
static names(): { [key: string]: string } {
|
|
5688
|
+
return {
|
|
5689
|
+
accessAuthorization: 'AccessAuthorization',
|
|
5690
|
+
attachedTime: 'AttachedTime',
|
|
5691
|
+
attachments: 'Attachments',
|
|
5692
|
+
burstingEnabled: 'BurstingEnabled',
|
|
5693
|
+
category: 'Category',
|
|
5694
|
+
creationTime: 'CreationTime',
|
|
5695
|
+
description: 'Description',
|
|
5696
|
+
detachedTime: 'DetachedTime',
|
|
5697
|
+
deviceNguid: 'DeviceNguid',
|
|
5698
|
+
diskId: 'DiskId',
|
|
5699
|
+
diskName: 'DiskName',
|
|
5700
|
+
encrypted: 'Encrypted',
|
|
5701
|
+
iops: 'Iops',
|
|
5702
|
+
iopsRead: 'IopsRead',
|
|
5703
|
+
iopsWrite: 'IopsWrite',
|
|
5704
|
+
kmsKeyId: 'KmsKeyId',
|
|
5705
|
+
modifyAt: 'ModifyAt',
|
|
5706
|
+
performanceLevel: 'PerformanceLevel',
|
|
5707
|
+
provisionedIops: 'ProvisionedIops',
|
|
5708
|
+
regionId: 'RegionId',
|
|
5709
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5710
|
+
size: 'Size',
|
|
5711
|
+
status: 'Status',
|
|
5712
|
+
tags: 'Tags',
|
|
5713
|
+
throughput: 'Throughput',
|
|
5714
|
+
zoneId: 'ZoneId',
|
|
5715
|
+
};
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
static types(): { [key: string]: any } {
|
|
5719
|
+
return {
|
|
5720
|
+
accessAuthorization: { 'type': 'array', 'itemType': DescribeDisksResponseBodyDataAccessAuthorization },
|
|
5721
|
+
attachedTime: 'string',
|
|
5722
|
+
attachments: { 'type': 'array', 'itemType': DescribeDisksResponseBodyDataAttachments },
|
|
5723
|
+
burstingEnabled: 'boolean',
|
|
5724
|
+
category: 'string',
|
|
5725
|
+
creationTime: 'string',
|
|
5726
|
+
description: 'string',
|
|
5727
|
+
detachedTime: 'string',
|
|
5728
|
+
deviceNguid: 'string',
|
|
5729
|
+
diskId: 'string',
|
|
5730
|
+
diskName: 'string',
|
|
5731
|
+
encrypted: 'boolean',
|
|
5732
|
+
iops: 'number',
|
|
5733
|
+
iopsRead: 'number',
|
|
5734
|
+
iopsWrite: 'number',
|
|
5735
|
+
kmsKeyId: 'string',
|
|
5736
|
+
modifyAt: 'string',
|
|
5737
|
+
performanceLevel: 'string',
|
|
5738
|
+
provisionedIops: 'number',
|
|
5739
|
+
regionId: 'string',
|
|
5740
|
+
resourceGroupId: 'string',
|
|
5741
|
+
size: 'number',
|
|
4941
5742
|
status: 'string',
|
|
4942
|
-
|
|
4943
|
-
|
|
5743
|
+
tags: { 'type': 'array', 'itemType': DescribeDisksResponseBodyDataTags },
|
|
5744
|
+
throughput: 'number',
|
|
5745
|
+
zoneId: 'string',
|
|
4944
5746
|
};
|
|
4945
5747
|
}
|
|
4946
5748
|
|
|
@@ -5211,6 +6013,55 @@ export class DescribeEnterpriseSnapshotPolicyResponseBodyPolicies extends $tea.M
|
|
|
5211
6013
|
}
|
|
5212
6014
|
}
|
|
5213
6015
|
|
|
6016
|
+
export class DescribeEventsResponseBodyResourceEvents extends $tea.Model {
|
|
6017
|
+
description?: string;
|
|
6018
|
+
endTime?: string;
|
|
6019
|
+
eventLevel?: string;
|
|
6020
|
+
eventName?: string;
|
|
6021
|
+
eventType?: string;
|
|
6022
|
+
recommendAction?: string;
|
|
6023
|
+
recommendParams?: string;
|
|
6024
|
+
resourceId?: string;
|
|
6025
|
+
resourceType?: string;
|
|
6026
|
+
startTime?: string;
|
|
6027
|
+
status?: string;
|
|
6028
|
+
static names(): { [key: string]: string } {
|
|
6029
|
+
return {
|
|
6030
|
+
description: 'Description',
|
|
6031
|
+
endTime: 'EndTime',
|
|
6032
|
+
eventLevel: 'EventLevel',
|
|
6033
|
+
eventName: 'EventName',
|
|
6034
|
+
eventType: 'EventType',
|
|
6035
|
+
recommendAction: 'RecommendAction',
|
|
6036
|
+
recommendParams: 'RecommendParams',
|
|
6037
|
+
resourceId: 'ResourceId',
|
|
6038
|
+
resourceType: 'ResourceType',
|
|
6039
|
+
startTime: 'StartTime',
|
|
6040
|
+
status: 'Status',
|
|
6041
|
+
};
|
|
6042
|
+
}
|
|
6043
|
+
|
|
6044
|
+
static types(): { [key: string]: any } {
|
|
6045
|
+
return {
|
|
6046
|
+
description: 'string',
|
|
6047
|
+
endTime: 'string',
|
|
6048
|
+
eventLevel: 'string',
|
|
6049
|
+
eventName: 'string',
|
|
6050
|
+
eventType: 'string',
|
|
6051
|
+
recommendAction: 'string',
|
|
6052
|
+
recommendParams: 'string',
|
|
6053
|
+
resourceId: 'string',
|
|
6054
|
+
resourceType: 'string',
|
|
6055
|
+
startTime: 'string',
|
|
6056
|
+
status: 'string',
|
|
6057
|
+
};
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
constructor(map?: { [key: string]: any }) {
|
|
6061
|
+
super(map);
|
|
6062
|
+
}
|
|
6063
|
+
}
|
|
6064
|
+
|
|
5214
6065
|
export class DescribeMetricDataResponseBodyDataList extends $tea.Model {
|
|
5215
6066
|
datapoints?: any;
|
|
5216
6067
|
labels?: any;
|
|
@@ -5385,6 +6236,235 @@ export class DescribeReplicaGroupDrillsResponseBodyDrills extends $tea.Model {
|
|
|
5385
6236
|
}
|
|
5386
6237
|
}
|
|
5387
6238
|
|
|
6239
|
+
export class DescribeSolutionInstanceConfigurationRequestParameters extends $tea.Model {
|
|
6240
|
+
parameterKey?: string;
|
|
6241
|
+
parameterValue?: string;
|
|
6242
|
+
static names(): { [key: string]: string } {
|
|
6243
|
+
return {
|
|
6244
|
+
parameterKey: 'ParameterKey',
|
|
6245
|
+
parameterValue: 'ParameterValue',
|
|
6246
|
+
};
|
|
6247
|
+
}
|
|
6248
|
+
|
|
6249
|
+
static types(): { [key: string]: any } {
|
|
6250
|
+
return {
|
|
6251
|
+
parameterKey: 'string',
|
|
6252
|
+
parameterValue: 'string',
|
|
6253
|
+
};
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6256
|
+
constructor(map?: { [key: string]: any }) {
|
|
6257
|
+
super(map);
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
|
|
6261
|
+
export class GetDiskResponseBodyDiskAccessAuthorizationEcs extends $tea.Model {
|
|
6262
|
+
instanceId?: string;
|
|
6263
|
+
static names(): { [key: string]: string } {
|
|
6264
|
+
return {
|
|
6265
|
+
instanceId: 'InstanceId',
|
|
6266
|
+
};
|
|
6267
|
+
}
|
|
6268
|
+
|
|
6269
|
+
static types(): { [key: string]: any } {
|
|
6270
|
+
return {
|
|
6271
|
+
instanceId: 'string',
|
|
6272
|
+
};
|
|
6273
|
+
}
|
|
6274
|
+
|
|
6275
|
+
constructor(map?: { [key: string]: any }) {
|
|
6276
|
+
super(map);
|
|
6277
|
+
}
|
|
6278
|
+
}
|
|
6279
|
+
|
|
6280
|
+
export class GetDiskResponseBodyDiskAccessAuthorizationPod extends $tea.Model {
|
|
6281
|
+
clusterId?: string;
|
|
6282
|
+
podId?: string;
|
|
6283
|
+
static names(): { [key: string]: string } {
|
|
6284
|
+
return {
|
|
6285
|
+
clusterId: 'ClusterId',
|
|
6286
|
+
podId: 'PodId',
|
|
6287
|
+
};
|
|
6288
|
+
}
|
|
6289
|
+
|
|
6290
|
+
static types(): { [key: string]: any } {
|
|
6291
|
+
return {
|
|
6292
|
+
clusterId: 'string',
|
|
6293
|
+
podId: 'string',
|
|
6294
|
+
};
|
|
6295
|
+
}
|
|
6296
|
+
|
|
6297
|
+
constructor(map?: { [key: string]: any }) {
|
|
6298
|
+
super(map);
|
|
6299
|
+
}
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
export class GetDiskResponseBodyDiskAccessAuthorization extends $tea.Model {
|
|
6303
|
+
accessToken?: string;
|
|
6304
|
+
ecs?: GetDiskResponseBodyDiskAccessAuthorizationEcs;
|
|
6305
|
+
pod?: GetDiskResponseBodyDiskAccessAuthorizationPod;
|
|
6306
|
+
static names(): { [key: string]: string } {
|
|
6307
|
+
return {
|
|
6308
|
+
accessToken: 'AccessToken',
|
|
6309
|
+
ecs: 'Ecs',
|
|
6310
|
+
pod: 'Pod',
|
|
6311
|
+
};
|
|
6312
|
+
}
|
|
6313
|
+
|
|
6314
|
+
static types(): { [key: string]: any } {
|
|
6315
|
+
return {
|
|
6316
|
+
accessToken: 'string',
|
|
6317
|
+
ecs: GetDiskResponseBodyDiskAccessAuthorizationEcs,
|
|
6318
|
+
pod: GetDiskResponseBodyDiskAccessAuthorizationPod,
|
|
6319
|
+
};
|
|
6320
|
+
}
|
|
6321
|
+
|
|
6322
|
+
constructor(map?: { [key: string]: any }) {
|
|
6323
|
+
super(map);
|
|
6324
|
+
}
|
|
6325
|
+
}
|
|
6326
|
+
|
|
6327
|
+
export class GetDiskResponseBodyDiskAttachments extends $tea.Model {
|
|
6328
|
+
attachedTime?: string;
|
|
6329
|
+
instanceId?: string;
|
|
6330
|
+
namespaceId?: number;
|
|
6331
|
+
static names(): { [key: string]: string } {
|
|
6332
|
+
return {
|
|
6333
|
+
attachedTime: 'AttachedTime',
|
|
6334
|
+
instanceId: 'InstanceId',
|
|
6335
|
+
namespaceId: 'NamespaceId',
|
|
6336
|
+
};
|
|
6337
|
+
}
|
|
6338
|
+
|
|
6339
|
+
static types(): { [key: string]: any } {
|
|
6340
|
+
return {
|
|
6341
|
+
attachedTime: 'string',
|
|
6342
|
+
instanceId: 'string',
|
|
6343
|
+
namespaceId: 'number',
|
|
6344
|
+
};
|
|
6345
|
+
}
|
|
6346
|
+
|
|
6347
|
+
constructor(map?: { [key: string]: any }) {
|
|
6348
|
+
super(map);
|
|
6349
|
+
}
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
export class GetDiskResponseBodyDiskTags extends $tea.Model {
|
|
6353
|
+
tagKey?: string;
|
|
6354
|
+
tagValue?: string;
|
|
6355
|
+
static names(): { [key: string]: string } {
|
|
6356
|
+
return {
|
|
6357
|
+
tagKey: 'TagKey',
|
|
6358
|
+
tagValue: 'TagValue',
|
|
6359
|
+
};
|
|
6360
|
+
}
|
|
6361
|
+
|
|
6362
|
+
static types(): { [key: string]: any } {
|
|
6363
|
+
return {
|
|
6364
|
+
tagKey: 'string',
|
|
6365
|
+
tagValue: 'string',
|
|
6366
|
+
};
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
constructor(map?: { [key: string]: any }) {
|
|
6370
|
+
super(map);
|
|
6371
|
+
}
|
|
6372
|
+
}
|
|
6373
|
+
|
|
6374
|
+
export class GetDiskResponseBodyDisk extends $tea.Model {
|
|
6375
|
+
accessAuthorization?: GetDiskResponseBodyDiskAccessAuthorization[];
|
|
6376
|
+
attachedTime?: string;
|
|
6377
|
+
attachments?: GetDiskResponseBodyDiskAttachments[];
|
|
6378
|
+
burstingEnabled?: boolean;
|
|
6379
|
+
category?: string;
|
|
6380
|
+
creationTime?: string;
|
|
6381
|
+
description?: string;
|
|
6382
|
+
detachedTime?: string;
|
|
6383
|
+
deviceNguid?: string;
|
|
6384
|
+
diskId?: string;
|
|
6385
|
+
diskName?: string;
|
|
6386
|
+
encrypted?: boolean;
|
|
6387
|
+
iops?: number;
|
|
6388
|
+
iopsRead?: number;
|
|
6389
|
+
iopsWrite?: number;
|
|
6390
|
+
kmsKeyId?: string;
|
|
6391
|
+
modifyAt?: string;
|
|
6392
|
+
performanceLevel?: string;
|
|
6393
|
+
provisionedIops?: number;
|
|
6394
|
+
regionId?: string;
|
|
6395
|
+
resourceGroupId?: string;
|
|
6396
|
+
size?: number;
|
|
6397
|
+
status?: string;
|
|
6398
|
+
tags?: GetDiskResponseBodyDiskTags[];
|
|
6399
|
+
throughput?: number;
|
|
6400
|
+
zoneId?: string;
|
|
6401
|
+
static names(): { [key: string]: string } {
|
|
6402
|
+
return {
|
|
6403
|
+
accessAuthorization: 'AccessAuthorization',
|
|
6404
|
+
attachedTime: 'AttachedTime',
|
|
6405
|
+
attachments: 'Attachments',
|
|
6406
|
+
burstingEnabled: 'BurstingEnabled',
|
|
6407
|
+
category: 'Category',
|
|
6408
|
+
creationTime: 'CreationTime',
|
|
6409
|
+
description: 'Description',
|
|
6410
|
+
detachedTime: 'DetachedTime',
|
|
6411
|
+
deviceNguid: 'DeviceNguid',
|
|
6412
|
+
diskId: 'DiskId',
|
|
6413
|
+
diskName: 'DiskName',
|
|
6414
|
+
encrypted: 'Encrypted',
|
|
6415
|
+
iops: 'Iops',
|
|
6416
|
+
iopsRead: 'IopsRead',
|
|
6417
|
+
iopsWrite: 'IopsWrite',
|
|
6418
|
+
kmsKeyId: 'KmsKeyId',
|
|
6419
|
+
modifyAt: 'ModifyAt',
|
|
6420
|
+
performanceLevel: 'PerformanceLevel',
|
|
6421
|
+
provisionedIops: 'ProvisionedIops',
|
|
6422
|
+
regionId: 'RegionId',
|
|
6423
|
+
resourceGroupId: 'ResourceGroupId',
|
|
6424
|
+
size: 'Size',
|
|
6425
|
+
status: 'Status',
|
|
6426
|
+
tags: 'Tags',
|
|
6427
|
+
throughput: 'Throughput',
|
|
6428
|
+
zoneId: 'ZoneId',
|
|
6429
|
+
};
|
|
6430
|
+
}
|
|
6431
|
+
|
|
6432
|
+
static types(): { [key: string]: any } {
|
|
6433
|
+
return {
|
|
6434
|
+
accessAuthorization: { 'type': 'array', 'itemType': GetDiskResponseBodyDiskAccessAuthorization },
|
|
6435
|
+
attachedTime: 'string',
|
|
6436
|
+
attachments: { 'type': 'array', 'itemType': GetDiskResponseBodyDiskAttachments },
|
|
6437
|
+
burstingEnabled: 'boolean',
|
|
6438
|
+
category: 'string',
|
|
6439
|
+
creationTime: 'string',
|
|
6440
|
+
description: 'string',
|
|
6441
|
+
detachedTime: 'string',
|
|
6442
|
+
deviceNguid: 'string',
|
|
6443
|
+
diskId: 'string',
|
|
6444
|
+
diskName: 'string',
|
|
6445
|
+
encrypted: 'boolean',
|
|
6446
|
+
iops: 'number',
|
|
6447
|
+
iopsRead: 'number',
|
|
6448
|
+
iopsWrite: 'number',
|
|
6449
|
+
kmsKeyId: 'string',
|
|
6450
|
+
modifyAt: 'string',
|
|
6451
|
+
performanceLevel: 'string',
|
|
6452
|
+
provisionedIops: 'number',
|
|
6453
|
+
regionId: 'string',
|
|
6454
|
+
resourceGroupId: 'string',
|
|
6455
|
+
size: 'number',
|
|
6456
|
+
status: 'string',
|
|
6457
|
+
tags: { 'type': 'array', 'itemType': GetDiskResponseBodyDiskTags },
|
|
6458
|
+
throughput: 'number',
|
|
6459
|
+
zoneId: 'string',
|
|
6460
|
+
};
|
|
6461
|
+
}
|
|
6462
|
+
|
|
6463
|
+
constructor(map?: { [key: string]: any }) {
|
|
6464
|
+
super(map);
|
|
6465
|
+
}
|
|
6466
|
+
}
|
|
6467
|
+
|
|
5388
6468
|
export class ListTagResourcesRequestTag extends $tea.Model {
|
|
5389
6469
|
key?: string;
|
|
5390
6470
|
value?: string;
|
|
@@ -6338,15 +7418,55 @@ export default class Client extends OpenApi {
|
|
|
6338
7418
|
query["Tag"] = request.tag;
|
|
6339
7419
|
}
|
|
6340
7420
|
|
|
6341
|
-
if (!Util.isUnset(request.targetType)) {
|
|
6342
|
-
query["TargetType"] = request.targetType;
|
|
7421
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7422
|
+
query["TargetType"] = request.targetType;
|
|
7423
|
+
}
|
|
7424
|
+
|
|
7425
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7426
|
+
query: OpenApiUtil.query(query),
|
|
7427
|
+
});
|
|
7428
|
+
let params = new $OpenApi.Params({
|
|
7429
|
+
action: "CreateEnterpriseSnapshotPolicy",
|
|
7430
|
+
version: "2021-07-30",
|
|
7431
|
+
protocol: "HTTPS",
|
|
7432
|
+
pathname: "/",
|
|
7433
|
+
method: "POST",
|
|
7434
|
+
authType: "AK",
|
|
7435
|
+
style: "RPC",
|
|
7436
|
+
reqBodyType: "formData",
|
|
7437
|
+
bodyType: "json",
|
|
7438
|
+
});
|
|
7439
|
+
return $tea.cast<CreateEnterpriseSnapshotPolicyResponse>(await this.callApi(params, req, runtime), new CreateEnterpriseSnapshotPolicyResponse({}));
|
|
7440
|
+
}
|
|
7441
|
+
|
|
7442
|
+
async createEnterpriseSnapshotPolicy(request: CreateEnterpriseSnapshotPolicyRequest): Promise<CreateEnterpriseSnapshotPolicyResponse> {
|
|
7443
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7444
|
+
return await this.createEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
7445
|
+
}
|
|
7446
|
+
|
|
7447
|
+
/**
|
|
7448
|
+
* Currently, this API is only available for use with ACS resource hosting and is not yet open for direct invocation.
|
|
7449
|
+
*
|
|
7450
|
+
* @param request DeleteDiskRequest
|
|
7451
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7452
|
+
* @return DeleteDiskResponse
|
|
7453
|
+
*/
|
|
7454
|
+
async deleteDiskWithOptions(request: DeleteDiskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDiskResponse> {
|
|
7455
|
+
Util.validateModel(request);
|
|
7456
|
+
let query = { };
|
|
7457
|
+
if (!Util.isUnset(request.diskId)) {
|
|
7458
|
+
query["DiskId"] = request.diskId;
|
|
7459
|
+
}
|
|
7460
|
+
|
|
7461
|
+
if (!Util.isUnset(request.regionId)) {
|
|
7462
|
+
query["RegionId"] = request.regionId;
|
|
6343
7463
|
}
|
|
6344
7464
|
|
|
6345
7465
|
let req = new $OpenApi.OpenApiRequest({
|
|
6346
7466
|
query: OpenApiUtil.query(query),
|
|
6347
7467
|
});
|
|
6348
7468
|
let params = new $OpenApi.Params({
|
|
6349
|
-
action: "
|
|
7469
|
+
action: "DeleteDisk",
|
|
6350
7470
|
version: "2021-07-30",
|
|
6351
7471
|
protocol: "HTTPS",
|
|
6352
7472
|
pathname: "/",
|
|
@@ -6356,12 +7476,18 @@ export default class Client extends OpenApi {
|
|
|
6356
7476
|
reqBodyType: "formData",
|
|
6357
7477
|
bodyType: "json",
|
|
6358
7478
|
});
|
|
6359
|
-
return $tea.cast<
|
|
7479
|
+
return $tea.cast<DeleteDiskResponse>(await this.callApi(params, req, runtime), new DeleteDiskResponse({}));
|
|
6360
7480
|
}
|
|
6361
7481
|
|
|
6362
|
-
|
|
7482
|
+
/**
|
|
7483
|
+
* Currently, this API is only available for use with ACS resource hosting and is not yet open for direct invocation.
|
|
7484
|
+
*
|
|
7485
|
+
* @param request DeleteDiskRequest
|
|
7486
|
+
* @return DeleteDiskResponse
|
|
7487
|
+
*/
|
|
7488
|
+
async deleteDisk(request: DeleteDiskRequest): Promise<DeleteDiskResponse> {
|
|
6363
7489
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6364
|
-
return await this.
|
|
7490
|
+
return await this.deleteDiskWithOptions(request, runtime);
|
|
6365
7491
|
}
|
|
6366
7492
|
|
|
6367
7493
|
/**
|
|
@@ -7072,6 +8198,79 @@ export default class Client extends OpenApi {
|
|
|
7072
8198
|
return await this.describeDiskReplicaPairsWithOptions(request, runtime);
|
|
7073
8199
|
}
|
|
7074
8200
|
|
|
8201
|
+
async describeDisksWithOptions(request: DescribeDisksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDisksResponse> {
|
|
8202
|
+
Util.validateModel(request);
|
|
8203
|
+
let query = { };
|
|
8204
|
+
if (!Util.isUnset(request.category)) {
|
|
8205
|
+
query["Category"] = request.category;
|
|
8206
|
+
}
|
|
8207
|
+
|
|
8208
|
+
if (!Util.isUnset(request.diskIds)) {
|
|
8209
|
+
query["DiskIds"] = request.diskIds;
|
|
8210
|
+
}
|
|
8211
|
+
|
|
8212
|
+
if (!Util.isUnset(request.diskName)) {
|
|
8213
|
+
query["DiskName"] = request.diskName;
|
|
8214
|
+
}
|
|
8215
|
+
|
|
8216
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
8217
|
+
query["MaxResults"] = request.maxResults;
|
|
8218
|
+
}
|
|
8219
|
+
|
|
8220
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
8221
|
+
query["NextToken"] = request.nextToken;
|
|
8222
|
+
}
|
|
8223
|
+
|
|
8224
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
8225
|
+
query["PageNumber"] = request.pageNumber;
|
|
8226
|
+
}
|
|
8227
|
+
|
|
8228
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
8229
|
+
query["PageSize"] = request.pageSize;
|
|
8230
|
+
}
|
|
8231
|
+
|
|
8232
|
+
if (!Util.isUnset(request.regionId)) {
|
|
8233
|
+
query["RegionId"] = request.regionId;
|
|
8234
|
+
}
|
|
8235
|
+
|
|
8236
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
8237
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
8238
|
+
}
|
|
8239
|
+
|
|
8240
|
+
if (!Util.isUnset(request.status)) {
|
|
8241
|
+
query["Status"] = request.status;
|
|
8242
|
+
}
|
|
8243
|
+
|
|
8244
|
+
if (!Util.isUnset(request.tag)) {
|
|
8245
|
+
query["Tag"] = request.tag;
|
|
8246
|
+
}
|
|
8247
|
+
|
|
8248
|
+
if (!Util.isUnset(request.zoneId)) {
|
|
8249
|
+
query["ZoneId"] = request.zoneId;
|
|
8250
|
+
}
|
|
8251
|
+
|
|
8252
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8253
|
+
query: OpenApiUtil.query(query),
|
|
8254
|
+
});
|
|
8255
|
+
let params = new $OpenApi.Params({
|
|
8256
|
+
action: "DescribeDisks",
|
|
8257
|
+
version: "2021-07-30",
|
|
8258
|
+
protocol: "HTTPS",
|
|
8259
|
+
pathname: "/",
|
|
8260
|
+
method: "POST",
|
|
8261
|
+
authType: "AK",
|
|
8262
|
+
style: "RPC",
|
|
8263
|
+
reqBodyType: "formData",
|
|
8264
|
+
bodyType: "json",
|
|
8265
|
+
});
|
|
8266
|
+
return $tea.cast<DescribeDisksResponse>(await this.callApi(params, req, runtime), new DescribeDisksResponse({}));
|
|
8267
|
+
}
|
|
8268
|
+
|
|
8269
|
+
async describeDisks(request: DescribeDisksRequest): Promise<DescribeDisksResponse> {
|
|
8270
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8271
|
+
return await this.describeDisksWithOptions(request, runtime);
|
|
8272
|
+
}
|
|
8273
|
+
|
|
7075
8274
|
async describeEnterpriseSnapshotPolicyWithOptions(request: DescribeEnterpriseSnapshotPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEnterpriseSnapshotPolicyResponse> {
|
|
7076
8275
|
Util.validateModel(request);
|
|
7077
8276
|
let query = { };
|
|
@@ -7137,6 +8336,67 @@ export default class Client extends OpenApi {
|
|
|
7137
8336
|
return await this.describeEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
7138
8337
|
}
|
|
7139
8338
|
|
|
8339
|
+
async describeEventsWithOptions(request: DescribeEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse> {
|
|
8340
|
+
Util.validateModel(request);
|
|
8341
|
+
let query = { };
|
|
8342
|
+
if (!Util.isUnset(request.endTime)) {
|
|
8343
|
+
query["EndTime"] = request.endTime;
|
|
8344
|
+
}
|
|
8345
|
+
|
|
8346
|
+
if (!Util.isUnset(request.eventName)) {
|
|
8347
|
+
query["EventName"] = request.eventName;
|
|
8348
|
+
}
|
|
8349
|
+
|
|
8350
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
8351
|
+
query["MaxResults"] = request.maxResults;
|
|
8352
|
+
}
|
|
8353
|
+
|
|
8354
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
8355
|
+
query["NextToken"] = request.nextToken;
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8358
|
+
if (!Util.isUnset(request.regionId)) {
|
|
8359
|
+
query["RegionId"] = request.regionId;
|
|
8360
|
+
}
|
|
8361
|
+
|
|
8362
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
8363
|
+
query["ResourceId"] = request.resourceId;
|
|
8364
|
+
}
|
|
8365
|
+
|
|
8366
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
8367
|
+
query["ResourceType"] = request.resourceType;
|
|
8368
|
+
}
|
|
8369
|
+
|
|
8370
|
+
if (!Util.isUnset(request.startTime)) {
|
|
8371
|
+
query["StartTime"] = request.startTime;
|
|
8372
|
+
}
|
|
8373
|
+
|
|
8374
|
+
if (!Util.isUnset(request.status)) {
|
|
8375
|
+
query["Status"] = request.status;
|
|
8376
|
+
}
|
|
8377
|
+
|
|
8378
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8379
|
+
query: OpenApiUtil.query(query),
|
|
8380
|
+
});
|
|
8381
|
+
let params = new $OpenApi.Params({
|
|
8382
|
+
action: "DescribeEvents",
|
|
8383
|
+
version: "2021-07-30",
|
|
8384
|
+
protocol: "HTTPS",
|
|
8385
|
+
pathname: "/",
|
|
8386
|
+
method: "POST",
|
|
8387
|
+
authType: "AK",
|
|
8388
|
+
style: "RPC",
|
|
8389
|
+
reqBodyType: "formData",
|
|
8390
|
+
bodyType: "json",
|
|
8391
|
+
});
|
|
8392
|
+
return $tea.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
8393
|
+
}
|
|
8394
|
+
|
|
8395
|
+
async describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse> {
|
|
8396
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8397
|
+
return await this.describeEventsWithOptions(request, runtime);
|
|
8398
|
+
}
|
|
8399
|
+
|
|
7140
8400
|
/**
|
|
7141
8401
|
* ## Usage notes
|
|
7142
8402
|
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
@@ -7364,6 +8624,47 @@ export default class Client extends OpenApi {
|
|
|
7364
8624
|
return await this.describeReplicaGroupDrillsWithOptions(request, runtime);
|
|
7365
8625
|
}
|
|
7366
8626
|
|
|
8627
|
+
async describeSolutionInstanceConfigurationWithOptions(request: DescribeSolutionInstanceConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSolutionInstanceConfigurationResponse> {
|
|
8628
|
+
Util.validateModel(request);
|
|
8629
|
+
let query = { };
|
|
8630
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
8631
|
+
query["ClientToken"] = request.clientToken;
|
|
8632
|
+
}
|
|
8633
|
+
|
|
8634
|
+
if (!Util.isUnset(request.parameters)) {
|
|
8635
|
+
query["Parameters"] = request.parameters;
|
|
8636
|
+
}
|
|
8637
|
+
|
|
8638
|
+
if (!Util.isUnset(request.regionId)) {
|
|
8639
|
+
query["RegionId"] = request.regionId;
|
|
8640
|
+
}
|
|
8641
|
+
|
|
8642
|
+
if (!Util.isUnset(request.solutionId)) {
|
|
8643
|
+
query["SolutionId"] = request.solutionId;
|
|
8644
|
+
}
|
|
8645
|
+
|
|
8646
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8647
|
+
query: OpenApiUtil.query(query),
|
|
8648
|
+
});
|
|
8649
|
+
let params = new $OpenApi.Params({
|
|
8650
|
+
action: "DescribeSolutionInstanceConfiguration",
|
|
8651
|
+
version: "2021-07-30",
|
|
8652
|
+
protocol: "HTTPS",
|
|
8653
|
+
pathname: "/",
|
|
8654
|
+
method: "POST",
|
|
8655
|
+
authType: "AK",
|
|
8656
|
+
style: "RPC",
|
|
8657
|
+
reqBodyType: "formData",
|
|
8658
|
+
bodyType: "json",
|
|
8659
|
+
});
|
|
8660
|
+
return $tea.cast<DescribeSolutionInstanceConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeSolutionInstanceConfigurationResponse({}));
|
|
8661
|
+
}
|
|
8662
|
+
|
|
8663
|
+
async describeSolutionInstanceConfiguration(request: DescribeSolutionInstanceConfigurationRequest): Promise<DescribeSolutionInstanceConfigurationResponse> {
|
|
8664
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8665
|
+
return await this.describeSolutionInstanceConfigurationWithOptions(request, runtime);
|
|
8666
|
+
}
|
|
8667
|
+
|
|
7367
8668
|
/**
|
|
7368
8669
|
* ## [](#)Usage notes
|
|
7369
8670
|
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
|
|
@@ -7478,6 +8779,39 @@ export default class Client extends OpenApi {
|
|
|
7478
8779
|
return await this.failoverDiskReplicaPairWithOptions(request, runtime);
|
|
7479
8780
|
}
|
|
7480
8781
|
|
|
8782
|
+
async getDiskWithOptions(request: GetDiskRequest, runtime: $Util.RuntimeOptions): Promise<GetDiskResponse> {
|
|
8783
|
+
Util.validateModel(request);
|
|
8784
|
+
let query = { };
|
|
8785
|
+
if (!Util.isUnset(request.diskId)) {
|
|
8786
|
+
query["DiskId"] = request.diskId;
|
|
8787
|
+
}
|
|
8788
|
+
|
|
8789
|
+
if (!Util.isUnset(request.regionId)) {
|
|
8790
|
+
query["RegionId"] = request.regionId;
|
|
8791
|
+
}
|
|
8792
|
+
|
|
8793
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8794
|
+
query: OpenApiUtil.query(query),
|
|
8795
|
+
});
|
|
8796
|
+
let params = new $OpenApi.Params({
|
|
8797
|
+
action: "GetDisk",
|
|
8798
|
+
version: "2021-07-30",
|
|
8799
|
+
protocol: "HTTPS",
|
|
8800
|
+
pathname: "/",
|
|
8801
|
+
method: "POST",
|
|
8802
|
+
authType: "AK",
|
|
8803
|
+
style: "RPC",
|
|
8804
|
+
reqBodyType: "formData",
|
|
8805
|
+
bodyType: "json",
|
|
8806
|
+
});
|
|
8807
|
+
return $tea.cast<GetDiskResponse>(await this.callApi(params, req, runtime), new GetDiskResponse({}));
|
|
8808
|
+
}
|
|
8809
|
+
|
|
8810
|
+
async getDisk(request: GetDiskRequest): Promise<GetDiskResponse> {
|
|
8811
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8812
|
+
return await this.getDiskWithOptions(request, runtime);
|
|
8813
|
+
}
|
|
8814
|
+
|
|
7481
8815
|
/**
|
|
7482
8816
|
* Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
7483
8817
|
* * `ResourceId.N`
|
|
@@ -7744,6 +9078,45 @@ export default class Client extends OpenApi {
|
|
|
7744
9078
|
return await this.modifyDiskReplicaPairWithOptions(request, runtime);
|
|
7745
9079
|
}
|
|
7746
9080
|
|
|
9081
|
+
async queryDedicatedBlockStorageClusterDiskThroughputStatusWithOptions(request: QueryDedicatedBlockStorageClusterDiskThroughputStatusRequest, runtime: $Util.RuntimeOptions): Promise<QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse> {
|
|
9082
|
+
Util.validateModel(request);
|
|
9083
|
+
let query = { };
|
|
9084
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
9085
|
+
query["ClientToken"] = request.clientToken;
|
|
9086
|
+
}
|
|
9087
|
+
|
|
9088
|
+
let body : {[key: string ]: any} = { };
|
|
9089
|
+
if (!Util.isUnset(request.qosRequestId)) {
|
|
9090
|
+
body["QosRequestId"] = request.qosRequestId;
|
|
9091
|
+
}
|
|
9092
|
+
|
|
9093
|
+
if (!Util.isUnset(request.regionId)) {
|
|
9094
|
+
body["RegionId"] = request.regionId;
|
|
9095
|
+
}
|
|
9096
|
+
|
|
9097
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9098
|
+
query: OpenApiUtil.query(query),
|
|
9099
|
+
body: OpenApiUtil.parseToMap(body),
|
|
9100
|
+
});
|
|
9101
|
+
let params = new $OpenApi.Params({
|
|
9102
|
+
action: "QueryDedicatedBlockStorageClusterDiskThroughputStatus",
|
|
9103
|
+
version: "2021-07-30",
|
|
9104
|
+
protocol: "HTTPS",
|
|
9105
|
+
pathname: "/",
|
|
9106
|
+
method: "POST",
|
|
9107
|
+
authType: "AK",
|
|
9108
|
+
style: "RPC",
|
|
9109
|
+
reqBodyType: "formData",
|
|
9110
|
+
bodyType: "json",
|
|
9111
|
+
});
|
|
9112
|
+
return $tea.cast<QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse>(await this.callApi(params, req, runtime), new QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse({}));
|
|
9113
|
+
}
|
|
9114
|
+
|
|
9115
|
+
async queryDedicatedBlockStorageClusterDiskThroughputStatus(request: QueryDedicatedBlockStorageClusterDiskThroughputStatusRequest): Promise<QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse> {
|
|
9116
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9117
|
+
return await this.queryDedicatedBlockStorageClusterDiskThroughputStatusWithOptions(request, runtime);
|
|
9118
|
+
}
|
|
9119
|
+
|
|
7747
9120
|
/**
|
|
7748
9121
|
* Period is the time interval between data retrieval points. When set to 60 (minute interval), a maximum of 1440 data points can be returned; when set to 3600 (hour interval), a maximum of 744 data points can be returned; and when set to 86400 (day interval), a maximum of 366 data points can be returned.
|
|
7749
9122
|
*
|
|
@@ -7994,6 +9367,49 @@ export default class Client extends OpenApi {
|
|
|
7994
9367
|
return await this.reprotectDiskReplicaPairWithOptions(request, runtime);
|
|
7995
9368
|
}
|
|
7996
9369
|
|
|
9370
|
+
async setDedicatedBlockStorageClusterDiskThroughputWithOptions(request: SetDedicatedBlockStorageClusterDiskThroughputRequest, runtime: $Util.RuntimeOptions): Promise<SetDedicatedBlockStorageClusterDiskThroughputResponse> {
|
|
9371
|
+
Util.validateModel(request);
|
|
9372
|
+
let query = { };
|
|
9373
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
9374
|
+
query["ClientToken"] = request.clientToken;
|
|
9375
|
+
}
|
|
9376
|
+
|
|
9377
|
+
let body : {[key: string ]: any} = { };
|
|
9378
|
+
if (!Util.isUnset(request.bps)) {
|
|
9379
|
+
body["Bps"] = request.bps;
|
|
9380
|
+
}
|
|
9381
|
+
|
|
9382
|
+
if (!Util.isUnset(request.diskId)) {
|
|
9383
|
+
body["DiskId"] = request.diskId;
|
|
9384
|
+
}
|
|
9385
|
+
|
|
9386
|
+
if (!Util.isUnset(request.regionId)) {
|
|
9387
|
+
body["RegionId"] = request.regionId;
|
|
9388
|
+
}
|
|
9389
|
+
|
|
9390
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9391
|
+
query: OpenApiUtil.query(query),
|
|
9392
|
+
body: OpenApiUtil.parseToMap(body),
|
|
9393
|
+
});
|
|
9394
|
+
let params = new $OpenApi.Params({
|
|
9395
|
+
action: "SetDedicatedBlockStorageClusterDiskThroughput",
|
|
9396
|
+
version: "2021-07-30",
|
|
9397
|
+
protocol: "HTTPS",
|
|
9398
|
+
pathname: "/",
|
|
9399
|
+
method: "POST",
|
|
9400
|
+
authType: "AK",
|
|
9401
|
+
style: "RPC",
|
|
9402
|
+
reqBodyType: "formData",
|
|
9403
|
+
bodyType: "json",
|
|
9404
|
+
});
|
|
9405
|
+
return $tea.cast<SetDedicatedBlockStorageClusterDiskThroughputResponse>(await this.callApi(params, req, runtime), new SetDedicatedBlockStorageClusterDiskThroughputResponse({}));
|
|
9406
|
+
}
|
|
9407
|
+
|
|
9408
|
+
async setDedicatedBlockStorageClusterDiskThroughput(request: SetDedicatedBlockStorageClusterDiskThroughputRequest): Promise<SetDedicatedBlockStorageClusterDiskThroughputResponse> {
|
|
9409
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9410
|
+
return await this.setDedicatedBlockStorageClusterDiskThroughputWithOptions(request, runtime);
|
|
9411
|
+
}
|
|
9412
|
+
|
|
7997
9413
|
/**
|
|
7998
9414
|
* ## [](#)Usage notes
|
|
7999
9415
|
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
|