tencentcloud-sdk-nodejs-intl-en 3.0.1318 → 3.0.1319
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/package.json
CHANGED
|
@@ -125,6 +125,7 @@ const StartInstanceRefreshResponse = models.StartInstanceRefreshResponse;
|
|
|
125
125
|
const CreateLifecycleHookRequest = models.CreateLifecycleHookRequest;
|
|
126
126
|
const ScheduledAction = models.ScheduledAction;
|
|
127
127
|
const ModifyLifecycleHookRequest = models.ModifyLifecycleHookRequest;
|
|
128
|
+
const UpgradeLifecycleHookRequest = models.UpgradeLifecycleHookRequest;
|
|
128
129
|
const CompleteLifecycleActionResponse = models.CompleteLifecycleActionResponse;
|
|
129
130
|
const ScaleOutInstancesResponse = models.ScaleOutInstancesResponse;
|
|
130
131
|
const RefreshSettings = models.RefreshSettings;
|
|
@@ -165,7 +166,7 @@ const AttachInstancesRequest = models.AttachInstancesRequest;
|
|
|
165
166
|
const StopInstanceRefreshResponse = models.StopInstanceRefreshResponse;
|
|
166
167
|
const AttachLoadBalancersRequest = models.AttachLoadBalancersRequest;
|
|
167
168
|
const SpotMixedAllocationPolicy = models.SpotMixedAllocationPolicy;
|
|
168
|
-
const
|
|
169
|
+
const HostNameIndexSettings = models.HostNameIndexSettings;
|
|
169
170
|
const ResumeInstanceRefreshResponse = models.ResumeInstanceRefreshResponse;
|
|
170
171
|
const DescribeScalingPoliciesResponse = models.DescribeScalingPoliciesResponse;
|
|
171
172
|
const Activity = models.Activity;
|
|
@@ -157,17 +157,19 @@ The default data disk should be the same as the system disk.
|
|
|
157
157
|
this.DataDisks = null;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
* Specifies the related settings for the cloud virtual machine HostName (HostName).
|
|
161
|
+
windows instances do not support setting hostname.
|
|
162
|
+
When adding new attributes, the cloud virtual machine hostname must be transmitted. other fields not transmitted will be set as default.
|
|
163
|
+
Validates whether the host name (with suffix added if it exists) exceeds the maximum of 46 characters.
|
|
163
164
|
* @type {HostNameSettings || null}
|
|
164
165
|
*/
|
|
165
166
|
this.HostNameSettings = null;
|
|
166
167
|
|
|
167
168
|
/**
|
|
168
|
-
*
|
|
169
|
-
If this field
|
|
170
|
-
|
|
169
|
+
* Specifies the related settings of the cloud virtual machine (cvm) instance name.
|
|
170
|
+
If the user sets this field in the launch configuration, the instance name of the instance created by the scaling group will be set according to this field and passed to CVM. if the user does not set this field in the launch configuration, the instance name of the instance created by the scaling group will be set as "as-{{ scaling group AutoScalingGroupName }}" and passed to CVM.
|
|
171
|
+
Specifies the instance name of the cloud virtual machine when adding this attribute. other fields not transmitted will be set as default.
|
|
172
|
+
Verifies whether the instance name (add the suffix if it exists) exceeds the maximum of 108 characters.
|
|
171
173
|
* @type {InstanceNameSettings || null}
|
|
172
174
|
*/
|
|
173
175
|
this.InstanceNameSettings = null;
|
|
@@ -185,7 +187,7 @@ This field requires passing in the `InstanceName` field. Other fields that are n
|
|
|
185
187
|
this.CamRoleName = null;
|
|
186
188
|
|
|
187
189
|
/**
|
|
188
|
-
* High-Performance computing cluster ID.
|
|
190
|
+
* High-Performance computing cluster ID. See [Tencent Cloud HPC Documentation](https://www.tencentcloud.com/zh/document/product/1236) for more details.
|
|
189
191
|
Note: this field is empty by default.
|
|
190
192
|
* @type {string || null}
|
|
191
193
|
*/
|
|
@@ -426,171 +428,155 @@ class ModifyAutoScalingGroupRequest extends AbstractModel {
|
|
|
426
428
|
super();
|
|
427
429
|
|
|
428
430
|
/**
|
|
429
|
-
* Scaling group ID. obtain available scaling group ids in the following ways
|
|
430
|
-
<li>Query the scaling group ID by logging in to the [console](https://console.cloud.tencent.com/autoscaling/group).</li>.
|
|
431
|
-
<li>Specifies the scaling group ID obtained by calling the api [DescribeAutoScalingGroups](https://intl.cloud.tencent.com/document/api/377/20438?from_cn_redirect=1) and retrieving the AutoScalingGroupId from the return information.</li>.
|
|
431
|
+
* <p>Scaling group ID. obtain available scaling group ids in the following ways:</p><li>query scaling group ids by logging in to the <a href="https://console.cloud.tencent.com/autoscaling/group">console</a>.</li><li>obtain scaling group ids by calling the <a href="https://www.tencentcloud.comom/document/api/377/20438?from_cn_redirect=1">DescribeAutoScalingGroups</a> api and retrieving AutoScalingGroupId from the returned information.</li>.
|
|
432
432
|
* @type {string || null}
|
|
433
433
|
*/
|
|
434
434
|
this.AutoScalingGroupId = null;
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
*
|
|
437
|
+
* <p>The scaling group name must be unique in your account. name only supports chinese, english, digits, underscore, separator "-", and decimal point. the maximum length cannot exceed 55 bytes.</p>.
|
|
438
438
|
* @type {string || null}
|
|
439
439
|
*/
|
|
440
440
|
this.AutoScalingGroupName = null;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
|
-
* Default cooldown
|
|
443
|
+
* <P>Default cooldown in seconds, value ranges from 0 to 3600, default value is 300.</p>.
|
|
444
444
|
* @type {number || null}
|
|
445
445
|
*/
|
|
446
446
|
this.DefaultCooldown = null;
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
|
-
* Expected number of instances
|
|
449
|
+
* <P>Expected number of instances. value range [0,2000]. to meet the maximum value equal to or greater than the expected value, and the expected value equal to or greater than the minimum value.</p>.
|
|
450
450
|
* @type {number || null}
|
|
451
451
|
*/
|
|
452
452
|
this.DesiredCapacity = null;
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
|
-
* Launch configuration ID. obtain available launch configuration ids in the following ways
|
|
456
|
-
<li>Queries the launch configuration ID by logging in to the [console](https://console.cloud.tencent.com/autoscaling/config).</li>.
|
|
457
|
-
<li>Specifies the launch configuration ID obtained by calling the api [DescribeLaunchConfigurations](https://intl.cloud.tencent.com/document/api/377/20445?from_cn_redirect=1) and retrieving the LaunchConfigurationId from the return information.</li>.
|
|
455
|
+
* <p>Launch configuration ID. obtain available launch configuration ids in the following ways:</p><li>query the launch configuration ID by logging in to the <a href="https://console.cloud.tencent.com/autoscaling/config">console</a>.</li><li>obtain the launch configuration ID by calling the <a href="https://www.tencentcloud.comom/document/api/377/20445?from_cn_redirect=1">DescribeLaunchConfigurations</a> api and retrieving the LaunchConfigurationId from the returned information.</li>.
|
|
458
456
|
* @type {string || null}
|
|
459
457
|
*/
|
|
460
458
|
this.LaunchConfigurationId = null;
|
|
461
459
|
|
|
462
460
|
/**
|
|
463
|
-
* Maximum number of instances
|
|
461
|
+
* <P>Maximum number of instances. value range: [0,2000]. to meet the requirement, the maximum value must be equal to or greater than the expected value, and the expected value must be equal to or greater than the minimum value.</p>.
|
|
464
462
|
* @type {number || null}
|
|
465
463
|
*/
|
|
466
464
|
this.MaxSize = null;
|
|
467
465
|
|
|
468
466
|
/**
|
|
469
|
-
* Minimum number of instances. value range [0,2000]. to meet maximum value equal to or greater than expected value, expected value equal to or greater than minimum value
|
|
467
|
+
* <P>Minimum number of instances. value range: [0,2000]. to meet the requirement, the maximum value must be equal to or greater than the expected value, and the expected value must be equal to or greater than the minimum value.</p>.
|
|
470
468
|
* @type {number || null}
|
|
471
469
|
*/
|
|
472
470
|
this.MinSize = null;
|
|
473
471
|
|
|
474
472
|
/**
|
|
475
|
-
* Project ID. obtain this parameter by calling
|
|
473
|
+
* <p>Project ID. obtain this parameter by calling the `ProjectId` field in the return value of <a href="https://www.tencentcloud.comom/document/api/651/78725?from_cn_redirect=1">DescribeProject</a>. default value is 0, indicating usage of the default project.</p>.
|
|
476
474
|
* @type {number || null}
|
|
477
475
|
*/
|
|
478
476
|
this.ProjectId = null;
|
|
479
477
|
|
|
480
478
|
/**
|
|
481
|
-
* subnet ID list.
|
|
479
|
+
* <p>subnet ID list. valid vpc subnet ids can be obtained by logging in to the <a href="https://console.cloud.tencent.com/vpc/subnet">console</a> for querying. you can also call the API <a href="https://www.tencentcloud.comom/document/product/215/15784?from_cn_redirect=1">DescribeSubnets</a> and retrieve them from the SubnetId field in the API response.</p>.
|
|
482
480
|
* @type {Array.<string> || null}
|
|
483
481
|
*/
|
|
484
482
|
this.SubnetIds = null;
|
|
485
483
|
|
|
486
484
|
/**
|
|
487
|
-
* Termination policy, whose maximum length is currently 1.
|
|
488
|
-
<li>OLDEST_INSTANCE: Terminate the oldest instance in the scaling group first.</li>
|
|
489
|
-
<li>NEWEST_INSTANCE: Terminate the newest instance in the scaling group first.</li>
|
|
485
|
+
* <p>Termination policy, whose maximum length is currently 1. valid values: OLDEST_INSTANCE and NEWEST_INSTANCE.</p><li> OLDEST_INSTANCE terminates the OLDEST INSTANCE in the scaling group first.</li><li> NEWEST_INSTANCE terminates the NEWEST INSTANCE in the scaling group first.</li>.
|
|
490
486
|
* @type {Array.<string> || null}
|
|
491
487
|
*/
|
|
492
488
|
this.TerminationPolicies = null;
|
|
493
489
|
|
|
494
490
|
/**
|
|
495
|
-
* vpc ID. when modifying the vpc, you need to change the SubnetIds parameter to the subnet of this vpc. effective VpcId can be queried by logging in to the
|
|
491
|
+
* <p>vpc ID. when modifying the vpc, you need to change the SubnetIds parameter to the subnet of this vpc. effective VpcId can be queried by logging in to the <a href="https://console.cloud.tencent.com/vpc/vpc">console</a>; you can also call the <a href="https://www.tencentcloud.comom/document/api/215/15778?from_cn_redirect=1">DescribeVpc</a> api and get the VpcId field from the api response.</p>.
|
|
496
492
|
* @type {string || null}
|
|
497
493
|
*/
|
|
498
494
|
this.VpcId = null;
|
|
499
495
|
|
|
500
496
|
/**
|
|
501
|
-
*
|
|
497
|
+
* <P>AZ list</p>.
|
|
502
498
|
* @type {Array.<string> || null}
|
|
503
499
|
*/
|
|
504
500
|
this.Zones = null;
|
|
505
501
|
|
|
506
502
|
/**
|
|
507
|
-
*
|
|
508
|
-
<li>IMMEDIATE_RETRY: Immediately retry, and quickly retry in a short period. There will be no retry anymore after a certain number of consecutive failures (5).</li>
|
|
509
|
-
<li>INCREMENTAL_INTERVALS: Retry with incremental intervals. As the number of consecutive failures increases, the retry intervals gradually become longer, ranging from seconds to one day.</li>
|
|
510
|
-
<li>NO_RETRY: There will be no retry until another user call or alarm information is received.</li>
|
|
503
|
+
* <p>RETRY policy, whose valid values include IMMEDIATE_RETRY, INCREMENTAL_INTERVALS, and NO_RETRY, with the default value being IMMEDIATE_RETRY. a partially successful scaling operation is considered a failed activity.</p><li>IMMEDIATE_RETRY: RETRY immediately, attempting retries in rapid succession over a short period, and cease further retries after a certain number of consecutive failures (5 times).</li><li>INCREMENTAL_INTERVALS: INCREMENTAL interval RETRY, with the RETRY interval gradually increasing as the number of consecutive failures rises, ranging from seconds to 1 day.</li><li>NO_RETRY: NO RETRY until a user call or Alarm information is received again.</li>.
|
|
511
504
|
* @type {string || null}
|
|
512
505
|
*/
|
|
513
506
|
this.RetryPolicy = null;
|
|
514
507
|
|
|
515
508
|
/**
|
|
516
|
-
*
|
|
517
|
-
<li>ALL: Verification passes if all AZs or subnets are available; otherwise, a verification error will be reported.<li>
|
|
518
|
-
<li>ANY: Verification passes if any AZ or subnet is available; otherwise, a verification error will be reported.</li>
|
|
519
|
-
|
|
520
|
-
Common reasons for unavailable AZs or subnets include the CVM InstanceType in the AZ being sold out, the CBS cloud disk in the AZ being sold out, insufficient quota in the AZ, and insufficient IP addresses in the subnet.
|
|
521
|
-
If there is no AZ or subnet in Zones/SubnetIds, a verification error will be reported regardless of the values of ZonesCheckPolicy.
|
|
509
|
+
* <p>Availability Zone validation policy. valid values include ALL and ANY. default value: ANY. it is effective when scaling group actual change resource-related fields (launch configuration, az, subnet) are modified.</p><li> ALL: verification passes if ALL azs (Zone) or subnets (SubnetId) are available. otherwise, a verification error will be reported.</li><li> ANY: verification passes if ANY AZ (Zone) or subnet (SubnetId) is available. otherwise, a verification error will be reported.</li><p>common causes for unavailable azs or subnets include CVM instancetype sold out in the az, CBS cloud disk sold out in the az, insufficient quota in the az, or insufficient IP addresses in the subnet.</p><p>if Zones/SubnetIds contain nonexistent azs or subnets, a verification error will be reported regardless of the values of ZonesCheckPolicy.</p>.
|
|
522
510
|
* @type {string || null}
|
|
523
511
|
*/
|
|
524
512
|
this.ZonesCheckPolicy = null;
|
|
525
513
|
|
|
526
514
|
/**
|
|
527
|
-
* Service settings
|
|
515
|
+
* <P>Service settings, including cloud monitoring and unhealthy instance replacement.</p>.
|
|
528
516
|
* @type {ServiceSettings || null}
|
|
529
517
|
*/
|
|
530
518
|
this.ServiceSettings = null;
|
|
531
519
|
|
|
532
520
|
/**
|
|
533
|
-
* The number of IPv6 addresses
|
|
521
|
+
* <p>The instance has a configuration for the number of IPv6 addresses. valid values include 0 and 1. the default value is 0, which means the instance does not allocate an IPv6 address. you need to use a VPC that supports IPv6 and enable IPv6 CIDR in the subnet.</p>
|
|
534
522
|
* @type {number || null}
|
|
535
523
|
*/
|
|
536
524
|
this.Ipv6AddressCount = null;
|
|
537
525
|
|
|
538
526
|
/**
|
|
539
|
-
*
|
|
540
|
-
<li>PRIORITY: Instances are attempted to be created taking the order of the AZ/subnet list as the priority. If the highest-priority AZ/subnet can create instances successfully, instances can always be created in that AZ/subnet.</li>
|
|
541
|
-
<li>EQUALITY: The instances added through scale-out will be distributed across multiple AZs/subnets to ensure a relatively balanced number of instances in each AZ/subnet after scaling out.</li>
|
|
542
|
-
|
|
543
|
-
Points to consider regarding this policy:
|
|
544
|
-
<li>When the scaling group is based on a classic network, this policy applies to the multi-AZ; when the scaling group is based on a VPC network, this policy applies to the multi-subnet, in this case, the AZs are no longer considered. For example, if there are four subnets labeled A, B, C, and D, where A, B, and C are in AZ 1 and D is in AZ 2, the subnets A, B, C, and D are considered for sorting without regard to AZs 1 and 2.</li>
|
|
545
|
-
<li>This policy applies to the multi-AZ/multi-subnet and not to the InstanceTypes parameter of the launch configuration, which is selected according to the priority policy.</li>
|
|
546
|
-
<li>When instances are created according to the PRIORITY policy, ensure the policy for multiple models first, followed by the policy for the multi-AZ/subnet. For example, with models A and B and subnets 1, 2, and 3, attempts will be made in the order of A1, A2, A3, B1, B2, and B3. If A1 is sold out, A2 will be attempted (instead of B1).</li>
|
|
527
|
+
* <p>The multi-az/subnet policy, with values including PRIORITY and EQUALITY, defaults to PRIORITY.</p><li> PRIORITY: attempt to create instances taking the order of the az/subnet list as the PRIORITY. if instances can be successfully created in the az/subnet with the highest PRIORITY, they will always be created there.</li> <li> EQUALITY: instances added through scale-out will be distributed across multiple azs/subnets to ensure A relatively balanced number of instances in each az/subnet after expansion.</li> <p>points to consider:</p><li> when the scaling group is based on A classic network, this policy applies to multi-az. when the scaling group is based on A VPC network, this policy applies to multi-subnet, no longer considering AZ factors. for example, with four subnets labeled A, B, c, and D, where A, B, and c are in availability zone 1 and D is in availability zone 2, consider subnets A, B, c, and D for sorting, without considering availability zones 1 and 2.</li> <li> this policy applies to multi-az/subnet but is not applicable to the instancetypes parameter of the launch configuration. selection of multiple models is according to PRIORITY policy.</li> <li> when creating instances according to the PRIORITY policy, ensure the policy for multiple models first, then the policy for multi-az/subnet. for example, with multiple models A and B, and multiple subnets 1, 2, and 3, attempts will be made in the order A1, A2, A3, B1, B2, B3. if A1 is sold out, A2 will be attempted (not B1).</li>.
|
|
547
528
|
* @type {string || null}
|
|
548
529
|
*/
|
|
549
530
|
this.MultiZoneSubnetPolicy = null;
|
|
550
531
|
|
|
551
532
|
/**
|
|
552
|
-
* Scaling group instance health check type,
|
|
553
|
-
<li>CVM: Determines whether an instance is unhealthy based on its network status. An unhealthy network status is indicated by an event where instances become unreachable via PING. Detailed criteria of judgment can be found in [Instance Health Check](https://intl.cloud.tencent.com/document/product/377/8553?from_cn_redirect=1).</li>
|
|
554
|
-
<li>CLB: Determines whether an instance is unhealthy based on the health check status of CLB. For principles behind CLB health checks, see [Health Check](https://intl.cloud.tencent.com/document/product/214/6097?from_cn_redirect=1).</li>
|
|
533
|
+
* <p>Scaling group instance health check type, values are as follows:</p><li>CVM: determine whether an instance is unhealthy based on its network status. an unhealthy network status refers to an event where instances become unreachable via PING. for detailed criteria of judgment, refer to [instance health check](https://www.tencentcloud.comom/document/product/377/8553?from_cn_redirect=1).</li><li>CLB: determine whether an instance is unhealthy based on the health check status of CLB. for the principle of CLB health check, see [health check](https://www.tencentcloud.comom/document/product/214/6097?from_cn_redirect=1).</li>.
|
|
555
534
|
* @type {string || null}
|
|
556
535
|
*/
|
|
557
536
|
this.HealthCheckType = null;
|
|
558
537
|
|
|
559
538
|
/**
|
|
560
|
-
*
|
|
539
|
+
* <p>Specifies the CLB health check grace period in seconds.</p><p>value range: [0, 7200].</p><p>default value: 0.</p>
|
|
561
540
|
* @type {number || null}
|
|
562
541
|
*/
|
|
563
542
|
this.LoadBalancerHealthCheckGracePeriod = null;
|
|
564
543
|
|
|
565
544
|
/**
|
|
566
|
-
* Instance
|
|
567
|
-
<li>LAUNCH_CONFIGURATION: Represent the traditional mode of assigning instances according to the launch configuration.</li>
|
|
568
|
-
<li>SPOT_MIXED: Represent the spot mixed mode. Currently, this mode is supported only when the launch configuration is set to the pay-as-you-go billing mode. In the mixed mode, the scaling group will scale out pay-as-you-go models or spot models based on the predefined settings. When the mixed mode is used, the billing type of the associated launch configuration cannot be modified.</li>
|
|
545
|
+
* <p>Instance allocation policy. valid values include LAUNCH_CONFIGURATION and SPOT_MIXED.</p><li> LAUNCH_CONFIGURATION represents the traditional startup CONFIGURATION mode.</li><li> SPOT_MIXED represents the SPOT hybrid mode. currently only support hybrid mode when the LAUNCH CONFIGURATION uses pay-as-you-go billing mode. in hybrid mode, the scaling group will scale out based on the SPOT model. the billing type of the associated LAUNCH CONFIGURATION cannot be modified when using hybrid mode.</li>.
|
|
569
546
|
* @type {string || null}
|
|
570
547
|
*/
|
|
571
548
|
this.InstanceAllocationPolicy = null;
|
|
572
549
|
|
|
573
550
|
/**
|
|
574
|
-
*
|
|
575
|
-
This parameter is valid only when `InstanceAllocationPolicy` is set to `SPOT_MIXED`.
|
|
551
|
+
* <p>Allocation policy of instances for each billing type in SPOT hybrid mode.<br>available only when InstanceAllocationPolicy is set to SPOT_MIXED.</p>.
|
|
576
552
|
* @type {SpotMixedAllocationPolicy || null}
|
|
577
553
|
*/
|
|
578
554
|
this.SpotMixedAllocationPolicy = null;
|
|
579
555
|
|
|
580
556
|
/**
|
|
581
|
-
*
|
|
582
|
-
<li>TRUE: Enable this feature. When spot instances in the scaling group are about to be automatically recycled by the spot instance service, AS proactively initiates the termination process of the spot instances. If there is a configured scale-in hook, it will be triggered before termination. After the termination process starts, AS asynchronously initiates the scale-out to reach the expected number of instances.</li>
|
|
583
|
-
<li>FALSE: Disable this feature. AS waits for the spot instance to be terminated before scaling out to reach the number of instances expected by the scaling group.</li>
|
|
557
|
+
* <p>The capacity rebalancing feature is only applicable to spot instances within the scaling group. valid values:</p><li> TRUE: enable this feature. when spot instances within the scaling group are about to be automatically recycled by the spot instance service, AS initiates the termination process of spot instances. if a scale-in hook is configured, trigger before termination. after the termination process starts, AS asynchronously initiates scale-out to reach the expected number of instances.</li> <li> FALSE: disable this feature. AS waits for the spot instance to be terminated before scaling out to reach the number of instances expected by the scaling group.</li>.
|
|
584
558
|
* @type {boolean || null}
|
|
585
559
|
*/
|
|
586
560
|
this.CapacityRebalance = null;
|
|
587
561
|
|
|
588
562
|
/**
|
|
589
|
-
* Instance name sequencing settings.
|
|
563
|
+
* <P>Instance name sequencing settings. once enabled, append incremental numeric sequence to the names of instances automatically created within the scaling group.</p>.
|
|
590
564
|
* @type {InstanceNameIndexSettings || null}
|
|
591
565
|
*/
|
|
592
566
|
this.InstanceNameIndexSettings = null;
|
|
593
567
|
|
|
568
|
+
/**
|
|
569
|
+
* <P>Instance hostname sequencing settings. once enabled, append incremental numeric sequence to the hostname of instances automatically created within the scaling group.</p>.
|
|
570
|
+
* @type {HostNameIndexSettings || null}
|
|
571
|
+
*/
|
|
572
|
+
this.HostNameIndexSettings = null;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* <p>The concurrent scaling up functionality for matching expected numbers cannot be set when InstanceAllocationPolicy is in spot hybrid mode or when ScalingMode is in the scaling-prioritized startup mode. currently only two matching expected number scale-out activities are supported to run concurrently. other types of activities such as specified quantity scale-out or scale-in cannot be specified. set to FALSE indicates disabled.</p>.
|
|
576
|
+
* @type {boolean || null}
|
|
577
|
+
*/
|
|
578
|
+
this.ConcurrentScaleOutForDesiredCapacity = null;
|
|
579
|
+
|
|
594
580
|
}
|
|
595
581
|
|
|
596
582
|
/**
|
|
@@ -639,6 +625,13 @@ This parameter is valid only when `InstanceAllocationPolicy` is set to `SPOT_MIX
|
|
|
639
625
|
this.InstanceNameIndexSettings = obj;
|
|
640
626
|
}
|
|
641
627
|
|
|
628
|
+
if (params.HostNameIndexSettings) {
|
|
629
|
+
let obj = new HostNameIndexSettings();
|
|
630
|
+
obj.deserialize(params.HostNameIndexSettings)
|
|
631
|
+
this.HostNameIndexSettings = obj;
|
|
632
|
+
}
|
|
633
|
+
this.ConcurrentScaleOutForDesiredCapacity = 'ConcurrentScaleOutForDesiredCapacity' in params ? params.ConcurrentScaleOutForDesiredCapacity : null;
|
|
634
|
+
|
|
642
635
|
}
|
|
643
636
|
}
|
|
644
637
|
|
|
@@ -1953,14 +1946,25 @@ class InstanceNameSettings extends AbstractModel {
|
|
|
1953
1946
|
this.InstanceNameStyle = null;
|
|
1954
1947
|
|
|
1955
1948
|
/**
|
|
1956
|
-
* CVM instance name suffix. The
|
|
1957
|
-
|
|
1958
|
-
Assume the suffix name is suffix and the original instance name is test.0, then the final instance name is test.0.suffix.
|
|
1949
|
+
* CVM instance name suffix. The suffix for a CVM instance name must be 1 to 105 characters in length. Additionally, the combined character count of the base instance name and the suffix must not exceed 107 characters.
|
|
1959
1950
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1960
1951
|
* @type {string || null}
|
|
1961
1952
|
*/
|
|
1962
1953
|
this.InstanceNameSuffix = null;
|
|
1963
1954
|
|
|
1955
|
+
/**
|
|
1956
|
+
* Specifies the delimiter for the CVM instance name. The default delimiter is a dot (.). Valid values:
|
|
1957
|
+
- dot (.)
|
|
1958
|
+
- hyphen (-)
|
|
1959
|
+
- empty string.
|
|
1960
|
+
Delimiter used for concatenating instance name, index, and suffix. Assuming instance name is testGpu4090, index is 0007, and suffix is server.
|
|
1961
|
+
-The delimiter is a period (.), and the final concatenation is testGpu4090.007.server.
|
|
1962
|
+
-Specifies the delimiter as a hyphen (-), with the final concatenation as testGpu4090-007-server.
|
|
1963
|
+
-Delimiter is an empty string, finally concatenated as testGpu4090007server.
|
|
1964
|
+
* @type {string || null}
|
|
1965
|
+
*/
|
|
1966
|
+
this.InstanceNameDelimiter = null;
|
|
1967
|
+
|
|
1964
1968
|
}
|
|
1965
1969
|
|
|
1966
1970
|
/**
|
|
@@ -1973,6 +1977,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1973
1977
|
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
1974
1978
|
this.InstanceNameStyle = 'InstanceNameStyle' in params ? params.InstanceNameStyle : null;
|
|
1975
1979
|
this.InstanceNameSuffix = 'InstanceNameSuffix' in params ? params.InstanceNameSuffix : null;
|
|
1980
|
+
this.InstanceNameDelimiter = 'InstanceNameDelimiter' in params ? params.InstanceNameDelimiter : null;
|
|
1976
1981
|
|
|
1977
1982
|
}
|
|
1978
1983
|
}
|
|
@@ -4046,10 +4051,10 @@ class HostNameSettings extends AbstractModel {
|
|
|
4046
4051
|
super();
|
|
4047
4052
|
|
|
4048
4053
|
/**
|
|
4049
|
-
*
|
|
4050
|
-
<li>Dots (.) and hyphens (-) cannot be used as the first or last character of HostName, and cannot be used consecutively.</li
|
|
4051
|
-
<
|
|
4052
|
-
<li>Instances of other types (
|
|
4054
|
+
* Specifies the cvm hostname.
|
|
4055
|
+
<li>Dots (.) and hyphens (-) cannot be used as the first or last character of HostName, and cannot be used consecutively.</li>.
|
|
4056
|
+
<Li>Windows instances are not supported.</li>.
|
|
4057
|
+
<li>Instances of other types (such as Linux): specifies the character length should be within the range of [2, 42]. multiple dots (.) are allowed. each segment between dots can consist of letters (case-insensitive), digits, and hyphens (-). using only digits is not allowed.</li>.
|
|
4053
4058
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4054
4059
|
* @type {string || null}
|
|
4055
4060
|
*/
|
|
@@ -4065,16 +4070,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4065
4070
|
this.HostNameStyle = null;
|
|
4066
4071
|
|
|
4067
4072
|
/**
|
|
4068
|
-
*
|
|
4069
|
-
<li>Dots (.) and hyphens (-) cannot be used as the
|
|
4070
|
-
<
|
|
4071
|
-
<li>Instances of other types (
|
|
4072
|
-
Assume the suffix name is suffix and the original HostName is test.0, then the final HostName is test.0.suffix.
|
|
4073
|
+
* Specifies the hostname suffix for cvm.
|
|
4074
|
+
<li>Dots (.) and hyphens (-) cannot be used as the last character of HostNameSuffix, and cannot be used consecutively.</li>
|
|
4075
|
+
<Li>Windows instances are not supported.</li>
|
|
4076
|
+
<li>Instances of other types (such as Linux): The character length should be within the range of [1, 39], and the combined length with HostName cannot exceed 41. Multiple dots (.) are allowed. each segment between dots can consist of letters (case-insensitive), digits, and hyphens (-).</li>
|
|
4073
4077
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4074
4078
|
* @type {string || null}
|
|
4075
4079
|
*/
|
|
4076
4080
|
this.HostNameSuffix = null;
|
|
4077
4081
|
|
|
4082
|
+
/**
|
|
4083
|
+
* Specifies the delimiter for the CVM host name. The default delimiter is a dot (.). Valid values:
|
|
4084
|
+
- dot (.)
|
|
4085
|
+
- hyphen (-)
|
|
4086
|
+
- empty string.
|
|
4087
|
+
Delimiter used for concatenating host name, index, and suffix. Assuming host name is testGpu4090, index is 0007, and suffix is server.
|
|
4088
|
+
-The delimiter is a period (.), and the final concatenation is testGpu4090.007.server.
|
|
4089
|
+
-Specifies the delimiter as a hyphen (-), with the final concatenation as testGpu4090-007-server.
|
|
4090
|
+
-Delimiter is an empty string, finally concatenated as testGpu4090007server.
|
|
4091
|
+
* @type {string || null}
|
|
4092
|
+
*/
|
|
4093
|
+
this.HostNameDelimiter = null;
|
|
4094
|
+
|
|
4078
4095
|
}
|
|
4079
4096
|
|
|
4080
4097
|
/**
|
|
@@ -4087,6 +4104,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4087
4104
|
this.HostName = 'HostName' in params ? params.HostName : null;
|
|
4088
4105
|
this.HostNameStyle = 'HostNameStyle' in params ? params.HostNameStyle : null;
|
|
4089
4106
|
this.HostNameSuffix = 'HostNameSuffix' in params ? params.HostNameSuffix : null;
|
|
4107
|
+
this.HostNameDelimiter = 'HostNameDelimiter' in params ? params.HostNameDelimiter : null;
|
|
4090
4108
|
|
|
4091
4109
|
}
|
|
4092
4110
|
}
|
|
@@ -6873,6 +6891,104 @@ Default value means CONTINUE to execute capacity expansion or reduction.
|
|
|
6873
6891
|
}
|
|
6874
6892
|
}
|
|
6875
6893
|
|
|
6894
|
+
/**
|
|
6895
|
+
* UpgradeLifecycleHook request structure.
|
|
6896
|
+
* @class
|
|
6897
|
+
*/
|
|
6898
|
+
class UpgradeLifecycleHookRequest extends AbstractModel {
|
|
6899
|
+
constructor(){
|
|
6900
|
+
super();
|
|
6901
|
+
|
|
6902
|
+
/**
|
|
6903
|
+
* Lifecycle hook ID. you can call the api [DescribeLifecycleHooks](https://intl.cloud.tencent.com/document/api/377/34452?from_cn_redirect=1) and retrieve the LifecycleHookId from the returned information to obtain the lifecycle hook ID.
|
|
6904
|
+
* @type {string || null}
|
|
6905
|
+
*/
|
|
6906
|
+
this.LifecycleHookId = null;
|
|
6907
|
+
|
|
6908
|
+
/**
|
|
6909
|
+
* Lifecycle hook name, which can contain chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) with a maximum length of 128 characters.
|
|
6910
|
+
* @type {string || null}
|
|
6911
|
+
*/
|
|
6912
|
+
this.LifecycleHookName = null;
|
|
6913
|
+
|
|
6914
|
+
/**
|
|
6915
|
+
* Scenario for performing the lifecycle hook. valid values:.
|
|
6916
|
+
`INSTANCE_LAUNCHING`: the lifecycle hook is being scaled out.
|
|
6917
|
+
`INSTANCE_TERMINATING`: the lifecycle hook is being scaled in.
|
|
6918
|
+
* @type {string || null}
|
|
6919
|
+
*/
|
|
6920
|
+
this.LifecycleTransition = null;
|
|
6921
|
+
|
|
6922
|
+
/**
|
|
6923
|
+
* Action to be taken by the scaling group in case of lifecycle hook timeout or LifecycleCommand execution failure. valid values are as follows:.
|
|
6924
|
+
Default value, means CONTINUE to execute capacity expansion or reduction.
|
|
6925
|
+
* ABANDON: for scale-out hooks, cvms that time out or fail to execute LifecycleCommand will be released directly or removed. for scale-in hooks, scale-in activities will continue.
|
|
6926
|
+
* @type {string || null}
|
|
6927
|
+
*/
|
|
6928
|
+
this.DefaultResult = null;
|
|
6929
|
+
|
|
6930
|
+
/**
|
|
6931
|
+
* The maximum length of time (in seconds) that can elapse before the lifecycle hook times out. Value range: 30-7200. Default value: 300
|
|
6932
|
+
* @type {number || null}
|
|
6933
|
+
*/
|
|
6934
|
+
this.HeartbeatTimeout = null;
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* Additional information sent by auto scaling to notification targets, used when configuring a notification (default value: ""). NotificationMetadata and LifecycleCommand are mutually exclusive parameters and cannot be specified simultaneously.
|
|
6938
|
+
* @type {string || null}
|
|
6939
|
+
*/
|
|
6940
|
+
this.NotificationMetadata = null;
|
|
6941
|
+
|
|
6942
|
+
/**
|
|
6943
|
+
* Notification result. `NotificationTarget` and `LifecycleCommand` cannot be specified at the same time.
|
|
6944
|
+
* @type {NotificationTarget || null}
|
|
6945
|
+
*/
|
|
6946
|
+
this.NotificationTarget = null;
|
|
6947
|
+
|
|
6948
|
+
/**
|
|
6949
|
+
* The scenario where the lifecycle hook is applied. `EXTENSION`: the lifecycle hook will be triggered when AttachInstances, DetachInstances or RemoveInstaces is called. `NORMAL`: the lifecycle hook is not triggered by the above APIs.
|
|
6950
|
+
* @type {string || null}
|
|
6951
|
+
*/
|
|
6952
|
+
this.LifecycleTransitionType = null;
|
|
6953
|
+
|
|
6954
|
+
/**
|
|
6955
|
+
* Remote command execution object. `NotificationMetadata`, `NotificationTarget`, and `LifecycleCommand` are mutually exclusive and cannot be specified simultaneously.
|
|
6956
|
+
* @type {LifecycleCommand || null}
|
|
6957
|
+
*/
|
|
6958
|
+
this.LifecycleCommand = null;
|
|
6959
|
+
|
|
6960
|
+
}
|
|
6961
|
+
|
|
6962
|
+
/**
|
|
6963
|
+
* @private
|
|
6964
|
+
*/
|
|
6965
|
+
deserialize(params) {
|
|
6966
|
+
if (!params) {
|
|
6967
|
+
return;
|
|
6968
|
+
}
|
|
6969
|
+
this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
|
|
6970
|
+
this.LifecycleHookName = 'LifecycleHookName' in params ? params.LifecycleHookName : null;
|
|
6971
|
+
this.LifecycleTransition = 'LifecycleTransition' in params ? params.LifecycleTransition : null;
|
|
6972
|
+
this.DefaultResult = 'DefaultResult' in params ? params.DefaultResult : null;
|
|
6973
|
+
this.HeartbeatTimeout = 'HeartbeatTimeout' in params ? params.HeartbeatTimeout : null;
|
|
6974
|
+
this.NotificationMetadata = 'NotificationMetadata' in params ? params.NotificationMetadata : null;
|
|
6975
|
+
|
|
6976
|
+
if (params.NotificationTarget) {
|
|
6977
|
+
let obj = new NotificationTarget();
|
|
6978
|
+
obj.deserialize(params.NotificationTarget)
|
|
6979
|
+
this.NotificationTarget = obj;
|
|
6980
|
+
}
|
|
6981
|
+
this.LifecycleTransitionType = 'LifecycleTransitionType' in params ? params.LifecycleTransitionType : null;
|
|
6982
|
+
|
|
6983
|
+
if (params.LifecycleCommand) {
|
|
6984
|
+
let obj = new LifecycleCommand();
|
|
6985
|
+
obj.deserialize(params.LifecycleCommand)
|
|
6986
|
+
this.LifecycleCommand = obj;
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6989
|
+
}
|
|
6990
|
+
}
|
|
6991
|
+
|
|
6876
6992
|
/**
|
|
6877
6993
|
* CompleteLifecycleAction response structure.
|
|
6878
6994
|
* @class
|
|
@@ -8593,31 +8709,21 @@ class InstanceNameIndexSettings extends AbstractModel {
|
|
|
8593
8709
|
super();
|
|
8594
8710
|
|
|
8595
8711
|
/**
|
|
8596
|
-
* Whether to enable instance
|
|
8597
|
-
|
|
8598
|
-
**true**: indicates that instance name index is enabled.
|
|
8599
|
-
**false**: indicates that instance name index is disabled.
|
|
8712
|
+
* <p>Whether to enable instance creation sequencing, disabled by default. valid values:</p><p><strong>TRUE</strong>: indicates that instance creation sequencing is enabled; <strong>FALSE</strong>: indicates that instance creation sequencing is disabled</p>.
|
|
8600
8713
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8601
8714
|
* @type {boolean || null}
|
|
8602
8715
|
*/
|
|
8603
8716
|
this.Enabled = null;
|
|
8604
8717
|
|
|
8605
8718
|
/**
|
|
8606
|
-
*
|
|
8607
|
-
|
|
8608
|
-
Indicates that the scale out activity will be failed when the index out of range.
|
|
8609
|
-
If not specified, carries forward historical index number or 0.
|
|
8610
|
-
Lowering the index sequence number may lead to instance name duplication within the group.
|
|
8719
|
+
* <p>Initial serial number. the value range is related to the IndexLength parameter: - when IndexLength is 0, the value range is [0, 99999999]. - when IndexLength is [1, 8], the value range is [0, 10^IndexLength-1], and the maximum value is the maximum number with the specified digits. the default value of the initial serial number is as follows: - first-time enabling of incremental serial number: the default value is 0 (the display length is related to IndexLength, for example, if IndexLength is 4, the display value is 0000). - non-first-time enabling of incremental serial number: the previous incremental serial number is postponed, for example, if the last usage incremented to serial number 069, the new default initial serial number is 070. note: modifying the initial serial number may lead to duplication within the scaling group.</p>.
|
|
8611
8720
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8612
8721
|
* @type {number || null}
|
|
8613
8722
|
*/
|
|
8614
8723
|
this.BeginIndex = null;
|
|
8615
8724
|
|
|
8616
8725
|
/**
|
|
8617
|
-
*
|
|
8618
|
-
|
|
8619
|
-
If set to 3, index number is in the format: 000, 001, 002 ... 010, 011 ... 100 ... 999. The maximum is 999.
|
|
8620
|
-
Assuming set to 0, the index number is 0, 1, 2 ... 10, 11 ... 100 ... 1000 ...10000 ... 99999999. Max number is 99999999.
|
|
8726
|
+
* <P>Incremental serial number length, defaults to 0, means no specified length. value range: 0-8, maximum is integer 8. - length set to 3, display form: 000, 001, 002 ... 010, 011 ... 100 ... 999, maximum is 999. - length set to 0, display form: 0, 1, 2 ... 10, 11 ... 100 ... 1000 ... 10000 ... 99999999, maximum is 99999999. note: continuous incremental serial number exceeding the limit can cause scale-out failure. do not set too small incremental serial number length.</p>.
|
|
8621
8727
|
* @type {number || null}
|
|
8622
8728
|
*/
|
|
8623
8729
|
this.IndexLength = null;
|
|
@@ -8936,70 +9042,30 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
8936
9042
|
}
|
|
8937
9043
|
|
|
8938
9044
|
/**
|
|
8939
|
-
*
|
|
9045
|
+
* Specifies the serial number of the instance hostname related settings.
|
|
8940
9046
|
* @class
|
|
8941
9047
|
*/
|
|
8942
|
-
class
|
|
9048
|
+
class HostNameIndexSettings extends AbstractModel {
|
|
8943
9049
|
constructor(){
|
|
8944
9050
|
super();
|
|
8945
9051
|
|
|
8946
9052
|
/**
|
|
8947
|
-
*
|
|
8948
|
-
* @type {
|
|
8949
|
-
*/
|
|
8950
|
-
this.LifecycleHookId = null;
|
|
8951
|
-
|
|
8952
|
-
/**
|
|
8953
|
-
* Lifecycle hook name, which can contain chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) with a maximum length of 128 characters.
|
|
8954
|
-
* @type {string || null}
|
|
8955
|
-
*/
|
|
8956
|
-
this.LifecycleHookName = null;
|
|
8957
|
-
|
|
8958
|
-
/**
|
|
8959
|
-
* Scenario for performing the lifecycle hook. valid values:.
|
|
8960
|
-
`INSTANCE_LAUNCHING`: the lifecycle hook is being scaled out.
|
|
8961
|
-
`INSTANCE_TERMINATING`: the lifecycle hook is being scaled in.
|
|
8962
|
-
* @type {string || null}
|
|
8963
|
-
*/
|
|
8964
|
-
this.LifecycleTransition = null;
|
|
8965
|
-
|
|
8966
|
-
/**
|
|
8967
|
-
* Action to be taken by the scaling group in case of lifecycle hook timeout or LifecycleCommand execution failure. valid values are as follows:.
|
|
8968
|
-
Default value, means CONTINUE to execute capacity expansion or reduction.
|
|
8969
|
-
* ABANDON: for scale-out hooks, cvms that time out or fail to execute LifecycleCommand will be released directly or removed. for scale-in hooks, scale-in activities will continue.
|
|
8970
|
-
* @type {string || null}
|
|
9053
|
+
* <p>Whether to enable serial number creation for instance hostname. not enabled by default. valid values:</p><p>TRUE: enable serial number creation for instance hostname. FALSE: disable serial number creation for instance hostname.</p>.
|
|
9054
|
+
* @type {boolean || null}
|
|
8971
9055
|
*/
|
|
8972
|
-
this.
|
|
9056
|
+
this.Enabled = null;
|
|
8973
9057
|
|
|
8974
9058
|
/**
|
|
8975
|
-
*
|
|
9059
|
+
* <p>Initial serial number. value range depends on the IndexLength parameter: - when IndexLength is 0, value range is [0, 99999999]. - when IndexLength is [1, 8], value range is [0, 10^IndexLength-1], and the maximum value is the maximum digit of the specified length. default value of initial serial number is as follows: - first-time enabling incremental serial number: default value is 0 (display digits depend on IndexLength, for example if IndexLength is 4, display value is 0000). - non-first-time enabling incremental serial number: continuation of previous incremental serial number, for example if last usage incremented to serial number 069, new default value is 070. note: modification of initial serial number may lead to duplication within the scaling group.</p>.
|
|
8976
9060
|
* @type {number || null}
|
|
8977
9061
|
*/
|
|
8978
|
-
this.
|
|
8979
|
-
|
|
8980
|
-
/**
|
|
8981
|
-
* Additional information sent by auto scaling to notification targets, used when configuring a notification (default value: ""). NotificationMetadata and LifecycleCommand are mutually exclusive parameters and cannot be specified simultaneously.
|
|
8982
|
-
* @type {string || null}
|
|
8983
|
-
*/
|
|
8984
|
-
this.NotificationMetadata = null;
|
|
8985
|
-
|
|
8986
|
-
/**
|
|
8987
|
-
* Notification result. `NotificationTarget` and `LifecycleCommand` cannot be specified at the same time.
|
|
8988
|
-
* @type {NotificationTarget || null}
|
|
8989
|
-
*/
|
|
8990
|
-
this.NotificationTarget = null;
|
|
8991
|
-
|
|
8992
|
-
/**
|
|
8993
|
-
* The scenario where the lifecycle hook is applied. `EXTENSION`: the lifecycle hook will be triggered when AttachInstances, DetachInstances or RemoveInstaces is called. `NORMAL`: the lifecycle hook is not triggered by the above APIs.
|
|
8994
|
-
* @type {string || null}
|
|
8995
|
-
*/
|
|
8996
|
-
this.LifecycleTransitionType = null;
|
|
9062
|
+
this.BeginIndex = null;
|
|
8997
9063
|
|
|
8998
9064
|
/**
|
|
8999
|
-
*
|
|
9000
|
-
* @type {
|
|
9065
|
+
* <P>Incremental serial number length, defaults to 0, means no specified length. value range: 0-8, maximum is integer 8. - length set to 3, display form: 000, 001, 002 ... 010, 011 ... 100 ... 999, maximum is 999. - length set to 0, display form: 0, 1, 2 ... 10, 11 ... 100 ... 1000 ... 10000 ... 99999999, maximum is 99999999. note: continuous incremental serial number exceeding the limit can cause scale-out failure. do not set too small incremental serial number length.</p>.
|
|
9066
|
+
* @type {number || null}
|
|
9001
9067
|
*/
|
|
9002
|
-
this.
|
|
9068
|
+
this.IndexLength = null;
|
|
9003
9069
|
|
|
9004
9070
|
}
|
|
9005
9071
|
|
|
@@ -9010,25 +9076,9 @@ Default value, means CONTINUE to execute capacity expansion or reduction.
|
|
|
9010
9076
|
if (!params) {
|
|
9011
9077
|
return;
|
|
9012
9078
|
}
|
|
9013
|
-
this.
|
|
9014
|
-
this.
|
|
9015
|
-
this.
|
|
9016
|
-
this.DefaultResult = 'DefaultResult' in params ? params.DefaultResult : null;
|
|
9017
|
-
this.HeartbeatTimeout = 'HeartbeatTimeout' in params ? params.HeartbeatTimeout : null;
|
|
9018
|
-
this.NotificationMetadata = 'NotificationMetadata' in params ? params.NotificationMetadata : null;
|
|
9019
|
-
|
|
9020
|
-
if (params.NotificationTarget) {
|
|
9021
|
-
let obj = new NotificationTarget();
|
|
9022
|
-
obj.deserialize(params.NotificationTarget)
|
|
9023
|
-
this.NotificationTarget = obj;
|
|
9024
|
-
}
|
|
9025
|
-
this.LifecycleTransitionType = 'LifecycleTransitionType' in params ? params.LifecycleTransitionType : null;
|
|
9026
|
-
|
|
9027
|
-
if (params.LifecycleCommand) {
|
|
9028
|
-
let obj = new LifecycleCommand();
|
|
9029
|
-
obj.deserialize(params.LifecycleCommand)
|
|
9030
|
-
this.LifecycleCommand = obj;
|
|
9031
|
-
}
|
|
9079
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
9080
|
+
this.BeginIndex = 'BeginIndex' in params ? params.BeginIndex : null;
|
|
9081
|
+
this.IndexLength = 'IndexLength' in params ? params.IndexLength : null;
|
|
9032
9082
|
|
|
9033
9083
|
}
|
|
9034
9084
|
}
|
|
@@ -9606,22 +9656,29 @@ Note: this field may return null, indicating that no valid value was found.
|
|
|
9606
9656
|
this.BandwidthPackageId = null;
|
|
9607
9657
|
|
|
9608
9658
|
/**
|
|
9609
|
-
*
|
|
9659
|
+
* Line type. for details on various types of lines and supported regions, refer to [EIP IP address type](https://www.tencentcloud.comom/document/product/1199/41646?from_cn_redirect=1). default value: BGP.
|
|
9660
|
+
|
|
9661
|
+
<Li>BGP: general bgp line.</li>.
|
|
9662
|
+
For a user who has enabled the static single-line IP allowlist, valid values include:.
|
|
9610
9663
|
|
|
9611
|
-
<Li>
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
Note:
|
|
9664
|
+
<Li>CMCC: china mobile.</li>.
|
|
9665
|
+
<Li>CTCC: china telecom.</li>.
|
|
9666
|
+
<Li>CUCC: china unicom</li>.
|
|
9667
|
+
Note: The static single-line IP is only supported in some regions.
|
|
9615
9668
|
|
|
9616
9669
|
* @type {string || null}
|
|
9617
9670
|
*/
|
|
9618
9671
|
this.InternetServiceProvider = null;
|
|
9619
9672
|
|
|
9620
9673
|
/**
|
|
9621
|
-
*
|
|
9674
|
+
* Specifies the public IP type.
|
|
9622
9675
|
|
|
9623
|
-
<
|
|
9624
|
-
|
|
9676
|
+
<Li>WanIP: specifies the public ip address.</li>.
|
|
9677
|
+
<Li>HighQualityEIP: highqualityip. only Singapore and hong kong (china) support highqualityip.</li>.
|
|
9678
|
+
<Li>AntiDDoSEIP: anti-ddos eip. only partially supported regions can use anti-ddos eip. details visible in [elastic ip product overview](https://www.tencentcloud.comom/document/product/1199/41646?from_cn_redirect=1).</li>.
|
|
9679
|
+
If needed to assign an elastic IPv4 address to a resource, specify the elastic IPv4 address type. if only use WanIP, do not set this field.
|
|
9680
|
+
|
|
9681
|
+
High quality IP the anti-ddos feature is only in beta test in some regions. if needed, submit a ticket for consultation (https://console.cloud.tencent.com/workorder/category).
|
|
9625
9682
|
* @type {string || null}
|
|
9626
9683
|
*/
|
|
9627
9684
|
this.IPv4AddressType = null;
|
|
@@ -9936,6 +9993,7 @@ module.exports = {
|
|
|
9936
9993
|
CreateLifecycleHookRequest: CreateLifecycleHookRequest,
|
|
9937
9994
|
ScheduledAction: ScheduledAction,
|
|
9938
9995
|
ModifyLifecycleHookRequest: ModifyLifecycleHookRequest,
|
|
9996
|
+
UpgradeLifecycleHookRequest: UpgradeLifecycleHookRequest,
|
|
9939
9997
|
CompleteLifecycleActionResponse: CompleteLifecycleActionResponse,
|
|
9940
9998
|
ScaleOutInstancesResponse: ScaleOutInstancesResponse,
|
|
9941
9999
|
RefreshSettings: RefreshSettings,
|
|
@@ -9976,7 +10034,7 @@ module.exports = {
|
|
|
9976
10034
|
StopInstanceRefreshResponse: StopInstanceRefreshResponse,
|
|
9977
10035
|
AttachLoadBalancersRequest: AttachLoadBalancersRequest,
|
|
9978
10036
|
SpotMixedAllocationPolicy: SpotMixedAllocationPolicy,
|
|
9979
|
-
|
|
10037
|
+
HostNameIndexSettings: HostNameIndexSettings,
|
|
9980
10038
|
ResumeInstanceRefreshResponse: ResumeInstanceRefreshResponse,
|
|
9981
10039
|
DescribeScalingPoliciesResponse: DescribeScalingPoliciesResponse,
|
|
9982
10040
|
Activity: Activity,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1319";
|
|
2
2
|
module.exports = sdkVersion
|