@alicloud/ess20220222 1.7.0 → 1.8.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 +529 -12
- package/dist/client.js +412 -11
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +782 -12
package/src/client.ts
CHANGED
|
@@ -1908,6 +1908,100 @@ export class CreateAlarmResponse extends $tea.Model {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
|
+
export class CreateDiagnoseReportRequest extends $tea.Model {
|
|
1912
|
+
/**
|
|
1913
|
+
* @remarks
|
|
1914
|
+
* This parameter is required.
|
|
1915
|
+
*
|
|
1916
|
+
* @example
|
|
1917
|
+
* cn-hangzhou
|
|
1918
|
+
*/
|
|
1919
|
+
regionId?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* @remarks
|
|
1922
|
+
* This parameter is required.
|
|
1923
|
+
*
|
|
1924
|
+
* @example
|
|
1925
|
+
* asg-bp1f2f6oxc2*******
|
|
1926
|
+
*/
|
|
1927
|
+
scalingGroupId?: string;
|
|
1928
|
+
static names(): { [key: string]: string } {
|
|
1929
|
+
return {
|
|
1930
|
+
regionId: 'RegionId',
|
|
1931
|
+
scalingGroupId: 'ScalingGroupId',
|
|
1932
|
+
};
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
static types(): { [key: string]: any } {
|
|
1936
|
+
return {
|
|
1937
|
+
regionId: 'string',
|
|
1938
|
+
scalingGroupId: 'string',
|
|
1939
|
+
};
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
constructor(map?: { [key: string]: any }) {
|
|
1943
|
+
super(map);
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
export class CreateDiagnoseReportResponseBody extends $tea.Model {
|
|
1948
|
+
/**
|
|
1949
|
+
* @example
|
|
1950
|
+
* dr-uf6enpbnri1xhcy9qc7s
|
|
1951
|
+
*/
|
|
1952
|
+
reportId?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* @remarks
|
|
1955
|
+
* Id of the request
|
|
1956
|
+
*
|
|
1957
|
+
* @example
|
|
1958
|
+
* 0189C6CB-07BA-5AFE-B533-D93892324774
|
|
1959
|
+
*/
|
|
1960
|
+
requestId?: string;
|
|
1961
|
+
static names(): { [key: string]: string } {
|
|
1962
|
+
return {
|
|
1963
|
+
reportId: 'ReportId',
|
|
1964
|
+
requestId: 'RequestId',
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
static types(): { [key: string]: any } {
|
|
1969
|
+
return {
|
|
1970
|
+
reportId: 'string',
|
|
1971
|
+
requestId: 'string',
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
constructor(map?: { [key: string]: any }) {
|
|
1976
|
+
super(map);
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
export class CreateDiagnoseReportResponse extends $tea.Model {
|
|
1981
|
+
headers?: { [key: string]: string };
|
|
1982
|
+
statusCode?: number;
|
|
1983
|
+
body?: CreateDiagnoseReportResponseBody;
|
|
1984
|
+
static names(): { [key: string]: string } {
|
|
1985
|
+
return {
|
|
1986
|
+
headers: 'headers',
|
|
1987
|
+
statusCode: 'statusCode',
|
|
1988
|
+
body: 'body',
|
|
1989
|
+
};
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
static types(): { [key: string]: any } {
|
|
1993
|
+
return {
|
|
1994
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1995
|
+
statusCode: 'number',
|
|
1996
|
+
body: CreateDiagnoseReportResponseBody,
|
|
1997
|
+
};
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
constructor(map?: { [key: string]: any }) {
|
|
2001
|
+
super(map);
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
|
|
1911
2005
|
export class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
1912
2006
|
/**
|
|
1913
2007
|
* @remarks
|
|
@@ -2937,6 +3031,8 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
2937
3031
|
* hpc-clusterid
|
|
2938
3032
|
*/
|
|
2939
3033
|
hpcClusterId?: string;
|
|
3034
|
+
httpEndpoint?: string;
|
|
3035
|
+
httpTokens?: string;
|
|
2940
3036
|
/**
|
|
2941
3037
|
* @remarks
|
|
2942
3038
|
* The name of the image family. If you specify this parameter, the most recent custom images that are available in the specified image family are returned. You can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -3310,6 +3406,8 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
3310
3406
|
deploymentSetId: 'DeploymentSetId',
|
|
3311
3407
|
hostName: 'HostName',
|
|
3312
3408
|
hpcClusterId: 'HpcClusterId',
|
|
3409
|
+
httpEndpoint: 'HttpEndpoint',
|
|
3410
|
+
httpTokens: 'HttpTokens',
|
|
3313
3411
|
imageFamily: 'ImageFamily',
|
|
3314
3412
|
imageId: 'ImageId',
|
|
3315
3413
|
imageName: 'ImageName',
|
|
@@ -3373,6 +3471,8 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
3373
3471
|
deploymentSetId: 'string',
|
|
3374
3472
|
hostName: 'string',
|
|
3375
3473
|
hpcClusterId: 'string',
|
|
3474
|
+
httpEndpoint: 'string',
|
|
3475
|
+
httpTokens: 'string',
|
|
3376
3476
|
imageFamily: 'string',
|
|
3377
3477
|
imageId: 'string',
|
|
3378
3478
|
imageName: 'string',
|
|
@@ -3542,6 +3642,8 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3542
3642
|
* hpc-clusterid
|
|
3543
3643
|
*/
|
|
3544
3644
|
hpcClusterId?: string;
|
|
3645
|
+
httpEndpoint?: string;
|
|
3646
|
+
httpTokens?: string;
|
|
3545
3647
|
/**
|
|
3546
3648
|
* @remarks
|
|
3547
3649
|
* The name of the image family. If you specify this parameter, the most recent custom images that are available in the specified image family are returned. You can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -3915,6 +4017,8 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3915
4017
|
deploymentSetId: 'DeploymentSetId',
|
|
3916
4018
|
hostName: 'HostName',
|
|
3917
4019
|
hpcClusterId: 'HpcClusterId',
|
|
4020
|
+
httpEndpoint: 'HttpEndpoint',
|
|
4021
|
+
httpTokens: 'HttpTokens',
|
|
3918
4022
|
imageFamily: 'ImageFamily',
|
|
3919
4023
|
imageId: 'ImageId',
|
|
3920
4024
|
imageName: 'ImageName',
|
|
@@ -3978,6 +4082,8 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3978
4082
|
deploymentSetId: 'string',
|
|
3979
4083
|
hostName: 'string',
|
|
3980
4084
|
hpcClusterId: 'string',
|
|
4085
|
+
httpEndpoint: 'string',
|
|
4086
|
+
httpTokens: 'string',
|
|
3981
4087
|
imageFamily: 'string',
|
|
3982
4088
|
imageId: 'string',
|
|
3983
4089
|
imageName: 'string',
|
|
@@ -4492,6 +4598,17 @@ export class CreateScalingGroupRequest extends $tea.Model {
|
|
|
4492
4598
|
*/
|
|
4493
4599
|
spotInstanceRemedy?: boolean;
|
|
4494
4600
|
/**
|
|
4601
|
+
* @remarks
|
|
4602
|
+
* The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
4603
|
+
*
|
|
4604
|
+
* >
|
|
4605
|
+
*
|
|
4606
|
+
* * This parameter takes effect only if you set ScalingPolicy to release.
|
|
4607
|
+
*
|
|
4608
|
+
* * If you specify this parameter, the system will wait for the ECS instance to enter the Stopped state for the specified period of time before continuing with the scale-in operation, regardless of the status of the ECS instance.
|
|
4609
|
+
*
|
|
4610
|
+
* * If you do not specify this parameter, the system will wait for the ECS instance to stop before continuing with the scale-in operation. If the ECS instance is not successfully stopped, the scale-in process will be rolled back and considered failed.
|
|
4611
|
+
*
|
|
4495
4612
|
* @example
|
|
4496
4613
|
* 60
|
|
4497
4614
|
*/
|
|
@@ -6597,6 +6714,134 @@ export class DescribeAlertConfigurationResponse extends $tea.Model {
|
|
|
6597
6714
|
}
|
|
6598
6715
|
}
|
|
6599
6716
|
|
|
6717
|
+
export class DescribeDiagnoseReportsRequest extends $tea.Model {
|
|
6718
|
+
/**
|
|
6719
|
+
* @example
|
|
6720
|
+
* 1
|
|
6721
|
+
*/
|
|
6722
|
+
pageNumber?: number;
|
|
6723
|
+
/**
|
|
6724
|
+
* @example
|
|
6725
|
+
* 10
|
|
6726
|
+
*/
|
|
6727
|
+
pageSize?: number;
|
|
6728
|
+
/**
|
|
6729
|
+
* @remarks
|
|
6730
|
+
* This parameter is required.
|
|
6731
|
+
*
|
|
6732
|
+
* @example
|
|
6733
|
+
* cn-shenzhen
|
|
6734
|
+
*/
|
|
6735
|
+
regionId?: string;
|
|
6736
|
+
reportIds?: string[];
|
|
6737
|
+
/**
|
|
6738
|
+
* @remarks
|
|
6739
|
+
* This parameter is required.
|
|
6740
|
+
*
|
|
6741
|
+
* @example
|
|
6742
|
+
* asg-2vcis7yglxtm*****
|
|
6743
|
+
*/
|
|
6744
|
+
scalingGroupId?: string;
|
|
6745
|
+
static names(): { [key: string]: string } {
|
|
6746
|
+
return {
|
|
6747
|
+
pageNumber: 'PageNumber',
|
|
6748
|
+
pageSize: 'PageSize',
|
|
6749
|
+
regionId: 'RegionId',
|
|
6750
|
+
reportIds: 'ReportIds',
|
|
6751
|
+
scalingGroupId: 'ScalingGroupId',
|
|
6752
|
+
};
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
static types(): { [key: string]: any } {
|
|
6756
|
+
return {
|
|
6757
|
+
pageNumber: 'number',
|
|
6758
|
+
pageSize: 'number',
|
|
6759
|
+
regionId: 'string',
|
|
6760
|
+
reportIds: { 'type': 'array', 'itemType': 'string' },
|
|
6761
|
+
scalingGroupId: 'string',
|
|
6762
|
+
};
|
|
6763
|
+
}
|
|
6764
|
+
|
|
6765
|
+
constructor(map?: { [key: string]: any }) {
|
|
6766
|
+
super(map);
|
|
6767
|
+
}
|
|
6768
|
+
}
|
|
6769
|
+
|
|
6770
|
+
export class DescribeDiagnoseReportsResponseBody extends $tea.Model {
|
|
6771
|
+
/**
|
|
6772
|
+
* @example
|
|
6773
|
+
* 1
|
|
6774
|
+
*/
|
|
6775
|
+
pageNumber?: number;
|
|
6776
|
+
/**
|
|
6777
|
+
* @example
|
|
6778
|
+
* 10
|
|
6779
|
+
*/
|
|
6780
|
+
pageSize?: number;
|
|
6781
|
+
reports?: DescribeDiagnoseReportsResponseBodyReports[];
|
|
6782
|
+
/**
|
|
6783
|
+
* @remarks
|
|
6784
|
+
* Id of the request
|
|
6785
|
+
*
|
|
6786
|
+
* @example
|
|
6787
|
+
* ECA123C6-107B-5F70-A177-740A7224C996
|
|
6788
|
+
*/
|
|
6789
|
+
requestId?: string;
|
|
6790
|
+
/**
|
|
6791
|
+
* @example
|
|
6792
|
+
* 5
|
|
6793
|
+
*/
|
|
6794
|
+
totalCount?: number;
|
|
6795
|
+
static names(): { [key: string]: string } {
|
|
6796
|
+
return {
|
|
6797
|
+
pageNumber: 'PageNumber',
|
|
6798
|
+
pageSize: 'PageSize',
|
|
6799
|
+
reports: 'Reports',
|
|
6800
|
+
requestId: 'RequestId',
|
|
6801
|
+
totalCount: 'TotalCount',
|
|
6802
|
+
};
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6805
|
+
static types(): { [key: string]: any } {
|
|
6806
|
+
return {
|
|
6807
|
+
pageNumber: 'number',
|
|
6808
|
+
pageSize: 'number',
|
|
6809
|
+
reports: { 'type': 'array', 'itemType': DescribeDiagnoseReportsResponseBodyReports },
|
|
6810
|
+
requestId: 'string',
|
|
6811
|
+
totalCount: 'number',
|
|
6812
|
+
};
|
|
6813
|
+
}
|
|
6814
|
+
|
|
6815
|
+
constructor(map?: { [key: string]: any }) {
|
|
6816
|
+
super(map);
|
|
6817
|
+
}
|
|
6818
|
+
}
|
|
6819
|
+
|
|
6820
|
+
export class DescribeDiagnoseReportsResponse extends $tea.Model {
|
|
6821
|
+
headers?: { [key: string]: string };
|
|
6822
|
+
statusCode?: number;
|
|
6823
|
+
body?: DescribeDiagnoseReportsResponseBody;
|
|
6824
|
+
static names(): { [key: string]: string } {
|
|
6825
|
+
return {
|
|
6826
|
+
headers: 'headers',
|
|
6827
|
+
statusCode: 'statusCode',
|
|
6828
|
+
body: 'body',
|
|
6829
|
+
};
|
|
6830
|
+
}
|
|
6831
|
+
|
|
6832
|
+
static types(): { [key: string]: any } {
|
|
6833
|
+
return {
|
|
6834
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6835
|
+
statusCode: 'number',
|
|
6836
|
+
body: DescribeDiagnoseReportsResponseBody,
|
|
6837
|
+
};
|
|
6838
|
+
}
|
|
6839
|
+
|
|
6840
|
+
constructor(map?: { [key: string]: any }) {
|
|
6841
|
+
super(map);
|
|
6842
|
+
}
|
|
6843
|
+
}
|
|
6844
|
+
|
|
6600
6845
|
export class DescribeEciScalingConfigurationDetailRequest extends $tea.Model {
|
|
6601
6846
|
/**
|
|
6602
6847
|
* @remarks
|
|
@@ -6929,14 +7174,29 @@ export class DescribeEciScalingConfigurationsResponse extends $tea.Model {
|
|
|
6929
7174
|
}
|
|
6930
7175
|
|
|
6931
7176
|
export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
7177
|
+
/**
|
|
7178
|
+
* @remarks
|
|
7179
|
+
* The instance types. The instance types specified by this parameter overwrite the instance types specified in the scaling configuration.
|
|
7180
|
+
*/
|
|
6932
7181
|
instanceTypes?: string[];
|
|
6933
7182
|
/**
|
|
7183
|
+
* @remarks
|
|
7184
|
+
* The preemption policy that you want to apply to pay-as-you-go instances. The preemption policy specified by this parameter overwrites the preemption policy specified in the scaling configuration. Valid values:
|
|
7185
|
+
*
|
|
7186
|
+
* * NoSpot: The instances are created as regular pay-as-you-go instances.
|
|
7187
|
+
* * SpotWithPriceLimit: The instances are created as preemptible instances that have a user-defined maximum hourly price.
|
|
7188
|
+
* * SpotAsPriceGo: The instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bidding price.
|
|
7189
|
+
*
|
|
7190
|
+
* Default value: NoSpot.
|
|
7191
|
+
*
|
|
6934
7192
|
* @example
|
|
6935
7193
|
* NoSpot
|
|
6936
7194
|
*/
|
|
6937
7195
|
priorityStrategy?: string;
|
|
6938
7196
|
/**
|
|
6939
7197
|
* @remarks
|
|
7198
|
+
* The region ID of the scaling group.
|
|
7199
|
+
*
|
|
6940
7200
|
* This parameter is required.
|
|
6941
7201
|
*
|
|
6942
7202
|
* @example
|
|
@@ -6944,11 +7204,27 @@ export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
|
6944
7204
|
*/
|
|
6945
7205
|
regionId?: string;
|
|
6946
7206
|
/**
|
|
7207
|
+
* @remarks
|
|
7208
|
+
* The ID of the scaling group.
|
|
7209
|
+
*
|
|
6947
7210
|
* @example
|
|
6948
7211
|
* asg-bp18p2yfxow2dloq****
|
|
6949
7212
|
*/
|
|
6950
7213
|
scalingGroupId?: string;
|
|
7214
|
+
/**
|
|
7215
|
+
* @remarks
|
|
7216
|
+
* The IDs of the scaling groups that you want to query.
|
|
7217
|
+
*/
|
|
6951
7218
|
scalingGroupIds?: string[];
|
|
7219
|
+
/**
|
|
7220
|
+
* @remarks
|
|
7221
|
+
* The categories of the system disks. The categories of the system disks specified by this parameter overwrite the categories of the system disks specified in the scaling configuration. Valid values:
|
|
7222
|
+
*
|
|
7223
|
+
* * cloud: basic disk.
|
|
7224
|
+
* * cloud_efficiency: ultra disk.
|
|
7225
|
+
* * cloud_ssd: standard SSD.
|
|
7226
|
+
* * cloud_essd: Enterprise SSD (ESSD).
|
|
7227
|
+
*/
|
|
6952
7228
|
systemDiskCategories?: string[];
|
|
6953
7229
|
static names(): { [key: string]: string } {
|
|
6954
7230
|
return {
|
|
@@ -6978,14 +7254,28 @@ export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
|
6978
7254
|
}
|
|
6979
7255
|
|
|
6980
7256
|
export class DescribeElasticStrengthResponseBody extends $tea.Model {
|
|
7257
|
+
/**
|
|
7258
|
+
* @remarks
|
|
7259
|
+
* The scaling strength models.
|
|
7260
|
+
*/
|
|
6981
7261
|
elasticStrengthModels?: DescribeElasticStrengthResponseBodyElasticStrengthModels[];
|
|
6982
7262
|
/**
|
|
7263
|
+
* @remarks
|
|
7264
|
+
* The request ID.
|
|
7265
|
+
*
|
|
6983
7266
|
* @example
|
|
6984
7267
|
* 73469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
6985
7268
|
*/
|
|
6986
7269
|
requestId?: string;
|
|
7270
|
+
/**
|
|
7271
|
+
* @remarks
|
|
7272
|
+
* The resource pools.
|
|
7273
|
+
*/
|
|
6987
7274
|
resourcePools?: DescribeElasticStrengthResponseBodyResourcePools[];
|
|
6988
7275
|
/**
|
|
7276
|
+
* @remarks
|
|
7277
|
+
* The scaling strength of the scaling group. Each combination of instance type + zone is scored from 0 to 1 based on its availability, with 0 being the weakest scaling strength and 1 being the strongest. The scaling strength of the scaling group is measured by the combined scores of all the combinations of instance type + zone.
|
|
7278
|
+
*
|
|
6989
7279
|
* @example
|
|
6990
7280
|
* 1.5
|
|
6991
7281
|
*/
|
|
@@ -9078,6 +9368,96 @@ export class DescribeScalingGroupDetailResponse extends $tea.Model {
|
|
|
9078
9368
|
}
|
|
9079
9369
|
}
|
|
9080
9370
|
|
|
9371
|
+
export class DescribeScalingGroupDiagnoseDetailsRequest extends $tea.Model {
|
|
9372
|
+
/**
|
|
9373
|
+
* @remarks
|
|
9374
|
+
* This parameter is required.
|
|
9375
|
+
*
|
|
9376
|
+
* @example
|
|
9377
|
+
* cn-qingdao
|
|
9378
|
+
*/
|
|
9379
|
+
regionId?: string;
|
|
9380
|
+
/**
|
|
9381
|
+
* @remarks
|
|
9382
|
+
* This parameter is required.
|
|
9383
|
+
*
|
|
9384
|
+
* @example
|
|
9385
|
+
* asg-bp18p2yfxow2dloq****
|
|
9386
|
+
*/
|
|
9387
|
+
scalingGroupId?: string;
|
|
9388
|
+
static names(): { [key: string]: string } {
|
|
9389
|
+
return {
|
|
9390
|
+
regionId: 'RegionId',
|
|
9391
|
+
scalingGroupId: 'ScalingGroupId',
|
|
9392
|
+
};
|
|
9393
|
+
}
|
|
9394
|
+
|
|
9395
|
+
static types(): { [key: string]: any } {
|
|
9396
|
+
return {
|
|
9397
|
+
regionId: 'string',
|
|
9398
|
+
scalingGroupId: 'string',
|
|
9399
|
+
};
|
|
9400
|
+
}
|
|
9401
|
+
|
|
9402
|
+
constructor(map?: { [key: string]: any }) {
|
|
9403
|
+
super(map);
|
|
9404
|
+
}
|
|
9405
|
+
}
|
|
9406
|
+
|
|
9407
|
+
export class DescribeScalingGroupDiagnoseDetailsResponseBody extends $tea.Model {
|
|
9408
|
+
details?: DescribeScalingGroupDiagnoseDetailsResponseBodyDetails[];
|
|
9409
|
+
/**
|
|
9410
|
+
* @remarks
|
|
9411
|
+
* Id of the request
|
|
9412
|
+
*
|
|
9413
|
+
* @example
|
|
9414
|
+
* 688B18B8-FB1E-42EB-A1ED-7F55B090****
|
|
9415
|
+
*/
|
|
9416
|
+
requestId?: string;
|
|
9417
|
+
static names(): { [key: string]: string } {
|
|
9418
|
+
return {
|
|
9419
|
+
details: 'Details',
|
|
9420
|
+
requestId: 'RequestId',
|
|
9421
|
+
};
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9424
|
+
static types(): { [key: string]: any } {
|
|
9425
|
+
return {
|
|
9426
|
+
details: { 'type': 'array', 'itemType': DescribeScalingGroupDiagnoseDetailsResponseBodyDetails },
|
|
9427
|
+
requestId: 'string',
|
|
9428
|
+
};
|
|
9429
|
+
}
|
|
9430
|
+
|
|
9431
|
+
constructor(map?: { [key: string]: any }) {
|
|
9432
|
+
super(map);
|
|
9433
|
+
}
|
|
9434
|
+
}
|
|
9435
|
+
|
|
9436
|
+
export class DescribeScalingGroupDiagnoseDetailsResponse extends $tea.Model {
|
|
9437
|
+
headers?: { [key: string]: string };
|
|
9438
|
+
statusCode?: number;
|
|
9439
|
+
body?: DescribeScalingGroupDiagnoseDetailsResponseBody;
|
|
9440
|
+
static names(): { [key: string]: string } {
|
|
9441
|
+
return {
|
|
9442
|
+
headers: 'headers',
|
|
9443
|
+
statusCode: 'statusCode',
|
|
9444
|
+
body: 'body',
|
|
9445
|
+
};
|
|
9446
|
+
}
|
|
9447
|
+
|
|
9448
|
+
static types(): { [key: string]: any } {
|
|
9449
|
+
return {
|
|
9450
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9451
|
+
statusCode: 'number',
|
|
9452
|
+
body: DescribeScalingGroupDiagnoseDetailsResponseBody,
|
|
9453
|
+
};
|
|
9454
|
+
}
|
|
9455
|
+
|
|
9456
|
+
constructor(map?: { [key: string]: any }) {
|
|
9457
|
+
super(map);
|
|
9458
|
+
}
|
|
9459
|
+
}
|
|
9460
|
+
|
|
9081
9461
|
export class DescribeScalingGroupsRequest extends $tea.Model {
|
|
9082
9462
|
/**
|
|
9083
9463
|
* @remarks
|
|
@@ -13768,6 +14148,8 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
13768
14148
|
* hpc-clusterid
|
|
13769
14149
|
*/
|
|
13770
14150
|
hpcClusterId?: string;
|
|
14151
|
+
httpEndpoint?: string;
|
|
14152
|
+
httpTokens?: string;
|
|
13771
14153
|
/**
|
|
13772
14154
|
* @remarks
|
|
13773
14155
|
* The name of the image family. If you specify this parameter, the latest custom images that are available in the specified image family are returned. Then, you can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -13840,6 +14222,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
13840
14222
|
* PayByBandwidth
|
|
13841
14223
|
*/
|
|
13842
14224
|
internetChargeType?: string;
|
|
14225
|
+
internetMaxBandwidthIn?: number;
|
|
13843
14226
|
/**
|
|
13844
14227
|
* @remarks
|
|
13845
14228
|
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
@@ -14116,6 +14499,8 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14116
14499
|
deploymentSetId: 'DeploymentSetId',
|
|
14117
14500
|
hostName: 'HostName',
|
|
14118
14501
|
hpcClusterId: 'HpcClusterId',
|
|
14502
|
+
httpEndpoint: 'HttpEndpoint',
|
|
14503
|
+
httpTokens: 'HttpTokens',
|
|
14119
14504
|
imageFamily: 'ImageFamily',
|
|
14120
14505
|
imageId: 'ImageId',
|
|
14121
14506
|
imageName: 'ImageName',
|
|
@@ -14125,6 +14510,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14125
14510
|
instanceTypeOverrides: 'InstanceTypeOverrides',
|
|
14126
14511
|
instanceTypes: 'InstanceTypes',
|
|
14127
14512
|
internetChargeType: 'InternetChargeType',
|
|
14513
|
+
internetMaxBandwidthIn: 'InternetMaxBandwidthIn',
|
|
14128
14514
|
internetMaxBandwidthOut: 'InternetMaxBandwidthOut',
|
|
14129
14515
|
ioOptimized: 'IoOptimized',
|
|
14130
14516
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
@@ -14176,6 +14562,8 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14176
14562
|
deploymentSetId: 'string',
|
|
14177
14563
|
hostName: 'string',
|
|
14178
14564
|
hpcClusterId: 'string',
|
|
14565
|
+
httpEndpoint: 'string',
|
|
14566
|
+
httpTokens: 'string',
|
|
14179
14567
|
imageFamily: 'string',
|
|
14180
14568
|
imageId: 'string',
|
|
14181
14569
|
imageName: 'string',
|
|
@@ -14185,6 +14573,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14185
14573
|
instanceTypeOverrides: { 'type': 'array', 'itemType': ModifyScalingConfigurationRequestInstanceTypeOverrides },
|
|
14186
14574
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
14187
14575
|
internetChargeType: 'string',
|
|
14576
|
+
internetMaxBandwidthIn: 'number',
|
|
14188
14577
|
internetMaxBandwidthOut: 'number',
|
|
14189
14578
|
ioOptimized: 'string',
|
|
14190
14579
|
ipv6AddressCount: 'number',
|
|
@@ -14339,6 +14728,8 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14339
14728
|
* hpc-clusterid
|
|
14340
14729
|
*/
|
|
14341
14730
|
hpcClusterId?: string;
|
|
14731
|
+
httpEndpoint?: string;
|
|
14732
|
+
httpTokens?: string;
|
|
14342
14733
|
/**
|
|
14343
14734
|
* @remarks
|
|
14344
14735
|
* The name of the image family. If you specify this parameter, the latest custom images that are available in the specified image family are returned. Then, you can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -14411,6 +14802,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14411
14802
|
* PayByBandwidth
|
|
14412
14803
|
*/
|
|
14413
14804
|
internetChargeType?: string;
|
|
14805
|
+
internetMaxBandwidthIn?: number;
|
|
14414
14806
|
/**
|
|
14415
14807
|
* @remarks
|
|
14416
14808
|
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
@@ -14687,6 +15079,8 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14687
15079
|
deploymentSetId: 'DeploymentSetId',
|
|
14688
15080
|
hostName: 'HostName',
|
|
14689
15081
|
hpcClusterId: 'HpcClusterId',
|
|
15082
|
+
httpEndpoint: 'HttpEndpoint',
|
|
15083
|
+
httpTokens: 'HttpTokens',
|
|
14690
15084
|
imageFamily: 'ImageFamily',
|
|
14691
15085
|
imageId: 'ImageId',
|
|
14692
15086
|
imageName: 'ImageName',
|
|
@@ -14696,6 +15090,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14696
15090
|
instanceTypeOverrides: 'InstanceTypeOverrides',
|
|
14697
15091
|
instanceTypes: 'InstanceTypes',
|
|
14698
15092
|
internetChargeType: 'InternetChargeType',
|
|
15093
|
+
internetMaxBandwidthIn: 'InternetMaxBandwidthIn',
|
|
14699
15094
|
internetMaxBandwidthOut: 'InternetMaxBandwidthOut',
|
|
14700
15095
|
ioOptimized: 'IoOptimized',
|
|
14701
15096
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
@@ -14747,6 +15142,8 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14747
15142
|
deploymentSetId: 'string',
|
|
14748
15143
|
hostName: 'string',
|
|
14749
15144
|
hpcClusterId: 'string',
|
|
15145
|
+
httpEndpoint: 'string',
|
|
15146
|
+
httpTokens: 'string',
|
|
14750
15147
|
imageFamily: 'string',
|
|
14751
15148
|
imageId: 'string',
|
|
14752
15149
|
imageName: 'string',
|
|
@@ -14756,6 +15153,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14756
15153
|
instanceTypeOverrides: { 'type': 'array', 'itemType': ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides },
|
|
14757
15154
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
14758
15155
|
internetChargeType: 'string',
|
|
15156
|
+
internetMaxBandwidthIn: 'number',
|
|
14759
15157
|
internetMaxBandwidthOut: 'number',
|
|
14760
15158
|
ioOptimized: 'string',
|
|
14761
15159
|
ipv6AddressCount: 'number',
|
|
@@ -15144,6 +15542,17 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
15144
15542
|
*/
|
|
15145
15543
|
spotInstanceRemedy?: boolean;
|
|
15146
15544
|
/**
|
|
15545
|
+
* @remarks
|
|
15546
|
+
* The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds. Valid values: 30 to 240.
|
|
15547
|
+
*
|
|
15548
|
+
* >
|
|
15549
|
+
*
|
|
15550
|
+
* * This parameter takes effect only if you set ScalingPolicy to release.\\
|
|
15551
|
+
* If you specify this parameter, the system proceeds with the scale-in process only after the period of time specified by StopInstanceTimeout ends. In this case, the scale-in operation continues regardless of whether the ECS instance enters the Stopped state or not.\\
|
|
15552
|
+
* If you do not specify this parameter, the system proceeds with the scale-in process only after the ECS instance enters the Stopped state. If the ECS instance fails to enter the Stopped state, the scale-in process rolls back, and the scale-in operation is considered as failed.
|
|
15553
|
+
*
|
|
15554
|
+
* * When you call the ModifyScalingGroup operation, you can set the value to 0. In this case, the system ignores this parameter.
|
|
15555
|
+
*
|
|
15147
15556
|
* @example
|
|
15148
15557
|
* 60
|
|
15149
15558
|
*/
|
|
@@ -16183,6 +16592,17 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
16183
16592
|
*/
|
|
16184
16593
|
scalingGroupId?: string;
|
|
16185
16594
|
/**
|
|
16595
|
+
* @remarks
|
|
16596
|
+
* The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds. Valid values: 30 to 240.
|
|
16597
|
+
*
|
|
16598
|
+
* >
|
|
16599
|
+
*
|
|
16600
|
+
* * By default, this parameter inherits the value of StopInstanceTimeout specified in the CreateScalingGroup or ModifyScalingGroup operation. You can also specify a different value for this parameter in the RemoveInstances operation.
|
|
16601
|
+
*
|
|
16602
|
+
* * This parameter takes effect only if you set RemovePolicy to release.\\
|
|
16603
|
+
* If you specify this parameter, the system proceeds with the scale-in process only after the period of time specified by StopInstanceTimeout ends. In this case, the scale-in operation continues regardless of whether the ECS instance enters the Stopped state or not.\\
|
|
16604
|
+
* If you do not specify this parameter, the system proceeds with the scale-in process only after the ECS instance enters the Stopped state. If the ECS instance fails to enter the Stopped state, the scale-in process rolls back, and the scale-in operation is considered as failed.
|
|
16605
|
+
*
|
|
16186
16606
|
* @example
|
|
16187
16607
|
* 60
|
|
16188
16608
|
*/
|
|
@@ -22091,7 +22511,7 @@ export class CreateScalingGroupRequestLifecycleHooks extends $tea.Model {
|
|
|
22091
22511
|
* @remarks
|
|
22092
22512
|
* The action that Auto Scaling performs when the lifecycle hook times out. Valid values:
|
|
22093
22513
|
*
|
|
22094
|
-
* * CONTINUE: Auto Scaling continues to respond to
|
|
22514
|
+
* * CONTINUE: Auto Scaling continues to respond to the scaling request.
|
|
22095
22515
|
* * ABANDON: Auto Scaling releases ECS instances that are created during scale-out events, or removes ECS instances from the scaling group during scale-in events.
|
|
22096
22516
|
*
|
|
22097
22517
|
* If multiple lifecycle hooks in the scaling group are triggered during scale-in events, and you set DefaultResult to ABANDON for one of the lifecycle hooks, Auto Scaling immediately performs the action after the lifecycle hook whose DefaultResult is set to ABANDON times out. In this case, other lifecycle hooks time out ahead of schedule. In other cases, Auto Scaling performs the action only after all lifecycle hooks time out. The action that Auto Scaling performs is determined by the value of DefaultResult that you specify for the lifecycle hook that most recently times out.
|
|
@@ -22106,7 +22526,7 @@ export class CreateScalingGroupRequestLifecycleHooks extends $tea.Model {
|
|
|
22106
22526
|
* @remarks
|
|
22107
22527
|
* The period of time before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action that is specified by DefaultResult. Valid values: 30 to 21600. Unit: seconds.
|
|
22108
22528
|
*
|
|
22109
|
-
* After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the timeout period of the lifecycle hook. You can also call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of
|
|
22529
|
+
* After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the timeout period of the lifecycle hook. You can also call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule.
|
|
22110
22530
|
*
|
|
22111
22531
|
* Default value: 600.
|
|
22112
22532
|
*
|
|
@@ -22137,15 +22557,15 @@ export class CreateScalingGroupRequestLifecycleHooks extends $tea.Model {
|
|
|
22137
22557
|
lifecycleTransition?: string;
|
|
22138
22558
|
/**
|
|
22139
22559
|
* @remarks
|
|
22140
|
-
* The
|
|
22560
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient party. You can specify a Simple Message Queue (SMQ, formerly MNS) topic or queue as the recipient party. The value is in the acs:ess:{region}:{account-id}:{resource-relative-id} format.
|
|
22141
22561
|
*
|
|
22142
22562
|
* * region: the region ID of the scaling group
|
|
22143
22563
|
* * account-id: the ID of your Alibaba Cloud account.
|
|
22144
22564
|
*
|
|
22145
22565
|
* Examples:
|
|
22146
22566
|
*
|
|
22147
|
-
* *
|
|
22148
|
-
* *
|
|
22567
|
+
* * SMQ queue: acs:ess:{region}:{account-id}:queue/{queuename}
|
|
22568
|
+
* * SMQ topic: acs:ess:{region}:{account-id}:topic/{topicname}
|
|
22149
22569
|
*
|
|
22150
22570
|
* @example
|
|
22151
22571
|
* acs:ess:cn-hangzhou:1111111111:queue/queue2
|
|
@@ -22153,7 +22573,7 @@ export class CreateScalingGroupRequestLifecycleHooks extends $tea.Model {
|
|
|
22153
22573
|
notificationArn?: string;
|
|
22154
22574
|
/**
|
|
22155
22575
|
* @remarks
|
|
22156
|
-
* The fixed string that you want to include in
|
|
22576
|
+
* The fixed string that you want to include in notifications. When a lifecycle hook takes effect, Auto Scaling sends a notification. The fixed string can contain up to 4,096 characters in length. When Auto Scaling sends a notification to the recipient party, it includes predefined notification metadata into the notification. This helps in managing and labeling notifications of different categories. NotificationMetadata takes effect only if you specify NotificationArn.
|
|
22157
22577
|
*
|
|
22158
22578
|
* @example
|
|
22159
22579
|
* Test
|
|
@@ -23023,6 +23443,118 @@ export class DescribeAlarmsResponseBodyAlarmList extends $tea.Model {
|
|
|
23023
23443
|
}
|
|
23024
23444
|
}
|
|
23025
23445
|
|
|
23446
|
+
export class DescribeDiagnoseReportsResponseBodyReportsDetails extends $tea.Model {
|
|
23447
|
+
/**
|
|
23448
|
+
* @example
|
|
23449
|
+
* AccountArrearage
|
|
23450
|
+
*/
|
|
23451
|
+
diagnoseType?: string;
|
|
23452
|
+
/**
|
|
23453
|
+
* @example
|
|
23454
|
+
* VSwitchIdNotFound
|
|
23455
|
+
*/
|
|
23456
|
+
errorCode?: string;
|
|
23457
|
+
/**
|
|
23458
|
+
* @example
|
|
23459
|
+
* sg-280ih****
|
|
23460
|
+
*/
|
|
23461
|
+
resourceId?: string;
|
|
23462
|
+
/**
|
|
23463
|
+
* @example
|
|
23464
|
+
* Normal
|
|
23465
|
+
*/
|
|
23466
|
+
status?: string;
|
|
23467
|
+
static names(): { [key: string]: string } {
|
|
23468
|
+
return {
|
|
23469
|
+
diagnoseType: 'DiagnoseType',
|
|
23470
|
+
errorCode: 'ErrorCode',
|
|
23471
|
+
resourceId: 'ResourceId',
|
|
23472
|
+
status: 'Status',
|
|
23473
|
+
};
|
|
23474
|
+
}
|
|
23475
|
+
|
|
23476
|
+
static types(): { [key: string]: any } {
|
|
23477
|
+
return {
|
|
23478
|
+
diagnoseType: 'string',
|
|
23479
|
+
errorCode: 'string',
|
|
23480
|
+
resourceId: 'string',
|
|
23481
|
+
status: 'string',
|
|
23482
|
+
};
|
|
23483
|
+
}
|
|
23484
|
+
|
|
23485
|
+
constructor(map?: { [key: string]: any }) {
|
|
23486
|
+
super(map);
|
|
23487
|
+
}
|
|
23488
|
+
}
|
|
23489
|
+
|
|
23490
|
+
export class DescribeDiagnoseReportsResponseBodyReports extends $tea.Model {
|
|
23491
|
+
/**
|
|
23492
|
+
* @example
|
|
23493
|
+
* 2024-08-23T02:22:30Z
|
|
23494
|
+
*/
|
|
23495
|
+
creationTime?: string;
|
|
23496
|
+
details?: DescribeDiagnoseReportsResponseBodyReportsDetails[];
|
|
23497
|
+
/**
|
|
23498
|
+
* @example
|
|
23499
|
+
* Normal
|
|
23500
|
+
*/
|
|
23501
|
+
diagnoseStatus?: string;
|
|
23502
|
+
/**
|
|
23503
|
+
* @example
|
|
23504
|
+
* Finished
|
|
23505
|
+
*/
|
|
23506
|
+
processStatus?: string;
|
|
23507
|
+
/**
|
|
23508
|
+
* @example
|
|
23509
|
+
* cn-qingdao
|
|
23510
|
+
*/
|
|
23511
|
+
regionId?: string;
|
|
23512
|
+
/**
|
|
23513
|
+
* @example
|
|
23514
|
+
* dr-bp14p0cjp7wvjob5l6hk
|
|
23515
|
+
*/
|
|
23516
|
+
reportId?: string;
|
|
23517
|
+
/**
|
|
23518
|
+
* @example
|
|
23519
|
+
* asg-bp124uve5iph3*****
|
|
23520
|
+
*/
|
|
23521
|
+
scalingGroupId?: string;
|
|
23522
|
+
/**
|
|
23523
|
+
* @example
|
|
23524
|
+
* 161456884*******
|
|
23525
|
+
*/
|
|
23526
|
+
userId?: string;
|
|
23527
|
+
static names(): { [key: string]: string } {
|
|
23528
|
+
return {
|
|
23529
|
+
creationTime: 'CreationTime',
|
|
23530
|
+
details: 'Details',
|
|
23531
|
+
diagnoseStatus: 'DiagnoseStatus',
|
|
23532
|
+
processStatus: 'ProcessStatus',
|
|
23533
|
+
regionId: 'RegionId',
|
|
23534
|
+
reportId: 'ReportId',
|
|
23535
|
+
scalingGroupId: 'ScalingGroupId',
|
|
23536
|
+
userId: 'UserId',
|
|
23537
|
+
};
|
|
23538
|
+
}
|
|
23539
|
+
|
|
23540
|
+
static types(): { [key: string]: any } {
|
|
23541
|
+
return {
|
|
23542
|
+
creationTime: 'string',
|
|
23543
|
+
details: { 'type': 'array', 'itemType': DescribeDiagnoseReportsResponseBodyReportsDetails },
|
|
23544
|
+
diagnoseStatus: 'string',
|
|
23545
|
+
processStatus: 'string',
|
|
23546
|
+
regionId: 'string',
|
|
23547
|
+
reportId: 'string',
|
|
23548
|
+
scalingGroupId: 'string',
|
|
23549
|
+
userId: 'string',
|
|
23550
|
+
};
|
|
23551
|
+
}
|
|
23552
|
+
|
|
23553
|
+
constructor(map?: { [key: string]: any }) {
|
|
23554
|
+
super(map);
|
|
23555
|
+
}
|
|
23556
|
+
}
|
|
23557
|
+
|
|
23026
23558
|
export class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos extends $tea.Model {
|
|
23027
23559
|
/**
|
|
23028
23560
|
* @remarks
|
|
@@ -27066,27 +27598,46 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
27066
27598
|
|
|
27067
27599
|
export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
|
|
27068
27600
|
/**
|
|
27601
|
+
* @remarks
|
|
27602
|
+
* The error code returned when the scaling strength is the weakest.
|
|
27603
|
+
*
|
|
27069
27604
|
* @example
|
|
27070
27605
|
* InstanceTypesOrDiskTypesNotSupported
|
|
27071
27606
|
*/
|
|
27072
27607
|
code?: string;
|
|
27073
27608
|
/**
|
|
27609
|
+
* @remarks
|
|
27610
|
+
* The instance type of the resource pool.
|
|
27611
|
+
*
|
|
27074
27612
|
* @example
|
|
27075
27613
|
* ecs.r7.large
|
|
27076
27614
|
*/
|
|
27077
27615
|
instanceType?: string;
|
|
27078
27616
|
/**
|
|
27617
|
+
* @remarks
|
|
27618
|
+
* The error message returned when the scaling strength is the weakest.
|
|
27619
|
+
*
|
|
27079
27620
|
* @example
|
|
27080
27621
|
* The instanceTypes or diskTypes are not supported.
|
|
27081
27622
|
*/
|
|
27082
27623
|
msg?: string;
|
|
27083
27624
|
/**
|
|
27625
|
+
* @remarks
|
|
27626
|
+
* The scaling strength of the resource pool.
|
|
27627
|
+
*
|
|
27084
27628
|
* @example
|
|
27085
27629
|
* 0.6
|
|
27086
27630
|
*/
|
|
27087
27631
|
strength?: number;
|
|
27632
|
+
/**
|
|
27633
|
+
* @remarks
|
|
27634
|
+
* The IDs of the vSwitches in the zones of the resource pool.
|
|
27635
|
+
*/
|
|
27088
27636
|
vSwitchIds?: string[];
|
|
27089
27637
|
/**
|
|
27638
|
+
* @remarks
|
|
27639
|
+
* The zone ID of the resource pool.
|
|
27640
|
+
*
|
|
27090
27641
|
* @example
|
|
27091
27642
|
* cn-hangzhou-g
|
|
27092
27643
|
*/
|
|
@@ -27119,9 +27670,23 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
|
|
|
27119
27670
|
}
|
|
27120
27671
|
|
|
27121
27672
|
export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
|
|
27673
|
+
/**
|
|
27674
|
+
* @remarks
|
|
27675
|
+
* The resource pools.
|
|
27676
|
+
*/
|
|
27122
27677
|
resourcePools?: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools[];
|
|
27678
|
+
/**
|
|
27679
|
+
* @remarks
|
|
27680
|
+
* The ID of the scaling group.
|
|
27681
|
+
*
|
|
27682
|
+
* @example
|
|
27683
|
+
* asg-wz98mnj7nblv9gc****
|
|
27684
|
+
*/
|
|
27123
27685
|
scalingGroupId?: string;
|
|
27124
27686
|
/**
|
|
27687
|
+
* @remarks
|
|
27688
|
+
* The scaling strength of the scaling group. Each combination of instance type + zone is scored from 0 to 1 based on its availability, with 0 being the weakest scaling strength and 1 being the strongest. The scaling strength of the scaling group is measured by the combined scores of all the combinations of instance type + zone.
|
|
27689
|
+
*
|
|
27125
27690
|
* @example
|
|
27126
27691
|
* 1.5
|
|
27127
27692
|
*/
|
|
@@ -27149,27 +27714,46 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $t
|
|
|
27149
27714
|
|
|
27150
27715
|
export class DescribeElasticStrengthResponseBodyResourcePools extends $tea.Model {
|
|
27151
27716
|
/**
|
|
27717
|
+
* @remarks
|
|
27718
|
+
* The error code returned when the scaling strength is the weakest.
|
|
27719
|
+
*
|
|
27152
27720
|
* @example
|
|
27153
27721
|
* IMG_NOT_SUPPORTED
|
|
27154
27722
|
*/
|
|
27155
27723
|
code?: string;
|
|
27156
27724
|
/**
|
|
27725
|
+
* @remarks
|
|
27726
|
+
* The instance type of the resource pool.
|
|
27727
|
+
*
|
|
27157
27728
|
* @example
|
|
27158
27729
|
* ecs.c7t.xlarge
|
|
27159
27730
|
*/
|
|
27160
27731
|
instanceType?: string;
|
|
27161
27732
|
/**
|
|
27733
|
+
* @remarks
|
|
27734
|
+
* The error message returned when the scaling strength is the weakest.
|
|
27735
|
+
*
|
|
27162
27736
|
* @example
|
|
27163
27737
|
* The instanceType does not support the image in the configuration.
|
|
27164
27738
|
*/
|
|
27165
27739
|
msg?: string;
|
|
27166
27740
|
/**
|
|
27741
|
+
* @remarks
|
|
27742
|
+
* The scaling strength of the resource pool.
|
|
27743
|
+
*
|
|
27167
27744
|
* @example
|
|
27168
27745
|
* 0.6
|
|
27169
27746
|
*/
|
|
27170
27747
|
strength?: number;
|
|
27748
|
+
/**
|
|
27749
|
+
* @remarks
|
|
27750
|
+
* The IDs of the vSwitches in the zones of the resource pool.
|
|
27751
|
+
*/
|
|
27171
27752
|
vSwitchIds?: string[];
|
|
27172
27753
|
/**
|
|
27754
|
+
* @remarks
|
|
27755
|
+
* The zone ID of the resource pool.
|
|
27756
|
+
*
|
|
27173
27757
|
* @example
|
|
27174
27758
|
* cn-hangzhou-g
|
|
27175
27759
|
*/
|
|
@@ -28693,10 +29277,9 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSched
|
|
|
28693
29277
|
export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions extends $tea.Model {
|
|
28694
29278
|
/**
|
|
28695
29279
|
* @remarks
|
|
28696
|
-
*
|
|
28697
|
-
*
|
|
28698
|
-
*
|
|
28699
|
-
* * TDX: A Trust Domain Extensions (TDX) confidential computing environment is built on the instance. For more information, see [Build a TDX confidential computing environment](https://help.aliyun.com/document_detail/479090.html).
|
|
29280
|
+
* 机密计算模式。可能值:
|
|
29281
|
+
* - Enclave:表示ECS实例使用Enclave构建机密计算环境。更多信息,请参见[使用Enclave构建机密计算环境](https://help.aliyun.com/document_detail/203433.html)。
|
|
29282
|
+
* - TDX:表示构建TDX机密计算环境。更多信息,请参见[构建TDX机密计算环境](https://help.aliyun.com/document_detail/479090.html)。
|
|
28700
29283
|
*
|
|
28701
29284
|
* @example
|
|
28702
29285
|
* TDX
|
|
@@ -28911,6 +29494,8 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
28911
29494
|
* hpc-clus****
|
|
28912
29495
|
*/
|
|
28913
29496
|
hpcClusterId?: string;
|
|
29497
|
+
httpEndpoint?: string;
|
|
29498
|
+
httpTokens?: string;
|
|
28914
29499
|
/**
|
|
28915
29500
|
* @remarks
|
|
28916
29501
|
* The name of the image family. You can specify this parameter to obtain the latest available images in the current image family for instance creation. If you specify ImageId, you cannot specify `ImageFamily`.
|
|
@@ -28985,7 +29570,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
28985
29570
|
instanceName?: string;
|
|
28986
29571
|
/**
|
|
28987
29572
|
* @remarks
|
|
28988
|
-
* The
|
|
29573
|
+
* The intelligent configuration settings, which determine the available instance types.
|
|
28989
29574
|
*/
|
|
28990
29575
|
instancePatternInfos?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos[];
|
|
28991
29576
|
/**
|
|
@@ -29183,7 +29768,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29183
29768
|
securityGroupIds?: string[];
|
|
29184
29769
|
/**
|
|
29185
29770
|
* @remarks
|
|
29186
|
-
*
|
|
29771
|
+
* 安全选项。
|
|
29187
29772
|
*/
|
|
29188
29773
|
securityOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions;
|
|
29189
29774
|
/**
|
|
@@ -29406,6 +29991,8 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29406
29991
|
deploymentSetId: 'DeploymentSetId',
|
|
29407
29992
|
hostName: 'HostName',
|
|
29408
29993
|
hpcClusterId: 'HpcClusterId',
|
|
29994
|
+
httpEndpoint: 'HttpEndpoint',
|
|
29995
|
+
httpTokens: 'HttpTokens',
|
|
29409
29996
|
imageFamily: 'ImageFamily',
|
|
29410
29997
|
imageId: 'ImageId',
|
|
29411
29998
|
imageName: 'ImageName',
|
|
@@ -29481,6 +30068,8 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29481
30068
|
deploymentSetId: 'string',
|
|
29482
30069
|
hostName: 'string',
|
|
29483
30070
|
hpcClusterId: 'string',
|
|
30071
|
+
httpEndpoint: 'string',
|
|
30072
|
+
httpTokens: 'string',
|
|
29484
30073
|
imageFamily: 'string',
|
|
29485
30074
|
imageId: 'string',
|
|
29486
30075
|
imageName: 'string',
|
|
@@ -30507,6 +31096,50 @@ export class DescribeScalingGroupDetailResponseBodyScalingGroup extends $tea.Mod
|
|
|
30507
31096
|
}
|
|
30508
31097
|
}
|
|
30509
31098
|
|
|
31099
|
+
export class DescribeScalingGroupDiagnoseDetailsResponseBodyDetails extends $tea.Model {
|
|
31100
|
+
/**
|
|
31101
|
+
* @example
|
|
31102
|
+
* SecurityGroup
|
|
31103
|
+
*/
|
|
31104
|
+
diagnoseType?: string;
|
|
31105
|
+
/**
|
|
31106
|
+
* @example
|
|
31107
|
+
* AccountArrearage
|
|
31108
|
+
*/
|
|
31109
|
+
errorCode?: string;
|
|
31110
|
+
/**
|
|
31111
|
+
* @example
|
|
31112
|
+
* sg-280ih****
|
|
31113
|
+
*/
|
|
31114
|
+
resourceId?: string;
|
|
31115
|
+
/**
|
|
31116
|
+
* @example
|
|
31117
|
+
* Normal
|
|
31118
|
+
*/
|
|
31119
|
+
status?: string;
|
|
31120
|
+
static names(): { [key: string]: string } {
|
|
31121
|
+
return {
|
|
31122
|
+
diagnoseType: 'DiagnoseType',
|
|
31123
|
+
errorCode: 'ErrorCode',
|
|
31124
|
+
resourceId: 'ResourceId',
|
|
31125
|
+
status: 'Status',
|
|
31126
|
+
};
|
|
31127
|
+
}
|
|
31128
|
+
|
|
31129
|
+
static types(): { [key: string]: any } {
|
|
31130
|
+
return {
|
|
31131
|
+
diagnoseType: 'string',
|
|
31132
|
+
errorCode: 'string',
|
|
31133
|
+
resourceId: 'string',
|
|
31134
|
+
status: 'string',
|
|
31135
|
+
};
|
|
31136
|
+
}
|
|
31137
|
+
|
|
31138
|
+
constructor(map?: { [key: string]: any }) {
|
|
31139
|
+
super(map);
|
|
31140
|
+
}
|
|
31141
|
+
}
|
|
31142
|
+
|
|
30510
31143
|
export class DescribeScalingGroupsRequestTags extends $tea.Model {
|
|
30511
31144
|
/**
|
|
30512
31145
|
* @remarks
|
|
@@ -31352,6 +31985,9 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
31352
31985
|
*/
|
|
31353
31986
|
standbyCapacity?: number;
|
|
31354
31987
|
/**
|
|
31988
|
+
* @remarks
|
|
31989
|
+
* The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds.
|
|
31990
|
+
*
|
|
31355
31991
|
* @example
|
|
31356
31992
|
* 60
|
|
31357
31993
|
*/
|
|
@@ -38120,6 +38756,44 @@ export default class Client extends OpenApi {
|
|
|
38120
38756
|
return await this.createAlarmWithOptions(request, runtime);
|
|
38121
38757
|
}
|
|
38122
38758
|
|
|
38759
|
+
/**
|
|
38760
|
+
* CreateDiagnoseReport
|
|
38761
|
+
*
|
|
38762
|
+
* @param request - CreateDiagnoseReportRequest
|
|
38763
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
38764
|
+
* @returns CreateDiagnoseReportResponse
|
|
38765
|
+
*/
|
|
38766
|
+
async createDiagnoseReportWithOptions(request: CreateDiagnoseReportRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiagnoseReportResponse> {
|
|
38767
|
+
Util.validateModel(request);
|
|
38768
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
38769
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38770
|
+
query: OpenApiUtil.query(query),
|
|
38771
|
+
});
|
|
38772
|
+
let params = new $OpenApi.Params({
|
|
38773
|
+
action: "CreateDiagnoseReport",
|
|
38774
|
+
version: "2022-02-22",
|
|
38775
|
+
protocol: "HTTPS",
|
|
38776
|
+
pathname: "/",
|
|
38777
|
+
method: "GET",
|
|
38778
|
+
authType: "AK",
|
|
38779
|
+
style: "RPC",
|
|
38780
|
+
reqBodyType: "formData",
|
|
38781
|
+
bodyType: "json",
|
|
38782
|
+
});
|
|
38783
|
+
return $tea.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
38784
|
+
}
|
|
38785
|
+
|
|
38786
|
+
/**
|
|
38787
|
+
* CreateDiagnoseReport
|
|
38788
|
+
*
|
|
38789
|
+
* @param request - CreateDiagnoseReportRequest
|
|
38790
|
+
* @returns CreateDiagnoseReportResponse
|
|
38791
|
+
*/
|
|
38792
|
+
async createDiagnoseReport(request: CreateDiagnoseReportRequest): Promise<CreateDiagnoseReportResponse> {
|
|
38793
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38794
|
+
return await this.createDiagnoseReportWithOptions(request, runtime);
|
|
38795
|
+
}
|
|
38796
|
+
|
|
38123
38797
|
/**
|
|
38124
38798
|
* Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-out events.
|
|
38125
38799
|
*
|
|
@@ -38601,6 +39275,14 @@ export default class Client extends OpenApi {
|
|
|
38601
39275
|
query["HpcClusterId"] = request.hpcClusterId;
|
|
38602
39276
|
}
|
|
38603
39277
|
|
|
39278
|
+
if (!Util.isUnset(request.httpEndpoint)) {
|
|
39279
|
+
query["HttpEndpoint"] = request.httpEndpoint;
|
|
39280
|
+
}
|
|
39281
|
+
|
|
39282
|
+
if (!Util.isUnset(request.httpTokens)) {
|
|
39283
|
+
query["HttpTokens"] = request.httpTokens;
|
|
39284
|
+
}
|
|
39285
|
+
|
|
38604
39286
|
if (!Util.isUnset(request.imageFamily)) {
|
|
38605
39287
|
query["ImageFamily"] = request.imageFamily;
|
|
38606
39288
|
}
|
|
@@ -40112,6 +40794,44 @@ export default class Client extends OpenApi {
|
|
|
40112
40794
|
return await this.describeAlertConfigurationWithOptions(request, runtime);
|
|
40113
40795
|
}
|
|
40114
40796
|
|
|
40797
|
+
/**
|
|
40798
|
+
* DescribeDiagnoseReports
|
|
40799
|
+
*
|
|
40800
|
+
* @param request - DescribeDiagnoseReportsRequest
|
|
40801
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
40802
|
+
* @returns DescribeDiagnoseReportsResponse
|
|
40803
|
+
*/
|
|
40804
|
+
async describeDiagnoseReportsWithOptions(request: DescribeDiagnoseReportsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiagnoseReportsResponse> {
|
|
40805
|
+
Util.validateModel(request);
|
|
40806
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
40807
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
40808
|
+
query: OpenApiUtil.query(query),
|
|
40809
|
+
});
|
|
40810
|
+
let params = new $OpenApi.Params({
|
|
40811
|
+
action: "DescribeDiagnoseReports",
|
|
40812
|
+
version: "2022-02-22",
|
|
40813
|
+
protocol: "HTTPS",
|
|
40814
|
+
pathname: "/",
|
|
40815
|
+
method: "GET",
|
|
40816
|
+
authType: "AK",
|
|
40817
|
+
style: "RPC",
|
|
40818
|
+
reqBodyType: "formData",
|
|
40819
|
+
bodyType: "json",
|
|
40820
|
+
});
|
|
40821
|
+
return $tea.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
40822
|
+
}
|
|
40823
|
+
|
|
40824
|
+
/**
|
|
40825
|
+
* DescribeDiagnoseReports
|
|
40826
|
+
*
|
|
40827
|
+
* @param request - DescribeDiagnoseReportsRequest
|
|
40828
|
+
* @returns DescribeDiagnoseReportsResponse
|
|
40829
|
+
*/
|
|
40830
|
+
async describeDiagnoseReports(request: DescribeDiagnoseReportsRequest): Promise<DescribeDiagnoseReportsResponse> {
|
|
40831
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40832
|
+
return await this.describeDiagnoseReportsWithOptions(request, runtime);
|
|
40833
|
+
}
|
|
40834
|
+
|
|
40115
40835
|
/**
|
|
40116
40836
|
* Queries the details of a scaling configuration. You can query a scaling configuration by its ID to learn about its details such as the temporary storage size, number of IPv6 addresses, and bandwidth of the elastic IP address (EIP). The scaling configuration details can be obtained as a YAML file.
|
|
40117
40837
|
*
|
|
@@ -41038,6 +41758,44 @@ export default class Client extends OpenApi {
|
|
|
41038
41758
|
return await this.describeScalingGroupDetailWithOptions(request, runtime);
|
|
41039
41759
|
}
|
|
41040
41760
|
|
|
41761
|
+
/**
|
|
41762
|
+
* DescribeScalingGroupDiagnoseDetails
|
|
41763
|
+
*
|
|
41764
|
+
* @param request - DescribeScalingGroupDiagnoseDetailsRequest
|
|
41765
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
41766
|
+
* @returns DescribeScalingGroupDiagnoseDetailsResponse
|
|
41767
|
+
*/
|
|
41768
|
+
async describeScalingGroupDiagnoseDetailsWithOptions(request: DescribeScalingGroupDiagnoseDetailsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupDiagnoseDetailsResponse> {
|
|
41769
|
+
Util.validateModel(request);
|
|
41770
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
41771
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41772
|
+
query: OpenApiUtil.query(query),
|
|
41773
|
+
});
|
|
41774
|
+
let params = new $OpenApi.Params({
|
|
41775
|
+
action: "DescribeScalingGroupDiagnoseDetails",
|
|
41776
|
+
version: "2022-02-22",
|
|
41777
|
+
protocol: "HTTPS",
|
|
41778
|
+
pathname: "/",
|
|
41779
|
+
method: "GET",
|
|
41780
|
+
authType: "AK",
|
|
41781
|
+
style: "RPC",
|
|
41782
|
+
reqBodyType: "formData",
|
|
41783
|
+
bodyType: "json",
|
|
41784
|
+
});
|
|
41785
|
+
return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
41786
|
+
}
|
|
41787
|
+
|
|
41788
|
+
/**
|
|
41789
|
+
* DescribeScalingGroupDiagnoseDetails
|
|
41790
|
+
*
|
|
41791
|
+
* @param request - DescribeScalingGroupDiagnoseDetailsRequest
|
|
41792
|
+
* @returns DescribeScalingGroupDiagnoseDetailsResponse
|
|
41793
|
+
*/
|
|
41794
|
+
async describeScalingGroupDiagnoseDetails(request: DescribeScalingGroupDiagnoseDetailsRequest): Promise<DescribeScalingGroupDiagnoseDetailsResponse> {
|
|
41795
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41796
|
+
return await this.describeScalingGroupDiagnoseDetailsWithOptions(request, runtime);
|
|
41797
|
+
}
|
|
41798
|
+
|
|
41041
41799
|
/**
|
|
41042
41800
|
* Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
|
|
41043
41801
|
*
|
|
@@ -43352,6 +44110,14 @@ export default class Client extends OpenApi {
|
|
|
43352
44110
|
query["HpcClusterId"] = request.hpcClusterId;
|
|
43353
44111
|
}
|
|
43354
44112
|
|
|
44113
|
+
if (!Util.isUnset(request.httpEndpoint)) {
|
|
44114
|
+
query["HttpEndpoint"] = request.httpEndpoint;
|
|
44115
|
+
}
|
|
44116
|
+
|
|
44117
|
+
if (!Util.isUnset(request.httpTokens)) {
|
|
44118
|
+
query["HttpTokens"] = request.httpTokens;
|
|
44119
|
+
}
|
|
44120
|
+
|
|
43355
44121
|
if (!Util.isUnset(request.imageFamily)) {
|
|
43356
44122
|
query["ImageFamily"] = request.imageFamily;
|
|
43357
44123
|
}
|
|
@@ -43388,6 +44154,10 @@ export default class Client extends OpenApi {
|
|
|
43388
44154
|
query["InternetChargeType"] = request.internetChargeType;
|
|
43389
44155
|
}
|
|
43390
44156
|
|
|
44157
|
+
if (!Util.isUnset(request.internetMaxBandwidthIn)) {
|
|
44158
|
+
query["InternetMaxBandwidthIn"] = request.internetMaxBandwidthIn;
|
|
44159
|
+
}
|
|
44160
|
+
|
|
43391
44161
|
if (!Util.isUnset(request.internetMaxBandwidthOut)) {
|
|
43392
44162
|
query["InternetMaxBandwidthOut"] = request.internetMaxBandwidthOut;
|
|
43393
44163
|
}
|