@alicloud/eas20210701 6.5.0 → 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 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 for nodes.
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
- * Tolerations for nodes.
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-EAS) are granted.
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 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 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 specifies a higher priority.
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 Resource Quota ID.
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 where the resource resides.
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 query the ID of a dedicated resource group, see [ListResources](https://help.aliyun.com/document_detail/412133.html).
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 do not set this value, preemptible instances are not used.
466
+ * > If you leave this parameter empty, preemptible instances are not used.
467
467
  *
468
468
  * @example
469
469
  * 10.05
@@ -603,6 +603,91 @@ 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
+ * @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
+ }
606
691
  export declare class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $dara.Model {
607
692
  /**
608
693
  * @remarks
@@ -1735,6 +1820,13 @@ export declare class ListVirtualResourceResponseBodyVirtualResources extends $da
1735
1820
  * 2024-10-16T17:52:49Z
1736
1821
  */
1737
1822
  createTime?: string;
1823
+ /**
1824
+ * @remarks
1825
+ * The number of deployed services.
1826
+ *
1827
+ * @example
1828
+ * 1
1829
+ */
1738
1830
  serviceCount?: number;
1739
1831
  /**
1740
1832
  * @remarks
@@ -2040,7 +2132,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
2040
2132
  instanceType?: string;
2041
2133
  /**
2042
2134
  * @remarks
2043
- * The priority of resource scheduling. A greater number specifies a higher priority.
2135
+ * The priority of resource scheduling. A greater number indicates a higher priority.
2044
2136
  *
2045
2137
  * @example
2046
2138
  * 6
@@ -2048,7 +2140,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
2048
2140
  priority?: number;
2049
2141
  /**
2050
2142
  * @remarks
2051
- * The Lingjun resource quota ID.
2143
+ * The ID of the Lingjun resource quota.
2052
2144
  *
2053
2145
  * > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
2054
2146
  *
@@ -2058,7 +2150,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
2058
2150
  quotaId?: string;
2059
2151
  /**
2060
2152
  * @remarks
2061
- * The region where the resource resides.
2153
+ * The region in which the resource resides.
2062
2154
  *
2063
2155
  * @example
2064
2156
  * cn-hangzhou
@@ -2066,7 +2158,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
2066
2158
  region?: string;
2067
2159
  /**
2068
2160
  * @remarks
2069
- * The ID of the dedicated resource group. For information about how to query the ID of a dedicated resource group, see [ListResources](https://help.aliyun.com/document_detail/412133.html).
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).
2070
2162
  *
2071
2163
  * > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
2072
2164
  *
@@ -2078,7 +2170,7 @@ export declare class UpdateVirtualResourceRequestResources extends $dara.Model {
2078
2170
  * @remarks
2079
2171
  * The maximum price of preemptible instances in a public resource group.
2080
2172
  *
2081
- * > If you do not specify this parameter, preemptible instances are not used.
2173
+ * > If you leave this parameter empty, preemptible instances are not used.
2082
2174
  *
2083
2175
  * @example
2084
2176
  * 10.05
@@ -3418,6 +3510,10 @@ export declare class CreateResourceRequest extends $dara.Model {
3418
3510
  * ecs.c6.8xlarge
3419
3511
  */
3420
3512
  ecsInstanceType?: string;
3513
+ /**
3514
+ * @remarks
3515
+ * The custom tag.
3516
+ */
3421
3517
  labels?: {
3422
3518
  [key: string]: string;
3423
3519
  };
@@ -3585,6 +3681,10 @@ export declare class CreateResourceInstancesRequest extends $dara.Model {
3585
3681
  * ecs.s6-c1m2.xlarge
3586
3682
  */
3587
3683
  ecsInstanceType?: string;
3684
+ /**
3685
+ * @remarks
3686
+ * The custom service tag.
3687
+ */
3588
3688
  labels?: {
3589
3689
  [key: string]: string;
3590
3690
  };
@@ -4324,10 +4424,17 @@ export declare class CreateServiceMirrorResponse extends $dara.Model {
4324
4424
  });
4325
4425
  }
4326
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
+ */
4327
4434
  disableSpotProtectionPeriod?: boolean;
4328
4435
  /**
4329
4436
  * @remarks
4330
- * The list of resources in the virtual resource group.
4437
+ * The resources in the virtual resource group.
4331
4438
  */
