@alicloud/ess20220222 1.0.9 → 1.0.10
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 +20 -0
- package/dist/client.js +70 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +100 -0
package/dist/client.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ export declare class AttachDBInstancesResponse extends $tea.Model {
|
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
export declare class AttachInstancesRequest extends $tea.Model {
|
|
101
|
+
clientToken?: string;
|
|
101
102
|
entrusted?: boolean;
|
|
102
103
|
instanceIds?: string[];
|
|
103
104
|
lifecycleHook?: boolean;
|
|
@@ -450,6 +451,10 @@ export declare class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
450
451
|
cpu?: number;
|
|
451
452
|
cpuOptionsCore?: number;
|
|
452
453
|
cpuOptionsThreadsPerCore?: number;
|
|
454
|
+
dataCacheBucket?: string;
|
|
455
|
+
dataCacheBurstingEnabled?: boolean;
|
|
456
|
+
dataCachePL?: string;
|
|
457
|
+
dataCacheProvisionedIops?: number;
|
|
453
458
|
description?: string;
|
|
454
459
|
dnsConfigNameServers?: string[];
|
|
455
460
|
dnsConfigOptions?: CreateEciScalingConfigurationRequestDnsConfigOptions[];
|
|
@@ -1985,6 +1990,7 @@ export declare class DescribeScalingInstancesRequest extends $tea.Model {
|
|
|
1985
1990
|
healthStatus?: string;
|
|
1986
1991
|
instanceIds?: string[];
|
|
1987
1992
|
lifecycleState?: string;
|
|
1993
|
+
lifecycleStates?: string[];
|
|
1988
1994
|
ownerAccount?: string;
|
|
1989
1995
|
ownerId?: number;
|
|
1990
1996
|
pageNumber?: number;
|
|
@@ -2971,6 +2977,10 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
2971
2977
|
cpu?: number;
|
|
2972
2978
|
cpuOptionsCore?: number;
|
|
2973
2979
|
cpuOptionsThreadsPerCore?: number;
|
|
2980
|
+
dataCacheBucket?: string;
|
|
2981
|
+
dataCacheBurstingEnabled?: boolean;
|
|
2982
|
+
dataCachePL?: string;
|
|
2983
|
+
dataCacheProvisionedIops?: number;
|
|
2974
2984
|
description?: string;
|
|
2975
2985
|
dnsConfigNameServers?: string[];
|
|
2976
2986
|
dnsConfigOptions?: ModifyEciScalingConfigurationRequestDnsConfigOptions[];
|
|
@@ -4960,6 +4970,7 @@ export declare class CreateScalingGroupRequestServerGroups extends $tea.Model {
|
|
|
4960
4970
|
}
|
|
4961
4971
|
export declare class CreateScalingGroupRequestTags extends $tea.Model {
|
|
4962
4972
|
key?: string;
|
|
4973
|
+
propagate?: boolean;
|
|
4963
4974
|
value?: string;
|
|
4964
4975
|
static names(): {
|
|
4965
4976
|
[key: string]: string;
|
|
@@ -5350,6 +5361,8 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
|
|
|
5350
5361
|
flexVolumeDriver?: string;
|
|
5351
5362
|
flexVolumeFsType?: string;
|
|
5352
5363
|
flexVolumeOptions?: string;
|
|
5364
|
+
hostPathVolumePath?: string;
|
|
5365
|
+
hostPathVolumeType?: string;
|
|
5353
5366
|
NFSVolumePath?: string;
|
|
5354
5367
|
NFSVolumeReadOnly?: boolean;
|
|
5355
5368
|
NFSVolumeServer?: string;
|
|
@@ -5377,6 +5390,10 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
|
|
|
5377
5390
|
cpuOptionsCore?: number;
|
|
5378
5391
|
cpuOptionsThreadsPerCore?: number;
|
|
5379
5392
|
creationTime?: string;
|
|
5393
|
+
dataCacheBucket?: string;
|
|
5394
|
+
dataCacheBurstingEnabled?: boolean;
|
|
5395
|
+
dataCachePL?: string;
|
|
5396
|
+
dataCacheProvisionedIops?: number;
|
|
5380
5397
|
description?: string;
|
|
5381
5398
|
dnsConfigNameServers?: string[];
|
|
5382
5399
|
dnsConfigOptions?: DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions[];
|
|
@@ -5749,6 +5766,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups
|
|
|
5749
5766
|
});
|
|
5750
5767
|
}
|
|
5751
5768
|
export declare class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
|
|
5769
|
+
propagate?: boolean;
|
|
5752
5770
|
tagKey?: string;
|
|
5753
5771
|
tagValue?: string;
|
|
5754
5772
|
static names(): {
|
|
@@ -5868,9 +5886,11 @@ export declare class DescribeScalingInstancesResponseBodyScalingInstances extend
|
|
|
5868
5886
|
launchTemplateVersion?: string;
|
|
5869
5887
|
lifecycleState?: string;
|
|
5870
5888
|
loadBalancerWeight?: number;
|
|
5889
|
+
privateIpAddress?: string;
|
|
5871
5890
|
scalingActivityId?: string;
|
|
5872
5891
|
scalingConfigurationId?: string;
|
|
5873
5892
|
scalingGroupId?: string;
|
|
5893
|
+
scalingInstanceId?: string;
|
|
5874
5894
|
spotStrategy?: string;
|
|
5875
5895
|
warmupState?: string;
|
|
5876
5896
|
weightedCapacity?: number;
|
package/dist/client.js
CHANGED
|
@@ -155,6 +155,7 @@ class AttachInstancesRequest extends $tea.Model {
|
|
|
155
155
|
}
|
|
156
156
|
static names() {
|
|
157
157
|
return {
|
|
158
|
+
clientToken: 'ClientToken',
|
|
158
159
|
entrusted: 'Entrusted',
|
|
159
160
|
instanceIds: 'InstanceIds',
|
|
160
161
|
lifecycleHook: 'LifecycleHook',
|
|
@@ -169,6 +170,7 @@ class AttachInstancesRequest extends $tea.Model {
|
|
|
169
170
|
}
|
|
170
171
|
static types() {
|
|
171
172
|
return {
|
|
173
|
+
clientToken: 'string',
|
|
172
174
|
entrusted: 'boolean',
|
|
173
175
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
174
176
|
lifecycleHook: 'boolean',
|
|
@@ -653,6 +655,10 @@ class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
653
655
|
cpu: 'Cpu',
|
|
654
656
|
cpuOptionsCore: 'CpuOptionsCore',
|
|
655
657
|
cpuOptionsThreadsPerCore: 'CpuOptionsThreadsPerCore',
|
|
658
|
+
dataCacheBucket: 'DataCacheBucket',
|
|
659
|
+
dataCacheBurstingEnabled: 'DataCacheBurstingEnabled',
|
|
660
|
+
dataCachePL: 'DataCachePL',
|
|
661
|
+
dataCacheProvisionedIops: 'DataCacheProvisionedIops',
|
|
656
662
|
description: 'Description',
|
|
657
663
|
dnsConfigNameServers: 'DnsConfigNameServers',
|
|
658
664
|
dnsConfigOptions: 'DnsConfigOptions',
|
|
@@ -702,6 +708,10 @@ class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
702
708
|
cpu: 'number',
|
|
703
709
|
cpuOptionsCore: 'number',
|
|
704
710
|
cpuOptionsThreadsPerCore: 'number',
|
|
711
|
+
dataCacheBucket: 'string',
|
|
712
|
+
dataCacheBurstingEnabled: 'boolean',
|
|
713
|
+
dataCachePL: 'string',
|
|
714
|
+
dataCacheProvisionedIops: 'number',
|
|
705
715
|
description: 'string',
|
|
706
716
|
dnsConfigNameServers: { 'type': 'array', 'itemType': 'string' },
|
|
707
717
|
dnsConfigOptions: { 'type': 'array', 'itemType': CreateEciScalingConfigurationRequestDnsConfigOptions },
|
|
@@ -2932,6 +2942,7 @@ class DescribeScalingInstancesRequest extends $tea.Model {
|
|
|
2932
2942
|
healthStatus: 'HealthStatus',
|
|
2933
2943
|
instanceIds: 'InstanceIds',
|
|
2934
2944
|
lifecycleState: 'LifecycleState',
|
|
2945
|
+
lifecycleStates: 'LifecycleStates',
|
|
2935
2946
|
ownerAccount: 'OwnerAccount',
|
|
2936
2947
|
ownerId: 'OwnerId',
|
|
2937
2948
|
pageNumber: 'PageNumber',
|
|
@@ -2951,6 +2962,7 @@ class DescribeScalingInstancesRequest extends $tea.Model {
|
|
|
2951
2962
|
healthStatus: 'string',
|
|
2952
2963
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
2953
2964
|
lifecycleState: 'string',
|
|
2965
|
+
lifecycleStates: { 'type': 'array', 'itemType': 'string' },
|
|
2954
2966
|
ownerAccount: 'string',
|
|
2955
2967
|
ownerId: 'number',
|
|
2956
2968
|
pageNumber: 'number',
|
|
@@ -4338,6 +4350,10 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
4338
4350
|
cpu: 'Cpu',
|
|
4339
4351
|
cpuOptionsCore: 'CpuOptionsCore',
|
|
4340
4352
|
cpuOptionsThreadsPerCore: 'CpuOptionsThreadsPerCore',
|
|
4353
|
+
dataCacheBucket: 'DataCacheBucket',
|
|
4354
|
+
dataCacheBurstingEnabled: 'DataCacheBurstingEnabled',
|
|
4355
|
+
dataCachePL: 'DataCachePL',
|
|
4356
|
+
dataCacheProvisionedIops: 'DataCacheProvisionedIops',
|
|
4341
4357
|
description: 'Description',
|
|
4342
4358
|
dnsConfigNameServers: 'DnsConfigNameServers',
|
|
4343
4359
|
dnsConfigOptions: 'DnsConfigOptions',
|
|
@@ -4388,6 +4404,10 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
4388
4404
|
cpu: 'number',
|
|
4389
4405
|
cpuOptionsCore: 'number',
|
|
4390
4406
|
cpuOptionsThreadsPerCore: 'number',
|
|
4407
|
+
dataCacheBucket: 'string',
|
|
4408
|
+
dataCacheBurstingEnabled: 'boolean',
|
|
4409
|
+
dataCachePL: 'string',
|
|
4410
|
+
dataCacheProvisionedIops: 'number',
|
|
4391
4411
|
description: 'string',
|
|
4392
4412
|
dnsConfigNameServers: { 'type': 'array', 'itemType': 'string' },
|
|
4393
4413
|
dnsConfigOptions: { 'type': 'array', 'itemType': ModifyEciScalingConfigurationRequestDnsConfigOptions },
|
|
@@ -7282,12 +7302,14 @@ class CreateScalingGroupRequestTags extends $tea.Model {
|
|
|
7282
7302
|
static names() {
|
|
7283
7303
|
return {
|
|
7284
7304
|
key: 'Key',
|
|
7305
|
+
propagate: 'Propagate',
|
|
7285
7306
|
value: 'Value',
|
|
7286
7307
|
};
|
|
7287
7308
|
}
|
|
7288
7309
|
static types() {
|
|
7289
7310
|
return {
|
|
7290
7311
|
key: 'string',
|
|
7312
|
+
propagate: 'boolean',
|
|
7291
7313
|
value: 'string',
|
|
7292
7314
|
};
|
|
7293
7315
|
}
|
|
@@ -7869,6 +7891,8 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes e
|
|
|
7869
7891
|
flexVolumeDriver: 'FlexVolumeDriver',
|
|
7870
7892
|
flexVolumeFsType: 'FlexVolumeFsType',
|
|
7871
7893
|
flexVolumeOptions: 'FlexVolumeOptions',
|
|
7894
|
+
hostPathVolumePath: 'HostPathVolumePath',
|
|
7895
|
+
hostPathVolumeType: 'HostPathVolumeType',
|
|
7872
7896
|
NFSVolumePath: 'NFSVolumePath',
|
|
7873
7897
|
NFSVolumeReadOnly: 'NFSVolumeReadOnly',
|
|
7874
7898
|
NFSVolumeServer: 'NFSVolumeServer',
|
|
@@ -7888,6 +7912,8 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes e
|
|
|
7888
7912
|
flexVolumeDriver: 'string',
|
|
7889
7913
|
flexVolumeFsType: 'string',
|
|
7890
7914
|
flexVolumeOptions: 'string',
|
|
7915
|
+
hostPathVolumePath: 'string',
|
|
7916
|
+
hostPathVolumeType: 'string',
|
|
7891
7917
|
NFSVolumePath: 'string',
|
|
7892
7918
|
NFSVolumeReadOnly: 'boolean',
|
|
7893
7919
|
NFSVolumeServer: 'string',
|
|
@@ -7914,6 +7940,10 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
|
|
|
7914
7940
|
cpuOptionsCore: 'CpuOptionsCore',
|
|
7915
7941
|
cpuOptionsThreadsPerCore: 'CpuOptionsThreadsPerCore',
|
|
7916
7942
|
creationTime: 'CreationTime',
|
|
7943
|
+
dataCacheBucket: 'DataCacheBucket',
|
|
7944
|
+
dataCacheBurstingEnabled: 'DataCacheBurstingEnabled',
|
|
7945
|
+
dataCachePL: 'DataCachePL',
|
|
7946
|
+
dataCacheProvisionedIops: 'DataCacheProvisionedIops',
|
|
7917
7947
|
description: 'Description',
|
|
7918
7948
|
dnsConfigNameServers: 'DnsConfigNameServers',
|
|
7919
7949
|
dnsConfigOptions: 'DnsConfigOptions',
|
|
@@ -7965,6 +7995,10 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
|
|
|
7965
7995
|
cpuOptionsCore: 'number',
|
|
7966
7996
|
cpuOptionsThreadsPerCore: 'number',
|
|
7967
7997
|
creationTime: 'string',
|
|
7998
|
+
dataCacheBucket: 'string',
|
|
7999
|
+
dataCacheBurstingEnabled: 'boolean',
|
|
8000
|
+
dataCachePL: 'string',
|
|
8001
|
+
dataCacheProvisionedIops: 'number',
|
|
7968
8002
|
description: 'string',
|
|
7969
8003
|
dnsConfigNameServers: { 'type': 'array', 'itemType': 'string' },
|
|
7970
8004
|
dnsConfigOptions: { 'type': 'array', 'itemType': DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions },
|
|
@@ -8533,12 +8567,14 @@ class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
|
|
|
8533
8567
|
}
|
|
8534
8568
|
static names() {
|
|
8535
8569
|
return {
|
|
8570
|
+
propagate: 'Propagate',
|
|
8536
8571
|
tagKey: 'TagKey',
|
|
8537
8572
|
tagValue: 'TagValue',
|
|
8538
8573
|
};
|
|
8539
8574
|
}
|
|
8540
8575
|
static types() {
|
|
8541
8576
|
return {
|
|
8577
|
+
propagate: 'boolean',
|
|
8542
8578
|
tagKey: 'string',
|
|
8543
8579
|
tagValue: 'string',
|
|
8544
8580
|
};
|
|
@@ -8729,9 +8765,11 @@ class DescribeScalingInstancesResponseBodyScalingInstances extends $tea.Model {
|
|
|
8729
8765
|
launchTemplateVersion: 'LaunchTemplateVersion',
|
|
8730
8766
|
lifecycleState: 'LifecycleState',
|
|
8731
8767
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
8768
|
+
privateIpAddress: 'PrivateIpAddress',
|
|
8732
8769
|
scalingActivityId: 'ScalingActivityId',
|
|
8733
8770
|
scalingConfigurationId: 'ScalingConfigurationId',
|
|
8734
8771
|
scalingGroupId: 'ScalingGroupId',
|
|
8772
|
+
scalingInstanceId: 'ScalingInstanceId',
|
|
8735
8773
|
spotStrategy: 'SpotStrategy',
|
|
8736
8774
|
warmupState: 'WarmupState',
|
|
8737
8775
|
weightedCapacity: 'WeightedCapacity',
|
|
@@ -8750,9 +8788,11 @@ class DescribeScalingInstancesResponseBodyScalingInstances extends $tea.Model {
|
|
|
8750
8788
|
launchTemplateVersion: 'string',
|
|
8751
8789
|
lifecycleState: 'string',
|
|
8752
8790
|
loadBalancerWeight: 'number',
|
|
8791
|
+
privateIpAddress: 'string',
|
|
8753
8792
|
scalingActivityId: 'string',
|
|
8754
8793
|
scalingConfigurationId: 'string',
|
|
8755
8794
|
scalingGroupId: 'string',
|
|
8795
|
+
scalingInstanceId: 'string',
|
|
8756
8796
|
spotStrategy: 'string',
|
|
8757
8797
|
warmupState: 'string',
|
|
8758
8798
|
weightedCapacity: 'number',
|
|
@@ -10458,6 +10498,9 @@ class Client extends openapi_client_1.default {
|
|
|
10458
10498
|
async attachInstancesWithOptions(request, runtime) {
|
|
10459
10499
|
tea_util_1.default.validateModel(request);
|
|
10460
10500
|
let query = {};
|
|
10501
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
10502
|
+
query["ClientToken"] = request.clientToken;
|
|
10503
|
+
}
|
|
10461
10504
|
if (!tea_util_1.default.isUnset(request.entrusted)) {
|
|
10462
10505
|
query["Entrusted"] = request.entrusted;
|
|
10463
10506
|
}
|
|
@@ -10865,6 +10908,18 @@ class Client extends openapi_client_1.default {
|
|
|
10865
10908
|
if (!tea_util_1.default.isUnset(request.cpuOptionsThreadsPerCore)) {
|
|
10866
10909
|
query["CpuOptionsThreadsPerCore"] = request.cpuOptionsThreadsPerCore;
|
|
10867
10910
|
}
|
|
10911
|
+
if (!tea_util_1.default.isUnset(request.dataCacheBucket)) {
|
|
10912
|
+
query["DataCacheBucket"] = request.dataCacheBucket;
|
|
10913
|
+
}
|
|
10914
|
+
if (!tea_util_1.default.isUnset(request.dataCacheBurstingEnabled)) {
|
|
10915
|
+
query["DataCacheBurstingEnabled"] = request.dataCacheBurstingEnabled;
|
|
10916
|
+
}
|
|
10917
|
+
if (!tea_util_1.default.isUnset(request.dataCachePL)) {
|
|
10918
|
+
query["DataCachePL"] = request.dataCachePL;
|
|
10919
|
+
}
|
|
10920
|
+
if (!tea_util_1.default.isUnset(request.dataCacheProvisionedIops)) {
|
|
10921
|
+
query["DataCacheProvisionedIops"] = request.dataCacheProvisionedIops;
|
|
10922
|
+
}
|
|
10868
10923
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
10869
10924
|
query["Description"] = request.description;
|
|
10870
10925
|
}
|
|
@@ -12641,6 +12696,9 @@ class Client extends openapi_client_1.default {
|
|
|
12641
12696
|
if (!tea_util_1.default.isUnset(request.lifecycleState)) {
|
|
12642
12697
|
query["LifecycleState"] = request.lifecycleState;
|
|
12643
12698
|
}
|
|
12699
|
+
if (!tea_util_1.default.isUnset(request.lifecycleStates)) {
|
|
12700
|
+
query["LifecycleStates"] = request.lifecycleStates;
|
|
12701
|
+
}
|
|
12644
12702
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
12645
12703
|
query["OwnerAccount"] = request.ownerAccount;
|
|
12646
12704
|
}
|
|
@@ -13694,6 +13752,18 @@ class Client extends openapi_client_1.default {
|
|
|
13694
13752
|
if (!tea_util_1.default.isUnset(request.cpuOptionsThreadsPerCore)) {
|
|
13695
13753
|
query["CpuOptionsThreadsPerCore"] = request.cpuOptionsThreadsPerCore;
|
|
13696
13754
|
}
|
|
13755
|
+
if (!tea_util_1.default.isUnset(request.dataCacheBucket)) {
|
|
13756
|
+
query["DataCacheBucket"] = request.dataCacheBucket;
|
|
13757
|
+
}
|
|
13758
|
+
if (!tea_util_1.default.isUnset(request.dataCacheBurstingEnabled)) {
|
|
13759
|
+
query["DataCacheBurstingEnabled"] = request.dataCacheBurstingEnabled;
|
|
13760
|
+
}
|
|
13761
|
+
if (!tea_util_1.default.isUnset(request.dataCachePL)) {
|
|
13762
|
+
query["DataCachePL"] = request.dataCachePL;
|
|
13763
|
+
}
|
|
13764
|
+
if (!tea_util_1.default.isUnset(request.dataCacheProvisionedIops)) {
|
|
13765
|
+
query["DataCacheProvisionedIops"] = request.dataCacheProvisionedIops;
|
|
13766
|
+
}
|
|
13697
13767
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
13698
13768
|
query["Description"] = request.description;
|
|
13699
13769
|
}
|