@alicloud/paistudio20220112 1.2.15 → 1.3.1

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.
Files changed (69) hide show
  1. package/dist/client.d.ts +56 -2
  2. package/dist/client.js +195 -3
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/EcsSpec.d.ts +32 -0
  5. package/dist/models/EcsSpec.js +94 -0
  6. package/dist/models/EcsSpec.js.map +1 -0
  7. package/dist/models/ListNodesRequest.d.ts +31 -0
  8. package/dist/models/ListNodesRequest.js +55 -1
  9. package/dist/models/ListNodesRequest.js.map +1 -1
  10. package/dist/models/ListNodesShrinkRequest.d.ts +104 -0
  11. package/dist/models/ListNodesShrinkRequest.js +110 -0
  12. package/dist/models/ListNodesShrinkRequest.js.map +1 -0
  13. package/dist/models/ListTagResourcesRequest.d.ts +58 -0
  14. package/dist/models/ListTagResourcesRequest.js +93 -0
  15. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  16. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  17. package/dist/models/ListTagResourcesResponse.js +69 -0
  18. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  19. package/dist/models/ListTagResourcesResponseBody.d.ts +56 -0
  20. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  21. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  22. package/dist/models/ListTagResourcesShrinkRequest.d.ts +36 -0
  23. package/dist/models/ListTagResourcesShrinkRequest.js +66 -0
  24. package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
  25. package/dist/models/Node.d.ts +1 -0
  26. package/dist/models/Node.js +5 -0
  27. package/dist/models/Node.js.map +1 -1
  28. package/dist/models/TagResourcesRequest.d.ts +47 -0
  29. package/dist/models/TagResourcesRequest.js +91 -0
  30. package/dist/models/TagResourcesRequest.js.map +1 -0
  31. package/dist/models/TagResourcesResponse.d.ts +19 -0
  32. package/dist/models/TagResourcesResponse.js +69 -0
  33. package/dist/models/TagResourcesResponse.js.map +1 -0
  34. package/dist/models/TagResourcesResponseBody.d.ts +18 -0
  35. package/dist/models/TagResourcesResponseBody.js +58 -0
  36. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  37. package/dist/models/UntagResourcesRequest.d.ts +40 -0
  38. package/dist/models/UntagResourcesRequest.js +72 -0
  39. package/dist/models/UntagResourcesRequest.js.map +1 -0
  40. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  41. package/dist/models/UntagResourcesResponse.js +69 -0
  42. package/dist/models/UntagResourcesResponse.js.map +1 -0
  43. package/dist/models/UntagResourcesResponseBody.d.ts +18 -0
  44. package/dist/models/UntagResourcesResponseBody.js +58 -0
  45. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  46. package/dist/models/UntagResourcesShrinkRequest.d.ts +40 -0
  47. package/dist/models/UntagResourcesShrinkRequest.js +66 -0
  48. package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
  49. package/dist/models/model.d.ts +18 -0
  50. package/dist/models/model.js +45 -8
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +224 -3
  54. package/src/models/EcsSpec.ts +81 -0
  55. package/src/models/ListNodesRequest.ts +67 -0
  56. package/src/models/ListNodesShrinkRequest.ts +169 -0
  57. package/src/models/ListTagResourcesRequest.ts +97 -0
  58. package/src/models/ListTagResourcesResponse.ts +40 -0
  59. package/src/models/ListTagResourcesResponseBody.ts +92 -0
  60. package/src/models/ListTagResourcesShrinkRequest.ts +57 -0
  61. package/src/models/Node.ts +6 -0
  62. package/src/models/TagResourcesRequest.ts +84 -0
  63. package/src/models/TagResourcesResponse.ts +40 -0
  64. package/src/models/TagResourcesResponseBody.ts +31 -0
  65. package/src/models/UntagResourcesRequest.ts +67 -0
  66. package/src/models/UntagResourcesResponse.ts +40 -0
  67. package/src/models/UntagResourcesResponseBody.ts +31 -0
  68. package/src/models/UntagResourcesShrinkRequest.ts +61 -0
  69. package/src/models/model.ts +18 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/paistudio20220112",
