@alicloud/eas20210701 6.5.0 → 6.6.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.
- package/dist/client.d.ts +481 -42
- package/dist/client.js +239 -11
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +641 -42
package/dist/client.d.ts
CHANGED
|
@@ -200,19 +200,19 @@ export declare class CreateResourceRequestSelfManagedResourceOptions extends $da
|
|
|
200
200
|
externalClusterId?: string;
|
|
201
201
|
/**
|
|
202
202
|
* @remarks
|
|
203
|
-
* The tag key-value pairs
|
|
203
|
+
* The tag key-value pairs of the node.
|
|
204
204
|
*/
|
|
205
205
|
nodeMatchLabels?: {
|
|
206
206
|
[key: string]: string;
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
209
209
|
* @remarks
|
|
210
|
-
*
|
|
210
|
+
* The tolerations for the node taint.
|
|
211
211
|
*/
|
|
212
212
|
nodeTolerations?: CreateResourceRequestSelfManagedResourceOptionsNodeTolerations[];
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
* 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.
|
|
216
216
|
*
|
|
217
217
|
* @example
|
|
218
218
|
* clusterrole
|
|
@@ -353,7 +353,7 @@ export declare class CreateServiceAutoScalerRequestScaleStrategies extends $dara
|
|
|
353
353
|
*
|
|
354
354
|
* * If you set metricName to qps, scale-out is triggered when the average qps for a single instance is greater than this threshold.
|
|
355
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.
|
|
356
|
-
* * 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.
|
|
357
357
|
*
|
|
358
358
|
* This parameter is required.
|
|
359
359
|
*
|
|
@@ -425,7 +425,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
425
425
|
instanceType?: string;
|
|
426
426
|
/**
|
|
427
427
|
* @remarks
|
|
428
|
-
* The priority of resource scheduling. A greater number
|
|
428
|
+
* The priority of resource scheduling. A greater number indicates a higher priority.
|
|
429
429
|
*
|
|
430
430
|
* @example
|
|
431
431
|
* 6
|
|
@@ -433,7 +433,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
433
433
|
priority?: number;
|
|
434
434
|
/**
|
|
435
435
|
* @remarks
|
|
436
|
-
* Lingjun
|
|
436
|
+
* The ID of the Lingjun resource quota.
|
|
437
437
|
*
|
|
438
438
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
439
439
|
*
|
|
@@ -443,7 +443,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
443
443
|
quotaId?: string;
|
|
444
444
|
/**
|
|
445
445
|
* @remarks
|
|
446
|
-
* The region
|
|
446
|
+
* The region in which the resource resides.
|
|
447
447
|
*
|
|
448
448
|
* @example
|
|
449
449
|
* cn-hangzhou
|
|
@@ -451,7 +451,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
451
451
|
region?: string;
|
|
452
452
|
/**
|
|
453
453
|
* @remarks
|
|
454
|
-
* 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).
|
|
455
455
|
*
|
|
456
456
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
457
457
|
*
|
|
@@ -463,7 +463,7 @@ export declare class CreateVirtualResourceRequestResources extends $dara.Model {
|
|
|
463
463
|
* @remarks
|
|
464
464
|
* The maximum price of preemptible instances in a public resource group.
|
|
465
465
|
*
|
|
466
|
-
* > If you
|
|
466
|
+
* > If you leave this parameter empty, preemptible instances are not used.
|
|
467
467
|
*
|
|
468
468
|
* @example
|
|
469
469
|
* 10.05
|
|
@@ -603,6 +603,143 @@ export declare class DescribeGroupEndpointsResponseBodyEndpoints extends $dara.M
|
|
|
603
603
|
[key: string]: any;
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
+
export declare class DescribeMachineSpecResponseBodyInstanceMetas extends $dara.Model {
|
|
607
|
+
/**
|
|
608
|
+
* @remarks
|
|
609
|
+
* The number of CPU cores in the instance type.
|
|
610
|
+
*
|
|
611
|
+
* @example
|
|
612
|
+
* 32
|
|
613
|
+
*/
|
|
614
|
+
CPU?: number;
|
|
615
|
+
/**
|
|
616
|
+
* @remarks
|
|
617
|
+
* The GPU type in the instance type. If the instance type is not a GPU-based instance type, this parameter does not exist.
|
|
618
|
+
*
|
|
619
|
+
* @example
|
|
620
|
+
* GU30
|
|
621
|
+
*/
|
|
622
|
+
GPU?: string;
|
|
623
|
+
/**
|
|
624
|
+
* @remarks
|
|
625
|
+
* The number of GPUs in the instance type.
|
|
626
|
+
*
|
|
627
|
+
* @example
|
|
628
|
+
* 1
|
|
629
|
+
*/
|
|
630
|
+
GPUAmount?: number;
|
|
631
|
+
/**
|
|
632
|
+
* @remarks
|
|
633
|
+
* The GPU memory in the instance type. Unit: GB.
|
|
634
|
+
*
|
|
635
|
+
* @example
|
|
636
|
+
* 24
|
|
637
|
+
*/
|
|
638
|
+
GPUMemory?: number;
|
|
639
|
+
/**
|
|
640
|
+
* @remarks
|
|
641
|
+
* The name of the instance type.
|
|
642
|
+
*
|
|
643
|
+
* @example
|
|
644
|
+
* ml.gu7i.c32m188.1-gu30
|
|
645
|
+
*/
|
|
646
|
+
instanceType?: string;
|
|
647
|
+
/**
|
|
648
|
+
* @remarks
|
|
649
|
+
* Indicates whether the instance type is available.
|
|
650
|
+
*
|
|
651
|
+
* @example
|
|
652
|
+
* true
|
|
653
|
+
*/
|
|
654
|
+
isAvailable?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* @remarks
|
|
657
|
+
* The memory size in the instance type. Unit: GB.
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* 188
|
|
661
|
+
*/
|
|
662
|
+
memory?: number;
|
|
663
|
+
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The minimum discount that can be accepted when the preemptible instance type does not include a usage duration. 0.1 indicates one fold. If this parameter is not returned, the bidding feature is not supported.
|
|
666
|
+
*
|
|
667
|
+
* @example
|
|
668
|
+
* 0.1
|
|
669
|
+
*/
|
|
670
|
+
nonProtectSpotDiscount?: number;
|
|
671
|
+
/**
|
|
672
|
+
* @remarks
|
|
673
|
+
* The minimum discount that can be accepted when the preemptible instance type has the 1-hour protection duration. 0.1 indicates one fold. If this parameter is not returned, the bidding feature is not supported.
|
|
674
|
+
*
|
|
675
|
+
* @example
|
|
676
|
+
* 0.12
|
|
677
|
+
*/
|
|
678
|
+
spotDiscount?: number;
|
|
679
|
+
/**
|
|
680
|
+
* @remarks
|
|
681
|
+
* The inventory status of the instance type.
|
|
682
|
+
*
|
|
683
|
+
* Valid values:
|
|
684
|
+
*
|
|
685
|
+
* * WithStock
|
|
686
|
+
* * ClosedWithStock
|
|
687
|
+
* * NoStock
|
|
688
|
+
*
|
|
689
|
+
* @example
|
|
690
|
+
* WithStock
|
|
691
|
+
*/
|
|
692
|
+
stockStatus?: string;
|
|
693
|
+
/**
|
|
694
|
+
* @remarks
|
|
695
|
+
* The source of the instance type.
|
|
696
|
+
*
|
|
697
|
+
* Valid values:
|
|
698
|
+
*
|
|
699
|
+
* * ECS
|
|
700
|
+
* * BareMetal
|
|
701
|
+
* * Lingjun
|
|
702
|
+
*
|
|
703
|
+
* @example
|
|
704
|
+
* ECS
|
|
705
|
+
*/
|
|
706
|
+
vendor?: string;
|
|
707
|
+
static names(): {
|
|
708
|
+
[key: string]: string;
|
|
709
|
+
};
|
|
710
|
+
static types(): {
|
|
711
|
+
[key: string]: any;
|
|
712
|
+
};
|
|
713
|
+
validate(): void;
|
|
714
|
+
constructor(map?: {
|
|
715
|
+
[key: string]: any;
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
export declare class DescribeMachineSpecResponseBodyTypes extends $dara.Model {
|
|
719
|
+
/**
|
|
720
|
+
* @remarks
|
|
721
|
+
* Valid values:
|
|
722
|
+
*
|
|
723
|
+
* @example
|
|
724
|
+
* 1
|
|
725
|
+
*/
|
|
726
|
+
CPU?: number;
|
|
727
|
+
/**
|
|
728
|
+
* @remarks
|
|
729
|
+
* The optional values for memory when CPU is set to a specific value as above.
|
|
730
|
+
*/
|
|
731
|
+
memory?: number[];
|
|
732
|
+
static names(): {
|
|
733
|
+
[key: string]: string;
|
|
734
|
+
};
|
|
735
|
+
static types(): {
|
|
736
|
+
[key: string]: any;
|
|
737
|
+
};
|
|
738
|
+
validate(): void;
|
|
739
|
+
constructor(map?: {
|
|
740
|
+
[key: string]: any;
|
|
741
|
+
});
|
|
742
|
+
}
|
|
606
743
|
export declare class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $dara.Model {
|
|
607
744
|
/**
|
|
608
745
|
* @remarks
|
|
@@ -1494,6 +1631,7 @@ export declare class ListGatewayDomainsResponseBodyCustomDomains extends $dara.M
|
|
|
1494
1631
|
});
|
|
1495
1632
|
}
|
|
1496
1633
|
export declare class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dara.Model {
|
|
1634
|
+
authoritativeDnsEnabled?: boolean;
|
|
1497
1635
|
/**
|
|
1498
1636
|
* @remarks
|
|
1499
1637
|
* The IP address.
|
|
@@ -1735,6 +1873,13 @@ export declare class ListVirtualResourceResponseBodyVirtualResources extends $da
|
|
|
1735
1873
|
* 2024-10-16T17:52:49Z
|
|
1736
1874
|
*/
|
|
1737
1875
|
createTime?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* @remarks
|
|
1878
|
+
* The number of deployed services.
|
|
1879
|
+
*
|
|
1880
|
+
* @example
|
|
1881
|
+
* 1
|
|
1882
|
+
*/
|
|
1738
1883
|
serviceCount?: number;
|
|
1739
1884
|
/**
|
|
1740
1885
|
* @remarks
|
|
@@ -2040,7 +2185,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2040
2185
|
instanceType?: string;
|
|
2041
2186
|
/**
|
|
2042
2187
|
* @remarks
|
|
2043
|
-
* The priority of resource scheduling. A greater number
|
|
2188
|
+
* The priority of resource scheduling. A greater number indicates a higher priority.
|
|
2044
2189
|
*
|
|
2045
2190
|
* @example
|
|
2046
2191
|
* 6
|
|
@@ -2048,7 +2193,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2048
2193
|
priority?: number;
|
|
2049
2194
|
/**
|
|
2050
2195
|
* @remarks
|
|
2051
|
-
* The Lingjun resource quota
|
|
2196
|
+
* The ID of the Lingjun resource quota.
|
|
2052
2197
|
*
|
|
2053
2198
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
2054
2199
|
*
|
|
@@ -2058,7 +2203,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2058
2203
|
quotaId?: string;
|
|
2059
2204
|
/**
|
|
2060
2205
|
* @remarks
|
|
2061
|
-
* The region
|
|
2206
|
+
* The region in which the resource resides.
|
|
2062
2207
|
*
|
|
2063
2208
|
* @example
|
|
2064
2209
|
* cn-hangzhou
|
|
@@ -2066,7 +2211,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2066
2211
|
region?: string;
|
|
2067
2212
|
/**
|
|
2068
2213
|
* @remarks
|
|
2069
|
-
* The ID of the dedicated resource group. For information about how to
|
|
2214
|
+
* 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).
|
|
2070
2215
|
*
|
|
2071
2216
|
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
2072
2217
|
*
|
|
@@ -2078,7 +2223,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
|
|
|
2078
2223
|
* @remarks
|
|
2079
2224
|
* The maximum price of preemptible instances in a public resource group.
|
|
2080
2225
|
*
|
|
2081
|
-
* > If you
|
|
2226
|
+
* > If you leave this parameter empty, preemptible instances are not used.
|
|
2082
2227
|
*
|
|
2083
2228
|
* @example
|
|
2084
2229
|
* 10.05
|
|
@@ -3190,6 +3335,7 @@ export declare class CreateGatewayResponse extends $dara.Model {
|
|
|
3190
3335
|
});
|
|
3191
3336
|
}
|
|
3192
3337
|
export declare class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
|
|
3338
|
+
enableAuthoritativeDns?: boolean;
|
|
3193
3339
|
/**
|
|
3194
3340
|
* @remarks
|
|
3195
3341
|
* The vSwitch ID.
|
|
@@ -3418,6 +3564,10 @@ export declare class CreateResourceRequest extends $dara.Model {
|
|
|
3418
3564
|
* ecs.c6.8xlarge
|
|
3419
3565
|
*/
|
|
3420
3566
|
ecsInstanceType?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* @remarks
|
|
3569
|
+
* The custom tag.
|
|
3570
|
+
*/
|
|
3421
3571
|
labels?: {
|
|
3422
3572
|
[key: string]: string;
|
|
3423
3573
|
};
|
|
@@ -3585,6 +3735,10 @@ export declare class CreateResourceInstancesRequest extends $dara.Model {
|
|
|
3585
3735
|
* ecs.s6-c1m2.xlarge
|
|
3586
3736
|
*/
|
|
3587
3737
|
ecsInstanceType?: string;
|
|
3738
|
+
/**
|
|
3739
|
+
* @remarks
|
|
3740
|
+
* The custom service tag.
|
|
3741
|
+
*/
|
|
3588
3742
|
labels?: {
|
|
3589
3743
|
[key: string]: string;
|
|
3590
3744
|
};
|
|
@@ -4324,10 +4478,17 @@ export declare class CreateServiceMirrorResponse extends $dara.Model {
|
|
|
4324
4478
|
});
|
|
4325
4479
|
}
|
|
4326
4480
|
export declare class CreateVirtualResourceRequest extends $dara.Model {
|
|
4481
|
+
/**
|
|
4482
|
+
* @remarks
|
|
4483
|
+
* Specifies whether to disable the retention period of preemptible instances.
|
|
4484
|
+
*
|
|
4485
|
+
* @example
|
|
4486
|
+
* true
|
|
4487
|
+
*/
|
|
4327
4488
|
disableSpotProtectionPeriod?: boolean;
|
|
4328
4489
|
/**
|
|
4329
4490
|
* @remarks
|
|
4330
|
-
* The
|
|
4491
|
+
* The resources in the virtual resource group.
|
|
4331
4492
|
*/
|
|
4332
4493
|
resources?: CreateVirtualResourceRequestResources[];
|
|
4333
4494
|
/**
|
|
@@ -4878,8 +5039,20 @@ export declare class DeleteResourceDLinkResponse extends $dara.Model {
|
|
|
4878
5039
|
});
|
|
4879
5040
|
}
|
|
4880
5041
|
export declare class DeleteResourceInstanceLabelRequest extends $dara.Model {
|
|
5042
|
+
/**
|
|
5043
|
+
* @remarks
|
|
5044
|
+
* 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.
|
|
5045
|
+
*/
|
|
4881
5046
|
allInstances?: boolean;
|
|
5047
|
+
/**
|
|
5048
|
+
* @remarks
|
|
5049
|
+
* The instance IDs.
|
|
5050
|
+
*/
|
|
4882
5051
|
instanceIds?: string[];
|
|
5052
|
+
/**
|
|
5053
|
+
* @remarks
|
|
5054
|
+
* The keys of the tags that you want to delete.
|
|
5055
|
+
*/
|
|
4883
5056
|
keys?: string[];
|
|
4884
5057
|
static names(): {
|
|
4885
5058
|
[key: string]: string;
|
|
@@ -4893,8 +5066,20 @@ export declare class DeleteResourceInstanceLabelRequest extends $dara.Model {
|
|
|
4893
5066
|
});
|
|
4894
5067
|
}
|
|
4895
5068
|
export declare class DeleteResourceInstanceLabelShrinkRequest extends $dara.Model {
|
|
5069
|
+
/**
|
|
5070
|
+
* @remarks
|
|
5071
|
+
* 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.
|
|
5072
|
+
*/
|
|
4896
5073
|
allInstances?: boolean;
|
|
5074
|
+
/**
|
|
5075
|
+
* @remarks
|
|
5076
|
+
* The instance IDs.
|
|
5077
|
+
*/
|
|
4897
5078
|
instanceIdsShrink?: string;
|
|
5079
|
+
/**
|
|
5080
|
+
* @remarks
|
|
5081
|
+
* The keys of the tags that you want to delete.
|
|
5082
|
+
*/
|
|
4898
5083
|
keysShrink?: string;
|
|
4899
5084
|
static names(): {
|
|
4900
5085
|
[key: string]: string;
|
|
@@ -4909,11 +5094,17 @@ export declare class DeleteResourceInstanceLabelShrinkRequest extends $dara.Mode
|
|
|
4909
5094
|
}
|
|
4910
5095
|
export declare class DeleteResourceInstanceLabelResponseBody extends $dara.Model {
|
|
4911
5096
|
/**
|
|
5097
|
+
* @remarks
|
|
5098
|
+
* The message.
|
|
5099
|
+
*
|
|
4912
5100
|
* @example
|
|
4913
5101
|
* success
|
|
4914
5102
|
*/
|
|
4915
5103
|
message?: string;
|
|
4916
5104
|
/**
|
|
5105
|
+
* @remarks
|
|
5106
|
+
* The request ID.
|
|
5107
|
+
*
|
|
4917
5108
|
* @example
|
|
4918
5109
|
* 40325405-579C-4D82********
|
|
4919
5110
|
*/
|
|
@@ -5895,6 +6086,13 @@ export declare class DescribeGatewayResponseBody extends $dara.Model {
|
|
|
5895
6086
|
* 40325405-579C-4D82****
|
|
5896
6087
|
*/
|
|
5897
6088
|
requestId?: string;
|
|
6089
|
+
/**
|
|
6090
|
+
* @remarks
|
|
6091
|
+
* Indicates whether the HTTP to HTTPS redirection is enabled.
|
|
6092
|
+
*
|
|
6093
|
+
* @example
|
|
6094
|
+
* true
|
|
6095
|
+
*/
|
|
5898
6096
|
SSLRedirectionEnabled?: boolean;
|
|
5899
6097
|
/**
|
|
5900
6098
|
* @remarks
|
|
@@ -5984,6 +6182,9 @@ export declare class DescribeGroupEndpointsResponseBody extends $dara.Model {
|
|
|
5984
6182
|
/**
|
|
5985
6183
|
* @remarks
|
|
5986
6184
|
* The response message.
|
|
6185
|
+
*
|
|
6186
|
+
* @example
|
|
6187
|
+
* Execution successful.
|
|
5987
6188
|
*/
|
|
5988
6189
|
message?: string;
|
|
5989
6190
|
/**
|
|
@@ -6022,6 +6223,91 @@ export declare class DescribeGroupEndpointsResponse extends $dara.Model {
|
|
|
6022
6223
|
[key: string]: any;
|
|
6023
6224
|
});
|
|
6024
6225
|
}
|
|
6226
|
+
export declare class DescribeMachineSpecRequest extends $dara.Model {
|
|
6227
|
+
/**
|
|
6228
|
+
* @remarks
|
|
6229
|
+
* This parameter is deprecated.
|
|
6230
|
+
*
|
|
6231
|
+
* @deprecated
|
|
6232
|
+
*/
|
|
6233
|
+
instanceTypes?: string[];
|
|
6234
|
+
static names(): {
|
|
6235
|
+
[key: string]: string;
|
|
6236
|
+
};
|
|
6237
|
+
static types(): {
|
|
6238
|
+
[key: string]: any;
|
|
6239
|
+
};
|
|
6240
|
+
validate(): void;
|
|
6241
|
+
constructor(map?: {
|
|
6242
|
+
[key: string]: any;
|
|
6243
|
+
});
|
|
6244
|
+
}
|
|
6245
|
+
export declare class DescribeMachineSpecShrinkRequest extends $dara.Model {
|
|
6246
|
+
/**
|
|
6247
|
+
* @remarks
|
|
6248
|
+
* This parameter is deprecated.
|
|
6249
|
+
*
|
|
6250
|
+
* @deprecated
|
|
6251
|
+
*/
|
|
6252
|
+
instanceTypesShrink?: string;
|
|
6253
|
+
static names(): {
|
|
6254
|
+
[key: string]: string;
|
|
6255
|
+
};
|
|
6256
|
+
static types(): {
|
|
6257
|
+
[key: string]: any;
|
|
6258
|
+
};
|
|
6259
|
+
validate(): void;
|
|
6260
|
+
constructor(map?: {
|
|
6261
|
+
[key: string]: any;
|
|
6262
|
+
});
|
|
6263
|
+
}
|
|
6264
|
+
export declare class DescribeMachineSpecResponseBody extends $dara.Model {
|
|
6265
|
+
/**
|
|
6266
|
+
* @remarks
|
|
6267
|
+
* The instance types when the resources are specified.
|
|
6268
|
+
*/
|
|
6269
|
+
instanceMetas?: DescribeMachineSpecResponseBodyInstanceMetas[];
|
|
6270
|
+
/**
|
|
6271
|
+
* @remarks
|
|
6272
|
+
* The request ID.
|
|
6273
|
+
*
|
|
6274
|
+
* @example
|
|
6275
|
+
* 40325405-579C-4D82***
|
|
6276
|
+
*/
|
|
6277
|
+
requestId?: string;
|
|
6278
|
+
/**
|
|
6279
|
+
* @remarks
|
|
6280
|
+
* The values that can be supported when the number of CPUs and memory size are specified for deployment.
|
|
6281
|
+
*/
|
|
6282
|
+
types?: DescribeMachineSpecResponseBodyTypes[];
|
|
6283
|
+
static names(): {
|
|
6284
|
+
[key: string]: string;
|
|
6285
|
+
};
|
|
6286
|
+
static types(): {
|
|
6287
|
+
[key: string]: any;
|
|
6288
|
+
};
|
|
6289
|
+
validate(): void;
|
|
6290
|
+
constructor(map?: {
|
|
6291
|
+
[key: string]: any;
|
|
6292
|
+
});
|
|
6293
|
+
}
|
|
6294
|
+
export declare class DescribeMachineSpecResponse extends $dara.Model {
|
|
6295
|
+
headers?: {
|
|
6296
|
+
[key: string]: string;
|
|
6297
|
+
};
|
|
6298
|
+
statusCode?: number;
|
|
6299
|
+
body?: DescribeMachineSpecResponseBody;
|
|
6300
|
+
static names(): {
|
|
6301
|
+
[key: string]: string;
|
|
6302
|
+
};
|
|
6303
|
+
static types(): {
|
|
6304
|
+
[key: string]: any;
|
|
6305
|
+
};
|
|
6306
|
+
validate(): void;
|
|
6307
|
+
constructor(map?: {
|
|
6308
|
+
[key: string]: any;
|
|
6309
|
+
});
|
|
6310
|
+
}
|
|
6025
6311
|
export declare class DescribeResourceResponseBody extends $dara.Model {
|
|
6026
6312
|
/**
|
|
6027
6313
|
* @remarks
|
|
@@ -6039,6 +6325,13 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
|
|
|
6039
6325
|
* 16
|
|
6040
6326
|
*/
|
|
6041
6327
|
cpuCount?: number;
|
|
6328
|
+
/**
|
|
6329
|
+
* @remarks
|
|
6330
|
+
* The number of vCPUs that is used.
|
|
6331
|
+
*
|
|
6332
|
+
* @example
|
|
6333
|
+
* 8
|
|
6334
|
+
*/
|
|
6042
6335
|
cpuUsed?: number;
|
|
6043
6336
|
/**
|
|
6044
6337
|
* @remarks
|
|
@@ -6064,6 +6357,13 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
|
|
|
6064
6357
|
* 1
|
|
6065
6358
|
*/
|
|
6066
6359
|
gpuCount?: number;
|
|
6360
|
+
/**
|
|
6361
|
+
* @remarks
|
|
6362
|
+
* The number of GPUs that is used.
|
|
6363
|
+
*
|
|
6364
|
+
* @example
|
|
6365
|
+
* 2
|
|
6366
|
+
*/
|
|
6067
6367
|
gpuUsed?: number;
|
|
6068
6368
|
/**
|
|
6069
6369
|
* @remarks
|
|
@@ -6073,7 +6373,21 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
|
|
|
6073
6373
|
* 4
|
|
6074
6374
|
*/
|
|
6075
6375
|
instanceCount?: number;
|
|
6376
|
+
/**
|
|
6377
|
+
* @remarks
|
|
6378
|
+
* The total memory size. Unit: MB.
|
|
6379
|
+
*
|
|
6380
|
+
* @example
|
|
6381
|
+
* 8192
|
|
6382
|
+
*/
|
|
6076
6383
|
memory?: number;
|
|
6384
|
+
/**
|
|
6385
|
+
* @remarks
|
|
6386
|
+
* The size of memory that is used. Unit: MB.
|
|
6387
|
+
*
|
|
6388
|
+
* @example
|
|
6389
|
+
* 2048
|
|
6390
|
+
*/
|
|
6077
6391
|
memoryUsed?: number;
|
|
6078
6392
|
/**
|
|
6079
6393
|
* @remarks
|
|
@@ -6547,6 +6861,9 @@ export declare class DescribeServiceEndpointsResponseBody extends $dara.Model {
|
|
|
6547
6861
|
/**
|
|
6548
6862
|
* @remarks
|
|
6549
6863
|
* The returned message.
|
|
6864
|
+
*
|
|
6865
|
+
* @example
|
|
6866
|
+
* Execution successful.
|
|
6550
6867
|
*/
|
|
6551
6868
|
message?: string;
|
|
6552
6869
|
/**
|
|
@@ -7152,6 +7469,13 @@ export declare class DescribeVirtualResourceResponseBody extends $dara.Model {
|
|
|
7152
7469
|
* 2024-10-16T17:52:49Z
|
|
7153
7470
|
*/
|
|
7154
7471
|
createTime?: string;
|
|
7472
|
+
/**
|
|
7473
|
+
* @remarks
|
|
7474
|
+
* Indicates whether the retention period of preemptible instances was disabled.
|
|
7475
|
+
*
|
|
7476
|
+
* @example
|
|
7477
|
+
* true
|
|
7478
|
+
*/
|
|
7155
7479
|
disableSpotProtectionPeriod?: boolean;
|
|
7156
7480
|
/**
|
|
7157
7481
|
* @remarks
|
|
@@ -7166,6 +7490,13 @@ export declare class DescribeVirtualResourceResponseBody extends $dara.Model {
|
|
|
7166
7490
|
* The list of resources in the virtual resource group.
|
|
7167
7491
|
*/
|
|
7168
7492
|
resources?: DescribeVirtualResourceResponseBodyResources[];
|
|
7493
|
+
/**
|
|
7494
|
+
* @remarks
|
|
7495
|
+
* The number of deployed services.
|
|
7496
|
+
*
|
|
7497
|
+
* @example
|
|
7498
|
+
* 1
|
|
7499
|
+
*/
|
|
7169
7500
|
serviceCount?: number;
|
|
7170
7501
|
/**
|
|
7171
7502
|
* @remarks
|
|
@@ -8023,6 +8354,13 @@ export declare class ListResourceInstanceWorkerRequest extends $dara.Model {
|
|
|
8023
8354
|
* 20
|
|
8024
8355
|
*/
|
|
8025
8356
|
pageSize?: number;
|
|
8357
|
+
/**
|
|
8358
|
+
* @remarks
|
|
8359
|
+
* The worker name.
|
|
8360
|
+
*
|
|
8361
|
+
* @example
|
|
8362
|
+
* test-fd95xxxxx-xxxxxx
|
|
8363
|
+
*/
|
|
8026
8364
|
workerName?: string;
|
|
8027
8365
|
static names(): {
|
|
8028
8366
|
[key: string]: string;
|
|
@@ -8249,6 +8587,10 @@ export declare class ListResourceInstancesRequest extends $dara.Model {
|
|
|
8249
8587
|
* Ready
|
|
8250
8588
|
*/
|
|
8251
8589
|
instanceStatus?: string;
|
|
8590
|
+
/**
|
|
8591
|
+
* @remarks
|
|
8592
|
+
* The tag.
|
|
8593
|
+
*/
|
|
8252
8594
|
label?: {
|
|
8253
8595
|
[key: string]: string;
|
|
8254
8596
|
};
|
|
@@ -8521,6 +8863,10 @@ export declare class ListResourceInstancesShrinkRequest extends $dara.Model {
|
|
|
8521
8863
|
* Ready
|
|
8522
8864
|
*/
|
|
8523
8865
|
instanceStatus?: string;
|
|
8866
|
+
/**
|
|
8867
|
+
* @remarks
|
|
8868
|
+
* The tag.
|
|
8869
|
+
*/
|
|
8524
8870
|
labelShrink?: string;
|
|
8525
8871
|
/**
|
|
8526
8872
|
* @remarks
|
|
@@ -8804,6 +9150,16 @@ export declare class ListResourceServicesResponse extends $dara.Model {
|
|
|
8804
9150
|
});
|
|
8805
9151
|
}
|
|
8806
9152
|
export declare class ListResourcesRequest extends $dara.Model {
|
|
9153
|
+
/**
|
|
9154
|
+
* @remarks
|
|
9155
|
+
* The sorting order. Valid values:
|
|
9156
|
+
*
|
|
9157
|
+
* * Desc
|
|
9158
|
+
* * Asc
|
|
9159
|
+
*
|
|
9160
|
+
* @example
|
|
9161
|
+
* Desc
|
|
9162
|
+
*/
|
|
8807
9163
|
order?: string;
|
|
8808
9164
|
/**
|
|
8809
9165
|
* @remarks
|
|
@@ -8837,6 +9193,13 @@ export declare class ListResourcesRequest extends $dara.Model {
|
|
|
8837
9193
|
* MyResource
|
|
8838
9194
|
*/
|
|
8839
9195
|
resourceName?: string;
|
|
9196
|
+
/**
|
|
9197
|
+
* @remarks
|
|
9198
|
+
* The resource group status.
|
|
9199
|
+
*
|
|
9200
|
+
* @example
|
|
9201
|
+
* ResourceReady
|
|
9202
|
+
*/
|
|
8840
9203
|
resourceStatus?: string;
|
|
8841
9204
|
/**
|
|
8842
9205
|
* @remarks
|
|
@@ -8849,6 +9212,26 @@ export declare class ListResourcesRequest extends $dara.Model {
|
|
|
8849
9212
|
* Dedicated
|
|
8850
9213
|
*/
|
|
8851
9214
|
resourceType?: string;
|
|
9215
|
+
/**
|
|
9216
|
+
* @remarks
|
|
9217
|
+
* The condition by which the results are sorted. By default, the query results are sorted by the timestamp type in descending order.
|
|
9218
|
+
*
|
|
9219
|
+
* Valid values:
|
|
9220
|
+
*
|
|
9221
|
+
* * PrePaidInstanceCount
|
|
9222
|
+
* * CpuCount
|
|
9223
|
+
* * Memory
|
|
9224
|
+
* * CreateTime
|
|
9225
|
+
* * PostPaidInstanceCount
|
|
9226
|
+
* * MemoryUsed
|
|
9227
|
+
* * GpuCount
|
|
9228
|
+
* * GpuUsed
|
|
9229
|
+
* * CpuUsed
|
|
9230
|
+
* * ServiceCount
|
|
9231
|
+
*
|
|
9232
|
+
* @example
|
|
9233
|
+
* CreateTime
|
|
9234
|
+
*/
|
|
8852
9235
|
sort?: string;
|
|
8853
9236
|
static names(): {
|
|
8854
9237
|
[key: string]: string;
|
|
@@ -9450,6 +9833,7 @@ export declare class ListServicesRequest extends $dara.Model {
|
|
|
9450
9833
|
* eas-r-hd0qwy8cxxxx
|
|
9451
9834
|
*/
|
|
9452
9835
|
resourceName?: string;
|
|
9836
|
+
resourceType?: string;
|
|
9453
9837
|
/**
|
|
9454
9838
|
* @remarks
|
|
9455
9839
|
* The server role.
|
|
@@ -9795,6 +10179,7 @@ export declare class ListServicesShrinkRequest extends $dara.Model {
|
|
|
9795
10179
|
* eas-r-hd0qwy8cxxxx
|
|
9796
10180
|
*/
|
|
9797
10181
|
resourceName?: string;
|
|
10182
|
+
resourceType?: string;
|
|
9798
10183
|
/**
|
|
9799
10184
|
* @remarks
|
|
9800
10185
|
* The server role.
|
|
@@ -10246,7 +10631,7 @@ export declare class ListVirtualResourceResponseBody extends $dara.Model {
|
|
|
10246
10631
|
totalCount?: number;
|
|
10247
10632
|
/**
|
|
10248
10633
|
* @remarks
|
|
10249
|
-
* The
|
|
10634
|
+
* The virtual resource groups.
|
|
10250
10635
|
*/
|
|
10251
10636
|
virtualResources?: ListVirtualResourceResponseBodyVirtualResources[];
|
|
10252
10637
|
static names(): {
|
|
@@ -10717,7 +11102,7 @@ export declare class UpdateAppServiceResponseBody extends $dara.Model {
|
|
|
10717
11102
|
* The returned message.
|
|
10718
11103
|
*
|
|
10719
11104
|
* @example
|
|
10720
|
-
*
|
|
11105
|
+
* Success
|
|
10721
11106
|
*/
|
|
10722
11107
|
message?: string;
|
|
10723
11108
|
/**
|
|
@@ -10833,37 +11218,41 @@ export declare class UpdateGatewayRequest extends $dara.Model {
|
|
|
10833
11218
|
* Valid values:
|
|
10834
11219
|
*
|
|
10835
11220
|
* * true
|
|
10836
|
-
*
|
|
10837
|
-
* <!-- -->
|
|
10838
|
-
*
|
|
10839
|
-
* <!-- -->
|
|
10840
|
-
*
|
|
10841
|
-
* <!-- -->
|
|
10842
|
-
*
|
|
10843
11221
|
* * false
|
|
10844
11222
|
*
|
|
10845
|
-
* <!-- -->
|
|
10846
|
-
*
|
|
10847
|
-
* <!-- -->
|
|
10848
|
-
*
|
|
10849
|
-
* <!-- -->
|
|
10850
|
-
*
|
|
10851
11223
|
* @example
|
|
10852
11224
|
* false
|
|
10853
11225
|
*/
|
|
10854
11226
|
enableInternet?: boolean;
|
|
10855
11227
|
/**
|
|
10856
11228
|
* @remarks
|
|
10857
|
-
* Specifies whether to enable
|
|
11229
|
+
* Specifies whether to enable private access. Default value: true.
|
|
11230
|
+
*
|
|
11231
|
+
* Valid values:
|
|
11232
|
+
*
|
|
11233
|
+
* * true
|
|
11234
|
+
* * false
|
|
10858
11235
|
*
|
|
10859
11236
|
* @example
|
|
10860
11237
|
* true
|
|
10861
11238
|
*/
|
|
10862
11239
|
enableIntranet?: boolean;
|
|
11240
|
+
/**
|
|
11241
|
+
* @remarks
|
|
11242
|
+
* Specifies whether to enable HTTP to HTTPS redirection. Default value: false.
|
|
11243
|
+
*
|
|
11244
|
+
* @example
|
|
11245
|
+
* false
|
|
11246
|
+
*/
|
|
10863
11247
|
enableSSLRedirection?: boolean;
|
|
10864
11248
|
/**
|
|
10865
11249
|
* @remarks
|
|
10866
|
-
* The instance type used
|
|
11250
|
+
* The instance type used by the private gateway. Valid values:
|
|
11251
|
+
*
|
|
11252
|
+
* * 2c4g
|
|
11253
|
+
* * 4c8g
|
|
11254
|
+
* * 8c16g
|
|
11255
|
+
* * 16c32g
|
|
10867
11256
|
*
|
|
10868
11257
|
* @example
|
|
10869
11258
|
* ecs.c6.4xlarge
|
|
@@ -10871,7 +11260,7 @@ export declare class UpdateGatewayRequest extends $dara.Model {
|
|
|
10871
11260
|
instanceType?: string;
|
|
10872
11261
|
/**
|
|
10873
11262
|
* @remarks
|
|
10874
|
-
*
|
|
11263
|
+
* Specifies whether it is the default private gateway.
|
|
10875
11264
|
*
|
|
10876
11265
|
* @example
|
|
10877
11266
|
* true
|
|
@@ -10879,7 +11268,7 @@ export declare class UpdateGatewayRequest extends $dara.Model {
|
|
|
10879
11268
|
isDefault?: boolean;
|
|
10880
11269
|
/**
|
|
10881
11270
|
* @remarks
|
|
10882
|
-
* The private gateway
|
|
11271
|
+
* The alias of the private gateway.
|
|
10883
11272
|
*
|
|
10884
11273
|
* @example
|
|
10885
11274
|
* mygateway1
|
|
@@ -11206,11 +11595,22 @@ export declare class UpdateResourceInstanceResponse extends $dara.Model {
|
|
|
11206
11595
|
}
|
|
11207
11596
|
export declare class UpdateResourceInstanceLabelRequest extends $dara.Model {
|
|
11208
11597
|
/**
|
|
11598
|
+
* @remarks
|
|
11599
|
+
* 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.
|
|
11600
|
+
*
|
|
11209
11601
|
* @example
|
|
11210
11602
|
* false
|
|
11211
11603
|
*/
|
|
11212
11604
|
allInstances?: boolean;
|
|
11605
|
+
/**
|
|
11606
|
+
* @remarks
|
|
11607
|
+
* The instance IDs.
|
|
11608
|
+
*/
|
|
11213
11609
|
instanceIds?: string[];
|
|
11610
|
+
/**
|
|
11611
|
+
* @remarks
|
|
11612
|
+
* The custom tag.
|
|
11613
|
+
*/
|
|
11214
11614
|
labels?: {
|
|
11215
11615
|
[key: string]: string;
|
|
11216
11616
|
};
|
|
@@ -11227,11 +11627,22 @@ export declare class UpdateResourceInstanceLabelRequest extends $dara.Model {
|
|
|
11227
11627
|
}
|
|
11228
11628
|
export declare class UpdateResourceInstanceLabelShrinkRequest extends $dara.Model {
|
|
11229
11629
|
/**
|
|
11630
|
+
* @remarks
|
|
11631
|
+
* 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.
|
|
11632
|
+
*
|
|
11230
11633
|
* @example
|
|
11231
11634
|
* false
|
|
11232
11635
|
*/
|
|
11233
11636
|
allInstances?: boolean;
|
|
11637
|
+
/**
|
|
11638
|
+
* @remarks
|
|
11639
|
+
* The instance IDs.
|
|
11640
|
+
*/
|
|
11234
11641
|
instanceIdsShrink?: string;
|
|
11642
|
+
/**
|
|
11643
|
+
* @remarks
|
|
11644
|
+
* The custom tag.
|
|
11645
|
+
*/
|
|
11235
11646
|
labels?: {
|
|
11236
11647
|
[key: string]: string;
|
|
11237
11648
|
};
|
|
@@ -11248,13 +11659,16 @@ export declare class UpdateResourceInstanceLabelShrinkRequest extends $dara.Mode
|
|
|
11248
11659
|
}
|
|
11249
11660
|
export declare class UpdateResourceInstanceLabelResponseBody extends $dara.Model {
|
|
11250
11661
|
/**
|
|
11662
|
+
* @remarks
|
|
11663
|
+
* The message.
|
|
11664
|
+
*
|
|
11251
11665
|
* @example
|
|
11252
11666
|
* Success
|
|
11253
11667
|
*/
|
|
11254
11668
|
message?: string;
|
|
11255
11669
|
/**
|
|
11256
11670
|
* @remarks
|
|
11257
|
-
*
|
|
11671
|
+
* The request ID.
|
|
11258
11672
|
*
|
|
11259
11673
|
* @example
|
|
11260
11674
|
* 40325405-579C-4D82****
|
|
@@ -11865,17 +12279,24 @@ export declare class UpdateServiceVersionResponse extends $dara.Model {
|
|
|
11865
12279
|
});
|
|
11866
12280
|
}
|
|
11867
12281
|
export declare class UpdateVirtualResourceRequest extends $dara.Model {
|
|
12282
|
+
/**
|
|
12283
|
+
* @remarks
|
|
12284
|
+
* Specifies whether to disable the retention period of preemptible instances.
|
|
12285
|
+
*
|
|
12286
|
+
* @example
|
|
12287
|
+
* true
|
|
12288
|
+
*/
|
|
11868
12289
|
disableSpotProtectionPeriod?: boolean;
|
|
11869
12290
|
/**
|
|
11870
12291
|
* @remarks
|
|
11871
|
-
* The
|
|
12292
|
+
* The resources in the virtual resource group.
|
|
11872
12293
|
*
|
|
11873
|
-
* > If you specify this parameter, previous data
|
|
12294
|
+
* > If you specify this parameter, previous data is overwritten.
|
|
11874
12295
|
*/
|
|
11875
12296
|
resources?: UpdateVirtualResourceRequestResources[];
|
|
11876
12297
|
/**
|
|
11877
12298
|
* @remarks
|
|
11878
|
-
* The new name
|
|
12299
|
+
* The new name of the virtual resource group.
|
|
11879
12300
|
*
|
|
11880
12301
|
* @example
|
|
11881
12302
|
* NewMyVirtualResource
|
|
@@ -12372,7 +12793,7 @@ export default class Client extends OpenApi {
|
|
|
12372
12793
|
*/
|
|
12373
12794
|
deleteResourceDLink(ClusterId: string, ResourceId: string): Promise<DeleteResourceDLinkResponse>;
|
|
12374
12795
|
/**
|
|
12375
|
-
*
|
|
12796
|
+
* Deletes the tags of an instance in a resource group.
|
|
12376
12797
|
*
|
|
12377
12798
|
* @param tmpReq - DeleteResourceInstanceLabelRequest
|
|
12378
12799
|
* @param headers - map
|
|
@@ -12383,7 +12804,7 @@ export default class Client extends OpenApi {
|
|
|
12383
12804
|
[key: string]: string;
|
|
12384
12805
|
}, runtime: $dara.RuntimeOptions): Promise<DeleteResourceInstanceLabelResponse>;
|
|
12385
12806
|
/**
|
|
12386
|
-
*
|
|
12807
|
+
* Deletes the tags of an instance in a resource group.
|
|
12387
12808
|
*
|
|
12388
12809
|
* @param request - DeleteResourceInstanceLabelRequest
|
|
12389
12810
|
* @returns DeleteResourceInstanceLabelResponse
|
|
@@ -12611,6 +13032,24 @@ export default class Client extends OpenApi {
|
|
|
12611
13032
|
* @returns DescribeGroupEndpointsResponse
|
|
12612
13033
|
*/
|
|
12613
13034
|
describeGroupEndpoints(ClusterId: string, GroupName: string): Promise<DescribeGroupEndpointsResponse>;
|
|
13035
|
+
/**
|
|
13036
|
+
* Queries a list of instance types for an available instance in a shared resource group.
|
|
13037
|
+
*
|
|
13038
|
+
* @param tmpReq - DescribeMachineSpecRequest
|
|
13039
|
+
* @param headers - map
|
|
13040
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13041
|
+
* @returns DescribeMachineSpecResponse
|
|
13042
|
+
*/
|
|
13043
|
+
describeMachineSpecWithOptions(tmpReq: DescribeMachineSpecRequest, headers: {
|
|
13044
|
+
[key: string]: string;
|
|
13045
|
+
}, runtime: $dara.RuntimeOptions): Promise<DescribeMachineSpecResponse>;
|
|
13046
|
+
/**
|
|
13047
|
+
* Queries a list of instance types for an available instance in a shared resource group.
|
|
13048
|
+
*
|
|
13049
|
+
* @param request - DescribeMachineSpecRequest
|
|
13050
|
+
* @returns DescribeMachineSpecResponse
|
|
13051
|
+
*/
|
|
13052
|
+
describeMachineSpec(request: DescribeMachineSpecRequest): Promise<DescribeMachineSpecResponse>;
|
|
12614
13053
|
/**
|
|
12615
13054
|
* Queries the information about a resource group.
|
|
12616
13055
|
*
|
|
@@ -13414,7 +13853,7 @@ export default class Client extends OpenApi {
|
|
|
13414
13853
|
*/
|
|
13415
13854
|
updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse>;
|
|
13416
13855
|
/**
|
|
13417
|
-
*
|
|
13856
|
+
* Updates the tag of an instance in a resource group.
|
|
13418
13857
|
*
|
|
13419
13858
|
* @param tmpReq - UpdateResourceInstanceLabelRequest
|
|
13420
13859
|
* @param headers - map
|
|
@@ -13425,7 +13864,7 @@ export default class Client extends OpenApi {
|
|
|
13425
13864
|
[key: string]: string;
|
|
13426
13865
|
}, runtime: $dara.RuntimeOptions): Promise<UpdateResourceInstanceLabelResponse>;
|
|
13427
13866
|
/**
|
|
13428
|
-
*
|
|
13867
|
+
* Updates the tag of an instance in a resource group.
|
|
13429
13868
|
*
|
|
13430
13869
|
* @param request - UpdateResourceInstanceLabelRequest
|
|
13431
13870
|
* @returns UpdateResourceInstanceLabelResponse
|