@alicloud/eas20210701 6.4.1 → 6.6.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 +963 -114
- package/dist/client.js +646 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1449 -157
package/dist/client.d.ts
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
import OpenApi from '@alicloud/openapi-core';
|
|
4
4
|
import { $OpenApiUtil } from '@alicloud/openapi-core';
|
|
5
5
|
import * as $dara from '@darabonba/typescript';
|
|
6
|
+
export declare class ResourceInstanceLabels extends $dara.Model {
|
|
7
|
+
labelKey?: string;
|
|
8
|
+
labelValue?: string;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
6
20
|
export declare class ServiceLabels extends $dara.Model {
|
|
7
21
|
labelKey?: string;
|
|
8
22
|
labelValue?: string;
|
|
@@ -186,19 +200,19 @@ export declare class CreateResourceRequestSelfManagedResourceOptions extends $da
|
|
|
186
200
|
externalClusterId?: string;
|
|
187
201
|
/**
|
|
188
202
|
* @remarks
|
|
189
|
-
* The tag key-value pairs
|
|
203
|
+
* The tag key-value pairs of the node.
|
|
190
204
|
*/
|
|
191
205
|
nodeMatchLabels?: {
|
|
192
206
|
[key: string]: string;
|
|
193
207
|
};
|
|
194
208
|
/**
|
|
195
209
|
* @remarks
|
|
196
|
-
*
|
|
210
|
+
* The tolerations for the node taint.
|
|
197
211
|
*/
|
|
198
212
|
nodeTolerations?: CreateResourceRequestSelfManagedResourceOptionsNodeTolerations[];
|
|
199
213
|
/**
|
|
200
214
|
* @remarks
|
|
201
|
-
* The name of the RAM user to which the permissions on Elastic Algorithm Service of Platform for AI (PAI
|
|
215
|
+
* The name of the RAM user to which the permissions on Elastic Algorithm Service (EAS) of Platform for AI (PAI) are granted.
|
|
202
216
|
*
|
|
203
217
|
* @example
|
|
204
218
|
* clusterrole
|
|
@@ -339,7 +353,7 @@ export declare class CreateServiceAutoScalerRequestScaleStrategies extends $dara
|
|
|
339
353
|
*
|
|
340
354
|
* * If you set metricName to qps, scale-out is triggered when the average qps for a single instance is greater than this threshold.
|
|
341
355
|
* * If you set metricName to cpu, scale-out is triggered when the average cpu utilization for a single instance is greater than this threshold.
|
|
342
|
-
* * If you set metricName to gpu, scale-out is triggered when the average
|
|
356
|
+
* * If you set metricName to gpu, scale-out is triggered when the average gpu utilization for a single instance is greater than this threshold.
|
|
343
357
|
*
|
|
344
358
|
* This parameter is required.
|
|
345
359
|
*
|
|
@@ -411,7 +425,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
411
425
|
instanceType?: string;
|
|
412
426
|
/**
|
|
413
427
|
* @remarks
|
|
414
|
-
* The priority of resource scheduling. A greater number
|
|
428
|
+
* The priority of resource scheduling. A greater number indicates a higher priority.
|
|
415
429
|
*
|
|
416
430
|
* @example
|
|
417
431
|
* 6
|
|
@@ -419,7 +433,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
419
433
|
priority?: number;
|
|
420
434
|
/**
|
|
421
435
|
* @remarks
|
|
422
|
-
* Lingjun
|
|
436
|
+
* The ID of the Lingjun resource quota.
|
|
423
437
|
*
|
|
424
438
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
425
439
|
*
|
|
@@ -429,7 +443,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
429
443
|
quotaId?: string;
|
|
430
444
|
/**
|
|
431
445
|
* @remarks
|
|
432
|
-
* The region
|
|
446
|
+
* The region in which the resource resides.
|
|
433
447
|
*
|
|
434
448
|
* @example
|
|
435
449
|
* cn-hangzhou
|
|
@@ -437,7 +451,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
437
451
|
region?: string;
|
|
438
452
|
/**
|
|
439
453
|
* @remarks
|
|
440
|
-
* The ID of the dedicated resource group. For information about how to
|
|
454
|
+
* The ID of the dedicated resource group. For information about how to obtain the ID of a dedicated resource group, see [ListResources](https://help.aliyun.com/document_detail/412133.html).
|
|
441
455
|
*
|
|
442
456
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
443
457
|
*
|
|
@@ -449,7 +463,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
449
463
|
* @remarks
|
|
450
464
|
* The maximum price of preemptible instances in a public resource group.
|
|
451
465
|
*
|
|
452
|
-
* > If you
|
|
466
|
+
* > If you leave this parameter empty, preemptible instances are not used.
|
|
453
467
|
*
|
|
454
468
|
* @example
|
|
455
469
|
* 10.05
|
|
@@ -589,6 +603,91 @@ export declare class DescribeGroupEndpointsResponseBodyEndpoints extends $dara.M
|
|
|
589
603
|
[key: string]: any;
|
|
590
604
|
});
|
|
591
605
|
}
|
|
606
|
+
export declare class DescribeMachineSpecResponseBodyInstanceMetas extends $dara.Model {
|
|
607
|
+
/**
|
|
608
|
+
* @example
|
|
609
|
+
* 32
|
|
610
|
+
*/
|
|
611
|
+
CPU?: number;
|
|
612
|
+
/**
|
|
613
|
+
* @example
|
|
614
|
+
* GU30
|
|
615
|
+
*/
|
|
616
|
+
GPU?: string;
|
|
617
|
+
/**
|
|
618
|
+
* @example
|
|
619
|
+
* 1
|
|
620
|
+
*/
|
|
621
|
+
GPUAmount?: number;
|
|
622
|
+
/**
|
|
623
|
+
* @example
|
|
624
|
+
* 24
|
|
625
|
+
*/
|
|
626
|
+
GPUMemory?: number;
|
|
627
|
+
/**
|
|
628
|
+
* @example
|
|
629
|
+
* ml.gu7i.c32m188.1-gu30
|
|
630
|
+
*/
|
|
631
|
+
instanceType?: string;
|
|
632
|
+
/**
|
|
633
|
+
* @example
|
|
634
|
+
* true
|
|
635
|
+
*/
|
|
636
|
+
isAvailable?: boolean;
|
|
637
|
+
/**
|
|
638
|
+
* @example
|
|
639
|
+
* 188
|
|
640
|
+
*/
|
|
641
|
+
memory?: number;
|
|
642
|
+
/**
|
|
643
|
+
* @example
|
|
644
|
+
* 0.1
|
|
645
|
+
*/
|
|
646
|
+
nonProtectSpotDiscount?: number;
|
|
647
|
+
/**
|
|
648
|
+
* @example
|
|
649
|
+
* 0.12
|
|
650
|
+
*/
|
|
651
|
+
spotDiscount?: number;
|
|
652
|
+
/**
|
|
653
|
+
* @example
|
|
654
|
+
* WithStock
|
|
655
|
+
*/
|
|
656
|
+
stockStatus?: string;
|
|
657
|
+
/**
|
|
658
|
+
* @example
|
|
659
|
+
* ECS
|
|
660
|
+
*/
|
|
661
|
+
vendor?: string;
|
|
662
|
+
static names(): {
|
|
663
|
+
[key: string]: string;
|
|
664
|
+
};
|
|
665
|
+
static types(): {
|
|
666
|
+
[key: string]: any;
|
|
667
|
+
};
|
|
668
|
+
validate(): void;
|
|
669
|
+
constructor(map?: {
|
|
670
|
+
[key: string]: any;
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
export declare class DescribeMachineSpecResponseBodyTypes extends $dara.Model {
|
|
674
|
+
/**
|
|
675
|
+
* @example
|
|
676
|
+
* 1
|
|
677
|
+
*/
|
|
678
|
+
CPU?: number;
|
|
679
|
+
memory?: number[];
|
|
680
|
+
static names(): {
|
|
681
|
+
[key: string]: string;
|
|
682
|
+
};
|
|
683
|
+
static types(): {
|
|
684
|
+
[key: string]: any;
|
|
685
|
+
};
|
|
686
|
+
validate(): void;
|
|
687
|
+
constructor(map?: {
|
|
688
|
+
[key: string]: any;
|
|
689
|
+
});
|
|
690
|
+
}
|
|
592
691
|
export declare class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $dara.Model {
|
|
593
692
|
/**
|
|
594
693
|
* @remarks
|
|
@@ -1721,6 +1820,13 @@ export declare class ListVirtualResourceResponseBodyVirtualResources extends $da
|
|
|
1721
1820
|
* 2024-10-16T17:52:49Z
|
|
1722
1821
|
*/
|
|
1723
1822
|
createTime?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* @remarks
|
|
1825
|
+
* The number of deployed services.
|
|
1826
|
+
*
|
|
1827
|
+
* @example
|
|
1828
|
+
* 1
|
|
1829
|
+
*/
|
|
1724
1830
|
serviceCount?: number;
|
|
1725
1831
|
/**
|
|
1726
1832
|
* @remarks
|
|
@@ -2026,7 +2132,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2026
2132
|
instanceType?: string;
|
|
2027
2133
|
/**
|
|
2028
2134
|
* @remarks
|
|
2029
|
-
* The priority of resource scheduling. A greater number
|
|
2135
|
+
* The priority of resource scheduling. A greater number indicates a higher priority.
|
|
2030
2136
|
*
|
|
2031
2137
|
* @example
|
|
2032
2138
|
* 6
|
|
@@ -2034,7 +2140,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2034
2140
|
priority?: number;
|
|
2035
2141
|
/**
|
|
2036
2142
|
* @remarks
|
|
2037
|
-
* The Lingjun resource quota
|
|
2143
|
+
* The ID of the Lingjun resource quota.
|
|
2038
2144
|
*
|
|
2039
2145
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
2040
2146
|
*
|
|
@@ -2044,7 +2150,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2044
2150
|
quotaId?: string;
|
|
2045
2151
|
/**
|
|
2046
2152
|
* @remarks
|
|
2047
|
-
* The region
|
|
2153
|
+
* The region in which the resource resides.
|
|
2048
2154
|
*
|
|
2049
2155
|
* @example
|
|
2050
2156
|
* cn-hangzhou
|
|
@@ -2052,7 +2158,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2052
2158
|
region?: string;
|
|
2053
2159
|
/**
|
|
2054
2160
|
* @remarks
|
|
2055
|
-
* The ID of the dedicated resource group. For information about how to
|
|
2161
|
+
* The ID of the dedicated resource group. For information about how to obtain the ID of a dedicated resource group, see [ListResources](https://help.aliyun.com/document_detail/412133.html).
|
|
2056
2162
|
*
|
|
2057
2163
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
2058
2164
|
*
|
|
@@ -2064,7 +2170,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2064
2170
|
* @remarks
|
|
2065
2171
|
* The maximum price of preemptible instances in a public resource group.
|
|
2066
2172
|
*
|
|
2067
|
-
* > If you
|
|
2173
|
+
* > If you leave this parameter empty, preemptible instances are not used.
|
|
2068
2174
|
*
|
|
2069
2175
|
* @example
|
|
2070
2176
|
* 10.05
|
|
@@ -2266,6 +2372,7 @@ export declare class ResourceInstance extends $dara.Model {
|
|
|
2266
2372
|
instanceUsedGpu?: number;
|
|
2267
2373
|
instanceUsedGpuMemory?: string;
|
|
2268
2374
|
instanceUsedMemory?: string;
|
|
2375
|
+
labels?: ResourceInstanceLabels[];
|
|
2269
2376
|
region?: string;
|
|
2270
2377
|
resourceId?: string;
|
|
2271
2378
|
zone?: string;
|
|
@@ -3403,6 +3510,13 @@ export declare class CreateResourceRequest extends $dara.Model {
|
|
|
3403
3510
|
* ecs.c6.8xlarge
|
|
3404
3511
|
*/
|
|
3405
3512
|
ecsInstanceType?: string;
|
|
3513
|
+
/**
|
|
3514
|
+
* @remarks
|
|
3515
|
+
* The custom tag.
|
|
3516
|
+
*/
|
|
3517
|
+
labels?: {
|
|
3518
|
+
[key: string]: string;
|
|
3519
|
+
};
|
|
3406
3520
|
/**
|
|
3407
3521
|
* @remarks
|
|
3408
3522
|
* The type of the resource group. Valid values:
|
|
@@ -3567,6 +3681,13 @@ export declare class CreateResourceInstancesRequest extends $dara.Model {
|
|
|
3567
3681
|
* ecs.s6-c1m2.xlarge
|
|
3568
3682
|
*/
|
|
3569
3683
|
ecsInstanceType?: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* @remarks
|
|
3686
|
+
* The custom service tag.
|
|
3687
|
+
*/
|
|
3688
|
+
labels?: {
|
|
3689
|
+
[key: string]: string;
|
|
3690
|
+
};
|
|
3570
3691
|
/**
|
|
3571
3692
|
* @remarks
|
|
3572
3693
|
* The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
|
|
@@ -4303,10 +4424,17 @@ export declare class CreateServiceMirrorResponse extends $dara.Model {
|
|
|
4303
4424
|
});
|
|
4304
4425
|
}
|
|
4305
4426
|
export declare class CreateVirtualResourceRequest extends $dara.Model {
|
|
4427
|
+
/**
|
|
4428
|
+
* @remarks
|
|
4429
|
+
* Specifies whether to disable the retention period of preemptible instances.
|
|
4430
|
+
*
|
|
4431
|
+
* @example
|
|
4432
|
+
* true
|
|
4433
|
+
*/
|
|
4306
4434
|
disableSpotProtectionPeriod?: boolean;
|
|
4307
4435
|
/**
|
|
4308
4436
|
* @remarks
|
|
4309
|
-
* The
|
|
4437
|
+
* The resources in the virtual resource group.
|
|
4310
4438
|
*/
|
|
4311
4439
|
resources?: CreateVirtualResourceRequestResources[];
|
|
4312
4440
|
/**
|
|
@@ -4856,6 +4984,105 @@ export declare class DeleteResourceDLinkResponse extends $dara.Model {
|
|
|
4856
4984
|
[key: string]: any;
|
|
4857
4985
|
});
|
|
4858
4986
|
}
|
|
4987
|
+
export declare class DeleteResourceInstanceLabelRequest extends $dara.Model {
|
|
4988
|
+
/**
|
|
4989
|
+
* @remarks
|
|
4990
|
+
* Specifies whether the delete operation takes effect on all instances in the resource group. If you set this parameter to true, the InstanceIds parameter does not take effect.
|
|
4991
|
+
*/
|
|
4992
|
+
allInstances?: boolean;
|
|
4993
|
+
/**
|
|
4994
|
+
* @remarks
|
|
4995
|
+
* The instance IDs.
|
|
4996
|
+
*/
|
|
4997
|
+
instanceIds?: string[];
|
|
4998
|
+
/**
|
|
4999
|
+
* @remarks
|
|
5000
|
+
* The keys of the tags that you want to delete.
|
|
5001
|
+
*/
|
|
5002
|
+
keys?: string[];
|
|
5003
|
+
static names(): {
|
|
5004
|
+
[key: string]: string;
|
|
5005
|
+
};
|
|
5006
|
+
static types(): {
|
|
5007
|
+
[key: string]: any;
|
|
5008
|
+
};
|
|
5009
|
+
validate(): void;
|
|
5010
|
+
constructor(map?: {
|
|
5011
|
+
[key: string]: any;
|
|
5012
|
+
});
|
|
5013
|
+
}
|
|
5014
|
+
export declare class DeleteResourceInstanceLabelShrinkRequest extends $dara.Model {
|
|
5015
|
+
/**
|
|
5016
|
+
* @remarks
|
|
5017
|
+
* Specifies whether the delete operation takes effect on all instances in the resource group. If you set this parameter to true, the InstanceIds parameter does not take effect.
|
|
5018
|
+
*/
|
|
5019
|
+
allInstances?: boolean;
|
|
5020
|
+
/**
|
|
5021
|
+
* @remarks
|
|
5022
|
+
* The instance IDs.
|
|
5023
|
+
*/
|
|
5024
|
+
instanceIdsShrink?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
* @remarks
|
|
5027
|
+
* The keys of the tags that you want to delete.
|
|
5028
|
+
*/
|
|
5029
|
+
keysShrink?: string;
|
|
5030
|
+
static names(): {
|
|
5031
|
+
[key: string]: string;
|
|
5032
|
+
};
|
|
5033
|
+
static types(): {
|
|
5034
|
+
[key: string]: any;
|
|
5035
|
+
};
|
|
5036
|
+
validate(): void;
|
|
5037
|
+
constructor(map?: {
|
|
5038
|
+
[key: string]: any;
|
|
5039
|
+
});
|
|
5040
|
+
}
|
|
5041
|
+
export declare class DeleteResourceInstanceLabelResponseBody extends $dara.Model {
|
|
5042
|
+
/**
|
|
5043
|
+
* @remarks
|
|
5044
|
+
* The message.
|
|
5045
|
+
*
|
|
5046
|
+
* @example
|
|
5047
|
+
* success
|
|
5048
|
+
*/
|
|
5049
|
+
message?: string;
|
|
5050
|
+
/**
|
|
5051
|
+
* @remarks
|
|
5052
|
+
* The request ID.
|
|
5053
|
+
*
|
|
5054
|
+
* @example
|
|
5055
|
+
* 40325405-579C-4D82********
|
|
5056
|
+
*/
|
|
5057
|
+
requestId?: string;
|
|
5058
|
+
static names(): {
|
|
5059
|
+
[key: string]: string;
|
|
5060
|
+
};
|
|
5061
|
+
static types(): {
|
|
5062
|
+
[key: string]: any;
|
|
5063
|
+
};
|
|
5064
|
+
validate(): void;
|
|
5065
|
+
constructor(map?: {
|
|
5066
|
+
[key: string]: any;
|
|
5067
|
+
});
|
|
5068
|
+
}
|
|
5069
|
+
export declare class DeleteResourceInstanceLabelResponse extends $dara.Model {
|
|
5070
|
+
headers?: {
|
|
5071
|
+
[key: string]: string;
|
|
5072
|
+
};
|
|
5073
|
+
statusCode?: number;
|
|
5074
|
+
body?: DeleteResourceInstanceLabelResponseBody;
|
|
5075
|
+
static names(): {
|
|
5076
|
+
[key: string]: string;
|
|
5077
|
+
};
|
|
5078
|
+
static types(): {
|
|
5079
|
+
[key: string]: any;
|
|
5080
|
+
};
|
|
5081
|
+
validate(): void;
|
|
5082
|
+
constructor(map?: {
|
|
5083
|
+
[key: string]: any;
|
|
5084
|
+
});
|
|
5085
|
+
}
|
|
4859
5086
|
export declare class DeleteResourceInstancesRequest extends $dara.Model {
|
|
4860
5087
|
/**
|
|
4861
5088
|
* @remarks
|
|
@@ -5805,6 +6032,13 @@ export declare class DescribeGatewayResponseBody extends $dara.Model {
|
|
|
5805
6032
|
* 40325405-579C-4D82****
|
|
5806
6033
|
*/
|
|
5807
6034
|
requestId?: string;
|
|
6035
|
+
/**
|
|
6036
|
+
* @remarks
|
|
6037
|
+
* Indicates whether the HTTP to HTTPS redirection is enabled.
|
|
6038
|
+
*
|
|
6039
|
+
* @example
|
|
6040
|
+
* true
|
|
6041
|
+
*/
|
|
5808
6042
|
SSLRedirectionEnabled?: boolean;
|
|
5809
6043
|
/**
|
|
5810
6044
|
* @remarks
|
|
@@ -5894,6 +6128,9 @@ export declare class DescribeGroupEndpointsResponseBody extends $dara.Model {
|
|
|
5894
6128
|
/**
|
|
5895
6129
|
* @remarks
|
|
5896
6130
|
* The response message.
|
|
6131
|
+
*
|
|
6132
|
+
* @example
|
|
6133
|
+
* Execution successful.
|
|
5897
6134
|
*/
|
|
5898
6135
|
message?: string;
|
|
5899
6136
|
/**
|
|
@@ -5932,48 +6169,130 @@ export declare class DescribeGroupEndpointsResponse extends $dara.Model {
|
|
|
5932
6169
|
[key: string]: any;
|
|
5933
6170
|
});
|
|
5934
6171
|
}
|
|
5935
|
-
export declare class
|
|
5936
|
-
/**
|
|
5937
|
-
* @remarks
|
|
5938
|
-
* The ID of the cluster to which the resource group belongs.
|
|
5939
|
-
*
|
|
5940
|
-
* @example
|
|
5941
|
-
* cn-beijing
|
|
5942
|
-
*/
|
|
5943
|
-
clusterId?: string;
|
|
6172
|
+
export declare class DescribeMachineSpecRequest extends $dara.Model {
|
|
5944
6173
|
/**
|
|
5945
|
-
* @
|
|
5946
|
-
* The total number of CPU cores.
|
|
5947
|
-
*
|
|
5948
|
-
* @example
|
|
5949
|
-
* 16
|
|
6174
|
+
* @deprecated
|
|
5950
6175
|
*/
|
|
5951
|
-
|
|
5952
|
-
|
|
6176
|
+
instanceTypes?: string[];
|
|
6177
|
+
static names(): {
|
|
6178
|
+
[key: string]: string;
|
|
6179
|
+
};
|
|
6180
|
+
static types(): {
|
|
6181
|
+
[key: string]: any;
|
|
6182
|
+
};
|
|
6183
|
+
validate(): void;
|
|
6184
|
+
constructor(map?: {
|
|
6185
|
+
[key: string]: any;
|
|
6186
|
+
});
|
|
6187
|
+
}
|
|
6188
|
+
export declare class DescribeMachineSpecShrinkRequest extends $dara.Model {
|
|
5953
6189
|
/**
|
|
5954
|
-
* @
|
|
5955
|
-
* The time when the resource group was created.
|
|
5956
|
-
*
|
|
5957
|
-
* @example
|
|
5958
|
-
* 2020-05-19T14:19:42Z
|
|
6190
|
+
* @deprecated
|
|
5959
6191
|
*/
|
|
5960
|
-
|
|
6192
|
+
instanceTypesShrink?: string;
|
|
6193
|
+
static names(): {
|
|
6194
|
+
[key: string]: string;
|
|
6195
|
+
};
|
|
6196
|
+
static types(): {
|
|
6197
|
+
[key: string]: any;
|
|
6198
|
+
};
|
|
6199
|
+
validate(): void;
|
|
6200
|
+
constructor(map?: {
|
|
6201
|
+
[key: string]: any;
|
|
6202
|
+
});
|
|
6203
|
+
}
|
|
6204
|
+
export declare class DescribeMachineSpecResponseBody extends $dara.Model {
|
|
6205
|
+
instanceMetas?: DescribeMachineSpecResponseBodyInstanceMetas[];
|
|
5961
6206
|
/**
|
|
5962
|
-
* @remarks
|
|
5963
|
-
* The additional information, such as the connection status of a virtual private cloud (VPC) and the log status of Log Service.
|
|
5964
|
-
*
|
|
5965
6207
|
* @example
|
|
5966
|
-
*
|
|
6208
|
+
* 40325405-579C-4D82***
|
|
5967
6209
|
*/
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
6210
|
+
requestId?: string;
|
|
6211
|
+
types?: DescribeMachineSpecResponseBodyTypes[];
|
|
6212
|
+
static names(): {
|
|
6213
|
+
[key: string]: string;
|
|
6214
|
+
};
|
|
6215
|
+
static types(): {
|
|
6216
|
+
[key: string]: any;
|
|
6217
|
+
};
|
|
6218
|
+
validate(): void;
|
|
6219
|
+
constructor(map?: {
|
|
6220
|
+
[key: string]: any;
|
|
6221
|
+
});
|
|
6222
|
+
}
|
|
6223
|
+
export declare class DescribeMachineSpecResponse extends $dara.Model {
|
|
6224
|
+
headers?: {
|
|
6225
|
+
[key: string]: string;
|
|
6226
|
+
};
|
|
6227
|
+
statusCode?: number;
|
|
6228
|
+
body?: DescribeMachineSpecResponseBody;
|
|
6229
|
+
static names(): {
|
|
6230
|
+
[key: string]: string;
|
|
6231
|
+
};
|
|
6232
|
+
static types(): {
|
|
6233
|
+
[key: string]: any;
|
|
6234
|
+
};
|
|
6235
|
+
validate(): void;
|
|
6236
|
+
constructor(map?: {
|
|
6237
|
+
[key: string]: any;
|
|
6238
|
+
});
|
|
6239
|
+
}
|
|
6240
|
+
export declare class DescribeResourceResponseBody extends $dara.Model {
|
|
6241
|
+
/**
|
|
6242
|
+
* @remarks
|
|
6243
|
+
* The ID of the cluster to which the resource group belongs.
|
|
6244
|
+
*
|
|
6245
|
+
* @example
|
|
6246
|
+
* cn-beijing
|
|
6247
|
+
*/
|
|
6248
|
+
clusterId?: string;
|
|
6249
|
+
/**
|
|
6250
|
+
* @remarks
|
|
6251
|
+
* The total number of CPU cores.
|
|
6252
|
+
*
|
|
6253
|
+
* @example
|
|
6254
|
+
* 16
|
|
6255
|
+
*/
|
|
6256
|
+
cpuCount?: number;
|
|
6257
|
+
/**
|
|
6258
|
+
* @remarks
|
|
6259
|
+
* The number of vCPUs that is used.
|
|
6260
|
+
*
|
|
6261
|
+
* @example
|
|
6262
|
+
* 8
|
|
6263
|
+
*/
|
|
6264
|
+
cpuUsed?: number;
|
|
6265
|
+
/**
|
|
6266
|
+
* @remarks
|
|
6267
|
+
* The time when the resource group was created.
|
|
6268
|
+
*
|
|
6269
|
+
* @example
|
|
6270
|
+
* 2020-05-19T14:19:42Z
|
|
6271
|
+
*/
|
|
6272
|
+
createTime?: string;
|
|
6273
|
+
/**
|
|
6274
|
+
* @remarks
|
|
6275
|
+
* The additional information, such as the connection status of a virtual private cloud (VPC) and the log status of Log Service.
|
|
6276
|
+
*
|
|
6277
|
+
* @example
|
|
6278
|
+
* {"vswitch_id":"vsw-bp17uo6xebcusy****","gpu_share":true,"aux_vswitch_id_list":["vsw-bp13b3pvjap3vxn****","vsw-bp1nls8o5hk8mt8*****"],"security_group_id":"sg-bp1j1z7297hcink*****","vpc_id":"vpc-bp1kjr3rfyhx01*****","destination_cidr":"172.16.0.12/28","role_arn":"acs:ram::1157703270*****:role/AliyunServiceRoleForPaiEas","sls_project":"","sls_logstore":"","sls_status":"ResourceReady","sls_message":"","update_time":""}
|
|
6279
|
+
*/
|
|
6280
|
+
extraData?: string;
|
|
6281
|
+
/**
|
|
6282
|
+
* @remarks
|
|
6283
|
+
* The total number of GPUs.
|
|
5972
6284
|
*
|
|
5973
6285
|
* @example
|
|
5974
6286
|
* 1
|
|
5975
6287
|
*/
|
|
5976
6288
|
gpuCount?: number;
|
|
6289
|
+
/**
|
|
6290
|
+
* @remarks
|
|
6291
|
+
* The number of GPUs that is used.
|
|
6292
|
+
*
|
|
6293
|
+
* @example
|
|
6294
|
+
* 2
|
|
6295
|
+
*/
|
|
5977
6296
|
gpuUsed?: number;
|
|
5978
6297
|
/**
|
|
5979
6298
|
* @remarks
|
|
@@ -5983,7 +6302,21 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
|
|
|
5983
6302
|
* 4
|
|
5984
6303
|
*/
|
|
5985
6304
|
instanceCount?: number;
|
|
6305
|
+
/**
|
|
6306
|
+
* @remarks
|
|
6307
|
+
* The total memory size. Unit: MB.
|
|
6308
|
+
*
|
|
6309
|
+
* @example
|
|
6310
|
+
* 8192
|
|
6311
|
+
*/
|
|
5986
6312
|
memory?: number;
|
|
6313
|
+
/**
|
|
6314
|
+
* @remarks
|
|
6315
|
+
* The size of memory that is used. Unit: MB.
|
|
6316
|
+
*
|
|
6317
|
+
* @example
|
|
6318
|
+
* 2048
|
|
6319
|
+
*/
|
|
5987
6320
|
memoryUsed?: number;
|
|
5988
6321
|
/**
|
|
5989
6322
|
* @remarks
|
|
@@ -6457,6 +6790,9 @@ export declare class DescribeServiceEndpointsResponseBody extends $dara.Model {
|
|
|
6457
6790
|
/**
|
|
6458
6791
|
* @remarks
|
|
6459
6792
|
* The returned message.
|
|
6793
|
+
*
|
|
6794
|
+
* @example
|
|
6795
|
+
* Execution successful.
|
|
6460
6796
|
*/
|
|
6461
6797
|
message?: string;
|
|
6462
6798
|
/**
|
|
@@ -7062,6 +7398,13 @@ export declare class DescribeVirtualResourceResponseBody extends $dara.Model {
|
|
|
7062
7398
|
* 2024-10-16T17:52:49Z
|
|
7063
7399
|
*/
|
|
7064
7400
|
createTime?: string;
|
|
7401
|
+
/**
|
|
7402
|
+
* @remarks
|
|
7403
|
+
* Indicates whether the retention period of preemptible instances was disabled.
|
|
7404
|
+
*
|
|
7405
|
+
* @example
|
|
7406
|
+
* true
|
|
7407
|
+
*/
|
|
7065
7408
|
disableSpotProtectionPeriod?: boolean;
|
|
7066
7409
|
/**
|
|
7067
7410
|
* @remarks
|
|
@@ -7076,6 +7419,13 @@ export declare class DescribeVirtualResourceResponseBody extends $dara.Model {
|
|
|
7076
7419
|
* The list of resources in the virtual resource group.
|
|
7077
7420
|
*/
|
|
7078
7421
|
resources?: DescribeVirtualResourceResponseBodyResources[];
|
|
7422
|
+
/**
|
|
7423
|
+
* @remarks
|
|
7424
|
+
* The number of deployed services.
|
|
7425
|
+
*
|
|
7426
|
+
* @example
|
|
7427
|
+
* 1
|
|
7428
|
+
*/
|
|
7079
7429
|
serviceCount?: number;
|
|
7080
7430
|
/**
|
|
7081
7431
|
* @remarks
|
|
@@ -7933,6 +8283,13 @@ export declare class ListResourceInstanceWorkerRequest extends $dara.Model {
|
|
|
7933
8283
|
* 20
|
|
7934
8284
|
*/
|
|
7935
8285
|
pageSize?: number;
|
|
8286
|
+
/**
|
|
8287
|
+
* @remarks
|
|
8288
|
+
* The worker name.
|
|
8289
|
+
*
|
|
8290
|
+
* @example
|
|
8291
|
+
* test-fd95xxxxx-xxxxxx
|
|
8292
|
+
*/
|
|
7936
8293
|
workerName?: string;
|
|
7937
8294
|
static names(): {
|
|
7938
8295
|
[key: string]: string;
|
|
@@ -7950,56 +8307,332 @@ export declare class ListResourceInstanceWorkerResponseBody extends $dara.Model
|
|
|
7950
8307
|
* @remarks
|
|
7951
8308
|
* The page number.
|
|
7952
8309
|
*
|
|
7953
|
-
* @example
|
|
7954
|
-
* 1
|
|
7955
|
-
*/
|
|
7956
|
-
pageNumber?: number;
|
|
7957
|
-
/**
|
|
7958
|
-
* @remarks
|
|
7959
|
-
* The number of entries per page.
|
|
8310
|
+
* @example
|
|
8311
|
+
* 1
|
|
8312
|
+
*/
|
|
8313
|
+
pageNumber?: number;
|
|
8314
|
+
/**
|
|
8315
|
+
* @remarks
|
|
8316
|
+
* The number of entries per page.
|
|
8317
|
+
*
|
|
8318
|
+
* @example
|
|
8319
|
+
* 20
|
|
8320
|
+
*/
|
|
8321
|
+
pageSize?: number;
|
|
8322
|
+
/**
|
|
8323
|
+
* @remarks
|
|
8324
|
+
* The workers.
|
|
8325
|
+
*/
|
|
8326
|
+
pods?: ResourceInstanceWorker[];
|
|
8327
|
+
/**
|
|
8328
|
+
* @remarks
|
|
8329
|
+
* The request ID.
|
|
8330
|
+
*
|
|
8331
|
+
* @example
|
|
8332
|
+
* 40325405-579C-4D82****
|
|
8333
|
+
*/
|
|
8334
|
+
requestId?: string;
|
|
8335
|
+
/**
|
|
8336
|
+
* @remarks
|
|
8337
|
+
* The total number of entries returned.
|
|
8338
|
+
*
|
|
8339
|
+
* @example
|
|
8340
|
+
* 1
|
|
8341
|
+
*/
|
|
8342
|
+
totalCount?: number;
|
|
8343
|
+
static names(): {
|
|
8344
|
+
[key: string]: string;
|
|
8345
|
+
};
|
|
8346
|
+
static types(): {
|
|
8347
|
+
[key: string]: any;
|
|
8348
|
+
};
|
|
8349
|
+
validate(): void;
|
|
8350
|
+
constructor(map?: {
|
|
8351
|
+
[key: string]: any;
|
|
8352
|
+
});
|
|
8353
|
+
}
|
|
8354
|
+
export declare class ListResourceInstanceWorkerResponse extends $dara.Model {
|
|
8355
|
+
headers?: {
|
|
8356
|
+
[key: string]: string;
|
|
8357
|
+
};
|
|
8358
|
+
statusCode?: number;
|
|
8359
|
+
body?: ListResourceInstanceWorkerResponseBody;
|
|
8360
|
+
static names(): {
|
|
8361
|
+
[key: string]: string;
|
|
8362
|
+
};
|
|
8363
|
+
static types(): {
|
|
8364
|
+
[key: string]: any;
|
|
8365
|
+
};
|
|
8366
|
+
validate(): void;
|
|
8367
|
+
constructor(map?: {
|
|
8368
|
+
[key: string]: any;
|
|
8369
|
+
});
|
|
8370
|
+
}
|
|
8371
|
+
export declare class ListResourceInstancesRequest extends $dara.Model {
|
|
8372
|
+
/**
|
|
8373
|
+
* @remarks
|
|
8374
|
+
* The billing method of the instance. Valid values:
|
|
8375
|
+
*
|
|
8376
|
+
* * PrePaid: subscription.
|
|
8377
|
+
* * PostPaid: pay-as-you-go.
|
|
8378
|
+
*
|
|
8379
|
+
* @example
|
|
8380
|
+
* PrePaid
|
|
8381
|
+
*/
|
|
8382
|
+
chargeType?: string;
|
|
8383
|
+
/**
|
|
8384
|
+
* @remarks
|
|
8385
|
+
* The keyword used to query instances. Instances can be queried by instance ID or instance IP address.
|
|
8386
|
+
*
|
|
8387
|
+
* @example
|
|
8388
|
+
* 10.224.xx.xx
|
|
8389
|
+
*/
|
|
8390
|
+
filter?: string;
|
|
8391
|
+
/**
|
|
8392
|
+
* @remarks
|
|
8393
|
+
* The IP address of the instance.
|
|
8394
|
+
*
|
|
8395
|
+
* @example
|
|
8396
|
+
* 10.224.xx.xx
|
|
8397
|
+
*/
|
|
8398
|
+
instanceIP?: string;
|
|
8399
|
+
/**
|
|
8400
|
+
* @remarks
|
|
8401
|
+
* The instance ID. For more information about how to query the instance ID, see [ListResourceInstances](https://help.aliyun.com/document_detail/412129.html).
|
|
8402
|
+
*
|
|
8403
|
+
* @example
|
|
8404
|
+
* i-bp1jd6x3uotsv****
|
|
8405
|
+
*/
|
|
8406
|
+
instanceId?: string;
|
|
8407
|
+
/**
|
|
8408
|
+
* @remarks
|
|
8409
|
+
* The instance name.
|
|
8410
|
+
*
|
|
8411
|
+
* @example
|
|
8412
|
+
* e-xxxx***
|
|
8413
|
+
*/
|
|
8414
|
+
instanceName?: string;
|
|
8415
|
+
/**
|
|
8416
|
+
* @remarks
|
|
8417
|
+
* The instance state.
|
|
8418
|
+
*
|
|
8419
|
+
* Valid values:
|
|
8420
|
+
*
|
|
8421
|
+
* * Ready-SchedulingDisabled
|
|
8422
|
+
*
|
|
8423
|
+
* <!-- -->
|
|
8424
|
+
*
|
|
8425
|
+
* :
|
|
8426
|
+
*
|
|
8427
|
+
* <!-- -->
|
|
8428
|
+
*
|
|
8429
|
+
* The instance is available but unschedulable
|
|
8430
|
+
*
|
|
8431
|
+
* <!-- -->
|
|
8432
|
+
*
|
|
8433
|
+
* .
|
|
8434
|
+
*
|
|
8435
|
+
* * Ready
|
|
8436
|
+
*
|
|
8437
|
+
* <!-- -->
|
|
8438
|
+
*
|
|
8439
|
+
* : The instance
|
|
8440
|
+
*
|
|
8441
|
+
* <!-- -->
|
|
8442
|
+
*
|
|
8443
|
+
* is running
|
|
8444
|
+
*
|
|
8445
|
+
* <!-- -->
|
|
8446
|
+
*
|
|
8447
|
+
* .
|
|
8448
|
+
*
|
|
8449
|
+
* * NotReady
|
|
8450
|
+
*
|
|
8451
|
+
* <!-- -->
|
|
8452
|
+
*
|
|
8453
|
+
* : The instance is unready.
|
|
8454
|
+
*
|
|
8455
|
+
* <!-- -->
|
|
8456
|
+
*
|
|
8457
|
+
* <!-- -->
|
|
8458
|
+
*
|
|
8459
|
+
* * Stopped
|
|
8460
|
+
*
|
|
8461
|
+
* <!-- -->
|
|
8462
|
+
*
|
|
8463
|
+
* : The instance has stopped.
|
|
8464
|
+
*
|
|
8465
|
+
* <!-- -->
|
|
8466
|
+
*
|
|
8467
|
+
* <!-- -->
|
|
8468
|
+
*
|
|
8469
|
+
* * NotReady-SchedulingDisabled
|
|
8470
|
+
*
|
|
8471
|
+
* <!-- -->
|
|
8472
|
+
*
|
|
8473
|
+
* :
|
|
8474
|
+
*
|
|
8475
|
+
* <!-- -->
|
|
8476
|
+
*
|
|
8477
|
+
* The instance is unavailable and unschedulable
|
|
8478
|
+
*
|
|
8479
|
+
* <!-- -->
|
|
8480
|
+
*
|
|
8481
|
+
* .
|
|
8482
|
+
*
|
|
8483
|
+
* * Attaching
|
|
8484
|
+
*
|
|
8485
|
+
* <!-- -->
|
|
8486
|
+
*
|
|
8487
|
+
* : The instance
|
|
8488
|
+
*
|
|
8489
|
+
* <!-- -->
|
|
8490
|
+
*
|
|
8491
|
+
* is starting
|
|
8492
|
+
*
|
|
8493
|
+
* <!-- -->
|
|
8494
|
+
*
|
|
8495
|
+
* .
|
|
8496
|
+
*
|
|
8497
|
+
* * Deleting
|
|
8498
|
+
*
|
|
8499
|
+
* <!-- -->
|
|
8500
|
+
*
|
|
8501
|
+
* : The instance is being deleted.
|
|
8502
|
+
*
|
|
8503
|
+
* <!-- -->
|
|
8504
|
+
*
|
|
8505
|
+
* <!-- -->
|
|
8506
|
+
*
|
|
8507
|
+
* * CreateFailed: The instance failed to be created.
|
|
8508
|
+
*
|
|
8509
|
+
* <!-- -->
|
|
8510
|
+
*
|
|
8511
|
+
* <!-- -->
|
|
8512
|
+
*
|
|
8513
|
+
* <!-- -->
|
|
8514
|
+
*
|
|
8515
|
+
* @example
|
|
8516
|
+
* Ready
|
|
8517
|
+
*/
|
|
8518
|
+
instanceStatus?: string;
|
|
8519
|
+
/**
|
|
8520
|
+
* @remarks
|
|
8521
|
+
* The tag.
|
|
8522
|
+
*/
|
|
8523
|
+
label?: {
|
|
8524
|
+
[key: string]: string;
|
|
8525
|
+
};
|
|
8526
|
+
/**
|
|
8527
|
+
* @remarks
|
|
8528
|
+
* The sorting order.
|
|
8529
|
+
*
|
|
8530
|
+
* Valid values:
|
|
8531
|
+
*
|
|
8532
|
+
* * asc: The instances are sorted in ascending order.
|
|
8533
|
+
*
|
|
8534
|
+
* <!-- -->
|
|
8535
|
+
*
|
|
8536
|
+
* <!-- -->
|
|
8537
|
+
*
|
|
8538
|
+
* <!-- -->
|
|
8539
|
+
*
|
|
8540
|
+
* * desc
|
|
8541
|
+
*
|
|
8542
|
+
* <!-- -->
|
|
8543
|
+
*
|
|
8544
|
+
* : The instances are sorted in descending order.
|
|
8545
|
+
*
|
|
8546
|
+
* <!-- -->
|
|
8547
|
+
*
|
|
8548
|
+
* <!-- -->
|
|
8549
|
+
*
|
|
8550
|
+
* @example
|
|
8551
|
+
* desc
|
|
8552
|
+
*/
|
|
8553
|
+
order?: string;
|
|
8554
|
+
/**
|
|
8555
|
+
* @remarks
|
|
8556
|
+
* The page number. Pages start from page 1. Default value: 1.
|
|
8557
|
+
*
|
|
8558
|
+
* @example
|
|
8559
|
+
* 1
|
|
8560
|
+
*/
|
|
8561
|
+
pageNumber?: number;
|
|
8562
|
+
/**
|
|
8563
|
+
* @remarks
|
|
8564
|
+
* The number of entries per page. Default value: 100.
|
|
8565
|
+
*
|
|
8566
|
+
* @example
|
|
8567
|
+
* 20
|
|
8568
|
+
*/
|
|
8569
|
+
pageSize?: number;
|
|
8570
|
+
/**
|
|
8571
|
+
* @remarks
|
|
8572
|
+
* The field that you use to sort the query results.
|
|
8573
|
+
*
|
|
8574
|
+
* Valid values:
|
|
8575
|
+
*
|
|
8576
|
+
* * CreateTime
|
|
8577
|
+
*
|
|
8578
|
+
* <!-- -->
|
|
8579
|
+
*
|
|
8580
|
+
* : The instances are sorted based on the time when the instances were created.
|
|
8581
|
+
*
|
|
8582
|
+
* <!-- -->
|
|
8583
|
+
*
|
|
8584
|
+
* <!-- -->
|
|
8585
|
+
*
|
|
8586
|
+
* * MemoryUsed
|
|
8587
|
+
*
|
|
8588
|
+
* <!-- -->
|
|
8589
|
+
*
|
|
8590
|
+
* :
|
|
8591
|
+
*
|
|
8592
|
+
* <!-- -->
|
|
8593
|
+
*
|
|
8594
|
+
* The instances are sorted based on the memory usage of the instances
|
|
8595
|
+
*
|
|
8596
|
+
* <!-- -->
|
|
8597
|
+
*
|
|
8598
|
+
* .
|
|
8599
|
+
*
|
|
8600
|
+
* * GpuUsed
|
|
8601
|
+
*
|
|
8602
|
+
* <!-- -->
|
|
8603
|
+
*
|
|
8604
|
+
* : The instances are sorted based on the
|
|
8605
|
+
*
|
|
8606
|
+
* <!-- -->
|
|
8607
|
+
*
|
|
8608
|
+
* GPU usage of the instances.
|
|
8609
|
+
*
|
|
8610
|
+
* <!-- -->
|
|
8611
|
+
*
|
|
8612
|
+
* * ExpireTime: The instances are sorted based on the time when the instances expired.
|
|
8613
|
+
*
|
|
8614
|
+
* <!-- -->
|
|
8615
|
+
*
|
|
8616
|
+
* <!-- -->
|
|
7960
8617
|
*
|
|
7961
|
-
*
|
|
7962
|
-
* 20
|
|
7963
|
-
*/
|
|
7964
|
-
pageSize?: number;
|
|
7965
|
-
/**
|
|
7966
|
-
* @remarks
|
|
7967
|
-
* The workers.
|
|
7968
|
-
*/
|
|
7969
|
-
pods?: ResourceInstanceWorker[];
|
|
7970
|
-
/**
|
|
7971
|
-
* @remarks
|
|
7972
|
-
* The request ID.
|
|
8618
|
+
* <!-- -->
|
|
7973
8619
|
*
|
|
7974
|
-
*
|
|
7975
|
-
*
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
*
|
|
7980
|
-
*
|
|
8620
|
+
* * CpuUsed
|
|
8621
|
+
*
|
|
8622
|
+
* <!-- -->
|
|
8623
|
+
*
|
|
8624
|
+
* :
|
|
8625
|
+
*
|
|
8626
|
+
* <!-- -->
|
|
8627
|
+
*
|
|
8628
|
+
* The instances are sorted based on the CPU utilization of the instances.
|
|
8629
|
+
*
|
|
8630
|
+
* <!-- -->
|
|
7981
8631
|
*
|
|
7982
8632
|
* @example
|
|
7983
|
-
*
|
|
8633
|
+
* CreateTime
|
|
7984
8634
|
*/
|
|
7985
|
-
|
|
7986
|
-
static names(): {
|
|
7987
|
-
[key: string]: string;
|
|
7988
|
-
};
|
|
7989
|
-
static types(): {
|
|
7990
|
-
[key: string]: any;
|
|
7991
|
-
};
|
|
7992
|
-
validate(): void;
|
|
7993
|
-
constructor(map?: {
|
|
7994
|
-
[key: string]: any;
|
|
7995
|
-
});
|
|
7996
|
-
}
|
|
7997
|
-
export declare class ListResourceInstanceWorkerResponse extends $dara.Model {
|
|
7998
|
-
headers?: {
|
|
7999
|
-
[key: string]: string;
|
|
8000
|
-
};
|
|
8001
|
-
statusCode?: number;
|
|
8002
|
-
body?: ListResourceInstanceWorkerResponseBody;
|
|
8635
|
+
sort?: string;
|
|
8003
8636
|
static names(): {
|
|
8004
8637
|
[key: string]: string;
|
|
8005
8638
|
};
|
|
@@ -8011,7 +8644,7 @@ export declare class ListResourceInstanceWorkerResponse extends $dara.Model {
|
|
|
8011
8644
|
[key: string]: any;
|
|
8012
8645
|
});
|
|
8013
8646
|
}
|
|
8014
|
-
export declare class
|
|
8647
|
+
export declare class ListResourceInstancesShrinkRequest extends $dara.Model {
|
|
8015
8648
|
/**
|
|
8016
8649
|
* @remarks
|
|
8017
8650
|
* The billing method of the instance. Valid values:
|
|
@@ -8159,6 +8792,11 @@ export declare class ListResourceInstancesRequest extends $dara.Model {
|
|
|
8159
8792
|
* Ready
|
|
8160
8793
|
*/
|
|
8161
8794
|
instanceStatus?: string;
|
|
8795
|
+
/**
|
|
8796
|
+
* @remarks
|
|
8797
|
+
* The tag.
|
|
8798
|
+
*/
|
|
8799
|
+
labelShrink?: string;
|
|
8162
8800
|
/**
|
|
8163
8801
|
* @remarks
|
|
8164
8802
|
* The sorting order.
|
|
@@ -8441,6 +9079,16 @@ export declare class ListResourceServicesResponse extends $dara.Model {
|
|
|
8441
9079
|
});
|
|
8442
9080
|
}
|
|
8443
9081
|
export declare class ListResourcesRequest extends $dara.Model {
|
|
9082
|
+
/**
|
|
9083
|
+
* @remarks
|
|
9084
|
+
* The sorting order. Valid values:
|
|
9085
|
+
*
|
|
9086
|
+
* * Desc
|
|
9087
|
+
* * Asc
|
|
9088
|
+
*
|
|
9089
|
+
* @example
|
|
9090
|
+
* Desc
|
|
9091
|
+
*/
|
|
8444
9092
|
order?: string;
|
|
8445
9093
|
/**
|
|
8446
9094
|
* @remarks
|
|
@@ -8474,6 +9122,13 @@ export declare class ListResourcesRequest extends $dara.Model {
|
|
|
8474
9122
|
* MyResource
|
|
8475
9123
|
*/
|
|
8476
9124
|
resourceName?: string;
|
|
9125
|
+
/**
|
|
9126
|
+
* @remarks
|
|
9127
|
+
* The resource group status.
|
|
9128
|
+
*
|
|
9129
|
+
* @example
|
|
9130
|
+
* ResourceReady
|
|
9131
|
+
*/
|
|
8477
9132
|
resourceStatus?: string;
|
|
8478
9133
|
/**
|
|
8479
9134
|
* @remarks
|
|
@@ -8486,6 +9141,26 @@ export declare class ListResourcesRequest extends $dara.Model {
|
|
|
8486
9141
|
* Dedicated
|
|
8487
9142
|
*/
|
|
8488
9143
|
resourceType?: string;
|
|
9144
|
+
/**
|
|
9145
|
+
* @remarks
|
|
9146
|
+
* The condition by which the results are sorted. By default, the query results are sorted by the timestamp type in descending order.
|
|
9147
|
+
*
|
|
9148
|
+
* Valid values:
|
|
9149
|
+
*
|
|
9150
|
+
* * PrePaidInstanceCount
|
|
9151
|
+
* * CpuCount
|
|
9152
|
+
* * Memory
|
|
9153
|
+
* * CreateTime
|
|
9154
|
+
* * PostPaidInstanceCount
|
|
9155
|
+
* * MemoryUsed
|
|
9156
|
+
* * GpuCount
|
|
9157
|
+
* * GpuUsed
|
|
9158
|
+
* * CpuUsed
|
|
9159
|
+
* * ServiceCount
|
|
9160
|
+
*
|
|
9161
|
+
* @example
|
|
9162
|
+
* CreateTime
|
|
9163
|
+
*/
|
|
8489
9164
|
sort?: string;
|
|
8490
9165
|
static names(): {
|
|
8491
9166
|
[key: string]: string;
|
|
@@ -9883,7 +10558,7 @@ export declare class ListVirtualResourceResponseBody extends $dara.Model {
|
|
|
9883
10558
|
totalCount?: number;
|
|
9884
10559
|
/**
|
|
9885
10560
|
* @remarks
|
|
9886
|
-
* The
|
|
10561
|
+
* The virtual resource groups.
|
|
9887
10562
|
*/
|
|
9888
10563
|
virtualResources?: ListVirtualResourceResponseBodyVirtualResources[];
|
|
9889
10564
|
static names(): {
|
|
@@ -10470,37 +11145,41 @@ export declare class UpdateGatewayRequest extends $dara.Model {
|
|
|
10470
11145
|
* Valid values:
|
|
10471
11146
|
*
|
|
10472
11147
|
* * true
|
|
10473
|
-
*
|
|
10474
|
-
* <!-- -->
|
|
10475
|
-
*
|
|
10476
|
-
* <!-- -->
|
|
10477
|
-
*
|
|
10478
|
-
* <!-- -->
|
|
10479
|
-
*
|
|
10480
11148
|
* * false
|
|
10481
11149
|
*
|
|
10482
|
-
* <!-- -->
|
|
10483
|
-
*
|
|
10484
|
-
* <!-- -->
|
|
10485
|
-
*
|
|
10486
|
-
* <!-- -->
|
|
10487
|
-
*
|
|
10488
11150
|
* @example
|
|
10489
11151
|
* false
|
|
10490
11152
|
*/
|
|
10491
11153
|
enableInternet?: boolean;
|
|
10492
11154
|
/**
|
|
10493
11155
|
* @remarks
|
|
10494
|
-
* Specifies whether to enable
|
|
11156
|
+
* Specifies whether to enable private access. Default value: true.
|
|
11157
|
+
*
|
|
11158
|
+
* Valid values:
|
|
11159
|
+
*
|
|
11160
|
+
* * true
|
|
11161
|
+
* * false
|
|
10495
11162
|
*
|
|
10496
11163
|
* @example
|
|
10497
11164
|
* true
|
|
10498
11165
|
*/
|
|
10499
11166
|
enableIntranet?: boolean;
|
|
11167
|
+
/**
|
|
11168
|
+
* @remarks
|
|
11169
|
+
* Specifies whether to enable HTTP to HTTPS redirection. Default value: false.
|
|
11170
|
+
*
|
|
11171
|
+
* @example
|
|
11172
|
+
* false
|
|
11173
|
+
*/
|
|
10500
11174
|
enableSSLRedirection?: boolean;
|
|
10501
11175
|
/**
|
|
10502
11176
|
* @remarks
|
|
10503
|
-
* The instance type used
|
|
11177
|
+
* The instance type used by the private gateway. Valid values:
|
|
11178
|
+
*
|
|
11179
|
+
* * 2c4g
|
|
11180
|
+
* * 4c8g
|
|
11181
|
+
* * 8c16g
|
|
11182
|
+
* * 16c32g
|
|
10504
11183
|
*
|
|
10505
11184
|
* @example
|
|
10506
11185
|
* ecs.c6.4xlarge
|
|
@@ -10508,7 +11187,7 @@ export declare class UpdateGatewayRequest extends $dara.Model {
|
|
|
10508
11187
|
instanceType?: string;
|
|
10509
11188
|
/**
|
|
10510
11189
|
* @remarks
|
|
10511
|
-
*
|
|
11190
|
+
* Specifies whether it is the default private gateway.
|
|
10512
11191
|
*
|
|
10513
11192
|
* @example
|
|
10514
11193
|
* true
|
|
@@ -10516,7 +11195,7 @@ export declare class UpdateGatewayRequest extends $dara.Model {
|
|
|
10516
11195
|
isDefault?: boolean;
|
|
10517
11196
|
/**
|
|
10518
11197
|
* @remarks
|
|
10519
|
-
* The private gateway
|
|
11198
|
+
* The alias of the private gateway.
|
|
10520
11199
|
*
|
|
10521
11200
|
* @example
|
|
10522
11201
|
* mygateway1
|
|
@@ -10841,6 +11520,115 @@ export declare class UpdateResourceInstanceResponse extends $dara.Model {
|
|
|
10841
11520
|
[key: string]: any;
|
|
10842
11521
|
});
|
|
10843
11522
|
}
|
|
11523
|
+
export declare class UpdateResourceInstanceLabelRequest extends $dara.Model {
|
|
11524
|
+
/**
|
|
11525
|
+
* @remarks
|
|
11526
|
+
* Specifies whether the modification takes effect on all instances in the resource group. If you set this parameter to true, the InstanceIds parameter does not take effect.
|
|
11527
|
+
*
|
|
11528
|
+
* @example
|
|
11529
|
+
* false
|
|
11530
|
+
*/
|
|
11531
|
+
allInstances?: boolean;
|
|
11532
|
+
/**
|
|
11533
|
+
* @remarks
|
|
11534
|
+
* The instance IDs.
|
|
11535
|
+
*/
|
|
11536
|
+
instanceIds?: string[];
|
|
11537
|
+
/**
|
|
11538
|
+
* @remarks
|
|
11539
|
+
* The custom tag.
|
|
11540
|
+
*/
|
|
11541
|
+
labels?: {
|
|
11542
|
+
[key: string]: string;
|
|
11543
|
+
};
|
|
11544
|
+
static names(): {
|
|
11545
|
+
[key: string]: string;
|
|
11546
|
+
};
|
|
11547
|
+
static types(): {
|
|
11548
|
+
[key: string]: any;
|
|
11549
|
+
};
|
|
11550
|
+
validate(): void;
|
|
11551
|
+
constructor(map?: {
|
|
11552
|
+
[key: string]: any;
|
|
11553
|
+
});
|
|
11554
|
+
}
|
|
11555
|
+
export declare class UpdateResourceInstanceLabelShrinkRequest extends $dara.Model {
|
|
11556
|
+
/**
|
|
11557
|
+
* @remarks
|
|
11558
|
+
* Specifies whether the modification takes effect on all instances in the resource group. If you set this parameter to true, the InstanceIds parameter does not take effect.
|
|
11559
|
+
*
|
|
11560
|
+
* @example
|
|
11561
|
+
* false
|
|
11562
|
+
*/
|
|
11563
|
+
allInstances?: boolean;
|
|
11564
|
+
/**
|
|
11565
|
+
* @remarks
|
|
11566
|
+
* The instance IDs.
|
|
11567
|
+
*/
|
|
11568
|
+
instanceIdsShrink?: string;
|
|
11569
|
+
/**
|
|
11570
|
+
* @remarks
|
|
11571
|
+
* The custom tag.
|
|
11572
|
+
*/
|
|
11573
|
+
labels?: {
|
|
11574
|
+
[key: string]: string;
|
|
11575
|
+
};
|
|
11576
|
+
static names(): {
|
|
11577
|
+
[key: string]: string;
|
|
11578
|
+
};
|
|
11579
|
+
static types(): {
|
|
11580
|
+
[key: string]: any;
|
|
11581
|
+
};
|
|
11582
|
+
validate(): void;
|
|
11583
|
+
constructor(map?: {
|
|
11584
|
+
[key: string]: any;
|
|
11585
|
+
});
|
|
11586
|
+
}
|
|
11587
|
+
export declare class UpdateResourceInstanceLabelResponseBody extends $dara.Model {
|
|
11588
|
+
/**
|
|
11589
|
+
* @remarks
|
|
11590
|
+
* The message.
|
|
11591
|
+
*
|
|
11592
|
+
* @example
|
|
11593
|
+
* Success
|
|
11594
|
+
*/
|
|
11595
|
+
message?: string;
|
|
11596
|
+
/**
|
|
11597
|
+
* @remarks
|
|
11598
|
+
* The request ID.
|
|
11599
|
+
*
|
|
11600
|
+
* @example
|
|
11601
|
+
* 40325405-579C-4D82****
|
|
11602
|
+
*/
|
|
11603
|
+
requestId?: string;
|
|
11604
|
+
static names(): {
|
|
11605
|
+
[key: string]: string;
|
|
11606
|
+
};
|
|
11607
|
+
static types(): {
|
|
11608
|
+
[key: string]: any;
|
|
11609
|
+
};
|
|
11610
|
+
validate(): void;
|
|
11611
|
+
constructor(map?: {
|
|
11612
|
+
[key: string]: any;
|
|
11613
|
+
});
|
|
11614
|
+
}
|
|
11615
|
+
export declare class UpdateResourceInstanceLabelResponse extends $dara.Model {
|
|
11616
|
+
headers?: {
|
|
11617
|
+
[key: string]: string;
|
|
11618
|
+
};
|
|
11619
|
+
statusCode?: number;
|
|
11620
|
+
body?: UpdateResourceInstanceLabelResponseBody;
|
|
11621
|
+
static names(): {
|
|
11622
|
+
[key: string]: string;
|
|
11623
|
+
};
|
|
11624
|
+
static types(): {
|
|
11625
|
+
[key: string]: any;
|
|
11626
|
+
};
|
|
11627
|
+
validate(): void;
|
|
11628
|
+
constructor(map?: {
|
|
11629
|
+
[key: string]: any;
|
|
11630
|
+
});
|
|
11631
|
+
}
|
|
10844
11632
|
export declare class UpdateServiceRequest extends $dara.Model {
|
|
10845
11633
|
/**
|
|
10846
11634
|
* @remarks
|
|
@@ -11418,17 +12206,24 @@ export declare class UpdateServiceVersionResponse extends $dara.Model {
|
|
|
11418
12206
|
});
|
|
11419
12207
|
}
|
|
11420
12208
|
export declare class UpdateVirtualResourceRequest extends $dara.Model {
|
|
12209
|
+
/**
|
|
12210
|
+
* @remarks
|
|
12211
|
+
* Specifies whether to disable the retention period of preemptible instances.
|
|
12212
|
+
*
|
|
12213
|
+
* @example
|
|
12214
|
+
* true
|
|
12215
|
+
*/
|
|
11421
12216
|
disableSpotProtectionPeriod?: boolean;
|
|
11422
12217
|
/**
|
|
11423
12218
|
* @remarks
|
|
11424
|
-
* The
|
|
12219
|
+
* The resources in the virtual resource group.
|
|
11425
12220
|
*
|
|
11426
|
-
* > If you specify this parameter, previous data
|
|
12221
|
+
* > If you specify this parameter, previous data is overwritten.
|
|
11427
12222
|
*/
|
|
11428
12223
|
resources?: UpdateVirtualResourceRequestResources[];
|
|
11429
12224
|
/**
|
|
11430
12225
|
* @remarks
|
|
11431
|
-
* The new name
|
|
12226
|
+
* The new name of the virtual resource group.
|
|
11432
12227
|
*
|
|
11433
12228
|
* @example
|
|
11434
12229
|
* NewMyVirtualResource
|
|
@@ -11924,6 +12719,24 @@ export default class Client extends OpenApi {
|
|
|
11924
12719
|
* @returns DeleteResourceDLinkResponse
|
|
11925
12720
|
*/
|
|
11926
12721
|
deleteResourceDLink(ClusterId: string, ResourceId: string): Promise<DeleteResourceDLinkResponse>;
|
|
12722
|
+
/**
|
|
12723
|
+
* Deletes the tags of an instance in a resource group.
|
|
12724
|
+
*
|
|
12725
|
+
* @param tmpReq - DeleteResourceInstanceLabelRequest
|
|
12726
|
+
* @param headers - map
|
|
12727
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12728
|
+
* @returns DeleteResourceInstanceLabelResponse
|
|
12729
|
+
*/
|
|
12730
|
+
deleteResourceInstanceLabelWithOptions(ClusterId: string, ResourceId: string, tmpReq: DeleteResourceInstanceLabelRequest, headers: {
|
|
12731
|
+
[key: string]: string;
|
|
12732
|
+
}, runtime: $dara.RuntimeOptions): Promise<DeleteResourceInstanceLabelResponse>;
|
|
12733
|
+
/**
|
|
12734
|
+
* Deletes the tags of an instance in a resource group.
|
|
12735
|
+
*
|
|
12736
|
+
* @param request - DeleteResourceInstanceLabelRequest
|
|
12737
|
+
* @returns DeleteResourceInstanceLabelResponse
|
|
12738
|
+
*/
|
|
12739
|
+
deleteResourceInstanceLabel(ClusterId: string, ResourceId: string, request: DeleteResourceInstanceLabelRequest): Promise<DeleteResourceInstanceLabelResponse>;
|
|
11927
12740
|
/**
|
|
11928
12741
|
* Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
|
|
11929
12742
|
*
|
|
@@ -12146,6 +12959,24 @@ export default class Client extends OpenApi {
|
|
|
12146
12959
|
* @returns DescribeGroupEndpointsResponse
|
|
12147
12960
|
*/
|
|
12148
12961
|
describeGroupEndpoints(ClusterId: string, GroupName: string): Promise<DescribeGroupEndpointsResponse>;
|
|
12962
|
+
/**
|
|
12963
|
+
* 查询可用机器规格
|
|
12964
|
+
*
|
|
12965
|
+
* @param tmpReq - DescribeMachineSpecRequest
|
|
12966
|
+
* @param headers - map
|
|
12967
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12968
|
+
* @returns DescribeMachineSpecResponse
|
|
12969
|
+
*/
|
|
12970
|
+
describeMachineSpecWithOptions(tmpReq: DescribeMachineSpecRequest, headers: {
|
|
12971
|
+
[key: string]: string;
|
|
12972
|
+
}, runtime: $dara.RuntimeOptions): Promise<DescribeMachineSpecResponse>;
|
|
12973
|
+
/**
|
|
12974
|
+
* 查询可用机器规格
|
|
12975
|
+
*
|
|
12976
|
+
* @param request - DescribeMachineSpecRequest
|
|
12977
|
+
* @returns DescribeMachineSpecResponse
|
|
12978
|
+
*/
|
|
12979
|
+
describeMachineSpec(request: DescribeMachineSpecRequest): Promise<DescribeMachineSpecResponse>;
|
|
12149
12980
|
/**
|
|
12150
12981
|
* Queries the information about a resource group.
|
|
12151
12982
|
*
|
|
@@ -12575,12 +13406,12 @@ export default class Client extends OpenApi {
|
|
|
12575
13406
|
/**
|
|
12576
13407
|
* Queries a list of instances in a dedicated resource group.
|
|
12577
13408
|
*
|
|
12578
|
-
* @param
|
|
13409
|
+
* @param tmpReq - ListResourceInstancesRequest
|
|
12579
13410
|
* @param headers - map
|
|
12580
13411
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
12581
13412
|
* @returns ListResourceInstancesResponse
|
|
12582
13413
|
*/
|
|
12583
|
-
listResourceInstancesWithOptions(ClusterId: string, ResourceId: string,
|
|
13414
|
+
listResourceInstancesWithOptions(ClusterId: string, ResourceId: string, tmpReq: ListResourceInstancesRequest, headers: {
|
|
12584
13415
|
[key: string]: string;
|
|
12585
13416
|
}, runtime: $dara.RuntimeOptions): Promise<ListResourceInstancesResponse>;
|
|
12586
13417
|
/**
|
|
@@ -12948,6 +13779,24 @@ export default class Client extends OpenApi {
|
|
|
12948
13779
|
* @returns UpdateResourceInstanceResponse
|
|
12949
13780
|
*/
|
|
12950
13781
|
updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse>;
|
|
13782
|
+
/**
|
|
13783
|
+
* Updates the tag of an instance in a resource group.
|
|
13784
|
+
*
|
|
13785
|
+
* @param tmpReq - UpdateResourceInstanceLabelRequest
|
|
13786
|
+
* @param headers - map
|
|
13787
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13788
|
+
* @returns UpdateResourceInstanceLabelResponse
|
|
13789
|
+
*/
|
|
13790
|
+
updateResourceInstanceLabelWithOptions(ClusterId: string, ResourceId: string, tmpReq: UpdateResourceInstanceLabelRequest, headers: {
|
|
13791
|
+
[key: string]: string;
|
|
13792
|
+
}, runtime: $dara.RuntimeOptions): Promise<UpdateResourceInstanceLabelResponse>;
|
|
13793
|
+
/**
|
|
13794
|
+
* Updates the tag of an instance in a resource group.
|
|
13795
|
+
*
|
|
13796
|
+
* @param request - UpdateResourceInstanceLabelRequest
|
|
13797
|
+
* @returns UpdateResourceInstanceLabelResponse
|
|
13798
|
+
*/
|
|
13799
|
+
updateResourceInstanceLabel(ClusterId: string, ResourceId: string, request: UpdateResourceInstanceLabelRequest): Promise<UpdateResourceInstanceLabelResponse>;
|
|
12951
13800
|
/**
|
|
12952
13801
|
* Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
|
|
12953
13802
|
*
|