3
- "version": "1.2.15",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1675,13 +1675,23 @@ export default class Client extends OpenApi {
1675
1675
  /**
1676
1676
  * 获取资源节点列表
1677
1677
  *
1678
- * @param request - ListNodesRequest
1678
+ * @param tmpReq - ListNodesRequest
1679
1679
  * @param headers - map
1680
1680
  * @param runtime - runtime options for this request RuntimeOptions
1681
1681
  * @returns ListNodesResponse
1682
1682
  */
1683
- async listNodesWithOptions(request: $_model.ListNodesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListNodesResponse> {
1684
- request.validate();
1683
+ async listNodesWithOptions(tmpReq: $_model.ListNodesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListNodesResponse> {
1684
+ tmpReq.validate();
1685
+ let request = new $_model.ListNodesShrinkRequest({ });
1686
+ OpenApiUtil.convert(tmpReq, request);
1687
+ if (!$dara.isNull(tmpReq.healthCount)) {
1688
+ request.healthCountShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.healthCount, "HealthCount", "json");
1689
+ }
1690
+
1691
+ if (!$dara.isNull(tmpReq.healthRate)) {
1692
+ request.healthRateShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.healthRate, "HealthRate", "json");
1693
+ }
1694
+
1685
1695
  let query : {[key: string ]: any} = { };
1686
1696
  if (!$dara.isNull(request.acceleratorType)) {
1687
1697
  query["AcceleratorType"] = request.acceleratorType;
@@ -1707,6 +1717,14 @@ export default class Client extends OpenApi {
1707
1717
  query["GPUType"] = request.GPUType;
1708
1718
  }
1709
1719
 
1720
+ if (!$dara.isNull(request.healthCountShrink)) {
1721
+ query["HealthCount"] = request.healthCountShrink;
1722
+ }
1723
+
1724
+ if (!$dara.isNull(request.healthRateShrink)) {
1725
+ query["HealthRate"] = request.healthRateShrink;
1726
+ }
1727
+
1710
1728
  if (!$dara.isNull(request.hyperNode)) {
1711
1729
  query["HyperNode"] = request.hyperNode;
1712
1730
  }
@@ -1715,6 +1733,10 @@ export default class Client extends OpenApi {
1715
1733
  query["HyperZone"] = request.hyperZone;
1716
1734
  }
1717
1735
 
1736
+ if (!$dara.isNull(request.layoutMode)) {
1737
+ query["LayoutMode"] = request.layoutMode;
1738
+ }
1739
+
1718
1740
  if (!$dara.isNull(request.machineGroupIds)) {
1719
1741
  query["MachineGroupIds"] = request.machineGroupIds;
1720
1742
  }
@@ -2217,6 +2239,77 @@ export default class Client extends OpenApi {
2217
2239
  return await this.listResourceGroupsWithOptions(request, headers, runtime);
2218
2240
  }
2219
2241
 
2242
+ /**
2243
+ * 查标签接口
2244
+ *
2245
+ * @param tmpReq - ListTagResourcesRequest
2246
+ * @param headers - map
2247
+ * @param runtime - runtime options for this request RuntimeOptions
2248
+ * @returns ListTagResourcesResponse
2249
+ */
2250
+ async listTagResourcesWithOptions(tmpReq: $_model.ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagResourcesResponse> {
2251
+ tmpReq.validate();
2252
+ let request = new $_model.ListTagResourcesShrinkRequest({ });
2253
+ OpenApiUtil.convert(tmpReq, request);
2254
+ if (!$dara.isNull(tmpReq.resourceId)) {
2255
+ request.resourceIdShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceId, "ResourceId", "json");
2256
+ }
2257
+
2258
+ if (!$dara.isNull(tmpReq.tag)) {
2259
+ request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
2260
+ }
2261
+
2262
+ let query : {[key: string ]: any} = { };
2263
+ if (!$dara.isNull(request.nextToken)) {
2264
+ query["NextToken"] = request.nextToken;
2265
+ }
2266
+
2267
+ if (!$dara.isNull(request.regionId)) {
2268
+ query["RegionId"] = request.regionId;
2269
+ }
2270
+
2271
+ if (!$dara.isNull(request.resourceIdShrink)) {
2272
+ query["ResourceId"] = request.resourceIdShrink;
2273
+ }
2274
+
2275
+ if (!$dara.isNull(request.resourceType)) {
2276
+ query["ResourceType"] = request.resourceType;
2277
+ }
2278
+
2279
+ if (!$dara.isNull(request.tagShrink)) {
2280
+ query["Tag"] = request.tagShrink;
2281
+ }
2282
+
2283
+ let req = new $OpenApiUtil.OpenApiRequest({
2284
+ headers: headers,
2285
+ query: OpenApiUtil.query(query),
2286
+ });
2287
+ let params = new $OpenApiUtil.Params({
2288
+ action: "ListTagResources",
2289
+ version: "2022-01-12",
2290
+ protocol: "HTTPS",
2291
+ pathname: `/api/v1/tags`,
2292
+ method: "GET",
2293
+ authType: "AK",
2294
+ style: "ROA",
2295
+ reqBodyType: "json",
2296
+ bodyType: "json",
2297
+ });
2298
+ return $dara.cast<$_model.ListTagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
2299
+ }
2300
+
2301
+ /**
2302
+ * 查标签接口
2303
+ *
2304
+ * @param request - ListTagResourcesRequest
2305
+ * @returns ListTagResourcesResponse
2306
+ */
2307
+ async listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse> {
2308
+ let runtime = new $dara.RuntimeOptions({ });
2309
+ let headers : {[key: string ]: string} = { };
2310
+ return await this.listTagResourcesWithOptions(request, headers, runtime);
2311
+ }
2312
+
2220
2313
  /**
2221
2314
  * 获取指定TrainingJob的事件。
2222
2315
  *
@@ -2744,6 +2837,134 @@ export default class Client extends OpenApi {
2744
2837
  return await this.stopTrainingJobWithOptions(TrainingJobId, headers, runtime);
2745
2838
  }
2746
2839
 
2840
+ /**
2841
+ * 打标签接口
2842
+ *
2843
+ * @param request - TagResourcesRequest
2844
+ * @param headers - map
2845
+ * @param runtime - runtime options for this request RuntimeOptions
2846
+ * @returns TagResourcesResponse
2847
+ */
2848
+ async tagResourcesWithOptions(request: $_model.TagResourcesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse> {
2849
+ request.validate();
2850
+ let body : {[key: string ]: any} = { };
2851
+ if (!$dara.isNull(request.regionId)) {
2852
+ body["RegionId"] = request.regionId;
2853
+ }
2854
+
2855
+ if (!$dara.isNull(request.resourceId)) {
2856
+ body["ResourceId"] = request.resourceId;
2857
+ }
2858
+
2859
+ if (!$dara.isNull(request.resourceType)) {
2860
+ body["ResourceType"] = request.resourceType;
2861
+ }
2862
+
2863
+ if (!$dara.isNull(request.tag)) {
2864
+ body["Tag"] = request.tag;
2865
+ }
2866
+
2867
+ let req = new $OpenApiUtil.OpenApiRequest({
2868
+ headers: headers,
2869
+ body: OpenApiUtil.parseToMap(body),
2870
+ });
2871
+ let params = new $OpenApiUtil.Params({
2872
+ action: "TagResources",
2873
+ version: "2022-01-12",
2874
+ protocol: "HTTPS",
2875
+ pathname: `/api/v1/tags`,
2876
+ method: "POST",
2877
+ authType: "AK",
2878
+ style: "ROA",
2879
+ reqBodyType: "json",
2880
+ bodyType: "json",
2881
+ });
2882
+ return $dara.cast<$_model.TagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
2883
+ }
2884
+
2885
+ /**
2886
+ * 打标签接口
2887
+ *
2888
+ * @param request - TagResourcesRequest
2889
+ * @returns TagResourcesResponse
2890
+ */
2891
+ async tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse> {
2892
+ let runtime = new $dara.RuntimeOptions({ });
2893
+ let headers : {[key: string ]: string} = { };
2894
+ return await this.tagResourcesWithOptions(request, headers, runtime);
2895
+ }
2896
+
2897
+ /**
2898
+ * 删标签接口
2899
+ *
2900
+ * @param tmpReq - UntagResourcesRequest
2901
+ * @param headers - map
2902
+ * @param runtime - runtime options for this request RuntimeOptions
2903
+ * @returns UntagResourcesResponse
2904
+ */
2905
+ async untagResourcesWithOptions(tmpReq: $_model.UntagResourcesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse> {
2906
+ tmpReq.validate();
2907
+ let request = new $_model.UntagResourcesShrinkRequest({ });
2908
+ OpenApiUtil.convert(tmpReq, request);
2909
+ if (!$dara.isNull(tmpReq.resourceId)) {
2910
+ request.resourceIdShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceId, "ResourceId", "json");
2911
+ }
2912
+
2913
+ if (!$dara.isNull(tmpReq.tagKey)) {
2914
+ request.tagKeyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tagKey, "TagKey", "json");
2915
+ }
2916
+
2917
+ let query : {[key: string ]: any} = { };
2918
+ if (!$dara.isNull(request.all)) {
2919
+ query["All"] = request.all;
2920
+ }
2921
+
2922
+ if (!$dara.isNull(request.regionId)) {
2923
+ query["RegionId"] = request.regionId;
2924
+ }
2925
+
2926
+ if (!$dara.isNull(request.resourceIdShrink)) {
2927
+ query["ResourceId"] = request.resourceIdShrink;
2928
+ }
2929
+
2930
+ if (!$dara.isNull(request.resourceType)) {
2931
+ query["ResourceType"] = request.resourceType;
2932
+ }
2933
+
2934
+ if (!$dara.isNull(request.tagKeyShrink)) {
2935
+ query["TagKey"] = request.tagKeyShrink;
2936
+ }
2937
+
2938
+ let req = new $OpenApiUtil.OpenApiRequest({
2939
+ headers: headers,
2940
+ query: OpenApiUtil.query(query),
2941
+ });
2942
+ let params = new $OpenApiUtil.Params({
2943
+ action: "UntagResources",
2944
+ version: "2022-01-12",
2945
+ protocol: "HTTPS",
2946
+ pathname: `/api/v1/tags`,
2947
+ method: "DELETE",
2948
+ authType: "AK",
2949
+ style: "ROA",
2950
+ reqBodyType: "json",
2951
+ bodyType: "json",
2952
+ });
2953
+ return $dara.cast<$_model.UntagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
2954
+ }
2955
+
2956
+ /**
2957
+ * 删标签接口
2958
+ *
2959
+ * @param request - UntagResourcesRequest
2960
+ * @returns UntagResourcesResponse
2961
+ */
2962
+ async untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse> {
2963
+ let runtime = new $dara.RuntimeOptions({ });
2964
+ let headers : {[key: string ]: string} = { };
2965
+ return await this.untagResourcesWithOptions(request, headers, runtime);
2966
+ }
2967
+
2747
2968
  /**
2748
2969
  * 更新算法
2749
2970
  *
@@ -0,0 +1,81 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class EcsSpec extends $dara.Model {
6
+ acceleratorType?: string;
7
+ cpu?: number;
8
+ ecsImageId?: string;
9
+ eriQuantity?: number;
10
+ gpu?: number;
11
+ gpuGUSpec?: string;
12
+ gpuMemory?: number;
13
+ gpuType?: string;
14
+ gpuTypeAlias?: string;
15
+ instanceType?: string;
16
+ machineModel?: string;
17
+ memory?: number;
18
+ networkMode?: string;
19
+ plannedCpu?: number;
20
+ plannedMemory?: number;
21
+ resourceType?: string;
22
+ supportGPUShare?: boolean;
23
+ supportRDMA?: boolean;
24
+ supportSetNetworkCardIndex?: boolean;
25
+ static names(): { [key: string]: string } {
26
+ return {
27
+ acceleratorType: 'AcceleratorType',
28
+ cpu: 'Cpu',
29
+ ecsImageId: 'EcsImageId',
30
+ eriQuantity: 'EriQuantity',
31
+ gpu: 'Gpu',
32
+ gpuGUSpec: 'GpuGUSpec',
33
+ gpuMemory: 'GpuMemory',
34
+ gpuType: 'GpuType',
35
+ gpuTypeAlias: 'GpuTypeAlias',
36
+ instanceType: 'InstanceType',
37
+ machineModel: 'MachineModel',
38
+ memory: 'Memory',
39
+ networkMode: 'NetworkMode',
40
+ plannedCpu: 'PlannedCpu',
41
+ plannedMemory: 'PlannedMemory',
42
+ resourceType: 'ResourceType',
43
+ supportGPUShare: 'SupportGPUShare',
44
+ supportRDMA: 'SupportRDMA',
45
+ supportSetNetworkCardIndex: 'SupportSetNetworkCardIndex',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ acceleratorType: 'string',
52
+ cpu: 'number',
53
+ ecsImageId: 'string',
54
+ eriQuantity: 'number',
55
+ gpu: 'number',
56
+ gpuGUSpec: 'string',
57
+ gpuMemory: 'number',
58
+ gpuType: 'string',
59
+ gpuTypeAlias: 'string',
60
+ instanceType: 'string',
61
+ machineModel: 'string',
62
+ memory: 'number',
63
+ networkMode: 'string',
64
+ plannedCpu: 'number',
65
+ plannedMemory: 'number',
66
+ resourceType: 'string',
67
+ supportGPUShare: 'boolean',
68
+ supportRDMA: 'boolean',
69
+ supportSetNetworkCardIndex: 'boolean',
70
+ };
71
+ }
72
+
73
+ validate() {
74
+ super.validate();
75
+ }
76
+
77
+ constructor(map?: { [key: string]: any }) {
78
+ super(map);
79
+ }
80
+ }
81
+
@@ -2,6 +2,58 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class ListNodesRequestHealthCount extends $dara.Model {
6
+ operation?: string;
7
+ value?: number;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ operation: 'operation',
11
+ value: 'value',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ operation: 'string',
18
+ value: 'number',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class ListNodesRequestHealthRate extends $dara.Model {
32
+ operation?: string;
33
+ value?: number;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ operation: 'operation',
37
+ value: 'value',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ operation: 'string',
44
+ value: 'number',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
5
57
  export class ListNodesRequest extends $dara.Model {
6
58
  /**
7
59
  * @example
@@ -25,8 +77,11 @@ export class ListNodesRequest extends $dara.Model {
25
77
  * T4
26
78
  */
27
79
  GPUType?: string;
80
+ healthCount?: ListNodesRequestHealthCount;
81
+ healthRate?: ListNodesRequestHealthRate;
28
82
  hyperNode?: string;
29
83
  hyperZone?: string;
84
+ layoutMode?: string;
30
85
  machineGroupIds?: string;
31
86
  /**
32
87
  * @example
@@ -99,8 +154,11 @@ export class ListNodesRequest extends $dara.Model {
99
154
  filterByQuotaId: 'FilterByQuotaId',
100
155
  filterByResourceGroupIds: 'FilterByResourceGroupIds',
101
156
  GPUType: 'GPUType',
157
+ healthCount: 'HealthCount',
158
+ healthRate: 'HealthRate',
102
159
  hyperNode: 'HyperNode',
103
160
  hyperZone: 'HyperZone',
161
+ layoutMode: 'LayoutMode',
104
162
  machineGroupIds: 'MachineGroupIds',
105
163
  nodeNames: 'NodeNames',
106
164
  nodeStatuses: 'NodeStatuses',
@@ -128,8 +186,11 @@ export class ListNodesRequest extends $dara.Model {
128
186
  filterByQuotaId: 'string',
129
187
  filterByResourceGroupIds: 'string',
130
188
  GPUType: 'string',
189
+ healthCount: ListNodesRequestHealthCount,
190
+ healthRate: ListNodesRequestHealthRate,
131
191
  hyperNode: 'string',
132
192
  hyperZone: 'string',
193
+ layoutMode: 'string',
133
194
  machineGroupIds: 'string',
134
195
  nodeNames: 'string',
135
196
  nodeStatuses: 'string',
@@ -150,6 +211,12 @@ export class ListNodesRequest extends $dara.Model {
150
211
  }
151
212
 
152
213
  validate() {
214
+ if(this.healthCount && typeof (this.healthCount as any).validate === 'function') {
215
+ (this.healthCount as any).validate();
216
+ }
217
+ if(this.healthRate && typeof (this.healthRate as any).validate === 'function') {
218
+ (this.healthRate as any).validate();
219
+ }
153
220
  super.validate();
154
221
  }
155
222
 
@@ -0,0 +1,169 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListNodesShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * CPU
9
+ */
10
+ acceleratorType?: string;
11
+ availabilityZone?: string;
12
+ cliqueID?: string;
13
+ /**
14
+ * @example
15
+ * quotamtl37ge7gkvdz
16
+ */
17
+ filterByQuotaId?: string;
18
+ /**
19
+ * @example
20
+ * rg69rj0leslwdnbe
21
+ */
22
+ filterByResourceGroupIds?: string;
23
+ /**
24
+ * @example
25
+ * T4
26
+ */
27
+ GPUType?: string;
28
+ healthCountShrink?: string;
29
+ healthRateShrink?: string;
30
+ hyperNode?: string;
31
+ hyperZone?: string;
32
+ layoutMode?: string;
33
+ machineGroupIds?: string;
34
+ /**
35
+ * @example
36
+ * lingjxxxx
37
+ */
38
+ nodeNames?: string;
39
+ /**
40
+ * @example
41
+ * Ready
42
+ */
43
+ nodeStatuses?: string;
44
+ /**
45
+ * @example
46
+ * ecs.c6.xlarge
47
+ */
48
+ nodeTypes?: string;
49
+ /**
50
+ * @example
51
+ * desc
52
+ */
53
+ order?: string;
54
+ /**
55
+ * @example
56
+ * 260590501560397
57
+ */
58
+ orderInstanceIds?: string;
59
+ /**
60
+ * @example
61
+ * Ready
62
+ */
63
+ orderStatuses?: string;
64
+ /**
65
+ * @example
66
+ * 2
67
+ */
68
+ pageNumber?: number;
69
+ /**
70
+ * @example
71
+ * 10
72
+ */
73
+ pageSize?: number;
74
+ paymentType?: string;
75
+ /**
76
+ * @example
77
+ * quotamtl37ge7gkvdz
78
+ */
79
+ quotaId?: string;
80
+ reasonCodes?: string;
81
+ /**
82
+ * @example
83
+ * rg69rj0leslwdnbe
84
+ */
85
+ resourceGroupIds?: string;
86
+ /**
87
+ * @example
88
+ * GmtCreateTime
89
+ */
90
+ sortBy?: string;
91
+ /**
92
+ * @example
93
+ * false
94
+ */
95
+ verbose?: boolean;
96
+ workspaceId?: string;
97
+ static names(): { [key: string]: string } {
98
+ return {
99
+ acceleratorType: 'AcceleratorType',
100
+ availabilityZone: 'AvailabilityZone',
101
+ cliqueID: 'CliqueID',
102
+ filterByQuotaId: 'FilterByQuotaId',
103
+ filterByResourceGroupIds: 'FilterByResourceGroupIds',
104
+ GPUType: 'GPUType',
105
+ healthCountShrink: 'HealthCount',
106
+ healthRateShrink: 'HealthRate',
107
+ hyperNode: 'HyperNode',
108
+ hyperZone: 'HyperZone',
109
+ layoutMode: 'LayoutMode',
110
+ machineGroupIds: 'MachineGroupIds',
111
+ nodeNames: 'NodeNames',
112
+ nodeStatuses: 'NodeStatuses',
113
+ nodeTypes: 'NodeTypes',
114
+ order: 'Order',
115
+ orderInstanceIds: 'OrderInstanceIds',
116
+ orderStatuses: 'OrderStatuses',
117
+ pageNumber: 'PageNumber',
118
+ pageSize: 'PageSize',
119
+ paymentType: 'PaymentType',
120
+ quotaId: 'QuotaId',
121
+ reasonCodes: 'ReasonCodes',
122
+ resourceGroupIds: 'ResourceGroupIds',
123
+ sortBy: 'SortBy',
124
+ verbose: 'Verbose',
125
+ workspaceId: 'WorkspaceId',
126
+ };
127
+ }
128
+
129
+ static types(): { [key: string]: any } {
130
+ return {
131
+ acceleratorType: 'string',
132
+ availabilityZone: 'string',
133
+ cliqueID: 'string',
134
+ filterByQuotaId: 'string',
135
+ filterByResourceGroupIds: 'string',
136
+ GPUType: 'string',
137
+ healthCountShrink: 'string',
138
+ healthRateShrink: 'string',
139
+ hyperNode: 'string',
140
+ hyperZone: 'string',
141
+ layoutMode: 'string',
142
+ machineGroupIds: 'string',
143
+ nodeNames: 'string',
144
+ nodeStatuses: 'string',
145
+ nodeTypes: 'string',
146
+ order: 'string',
147
+ orderInstanceIds: 'string',
148
+ orderStatuses: 'string',
149
+ pageNumber: 'number',
150
+ pageSize: 'number',
151
+ paymentType: 'string',
152
+ quotaId: 'string',
153
+ reasonCodes: 'string',
154
+ resourceGroupIds: 'string',
155
+ sortBy: 'string',
156
+ verbose: 'boolean',
157
+ workspaceId: 'string',
158
+ };
159
+ }
160
+
161
+ validate() {
162
+ super.validate();
163
+ }
164
+
165
+ constructor(map?: { [key: string]: any }) {
166
+ super(map);
167
+ }
168
+ }
169
+