zenlayercloud-sdk-python 2.0.36__tar.gz → 2.0.37__tar.gz
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.
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/__init__.py +1 -1
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/vm/v20230313/models.py +99 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/vm/v20230313/vm_client.py +6 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/v20250901/models.py +35 -2
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/v20250901/zec_client.py +6 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud_sdk_python.egg-info/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/LICENSE +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/README.rst +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/setup.cfg +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/setup.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/alarm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/alarm/v20250307/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/alarm/v20250307/alarm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/alarm/v20250307/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/bmc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/bmc/v20221120/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/bmc/v20221120/bmc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/bmc/v20221120/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/ccs/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/ccs/v20250901/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/ccs/v20250901/ccs_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/ccs/v20250901/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/abstract_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/abstract_model.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/config.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/credential.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/excpetion/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/excpetion/error_code.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/excpetion/zenlayer_cloud_sdk_exception.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/request.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/response.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/utils.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/maintenance/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/maintenance/v20250310/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/maintenance/v20250310/maintenance_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/maintenance/v20250310/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/pvtdns/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/pvtdns/v20251101/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/pvtdns/v20251101/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/pvtdns/v20251101/pvtdns_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/sdn/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/sdn/v20230830/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/sdn/v20230830/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/sdn/v20230830/sdn_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/traffic/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/traffic/v20240326/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/traffic/v20240326/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/traffic/v20240326/traffic_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/user/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/user/v20240529/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/user/v20240529/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/user/v20240529/user_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/vm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/vm/v20230313/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zbc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zbc/v20240809/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zbc/v20240809/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zbc/v20240809/zbc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zdns/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zdns/v20251101/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zdns/v20251101/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zdns/v20251101/zdns_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/v20240401/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/v20240401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/v20240401/zec_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/v20250901/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zga/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zga/v20241104/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zga/v20241104/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zga/v20241104/zga_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zlb/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zlb/v20250401/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zlb/v20250401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zlb/v20250401/zlb_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zls/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zls/v20230804/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zls/v20230804/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zls/v20230804/zls_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zos/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zos/v20251010/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zos/v20251010/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zos/v20251010/zos_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zrm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud_sdk_python.egg-info/SOURCES.txt +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud_sdk_python.egg-info/dependency_links.txt +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud_sdk_python.egg-info/requires.txt +0 -0
- {zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud_sdk_python.egg-info/top_level.txt +0 -0
|
@@ -297,6 +297,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
297
297
|
self.networkMode = None
|
|
298
298
|
self.diskPreAllocated = None
|
|
299
299
|
self.marketingOptions = None
|
|
300
|
+
self.tags = None
|
|
300
301
|
|
|
301
302
|
def _deserialize(self, params):
|
|
302
303
|
self.zoneId = params.get("zoneId")
|
|
@@ -333,6 +334,26 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
333
334
|
self.diskPreAllocated = params.get("diskPreAllocated")
|
|
334
335
|
if params.get("marketingOptions") is not None:
|
|
335
336
|
self.marketingOptions = MarketingInfo(params.get("marketingOptions"))
|
|
337
|
+
if params.get("tags") is not None:
|
|
338
|
+
self.tags = TagAssociation(params.get("tags"))
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
class TagAssociation(AbstractModel):
|
|
342
|
+
def __init__(self, params=None):
|
|
343
|
+
if params is None:
|
|
344
|
+
params = {}
|
|
345
|
+
if len(params) > 0:
|
|
346
|
+
self._deserialize(params)
|
|
347
|
+
return
|
|
348
|
+
self.tags = None
|
|
349
|
+
|
|
350
|
+
def _deserialize(self, params):
|
|
351
|
+
if params.get("tags") is not None:
|
|
352
|
+
self.tags = []
|
|
353
|
+
for item in params.get("tags"):
|
|
354
|
+
obj = Tag(item)
|
|
355
|
+
self.tags.append(obj)
|
|
356
|
+
|
|
336
357
|
|
|
337
358
|
|
|
338
359
|
class MarketingInfo(AbstractModel):
|
|
@@ -408,6 +429,8 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
408
429
|
self.privateIpAddresses = None
|
|
409
430
|
self.pageSize = None
|
|
410
431
|
self.pageNum = None
|
|
432
|
+
self.tagKeys = None
|
|
433
|
+
self.tags = None
|
|
411
434
|
|
|
412
435
|
def _deserialize(self, params):
|
|
413
436
|
self.instanceIds = params.get("instanceIds")
|
|
@@ -425,6 +448,27 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
425
448
|
self.privateIpAddresses = params.get("privateIpAddresses")
|
|
426
449
|
self.pageSize = params.get("pageSize")
|
|
427
450
|
self.pageNum = params.get("pageNum")
|
|
451
|
+
self.tagKeys = params.get("tagKeys")
|
|
452
|
+
if params.get("tags") is not None:
|
|
453
|
+
self.tags = []
|
|
454
|
+
for item in params.get("tags"):
|
|
455
|
+
obj = Tag(item)
|
|
456
|
+
self.tags.append(obj)
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
class Tag(AbstractModel):
|
|
460
|
+
def __init__(self, params=None):
|
|
461
|
+
if params is None:
|
|
462
|
+
params = {}
|
|
463
|
+
if len(params) > 0:
|
|
464
|
+
self._deserialize(params)
|
|
465
|
+
return
|
|
466
|
+
self.key = None
|
|
467
|
+
self.value = None
|
|
468
|
+
|
|
469
|
+
def _deserialize(self, params):
|
|
470
|
+
self.key = params.get("key")
|
|
471
|
+
self.value = params.get("value")
|
|
428
472
|
|
|
429
473
|
|
|
430
474
|
class DescribeInstancesResponse(AbstractModel):
|
|
@@ -480,6 +524,7 @@ class InstanceInfo(AbstractModel):
|
|
|
480
524
|
self.autoRenew = None
|
|
481
525
|
self.keyId = None
|
|
482
526
|
self.nic = None
|
|
527
|
+
self.tags = None
|
|
483
528
|
|
|
484
529
|
def _deserialize(self, params):
|
|
485
530
|
self.instanceId = params.get("instanceId")
|
|
@@ -516,6 +561,26 @@ class InstanceInfo(AbstractModel):
|
|
|
516
561
|
self.keyId = params.get("keyId")
|
|
517
562
|
if params.get("nic") is not None:
|
|
518
563
|
self.nic = Nic(params.get("nic"))
|
|
564
|
+
if params.get("tags") is not None:
|
|
565
|
+
self.tags = Tags(params.get("tags"))
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
class Tags(AbstractModel):
|
|
569
|
+
def __init__(self, params=None):
|
|
570
|
+
if params is None:
|
|
571
|
+
params = {}
|
|
572
|
+
if len(params) > 0:
|
|
573
|
+
self._deserialize(params)
|
|
574
|
+
return
|
|
575
|
+
self.tags = None
|
|
576
|
+
|
|
577
|
+
def _deserialize(self, params):
|
|
578
|
+
if params.get("tags") is not None:
|
|
579
|
+
self.tags = []
|
|
580
|
+
for item in params.get("tags"):
|
|
581
|
+
obj = Tag(item)
|
|
582
|
+
self.tags.append(obj)
|
|
583
|
+
|
|
519
584
|
|
|
520
585
|
class DescribeInstancesStatusRequest(AbstractModel):
|
|
521
586
|
|
|
@@ -1110,6 +1175,7 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1110
1175
|
self.diskAmount = None
|
|
1111
1176
|
self.resourceGroupId = None
|
|
1112
1177
|
self.marketingOptions = None
|
|
1178
|
+
self.tags = None
|
|
1113
1179
|
|
|
1114
1180
|
def _deserialize(self, params):
|
|
1115
1181
|
self.chargeType = params.get("chargeType")
|
|
@@ -1124,6 +1190,8 @@ class CreateDisksRequest(AbstractModel):
|
|
|
1124
1190
|
self.resourceGroupId = params.get("resourceGroupId")
|
|
1125
1191
|
if params.get("marketingOptions") is not None:
|
|
1126
1192
|
self.marketingOptions = MarketingInfo(params.get("marketingOptions"))
|
|
1193
|
+
if params.get("tags") is not None:
|
|
1194
|
+
self.tags = TagAssociation(params.get("tags"))
|
|
1127
1195
|
|
|
1128
1196
|
|
|
1129
1197
|
class CreateDisksResponse(AbstractModel):
|
|
@@ -1139,6 +1207,25 @@ class CreateDisksResponse(AbstractModel):
|
|
|
1139
1207
|
self.diskIds = params.get("diskIds")
|
|
1140
1208
|
|
|
1141
1209
|
|
|
1210
|
+
|
|
1211
|
+
class ResizeDiskRequest(AbstractModel):
|
|
1212
|
+
def __init__(self):
|
|
1213
|
+
self.diskId = None
|
|
1214
|
+
self.diskSize = None
|
|
1215
|
+
|
|
1216
|
+
def _deserialize(self, params):
|
|
1217
|
+
self.diskId = params.get("diskId")
|
|
1218
|
+
self.diskSize = params.get("diskSize")
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
class ResizeDiskResponse(AbstractModel):
|
|
1222
|
+
def __init__(self):
|
|
1223
|
+
self.requestId = None
|
|
1224
|
+
|
|
1225
|
+
def _deserialize(self, params):
|
|
1226
|
+
self.requestId = params.get("requestId")
|
|
1227
|
+
|
|
1228
|
+
|
|
1142
1229
|
class DescribeDisksRequest(AbstractModel):
|
|
1143
1230
|
|
|
1144
1231
|
def __init__(self):
|
|
@@ -1154,6 +1241,8 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
1154
1241
|
self.pageSize = None
|
|
1155
1242
|
self.pageNum = None
|
|
1156
1243
|
self.resourceGroupId = None
|
|
1244
|
+
self.tagKeys = None
|
|
1245
|
+
self.tags = None
|
|
1157
1246
|
|
|
1158
1247
|
def _deserialize(self, params):
|
|
1159
1248
|
self.diskIds = params.get("diskIds")
|
|
@@ -1168,6 +1257,12 @@ class DescribeDisksRequest(AbstractModel):
|
|
|
1168
1257
|
self.pageSize = params.get("pageSize")
|
|
1169
1258
|
self.pageNum = params.get("pageNum")
|
|
1170
1259
|
self.resourceGroupId = params.get("resourceGroupId")
|
|
1260
|
+
self.tagKeys = params.get("tagKeys")
|
|
1261
|
+
if params.get("tags") is not None:
|
|
1262
|
+
self.tags = []
|
|
1263
|
+
for item in params.get("tags"):
|
|
1264
|
+
obj = Tag(item)
|
|
1265
|
+
self.tags.append(obj)
|
|
1171
1266
|
|
|
1172
1267
|
|
|
1173
1268
|
class DescribeDisksResponse(AbstractModel):
|
|
@@ -1210,6 +1305,8 @@ class DiskInfo(AbstractModel):
|
|
|
1210
1305
|
self.expiredTime = None
|
|
1211
1306
|
self.period = None
|
|
1212
1307
|
self.autoRenew = None
|
|
1308
|
+
self.tags = None
|
|
1309
|
+
|
|
1213
1310
|
|
|
1214
1311
|
def _deserialize(self, params):
|
|
1215
1312
|
self.diskId = params.get("diskId")
|
|
@@ -1227,6 +1324,8 @@ class DiskInfo(AbstractModel):
|
|
|
1227
1324
|
self.expiredTime = params.get("expiredTime")
|
|
1228
1325
|
self.period = params.get("period")
|
|
1229
1326
|
self.autoRenew = params.get("autoRenew")
|
|
1327
|
+
if params.get("tags") is not None:
|
|
1328
|
+
self.tags = Tags(params.get("tags"))
|
|
1230
1329
|
|
|
1231
1330
|
|
|
1232
1331
|
class AttachDisksRequest(AbstractModel):
|
|
@@ -205,6 +205,12 @@ class VmClient(AbstractClient):
|
|
|
205
205
|
model._deserialize(response)
|
|
206
206
|
return model
|
|
207
207
|
|
|
208
|
+
def ResizeDisk(self, request):
|
|
209
|
+
response = self._api_call("ResizeDisk", request)
|
|
210
|
+
model = models.ResizeDiskResponse()
|
|
211
|
+
model._deserialize(response)
|
|
212
|
+
return model
|
|
213
|
+
|
|
208
214
|
def DescribeDisks(self, request):
|
|
209
215
|
response = self._api_call("DescribeDisks", request)
|
|
210
216
|
|
|
@@ -2881,6 +2881,7 @@ class DescribeEipPriceResponse(AbstractModel):
|
|
|
2881
2881
|
self.requestId = None
|
|
2882
2882
|
self.eipPrice = None
|
|
2883
2883
|
self.bandwidthPrice = None
|
|
2884
|
+
self.remoteBandwidthPrice = None
|
|
2884
2885
|
|
|
2885
2886
|
def _deserialize(self, params):
|
|
2886
2887
|
self.requestId = params.get("requestId")
|
|
@@ -2888,6 +2889,8 @@ class DescribeEipPriceResponse(AbstractModel):
|
|
|
2888
2889
|
self.eipPrice = PriceItem(params.get("eipPrice"))
|
|
2889
2890
|
if params.get("bandwidthPrice") is not None:
|
|
2890
2891
|
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
2892
|
+
if params.get("remoteBandwidthPrice") is not None:
|
|
2893
|
+
self.remoteBandwidthPrice = PriceItem(params.get("remoteBandwidthPrice"))
|
|
2891
2894
|
|
|
2892
2895
|
|
|
2893
2896
|
class ChangeEipInternetChargeTypeRequest(AbstractModel):
|
|
@@ -4836,6 +4839,38 @@ class ResetInstanceResponse(AbstractModel):
|
|
|
4836
4839
|
self.requestId = params.get("requestId")
|
|
4837
4840
|
|
|
4838
4841
|
|
|
4842
|
+
class ResetInstancesRequest(AbstractModel):
|
|
4843
|
+
def __init__(self):
|
|
4844
|
+
self.instanceIds = None
|
|
4845
|
+
self.password = None
|
|
4846
|
+
self.keyId = None
|
|
4847
|
+
self.imageId = None
|
|
4848
|
+
self.timezone = None
|
|
4849
|
+
self.enableAgent = None
|
|
4850
|
+
self.instanceName = None
|
|
4851
|
+
self.userData = None
|
|
4852
|
+
|
|
4853
|
+
def _deserialize(self, params):
|
|
4854
|
+
self.instanceIds = params.get("instanceIds")
|
|
4855
|
+
self.password = params.get("password")
|
|
4856
|
+
self.keyId = params.get("keyId")
|
|
4857
|
+
self.imageId = params.get("imageId")
|
|
4858
|
+
self.timezone = params.get("timezone")
|
|
4859
|
+
self.enableAgent = params.get("enableAgent")
|
|
4860
|
+
self.instanceName = params.get("instanceName")
|
|
4861
|
+
self.userData = params.get("userData")
|
|
4862
|
+
|
|
4863
|
+
|
|
4864
|
+
class ResetInstancesResponse(AbstractModel):
|
|
4865
|
+
def __init__(self):
|
|
4866
|
+
self.requestId = None
|
|
4867
|
+
self.instanceIds = None
|
|
4868
|
+
|
|
4869
|
+
def _deserialize(self, params):
|
|
4870
|
+
self.requestId = params.get("requestId")
|
|
4871
|
+
self.instanceIds = params.get("instanceIds")
|
|
4872
|
+
|
|
4873
|
+
|
|
4839
4874
|
class StartIpForwardRequest(AbstractModel):
|
|
4840
4875
|
def __init__(self):
|
|
4841
4876
|
self.instanceId = None
|
|
@@ -4913,11 +4948,9 @@ class ModifyInstanceTypeRequest(AbstractModel):
|
|
|
4913
4948
|
class ModifyInstanceTypeResponse(AbstractModel):
|
|
4914
4949
|
def __init__(self):
|
|
4915
4950
|
self.requestId = None
|
|
4916
|
-
self.orderNumber = None
|
|
4917
4951
|
|
|
4918
4952
|
def _deserialize(self, params):
|
|
4919
4953
|
self.requestId = params.get("requestId")
|
|
4920
|
-
self.orderNumber = params.get("orderNumber")
|
|
4921
4954
|
|
|
4922
4955
|
|
|
4923
4956
|
class ChangeNicNetworkTypeRequest(AbstractModel):
|
|
@@ -812,6 +812,12 @@ class ZECClient(AbstractClient):
|
|
|
812
812
|
model._deserialize(response)
|
|
813
813
|
return model
|
|
814
814
|
|
|
815
|
+
def ResetInstances(self, request):
|
|
816
|
+
response = self._api_call("ResetInstances", request)
|
|
817
|
+
model = models.ResetInstancesResponse()
|
|
818
|
+
model._deserialize(response)
|
|
819
|
+
return model
|
|
820
|
+
|
|
815
821
|
def StartIpForward(self, request):
|
|
816
822
|
response = self._api_call("StartIpForward", request)
|
|
817
823
|
model = models.StartIpForwardResponse()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/alarm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/bmc/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/ccs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/request.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/response.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/common/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/pvtdns/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/sdn/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/user/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/vm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zbc/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zdns/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zec/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zga/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zlb/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zls/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zos/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.36 → zenlayercloud_sdk_python-2.0.37}/zenlayercloud/zrm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|