4332
4439
  resources?: CreateVirtualResourceRequestResources[];
4333
4440
  /**
@@ -4878,8 +4985,20 @@ export declare class DeleteResourceDLinkResponse extends $dara.Model {
4878
4985
  });
4879
4986
  }
4880
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
+ */
4881
4992
  allInstances?: boolean;
4993
+ /**
4994
+ * @remarks
4995
+ * The instance IDs.
4996
+ */
4882
4997
  instanceIds?: string[];
4998
+ /**
4999
+ * @remarks
5000
+ * The keys of the tags that you want to delete.
5001
+ */
4883
5002
  keys?: string[];
4884
5003
  static names(): {
4885
5004
  [key: string]: string;
@@ -4893,8 +5012,20 @@ export declare class DeleteResourceInstanceLabelRequest extends $dara.Model {
4893
5012
  });
4894
5013
  }
4895
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
+ */
4896
5019
  allInstances?: boolean;
5020
+ /**
5021
+ * @remarks
5022
+ * The instance IDs.
5023
+ */
4897
5024
  instanceIdsShrink?: string;
5025
+ /**
5026
+ * @remarks
5027
+ * The keys of the tags that you want to delete.
5028
+ */
4898
5029
  keysShrink?: string;
4899
5030
  static names(): {
4900
5031
  [key: string]: string;
@@ -4909,11 +5040,17 @@ export declare class DeleteResourceInstanceLabelShrinkRequest extends $dara.Mode
4909
5040
  }
