tencentcloud-sdk-nodejs-intl-en 3.0.362 → 3.0.366

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.
@@ -178,6 +178,12 @@ This field requires passing in the `InstanceName` field. Other fields that are n
178
178
  */
179
179
  this.EnhancedService = null;
180
180
 
181
+ /**
182
+ * CAM role name. This parameter can be obtained from the `roleName` field returned by DescribeRoleList API.
183
+ * @type {string || null}
184
+ */
185
+ this.CamRoleName = null;
186
+
181
187
  }
182
188
 
183
189
  /**
@@ -247,6 +253,7 @@ This field requires passing in the `InstanceName` field. Other fields that are n
247
253
  obj.deserialize(params.EnhancedService)
248
254
  this.EnhancedService = obj;
249
255
  }
256
+ this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
250
257
 
251
258
  }
252
259
  }
@@ -735,219 +742,180 @@ The maximum number of `Filters` in each request is 10. The upper limit for `Filt
735
742
  }
736
743
 
737
744
  /**
738
- * CreateAutoScalingGroup response structure.
745
+ * Information set of eligible launch configurations.
739
746
  * @class
740
747
  */
741
- class CreateAutoScalingGroupResponse extends AbstractModel {
748
+ class LaunchConfiguration extends AbstractModel {
742
749
  constructor(){
743
750
  super();
744
751
 
745
752
  /**
746
- * Auto scaling group ID
747
- * @type {string || null}
753
+ * Project ID of the instance.
754
+ * @type {number || null}
748
755
  */
749
- this.AutoScalingGroupId = null;
756
+ this.ProjectId = null;
750
757
 
751
758
  /**
752
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
759
+ * Launch configuration ID.
753
760
  * @type {string || null}
754
761
  */
755
- this.RequestId = null;
762
+ this.LaunchConfigurationId = null;
756
763
 
757
- }
764
+ /**
765
+ * Launch configuration name.
766
+ * @type {string || null}
767
+ */
768
+ this.LaunchConfigurationName = null;
758
769
 
759
- /**
760
- * @private
761
- */
762
- deserialize(params) {
763
- if (!params) {
764
- return;
765
- }
766
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
767
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
770
+ /**
771
+ * Instance model.
772
+ * @type {string || null}
773
+ */
774
+ this.InstanceType = null;
768
775
 
769
- }
770
- }
776
+ /**
777
+ * Information of the instance's system disk configuration.
778
+ * @type {SystemDisk || null}
779
+ */
780
+ this.SystemDisk = null;
771
781
 
772
- /**
773
- * DescribeAccountLimits response structure.
774
- * @class
775
- */
776
- class DescribeAccountLimitsResponse extends AbstractModel {
777
- constructor(){
778
- super();
782
+ /**
783
+ * Information of the instance's data disk configuration.
784
+ * @type {Array.<DataDisk> || null}
785
+ */
786
+ this.DataDisks = null;
779
787
 
780
788
  /**
781
- * Maximum number of launch configurations allowed for creation by the user account
782
- * @type {number || null}
789
+ * Instance login settings.
790
+ * @type {LimitedLoginSettings || null}
783
791
  */
784
- this.MaxNumberOfLaunchConfigurations = null;
792
+ this.LoginSettings = null;
785
793
 
786
794
  /**
787
- * Current number of launch configurations under the user account
788
- * @type {number || null}
795
+ * Information of the public network bandwidth configuration.
796
+ * @type {InternetAccessible || null}
789
797
  */
790
- this.NumberOfLaunchConfigurations = null;
798
+ this.InternetAccessible = null;
791
799
 
792
800
  /**
793
- * Maximum number of auto scaling groups allowed for creation by the user account
794
- * @type {number || null}
801
+ * Security group of the instance.
802
+ * @type {Array.<string> || null}
795
803
  */
796
- this.MaxNumberOfAutoScalingGroups = null;
804
+ this.SecurityGroupIds = null;
797
805
 
798
806
  /**
799
- * Current number of auto scaling groups under the user account
800
- * @type {number || null}
807
+ * Auto scaling group associated with the launch configuration.
808
+ * @type {Array.<AutoScalingGroupAbstract> || null}
801
809
  */
802
- this.NumberOfAutoScalingGroups = null;
810
+ this.AutoScalingGroupAbstractSet = null;
803
811
 
804
812
  /**
805
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
813
+ * Custom data.
814
+ Note: This field may return null, indicating that no valid values can be obtained.
806
815
  * @type {string || null}
807
816
  */
808
- this.RequestId = null;
809
-
810
- }
817
+ this.UserData = null;
811
818
 
812
- /**
813
- * @private
814
- */
815
- deserialize(params) {
816
- if (!params) {
817
- return;
818
- }
819
- this.MaxNumberOfLaunchConfigurations = 'MaxNumberOfLaunchConfigurations' in params ? params.MaxNumberOfLaunchConfigurations : null;
820
- this.NumberOfLaunchConfigurations = 'NumberOfLaunchConfigurations' in params ? params.NumberOfLaunchConfigurations : null;
821
- this.MaxNumberOfAutoScalingGroups = 'MaxNumberOfAutoScalingGroups' in params ? params.MaxNumberOfAutoScalingGroups : null;
822
- this.NumberOfAutoScalingGroups = 'NumberOfAutoScalingGroups' in params ? params.NumberOfAutoScalingGroups : null;
823
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
819
+ /**
820
+ * Creation time of the launch configuration.
821
+ * @type {string || null}
822
+ */
823
+ this.CreatedTime = null;
824
824
 
825
- }
826
- }
825
+ /**
826
+ * Conditions of enhancement services for the instance and their settings.
827
+ * @type {EnhancedService || null}
828
+ */
829
+ this.EnhancedService = null;
827
830
 
828
- /**
829
- * CreateLaunchConfiguration response structure.
830
- * @class
831
- */
832
- class CreateLaunchConfigurationResponse extends AbstractModel {
833
- constructor(){
834
- super();
831
+ /**
832
+ * Image ID.
833
+ * @type {string || null}
834
+ */
835
+ this.ImageId = null;
835
836
 
836
837
  /**
837
- * This parameter is returned when a launch configuration is created through this API, indicating the launch configuration ID.
838
+ * Current status of the launch configuration. Value range: <br><li>NORMAL: normal <br><li>IMAGE_ABNORMAL: Exception with the image of the launch configuration <br><li>CBS_SNAP_ABNORMAL: Exception with the data disk snapshot of the launch configuration <br><li>SECURITY_GROUP_ABNORMAL: Exception with the security group of the launch configuration<br>
838
839
  * @type {string || null}
839
840
  */
840
- this.LaunchConfigurationId = null;
841
+ this.LaunchConfigurationStatus = null;
841
842
 
842
843
  /**
843
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
844
+ * Instance billing type. CVM instances are POSTPAID_BY_HOUR by default.
845
+ <br><li>POSTPAID_BY_HOUR: Pay-as-you-go on an hourly basis
846
+ <br><li>SPOTPAID: Bidding
844
847
  * @type {string || null}
845
848
  */
846
- this.RequestId = null;
849
+ this.InstanceChargeType = null;
847
850
 
848
- }
851
+ /**
852
+ * Market-related options of the instance, such as the parameters related to stop instances. If the billing method of instance is specified as bidding, this parameter must be passed in.
853
+ Note: This field may return null, indicating that no valid values can be obtained.
854
+ * @type {InstanceMarketOptionsRequest || null}
855
+ */
856
+ this.InstanceMarketOptions = null;
849
857
 
850
- /**
851
- * @private
852
- */
853
- deserialize(params) {
854
- if (!params) {
855
- return;
856
- }
857
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
858
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
858
+ /**
859
+ * List of instance models.
860
+ * @type {Array.<string> || null}
861
+ */
862
+ this.InstanceTypes = null;
859
863
 
860
- }
861
- }
864
+ /**
865
+ * List of tags.
866
+ * @type {Array.<InstanceTag> || null}
867
+ */
868
+ this.InstanceTags = null;
862
869
 
863
- /**
864
- * CreateLifecycleHook response structure.
865
- * @class
866
- */
867
- class CreateLifecycleHookResponse extends AbstractModel {
868
- constructor(){
869
- super();
870
+ /**
871
+ * Version number.
872
+ * @type {number || null}
873
+ */
874
+ this.VersionNumber = null;
870
875
 
871
876
  /**
872
- * Lifecycle hook ID
877
+ * Update time.
873
878
  * @type {string || null}
874
879
  */
875
- this.LifecycleHookId = null;
880
+ this.UpdatedTime = null;
876
881
 
877
882
  /**
878
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
883
+ * CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.
879
884
  * @type {string || null}
880
885
  */
881
- this.RequestId = null;
882
-
883
- }
884
-
885
- /**
886
- * @private
887
- */
888
- deserialize(params) {
889
- if (!params) {
890
- return;
891
- }
892
- this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
893
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
894
-
895
- }
896
- }
897
-
898
- /**
899
- * ClearLaunchConfigurationAttributes response structure.
900
- * @class
901
- */
902
- class ClearLaunchConfigurationAttributesResponse extends AbstractModel {
903
- constructor(){
904
- super();
886
+ this.CamRoleName = null;
905
887
 
906
888
  /**
907
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
889
+ * Value of InstanceTypesCheckPolicy upon the last operation.
908
890
  * @type {string || null}
909
891
  */
910
- this.RequestId = null;
911
-
912
- }
913
-
914
- /**
915
- * @private
916
- */
917
- deserialize(params) {
918
- if (!params) {
919
- return;
920
- }
921
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
922
-
923
- }
924
- }
892
+ this.LastOperationInstanceTypesCheckPolicy = null;
925
893
 
926
- /**
927
- * DescribeAutoScalingGroups response structure.
928
- * @class
929
- */
930
- class DescribeAutoScalingGroupsResponse extends AbstractModel {
931
- constructor(){
932
- super();
894
+ /**
895
+ * CVM HostName settings.
896
+ * @type {HostNameSettings || null}
897
+ */
898
+ this.HostNameSettings = null;
933
899
 
934
900
  /**
935
- * List of auto scaling group details.
936
- * @type {Array.<AutoScalingGroup> || null}
901
+ * Settings of CVM instance names.
902
+ * @type {InstanceNameSettings || null}
937
903
  */
938
- this.AutoScalingGroupSet = null;
904
+ this.InstanceNameSettings = null;
939
905
 
940
906
  /**
941
- * Number of eligible auto scaling groups.
942
- * @type {number || null}
907
+ * Sets prepaid billing mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.
908
+ * @type {InstanceChargePrepaid || null}
943
909
  */
944
- this.TotalCount = null;
910
+ this.InstanceChargePrepaid = null;
945
911
 
946
912
  /**
947
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
913
+ * Specifies how to select the cloud disk type.
914
+ <br><li>ORIGINAL: uses the configured cloud disk type
915
+ <br><li>AUTOMATIC: automatically chooses an available cloud disk type in the current availability zone
948
916
  * @type {string || null}
949
917
  */
950
- this.RequestId = null;
918
+ this.DiskTypePolicy = null;
951
919
 
952
920
  }
953
921
 
@@ -958,42 +926,138 @@ class DescribeAutoScalingGroupsResponse extends AbstractModel {
958
926
  if (!params) {
959
927
  return;
960
928
  }
961
-
962
- if (params.AutoScalingGroupSet) {
963
- this.AutoScalingGroupSet = new Array();
964
- for (let z in params.AutoScalingGroupSet) {
965
- let obj = new AutoScalingGroup();
966
- obj.deserialize(params.AutoScalingGroupSet[z]);
967
- this.AutoScalingGroupSet.push(obj);
929
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
930
+ this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
931
+ this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
932
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
933
+
934
+ if (params.SystemDisk) {
935
+ let obj = new SystemDisk();
936
+ obj.deserialize(params.SystemDisk)
937
+ this.SystemDisk = obj;
938
+ }
939
+
940
+ if (params.DataDisks) {
941
+ this.DataDisks = new Array();
942
+ for (let z in params.DataDisks) {
943
+ let obj = new DataDisk();
944
+ obj.deserialize(params.DataDisks[z]);
945
+ this.DataDisks.push(obj);
968
946
  }
969
947
  }
970
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
971
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
948
+
949
+ if (params.LoginSettings) {
950
+ let obj = new LimitedLoginSettings();
951
+ obj.deserialize(params.LoginSettings)
952
+ this.LoginSettings = obj;
953
+ }
954
+
955
+ if (params.InternetAccessible) {
956
+ let obj = new InternetAccessible();
957
+ obj.deserialize(params.InternetAccessible)
958
+ this.InternetAccessible = obj;
959
+ }
960
+ this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
961
+
962
+ if (params.AutoScalingGroupAbstractSet) {
963
+ this.AutoScalingGroupAbstractSet = new Array();
964
+ for (let z in params.AutoScalingGroupAbstractSet) {
965
+ let obj = new AutoScalingGroupAbstract();
966
+ obj.deserialize(params.AutoScalingGroupAbstractSet[z]);
967
+ this.AutoScalingGroupAbstractSet.push(obj);
968
+ }
969
+ }
970
+ this.UserData = 'UserData' in params ? params.UserData : null;
971
+ this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
972
+
973
+ if (params.EnhancedService) {
974
+ let obj = new EnhancedService();
975
+ obj.deserialize(params.EnhancedService)
976
+ this.EnhancedService = obj;
977
+ }
978
+ this.ImageId = 'ImageId' in params ? params.ImageId : null;
979
+ this.LaunchConfigurationStatus = 'LaunchConfigurationStatus' in params ? params.LaunchConfigurationStatus : null;
980
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
981
+
982
+ if (params.InstanceMarketOptions) {
983
+ let obj = new InstanceMarketOptionsRequest();
984
+ obj.deserialize(params.InstanceMarketOptions)
985
+ this.InstanceMarketOptions = obj;
986
+ }
987
+ this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
988
+
989
+ if (params.InstanceTags) {
990
+ this.InstanceTags = new Array();
991
+ for (let z in params.InstanceTags) {
992
+ let obj = new InstanceTag();
993
+ obj.deserialize(params.InstanceTags[z]);
994
+ this.InstanceTags.push(obj);
995
+ }
996
+ }
997
+ this.VersionNumber = 'VersionNumber' in params ? params.VersionNumber : null;
998
+ this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
999
+ this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
1000
+ this.LastOperationInstanceTypesCheckPolicy = 'LastOperationInstanceTypesCheckPolicy' in params ? params.LastOperationInstanceTypesCheckPolicy : null;
1001
+
1002
+ if (params.HostNameSettings) {
1003
+ let obj = new HostNameSettings();
1004
+ obj.deserialize(params.HostNameSettings)
1005
+ this.HostNameSettings = obj;
1006
+ }
1007
+
1008
+ if (params.InstanceNameSettings) {
1009
+ let obj = new InstanceNameSettings();
1010
+ obj.deserialize(params.InstanceNameSettings)
1011
+ this.InstanceNameSettings = obj;
1012
+ }
1013
+
1014
+ if (params.InstanceChargePrepaid) {
1015
+ let obj = new InstanceChargePrepaid();
1016
+ obj.deserialize(params.InstanceChargePrepaid)
1017
+ this.InstanceChargePrepaid = obj;
1018
+ }
1019
+ this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
972
1020
 
973
1021
  }
974
1022
  }
975
1023
 
976
1024
  /**
977
- * System disk configuration of the launch configuration. If this parameter is not specified, the default value is assigned to it.
1025
+ * DescribeAccountLimits response structure.
978
1026
  * @class
979
1027
  */
980
- class SystemDisk extends AbstractModel {
1028
+ class DescribeAccountLimitsResponse extends AbstractModel {
981
1029
  constructor(){
982
1030
  super();
983
1031
 
984
1032
  /**
985
- * System disk type. For more information on limits of system disk types, see [Cloud Disk Types](https://intl.cloud.tencent.com/document/product/362/31636). Valid values:<br><li>`LOCAL_BASIC`: local disk <br><li>`LOCAL_SSD`: local SSD disk <br><li>`CLOUD_BASIC`: HDD cloud disk <br><li>`CLOUD_PREMIUM`: premium cloud storage<br><li>`CLOUD_SSD`: SSD cloud disk <br><br>Default value: `CLOUD_PREMIUM`.
986
- Note: this field may return `null`, indicating that no valid value can be obtained.
987
- * @type {string || null}
1033
+ * Maximum number of launch configurations allowed for creation by the user account
1034
+ * @type {number || null}
988
1035
  */
989
- this.DiskType = null;
1036
+ this.MaxNumberOfLaunchConfigurations = null;
990
1037
 
991
1038
  /**
992
- * System disk size in GB. Default value: 50
993
- Note: This field may return null, indicating that no valid values can be obtained.
1039
+ * Current number of launch configurations under the user account
994
1040
  * @type {number || null}
995
1041
  */
996
- this.DiskSize = null;
1042
+ this.NumberOfLaunchConfigurations = null;
1043
+
1044
+ /**
1045
+ * Maximum number of auto scaling groups allowed for creation by the user account
1046
+ * @type {number || null}
1047
+ */
1048
+ this.MaxNumberOfAutoScalingGroups = null;
1049
+
1050
+ /**
1051
+ * Current number of auto scaling groups under the user account
1052
+ * @type {number || null}
1053
+ */
1054
+ this.NumberOfAutoScalingGroups = null;
1055
+
1056
+ /**
1057
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1058
+ * @type {string || null}
1059
+ */
1060
+ this.RequestId = null;
997
1061
 
998
1062
  }
999
1063
 
@@ -1004,32 +1068,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
1004
1068
  if (!params) {
1005
1069
  return;
1006
1070
  }
1007
- this.DiskType = 'DiskType' in params ? params.DiskType : null;
1008
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
1071
+ this.MaxNumberOfLaunchConfigurations = 'MaxNumberOfLaunchConfigurations' in params ? params.MaxNumberOfLaunchConfigurations : null;
1072
+ this.NumberOfLaunchConfigurations = 'NumberOfLaunchConfigurations' in params ? params.NumberOfLaunchConfigurations : null;
1073
+ this.MaxNumberOfAutoScalingGroups = 'MaxNumberOfAutoScalingGroups' in params ? params.MaxNumberOfAutoScalingGroups : null;
1074
+ this.NumberOfAutoScalingGroups = 'NumberOfAutoScalingGroups' in params ? params.NumberOfAutoScalingGroups : null;
1075
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1009
1076
 
1010
1077
  }
1011
1078
  }
1012
1079
 
1013
1080
  /**
1014
- * Bidding-related options
1081
+ * CreateLaunchConfiguration response structure.
1015
1082
  * @class
1016
1083
  */
1017
- class SpotMarketOptions extends AbstractModel {
1084
+ class CreateLaunchConfigurationResponse extends AbstractModel {
1018
1085
  constructor(){
1019
1086
  super();
1020
1087
 
1021
1088
  /**
1022
- * Bidding price such as "1.05"
1089
+ * This parameter is returned when a launch configuration is created through this API, indicating the launch configuration ID.
1023
1090
  * @type {string || null}
1024
1091
  */
1025
- this.MaxPrice = null;
1092
+ this.LaunchConfigurationId = null;
1026
1093
 
1027
1094
  /**
1028
- * Bid request type. Currently, only "one-time" type is supported. Default value: one-time
1029
- Note: This field may return null, indicating that no valid values can be obtained.
1095
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1030
1096
  * @type {string || null}
1031
1097
  */
1032
- this.SpotInstanceType = null;
1098
+ this.RequestId = null;
1033
1099
 
1034
1100
  }
1035
1101
 
@@ -1040,31 +1106,37 @@ Note: This field may return null, indicating that no valid values can be obtaine
1040
1106
  if (!params) {
1041
1107
  return;
1042
1108
  }
1043
- this.MaxPrice = 'MaxPrice' in params ? params.MaxPrice : null;
1044
- this.SpotInstanceType = 'SpotInstanceType' in params ? params.SpotInstanceType : null;
1109
+ this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
1110
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1045
1111
 
1046
1112
  }
1047
1113
  }
1048
1114
 
1049
1115
  /**
1050
- * StopAutoScalingInstances response structure.
1116
+ * Suggestions for scaling group configurations.
1051
1117
  * @class
1052
1118
  */
1053
- class StopAutoScalingInstancesResponse extends AbstractModel {
1119
+ class Advice extends AbstractModel {
1054
1120
  constructor(){
1055
1121
  super();
1056
1122
 
1057
1123
  /**
1058
- * The scaling activity ID.
1124
+ * Problem Description
1059
1125
  * @type {string || null}
1060
1126
  */
1061
- this.ActivityId = null;
1127
+ this.Problem = null;
1062
1128
 
1063
1129
  /**
1064
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1130
+ * Problem Details
1065
1131
  * @type {string || null}
1066
1132
  */
1067
- this.RequestId = null;
1133
+ this.Detail = null;
1134
+
1135
+ /**
1136
+ * Recommended resolutions
1137
+ * @type {string || null}
1138
+ */
1139
+ this.Solution = null;
1068
1140
 
1069
1141
  }
1070
1142
 
@@ -1075,47 +1147,32 @@ class StopAutoScalingInstancesResponse extends AbstractModel {
1075
1147
  if (!params) {
1076
1148
  return;
1077
1149
  }
1078
- this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1079
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1150
+ this.Problem = 'Problem' in params ? params.Problem : null;
1151
+ this.Detail = 'Detail' in params ? params.Detail : null;
1152
+ this.Solution = 'Solution' in params ? params.Solution : null;
1080
1153
 
1081
1154
  }
1082
1155
  }
1083
1156
 
1084
1157
  /**
1085
- * DescribeScalingPolicies request structure.
1158
+ * CreateLifecycleHook response structure.
1086
1159
  * @class
1087
1160
  */
1088
- class DescribeScalingPoliciesRequest extends AbstractModel {
1161
+ class CreateLifecycleHookResponse extends AbstractModel {
1089
1162
  constructor(){
1090
1163
  super();
1091
1164
 
1092
1165
  /**
1093
- * Queries by one or more alarm policy IDs in the format of asp-i9vkg894. The maximum number of instances per request is 100. This parameter does not support specifying both `AutoScalingPolicyIds` and `Filters` at the same time.
1094
- * @type {Array.<string> || null}
1095
- */
1096
- this.AutoScalingPolicyIds = null;
1097
-
1098
- /**
1099
- * Filter.
1100
- <li> auto-scaling-policy-id - String - Required: No - (Filter) Filter by alarm policy ID.</li>
1101
- <li> auto-scaling-group-id - String - Required: No - (Filter) Filter by auto scaling group ID.</li>
1102
- <li> scaling-policy-name - String - Required: No - (Filter) Filter by alarm policy name.</li>
1103
- The maximum number of `Filters` per request is 10. The upper limit for `Filter.Values` is 5. This parameter does not support specifying both `AutoScalingPolicyIds` and `Filters` at the same time.
1104
- * @type {Array.<Filter> || null}
1105
- */
1106
- this.Filters = null;
1107
-
1108
- /**
1109
- * Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
1110
- * @type {number || null}
1166
+ * Lifecycle hook ID
1167
+ * @type {string || null}
1111
1168
  */
1112
- this.Limit = null;
1169
+ this.LifecycleHookId = null;
1113
1170
 
1114
1171
  /**
1115
- * Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
1116
- * @type {number || null}
1172
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1173
+ * @type {string || null}
1117
1174
  */
1118
- this.Offset = null;
1175
+ this.RequestId = null;
1119
1176
 
1120
1177
  }
1121
1178
 
@@ -1126,48 +1183,25 @@ The maximum number of `Filters` per request is 10. The upper limit for `Filter.V
1126
1183
  if (!params) {
1127
1184
  return;
1128
1185
  }
1129
- this.AutoScalingPolicyIds = 'AutoScalingPolicyIds' in params ? params.AutoScalingPolicyIds : null;
1130
-
1131
- if (params.Filters) {
1132
- this.Filters = new Array();
1133
- for (let z in params.Filters) {
1134
- let obj = new Filter();
1135
- obj.deserialize(params.Filters[z]);
1136
- this.Filters.push(obj);
1137
- }
1138
- }
1139
- this.Limit = 'Limit' in params ? params.Limit : null;
1140
- this.Offset = 'Offset' in params ? params.Offset : null;
1186
+ this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
1187
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1141
1188
 
1142
1189
  }
1143
1190
  }
1144
1191
 
1145
1192
  /**
1146
- * Settings of CVM instance names.
1193
+ * ClearLaunchConfigurationAttributes response structure.
1147
1194
  * @class
1148
1195
  */
1149
- class InstanceNameSettings extends AbstractModel {
1196
+ class ClearLaunchConfigurationAttributesResponse extends AbstractModel {
1150
1197
  constructor(){
1151
1198
  super();
1152
1199
 
1153
1200
  /**
1154
- * CVM instance name
1155
-
1156
- The `InstanceName` cannot start or end with a dot (.) or hyphen (-), and cannot contain consecutive dots and hyphens.
1157
- The name contains 2 to 40 characters, and supports multiple dots (.). The string between two dots can consist of letters (case-insensitive), numbers, and hyphens (-), and cannot be all numbers.
1158
- * @type {string || null}
1159
- */
1160
- this.InstanceName = null;
1161
-
1162
- /**
1163
- * Type of CVM instance name. Valid values: `ORIGINAL` and `UNIQUE`. Default value: `ORIGINAL`.
1164
-
1165
- `ORIGINAL`: Auto Scaling sends the input parameter `InstanceName` to the CVM directly. The CVM may append a serial number to the `InstanceName`. The `InstanceName` of the instances within the scaling group may conflict.
1166
-
1167
- `UNIQUE`: the input parameter `InstanceName` is the prefix of an instance name. Auto Scaling and CVM expand it. The `InstanceName` of an instance in the scaling group is unique.
1201
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1168
1202
  * @type {string || null}
1169
1203
  */
1170
- this.InstanceNameStyle = null;
1204
+ this.RequestId = null;
1171
1205
 
1172
1206
  }
1173
1207
 
@@ -1178,61 +1212,36 @@ The name contains 2 to 40 characters, and supports multiple dots (.). The string
1178
1212
  if (!params) {
1179
1213
  return;
1180
1214
  }
1181
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
1182
- this.InstanceNameStyle = 'InstanceNameStyle' in params ? params.InstanceNameStyle : null;
1215
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1183
1216
 
1184
1217
  }
1185
1218
  }
1186
1219
 
1187
1220
  /**
1188
- * Detailed description of scaling activity status
1221
+ * DescribeAutoScalingGroups response structure.
1189
1222
  * @class
1190
1223
  */
1191
- class DetailedStatusMessage extends AbstractModel {
1224
+ class DescribeAutoScalingGroupsResponse extends AbstractModel {
1192
1225
  constructor(){
1193
1226
  super();
1194
1227
 
1195
1228
  /**
1196
- * Error type
1197
- * @type {string || null}
1229
+ * List of auto scaling group details.
1230
+ * @type {Array.<AutoScalingGroup> || null}
1198
1231
  */
1199
- this.Code = null;
1232
+ this.AutoScalingGroupSet = null;
1200
1233
 
1201
1234
  /**
1202
- * AZ information
1203
- * @type {string || null}
1235
+ * Number of eligible auto scaling groups.
1236
+ * @type {number || null}
1204
1237
  */
1205
- this.Zone = null;
1238
+ this.TotalCount = null;
1206
1239
 
1207
1240
  /**
1208
- * Instance ID
1241
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1209
1242
  * @type {string || null}
1210
1243
  */
1211
- this.InstanceId = null;
1212
-
1213
- /**
1214
- * Instance billing mode
1215
- * @type {string || null}
1216
- */
1217
- this.InstanceChargeType = null;
1218
-
1219
- /**
1220
- * Subnet ID
1221
- * @type {string || null}
1222
- */
1223
- this.SubnetId = null;
1224
-
1225
- /**
1226
- * Error message
1227
- * @type {string || null}
1228
- */
1229
- this.Message = null;
1230
-
1231
- /**
1232
- * Instance type
1233
- * @type {string || null}
1234
- */
1235
- this.InstanceType = null;
1244
+ this.RequestId = null;
1236
1245
 
1237
1246
  }
1238
1247
 
@@ -1243,88 +1252,76 @@ class DetailedStatusMessage extends AbstractModel {
1243
1252
  if (!params) {
1244
1253
  return;
1245
1254
  }
1246
- this.Code = 'Code' in params ? params.Code : null;
1247
- this.Zone = 'Zone' in params ? params.Zone : null;
1248
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1249
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
1250
- this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1251
- this.Message = 'Message' in params ? params.Message : null;
1252
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
1253
1255
 
1254
- }
1255
- }
1256
-
1257
- /**
1258
- * ModifyScheduledAction response structure.
1259
- * @class
1260
- */
1261
- class ModifyScheduledActionResponse extends AbstractModel {
1262
- constructor(){
1263
- super();
1264
-
1265
- /**
1266
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1267
- * @type {string || null}
1268
- */
1269
- this.RequestId = null;
1270
-
1271
- }
1272
-
1273
- /**
1274
- * @private
1275
- */
1276
- deserialize(params) {
1277
- if (!params) {
1278
- return;
1256
+ if (params.AutoScalingGroupSet) {
1257
+ this.AutoScalingGroupSet = new Array();
1258
+ for (let z in params.AutoScalingGroupSet) {
1259
+ let obj = new AutoScalingGroup();
1260
+ obj.deserialize(params.AutoScalingGroupSet[z]);
1261
+ this.AutoScalingGroupSet.push(obj);
1262
+ }
1279
1263
  }
1264
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
1280
1265
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1281
1266
 
1282
1267
  }
1283
1268
  }
1284
1269
 
1285
1270
  /**
1286
- * CreateAutoScalingGroupFromInstance request structure.
1271
+ * CreateScheduledAction request structure.
1287
1272
  * @class
1288
1273
  */
1289
- class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
1274
+ class CreateScheduledActionRequest extends AbstractModel {
1290
1275
  constructor(){
1291
1276
  super();
1292
1277
 
1293
1278
  /**
1294
- * The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen “-” and periods. It cannot exceed 55 bytes.
1279
+ * Auto scaling group ID
1295
1280
  * @type {string || null}
1296
1281
  */
1297
- this.AutoScalingGroupName = null;
1282
+ this.AutoScalingGroupId = null;
1298
1283
 
1299
1284
  /**
1300
- * The instance ID.
1285
+ * Scheduled task name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 60 bytes and must be unique in an auto scaling group.
1301
1286
  * @type {string || null}
1302
1287
  */
1303
- this.InstanceId = null;
1288
+ this.ScheduledActionName = null;
1304
1289
 
1305
1290
  /**
1306
- * The minimum number of instances. Value range: 0-2000.
1291
+ * The maximum number of instances set for the auto scaling group when the scheduled task is triggered.
1307
1292
  * @type {number || null}
1308
1293
  */
1309
- this.MinSize = null;
1294
+ this.MaxSize = null;
1310
1295
 
1311
1296
  /**
1312
- * The maximum number of instances. Value range: 0-2000.
1297
+ * The minimum number of instances set for the auto scaling group when the scheduled task is triggered.
1313
1298
  * @type {number || null}
1314
1299
  */
1315
- this.MaxSize = null;
1300
+ this.MinSize = null;
1316
1301
 
1317
1302
  /**
1318
- * The desired capacity. Its value must be greater than the minimum and smaller than the maximum.
1303
+ * The desired number of instances set for the auto scaling group when the scheduled task is triggered.
1319
1304
  * @type {number || null}
1320
1305
  */
1321
1306
  this.DesiredCapacity = null;
1322
1307
 
1323
1308
  /**
1324
- * Whether to inherit the instance tag. Default value: False
1325
- * @type {boolean || null}
1309
+ * Initial triggered time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard.
1310
+ * @type {string || null}
1326
1311
  */
1327
- this.InheritInstanceTag = null;
1312
+ this.StartTime = null;
1313
+
1314
+ /**
1315
+ * End time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard. <br><br>This parameter and `Recurrence` need to be specified at the same time. After the end time, the scheduled task will no longer take effect.
1316
+ * @type {string || null}
1317
+ */
1318
+ this.EndTime = null;
1319
+
1320
+ /**
1321
+ * Repeating mode of the scheduled task, which is in standard cron format. <br><br>This parameter and `EndTime` need to be specified at the same time.
1322
+ * @type {string || null}
1323
+ */
1324
+ this.Recurrence = null;
1328
1325
 
1329
1326
  }
1330
1327
 
@@ -1335,35 +1332,39 @@ class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
1335
1332
  if (!params) {
1336
1333
  return;
1337
1334
  }
1338
- this.AutoScalingGroupName = 'AutoScalingGroupName' in params ? params.AutoScalingGroupName : null;
1339
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1340
- this.MinSize = 'MinSize' in params ? params.MinSize : null;
1335
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1336
+ this.ScheduledActionName = 'ScheduledActionName' in params ? params.ScheduledActionName : null;
1341
1337
  this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
1338
+ this.MinSize = 'MinSize' in params ? params.MinSize : null;
1342
1339
  this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
1343
- this.InheritInstanceTag = 'InheritInstanceTag' in params ? params.InheritInstanceTag : null;
1340
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
1341
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1342
+ this.Recurrence = 'Recurrence' in params ? params.Recurrence : null;
1344
1343
 
1345
1344
  }
1346
1345
  }
1347
1346
 
1348
1347
  /**
1349
- * ExecuteScalingPolicy response structure.
1348
+ * System disk configuration of the launch configuration. If this parameter is not specified, the default value is assigned to it.
1350
1349
  * @class
1351
1350
  */
1352
- class ExecuteScalingPolicyResponse extends AbstractModel {
1351
+ class SystemDisk extends AbstractModel {
1353
1352
  constructor(){
1354
1353
  super();
1355
1354
 
1356
1355
  /**
1357
- * Scaling activity ID
1356
+ * System disk type. For more information on limits of system disk types, see [Cloud Disk Types](https://intl.cloud.tencent.com/document/product/362/31636). Valid values:<br><li>`LOCAL_BASIC`: local disk <br><li>`LOCAL_SSD`: local SSD disk <br><li>`CLOUD_BASIC`: HDD cloud disk <br><li>`CLOUD_PREMIUM`: premium cloud storage<br><li>`CLOUD_SSD`: SSD cloud disk <br><br>Default value: `CLOUD_PREMIUM`.
1357
+ Note: this field may return `null`, indicating that no valid value can be obtained.
1358
1358
  * @type {string || null}
1359
1359
  */
1360
- this.ActivityId = null;
1360
+ this.DiskType = null;
1361
1361
 
1362
1362
  /**
1363
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1364
- * @type {string || null}
1363
+ * System disk size in GB. Default value: 50
1364
+ Note: This field may return null, indicating that no valid values can be obtained.
1365
+ * @type {number || null}
1365
1366
  */
1366
- this.RequestId = null;
1367
+ this.DiskSize = null;
1367
1368
 
1368
1369
  }
1369
1370
 
@@ -1374,53 +1375,32 @@ class ExecuteScalingPolicyResponse extends AbstractModel {
1374
1375
  if (!params) {
1375
1376
  return;
1376
1377
  }
1377
- this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1378
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1378
+ this.DiskType = 'DiskType' in params ? params.DiskType : null;
1379
+ this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
1379
1380
 
1380
1381
  }
1381
1382
  }
1382
1383
 
1383
1384
  /**
1384
- * ModifyLaunchConfigurationAttributes response structure.
1385
+ * Bidding-related options
1385
1386
  * @class
1386
1387
  */
1387
- class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
1388
+ class SpotMarketOptions extends AbstractModel {
1388
1389
  constructor(){
1389
1390
  super();
1390
1391
 
1391
1392
  /**
1392
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1393
+ * Bidding price such as "1.05"
1393
1394
  * @type {string || null}
1394
1395
  */
1395
- this.RequestId = null;
1396
-
1397
- }
1398
-
1399
- /**
1400
- * @private
1401
- */
1402
- deserialize(params) {
1403
- if (!params) {
1404
- return;
1405
- }
1406
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1407
-
1408
- }
1409
- }
1410
-
1411
- /**
1412
- * SetInstancesProtection response structure.
1413
- * @class
1414
- */
1415
- class SetInstancesProtectionResponse extends AbstractModel {
1416
- constructor(){
1417
- super();
1396
+ this.MaxPrice = null;
1418
1397
 
1419
1398
  /**
1420
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1399
+ * Bid request type. Currently, only "one-time" type is supported. Default value: one-time
1400
+ Note: This field may return null, indicating that no valid values can be obtained.
1421
1401
  * @type {string || null}
1422
1402
  */
1423
- this.RequestId = null;
1403
+ this.SpotInstanceType = null;
1424
1404
 
1425
1405
  }
1426
1406
 
@@ -1431,16 +1411,17 @@ class SetInstancesProtectionResponse extends AbstractModel {
1431
1411
  if (!params) {
1432
1412
  return;
1433
1413
  }
1434
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1414
+ this.MaxPrice = 'MaxPrice' in params ? params.MaxPrice : null;
1415
+ this.SpotInstanceType = 'SpotInstanceType' in params ? params.SpotInstanceType : null;
1435
1416
 
1436
1417
  }
1437
1418
  }
1438
1419
 
1439
1420
  /**
1440
- * StartAutoScalingInstances response structure.
1421
+ * StopAutoScalingInstances response structure.
1441
1422
  * @class
1442
1423
  */
1443
- class StartAutoScalingInstancesResponse extends AbstractModel {
1424
+ class StopAutoScalingInstancesResponse extends AbstractModel {
1444
1425
  constructor(){
1445
1426
  super();
1446
1427
 
@@ -1472,36 +1453,40 @@ class StartAutoScalingInstancesResponse extends AbstractModel {
1472
1453
  }
1473
1454
 
1474
1455
  /**
1475
- * CompleteLifecycleAction request structure.
1456
+ * DescribeScalingPolicies request structure.
1476
1457
  * @class
1477
1458
  */
1478
- class CompleteLifecycleActionRequest extends AbstractModel {
1459
+ class DescribeScalingPoliciesRequest extends AbstractModel {
1479
1460
  constructor(){
1480
1461
  super();
1481
1462
 
1482
1463
  /**
1483
- * Lifecycle hook ID
1484
- * @type {string || null}
1464
+ * Queries by one or more alarm policy IDs in the format of asp-i9vkg894. The maximum number of instances per request is 100. This parameter does not support specifying both `AutoScalingPolicyIds` and `Filters` at the same time.
1465
+ * @type {Array.<string> || null}
1485
1466
  */
1486
- this.LifecycleHookId = null;
1467
+ this.AutoScalingPolicyIds = null;
1487
1468
 
1488
1469
  /**
1489
- * Result of the lifecycle action. Value range: "CONTINUE", "ABANDON"
1490
- * @type {string || null}
1470
+ * Filter.
1471
+ <li> auto-scaling-policy-id - String - Required: No - (Filter) Filter by alarm policy ID.</li>
1472
+ <li> auto-scaling-group-id - String - Required: No - (Filter) Filter by auto scaling group ID.</li>
1473
+ <li> scaling-policy-name - String - Required: No - (Filter) Filter by alarm policy name.</li>
1474
+ The maximum number of `Filters` per request is 10. The upper limit for `Filter.Values` is 5. This parameter does not support specifying both `AutoScalingPolicyIds` and `Filters` at the same time.
1475
+ * @type {Array.<Filter> || null}
1491
1476
  */
1492
- this.LifecycleActionResult = null;
1477
+ this.Filters = null;
1493
1478
 
1494
1479
  /**
1495
- * Instance ID. Either "InstanceId" or "LifecycleActionToken" must be specified
1496
- * @type {string || null}
1480
+ * Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
1481
+ * @type {number || null}
1497
1482
  */
1498
- this.InstanceId = null;
1483
+ this.Limit = null;
1499
1484
 
1500
1485
  /**
1501
- * Either "InstanceId" or "LifecycleActionToken" must be specified
1502
- * @type {string || null}
1486
+ * Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
1487
+ * @type {number || null}
1503
1488
  */
1504
- this.LifecycleActionToken = null;
1489
+ this.Offset = null;
1505
1490
 
1506
1491
  }
1507
1492
 
@@ -1512,33 +1497,48 @@ class CompleteLifecycleActionRequest extends AbstractModel {
1512
1497
  if (!params) {
1513
1498
  return;
1514
1499
  }
1515
- this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
1516
- this.LifecycleActionResult = 'LifecycleActionResult' in params ? params.LifecycleActionResult : null;
1517
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1518
- this.LifecycleActionToken = 'LifecycleActionToken' in params ? params.LifecycleActionToken : null;
1500
+ this.AutoScalingPolicyIds = 'AutoScalingPolicyIds' in params ? params.AutoScalingPolicyIds : null;
1501
+
1502
+ if (params.Filters) {
1503
+ this.Filters = new Array();
1504
+ for (let z in params.Filters) {
1505
+ let obj = new Filter();
1506
+ obj.deserialize(params.Filters[z]);
1507
+ this.Filters.push(obj);
1508
+ }
1509
+ }
1510
+ this.Limit = 'Limit' in params ? params.Limit : null;
1511
+ this.Offset = 'Offset' in params ? params.Offset : null;
1519
1512
 
1520
1513
  }
1521
1514
  }
1522
1515
 
1523
1516
  /**
1524
- * CreateScalingPolicy response structure.
1517
+ * Settings of CVM instance names.
1525
1518
  * @class
1526
1519
  */
1527
- class CreateScalingPolicyResponse extends AbstractModel {
1520
+ class InstanceNameSettings extends AbstractModel {
1528
1521
  constructor(){
1529
1522
  super();
1530
1523
 
1531
1524
  /**
1532
- * Alarm trigger policy ID.
1525
+ * CVM instance name
1526
+
1527
+ The `InstanceName` cannot start or end with a dot (.) or hyphen (-), and cannot contain consecutive dots and hyphens.
1528
+ The name contains 2 to 40 characters, and supports multiple dots (.). The string between two dots can consist of letters (case-insensitive), numbers, and hyphens (-), and cannot be all numbers.
1533
1529
  * @type {string || null}
1534
1530
  */
1535
- this.AutoScalingPolicyId = null;
1531
+ this.InstanceName = null;
1536
1532
 
1537
1533
  /**
1538
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1534
+ * Type of CVM instance name. Valid values: `ORIGINAL` and `UNIQUE`. Default value: `ORIGINAL`.
1535
+
1536
+ `ORIGINAL`: Auto Scaling sends the input parameter `InstanceName` to the CVM directly. The CVM may append a serial number to the `InstanceName`. The `InstanceName` of the instances within the scaling group may conflict.
1537
+
1538
+ `UNIQUE`: the input parameter `InstanceName` is the prefix of an instance name. Auto Scaling and CVM expand it. The `InstanceName` of an instance in the scaling group is unique.
1539
1539
  * @type {string || null}
1540
1540
  */
1541
- this.RequestId = null;
1541
+ this.InstanceNameStyle = null;
1542
1542
 
1543
1543
  }
1544
1544
 
@@ -1549,31 +1549,61 @@ class CreateScalingPolicyResponse extends AbstractModel {
1549
1549
  if (!params) {
1550
1550
  return;
1551
1551
  }
1552
- this.AutoScalingPolicyId = 'AutoScalingPolicyId' in params ? params.AutoScalingPolicyId : null;
1553
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1552
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
1553
+ this.InstanceNameStyle = 'InstanceNameStyle' in params ? params.InstanceNameStyle : null;
1554
1554
 
1555
1555
  }
1556
1556
  }
1557
1557
 
1558
1558
  /**
1559
- * CreateNotificationConfiguration response structure.
1559
+ * Detailed description of scaling activity status
1560
1560
  * @class
1561
1561
  */
1562
- class CreateNotificationConfigurationResponse extends AbstractModel {
1562
+ class DetailedStatusMessage extends AbstractModel {
1563
1563
  constructor(){
1564
1564
  super();
1565
1565
 
1566
1566
  /**
1567
- * Notification ID.
1567
+ * Error type
1568
1568
  * @type {string || null}
1569
1569
  */
1570
- this.AutoScalingNotificationId = null;
1570
+ this.Code = null;
1571
1571
 
1572
1572
  /**
1573
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1573
+ * AZ information
1574
1574
  * @type {string || null}
1575
1575
  */
1576
- this.RequestId = null;
1576
+ this.Zone = null;
1577
+
1578
+ /**
1579
+ * Instance ID
1580
+ * @type {string || null}
1581
+ */
1582
+ this.InstanceId = null;
1583
+
1584
+ /**
1585
+ * Instance billing mode
1586
+ * @type {string || null}
1587
+ */
1588
+ this.InstanceChargeType = null;
1589
+
1590
+ /**
1591
+ * Subnet ID
1592
+ * @type {string || null}
1593
+ */
1594
+ this.SubnetId = null;
1595
+
1596
+ /**
1597
+ * Error message
1598
+ * @type {string || null}
1599
+ */
1600
+ this.Message = null;
1601
+
1602
+ /**
1603
+ * Instance type
1604
+ * @type {string || null}
1605
+ */
1606
+ this.InstanceType = null;
1577
1607
 
1578
1608
  }
1579
1609
 
@@ -1584,32 +1614,25 @@ class CreateNotificationConfigurationResponse extends AbstractModel {
1584
1614
  if (!params) {
1585
1615
  return;
1586
1616
  }
1587
- this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
1588
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1617
+ this.Code = 'Code' in params ? params.Code : null;
1618
+ this.Zone = 'Zone' in params ? params.Zone : null;
1619
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1620
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
1621
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1622
+ this.Message = 'Message' in params ? params.Message : null;
1623
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
1589
1624
 
1590
1625
  }
1591
1626
  }
1592
1627
 
1593
1628
  /**
1594
- * DescribeLaunchConfigurations response structure.
1629
+ * ModifyScheduledAction response structure.
1595
1630
  * @class
1596
1631
  */
1597
- class DescribeLaunchConfigurationsResponse extends AbstractModel {
1632
+ class ModifyScheduledActionResponse extends AbstractModel {
1598
1633
  constructor(){
1599
1634
  super();
1600
1635
 
1601
- /**
1602
- * Number of eligible launch configurations.
1603
- * @type {number || null}
1604
- */
1605
- this.TotalCount = null;
1606
-
1607
- /**
1608
- * List of launch configuration details.
1609
- * @type {Array.<LaunchConfiguration> || null}
1610
- */
1611
- this.LaunchConfigurationSet = null;
1612
-
1613
1636
  /**
1614
1637
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1615
1638
  * @type {string || null}
@@ -1625,29 +1648,25 @@ class DescribeLaunchConfigurationsResponse extends AbstractModel {
1625
1648
  if (!params) {
1626
1649
  return;
1627
1650
  }
1628
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
1629
-
1630
- if (params.LaunchConfigurationSet) {
1631
- this.LaunchConfigurationSet = new Array();
1632
- for (let z in params.LaunchConfigurationSet) {
1633
- let obj = new LaunchConfiguration();
1634
- obj.deserialize(params.LaunchConfigurationSet[z]);
1635
- this.LaunchConfigurationSet.push(obj);
1636
- }
1637
- }
1638
1651
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1639
1652
 
1640
1653
  }
1641
1654
  }
1642
1655
 
1643
1656
  /**
1644
- * DeleteScalingPolicy response structure.
1657
+ * AttachLoadBalancers response structure.
1645
1658
  * @class
1646
1659
  */
1647
- class DeleteScalingPolicyResponse extends AbstractModel {
1660
+ class AttachLoadBalancersResponse extends AbstractModel {
1648
1661
  constructor(){
1649
1662
  super();
1650
1663
 
1664
+ /**
1665
+ * Scaling activity ID
1666
+ * @type {string || null}
1667
+ */
1668
+ this.ActivityId = null;
1669
+
1651
1670
  /**
1652
1671
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1653
1672
  * @type {string || null}
@@ -1663,37 +1682,31 @@ class DeleteScalingPolicyResponse extends AbstractModel {
1663
1682
  if (!params) {
1664
1683
  return;
1665
1684
  }
1685
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1666
1686
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1667
1687
 
1668
1688
  }
1669
1689
  }
1670
1690
 
1671
1691
  /**
1672
- * Resource type and tag key-value pair
1692
+ * ExecuteScalingPolicy response structure.
1673
1693
  * @class
1674
1694
  */
1675
- class Tag extends AbstractModel {
1695
+ class ExecuteScalingPolicyResponse extends AbstractModel {
1676
1696
  constructor(){
1677
1697
  super();
1678
1698
 
1679
1699
  /**
1680
- * Tag key
1681
- * @type {string || null}
1682
- */
1683
- this.Key = null;
1684
-
1685
- /**
1686
- * Tag value
1700
+ * Scaling activity ID
1687
1701
  * @type {string || null}
1688
1702
  */
1689
- this.Value = null;
1703
+ this.ActivityId = null;
1690
1704
 
1691
1705
  /**
1692
- * Type of the resource binded to the tag. Currently supported types include "auto-scaling-group"
1693
- Note: This field may return null, indicating that no valid values can be obtained.
1706
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1694
1707
  * @type {string || null}
1695
1708
  */
1696
- this.ResourceType = null;
1709
+ this.RequestId = null;
1697
1710
 
1698
1711
  }
1699
1712
 
@@ -1704,47 +1717,53 @@ Note: This field may return null, indicating that no valid values can be obtaine
1704
1717
  if (!params) {
1705
1718
  return;
1706
1719
  }
1707
- this.Key = 'Key' in params ? params.Key : null;
1708
- this.Value = 'Value' in params ? params.Value : null;
1709
- this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
1720
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1721
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1710
1722
 
1711
1723
  }
1712
1724
  }
1713
1725
 
1714
1726
  /**
1715
- * DescribeAutoScalingInstances request structure.
1727
+ * DeleteAutoScalingGroup request structure.
1716
1728
  * @class
1717
1729
  */
1718
- class DescribeAutoScalingInstancesRequest extends AbstractModel {
1730
+ class DeleteAutoScalingGroupRequest extends AbstractModel {
1719
1731
  constructor(){
1720
1732
  super();
1721
1733
 
1722
1734
  /**
1723
- * ID of the CVM instance to be queried. This parameter does not support specifying both InstanceIds and Filters at the same time.
1724
- * @type {Array.<string> || null}
1735
+ * Auto scaling group ID
1736
+ * @type {string || null}
1725
1737
  */
1726
- this.InstanceIds = null;
1738
+ this.AutoScalingGroupId = null;
1727
1739
 
1728
- /**
1729
- * Filter.
1730
- <li> instance-id - String - Required: No - (Filter) Filter by instance ID.</li>
1731
- <li> auto-scaling-group-id - String - Required: No - (Filter) Filter by auto scaling group ID.</li>
1732
- The maximum number of `Filters` per request is 10. The upper limit for `Filter.Values` is 5. This parameter does not support specifying both `InstanceIds` and `Filters` at the same time.
1733
- * @type {Array.<Filter> || null}
1734
- */
1735
- this.Filters = null;
1740
+ }
1736
1741
 
1737
- /**
1738
- * Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
1739
- * @type {number || null}
1740
- */
1741
- this.Offset = null;
1742
+ /**
1743
+ * @private
1744
+ */
1745
+ deserialize(params) {
1746
+ if (!params) {
1747
+ return;
1748
+ }
1749
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1750
+
1751
+ }
1752
+ }
1753
+
1754
+ /**
1755
+ * SetInstancesProtection response structure.
1756
+ * @class
1757
+ */
1758
+ class SetInstancesProtectionResponse extends AbstractModel {
1759
+ constructor(){
1760
+ super();
1742
1761
 
1743
1762
  /**
1744
- * Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
1745
- * @type {number || null}
1763
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1764
+ * @type {string || null}
1746
1765
  */
1747
- this.Limit = null;
1766
+ this.RequestId = null;
1748
1767
 
1749
1768
  }
1750
1769
 
@@ -1755,35 +1774,30 @@ The maximum number of `Filters` per request is 10. The upper limit for `Filter.V
1755
1774
  if (!params) {
1756
1775
  return;
1757
1776
  }
1758
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
1759
-
1760
- if (params.Filters) {
1761
- this.Filters = new Array();
1762
- for (let z in params.Filters) {
1763
- let obj = new Filter();
1764
- obj.deserialize(params.Filters[z]);
1765
- this.Filters.push(obj);
1766
- }
1767
- }
1768
- this.Offset = 'Offset' in params ? params.Offset : null;
1769
- this.Limit = 'Limit' in params ? params.Limit : null;
1777
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1770
1778
 
1771
1779
  }
1772
1780
  }
1773
1781
 
1774
1782
  /**
1775
- * This describes the configuration and information related to instance login. For security reasons, sensitive information is not described.
1783
+ * StartAutoScalingInstances response structure.
1776
1784
  * @class
1777
1785
  */
1778
- class LimitedLoginSettings extends AbstractModel {
1786
+ class StartAutoScalingInstancesResponse extends AbstractModel {
1779
1787
  constructor(){
1780
1788
  super();
1781
1789
 
1782
1790
  /**
1783
- * List of key IDs.
1784
- * @type {Array.<string> || null}
1791
+ * The scaling activity ID.
1792
+ * @type {string || null}
1785
1793
  */
1786
- this.KeyIds = null;
1794
+ this.ActivityId = null;
1795
+
1796
+ /**
1797
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1798
+ * @type {string || null}
1799
+ */
1800
+ this.RequestId = null;
1787
1801
 
1788
1802
  }
1789
1803
 
@@ -1794,44 +1808,43 @@ class LimitedLoginSettings extends AbstractModel {
1794
1808
  if (!params) {
1795
1809
  return;
1796
1810
  }
1797
- this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
1811
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1812
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1798
1813
 
1799
1814
  }
1800
1815
  }
1801
1816
 
1802
1817
  /**
1803
- * ModifyLoadBalancers request structure.
1818
+ * CompleteLifecycleAction request structure.
1804
1819
  * @class
1805
1820
  */
1806
- class ModifyLoadBalancersRequest extends AbstractModel {
1821
+ class CompleteLifecycleActionRequest extends AbstractModel {
1807
1822
  constructor(){
1808
1823
  super();
1809
1824
 
1810
1825
  /**
1811
- * Auto scaling group ID
1826
+ * Lifecycle hook ID
1812
1827
  * @type {string || null}
1813
1828
  */
1814
- this.AutoScalingGroupId = null;
1829
+ this.LifecycleHookId = null;
1815
1830
 
1816
1831
  /**
1817
- * List of classic CLB IDs. Currently, the maximum length is 20. You cannot specify LoadBalancerIds and ForwardLoadBalancers at the same time.
1818
- * @type {Array.<string> || null}
1832
+ * Result of the lifecycle action. Value range: "CONTINUE", "ABANDON"
1833
+ * @type {string || null}
1819
1834
  */
1820
- this.LoadBalancerIds = null;
1835
+ this.LifecycleActionResult = null;
1821
1836
 
1822
1837
  /**
1823
- * List of application CLBs. Up to 50 CLBs are allowed. You cannot specify `loadBalancerIds` and `ForwardLoadBalancers` at the same time.
1824
- * @type {Array.<ForwardLoadBalancer> || null}
1838
+ * Instance ID. Either "InstanceId" or "LifecycleActionToken" must be specified
1839
+ * @type {string || null}
1825
1840
  */
1826
- this.ForwardLoadBalancers = null;
1841
+ this.InstanceId = null;
1827
1842
 
1828
1843
  /**
1829
- * CLB verification policy. Valid values: "ALL" and "DIFF". Default value: "ALL"
1830
- <br><li> ALL. Verification is successful only when all CLBs are valid. Otherwise, verification fails.
1831
- <br><li> DIFF. Only the changes in the CLB parameters are verified. If valid, the verification is successful. Otherwise, verification fails.
1844
+ * Either "InstanceId" or "LifecycleActionToken" must be specified
1832
1845
  * @type {string || null}
1833
1846
  */
1834
- this.LoadBalancersCheckPolicy = null;
1847
+ this.LifecycleActionToken = null;
1835
1848
 
1836
1849
  }
1837
1850
 
@@ -1842,35 +1855,27 @@ class ModifyLoadBalancersRequest extends AbstractModel {
1842
1855
  if (!params) {
1843
1856
  return;
1844
1857
  }
1845
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1846
- this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
1847
-
1848
- if (params.ForwardLoadBalancers) {
1849
- this.ForwardLoadBalancers = new Array();
1850
- for (let z in params.ForwardLoadBalancers) {
1851
- let obj = new ForwardLoadBalancer();
1852
- obj.deserialize(params.ForwardLoadBalancers[z]);
1853
- this.ForwardLoadBalancers.push(obj);
1854
- }
1855
- }
1856
- this.LoadBalancersCheckPolicy = 'LoadBalancersCheckPolicy' in params ? params.LoadBalancersCheckPolicy : null;
1858
+ this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
1859
+ this.LifecycleActionResult = 'LifecycleActionResult' in params ? params.LifecycleActionResult : null;
1860
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1861
+ this.LifecycleActionToken = 'LifecycleActionToken' in params ? params.LifecycleActionToken : null;
1857
1862
 
1858
1863
  }
1859
1864
  }
1860
1865
 
1861
1866
  /**
1862
- * RemoveInstances response structure.
1867
+ * CreateScalingPolicy response structure.
1863
1868
  * @class
1864
1869
  */
1865
- class RemoveInstancesResponse extends AbstractModel {
1870
+ class CreateScalingPolicyResponse extends AbstractModel {
1866
1871
  constructor(){
1867
1872
  super();
1868
1873
 
1869
1874
  /**
1870
- * Scaling activity ID
1875
+ * Alarm trigger policy ID.
1871
1876
  * @type {string || null}
1872
1877
  */
1873
- this.ActivityId = null;
1878
+ this.AutoScalingPolicyId = null;
1874
1879
 
1875
1880
  /**
1876
1881
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
@@ -1887,20 +1892,26 @@ class RemoveInstancesResponse extends AbstractModel {
1887
1892
  if (!params) {
1888
1893
  return;
1889
1894
  }
1890
- this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1895
+ this.AutoScalingPolicyId = 'AutoScalingPolicyId' in params ? params.AutoScalingPolicyId : null;
1891
1896
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1892
1897
 
1893
1898
  }
1894
1899
  }
1895
1900
 
1896
1901
  /**
1897
- * ModifyScalingPolicy response structure.
1902
+ * CreateNotificationConfiguration response structure.
1898
1903
  * @class
1899
1904
  */
1900
- class ModifyScalingPolicyResponse extends AbstractModel {
1905
+ class CreateNotificationConfigurationResponse extends AbstractModel {
1901
1906
  constructor(){
1902
1907
  super();
1903
1908
 
1909
+ /**
1910
+ * Notification ID.
1911
+ * @type {string || null}
1912
+ */
1913
+ this.AutoScalingNotificationId = null;
1914
+
1904
1915
  /**
1905
1916
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1906
1917
  * @type {string || null}
@@ -1916,36 +1927,37 @@ class ModifyScalingPolicyResponse extends AbstractModel {
1916
1927
  if (!params) {
1917
1928
  return;
1918
1929
  }
1930
+ this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
1919
1931
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1920
1932
 
1921
1933
  }
1922
1934
  }
1923
1935
 
1924
1936
  /**
1925
- * SetInstancesProtection request structure.
1937
+ * DescribeLaunchConfigurations response structure.
1926
1938
  * @class
1927
1939
  */
1928
- class SetInstancesProtectionRequest extends AbstractModel {
1940
+ class DescribeLaunchConfigurationsResponse extends AbstractModel {
1929
1941
  constructor(){
1930
1942
  super();
1931
1943
 
1932
1944
  /**
1933
- * Auto scaling group ID.
1934
- * @type {string || null}
1945
+ * Number of eligible launch configurations.
1946
+ * @type {number || null}
1935
1947
  */
1936
- this.AutoScalingGroupId = null;
1948
+ this.TotalCount = null;
1937
1949
 
1938
1950
  /**
1939
- * Instance ID.
1940
- * @type {Array.<string> || null}
1951
+ * List of launch configuration details.
1952
+ * @type {Array.<LaunchConfiguration> || null}
1941
1953
  */
1942
- this.InstanceIds = null;
1954
+ this.LaunchConfigurationSet = null;
1943
1955
 
1944
1956
  /**
1945
- * Whether to enable scale-in protection for this instance
1946
- * @type {boolean || null}
1957
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1958
+ * @type {string || null}
1947
1959
  */
1948
- this.ProtectedFromScaleIn = null;
1960
+ this.RequestId = null;
1949
1961
 
1950
1962
  }
1951
1963
 
@@ -1956,26 +1968,40 @@ class SetInstancesProtectionRequest extends AbstractModel {
1956
1968
  if (!params) {
1957
1969
  return;
1958
1970
  }
1959
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1960
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
1961
- this.ProtectedFromScaleIn = 'ProtectedFromScaleIn' in params ? params.ProtectedFromScaleIn : null;
1971
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
1972
+
1973
+ if (params.LaunchConfigurationSet) {
1974
+ this.LaunchConfigurationSet = new Array();
1975
+ for (let z in params.LaunchConfigurationSet) {
1976
+ let obj = new LaunchConfiguration();
1977
+ obj.deserialize(params.LaunchConfigurationSet[z]);
1978
+ this.LaunchConfigurationSet.push(obj);
1979
+ }
1980
+ }
1981
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1962
1982
 
1963
1983
  }
1964
1984
  }
1965
1985
 
1966
1986
  /**
1967
- * DeleteNotificationConfiguration response structure.
1987
+ * RemoveInstances request structure.
1968
1988
  * @class
1969
1989
  */
1970
- class DeleteNotificationConfigurationResponse extends AbstractModel {
1990
+ class RemoveInstancesRequest extends AbstractModel {
1971
1991
  constructor(){
1972
1992
  super();
1973
1993
 
1974
1994
  /**
1975
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1995
+ * Auto scaling group ID
1976
1996
  * @type {string || null}
1977
1997
  */
1978
- this.RequestId = null;
1998
+ this.AutoScalingGroupId = null;
1999
+
2000
+ /**
2001
+ * List of CVM instance IDs
2002
+ * @type {Array.<string> || null}
2003
+ */
2004
+ this.InstanceIds = null;
1979
2005
 
1980
2006
  }
1981
2007
 
@@ -1986,25 +2012,20 @@ class DeleteNotificationConfigurationResponse extends AbstractModel {
1986
2012
  if (!params) {
1987
2013
  return;
1988
2014
  }
1989
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
2015
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2016
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
1990
2017
 
1991
2018
  }
1992
2019
  }
1993
2020
 
1994
2021
  /**
1995
- * DetachInstances response structure.
2022
+ * DeleteScalingPolicy response structure.
1996
2023
  * @class
1997
2024
  */
1998
- class DetachInstancesResponse extends AbstractModel {
2025
+ class DeleteScalingPolicyResponse extends AbstractModel {
1999
2026
  constructor(){
2000
2027
  super();
2001
2028
 
2002
- /**
2003
- * Scaling activity ID
2004
- * @type {string || null}
2005
- */
2006
- this.ActivityId = null;
2007
-
2008
2029
  /**
2009
2030
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2010
2031
  * @type {string || null}
@@ -2020,158 +2041,197 @@ class DetachInstancesResponse extends AbstractModel {
2020
2041
  if (!params) {
2021
2042
  return;
2022
2043
  }
2023
- this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
2024
2044
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2025
2045
 
2026
2046
  }
2027
2047
  }
2028
2048
 
2029
2049
  /**
2030
- * CreateLaunchConfiguration request structure.
2050
+ * Resource type and tag key-value pair
2031
2051
  * @class
2032
2052
  */
2033
- class CreateLaunchConfigurationRequest extends AbstractModel {
2053
+ class Tag extends AbstractModel {
2034
2054
  constructor(){
2035
2055
  super();
2036
2056
 
2037
2057
  /**
2038
- * Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.
2058
+ * Tag key
2039
2059
  * @type {string || null}
2040
2060
  */
2041
- this.LaunchConfigurationName = null;
2061
+ this.Key = null;
2042
2062
 
2043
2063
  /**
2044
- * Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`. There are four types of images: <br/><li>Public images </li><li>Custom images </li><li>Shared images </li><li>Marketplace images </li><br/>You can obtain the available image IDs in the following ways: <br/><li>For `public images`, `custom images`, and `shared images`, log in to the [console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE) to query the image IDs; for `marketplace images`, query the image IDs through [Cloud Marketplace](https://market.cloud.tencent.com/list). </li><li>This value can be obtained from the `ImageId` field in the return value of the [DescribeImages API](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1).</li>
2064
+ * Tag value
2045
2065
  * @type {string || null}
2046
2066
  */
2047
- this.ImageId = null;
2067
+ this.Value = null;
2048
2068
 
2049
2069
  /**
2050
- * Project ID of the launch configuration. The default project is used if it’s left blank.
2051
- Note that this project ID is not the same as the project ID of the scaling group.
2052
- * @type {number || null}
2070
+ * Type of the resource binded to the tag. Currently supported types include "auto-scaling-group"
2071
+ Note: This field may return null, indicating that no valid values can be obtained.
2072
+ * @type {string || null}
2053
2073
  */
2054
- this.ProjectId = null;
2074
+ this.ResourceType = null;
2075
+
2076
+ }
2077
+
2078
+ /**
2079
+ * @private
2080
+ */
2081
+ deserialize(params) {
2082
+ if (!params) {
2083
+ return;
2084
+ }
2085
+ this.Key = 'Key' in params ? params.Key : null;
2086
+ this.Value = 'Value' in params ? params.Value : null;
2087
+ this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
2088
+
2089
+ }
2090
+ }
2091
+
2092
+ /**
2093
+ * DetachLoadBalancers request structure.
2094
+ * @class
2095
+ */
2096
+ class DetachLoadBalancersRequest extends AbstractModel {
2097
+ constructor(){
2098
+ super();
2055
2099
 
2056
2100
  /**
2057
- * Instance model. Different instance models specify different resource specifications. The specific value can be obtained by calling the [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) API to get the latest specification table or referring to the descriptions in [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1).
2058
- `InstanceType` and `InstanceTypes` are mutually exclusive, and one and only one of them must be entered.
2101
+ * Scaling group ID
2059
2102
  * @type {string || null}
2060
2103
  */
2061
- this.InstanceType = null;
2104
+ this.AutoScalingGroupId = null;
2062
2105
 
2063
2106
  /**
2064
- * System disk configuration of the instance. If this parameter is not specified, the default value will be assigned to it.
2065
- * @type {SystemDisk || null}
2107
+ * List of classic CLB IDs. Up to 20 IDs are allowed. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
2108
+ * @type {Array.<string> || null}
2066
2109
  */
2067
- this.SystemDisk = null;
2110
+ this.LoadBalancerIds = null;
2068
2111
 
2069
2112
  /**
2070
- * Information of the instance's data disk configuration. If this parameter is not specified, no data disk is purchased by default. Up to 11 data disks can be supported.
2071
- * @type {Array.<DataDisk> || null}
2113
+ * List of application CLB IDs. Up to 50 IDs are allowed. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
2114
+ * @type {Array.<ForwardLoadBalancerIdentification> || null}
2072
2115
  */
2073
- this.DataDisks = null;
2116
+ this.ForwardLoadBalancerIdentifications = null;
2074
2117
 
2075
- /**
2076
- * Configuration information of public network bandwidth. If this parameter is not specified, the default public network bandwidth is 0 Mbps.
2077
- * @type {InternetAccessible || null}
2078
- */
2079
- this.InternetAccessible = null;
2118
+ }
2080
2119
 
2081
- /**
2082
- * Login settings of the instance. This parameter is used to set the login password and key for the instance, or to keep the original login settings for the image. By default, a random password is generated and sent to the user via the internal message.
2083
- * @type {LoginSettings || null}
2084
- */
2085
- this.LoginSettings = null;
2120
+ /**
2121
+ * @private
2122
+ */
2123
+ deserialize(params) {
2124
+ if (!params) {
2125
+ return;
2126
+ }
2127
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2128
+ this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
2129
+
2130
+ if (params.ForwardLoadBalancerIdentifications) {
2131
+ this.ForwardLoadBalancerIdentifications = new Array();
2132
+ for (let z in params.ForwardLoadBalancerIdentifications) {
2133
+ let obj = new ForwardLoadBalancerIdentification();
2134
+ obj.deserialize(params.ForwardLoadBalancerIdentifications[z]);
2135
+ this.ForwardLoadBalancerIdentifications.push(obj);
2136
+ }
2137
+ }
2138
+
2139
+ }
2140
+ }
2141
+
2142
+ /**
2143
+ * DescribeAutoScalingInstances request structure.
2144
+ * @class
2145
+ */
2146
+ class DescribeAutoScalingInstancesRequest extends AbstractModel {
2147
+ constructor(){
2148
+ super();
2086
2149
 
2087
2150
  /**
2088
- * The security group to which the instance belongs. This parameter can be obtained by calling the `SecurityGroupId` field in the returned value of [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1). If this parameter is not specified, no security group will be bound by default.
2151
+ * ID of the CVM instance to be queried. This parameter does not support specifying both InstanceIds and Filters at the same time.
2089
2152
  * @type {Array.<string> || null}
2090
2153
  */
2091
- this.SecurityGroupIds = null;
2154
+ this.InstanceIds = null;
2092
2155
 
2093
2156
  /**
2094
- * Enhanced service. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitoring and Cloud Security will be enabled by default.
2095
- * @type {EnhancedService || null}
2157
+ * Filter.
2158
+ <li> instance-id - String - Required: No - (Filter) Filter by instance ID.</li>
2159
+ <li> auto-scaling-group-id - String - Required: No - (Filter) Filter by auto scaling group ID.</li>
2160
+ The maximum number of `Filters` per request is 10. The upper limit for `Filter.Values` is 5. This parameter does not support specifying both `InstanceIds` and `Filters` at the same time.
2161
+ * @type {Array.<Filter> || null}
2096
2162
  */
2097
- this.EnhancedService = null;
2163
+ this.Filters = null;
2098
2164
 
2099
2165
  /**
2100
- * Base64-encoded custom data of up to 16 KB.
2101
- * @type {string || null}
2166
+ * Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
2167
+ * @type {number || null}
2102
2168
  */
2103
- this.UserData = null;
2169
+ this.Offset = null;
2104
2170
 
2105
2171
  /**
2106
- * Instance billing mode. CVM instances take `POSTPAID_BY_HOUR` by default. Valid values:
2107
- <br><li>POSTPAID_BY_HOUR: pay-as-you-go hourly
2108
- <br><li>SPOTPAID: spot instance
2109
- * @type {string || null}
2172
+ * Number of returned results. The default value is 20. The maximum is 2000. For more information on `Limit`, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
2173
+ * @type {number || null}
2110
2174
  */
2111
- this.InstanceChargeType = null;
2175
+ this.Limit = null;
2112
2176
 
2113
- /**
2114
- * Market-related options of the instance, such as the parameters related to stop instances. If the billing method of instance is specified as bidding, this parameter must be passed in.
2115
- * @type {InstanceMarketOptionsRequest || null}
2116
- */
2117
- this.InstanceMarketOptions = null;
2177
+ }
2118
2178
 
2119
- /**
2120
- * List of instance models. Different instance models specify different resource specifications. Up to 10 instance models can be supported.
2121
- `InstanceType` and `InstanceTypes` are mutually exclusive, and one and only one of them must be entered.
2122
- * @type {Array.<string> || null}
2123
- */
2124
- this.InstanceTypes = null;
2179
+ /**
2180
+ * @private
2181
+ */
2182
+ deserialize(params) {
2183
+ if (!params) {
2184
+ return;
2185
+ }
2186
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2125
2187
 
2126
- /**
2127
- * Instance type verification policy. Value range: ALL, ANY. Default value: ANY.
2128
- <br><li> ALL: The verification will success only if all instance types (InstanceType) are available; otherwise, an error will be reported.
2129
- <br><li> ANY: The verification will success if any instance type (InstanceType) is available; otherwise, an error will be reported.
2188
+ if (params.Filters) {
2189
+ this.Filters = new Array();
2190
+ for (let z in params.Filters) {
2191
+ let obj = new Filter();
2192
+ obj.deserialize(params.Filters[z]);
2193
+ this.Filters.push(obj);
2194
+ }
2195
+ }
2196
+ this.Offset = 'Offset' in params ? params.Offset : null;
2197
+ this.Limit = 'Limit' in params ? params.Limit : null;
2130
2198
 
2131
- Common reasons why an instance type is unavailable include stock-out of the instance type or the corresponding cloud disk.
2132
- If a model in InstanceTypes does not exist or has been discontinued, a verification error will be reported regardless of the value of InstanceTypesCheckPolicy.
2133
- * @type {string || null}
2134
- */
2135
- this.InstanceTypesCheckPolicy = null;
2199
+ }
2200
+ }
2136
2201
 
2137
- /**
2138
- * List of tags. This parameter is used to bind up to 10 tags to newly added instances.
2139
- * @type {Array.<InstanceTag> || null}
2140
- */
2141
- this.InstanceTags = null;
2202
+ /**
2203
+ * ModifyLoadBalancers request structure.
2204
+ * @class
2205
+ */
2206
+ class ModifyLoadBalancersRequest extends AbstractModel {
2207
+ constructor(){
2208
+ super();
2142
2209
 
2143
2210
  /**
2144
- * CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.
2211
+ * Auto scaling group ID
2145
2212
  * @type {string || null}
2146
2213
  */
2147
- this.CamRoleName = null;
2148
-
2149
- /**
2150
- * CVM HostName settings.
2151
- * @type {HostNameSettings || null}
2152
- */
2153
- this.HostNameSettings = null;
2214
+ this.AutoScalingGroupId = null;
2154
2215
 
2155
2216
  /**
2156
- * Settings of CVM instance names
2157
- If this field is configured in a launch configuration, the `InstanceName` of a CVM created by the scaling group will be generated according to the configuration; otherwise, it will be in the `as-{{AutoScalingGroupName }}` format.
2158
- * @type {InstanceNameSettings || null}
2217
+ * List of classic CLB IDs. Currently, the maximum length is 20. You cannot specify LoadBalancerIds and ForwardLoadBalancers at the same time.
2218
+ * @type {Array.<string> || null}
2159
2219
  */
2160
- this.InstanceNameSettings = null;
2220
+ this.LoadBalancerIds = null;
2161
2221
 
2162
2222
  /**
2163
- * Sets prepaid billing mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.
2164
- * @type {InstanceChargePrepaid || null}
2223
+ * List of application CLBs. Up to 50 CLBs are allowed. You cannot specify `loadBalancerIds` and `ForwardLoadBalancers` at the same time.
2224
+ * @type {Array.<ForwardLoadBalancer> || null}
2165
2225
  */
2166
- this.InstanceChargePrepaid = null;
2226
+ this.ForwardLoadBalancers = null;
2167
2227
 
2168
2228
  /**
2169
- * Selection policy of cloud disks. Default value: ORIGINAL. Valid values:
2170
- <br><li>ORIGINAL: uses the configured cloud disk type
2171
- <br><li>AUTOMATIC: automatically chooses an available cloud disk type
2229
+ * CLB verification policy. Valid values: "ALL" and "DIFF". Default value: "ALL"
2230
+ <br><li> ALL. Verification is successful only when all CLBs are valid. Otherwise, verification fails.
2231
+ <br><li> DIFF. Only the changes in the CLB parameters are verified. If valid, the verification is successful. Otherwise, verification fails.
2172
2232
  * @type {string || null}
2173
2233
  */
2174
- this.DiskTypePolicy = null;
2234
+ this.LoadBalancersCheckPolicy = null;
2175
2235
 
2176
2236
  }
2177
2237
 
@@ -2182,9 +2242,377 @@ If this field is configured in a launch configuration, the `InstanceName` of a C
2182
2242
  if (!params) {
2183
2243
  return;
2184
2244
  }
2185
- this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
2186
- this.ImageId = 'ImageId' in params ? params.ImageId : null;
2187
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
2245
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2246
+ this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
2247
+
2248
+ if (params.ForwardLoadBalancers) {
2249
+ this.ForwardLoadBalancers = new Array();
2250
+ for (let z in params.ForwardLoadBalancers) {
2251
+ let obj = new ForwardLoadBalancer();
2252
+ obj.deserialize(params.ForwardLoadBalancers[z]);
2253
+ this.ForwardLoadBalancers.push(obj);
2254
+ }
2255
+ }
2256
+ this.LoadBalancersCheckPolicy = 'LoadBalancersCheckPolicy' in params ? params.LoadBalancersCheckPolicy : null;
2257
+
2258
+ }
2259
+ }
2260
+
2261
+ /**
2262
+ * RemoveInstances response structure.
2263
+ * @class
2264
+ */
2265
+ class RemoveInstancesResponse extends AbstractModel {
2266
+ constructor(){
2267
+ super();
2268
+
2269
+ /**
2270
+ * Scaling activity ID
2271
+ * @type {string || null}
2272
+ */
2273
+ this.ActivityId = null;
2274
+
2275
+ /**
2276
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2277
+ * @type {string || null}
2278
+ */
2279
+ this.RequestId = null;
2280
+
2281
+ }
2282
+
2283
+ /**
2284
+ * @private
2285
+ */
2286
+ deserialize(params) {
2287
+ if (!params) {
2288
+ return;
2289
+ }
2290
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
2291
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2292
+
2293
+ }
2294
+ }
2295
+
2296
+ /**
2297
+ * ModifyScalingPolicy response structure.
2298
+ * @class
2299
+ */
2300
+ class ModifyScalingPolicyResponse extends AbstractModel {
2301
+ constructor(){
2302
+ super();
2303
+
2304
+ /**
2305
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2306
+ * @type {string || null}
2307
+ */
2308
+ this.RequestId = null;
2309
+
2310
+ }
2311
+
2312
+ /**
2313
+ * @private
2314
+ */
2315
+ deserialize(params) {
2316
+ if (!params) {
2317
+ return;
2318
+ }
2319
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2320
+
2321
+ }
2322
+ }
2323
+
2324
+ /**
2325
+ * SetInstancesProtection request structure.
2326
+ * @class
2327
+ */
2328
+ class SetInstancesProtectionRequest extends AbstractModel {
2329
+ constructor(){
2330
+ super();
2331
+
2332
+ /**
2333
+ * Auto scaling group ID.
2334
+ * @type {string || null}
2335
+ */
2336
+ this.AutoScalingGroupId = null;
2337
+
2338
+ /**
2339
+ * Instance ID.
2340
+ * @type {Array.<string> || null}
2341
+ */
2342
+ this.InstanceIds = null;
2343
+
2344
+ /**
2345
+ * Whether to enable scale-in protection for this instance
2346
+ * @type {boolean || null}
2347
+ */
2348
+ this.ProtectedFromScaleIn = null;
2349
+
2350
+ }
2351
+
2352
+ /**
2353
+ * @private
2354
+ */
2355
+ deserialize(params) {
2356
+ if (!params) {
2357
+ return;
2358
+ }
2359
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2360
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2361
+ this.ProtectedFromScaleIn = 'ProtectedFromScaleIn' in params ? params.ProtectedFromScaleIn : null;
2362
+
2363
+ }
2364
+ }
2365
+
2366
+ /**
2367
+ * DeleteNotificationConfiguration response structure.
2368
+ * @class
2369
+ */
2370
+ class DeleteNotificationConfigurationResponse extends AbstractModel {
2371
+ constructor(){
2372
+ super();
2373
+
2374
+ /**
2375
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2376
+ * @type {string || null}
2377
+ */
2378
+ this.RequestId = null;
2379
+
2380
+ }
2381
+
2382
+ /**
2383
+ * @private
2384
+ */
2385
+ deserialize(params) {
2386
+ if (!params) {
2387
+ return;
2388
+ }
2389
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2390
+
2391
+ }
2392
+ }
2393
+
2394
+ /**
2395
+ * DetachInstances response structure.
2396
+ * @class
2397
+ */
2398
+ class DetachInstancesResponse extends AbstractModel {
2399
+ constructor(){
2400
+ super();
2401
+
2402
+ /**
2403
+ * Scaling activity ID
2404
+ * @type {string || null}
2405
+ */
2406
+ this.ActivityId = null;
2407
+
2408
+ /**
2409
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2410
+ * @type {string || null}
2411
+ */
2412
+ this.RequestId = null;
2413
+
2414
+ }
2415
+
2416
+ /**
2417
+ * @private
2418
+ */
2419
+ deserialize(params) {
2420
+ if (!params) {
2421
+ return;
2422
+ }
2423
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
2424
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2425
+
2426
+ }
2427
+ }
2428
+
2429
+ /**
2430
+ * ModifyLaunchConfigurationAttributes response structure.
2431
+ * @class
2432
+ */
2433
+ class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
2434
+ constructor(){
2435
+ super();
2436
+
2437
+ /**
2438
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2439
+ * @type {string || null}
2440
+ */
2441
+ this.RequestId = null;
2442
+
2443
+ }
2444
+
2445
+ /**
2446
+ * @private
2447
+ */
2448
+ deserialize(params) {
2449
+ if (!params) {
2450
+ return;
2451
+ }
2452
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2453
+
2454
+ }
2455
+ }
2456
+
2457
+ /**
2458
+ * CreateLaunchConfiguration request structure.
2459
+ * @class
2460
+ */
2461
+ class CreateLaunchConfigurationRequest extends AbstractModel {
2462
+ constructor(){
2463
+ super();
2464
+
2465
+ /**
2466
+ * Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.
2467
+ * @type {string || null}
2468
+ */
2469
+ this.LaunchConfigurationName = null;
2470
+
2471
+ /**
2472
+ * Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`. There are four types of images: <br/><li>Public images </li><li>Custom images </li><li>Shared images </li><li>Marketplace images </li><br/>You can obtain the available image IDs in the following ways: <br/><li>For `public images`, `custom images`, and `shared images`, log in to the [console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE) to query the image IDs; for `marketplace images`, query the image IDs through [Cloud Marketplace](https://market.cloud.tencent.com/list). </li><li>This value can be obtained from the `ImageId` field in the return value of the [DescribeImages API](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1).</li>
2473
+ * @type {string || null}
2474
+ */
2475
+ this.ImageId = null;
2476
+
2477
+ /**
2478
+ * Project ID of the launch configuration. The default project is used if it’s left blank.
2479
+ Note that this project ID is not the same as the project ID of the scaling group.
2480
+ * @type {number || null}
2481
+ */
2482
+ this.ProjectId = null;
2483
+
2484
+ /**
2485
+ * Instance model. Different instance models specify different resource specifications. The specific value can be obtained by calling the [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) API to get the latest specification table or referring to the descriptions in [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1).
2486
+ `InstanceType` and `InstanceTypes` are mutually exclusive, and one and only one of them must be entered.
2487
+ * @type {string || null}
2488
+ */
2489
+ this.InstanceType = null;
2490
+
2491
+ /**
2492
+ * System disk configuration of the instance. If this parameter is not specified, the default value will be assigned to it.
2493
+ * @type {SystemDisk || null}
2494
+ */
2495
+ this.SystemDisk = null;
2496
+
2497
+ /**
2498
+ * Information of the instance's data disk configuration. If this parameter is not specified, no data disk is purchased by default. Up to 11 data disks can be supported.
2499
+ * @type {Array.<DataDisk> || null}
2500
+ */
2501
+ this.DataDisks = null;
2502
+
2503
+ /**
2504
+ * Configuration information of public network bandwidth. If this parameter is not specified, the default public network bandwidth is 0 Mbps.
2505
+ * @type {InternetAccessible || null}
2506
+ */
2507
+ this.InternetAccessible = null;
2508
+
2509
+ /**
2510
+ * Login settings of the instance. This parameter is used to set the login password and key for the instance, or to keep the original login settings for the image. By default, a random password is generated and sent to the user via the internal message.
2511
+ * @type {LoginSettings || null}
2512
+ */
2513
+ this.LoginSettings = null;
2514
+
2515
+ /**
2516
+ * The security group to which the instance belongs. This parameter can be obtained by calling the `SecurityGroupId` field in the returned value of [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1). If this parameter is not specified, no security group will be bound by default.
2517
+ * @type {Array.<string> || null}
2518
+ */
2519
+ this.SecurityGroupIds = null;
2520
+
2521
+ /**
2522
+ * Enhanced service. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitoring and Cloud Security will be enabled by default.
2523
+ * @type {EnhancedService || null}
2524
+ */
2525
+ this.EnhancedService = null;
2526
+
2527
+ /**
2528
+ * Base64-encoded custom data of up to 16 KB.
2529
+ * @type {string || null}
2530
+ */
2531
+ this.UserData = null;
2532
+
2533
+ /**
2534
+ * Instance billing mode. CVM instances take `POSTPAID_BY_HOUR` by default. Valid values:
2535
+ <br><li>POSTPAID_BY_HOUR: pay-as-you-go hourly
2536
+ <br><li>SPOTPAID: spot instance
2537
+ * @type {string || null}
2538
+ */
2539
+ this.InstanceChargeType = null;
2540
+
2541
+ /**
2542
+ * Market-related options of the instance, such as the parameters related to stop instances. If the billing method of instance is specified as bidding, this parameter must be passed in.
2543
+ * @type {InstanceMarketOptionsRequest || null}
2544
+ */
2545
+ this.InstanceMarketOptions = null;
2546
+
2547
+ /**
2548
+ * List of instance models. Different instance models specify different resource specifications. Up to 10 instance models can be supported.
2549
+ `InstanceType` and `InstanceTypes` are mutually exclusive, and one and only one of them must be entered.
2550
+ * @type {Array.<string> || null}
2551
+ */
2552
+ this.InstanceTypes = null;
2553
+
2554
+ /**
2555
+ * Instance type verification policy. Value range: ALL, ANY. Default value: ANY.
2556
+ <br><li> ALL: The verification will success only if all instance types (InstanceType) are available; otherwise, an error will be reported.
2557
+ <br><li> ANY: The verification will success if any instance type (InstanceType) is available; otherwise, an error will be reported.
2558
+
2559
+ Common reasons why an instance type is unavailable include stock-out of the instance type or the corresponding cloud disk.
2560
+ If a model in InstanceTypes does not exist or has been discontinued, a verification error will be reported regardless of the value of InstanceTypesCheckPolicy.
2561
+ * @type {string || null}
2562
+ */
2563
+ this.InstanceTypesCheckPolicy = null;
2564
+
2565
+ /**
2566
+ * List of tags. This parameter is used to bind up to 10 tags to newly added instances.
2567
+ * @type {Array.<InstanceTag> || null}
2568
+ */
2569
+ this.InstanceTags = null;
2570
+
2571
+ /**
2572
+ * CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.
2573
+ * @type {string || null}
2574
+ */
2575
+ this.CamRoleName = null;
2576
+
2577
+ /**
2578
+ * CVM HostName settings.
2579
+ * @type {HostNameSettings || null}
2580
+ */
2581
+ this.HostNameSettings = null;
2582
+
2583
+ /**
2584
+ * Settings of CVM instance names
2585
+ If this field is configured in a launch configuration, the `InstanceName` of a CVM created by the scaling group will be generated according to the configuration; otherwise, it will be in the `as-{{AutoScalingGroupName }}` format.
2586
+ * @type {InstanceNameSettings || null}
2587
+ */
2588
+ this.InstanceNameSettings = null;
2589
+
2590
+ /**
2591
+ * Sets prepaid billing mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.
2592
+ * @type {InstanceChargePrepaid || null}
2593
+ */
2594
+ this.InstanceChargePrepaid = null;
2595
+
2596
+ /**
2597
+ * Selection policy of cloud disks. Default value: ORIGINAL. Valid values:
2598
+ <br><li>ORIGINAL: uses the configured cloud disk type
2599
+ <br><li>AUTOMATIC: automatically chooses an available cloud disk type
2600
+ * @type {string || null}
2601
+ */
2602
+ this.DiskTypePolicy = null;
2603
+
2604
+ }
2605
+
2606
+ /**
2607
+ * @private
2608
+ */
2609
+ deserialize(params) {
2610
+ if (!params) {
2611
+ return;
2612
+ }
2613
+ this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
2614
+ this.ImageId = 'ImageId' in params ? params.ImageId : null;
2615
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
2188
2616
  this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
2189
2617
 
2190
2618
  if (params.SystemDisk) {
@@ -2715,6 +3143,41 @@ class UpgradeLifecycleHookRequest extends AbstractModel {
2715
3143
  }
2716
3144
  }
2717
3145
 
3146
+ /**
3147
+ * DetachLoadBalancers response structure.
3148
+ * @class
3149
+ */
3150
+ class DetachLoadBalancersResponse extends AbstractModel {
3151
+ constructor(){
3152
+ super();
3153
+
3154
+ /**
3155
+ * Scaling activity ID
3156
+ * @type {string || null}
3157
+ */
3158
+ this.ActivityId = null;
3159
+
3160
+ /**
3161
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3162
+ * @type {string || null}
3163
+ */
3164
+ this.RequestId = null;
3165
+
3166
+ }
3167
+
3168
+ /**
3169
+ * @private
3170
+ */
3171
+ deserialize(params) {
3172
+ if (!params) {
3173
+ return;
3174
+ }
3175
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
3176
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3177
+
3178
+ }
3179
+ }
3180
+
2718
3181
  /**
2719
3182
  * Alarm trigger policy.
2720
3183
  * @class
@@ -2935,19 +3398,26 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
2935
3398
  this.NotificationUserGroupIds = null;
2936
3399
 
2937
3400
  /**
2938
- * Notification receiver type. Values: `USER_GROUP`,`CMQ_QUEUE`,`CMQ_TOPIC`. Default: `USER_GROUP`.
3401
+ * Notification receiver type. Valid values:
3402
+ <br><li>USER_GROUP:User group
3403
+ <br><li>CMQ_QUEUE:CMQ queue
3404
+ <br><li>CMQ_TOPIC:CMQ topic
3405
+ <br><li>TDMQ_CMQ_TOPIC:TDMQ CMQ topic
3406
+ <br><li>TDMQ_CMQ_QUEUE:TDMQ CMQ queue
3407
+
3408
+ Default value: `USER_GROUP`.
2939
3409
  * @type {string || null}
2940
3410
  */
2941
3411
  this.TargetType = null;
2942
3412
 
2943
3413
  /**
2944
- * CMQ queue name. This field is required when `TargetType` is `CMQ_QUEUE`.
3414
+ * CMQ queue name. This parameter is required when `TargetType` is `CMQ_QUEUE` or `TDMQ_CMQ_QUEUE`.
2945
3415
  * @type {string || null}
2946
3416
  */
2947
3417
  this.QueueName = null;
2948
3418
 
2949
3419
  /**
2950
- * CMQ topic name. This field is required when `TargetType` is `CMQ_TOPIC`.
3420
+ * CMQ topic name. This parameter is required when `TargetType` is `CMQ_TOPIC` or `TDMQ_CMQ_TOPIC`.
2951
3421
  * @type {string || null}
2952
3422
  */
2953
3423
  this.TopicName = null;
@@ -3049,6 +3519,41 @@ class DeleteLifecycleHookRequest extends AbstractModel {
3049
3519
  }
3050
3520
  }
3051
3521
 
3522
+ /**
3523
+ * ModifyLoadBalancerTargetAttributes response structure.
3524
+ * @class
3525
+ */
3526
+ class ModifyLoadBalancerTargetAttributesResponse extends AbstractModel {
3527
+ constructor(){
3528
+ super();
3529
+
3530
+ /**
3531
+ * Scaling activity ID
3532
+ * @type {string || null}
3533
+ */
3534
+ this.ActivityId = null;
3535
+
3536
+ /**
3537
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3538
+ * @type {string || null}
3539
+ */
3540
+ this.RequestId = null;
3541
+
3542
+ }
3543
+
3544
+ /**
3545
+ * @private
3546
+ */
3547
+ deserialize(params) {
3548
+ if (!params) {
3549
+ return;
3550
+ }
3551
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
3552
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3553
+
3554
+ }
3555
+ }
3556
+
3052
3557
  /**
3053
3558
  * ModifyAutoScalingGroup response structure.
3054
3559
  * @class
@@ -3285,6 +3790,49 @@ class InstanceTag extends AbstractModel {
3285
3790
  }
3286
3791
  }
3287
3792
 
3793
+ /**
3794
+ * DescribeAutoScalingAdvices response structure.
3795
+ * @class
3796
+ */
3797
+ class DescribeAutoScalingAdvicesResponse extends AbstractModel {
3798
+ constructor(){
3799
+ super();
3800
+
3801
+ /**
3802
+ * A collection of suggestions for scaling group configurations.
3803
+ * @type {Array.<AutoScalingAdvice> || null}
3804
+ */
3805
+ this.AutoScalingAdviceSet = null;
3806
+
3807
+ /**
3808
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3809
+ * @type {string || null}
3810
+ */
3811
+ this.RequestId = null;
3812
+
3813
+ }
3814
+
3815
+ /**
3816
+ * @private
3817
+ */
3818
+ deserialize(params) {
3819
+ if (!params) {
3820
+ return;
3821
+ }
3822
+
3823
+ if (params.AutoScalingAdviceSet) {
3824
+ this.AutoScalingAdviceSet = new Array();
3825
+ for (let z in params.AutoScalingAdviceSet) {
3826
+ let obj = new AutoScalingAdvice();
3827
+ obj.deserialize(params.AutoScalingAdviceSet[z]);
3828
+ this.AutoScalingAdviceSet.push(obj);
3829
+ }
3830
+ }
3831
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3832
+
3833
+ }
3834
+ }
3835
+
3288
3836
  /**
3289
3837
  * CreateAutoScalingGroup request structure.
3290
3838
  * @class
@@ -4199,60 +4747,30 @@ class Instance extends AbstractModel {
4199
4747
  }
4200
4748
 
4201
4749
  /**
4202
- * CreateScheduledAction request structure.
4750
+ * DescribeAutoScalingInstances response structure.
4203
4751
  * @class
4204
4752
  */
4205
- class CreateScheduledActionRequest extends AbstractModel {
4753
+ class DescribeAutoScalingInstancesResponse extends AbstractModel {
4206
4754
  constructor(){
4207
4755
  super();
4208
4756
 
4209
- /**
4210
- * Auto scaling group ID
4211
- * @type {string || null}
4212
- */
4213
- this.AutoScalingGroupId = null;
4214
-
4215
- /**
4216
- * Scheduled task name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 60 bytes and must be unique in an auto scaling group.
4217
- * @type {string || null}
4218
- */
4219
- this.ScheduledActionName = null;
4220
-
4221
- /**
4222
- * The maximum number of instances set for the auto scaling group when the scheduled task is triggered.
4223
- * @type {number || null}
4224
- */
4225
- this.MaxSize = null;
4226
-
4227
- /**
4228
- * The minimum number of instances set for the auto scaling group when the scheduled task is triggered.
4229
- * @type {number || null}
4230
- */
4231
- this.MinSize = null;
4232
-
4233
- /**
4234
- * The desired number of instances set for the auto scaling group when the scheduled task is triggered.
4235
- * @type {number || null}
4236
- */
4237
- this.DesiredCapacity = null;
4238
-
4239
- /**
4240
- * Initial triggered time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard.
4241
- * @type {string || null}
4757
+ /**
4758
+ * List of instance details.
4759
+ * @type {Array.<Instance> || null}
4242
4760
  */
4243
- this.StartTime = null;
4761
+ this.AutoScalingInstanceSet = null;
4244
4762
 
4245
4763
  /**
4246
- * End time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard. <br><br>This parameter and `Recurrence` need to be specified at the same time. After the end time, the scheduled task will no longer take effect.
4247
- * @type {string || null}
4764
+ * Number of eligible instances.
4765
+ * @type {number || null}
4248
4766
  */
4249
- this.EndTime = null;
4767
+ this.TotalCount = null;
4250
4768
 
4251
4769
  /**
4252
- * Repeating mode of the scheduled task, which is in standard cron format. <br><br>This parameter and `EndTime` need to be specified at the same time.
4770
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4253
4771
  * @type {string || null}
4254
4772
  */
4255
- this.Recurrence = null;
4773
+ this.RequestId = null;
4256
4774
 
4257
4775
  }
4258
4776
 
@@ -4263,14 +4781,17 @@ class CreateScheduledActionRequest extends AbstractModel {
4263
4781
  if (!params) {
4264
4782
  return;
4265
4783
  }
4266
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
4267
- this.ScheduledActionName = 'ScheduledActionName' in params ? params.ScheduledActionName : null;
4268
- this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
4269
- this.MinSize = 'MinSize' in params ? params.MinSize : null;
4270
- this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
4271
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
4272
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
4273
- this.Recurrence = 'Recurrence' in params ? params.Recurrence : null;
4784
+
4785
+ if (params.AutoScalingInstanceSet) {
4786
+ this.AutoScalingInstanceSet = new Array();
4787
+ for (let z in params.AutoScalingInstanceSet) {
4788
+ let obj = new Instance();
4789
+ obj.deserialize(params.AutoScalingInstanceSet[z]);
4790
+ this.AutoScalingInstanceSet.push(obj);
4791
+ }
4792
+ }
4793
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
4794
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4274
4795
 
4275
4796
  }
4276
4797
  }
@@ -4854,317 +5375,125 @@ class ScaleOutInstancesResponse extends AbstractModel {
4854
5375
  * @class
4855
5376
  */
4856
5377
  class Filter extends AbstractModel {
4857
- constructor(){
4858
- super();
4859
-
4860
- /**
4861
- * Field to be filtered.
4862
- * @type {string || null}
4863
- */
4864
- this.Name = null;
4865
-
4866
- /**
4867
- * Filter value of the field.
4868
- * @type {Array.<string> || null}
4869
- */
4870
- this.Values = null;
4871
-
4872
- }
4873
-
4874
- /**
4875
- * @private
4876
- */
4877
- deserialize(params) {
4878
- if (!params) {
4879
- return;
4880
- }
4881
- this.Name = 'Name' in params ? params.Name : null;
4882
- this.Values = 'Values' in params ? params.Values : null;
4883
-
4884
- }
4885
- }
4886
-
4887
- /**
4888
- * DescribeLifecycleHooks request structure.
4889
- * @class
4890
- */
4891
- class DescribeLifecycleHooksRequest extends AbstractModel {
4892
- constructor(){
4893
- super();
4894
-
4895
- /**
4896
- * Queries by one or more lifecycle hook IDs in the format of `ash-8azjzxcl`. The maximum quantity per request is 100. This parameter does not support specifying both `LifecycleHookIds` and `Filters` at the same time.
4897
- * @type {Array.<string> || null}
4898
- */
4899
- this.LifecycleHookIds = null;
4900
-
4901
- /**
4902
- * Filters.
4903
- <li> `lifecycle-hook-id` - String - Required: No - (Filter) Filter by lifecycle hook ID.</li>
4904
- <li> `lifecycle-hook-name` - String - Required: No - (Filter) Filter by lifecycle hook name.</li>
4905
- <li> `auto-scaling-group-id` - String - Required: No - (Filter) Filter by scaling group ID.</li>
4906
- Up to 10 filters can be included in a request and up to 5 values for each filter. It cannot be specified with `LifecycleHookIds` at the same time.
4907
- * @type {Array.<Filter> || null}
4908
- */
4909
- this.Filters = null;
4910
-
4911
- /**
4912
- * Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
4913
- * @type {number || null}
4914
- */
4915
- this.Limit = null;
4916
-
4917
- /**
4918
- * Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
4919
- * @type {number || null}
4920
- */
4921
- this.Offset = null;
4922
-
4923
- }
4924
-
4925
- /**
4926
- * @private
4927
- */
4928
- deserialize(params) {
4929
- if (!params) {
4930
- return;
4931
- }
4932
- this.LifecycleHookIds = 'LifecycleHookIds' in params ? params.LifecycleHookIds : null;
4933
-
4934
- if (params.Filters) {
4935
- this.Filters = new Array();
4936
- for (let z in params.Filters) {
4937
- let obj = new Filter();
4938
- obj.deserialize(params.Filters[z]);
4939
- this.Filters.push(obj);
4940
- }
4941
- }
4942
- this.Limit = 'Limit' in params ? params.Limit : null;
4943
- this.Offset = 'Offset' in params ? params.Offset : null;
4944
-
4945
- }
4946
- }
4947
-
4948
- /**
4949
- * Service settings
4950
- * @class
4951
- */
4952
- class ServiceSettings extends AbstractModel {
4953
- constructor(){
4954
- super();
4955
-
4956
- /**
4957
- * Enables unhealthy instance replacement. If this feature is enabled, AS will replace instances that are flagged as unhealthy by Cloud Monitor. If this parameter is not specified, the value will be False by default.
4958
- * @type {boolean || null}
4959
- */
4960
- this.ReplaceMonitorUnhealthy = null;
4961
-
4962
- /**
4963
- * Valid values:
4964
- CLASSIC_SCALING: this is the typical scaling method, which creates and terminates instances to perform scaling operations.
4965
- WAKE_UP_STOPPED_SCALING: this scaling method first tries to start stopped instances. If the number of instances woken up is insufficient, the system creates new instances for scale-out. For scale-in, instances are terminated as in the typical method. You can use the StopAutoScalingInstances API to stop instances in the scaling group. Scale-out operations triggered by alarms will still create new instances.
4966
- Default value: CLASSIC_SCALING
4967
- * @type {string || null}
4968
- */
4969
- this.ScalingMode = null;
4970
-
4971
- /**
4972
- * Enable unhealthy instance replacement. If this feature is enabled, AS will replace instances that are found unhealthy in the CLB health check. If this parameter is not specified, the default value `False` will be used.
4973
- * @type {boolean || null}
4974
- */
4975
- this.ReplaceLoadBalancerUnhealthy = null;
4976
-
4977
- }
4978
-
4979
- /**
4980
- * @private
4981
- */
4982
- deserialize(params) {
4983
- if (!params) {
4984
- return;
4985
- }
4986
- this.ReplaceMonitorUnhealthy = 'ReplaceMonitorUnhealthy' in params ? params.ReplaceMonitorUnhealthy : null;
4987
- this.ScalingMode = 'ScalingMode' in params ? params.ScalingMode : null;
4988
- this.ReplaceLoadBalancerUnhealthy = 'ReplaceLoadBalancerUnhealthy' in params ? params.ReplaceLoadBalancerUnhealthy : null;
4989
-
4990
- }
4991
- }
4992
-
4993
- /**
4994
- * Information set of eligible launch configurations.
4995
- * @class
4996
- */
4997
- class LaunchConfiguration extends AbstractModel {
4998
- constructor(){
4999
- super();
5000
-
5001
- /**
5002
- * Project ID of the instance.
5003
- * @type {number || null}
5004
- */
5005
- this.ProjectId = null;
5006
-
5007
- /**
5008
- * Launch configuration ID.
5009
- * @type {string || null}
5010
- */
5011
- this.LaunchConfigurationId = null;
5012
-
5013
- /**
5014
- * Launch configuration name.
5015
- * @type {string || null}
5016
- */
5017
- this.LaunchConfigurationName = null;
5018
-
5019
- /**
5020
- * Instance model.
5021
- * @type {string || null}
5022
- */
5023
- this.InstanceType = null;
5024
-
5025
- /**
5026
- * Information of the instance's system disk configuration.
5027
- * @type {SystemDisk || null}
5028
- */
5029
- this.SystemDisk = null;
5030
-
5031
- /**
5032
- * Information of the instance's data disk configuration.
5033
- * @type {Array.<DataDisk> || null}
5034
- */
5035
- this.DataDisks = null;
5036
-
5037
- /**
5038
- * Instance login settings.
5039
- * @type {LimitedLoginSettings || null}
5040
- */
5041
- this.LoginSettings = null;
5042
-
5043
- /**
5044
- * Information of the public network bandwidth configuration.
5045
- * @type {InternetAccessible || null}
5046
- */
5047
- this.InternetAccessible = null;
5048
-
5049
- /**
5050
- * Security group of the instance.
5051
- * @type {Array.<string> || null}
5052
- */
5053
- this.SecurityGroupIds = null;
5054
-
5055
- /**
5056
- * Auto scaling group associated with the launch configuration.
5057
- * @type {Array.<AutoScalingGroupAbstract> || null}
5058
- */
5059
- this.AutoScalingGroupAbstractSet = null;
5060
-
5061
- /**
5062
- * Custom data.
5063
- Note: This field may return null, indicating that no valid values can be obtained.
5064
- * @type {string || null}
5065
- */
5066
- this.UserData = null;
5067
-
5068
- /**
5069
- * Creation time of the launch configuration.
5070
- * @type {string || null}
5071
- */
5072
- this.CreatedTime = null;
5073
-
5074
- /**
5075
- * Conditions of enhancement services for the instance and their settings.
5076
- * @type {EnhancedService || null}
5077
- */
5078
- this.EnhancedService = null;
5378
+ constructor(){
5379
+ super();
5079
5380
 
5080
5381
  /**
5081
- * Image ID.
5382
+ * Field to be filtered.
5082
5383
  * @type {string || null}
5083
5384
  */
5084
- this.ImageId = null;
5385
+ this.Name = null;
5085
5386
 
5086
5387
  /**
5087
- * Current status of the launch configuration. Value range: <br><li>NORMAL: normal <br><li>IMAGE_ABNORMAL: Exception with the image of the launch configuration <br><li>CBS_SNAP_ABNORMAL: Exception with the data disk snapshot of the launch configuration <br><li>SECURITY_GROUP_ABNORMAL: Exception with the security group of the launch configuration<br>
5088
- * @type {string || null}
5388
+ * Filter value of the field.
5389
+ * @type {Array.<string> || null}
5089
5390
  */
5090
- this.LaunchConfigurationStatus = null;
5391
+ this.Values = null;
5091
5392
 
5092
- /**
5093
- * Instance billing type. CVM instances are POSTPAID_BY_HOUR by default.
5094
- <br><li>POSTPAID_BY_HOUR: Pay-as-you-go on an hourly basis
5095
- <br><li>SPOTPAID: Bidding
5096
- * @type {string || null}
5097
- */
5098
- this.InstanceChargeType = null;
5393
+ }
5099
5394
 
5100
- /**
5101
- * Market-related options of the instance, such as the parameters related to stop instances. If the billing method of instance is specified as bidding, this parameter must be passed in.
5102
- Note: This field may return null, indicating that no valid values can be obtained.
5103
- * @type {InstanceMarketOptionsRequest || null}
5104
- */
5105
- this.InstanceMarketOptions = null;
5395
+ /**
5396
+ * @private
5397
+ */
5398
+ deserialize(params) {
5399
+ if (!params) {
5400
+ return;
5401
+ }
5402
+ this.Name = 'Name' in params ? params.Name : null;
5403
+ this.Values = 'Values' in params ? params.Values : null;
5404
+
5405
+ }
5406
+ }
5407
+
5408
+ /**
5409
+ * DescribeLifecycleHooks request structure.
5410
+ * @class
5411
+ */
5412
+ class DescribeLifecycleHooksRequest extends AbstractModel {
5413
+ constructor(){
5414
+ super();
5106
5415
 
5107
5416
  /**
5108
- * List of instance models.
5417
+ * Queries by one or more lifecycle hook IDs in the format of `ash-8azjzxcl`. The maximum quantity per request is 100. This parameter does not support specifying both `LifecycleHookIds` and `Filters` at the same time.
5109
5418
  * @type {Array.<string> || null}
5110
5419
  */
5111
- this.InstanceTypes = null;
5420
+ this.LifecycleHookIds = null;
5112
5421
 
5113
5422
  /**
5114
- * List of tags.
5115
- * @type {Array.<InstanceTag> || null}
5423
+ * Filters.
5424
+ <li> `lifecycle-hook-id` - String - Required: No - (Filter) Filter by lifecycle hook ID.</li>
5425
+ <li> `lifecycle-hook-name` - String - Required: No - (Filter) Filter by lifecycle hook name.</li>
5426
+ <li> `auto-scaling-group-id` - String - Required: No - (Filter) Filter by scaling group ID.</li>
5427
+ Up to 10 filters can be included in a request and up to 5 values for each filter. It cannot be specified with `LifecycleHookIds` at the same time.
5428
+ * @type {Array.<Filter> || null}
5116
5429
  */
5117
- this.InstanceTags = null;
5430
+ this.Filters = null;
5118
5431
 
5119
5432
  /**
5120
- * Version number.
5433
+ * Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
5121
5434
  * @type {number || null}
5122
5435
  */
5123
- this.VersionNumber = null;
5436
+ this.Limit = null;
5124
5437
 
5125
5438
  /**
5126
- * Update time.
5127
- * @type {string || null}
5439
+ * Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
5440
+ * @type {number || null}
5128
5441
  */
5129
- this.UpdatedTime = null;
5442
+ this.Offset = null;
5130
5443
 
5131
- /**
5132
- * CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.
5133
- * @type {string || null}
5134
- */
5135
- this.CamRoleName = null;
5444
+ }
5136
5445
 
5137
- /**
5138
- * Value of InstanceTypesCheckPolicy upon the last operation.
5139
- * @type {string || null}
5140
- */
5141
- this.LastOperationInstanceTypesCheckPolicy = null;
5446
+ /**
5447
+ * @private
5448
+ */
5449
+ deserialize(params) {
5450
+ if (!params) {
5451
+ return;
5452
+ }
5453
+ this.LifecycleHookIds = 'LifecycleHookIds' in params ? params.LifecycleHookIds : null;
5142
5454
 
5143
- /**
5144
- * CVM HostName settings.
5145
- * @type {HostNameSettings || null}
5146
- */
5147
- this.HostNameSettings = null;
5455
+ if (params.Filters) {
5456
+ this.Filters = new Array();
5457
+ for (let z in params.Filters) {
5458
+ let obj = new Filter();
5459
+ obj.deserialize(params.Filters[z]);
5460
+ this.Filters.push(obj);
5461
+ }
5462
+ }
5463
+ this.Limit = 'Limit' in params ? params.Limit : null;
5464
+ this.Offset = 'Offset' in params ? params.Offset : null;
5465
+
5466
+ }
5467
+ }
5468
+
5469
+ /**
5470
+ * Service settings
5471
+ * @class
5472
+ */
5473
+ class ServiceSettings extends AbstractModel {
5474
+ constructor(){
5475
+ super();
5148
5476
 
5149
5477
  /**
5150
- * Settings of CVM instance names.
5151
- * @type {InstanceNameSettings || null}
5478
+ * Enables unhealthy instance replacement. If this feature is enabled, AS will replace instances that are flagged as unhealthy by Cloud Monitor. If this parameter is not specified, the value will be False by default.
5479
+ * @type {boolean || null}
5152
5480
  */
5153
- this.InstanceNameSettings = null;
5481
+ this.ReplaceMonitorUnhealthy = null;
5154
5482
 
5155
5483
  /**
5156
- * Sets prepaid billing mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.
5157
- * @type {InstanceChargePrepaid || null}
5484
+ * Valid values:
5485
+ CLASSIC_SCALING: this is the typical scaling method, which creates and terminates instances to perform scaling operations.
5486
+ WAKE_UP_STOPPED_SCALING: this scaling method first tries to start stopped instances. If the number of instances woken up is insufficient, the system creates new instances for scale-out. For scale-in, instances are terminated as in the typical method. You can use the StopAutoScalingInstances API to stop instances in the scaling group. Scale-out operations triggered by alarms will still create new instances.
5487
+ Default value: CLASSIC_SCALING
5488
+ * @type {string || null}
5158
5489
  */
5159
- this.InstanceChargePrepaid = null;
5490
+ this.ScalingMode = null;
5160
5491
 
5161
5492
  /**
5162
- * Specifies how to select the cloud disk type.
5163
- <br><li>ORIGINAL: uses the configured cloud disk type
5164
- <br><li>AUTOMATIC: automatically chooses an available cloud disk type in the current availability zone
5165
- * @type {string || null}
5493
+ * Enable unhealthy instance replacement. If this feature is enabled, AS will replace instances that are found unhealthy in the CLB health check. If this parameter is not specified, the default value `False` will be used.
5494
+ * @type {boolean || null}
5166
5495
  */
5167
- this.DiskTypePolicy = null;
5496
+ this.ReplaceLoadBalancerUnhealthy = null;
5168
5497
 
5169
5498
  }
5170
5499
 
@@ -5175,97 +5504,44 @@ Note: This field may return null, indicating that no valid values can be obtaine
5175
5504
  if (!params) {
5176
5505
  return;
5177
5506
  }
5178
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
5179
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
5180
- this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
5181
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
5182
-
5183
- if (params.SystemDisk) {
5184
- let obj = new SystemDisk();
5185
- obj.deserialize(params.SystemDisk)
5186
- this.SystemDisk = obj;
5187
- }
5188
-
5189
- if (params.DataDisks) {
5190
- this.DataDisks = new Array();
5191
- for (let z in params.DataDisks) {
5192
- let obj = new DataDisk();
5193
- obj.deserialize(params.DataDisks[z]);
5194
- this.DataDisks.push(obj);
5195
- }
5196
- }
5197
-
5198
- if (params.LoginSettings) {
5199
- let obj = new LimitedLoginSettings();
5200
- obj.deserialize(params.LoginSettings)
5201
- this.LoginSettings = obj;
5202
- }
5203
-
5204
- if (params.InternetAccessible) {
5205
- let obj = new InternetAccessible();
5206
- obj.deserialize(params.InternetAccessible)
5207
- this.InternetAccessible = obj;
5208
- }
5209
- this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
5210
-
5211
- if (params.AutoScalingGroupAbstractSet) {
5212
- this.AutoScalingGroupAbstractSet = new Array();
5213
- for (let z in params.AutoScalingGroupAbstractSet) {
5214
- let obj = new AutoScalingGroupAbstract();
5215
- obj.deserialize(params.AutoScalingGroupAbstractSet[z]);
5216
- this.AutoScalingGroupAbstractSet.push(obj);
5217
- }
5218
- }
5219
- this.UserData = 'UserData' in params ? params.UserData : null;
5220
- this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
5507
+ this.ReplaceMonitorUnhealthy = 'ReplaceMonitorUnhealthy' in params ? params.ReplaceMonitorUnhealthy : null;
5508
+ this.ScalingMode = 'ScalingMode' in params ? params.ScalingMode : null;
5509
+ this.ReplaceLoadBalancerUnhealthy = 'ReplaceLoadBalancerUnhealthy' in params ? params.ReplaceLoadBalancerUnhealthy : null;
5221
5510
 
5222
- if (params.EnhancedService) {
5223
- let obj = new EnhancedService();
5224
- obj.deserialize(params.EnhancedService)
5225
- this.EnhancedService = obj;
5226
- }
5227
- this.ImageId = 'ImageId' in params ? params.ImageId : null;
5228
- this.LaunchConfigurationStatus = 'LaunchConfigurationStatus' in params ? params.LaunchConfigurationStatus : null;
5229
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
5511
+ }
5512
+ }
5230
5513
 
5231
- if (params.InstanceMarketOptions) {
5232
- let obj = new InstanceMarketOptionsRequest();
5233
- obj.deserialize(params.InstanceMarketOptions)
5234
- this.InstanceMarketOptions = obj;
5235
- }
5236
- this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
5514
+ /**
5515
+ * CreateAutoScalingGroup response structure.
5516
+ * @class
5517
+ */
5518
+ class CreateAutoScalingGroupResponse extends AbstractModel {
5519
+ constructor(){
5520
+ super();
5237
5521
 
5238
- if (params.InstanceTags) {
5239
- this.InstanceTags = new Array();
5240
- for (let z in params.InstanceTags) {
5241
- let obj = new InstanceTag();
5242
- obj.deserialize(params.InstanceTags[z]);
5243
- this.InstanceTags.push(obj);
5244
- }
5245
- }
5246
- this.VersionNumber = 'VersionNumber' in params ? params.VersionNumber : null;
5247
- this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
5248
- this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
5249
- this.LastOperationInstanceTypesCheckPolicy = 'LastOperationInstanceTypesCheckPolicy' in params ? params.LastOperationInstanceTypesCheckPolicy : null;
5522
+ /**
5523
+ * Auto scaling group ID
5524
+ * @type {string || null}
5525
+ */
5526
+ this.AutoScalingGroupId = null;
5250
5527
 
5251
- if (params.HostNameSettings) {
5252
- let obj = new HostNameSettings();
5253
- obj.deserialize(params.HostNameSettings)
5254
- this.HostNameSettings = obj;
5255
- }
5528
+ /**
5529
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5530
+ * @type {string || null}
5531
+ */
5532
+ this.RequestId = null;
5256
5533
 
5257
- if (params.InstanceNameSettings) {
5258
- let obj = new InstanceNameSettings();
5259
- obj.deserialize(params.InstanceNameSettings)
5260
- this.InstanceNameSettings = obj;
5261
- }
5534
+ }
5262
5535
 
5263
- if (params.InstanceChargePrepaid) {
5264
- let obj = new InstanceChargePrepaid();
5265
- obj.deserialize(params.InstanceChargePrepaid)
5266
- this.InstanceChargePrepaid = obj;
5536
+ /**
5537
+ * @private
5538
+ */
5539
+ deserialize(params) {
5540
+ if (!params) {
5541
+ return;
5267
5542
  }
5268
- this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
5543
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
5544
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5269
5545
 
5270
5546
  }
5271
5547
  }
@@ -5334,30 +5610,18 @@ class ModifyNotificationConfigurationResponse extends AbstractModel {
5334
5610
  }
5335
5611
 
5336
5612
  /**
5337
- * DescribeAutoScalingInstances response structure.
5613
+ * This describes the configuration and information related to instance login. For security reasons, sensitive information is not described.
5338
5614
  * @class
5339
5615
  */
5340
- class DescribeAutoScalingInstancesResponse extends AbstractModel {
5616
+ class LimitedLoginSettings extends AbstractModel {
5341
5617
  constructor(){
5342
5618
  super();
5343
5619
 
5344
5620
  /**
5345
- * List of instance details.
5346
- * @type {Array.<Instance> || null}
5347
- */
5348
- this.AutoScalingInstanceSet = null;
5349
-
5350
- /**
5351
- * Number of eligible instances.
5352
- * @type {number || null}
5353
- */
5354
- this.TotalCount = null;
5355
-
5356
- /**
5357
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5358
- * @type {string || null}
5621
+ * List of key IDs.
5622
+ * @type {Array.<string> || null}
5359
5623
  */
5360
- this.RequestId = null;
5624
+ this.KeyIds = null;
5361
5625
 
5362
5626
  }
5363
5627
 
@@ -5368,17 +5632,7 @@ class DescribeAutoScalingInstancesResponse extends AbstractModel {
5368
5632
  if (!params) {
5369
5633
  return;
5370
5634
  }
5371
-
5372
- if (params.AutoScalingInstanceSet) {
5373
- this.AutoScalingInstanceSet = new Array();
5374
- for (let z in params.AutoScalingInstanceSet) {
5375
- let obj = new Instance();
5376
- obj.deserialize(params.AutoScalingInstanceSet[z]);
5377
- this.AutoScalingInstanceSet.push(obj);
5378
- }
5379
- }
5380
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
5381
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5635
+ this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
5382
5636
 
5383
5637
  }
5384
5638
  }
@@ -5543,6 +5797,34 @@ class ScaleInInstancesResponse extends AbstractModel {
5543
5797
  }
5544
5798
  }
5545
5799
 
5800
+ /**
5801
+ * DescribeAutoScalingAdvices request structure.
5802
+ * @class
5803
+ */
5804
+ class DescribeAutoScalingAdvicesRequest extends AbstractModel {
5805
+ constructor(){
5806
+ super();
5807
+
5808
+ /**
5809
+ * List of scaling groups to be queried. Upper limit: 100.
5810
+ * @type {Array.<string> || null}
5811
+ */
5812
+ this.AutoScalingGroupIds = null;
5813
+
5814
+ }
5815
+
5816
+ /**
5817
+ * @private
5818
+ */
5819
+ deserialize(params) {
5820
+ if (!params) {
5821
+ return;
5822
+ }
5823
+ this.AutoScalingGroupIds = 'AutoScalingGroupIds' in params ? params.AutoScalingGroupIds : null;
5824
+
5825
+ }
5826
+ }
5827
+
5546
5828
  /**
5547
5829
  * DeleteNotificationConfiguration request structure.
5548
5830
  * @class
@@ -5641,21 +5923,23 @@ class NotificationTarget extends AbstractModel {
5641
5923
  super();
5642
5924
 
5643
5925
  /**
5644
- * Target type. Value range: `CMQ_QUEUE`, `CMQ_TOPIC`.
5645
- <li> CMQ_QUEUE: CMQ_QUEUE: CMQ queue model.</li>
5646
- <li> CMQ_TOPIC: CMQ topic model.</li>
5926
+ * Target type. Valid values: `CMQ_QUEUE`, `CMQ_TOPIC`, `TDMQ_CMQ_QUEUE` and `TDMQ_CMQ_TOPIC`.
5927
+ <li> CMQ_QUEUE: Tencent Cloud message queue - queue model.</li>
5928
+ <li> CMQ_TOPIC: Tencent Cloud message queue - topic model.</li>
5929
+ <li> TDMQ_CMQ_QUEUE: Tencent Cloud TDMQ message queue - queue model.</li>
5930
+ <li> TDMQ_CMQ_TOPIC: Tencent Cloud TDMQ message queue - topic model.</li>
5647
5931
  * @type {string || null}
5648
5932
  */
5649
5933
  this.TargetType = null;
5650
5934
 
5651
5935
  /**
5652
- * Queue name. If `TargetType` is `CMQ_QUEUE`, this parameter is required.
5936
+ * Queue name. This parameter is required when `TargetType` is `CMQ_QUEUE` or `TDMQ_CMQ_QUEUE`.
5653
5937
  * @type {string || null}
5654
5938
  */
5655
5939
  this.QueueName = null;
5656
5940
 
5657
5941
  /**
5658
- * Topic name. If `TargetType` is `CMQ_TOPIC`, this parameter is required.
5942
+ * Topic name. This parameter is required when `TargetType` is `CMQ_TOPIC` or `TDMQ_CMQ_TOPIC`.
5659
5943
  * @type {string || null}
5660
5944
  */
5661
5945
  this.TopicName = null;
@@ -5676,6 +5960,49 @@ class NotificationTarget extends AbstractModel {
5676
5960
  }
5677
5961
  }
5678
5962
 
5963
+ /**
5964
+ * ModifyLoadBalancerTargetAttributes request structure.
5965
+ * @class
5966
+ */
5967
+ class ModifyLoadBalancerTargetAttributesRequest extends AbstractModel {
5968
+ constructor(){
5969
+ super();
5970
+
5971
+ /**
5972
+ * Scaling group ID
5973
+ * @type {string || null}
5974
+ */
5975
+ this.AutoScalingGroupId = null;
5976
+
5977
+ /**
5978
+ * List of application CLBs to modify.Up to 50 CLBs allowed.
5979
+ * @type {Array.<ForwardLoadBalancer> || null}
5980
+ */
5981
+ this.ForwardLoadBalancers = null;
5982
+
5983
+ }
5984
+
5985
+ /**
5986
+ * @private
5987
+ */
5988
+ deserialize(params) {
5989
+ if (!params) {
5990
+ return;
5991
+ }
5992
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
5993
+
5994
+ if (params.ForwardLoadBalancers) {
5995
+ this.ForwardLoadBalancers = new Array();
5996
+ for (let z in params.ForwardLoadBalancers) {
5997
+ let obj = new ForwardLoadBalancer();
5998
+ obj.deserialize(params.ForwardLoadBalancers[z]);
5999
+ this.ForwardLoadBalancers.push(obj);
6000
+ }
6001
+ }
6002
+
6003
+ }
6004
+ }
6005
+
5679
6006
  /**
5680
6007
  * DeleteAutoScalingGroup response structure.
5681
6008
  * @class
@@ -6194,18 +6521,30 @@ Setting it to `true` will clear the instance name settings, which means that CVM
6194
6521
  }
6195
6522
 
6196
6523
  /**
6197
- * DeleteAutoScalingGroup request structure.
6524
+ * Application CLB IDs
6198
6525
  * @class
6199
6526
  */
6200
- class DeleteAutoScalingGroupRequest extends AbstractModel {
6527
+ class ForwardLoadBalancerIdentification extends AbstractModel {
6201
6528
  constructor(){
6202
6529
  super();
6203
6530
 
6204
6531
  /**
6205
- * Auto scaling group ID
6532
+ * ID of the CLB
6206
6533
  * @type {string || null}
6207
6534
  */
6208
- this.AutoScalingGroupId = null;
6535
+ this.LoadBalancerId = null;
6536
+
6537
+ /**
6538
+ * Application CLB listener ID
6539
+ * @type {string || null}
6540
+ */
6541
+ this.ListenerId = null;
6542
+
6543
+ /**
6544
+ * ID of a forwarding rule. This parameter is required for layer-7 listeners.
6545
+ * @type {string || null}
6546
+ */
6547
+ this.LocationId = null;
6209
6548
 
6210
6549
  }
6211
6550
 
@@ -6216,30 +6555,32 @@ class DeleteAutoScalingGroupRequest extends AbstractModel {
6216
6555
  if (!params) {
6217
6556
  return;
6218
6557
  }
6219
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6558
+ this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
6559
+ this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
6560
+ this.LocationId = 'LocationId' in params ? params.LocationId : null;
6220
6561
 
6221
6562
  }
6222
6563
  }
6223
6564
 
6224
6565
  /**
6225
- * RemoveInstances request structure.
6566
+ * Suggestions for scaling group configurations.
6226
6567
  * @class
6227
6568
  */
6228
- class RemoveInstancesRequest extends AbstractModel {
6569
+ class AutoScalingAdvice extends AbstractModel {
6229
6570
  constructor(){
6230
6571
  super();
6231
6572
 
6232
6573
  /**
6233
- * Auto scaling group ID
6574
+ * Scaling group ID
6234
6575
  * @type {string || null}
6235
6576
  */
6236
6577
  this.AutoScalingGroupId = null;
6237
6578
 
6238
6579
  /**
6239
- * List of CVM instance IDs
6240
- * @type {Array.<string> || null}
6580
+ * A collection of suggestions for scaling group configurations.
6581
+ * @type {Array.<Advice> || null}
6241
6582
  */
6242
- this.InstanceIds = null;
6583
+ this.Advices = null;
6243
6584
 
6244
6585
  }
6245
6586
 
@@ -6251,7 +6592,15 @@ class RemoveInstancesRequest extends AbstractModel {
6251
6592
  return;
6252
6593
  }
6253
6594
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6254
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
6595
+
6596
+ if (params.Advices) {
6597
+ this.Advices = new Array();
6598
+ for (let z in params.Advices) {
6599
+ let obj = new Advice();
6600
+ obj.deserialize(params.Advices[z]);
6601
+ this.Advices.push(obj);
6602
+ }
6603
+ }
6255
6604
 
6256
6605
  }
6257
6606
  }
@@ -6326,6 +6675,56 @@ class AttachInstancesRequest extends AbstractModel {
6326
6675
  }
6327
6676
  }
6328
6677
 
6678
+ /**
6679
+ * AttachLoadBalancers request structure.
6680
+ * @class
6681
+ */
6682
+ class AttachLoadBalancersRequest extends AbstractModel {
6683
+ constructor(){
6684
+ super();
6685
+
6686
+ /**
6687
+ * Scaling group ID
6688
+ * @type {string || null}
6689
+ */
6690
+ this.AutoScalingGroupId = null;
6691
+
6692
+ /**
6693
+ * List of classic CLB IDs. Up to 20 classic CLBs can be bound to a security group. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
6694
+ * @type {Array.<string> || null}
6695
+ */
6696
+ this.LoadBalancerIds = null;
6697
+
6698
+ /**
6699
+ * List of application CLBs. Up to 50 application CLBs can be bound to a security group. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
6700
+ * @type {Array.<ForwardLoadBalancer> || null}
6701
+ */
6702
+ this.ForwardLoadBalancers = null;
6703
+
6704
+ }
6705
+
6706
+ /**
6707
+ * @private
6708
+ */
6709
+ deserialize(params) {
6710
+ if (!params) {
6711
+ return;
6712
+ }
6713
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6714
+ this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
6715
+
6716
+ if (params.ForwardLoadBalancers) {
6717
+ this.ForwardLoadBalancers = new Array();
6718
+ for (let z in params.ForwardLoadBalancers) {
6719
+ let obj = new ForwardLoadBalancer();
6720
+ obj.deserialize(params.ForwardLoadBalancers[z]);
6721
+ this.ForwardLoadBalancers.push(obj);
6722
+ }
6723
+ }
6724
+
6725
+ }
6726
+ }
6727
+
6329
6728
  /**
6330
6729
  * Specifies how to assign pay-as-you-go instances and spot instances in a mixed instance mode.
6331
6730
  * @class
@@ -6723,13 +7122,13 @@ class ModifyNotificationConfigurationRequest extends AbstractModel {
6723
7122
  this.NotificationUserGroupIds = null;
6724
7123
 
6725
7124
  /**
6726
- * CMQ queue name.
7125
+ * CMQ or TDMQ CMQ queue name.
6727
7126
  * @type {string || null}
6728
7127
  */
6729
7128
  this.QueueName = null;
6730
7129
 
6731
7130
  /**
6732
- * CMQ topic name.
7131
+ * CMQ or TDMQ CMQ toipc name.
6733
7132
  * @type {string || null}
6734
7133
  */
6735
7134
  this.TopicName = null;
@@ -6791,6 +7190,69 @@ class ActivtyRelatedInstance extends AbstractModel {
6791
7190
  }
6792
7191
  }
6793
7192
 
7193
+ /**
7194
+ * CreateAutoScalingGroupFromInstance request structure.
7195
+ * @class
7196
+ */
7197
+ class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
7198
+ constructor(){
7199
+ super();
7200
+
7201
+ /**
7202
+ * The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen “-” and periods. It cannot exceed 55 bytes.
7203
+ * @type {string || null}
7204
+ */
7205
+ this.AutoScalingGroupName = null;
7206
+
7207
+ /**
7208
+ * The instance ID.
7209
+ * @type {string || null}
7210
+ */
7211
+ this.InstanceId = null;
7212
+
7213
+ /**
7214
+ * The minimum number of instances. Value range: 0-2000.
7215
+ * @type {number || null}
7216
+ */
7217
+ this.MinSize = null;
7218
+
7219
+ /**
7220
+ * The maximum number of instances. Value range: 0-2000.
7221
+ * @type {number || null}
7222
+ */
7223
+ this.MaxSize = null;
7224
+
7225
+ /**
7226
+ * The desired capacity. Its value must be greater than the minimum and smaller than the maximum.
7227
+ * @type {number || null}
7228
+ */
7229
+ this.DesiredCapacity = null;
7230
+
7231
+ /**
7232
+ * Whether to inherit the instance tag. Default value: False
7233
+ * @type {boolean || null}
7234
+ */
7235
+ this.InheritInstanceTag = null;
7236
+
7237
+ }
7238
+
7239
+ /**
7240
+ * @private
7241
+ */
7242
+ deserialize(params) {
7243
+ if (!params) {
7244
+ return;
7245
+ }
7246
+ this.AutoScalingGroupName = 'AutoScalingGroupName' in params ? params.AutoScalingGroupName : null;
7247
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7248
+ this.MinSize = 'MinSize' in params ? params.MinSize : null;
7249
+ this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
7250
+ this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
7251
+ this.InheritInstanceTag = 'InheritInstanceTag' in params ? params.InheritInstanceTag : null;
7252
+
7253
+ }
7254
+ }
7255
+
6794
7256
  /**
6795
7257
  * This describes the internet accessibility of the instance created by a launch configuration and declares the internet usage billing method of the instance and the maximum bandwidth
6796
7258
  * @class
@@ -7014,12 +7476,14 @@ module.exports = {
7014
7476
  AutoScalingNotification: AutoScalingNotification,
7015
7477
  ModifyScheduledActionRequest: ModifyScheduledActionRequest,
7016
7478
  DescribeAutoScalingGroupsRequest: DescribeAutoScalingGroupsRequest,
7017
- CreateAutoScalingGroupResponse: CreateAutoScalingGroupResponse,
7479
+ LaunchConfiguration: LaunchConfiguration,
7018
7480
  DescribeAccountLimitsResponse: DescribeAccountLimitsResponse,
7019
7481
  CreateLaunchConfigurationResponse: CreateLaunchConfigurationResponse,
7482
+ Advice: Advice,
7020
7483
  CreateLifecycleHookResponse: CreateLifecycleHookResponse,
7021
7484
  ClearLaunchConfigurationAttributesResponse: ClearLaunchConfigurationAttributesResponse,
7022
7485
  DescribeAutoScalingGroupsResponse: DescribeAutoScalingGroupsResponse,
7486
+ CreateScheduledActionRequest: CreateScheduledActionRequest,
7023
7487
  SystemDisk: SystemDisk,
7024
7488
  SpotMarketOptions: SpotMarketOptions,
7025
7489
  StopAutoScalingInstancesResponse: StopAutoScalingInstancesResponse,
@@ -7027,31 +7491,34 @@ module.exports = {
7027
7491
  InstanceNameSettings: InstanceNameSettings,
7028
7492
  DetailedStatusMessage: DetailedStatusMessage,
7029
7493
  ModifyScheduledActionResponse: ModifyScheduledActionResponse,
7030
- CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
7494
+ AttachLoadBalancersResponse: AttachLoadBalancersResponse,
7031
7495
  ExecuteScalingPolicyResponse: ExecuteScalingPolicyResponse,
7032
- ModifyLaunchConfigurationAttributesResponse: ModifyLaunchConfigurationAttributesResponse,
7496
+ DeleteAutoScalingGroupRequest: DeleteAutoScalingGroupRequest,
7033
7497
  SetInstancesProtectionResponse: SetInstancesProtectionResponse,
7034
7498
  StartAutoScalingInstancesResponse: StartAutoScalingInstancesResponse,
7035
7499
  CompleteLifecycleActionRequest: CompleteLifecycleActionRequest,
7036
7500
  CreateScalingPolicyResponse: CreateScalingPolicyResponse,
7037
7501
  CreateNotificationConfigurationResponse: CreateNotificationConfigurationResponse,
7038
7502
  DescribeLaunchConfigurationsResponse: DescribeLaunchConfigurationsResponse,
7503
+ RemoveInstancesRequest: RemoveInstancesRequest,
7039
7504
  DeleteScalingPolicyResponse: DeleteScalingPolicyResponse,
7040
7505
  Tag: Tag,
7506
+ DetachLoadBalancersRequest: DetachLoadBalancersRequest,
7041
7507
  DescribeAutoScalingInstancesRequest: DescribeAutoScalingInstancesRequest,
7042
- LimitedLoginSettings: LimitedLoginSettings,
7043
7508
  ModifyLoadBalancersRequest: ModifyLoadBalancersRequest,
7044
7509
  RemoveInstancesResponse: RemoveInstancesResponse,
7045
7510
  ModifyScalingPolicyResponse: ModifyScalingPolicyResponse,
7046
7511
  SetInstancesProtectionRequest: SetInstancesProtectionRequest,
7047
7512
  DeleteNotificationConfigurationResponse: DeleteNotificationConfigurationResponse,
7048
7513
  DetachInstancesResponse: DetachInstancesResponse,
7514
+ ModifyLaunchConfigurationAttributesResponse: ModifyLaunchConfigurationAttributesResponse,
7049
7515
  CreateLaunchConfigurationRequest: CreateLaunchConfigurationRequest,
7050
7516
  AutoScalingGroup: AutoScalingGroup,
7051
7517
  AttachInstancesResponse: AttachInstancesResponse,
7052
7518
  DescribeAutoScalingGroupLastActivitiesResponse: DescribeAutoScalingGroupLastActivitiesResponse,
7053
7519
  DescribeAccountLimitsRequest: DescribeAccountLimitsRequest,
7054
7520
  UpgradeLifecycleHookRequest: UpgradeLifecycleHookRequest,
7521
+ DetachLoadBalancersResponse: DetachLoadBalancersResponse,
7055
7522
  ScalingPolicy: ScalingPolicy,
7056
7523
  DescribeAutoScalingGroupLastActivitiesRequest: DescribeAutoScalingGroupLastActivitiesRequest,
7057
7524
  HostNameSettings: HostNameSettings,
@@ -7059,12 +7526,14 @@ module.exports = {
7059
7526
  CreateNotificationConfigurationRequest: CreateNotificationConfigurationRequest,
7060
7527
  DescribeScheduledActionsResponse: DescribeScheduledActionsResponse,
7061
7528
  DeleteLifecycleHookRequest: DeleteLifecycleHookRequest,
7529
+ ModifyLoadBalancerTargetAttributesResponse: ModifyLoadBalancerTargetAttributesResponse,
7062
7530
  ModifyAutoScalingGroupResponse: ModifyAutoScalingGroupResponse,
7063
7531
  DeleteLaunchConfigurationRequest: DeleteLaunchConfigurationRequest,
7064
7532
  ModifyScalingPolicyRequest: ModifyScalingPolicyRequest,
7065
7533
  InstanceMarketOptionsRequest: InstanceMarketOptionsRequest,
7066
7534
  UpgradeLifecycleHookResponse: UpgradeLifecycleHookResponse,
7067
7535
  InstanceTag: InstanceTag,
7536
+ DescribeAutoScalingAdvicesResponse: DescribeAutoScalingAdvicesResponse,
7068
7537
  CreateAutoScalingGroupRequest: CreateAutoScalingGroupRequest,
7069
7538
  DeleteScheduledActionResponse: DeleteScheduledActionResponse,
7070
7539
  UpgradeLaunchConfigurationRequest: UpgradeLaunchConfigurationRequest,
@@ -7076,7 +7545,7 @@ module.exports = {
7076
7545
  CreateAutoScalingGroupFromInstanceResponse: CreateAutoScalingGroupFromInstanceResponse,
7077
7546
  DetachInstancesRequest: DetachInstancesRequest,
7078
7547
  Instance: Instance,
7079
- CreateScheduledActionRequest: CreateScheduledActionRequest,
7548
+ DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
7080
7549
  EnhancedService: EnhancedService,
7081
7550
  DeleteLaunchConfigurationResponse: DeleteLaunchConfigurationResponse,
7082
7551
  DescribeScheduledActionsRequest: DescribeScheduledActionsRequest,
@@ -7092,16 +7561,18 @@ module.exports = {
7092
7561
  Filter: Filter,
7093
7562
  DescribeLifecycleHooksRequest: DescribeLifecycleHooksRequest,
7094
7563
  ServiceSettings: ServiceSettings,
7095
- LaunchConfiguration: LaunchConfiguration,
7564
+ CreateAutoScalingGroupResponse: CreateAutoScalingGroupResponse,
7096
7565
  TargetAttribute: TargetAttribute,
7097
7566
  ModifyNotificationConfigurationResponse: ModifyNotificationConfigurationResponse,
7098
- DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
7567
+ LimitedLoginSettings: LimitedLoginSettings,
7099
7568
  DescribeLifecycleHooksResponse: DescribeLifecycleHooksResponse,
7100
7569
  CreateScalingPolicyRequest: CreateScalingPolicyRequest,
7101
7570
  ScaleInInstancesResponse: ScaleInInstancesResponse,
7571
+ DescribeAutoScalingAdvicesRequest: DescribeAutoScalingAdvicesRequest,
7102
7572
  DeleteNotificationConfigurationRequest: DeleteNotificationConfigurationRequest,
7103
7573
  DescribeLaunchConfigurationsRequest: DescribeLaunchConfigurationsRequest,
7104
7574
  NotificationTarget: NotificationTarget,
7575
+ ModifyLoadBalancerTargetAttributesRequest: ModifyLoadBalancerTargetAttributesRequest,
7105
7576
  DeleteAutoScalingGroupResponse: DeleteAutoScalingGroupResponse,
7106
7577
  LifecycleActionResultInfo: LifecycleActionResultInfo,
7107
7578
  AutoScalingGroupAbstract: AutoScalingGroupAbstract,
@@ -7112,10 +7583,11 @@ module.exports = {
7112
7583
  LifecycleHook: LifecycleHook,
7113
7584
  ForwardLoadBalancer: ForwardLoadBalancer,
7114
7585
  ClearLaunchConfigurationAttributesRequest: ClearLaunchConfigurationAttributesRequest,
7115
- DeleteAutoScalingGroupRequest: DeleteAutoScalingGroupRequest,
7116
- RemoveInstancesRequest: RemoveInstancesRequest,
7586
+ ForwardLoadBalancerIdentification: ForwardLoadBalancerIdentification,
7587
+ AutoScalingAdvice: AutoScalingAdvice,
7117
7588
  StartAutoScalingInstancesRequest: StartAutoScalingInstancesRequest,
7118
7589
  AttachInstancesRequest: AttachInstancesRequest,
7590
+ AttachLoadBalancersRequest: AttachLoadBalancersRequest,
7119
7591
  SpotMixedAllocationPolicy: SpotMixedAllocationPolicy,
7120
7592
  DescribeScalingPoliciesResponse: DescribeScalingPoliciesResponse,
7121
7593
  Activity: Activity,
@@ -7124,6 +7596,7 @@ module.exports = {
7124
7596
  RunMonitorServiceEnabled: RunMonitorServiceEnabled,
7125
7597
  ModifyNotificationConfigurationRequest: ModifyNotificationConfigurationRequest,
7126
7598
  ActivtyRelatedInstance: ActivtyRelatedInstance,
7599
+ CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
7127
7600
  InternetAccessible: InternetAccessible,
7128
7601
  EnableAutoScalingGroupResponse: EnableAutoScalingGroupResponse,
7129
7602
  UpgradeLaunchConfigurationResponse: UpgradeLaunchConfigurationResponse,