tencentcloud-sdk-nodejs-intl-en 3.0.516 → 3.0.519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/cbs/v20170312/models.js +189 -120
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/monitor/v20180724/models.js +4036 -956
- package/tencentcloud/monitor/v20180724/monitor_client.js +918 -480
- package/tencentcloud/teo/v20220106/models.js +322 -39
- package/tencentcloud/teo/v20220106/teo_client.js +4 -1
package/package.json
CHANGED
|
@@ -631,7 +631,7 @@ class AttachDisksResponse extends AbstractModel {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
|
-
*
|
|
634
|
+
* Execution policy for scheduled snapshot. It indicates that a scheduled snapshot policy is executed at the specified `Hour` in the days specified by `DayOfWeek` or `DayOfMonth` or once every `IntervalDays` days. Note: `DayOfWeek`, `DayOfMonth`, and `IntervalDays` are mutually exclusive, and only one policy rule can be set.
|
|
635
635
|
* @class
|
|
636
636
|
*/
|
|
637
637
|
class Policy extends AbstractModel {
|
|
@@ -639,16 +639,16 @@ class Policy extends AbstractModel {
|
|
|
639
639
|
super();
|
|
640
640
|
|
|
641
641
|
/**
|
|
642
|
-
* Specifies the
|
|
642
|
+
* Specifies the time that that the scheduled snapshot policy will be triggered. The unit is hour. The value range is [0-23]. 00:00-23:00 is a total of 24 time points that can be selected. 1 indicates 01:00, and so on.
|
|
643
643
|
* @type {Array.<number> || null}
|
|
644
644
|
*/
|
|
645
|
-
this.
|
|
645
|
+
this.Hour = null;
|
|
646
646
|
|
|
647
647
|
/**
|
|
648
|
-
* Specifies the
|
|
648
|
+
* Specifies the days of the week, from Monday to Sunday, on which a scheduled snapshot will be triggered. Value range: [0, 6]. 0 indicates triggering on Sunday, 1-6 indicate triggering on Monday-Saturday.
|
|
649
649
|
* @type {Array.<number> || null}
|
|
650
650
|
*/
|
|
651
|
-
this.
|
|
651
|
+
this.DayOfWeek = null;
|
|
652
652
|
|
|
653
653
|
}
|
|
654
654
|
|
|
@@ -659,8 +659,8 @@ class Policy extends AbstractModel {
|
|
|
659
659
|
if (!params) {
|
|
660
660
|
return;
|
|
661
661
|
}
|
|
662
|
-
this.DayOfWeek = 'DayOfWeek' in params ? params.DayOfWeek : null;
|
|
663
662
|
this.Hour = 'Hour' in params ? params.Hour : null;
|
|
663
|
+
this.DayOfWeek = 'DayOfWeek' in params ? params.DayOfWeek : null;
|
|
664
664
|
|
|
665
665
|
}
|
|
666
666
|
}
|
|
@@ -1108,40 +1108,43 @@ class DiskConfig extends AbstractModel {
|
|
|
1108
1108
|
this.Available = null;
|
|
1109
1109
|
|
|
1110
1110
|
/**
|
|
1111
|
-
*
|
|
1111
|
+
* Billing method. Value range: <br><li>PREPAID: Prepaid, that is, monthly subscription<br><li>POSTPAID_BY_HOUR: Postpaid, that is, pay as you go.
|
|
1112
1112
|
* @type {string || null}
|
|
1113
1113
|
*/
|
|
1114
|
-
this.
|
|
1114
|
+
this.DiskChargeType = null;
|
|
1115
1115
|
|
|
1116
1116
|
/**
|
|
1117
|
-
*
|
|
1117
|
+
* The [Availability Region](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) of the cloud drive.
|
|
1118
1118
|
* @type {string || null}
|
|
1119
1119
|
*/
|
|
1120
|
-
this.
|
|
1120
|
+
this.Zone = null;
|
|
1121
1121
|
|
|
1122
1122
|
/**
|
|
1123
|
-
*
|
|
1123
|
+
* Instance model series. For more information, please see [Instance Models](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1)
|
|
1124
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
1124
1125
|
* @type {string || null}
|
|
1125
1126
|
*/
|
|
1126
|
-
this.
|
|
1127
|
+
this.InstanceFamily = null;
|
|
1127
1128
|
|
|
1128
1129
|
/**
|
|
1129
|
-
*
|
|
1130
|
-
* @type {
|
|
1130
|
+
* Type of cloud disk medium. Value range: <br><li>CLOUD_BASIC: Ordinary cloud disk <br><li>CLOUD_PREMIUM: Premium cloud storage <br><li>CLOUD_SSD: SSD cloud disk.
|
|
1131
|
+
* @type {string || null}
|
|
1131
1132
|
*/
|
|
1132
|
-
this.
|
|
1133
|
+
this.DiskType = null;
|
|
1133
1134
|
|
|
1134
1135
|
/**
|
|
1135
|
-
*
|
|
1136
|
+
* Minimum increment of cloud disk size adjustment in GB.
|
|
1137
|
+
Note: This field might return null, indicating that no valid values can be obtained.
|
|
1136
1138
|
* @type {number || null}
|
|
1137
1139
|
*/
|
|
1138
|
-
this.
|
|
1140
|
+
this.StepSize = null;
|
|
1139
1141
|
|
|
1140
1142
|
/**
|
|
1141
|
-
*
|
|
1142
|
-
|
|
1143
|
+
* Additional performance range.
|
|
1144
|
+
Note: This field might return null, indicating that no valid values can be obtained.
|
|
1145
|
+
* @type {Array.<number> || null}
|
|
1143
1146
|
*/
|
|
1144
|
-
this.
|
|
1147
|
+
this.ExtraPerformanceRange = null;
|
|
1145
1148
|
|
|
1146
1149
|
/**
|
|
1147
1150
|
* Instance model.
|
|
@@ -1151,11 +1154,22 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
1151
1154
|
this.DeviceClass = null;
|
|
1152
1155
|
|
|
1153
1156
|
/**
|
|
1154
|
-
*
|
|
1155
|
-
Note: This field may return null, indicating that no valid value was found.
|
|
1157
|
+
* Cloud disk type. Value range: <br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk.
|
|
1156
1158
|
* @type {string || null}
|
|
1157
1159
|
*/
|
|
1158
|
-
this.
|
|
1160
|
+
this.DiskUsage = null;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* The minimum configurable cloud disk size (in GB).
|
|
1164
|
+
* @type {number || null}
|
|
1165
|
+
*/
|
|
1166
|
+
this.MinDiskSize = null;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* The maximum configurable cloud disk size (in GB).
|
|
1170
|
+
* @type {number || null}
|
|
1171
|
+
*/
|
|
1172
|
+
this.MaxDiskSize = null;
|
|
1159
1173
|
|
|
1160
1174
|
}
|
|
1161
1175
|
|
|
@@ -1167,14 +1181,16 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
1167
1181
|
return;
|
|
1168
1182
|
}
|
|
1169
1183
|
this.Available = 'Available' in params ? params.Available : null;
|
|
1170
|
-
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
1171
|
-
this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
|
|
1172
1184
|
this.DiskChargeType = 'DiskChargeType' in params ? params.DiskChargeType : null;
|
|
1173
|
-
this.MaxDiskSize = 'MaxDiskSize' in params ? params.MaxDiskSize : null;
|
|
1174
|
-
this.MinDiskSize = 'MinDiskSize' in params ? params.MinDiskSize : null;
|
|
1175
1185
|
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
1176
|
-
this.DeviceClass = 'DeviceClass' in params ? params.DeviceClass : null;
|
|
1177
1186
|
this.InstanceFamily = 'InstanceFamily' in params ? params.InstanceFamily : null;
|
|
1187
|
+
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
1188
|
+
this.StepSize = 'StepSize' in params ? params.StepSize : null;
|
|
1189
|
+
this.ExtraPerformanceRange = 'ExtraPerformanceRange' in params ? params.ExtraPerformanceRange : null;
|
|
1190
|
+
this.DeviceClass = 'DeviceClass' in params ? params.DeviceClass : null;
|
|
1191
|
+
this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
|
|
1192
|
+
this.MinDiskSize = 'MinDiskSize' in params ? params.MinDiskSize : null;
|
|
1193
|
+
this.MaxDiskSize = 'MaxDiskSize' in params ? params.MaxDiskSize : null;
|
|
1178
1194
|
|
|
1179
1195
|
}
|
|
1180
1196
|
}
|
|
@@ -2153,12 +2169,6 @@ class Snapshot extends AbstractModel {
|
|
|
2153
2169
|
constructor(){
|
|
2154
2170
|
super();
|
|
2155
2171
|
|
|
2156
|
-
/**
|
|
2157
|
-
* Snapshot ID.
|
|
2158
|
-
* @type {string || null}
|
|
2159
|
-
*/
|
|
2160
|
-
this.SnapshotId = null;
|
|
2161
|
-
|
|
2162
2172
|
/**
|
|
2163
2173
|
* Location of the snapshot.
|
|
2164
2174
|
* @type {Placement || null}
|
|
@@ -2166,34 +2176,34 @@ class Snapshot extends AbstractModel {
|
|
|
2166
2176
|
this.Placement = null;
|
|
2167
2177
|
|
|
2168
2178
|
/**
|
|
2169
|
-
*
|
|
2170
|
-
* @type {
|
|
2179
|
+
* Whether the snapshot is replicated across regions. Value range: <br><li>true: Indicates that the snapshot is replicated across regions. <br><li>false: Indicates that the snapshot belongs to the local region.
|
|
2180
|
+
* @type {boolean || null}
|
|
2171
2181
|
*/
|
|
2172
|
-
this.
|
|
2182
|
+
this.CopyFromRemote = null;
|
|
2173
2183
|
|
|
2174
2184
|
/**
|
|
2175
|
-
*
|
|
2185
|
+
* Snapshot status. Valid values: <br><li>NORMAL: normal <br><li>CREATING: creating<br><li>ROLLBACKING: rolling back<br><li>COPYING_FROM_REMOTE: cross-region replicating<li>CHECKING_COPIED: verifying the cross-region replicated data<br><li>TORECYCLE: to be repossessed.
|
|
2176
2186
|
* @type {string || null}
|
|
2177
2187
|
*/
|
|
2178
|
-
this.
|
|
2188
|
+
this.SnapshotState = null;
|
|
2179
2189
|
|
|
2180
2190
|
/**
|
|
2181
|
-
*
|
|
2182
|
-
* @type {
|
|
2191
|
+
* Whether it is a permanent snapshot. Value range: <br><li>true: Permanent snapshot <br><li>false: Non-permanent snapshot.
|
|
2192
|
+
* @type {boolean || null}
|
|
2183
2193
|
*/
|
|
2184
|
-
this.
|
|
2194
|
+
this.IsPermanent = null;
|
|
2185
2195
|
|
|
2186
2196
|
/**
|
|
2187
|
-
* Snapshot
|
|
2197
|
+
* Snapshot name, the user-defined snapshot alias. Call [ModifySnapshotAttribute](https://intl.cloud.tencent.com/document/product/362/15650?from_cn_redirect=1) to modify this field.
|
|
2188
2198
|
* @type {string || null}
|
|
2189
2199
|
*/
|
|
2190
|
-
this.
|
|
2200
|
+
this.SnapshotName = null;
|
|
2191
2201
|
|
|
2192
2202
|
/**
|
|
2193
|
-
*
|
|
2203
|
+
* The expiration time of the snapshot. If the snapshot is permanently retained, this field is blank.
|
|
2194
2204
|
* @type {string || null}
|
|
2195
2205
|
*/
|
|
2196
|
-
this.
|
|
2206
|
+
this.DeadlineTime = null;
|
|
2197
2207
|
|
|
2198
2208
|
/**
|
|
2199
2209
|
* The progress percentage for snapshot creation. This field is always 100 after the snapshot is created successfully.
|
|
@@ -2202,28 +2212,34 @@ class Snapshot extends AbstractModel {
|
|
|
2202
2212
|
this.Percent = null;
|
|
2203
2213
|
|
|
2204
2214
|
/**
|
|
2205
|
-
*
|
|
2206
|
-
* @type {
|
|
2215
|
+
* List of images associated with snapshot.
|
|
2216
|
+
* @type {Array.<Image> || null}
|
|
2207
2217
|
*/
|
|
2208
|
-
this.
|
|
2218
|
+
this.Images = null;
|
|
2209
2219
|
|
|
2210
2220
|
/**
|
|
2211
|
-
*
|
|
2221
|
+
* Number of snapshots currently shared
|
|
2222
|
+
* @type {number || null}
|
|
2223
|
+
*/
|
|
2224
|
+
this.ShareReference = null;
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Snapshot type. This value can currently be either PRIVATE_SNAPSHOT or SHARED_SNAPSHOT.
|
|
2212
2228
|
* @type {string || null}
|
|
2213
2229
|
*/
|
|
2214
|
-
this.
|
|
2230
|
+
this.SnapshotType = null;
|
|
2215
2231
|
|
|
2216
2232
|
/**
|
|
2217
|
-
*
|
|
2218
|
-
* @type {
|
|
2233
|
+
* Size of the cloud disk used to create this snapshot (in GB).
|
|
2234
|
+
* @type {number || null}
|
|
2219
2235
|
*/
|
|
2220
|
-
this.
|
|
2236
|
+
this.DiskSize = null;
|
|
2221
2237
|
|
|
2222
2238
|
/**
|
|
2223
|
-
*
|
|
2224
|
-
* @type {
|
|
2239
|
+
* ID of the cloud disk used to create this snapshot.
|
|
2240
|
+
* @type {string || null}
|
|
2225
2241
|
*/
|
|
2226
|
-
this.
|
|
2242
|
+
this.DiskId = null;
|
|
2227
2243
|
|
|
2228
2244
|
/**
|
|
2229
2245
|
* The destination region to which the snapshot is being replicated. Default value is [ ].
|
|
@@ -2232,16 +2248,16 @@ class Snapshot extends AbstractModel {
|
|
|
2232
2248
|
this.CopyingToRegions = null;
|
|
2233
2249
|
|
|
2234
2250
|
/**
|
|
2235
|
-
* Whether the snapshot is
|
|
2251
|
+
* Whether the snapshot is created from an encrypted disk. Value range: <br><li>true: Yes <br><li>false: No.
|
|
2236
2252
|
* @type {boolean || null}
|
|
2237
2253
|
*/
|
|
2238
|
-
this.
|
|
2254
|
+
this.Encrypt = null;
|
|
2239
2255
|
|
|
2240
2256
|
/**
|
|
2241
|
-
*
|
|
2242
|
-
* @type {
|
|
2257
|
+
* Creation time of the snapshot.
|
|
2258
|
+
* @type {string || null}
|
|
2243
2259
|
*/
|
|
2244
|
-
this.
|
|
2260
|
+
this.CreateTime = null;
|
|
2245
2261
|
|
|
2246
2262
|
/**
|
|
2247
2263
|
* Number of images associated with snapshot.
|
|
@@ -2250,16 +2266,16 @@ class Snapshot extends AbstractModel {
|
|
|
2250
2266
|
this.ImageCount = null;
|
|
2251
2267
|
|
|
2252
2268
|
/**
|
|
2253
|
-
*
|
|
2269
|
+
* The type of the cloud disk used to create the snapshot. Value range: <br><li>SYSTEM_DISK: System disk <br><li>DATA_DISK: Data disk.
|
|
2254
2270
|
* @type {string || null}
|
|
2255
2271
|
*/
|
|
2256
|
-
this.
|
|
2272
|
+
this.DiskUsage = null;
|
|
2257
2273
|
|
|
2258
2274
|
/**
|
|
2259
|
-
*
|
|
2260
|
-
* @type {
|
|
2275
|
+
* Snapshot ID.
|
|
2276
|
+
* @type {string || null}
|
|
2261
2277
|
*/
|
|
2262
|
-
this.
|
|
2278
|
+
this.SnapshotId = null;
|
|
2263
2279
|
|
|
2264
2280
|
/**
|
|
2265
2281
|
* The time when the snapshot sharing starts
|
|
@@ -2267,6 +2283,12 @@ class Snapshot extends AbstractModel {
|
|
|
2267
2283
|
*/
|
|
2268
2284
|
this.TimeStartShare = null;
|
|
2269
2285
|
|
|
2286
|
+
/**
|
|
2287
|
+
* List of tags associated with the snapshot.
|
|
2288
|
+
* @type {Array.<Tag> || null}
|
|
2289
|
+
*/
|
|
2290
|
+
this.Tags = null;
|
|
2291
|
+
|
|
2270
2292
|
}
|
|
2271
2293
|
|
|
2272
2294
|
/**
|
|
@@ -2276,25 +2298,18 @@ class Snapshot extends AbstractModel {
|
|
|
2276
2298
|
if (!params) {
|
|
2277
2299
|
return;
|
|
2278
2300
|
}
|
|
2279
|
-
this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
|
|
2280
2301
|
|
|
2281
2302
|
if (params.Placement) {
|
|
2282
2303
|
let obj = new Placement();
|
|
2283
2304
|
obj.deserialize(params.Placement)
|
|
2284
2305
|
this.Placement = obj;
|
|
2285
2306
|
}
|
|
2286
|
-
this.
|
|
2287
|
-
this.DiskId = 'DiskId' in params ? params.DiskId : null;
|
|
2288
|
-
this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
|
|
2307
|
+
this.CopyFromRemote = 'CopyFromRemote' in params ? params.CopyFromRemote : null;
|
|
2289
2308
|
this.SnapshotState = 'SnapshotState' in params ? params.SnapshotState : null;
|
|
2309
|
+
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
2290
2310
|
this.SnapshotName = 'SnapshotName' in params ? params.SnapshotName : null;
|
|
2291
|
-
this.Percent = 'Percent' in params ? params.Percent : null;
|
|
2292
|
-
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2293
2311
|
this.DeadlineTime = 'DeadlineTime' in params ? params.DeadlineTime : null;
|
|
2294
|
-
this.
|
|
2295
|
-
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
2296
|
-
this.CopyingToRegions = 'CopyingToRegions' in params ? params.CopyingToRegions : null;
|
|
2297
|
-
this.CopyFromRemote = 'CopyFromRemote' in params ? params.CopyFromRemote : null;
|
|
2312
|
+
this.Percent = 'Percent' in params ? params.Percent : null;
|
|
2298
2313
|
|
|
2299
2314
|
if (params.Images) {
|
|
2300
2315
|
this.Images = new Array();
|
|
@@ -2304,11 +2319,27 @@ class Snapshot extends AbstractModel {
|
|
|
2304
2319
|
this.Images.push(obj);
|
|
2305
2320
|
}
|
|
2306
2321
|
}
|
|
2307
|
-
this.ImageCount = 'ImageCount' in params ? params.ImageCount : null;
|
|
2308
|
-
this.SnapshotType = 'SnapshotType' in params ? params.SnapshotType : null;
|
|
2309
2322
|
this.ShareReference = 'ShareReference' in params ? params.ShareReference : null;
|
|
2323
|
+
this.SnapshotType = 'SnapshotType' in params ? params.SnapshotType : null;
|
|
2324
|
+
this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
|
|
2325
|
+
this.DiskId = 'DiskId' in params ? params.DiskId : null;
|
|
2326
|
+
this.CopyingToRegions = 'CopyingToRegions' in params ? params.CopyingToRegions : null;
|
|
2327
|
+
this.Encrypt = 'Encrypt' in params ? params.Encrypt : null;
|
|
2328
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2329
|
+
this.ImageCount = 'ImageCount' in params ? params.ImageCount : null;
|
|
2330
|
+
this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
|
|
2331
|
+
this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
|
|
2310
2332
|
this.TimeStartShare = 'TimeStartShare' in params ? params.TimeStartShare : null;
|
|
2311
2333
|
|
|
2334
|
+
if (params.Tags) {
|
|
2335
|
+
this.Tags = new Array();
|
|
2336
|
+
for (let z in params.Tags) {
|
|
2337
|
+
let obj = new Tag();
|
|
2338
|
+
obj.deserialize(params.Tags[z]);
|
|
2339
|
+
this.Tags.push(obj);
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2312
2343
|
}
|
|
2313
2344
|
}
|
|
2314
2345
|
|
|
@@ -2430,16 +2461,16 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
2430
2461
|
super();
|
|
2431
2462
|
|
|
2432
2463
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
* @type {string || null}
|
|
2464
|
+
* The list of cloud disk IDs that the current scheduled snapshot policy is bound to.
|
|
2465
|
+
* @type {Array.<string> || null}
|
|
2435
2466
|
*/
|
|
2436
|
-
this.
|
|
2467
|
+
this.DiskIdSet = null;
|
|
2437
2468
|
|
|
2438
2469
|
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @type {
|
|
2470
|
+
* Whether scheduled snapshot policy is activated.
|
|
2471
|
+
* @type {boolean || null}
|
|
2441
2472
|
*/
|
|
2442
|
-
this.
|
|
2473
|
+
this.IsActivated = null;
|
|
2443
2474
|
|
|
2444
2475
|
/**
|
|
2445
2476
|
* Scheduled snapshot policy state. Value range:<br><li>NORMAL: Normal<br><li>ISOLATED: Isolated.
|
|
@@ -2448,10 +2479,11 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
2448
2479
|
this.AutoSnapshotPolicyState = null;
|
|
2449
2480
|
|
|
2450
2481
|
/**
|
|
2451
|
-
* Whether
|
|
2452
|
-
|
|
2482
|
+
* Whether it is to replicate a snapshot across accounts. `1`: yes, `0`: no.
|
|
2483
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2484
|
+
* @type {number || null}
|
|
2453
2485
|
*/
|
|
2454
|
-
this.
|
|
2486
|
+
this.IsCopyToRemote = null;
|
|
2455
2487
|
|
|
2456
2488
|
/**
|
|
2457
2489
|
* Whether the snapshot created by this scheduled snapshot policy is retained permanently.
|
|
@@ -2460,22 +2492,22 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
2460
2492
|
this.IsPermanent = null;
|
|
2461
2493
|
|
|
2462
2494
|
/**
|
|
2463
|
-
*
|
|
2464
|
-
* @type {
|
|
2495
|
+
* The time the scheduled snapshot will be triggered again.
|
|
2496
|
+
* @type {string || null}
|
|
2465
2497
|
*/
|
|
2466
|
-
this.
|
|
2498
|
+
this.NextTriggerTime = null;
|
|
2467
2499
|
|
|
2468
2500
|
/**
|
|
2469
|
-
*
|
|
2501
|
+
* Scheduled snapshot policy name.
|
|
2470
2502
|
* @type {string || null}
|
|
2471
2503
|
*/
|
|
2472
|
-
this.
|
|
2504
|
+
this.AutoSnapshotPolicyName = null;
|
|
2473
2505
|
|
|
2474
2506
|
/**
|
|
2475
|
-
*
|
|
2507
|
+
* Scheduled snapshot policy ID.
|
|
2476
2508
|
* @type {string || null}
|
|
2477
2509
|
*/
|
|
2478
|
-
this.
|
|
2510
|
+
this.AutoSnapshotPolicyId = null;
|
|
2479
2511
|
|
|
2480
2512
|
/**
|
|
2481
2513
|
* The policy for executing the scheduled snapshot.
|
|
@@ -2484,10 +2516,30 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
2484
2516
|
this.Policy = null;
|
|
2485
2517
|
|
|
2486
2518
|
/**
|
|
2487
|
-
* The
|
|
2519
|
+
* The time the scheduled snapshot policy was created.
|
|
2520
|
+
* @type {string || null}
|
|
2521
|
+
*/
|
|
2522
|
+
this.CreateTime = null;
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* Number of days the snapshot created by this scheduled snapshot policy is retained.
|
|
2526
|
+
* @type {number || null}
|
|
2527
|
+
*/
|
|
2528
|
+
this.RetentionDays = null;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* ID of the replication target account
|
|
2532
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2533
|
+
* @type {string || null}
|
|
2534
|
+
*/
|
|
2535
|
+
this.CopyToAccountUin = null;
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* List of IDs of the instances associated with the scheduled snapshot policy.
|
|
2539
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2488
2540
|
* @type {Array.<string> || null}
|
|
2489
2541
|
*/
|
|
2490
|
-
this.
|
|
2542
|
+
this.InstanceIdSet = null;
|
|
2491
2543
|
|
|
2492
2544
|
}
|
|
2493
2545
|
|
|
@@ -2498,14 +2550,14 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
2498
2550
|
if (!params) {
|
|
2499
2551
|
return;
|
|
2500
2552
|
}
|
|
2501
|
-
this.
|
|
2502
|
-
this.AutoSnapshotPolicyName = 'AutoSnapshotPolicyName' in params ? params.AutoSnapshotPolicyName : null;
|
|
2503
|
-
this.AutoSnapshotPolicyState = 'AutoSnapshotPolicyState' in params ? params.AutoSnapshotPolicyState : null;
|
|
2553
|
+
this.DiskIdSet = 'DiskIdSet' in params ? params.DiskIdSet : null;
|
|
2504
2554
|
this.IsActivated = 'IsActivated' in params ? params.IsActivated : null;
|
|
2555
|
+
this.AutoSnapshotPolicyState = 'AutoSnapshotPolicyState' in params ? params.AutoSnapshotPolicyState : null;
|
|
2556
|
+
this.IsCopyToRemote = 'IsCopyToRemote' in params ? params.IsCopyToRemote : null;
|
|
2505
2557
|
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
2506
|
-
this.RetentionDays = 'RetentionDays' in params ? params.RetentionDays : null;
|
|
2507
|
-
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2508
2558
|
this.NextTriggerTime = 'NextTriggerTime' in params ? params.NextTriggerTime : null;
|
|
2559
|
+
this.AutoSnapshotPolicyName = 'AutoSnapshotPolicyName' in params ? params.AutoSnapshotPolicyName : null;
|
|
2560
|
+
this.AutoSnapshotPolicyId = 'AutoSnapshotPolicyId' in params ? params.AutoSnapshotPolicyId : null;
|
|
2509
2561
|
|
|
2510
2562
|
if (params.Policy) {
|
|
2511
2563
|
this.Policy = new Array();
|
|
@@ -2515,7 +2567,10 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
2515
2567
|
this.Policy.push(obj);
|
|
2516
2568
|
}
|
|
2517
2569
|
}
|
|
2518
|
-
this.
|
|
2570
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2571
|
+
this.RetentionDays = 'RetentionDays' in params ? params.RetentionDays : null;
|
|
2572
|
+
this.CopyToAccountUin = 'CopyToAccountUin' in params ? params.CopyToAccountUin : null;
|
|
2573
|
+
this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
|
|
2519
2574
|
|
|
2520
2575
|
}
|
|
2521
2576
|
}
|
|
@@ -3735,7 +3790,7 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
3735
3790
|
this.RenewFlag = null;
|
|
3736
3791
|
|
|
3737
3792
|
/**
|
|
3738
|
-
* Cloud disk
|
|
3793
|
+
* Cloud disk types. Valid values: <br><li>CLOUD_BASIC: HDD cloud disk <br><li>CLOUD_PREMIUM: Premium Cloud Disk <br><li>CLOUD_BSSD: General Purpose SSD <br><li>CLOUD_SSD: SSD <br><li>CLOUD_HSSD: Enhanced SSD <br><li>CLOUD_TSSD: Tremendous SSD
|
|
3739
3794
|
* @type {string || null}
|
|
3740
3795
|
*/
|
|
3741
3796
|
this.DiskType = null;
|
|
@@ -3949,6 +4004,18 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
3949
4004
|
*/
|
|
3950
4005
|
this.DeleteSnapshot = null;
|
|
3951
4006
|
|
|
4007
|
+
/**
|
|
4008
|
+
* Number of used cloud disk backups.
|
|
4009
|
+
* @type {number || null}
|
|
4010
|
+
*/
|
|
4011
|
+
this.DiskBackupCount = null;
|
|
4012
|
+
|
|
4013
|
+
/**
|
|
4014
|
+
* Type of the instance mounted to the cloud disk. Valid values: <br><li>CVM<br><li>EKS
|
|
4015
|
+
* @type {string || null}
|
|
4016
|
+
*/
|
|
4017
|
+
this.InstanceType = null;
|
|
4018
|
+
|
|
3952
4019
|
}
|
|
3953
4020
|
|
|
3954
4021
|
/**
|
|
@@ -4007,6 +4074,8 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
4007
4074
|
this.Shareable = 'Shareable' in params ? params.Shareable : null;
|
|
4008
4075
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
4009
4076
|
this.DeleteSnapshot = 'DeleteSnapshot' in params ? params.DeleteSnapshot : null;
|
|
4077
|
+
this.DiskBackupCount = 'DiskBackupCount' in params ? params.DiskBackupCount : null;
|
|
4078
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
4010
4079
|
|
|
4011
4080
|
}
|
|
4012
4081
|
}
|
|
@@ -4025,18 +4094,6 @@ class ModifyAutoSnapshotPolicyAttributeRequest extends AbstractModel {
|
|
|
4025
4094
|
*/
|
|
4026
4095
|
this.AutoSnapshotPolicyId = null;
|
|
4027
4096
|
|
|
4028
|
-
/**
|
|
4029
|
-
* The policy for executing the scheduled snapshot.
|
|
4030
|
-
* @type {Array.<Policy> || null}
|
|
4031
|
-
*/
|
|
4032
|
-
this.Policy = null;
|
|
4033
|
-
|
|
4034
|
-
/**
|
|
4035
|
-
* The name of the scheduled snapshot policy to be created. If it is left empty, the default is 'Not named'. The maximum length cannot exceed 60 bytes.
|
|
4036
|
-
* @type {string || null}
|
|
4037
|
-
*/
|
|
4038
|
-
this.AutoSnapshotPolicyName = null;
|
|
4039
|
-
|
|
4040
4097
|
/**
|
|
4041
4098
|
* Whether or not the scheduled snapshot policy is activated. FALSE: Not activated. TRUE: Activated. The default value is TRUE.
|
|
4042
4099
|
* @type {boolean || null}
|
|
@@ -4050,7 +4107,19 @@ class ModifyAutoSnapshotPolicyAttributeRequest extends AbstractModel {
|
|
|
4050
4107
|
this.IsPermanent = null;
|
|
4051
4108
|
|
|
4052
4109
|
/**
|
|
4053
|
-
* The
|
|
4110
|
+
* The name of the scheduled snapshot policy to be created. If it is left empty, the default is 'Not named'. The maximum length cannot exceed 60 bytes.
|
|
4111
|
+
* @type {string || null}
|
|
4112
|
+
*/
|
|
4113
|
+
this.AutoSnapshotPolicyName = null;
|
|
4114
|
+
|
|
4115
|
+
/**
|
|
4116
|
+
* The policy for executing the scheduled snapshot.
|
|
4117
|
+
* @type {Array.<Policy> || null}
|
|
4118
|
+
*/
|
|
4119
|
+
this.Policy = null;
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* Number of days to retain the snapshots created according to this scheduled snapshot policy. If this parameter is specified, `IsPermanent` cannot be specified as `TRUE`; otherwise, they will conflict with each other.
|
|
4054
4123
|
* @type {number || null}
|
|
4055
4124
|
*/
|
|
4056
4125
|
this.RetentionDays = null;
|
|
@@ -4065,6 +4134,9 @@ class ModifyAutoSnapshotPolicyAttributeRequest extends AbstractModel {
|
|
|
4065
4134
|
return;
|
|
4066
4135
|
}
|
|
4067
4136
|
this.AutoSnapshotPolicyId = 'AutoSnapshotPolicyId' in params ? params.AutoSnapshotPolicyId : null;
|
|
4137
|
+
this.IsActivated = 'IsActivated' in params ? params.IsActivated : null;
|
|
4138
|
+
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
4139
|
+
this.AutoSnapshotPolicyName = 'AutoSnapshotPolicyName' in params ? params.AutoSnapshotPolicyName : null;
|
|
4068
4140
|
|
|
4069
4141
|
if (params.Policy) {
|
|
4070
4142
|
this.Policy = new Array();
|
|
@@ -4074,9 +4146,6 @@ class ModifyAutoSnapshotPolicyAttributeRequest extends AbstractModel {
|
|
|
4074
4146
|
this.Policy.push(obj);
|
|
4075
4147
|
}
|
|
4076
4148
|
}
|
|
4077
|
-
this.AutoSnapshotPolicyName = 'AutoSnapshotPolicyName' in params ? params.AutoSnapshotPolicyName : null;
|
|
4078
|
-
this.IsActivated = 'IsActivated' in params ? params.IsActivated : null;
|
|
4079
|
-
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
4080
4149
|
this.RetentionDays = 'RetentionDays' in params ? params.RetentionDays : null;
|
|
4081
4150
|
|
|
4082
4151
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.519";
|
|
2
2
|
module.exports = sdkVersion
|