4910
5041
  export declare class DeleteResourceInstanceLabelResponseBody extends $dara.Model {
4911
5042
  /**
5043
+ * @remarks
5044
+ * The message.
5045
+ *
4912
5046
  * @example
4913
5047
  * success
4914
5048
  */
4915
5049
  message?: string;
4916
5050
  /**
5051
+ * @remarks
5052
+ * The request ID.
5053
+ *
4917
5054
  * @example
4918
5055
  * 40325405-579C-4D82********
4919
5056
  */
@@ -5895,6 +6032,13 @@ export declare class DescribeGatewayResponseBody extends $dara.Model {
5895
6032
  * 40325405-579C-4D82****
5896
6033
  */
5897
6034
  requestId?: string;
6035
+ /**
6036
+ * @remarks
6037
+ * Indicates whether the HTTP to HTTPS redirection is enabled.
6038
+ *
6039
+ * @example
6040
+ * true
6041
+ */
5898
6042
  SSLRedirectionEnabled?: boolean;
5899
6043
  /**
5900
6044
  * @remarks
@@ -5984,6 +6128,9 @@ export declare class DescribeGroupEndpointsResponseBody extends $dara.Model {
5984
6128
  /**
5985
6129
  * @remarks
5986
6130
  * The response message.
6131
+ *
6132
+ * @example
6133
+ * Execution successful.
5987
6134
  */
5988
6135
  message?: string;
5989
6136
  /**
@@ -6022,6 +6169,74 @@ export declare class DescribeGroupEndpointsResponse extends $dara.Model {
6022
6169
  [key: string]: any;
6023
6170
  });
6024
6171
  }
6172
+ export declare class DescribeMachineSpecRequest extends $dara.Model {
6173
+ /**
6174
+ * @deprecated
6175
+ */
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 {
6189
+ /**
6190
+ * @deprecated
6191
+ */
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[];
6206
+ /**
6207
+ * @example
6208
+ * 40325405-579C-4D82***
6209
+ */
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
+ }
6025
6240
  export declare class DescribeResourceResponseBody extends $dara.Model {
6026
6241
  /**
6027
6242
  * @remarks
@@ -6039,6 +6254,13 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
6039
6254
  * 16
6040
6255
  */
6041
6256
  cpuCount?: number;
6257
+ /**
6258
+ * @remarks
6259
+ * The number of vCPUs that is used.
6260
+ *
6261
+ * @example
6262
+ * 8
6263
+ */
6042
6264
  cpuUsed?: number;
6043
6265
  /**
6044
6266
  * @remarks
@@ -6064,6 +6286,13 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
6064
6286
  * 1
6065
6287
  */
6066
6288
  gpuCount?: number;
6289
+ /**
6290
+ * @remarks
6291
+ * The number of GPUs that is used.
6292
+ *
6293
+ * @example
6294
+ * 2
6295
+ */
6067
6296
  gpuUsed?: number;
6068
6297
  /**
6069
6298
  * @remarks
@@ -6073,7 +6302,21 @@ export declare class DescribeResourceResponseBody extends $dara.Model {
6073
6302
  * 4
6074
6303
  */
6075
6304
  instanceCount?: number;
6305
+ /**
6306
+ * @remarks
6307
+ * The total memory size. Unit: MB.
6308
+ *
6309
+ * @example
6310
+ * 8192
6311
+ */
6076
6312
  memory?: number;
6313
+ /**
6314
+ * @remarks
6315
+ * The size of memory that is used. Unit: MB.
6316
+ *
6317
+ * @example
6318
+ * 2048
6319
+ */
6077
6320
  memoryUsed?: number;
6078
6321
  /**
6079
6322
  * @remarks
@@ -6547,6 +6790,9 @@ export declare class DescribeServiceEndpointsResponseBody extends $dara.Model {
6547
6790
  /**
6548
6791
  * @remarks
6549
6792
  * The returned message.
6793
+ *
6794
+ * @example
6795
+ * Execution successful.
6550
6796
  */
6551
6797
  message?: string;
6552
6798
  /**
@@ -7152,6 +7398,13 @@ export declare class DescribeVirtualResourceResponseBody extends $dara.Model {
7152
7398
  * 2024-10-16T17:52:49Z
7153
7399
  */
7154
7400
  createTime?: string;
7401
+ /**
7402
+ * @remarks
7403
+ * Indicates whether the retention period of preemptible instances was disabled.
7404
+ *
7405
+ * @example
7406
+ * true
7407
+ */
7155
7408
  disableSpotProtectionPeriod?: boolean;
7156
7409
  /**
7157
7410
  * @remarks
@@ -7166,6 +7419,13 @@ export declare class DescribeVirtualResourceResponseBody extends $dara.Model {
7166
7419
  * The list of resources in the virtual resource group.
7167
7420
  */
7168
7421
  resources?: DescribeVirtualResourceResponseBodyResources[];
7422
+ /**
7423
+ * @remarks
7424
+ * The number of deployed services.
7425
+ *
7426
+ * @example
7427
+ * 1
7428
+ */
7169
7429
  serviceCount?: number;
7170
7430
  /**
7171
7431
  * @remarks
@@ -8023,6 +8283,13 @@ export declare class ListResourceInstanceWorkerRequest extends $dara.Model {
8023
8283
  * 20
8024
8284
  */
8025
8285
  pageSize?: number;
8286
+ /**
8287
+ * @remarks
8288
+ * The worker name.
8289
+ *
8290
+ * @example
8291
+ * test-fd95xxxxx-xxxxxx
8292
+ */
8026
8293
  workerName?: string;
8027
8294
  static names(): {
8028
8295
  [key: string]: string;
@@ -8249,6 +8516,10 @@ export declare class ListResourceInstancesRequest extends $dara.Model {
8249
8516
  * Ready
8250
8517
  */
8251
8518
  instanceStatus?: string;
8519
+ /**
8520
+ * @remarks
8521
+ * The tag.
8522
+ */
8252
8523
  label?: {
8253
8524
  [key: string]: string;
8254
8525
  };
@@ -8521,6 +8792,10 @@ export declare class ListResourceInstancesShrinkRequest extends $dara.Model {
8521
8792
  * Ready
8522
8793
  */
8523
8794
  instanceStatus?: string;
8795
+ /**
8796
+ * @remarks
8797
+ * The tag.
8798
+ */
8524
8799
  labelShrink?: string;
8525
8800
  /**
8526
8801
  * @remarks
@@ -8804,6 +9079,16 @@ export declare class ListResourceServicesResponse extends $dara.Model {
8804
9079
  });
8805
9080
  }
8806
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
+ */
8807
9092
  order?: string;
8808
9093
  /**
8809
9094
  * @remarks
@@ -8837,6 +9122,13 @@ export declare class ListResourcesRequest extends $dara.Model {
8837
9122
  * MyResource
8838
9123
  */
8839
9124
  resourceName?: string;
9125
+ /**
9126
+ * @remarks
9127
+ * The resource group status.
9128
+ *
9129
+ * @example
9130
+ * ResourceReady
9131
+ */
8840
9132
  resourceStatus?: string;
8841
9133
  /**
8842
9134
  * @remarks
@@ -8849,6 +9141,26 @@ export declare class ListResourcesRequest extends $dara.Model {
8849
9141
  * Dedicated
8850
9142
  */
8851
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
+ */
8852
9164
  sort?: string;
8853
9165
  static names(): {
8854
9166
  [key: string]: string;
@@ -10246,7 +10558,7 @@ export declare class ListVirtualResourceResponseBody extends $dara.Model {
10246
10558
  totalCount?: number;
10247
10559
  /**
10248
10560
  * @remarks
10249
- * The list of virtual resource groups.
10561
+ * The virtual resource groups.
10250
10562
  */
10251
10563
  virtualResources?: ListVirtualResourceResponseBodyVirtualResources[];
10252
10564
  static names(): {
@@ -10833,37 +11145,41 @@ export declare class UpdateGatewayRequest extends $dara.Model {
10833
11145
  * Valid values:
10834
11146
  *
10835
11147
  * * true
10836
- *
10837
- * <!-- -->
10838
- *
10839
- * <!-- -->
10840
- *
10841
- * <!-- -->
10842
- *
10843
11148
  * * false
10844
11149
  *
10845
- * <!-- -->
10846
- *
10847
- * <!-- -->
10848
- *
10849
- * <!-- -->
10850
- *
10851
11150
  * @example
10852
11151
  * false
10853
11152
  */
10854
11153
  enableInternet?: boolean;
10855
11154
  /**
10856
11155
  * @remarks
10857
- * Specifies whether to enable internal network access. Default value: true.
11156
+ * Specifies whether to enable private access. Default value: true.
11157
+ *
11158
+ * Valid values:
11159
+ *
11160
+ * * true
11161
+ * * false
10858
11162
  *
10859
11163
  * @example
10860
11164
  * true
10861
11165
  */
10862
11166
  enableIntranet?: boolean;
11167
+ /**
11168
+ * @remarks
11169
+ * Specifies whether to enable HTTP to HTTPS redirection. Default value: false.
11170
+ *
11171
+ * @example
11172
+ * false
11173
+ */
10863
11174
  enableSSLRedirection?: boolean;
10864
11175
  /**
10865
11176
  * @remarks
10866
- * The instance type used for the private gateway.
11177
+ * The instance type used by the private gateway. Valid values:
11178
+ *
11179
+ * * 2c4g
11180
+ * * 4c8g
11181
+ * * 8c16g
11182
+ * * 16c32g
10867
11183
  *
10868
11184
  * @example
10869
11185
  * ecs.c6.4xlarge
@@ -10871,7 +11187,7 @@ export declare class UpdateGatewayRequest extends $dara.Model {
10871
11187
  instanceType?: string;
10872
11188
  /**
10873
11189
  * @remarks
10874
- * Indicates whether it is the default private gateway.
11190
+ * Specifies whether it is the default private gateway.
10875
11191
  *
10876
11192
  * @example
10877
11193
  * true
@@ -10879,7 +11195,7 @@ export declare class UpdateGatewayRequest extends $dara.Model {
10879
11195
  isDefault?: boolean;
10880
11196
  /**
10881
11197
  * @remarks
10882
- * The private gateway alias.
11198
+ * The alias of the private gateway.
10883
11199
  *
10884
11200
  * @example
10885
11201
  * mygateway1
@@ -11206,11 +11522,22 @@ export declare class UpdateResourceInstanceResponse extends $dara.Model {
11206
11522
  }
11207
11523
  export declare class UpdateResourceInstanceLabelRequest extends $dara.Model {
11208
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
+ *
11209
11528
  * @example
11210
11529
  * false
11211
11530
  */
11212
11531
  allInstances?: boolean;
11532
+ /**
11533
+ * @remarks
11534
+ * The instance IDs.
11535
+ */
11213
11536
  instanceIds?: string[];
11537
+ /**
11538
+ * @remarks
11539
+ * The custom tag.
11540
+ */
11214
11541
  labels?: {
11215
11542
  [key: string]: string;
11216
11543
  };
@@ -11227,11 +11554,22 @@ export declare class UpdateResourceInstanceLabelRequest extends $dara.Model {
11227
11554
  }
11228
11555
  export declare class UpdateResourceInstanceLabelShrinkRequest extends $dara.Model {
11229
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
+ *
11230
11560
  * @example
11231
11561
  * false
11232
11562
  */
11233
11563
  allInstances?: boolean;
11564
+ /**
11565
+ * @remarks
11566
+ * The instance IDs.
11567
+ */
11234
11568
  instanceIdsShrink?: string;
11569
+ /**
11570
+ * @remarks
11571
+ * The custom tag.
11572
+ */
11235
11573
  labels?: {
11236
11574
  [key: string]: string;
11237
11575
  };
@@ -11248,13 +11586,16 @@ export declare class UpdateResourceInstanceLabelShrinkRequest extends $dara.Mode
11248
11586
  }
11249
11587
  export declare class UpdateResourceInstanceLabelResponseBody extends $dara.Model {
11250
11588
  /**
11589
+ * @remarks
11590
+ * The message.
11591
+ *
11251
11592
  * @example
11252
11593
  * Success
11253
11594
  */
11254
11595
  message?: string;
11255
11596
  /**
11256
11597
  * @remarks
11257
- * Id of the request
11598
+ * The request ID.
11258
11599
  *
11259
11600
  * @example
11260
11601
  * 40325405-579C-4D82****
@@ -11865,17 +12206,24 @@ export declare class UpdateServiceVersionResponse extends $dara.Model {
11865
12206
  });
11866
12207
  }
11867
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
+ */
11868
12216
  disableSpotProtectionPeriod?: boolean;
11869
12217
  /**
11870
12218
  * @remarks
11871
- * The list of resources in the virtual resource group.
12219
+ * The resources in the virtual resource group.
11872
12220
  *
11873
- * > If you specify this parameter, previous data are overwritten.
12221
+ * > If you specify this parameter, previous data is overwritten.
11874
12222
  */
11875
12223
  resources?: UpdateVirtualResourceRequestResources[];
11876
12224
  /**
11877
12225
  * @remarks
11878
- * The new name for the virtual resource group.
12226
+ * The new name of the virtual resource group.
11879
12227
  *
11880
12228
  * @example
11881
12229
  * NewMyVirtualResource
@@ -12372,7 +12720,7 @@ export default class Client extends OpenApi {
12372
12720
  */
12373
12721
  deleteResourceDLink(ClusterId: string, ResourceId: string): Promise<DeleteResourceDLinkResponse>;
12374
12722
  /**
12375
- * 删除资源组实例标签
12723
+ * Deletes the tags of an instance in a resource group.
12376
12724
  *
12377
12725
  * @param tmpReq - DeleteResourceInstanceLabelRequest
12378
12726
  * @param headers - map
@@ -12383,7 +12731,7 @@ export default class Client extends OpenApi {
12383
12731
  [key: string]: string;
12384
12732
  }, runtime: $dara.RuntimeOptions): Promise<DeleteResourceInstanceLabelResponse>;
12385
12733
  /**
12386
- * 删除资源组实例标签
12734
+ * Deletes the tags of an instance in a resource group.
12387
12735
  *
12388
12736
  * @param request - DeleteResourceInstanceLabelRequest
12389
12737
  * @returns DeleteResourceInstanceLabelResponse
@@ -12611,6 +12959,24 @@ export default class Client extends OpenApi {
12611
12959
  * @returns DescribeGroupEndpointsResponse
12612
12960
  */
12613
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>;
12614
12980
  /**
12615
12981
  * Queries the information about a resource group.
12616
12982
  *
@@ -13414,7 +13780,7 @@ export default class Client extends OpenApi {
13414
13780
  */
13415
13781
  updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse>;
13416
13782
  /**
13417
- * 更新资源组实例标签
13783
+ * Updates the tag of an instance in a resource group.
13418
13784
  *
13419
13785
  * @param tmpReq - UpdateResourceInstanceLabelRequest
13420
13786
  * @param headers - map
@@ -13425,7 +13791,7 @@ export default class Client extends OpenApi {
13425
13791
  [key: string]: string;
13426
13792
  }, runtime: $dara.RuntimeOptions): Promise<UpdateResourceInstanceLabelResponse>;
13427
13793
  /**
13428
- * 更新资源组实例标签
13794
+ * Updates the tag of an instance in a resource group.
13429
13795
  *
13430
13796
  * @param request - UpdateResourceInstanceLabelRequest
13431
13797
  * @returns UpdateResourceInstanceLabelResponse