zenlayercloud-sdk-python 2.0.57__tar.gz → 2.0.59__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.57 → zenlayercloud_sdk_python-2.0.59}/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/__init__.py +1 -1
- zenlayercloud_sdk_python-2.0.59/zenlayercloud/mcpgw/v20260602/mcpgw_client.py +19 -0
- zenlayercloud_sdk_python-2.0.59/zenlayercloud/mcpgw/v20260602/models.py +50 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zec/v20250901/models.py +355 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zec/v20250901/zec_client.py +90 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zlb/v20250401/models.py +24 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zlb/v20250401/zlb_client.py +2 -2
- zenlayercloud_sdk_python-2.0.59/zenlayercloud/zrm/__init__.py +0 -0
- zenlayercloud_sdk_python-2.0.59/zenlayercloud/zrm/v20251014/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud_sdk_python.egg-info/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud_sdk_python.egg-info/SOURCES.txt +4 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/LICENSE +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/README.rst +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/setup.cfg +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/setup.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/aigw/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/aigw/v20260414/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/aigw/v20260414/aigw_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/aigw/v20260414/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/alarm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/alarm/v20250307/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/alarm/v20250307/alarm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/alarm/v20250307/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/v20221120/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/v20221120/bmc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/v20221120/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/v20260201/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/v20260201/bmc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/v20260201/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ccs/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ccs/v20250901/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ccs/v20250901/ccs_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ccs/v20250901/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/abstract_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/abstract_model.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/config.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/credential.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/excpetion/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/excpetion/error_code.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/excpetion/zenlayer_cloud_sdk_exception.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/request.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/response.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/utils.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ipt/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ipt/v20240901/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ipt/v20240901/ipt_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ipt/v20240901/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/maintenance/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/maintenance/v20250310/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/maintenance/v20250310/maintenance_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/maintenance/v20250310/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/pvtdns → zenlayercloud_sdk_python-2.0.59/zenlayercloud/mcpgw}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/pvtdns/v20251101 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/mcpgw/v20260602}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/traffic → zenlayercloud_sdk_python-2.0.59/zenlayercloud/pvtdns}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/traffic/v20240326 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/pvtdns/v20251101}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/pvtdns/v20251101/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/pvtdns/v20251101/pvtdns_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/sdn/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/sdn/v20230830/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/sdn/v20230830/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/sdn/v20230830/sdn_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/user → zenlayercloud_sdk_python-2.0.59/zenlayercloud/traffic}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/user/v20240529 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/traffic/v20240326}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/traffic/v20240326/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/traffic/v20240326/traffic_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/vm → zenlayercloud_sdk_python-2.0.59/zenlayercloud/user}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/vm/v20260401 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/user/v20240529}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/user/v20240529/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/user/v20240529/user_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zdns → zenlayercloud_sdk_python-2.0.59/zenlayercloud/vm}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/vm/v20230313/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/vm/v20230313/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/vm/v20230313/vm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zdns/v20251101 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/vm/v20260401}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/vm/v20260401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/vm/v20260401/vm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zbc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zbc/v20240809/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zbc/v20240809/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zbc/v20240809/zbc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zec → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zdns}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zec/v20250901 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zdns/v20251101}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zdns/v20251101/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zdns/v20251101/zdns_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zlb → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zec}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zec/v20240401/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zec/v20240401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zec/v20240401/zec_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zlb/v20250401 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zec/v20250901}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zga/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zga/v20241104/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zga/v20241104/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zga/v20241104/zga_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zos → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zlb}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zos/v20251010 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zlb/v20250401}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zls/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zls/v20230804/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zls/v20230804/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zls/v20230804/zls_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zrm → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zos}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57/zenlayercloud/zrm/v20251014 → zenlayercloud_sdk_python-2.0.59/zenlayercloud/zos/v20251010}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zos/v20251010/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zos/v20251010/zos_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zrm/v20251014/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zrm/v20251014/zrm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud_sdk_python.egg-info/dependency_links.txt +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud_sdk_python.egg-info/requires.txt +0 -0
- {zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud_sdk_python.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Zenlayer.com Inc.
|
|
2
|
+
# Copyright (c) 2014-2024 All Rights Reserved.
|
|
3
|
+
from zenlayercloud.mcpgw.v20260602 import models
|
|
4
|
+
from zenlayercloud.common.abstract_client import AbstractClient
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class McpgwClient(AbstractClient):
|
|
8
|
+
_api_version = "2026-06-02"
|
|
9
|
+
_service = "mcpgw"
|
|
10
|
+
|
|
11
|
+
def DescribeMcpMonthlyBilling(self, request):
|
|
12
|
+
"""
|
|
13
|
+
查询MCP网关按月计费明细
|
|
14
|
+
"""
|
|
15
|
+
response = self._api_call("DescribeMcpMonthlyBilling", request)
|
|
16
|
+
model = models.DescribeMcpMonthlyBillingResponse()
|
|
17
|
+
model._deserialize(response)
|
|
18
|
+
return model
|
|
19
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Zenlayer.com Inc.
|
|
2
|
+
# Copyright (c) 2014-2024 All Rights Reserved.
|
|
3
|
+
from zenlayercloud.common.abstract_model import AbstractModel
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
class DescribeMcpMonthlyBillingRequest(AbstractModel):
|
|
7
|
+
def __init__(self):
|
|
8
|
+
self.month = None
|
|
9
|
+
|
|
10
|
+
def _deserialize(self, params):
|
|
11
|
+
self.month = params.get("month")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class DescribeMcpMonthlyBillingResponse(AbstractModel):
|
|
15
|
+
def __init__(self):
|
|
16
|
+
self.requestId = None
|
|
17
|
+
self.items = None
|
|
18
|
+
self.totalUsage = None
|
|
19
|
+
|
|
20
|
+
def _deserialize(self, params):
|
|
21
|
+
self.requestId = params.get("requestId")
|
|
22
|
+
if params.get("items") is not None:
|
|
23
|
+
self.items = []
|
|
24
|
+
for item in params.get("items"):
|
|
25
|
+
obj = BillingItem(item)
|
|
26
|
+
self.items.append(obj)
|
|
27
|
+
self.totalUsage = params.get("totalUsage")
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class BillingItem(AbstractModel):
|
|
31
|
+
def __init__(self, params=None):
|
|
32
|
+
if params is None:
|
|
33
|
+
params = {}
|
|
34
|
+
if len(params) > 0:
|
|
35
|
+
self._deserialize(params)
|
|
36
|
+
return
|
|
37
|
+
self.gatewayUuid = None
|
|
38
|
+
self.gatewayName = None
|
|
39
|
+
self.date = None
|
|
40
|
+
self.unit = None
|
|
41
|
+
self.usage = None
|
|
42
|
+
|
|
43
|
+
def _deserialize(self, params):
|
|
44
|
+
self.gatewayUuid = params.get("gatewayUuid")
|
|
45
|
+
self.gatewayName = params.get("gatewayName")
|
|
46
|
+
self.date = params.get("date")
|
|
47
|
+
self.unit = params.get("unit")
|
|
48
|
+
self.usage = params.get("usage")
|
|
49
|
+
|
|
50
|
+
|
|
@@ -282,6 +282,7 @@ class InquiryPriceCreateInstanceResponse(AbstractModel):
|
|
|
282
282
|
self.gpuPrice = None
|
|
283
283
|
self.ipv4Price = None
|
|
284
284
|
self.ipv4BandwidthPrice = None
|
|
285
|
+
self.ipv4BandwidthPrices = None
|
|
285
286
|
self.ipv6Price = None
|
|
286
287
|
self.ipv6BandwidthPrice = None
|
|
287
288
|
self.systemDiskPrice = None
|
|
@@ -297,6 +298,11 @@ class InquiryPriceCreateInstanceResponse(AbstractModel):
|
|
|
297
298
|
self.ipv4Price = PriceItem(params.get("ipv4Price"))
|
|
298
299
|
if params.get("ipv4BandwidthPrice") is not None:
|
|
299
300
|
self.ipv4BandwidthPrice = PriceItem(params.get("ipv4BandwidthPrice"))
|
|
301
|
+
if params.get("ipv4BandwidthPrices") is not None:
|
|
302
|
+
self.ipv4BandwidthPrices = []
|
|
303
|
+
for item in params.get("ipv4BandwidthPrices"):
|
|
304
|
+
obj = BandwidthPriceResponseItem(item)
|
|
305
|
+
self.ipv4BandwidthPrices.append(obj)
|
|
300
306
|
if params.get("ipv6Price") is not None:
|
|
301
307
|
self.ipv6Price = PriceItem(params.get("ipv6Price"))
|
|
302
308
|
if params.get("ipv6BandwidthPrice") is not None:
|
|
@@ -365,6 +371,22 @@ class StepPrice(AbstractModel):
|
|
|
365
371
|
self.discountUnitPrice = params.get("discountUnitPrice")
|
|
366
372
|
|
|
367
373
|
|
|
374
|
+
class BandwidthPriceResponseItem(AbstractModel):
|
|
375
|
+
def __init__(self, params=None):
|
|
376
|
+
if params is None:
|
|
377
|
+
params = {}
|
|
378
|
+
if len(params) > 0:
|
|
379
|
+
self._deserialize(params)
|
|
380
|
+
return
|
|
381
|
+
self.trafficType = None
|
|
382
|
+
self.price = None
|
|
383
|
+
|
|
384
|
+
def _deserialize(self, params):
|
|
385
|
+
self.trafficType = params.get("trafficType")
|
|
386
|
+
if params.get("price") is not None:
|
|
387
|
+
self.price = PriceItem(params.get("price"))
|
|
388
|
+
|
|
389
|
+
|
|
368
390
|
class CreateZecInstancesRequest(AbstractModel):
|
|
369
391
|
def __init__(self):
|
|
370
392
|
self.zoneId = None
|
|
@@ -1143,6 +1165,30 @@ class MetricValue(AbstractModel):
|
|
|
1143
1165
|
self.value = params.get("value")
|
|
1144
1166
|
|
|
1145
1167
|
|
|
1168
|
+
class InquiryPriceModifyInstanceTypeRequest(AbstractModel):
|
|
1169
|
+
def __init__(self):
|
|
1170
|
+
self.instanceId = None
|
|
1171
|
+
self.instanceType = None
|
|
1172
|
+
|
|
1173
|
+
def _deserialize(self, params):
|
|
1174
|
+
self.instanceId = params.get("instanceId")
|
|
1175
|
+
self.instanceType = params.get("instanceType")
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
class InquiryPriceModifyInstanceTypeResponse(AbstractModel):
|
|
1179
|
+
def __init__(self):
|
|
1180
|
+
self.requestId = None
|
|
1181
|
+
self.specPrice = None
|
|
1182
|
+
self.systemDiskPrice = None
|
|
1183
|
+
|
|
1184
|
+
def _deserialize(self, params):
|
|
1185
|
+
self.requestId = params.get("requestId")
|
|
1186
|
+
if params.get("specPrice") is not None:
|
|
1187
|
+
self.specPrice = PriceItem(params.get("specPrice"))
|
|
1188
|
+
if params.get("systemDiskPrice") is not None:
|
|
1189
|
+
self.systemDiskPrice = PriceItem(params.get("systemDiskPrice"))
|
|
1190
|
+
|
|
1191
|
+
|
|
1146
1192
|
class DescribeImagesRequest(AbstractModel):
|
|
1147
1193
|
def __init__(self):
|
|
1148
1194
|
self.zoneId = None
|
|
@@ -1857,6 +1903,55 @@ class DescribeDiskMonitorDataResponse(AbstractModel):
|
|
|
1857
1903
|
self.metrics.append(obj)
|
|
1858
1904
|
|
|
1859
1905
|
|
|
1906
|
+
class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
1907
|
+
def __init__(self):
|
|
1908
|
+
self.diskId = None
|
|
1909
|
+
self.diskSize = None
|
|
1910
|
+
|
|
1911
|
+
def _deserialize(self, params):
|
|
1912
|
+
self.diskId = params.get("diskId")
|
|
1913
|
+
self.diskSize = params.get("diskSize")
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
class InquiryPriceResizeDiskResponse(AbstractModel):
|
|
1917
|
+
def __init__(self):
|
|
1918
|
+
self.requestId = None
|
|
1919
|
+
self.diskPrice = None
|
|
1920
|
+
self.specPrice = None
|
|
1921
|
+
self.gpuPrice = None
|
|
1922
|
+
self.diskPerf = None
|
|
1923
|
+
|
|
1924
|
+
def _deserialize(self, params):
|
|
1925
|
+
self.requestId = params.get("requestId")
|
|
1926
|
+
if params.get("diskPrice") is not None:
|
|
1927
|
+
self.diskPrice = PriceItem(params.get("diskPrice"))
|
|
1928
|
+
if params.get("specPrice") is not None:
|
|
1929
|
+
self.specPrice = PriceItem(params.get("specPrice"))
|
|
1930
|
+
if params.get("gpuPrice") is not None:
|
|
1931
|
+
self.gpuPrice = PriceItem(params.get("gpuPrice"))
|
|
1932
|
+
if params.get("diskPerf") is not None:
|
|
1933
|
+
self.diskPerf = DiskPerfItem(params.get("diskPerf"))
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
class DiskPerfItem(AbstractModel):
|
|
1937
|
+
def __init__(self, params=None):
|
|
1938
|
+
if params is None:
|
|
1939
|
+
params = {}
|
|
1940
|
+
if len(params) > 0:
|
|
1941
|
+
self._deserialize(params)
|
|
1942
|
+
return
|
|
1943
|
+
self.maxIops = None
|
|
1944
|
+
self.maxBandwidth = None
|
|
1945
|
+
self.iopsBurst = None
|
|
1946
|
+
self.bandwidthBurst = None
|
|
1947
|
+
|
|
1948
|
+
def _deserialize(self, params):
|
|
1949
|
+
self.maxIops = params.get("maxIops")
|
|
1950
|
+
self.maxBandwidth = params.get("maxBandwidth")
|
|
1951
|
+
self.iopsBurst = params.get("iopsBurst")
|
|
1952
|
+
self.bandwidthBurst = params.get("bandwidthBurst")
|
|
1953
|
+
|
|
1954
|
+
|
|
1860
1955
|
class DescribeSnapshotsRequest(AbstractModel):
|
|
1861
1956
|
def __init__(self):
|
|
1862
1957
|
self.snapshotIds = None
|
|
@@ -2229,6 +2324,7 @@ class DescribeNetworkInterfacesRequest(AbstractModel):
|
|
|
2229
2324
|
self.securityGroupId = None
|
|
2230
2325
|
self.tagKeys = None
|
|
2231
2326
|
self.tags = None
|
|
2327
|
+
self.nicSubnetType = None
|
|
2232
2328
|
|
|
2233
2329
|
def _deserialize(self, params):
|
|
2234
2330
|
self.nicIds = params.get("nicIds")
|
|
@@ -2249,6 +2345,7 @@ class DescribeNetworkInterfacesRequest(AbstractModel):
|
|
|
2249
2345
|
for item in params.get("tags"):
|
|
2250
2346
|
obj = Tag(item)
|
|
2251
2347
|
self.tags.append(obj)
|
|
2348
|
+
self.nicSubnetType = params.get("nicSubnetType")
|
|
2252
2349
|
|
|
2253
2350
|
|
|
2254
2351
|
class DescribeNetworkInterfacesResponse(AbstractModel):
|
|
@@ -2626,6 +2723,76 @@ class ModifyNetworkInterfacePublicIPv6BandwidthLimitModeResponse(AbstractModel):
|
|
|
2626
2723
|
self.requestId = params.get("requestId")
|
|
2627
2724
|
|
|
2628
2725
|
|
|
2726
|
+
class InquiryPriceModifyIpv6BandwidthRequest(AbstractModel):
|
|
2727
|
+
def __init__(self):
|
|
2728
|
+
self.ipv6Id = None
|
|
2729
|
+
self.bandwidth = None
|
|
2730
|
+
|
|
2731
|
+
def _deserialize(self, params):
|
|
2732
|
+
self.ipv6Id = params.get("ipv6Id")
|
|
2733
|
+
self.bandwidth = params.get("bandwidth")
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
class InquiryPriceModifyIpv6BandwidthResponse(AbstractModel):
|
|
2737
|
+
def __init__(self):
|
|
2738
|
+
self.requestId = None
|
|
2739
|
+
self.ipv6Price = None
|
|
2740
|
+
self.bandwidthPrice = None
|
|
2741
|
+
|
|
2742
|
+
def _deserialize(self, params):
|
|
2743
|
+
self.requestId = params.get("requestId")
|
|
2744
|
+
if params.get("ipv6Price") is not None:
|
|
2745
|
+
self.ipv6Price = PriceItem(params.get("ipv6Price"))
|
|
2746
|
+
if params.get("bandwidthPrice") is not None:
|
|
2747
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
class InquiryPriceChangeIpv6InternetChargeTypeRequest(AbstractModel):
|
|
2751
|
+
def __init__(self):
|
|
2752
|
+
self.ipv6Id = None
|
|
2753
|
+
self.internetChargeType = None
|
|
2754
|
+
self.bandwidth = None
|
|
2755
|
+
self.flowPackage = None
|
|
2756
|
+
self.clusterId = None
|
|
2757
|
+
|
|
2758
|
+
def _deserialize(self, params):
|
|
2759
|
+
self.ipv6Id = params.get("ipv6Id")
|
|
2760
|
+
self.internetChargeType = params.get("internetChargeType")
|
|
2761
|
+
self.bandwidth = params.get("bandwidth")
|
|
2762
|
+
self.flowPackage = params.get("flowPackage")
|
|
2763
|
+
self.clusterId = params.get("clusterId")
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
class InquiryPriceChangeIpv6InternetChargeTypeResponse(AbstractModel):
|
|
2767
|
+
def __init__(self):
|
|
2768
|
+
self.requestId = None
|
|
2769
|
+
self.ipv6Price = None
|
|
2770
|
+
self.bandwidthPrice = None
|
|
2771
|
+
|
|
2772
|
+
def _deserialize(self, params):
|
|
2773
|
+
self.requestId = params.get("requestId")
|
|
2774
|
+
if params.get("ipv6Price") is not None:
|
|
2775
|
+
self.ipv6Price = PriceItem(params.get("ipv6Price"))
|
|
2776
|
+
if params.get("bandwidthPrice") is not None:
|
|
2777
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
class UnassignNetworkInterfaceIpv6Request(AbstractModel):
|
|
2781
|
+
def __init__(self):
|
|
2782
|
+
self.nicId = None
|
|
2783
|
+
|
|
2784
|
+
def _deserialize(self, params):
|
|
2785
|
+
self.nicId = params.get("nicId")
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
class UnassignNetworkInterfaceIpv6Response(AbstractModel):
|
|
2789
|
+
def __init__(self):
|
|
2790
|
+
self.requestId = None
|
|
2791
|
+
|
|
2792
|
+
def _deserialize(self, params):
|
|
2793
|
+
self.requestId = params.get("requestId")
|
|
2794
|
+
|
|
2795
|
+
|
|
2629
2796
|
class DescribePoolsRequest(AbstractModel):
|
|
2630
2797
|
def __init__(self):
|
|
2631
2798
|
self.poolIds = None
|
|
@@ -3330,6 +3497,7 @@ class DescribeEipPriceResponse(AbstractModel):
|
|
|
3330
3497
|
self.requestId = None
|
|
3331
3498
|
self.eipPrice = None
|
|
3332
3499
|
self.bandwidthPrice = None
|
|
3500
|
+
self.bandwidthPrices = None
|
|
3333
3501
|
self.remoteBandwidthPrice = None
|
|
3334
3502
|
|
|
3335
3503
|
def _deserialize(self, params):
|
|
@@ -3338,6 +3506,11 @@ class DescribeEipPriceResponse(AbstractModel):
|
|
|
3338
3506
|
self.eipPrice = PriceItem(params.get("eipPrice"))
|
|
3339
3507
|
if params.get("bandwidthPrice") is not None:
|
|
3340
3508
|
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
3509
|
+
if params.get("bandwidthPrices") is not None:
|
|
3510
|
+
self.bandwidthPrices = []
|
|
3511
|
+
for item in params.get("bandwidthPrices"):
|
|
3512
|
+
obj = BandwidthPriceResponseItem(item)
|
|
3513
|
+
self.bandwidthPrices.append(obj)
|
|
3341
3514
|
if params.get("remoteBandwidthPrice") is not None:
|
|
3342
3515
|
self.remoteBandwidthPrice = PriceItem(params.get("remoteBandwidthPrice"))
|
|
3343
3516
|
|
|
@@ -3427,6 +3600,7 @@ class EipInfo(AbstractModel):
|
|
|
3427
3600
|
self.instanceId = None
|
|
3428
3601
|
self.bindType = None
|
|
3429
3602
|
self.flowPackage = None
|
|
3603
|
+
self.flowPackages = None
|
|
3430
3604
|
self.bandwidth = None
|
|
3431
3605
|
self.rateLimitMode = None
|
|
3432
3606
|
self.eipGeoRefs = None
|
|
@@ -3469,6 +3643,11 @@ class EipInfo(AbstractModel):
|
|
|
3469
3643
|
self.instanceId = params.get("instanceId")
|
|
3470
3644
|
self.bindType = params.get("bindType")
|
|
3471
3645
|
self.flowPackage = params.get("flowPackage")
|
|
3646
|
+
if params.get("flowPackages") is not None:
|
|
3647
|
+
self.flowPackages = []
|
|
3648
|
+
for item in params.get("flowPackages"):
|
|
3649
|
+
obj = FlowPackageResponseItem(item)
|
|
3650
|
+
self.flowPackages.append(obj)
|
|
3472
3651
|
self.bandwidth = params.get("bandwidth")
|
|
3473
3652
|
self.rateLimitMode = params.get("rateLimitMode")
|
|
3474
3653
|
if params.get("eipGeoRefs") is not None:
|
|
@@ -3491,6 +3670,21 @@ class EipInfo(AbstractModel):
|
|
|
3491
3670
|
self.tags = Tags(params.get("tags"))
|
|
3492
3671
|
|
|
3493
3672
|
|
|
3673
|
+
class FlowPackageResponseItem(AbstractModel):
|
|
3674
|
+
def __init__(self, params=None):
|
|
3675
|
+
if params is None:
|
|
3676
|
+
params = {}
|
|
3677
|
+
if len(params) > 0:
|
|
3678
|
+
self._deserialize(params)
|
|
3679
|
+
return
|
|
3680
|
+
self.trafficType = None
|
|
3681
|
+
self.flowPackage = None
|
|
3682
|
+
|
|
3683
|
+
def _deserialize(self, params):
|
|
3684
|
+
self.trafficType = params.get("trafficType")
|
|
3685
|
+
self.flowPackage = params.get("flowPackage")
|
|
3686
|
+
|
|
3687
|
+
|
|
3494
3688
|
class EipGeoInfo(AbstractModel):
|
|
3495
3689
|
def __init__(self, params=None):
|
|
3496
3690
|
if params is None:
|
|
@@ -3574,6 +3768,12 @@ class CreateEipsRequest(AbstractModel):
|
|
|
3574
3768
|
)
|
|
3575
3769
|
self.eipV4Type = params.get("eipV4Type")
|
|
3576
3770
|
self.networkLineType = params.get("networkLineType")
|
|
3771
|
+
if params.get("primaryIsp") is not None:
|
|
3772
|
+
warnings.warn(
|
|
3773
|
+
"primaryIsp 已废弃,请勿使用",
|
|
3774
|
+
DeprecationWarning,
|
|
3775
|
+
stacklevel=2
|
|
3776
|
+
)
|
|
3577
3777
|
self.primaryIsp = params.get("primaryIsp")
|
|
3578
3778
|
self.bandwidth = params.get("bandwidth")
|
|
3579
3779
|
self.cidrId = params.get("cidrId")
|
|
@@ -3886,6 +4086,7 @@ class DescribeEipTrafficRequest(AbstractModel):
|
|
|
3886
4086
|
self.endTime = None
|
|
3887
4087
|
self.step = None
|
|
3888
4088
|
self.wanIp = None
|
|
4089
|
+
self.direction = None
|
|
3889
4090
|
|
|
3890
4091
|
def _deserialize(self, params):
|
|
3891
4092
|
self.eipId = params.get("eipId")
|
|
@@ -3893,6 +4094,7 @@ class DescribeEipTrafficRequest(AbstractModel):
|
|
|
3893
4094
|
self.endTime = params.get("endTime")
|
|
3894
4095
|
self.step = params.get("step")
|
|
3895
4096
|
self.wanIp = params.get("wanIp")
|
|
4097
|
+
self.direction = params.get("direction")
|
|
3896
4098
|
|
|
3897
4099
|
|
|
3898
4100
|
class DescribeEipTrafficResponse(AbstractModel):
|
|
@@ -3953,6 +4155,7 @@ class DescribeEipMonitorDataRequest(AbstractModel):
|
|
|
3953
4155
|
self.startTime = None
|
|
3954
4156
|
self.endTime = None
|
|
3955
4157
|
self.step = None
|
|
4158
|
+
self.direction = None
|
|
3956
4159
|
|
|
3957
4160
|
def _deserialize(self, params):
|
|
3958
4161
|
self.eipId = params.get("eipId")
|
|
@@ -3960,6 +4163,7 @@ class DescribeEipMonitorDataRequest(AbstractModel):
|
|
|
3960
4163
|
self.startTime = params.get("startTime")
|
|
3961
4164
|
self.endTime = params.get("endTime")
|
|
3962
4165
|
self.step = params.get("step")
|
|
4166
|
+
self.direction = params.get("direction")
|
|
3963
4167
|
|
|
3964
4168
|
|
|
3965
4169
|
class DescribeEipMonitorDataResponse(AbstractModel):
|
|
@@ -4043,6 +4247,111 @@ class ModifyEipBandwidthLimitModeResponse(AbstractModel):
|
|
|
4043
4247
|
self.requestId = params.get("requestId")
|
|
4044
4248
|
|
|
4045
4249
|
|
|
4250
|
+
class InquiryPriceModifyEipBandwidthRequest(AbstractModel):
|
|
4251
|
+
def __init__(self):
|
|
4252
|
+
self.eipId = None
|
|
4253
|
+
self.bandwidth = None
|
|
4254
|
+
|
|
4255
|
+
def _deserialize(self, params):
|
|
4256
|
+
self.eipId = params.get("eipId")
|
|
4257
|
+
self.bandwidth = params.get("bandwidth")
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
class InquiryPriceModifyEipBandwidthResponse(AbstractModel):
|
|
4261
|
+
def __init__(self):
|
|
4262
|
+
self.requestId = None
|
|
4263
|
+
self.eipPrice = None
|
|
4264
|
+
self.bandwidthPrice = None
|
|
4265
|
+
self.bandwidthPrices = None
|
|
4266
|
+
self.remoteBandwidthPrice = None
|
|
4267
|
+
|
|
4268
|
+
def _deserialize(self, params):
|
|
4269
|
+
self.requestId = params.get("requestId")
|
|
4270
|
+
if params.get("eipPrice") is not None:
|
|
4271
|
+
self.eipPrice = PriceItem(params.get("eipPrice"))
|
|
4272
|
+
if params.get("bandwidthPrice") is not None:
|
|
4273
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
4274
|
+
if params.get("bandwidthPrices") is not None:
|
|
4275
|
+
self.bandwidthPrices = []
|
|
4276
|
+
for item in params.get("bandwidthPrices"):
|
|
4277
|
+
obj = BandwidthPriceResponseItem(item)
|
|
4278
|
+
self.bandwidthPrices.append(obj)
|
|
4279
|
+
if params.get("remoteBandwidthPrice") is not None:
|
|
4280
|
+
self.remoteBandwidthPrice = PriceItem(params.get("remoteBandwidthPrice"))
|
|
4281
|
+
|
|
4282
|
+
|
|
4283
|
+
class InquiryPriceModifyEipFlowPackageRequest(AbstractModel):
|
|
4284
|
+
def __init__(self):
|
|
4285
|
+
self.eipId = None
|
|
4286
|
+
self.flowPackage = None
|
|
4287
|
+
|
|
4288
|
+
def _deserialize(self, params):
|
|
4289
|
+
self.eipId = params.get("eipId")
|
|
4290
|
+
self.flowPackage = params.get("flowPackage")
|
|
4291
|
+
|
|
4292
|
+
|
|
4293
|
+
class InquiryPriceModifyEipFlowPackageResponse(AbstractModel):
|
|
4294
|
+
def __init__(self):
|
|
4295
|
+
self.requestId = None
|
|
4296
|
+
self.eipPrice = None
|
|
4297
|
+
self.bandwidthPrice = None
|
|
4298
|
+
self.bandwidthPrices = None
|
|
4299
|
+
self.remoteBandwidthPrice = None
|
|
4300
|
+
|
|
4301
|
+
def _deserialize(self, params):
|
|
4302
|
+
self.requestId = params.get("requestId")
|
|
4303
|
+
if params.get("eipPrice") is not None:
|
|
4304
|
+
self.eipPrice = PriceItem(params.get("eipPrice"))
|
|
4305
|
+
if params.get("bandwidthPrice") is not None:
|
|
4306
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
4307
|
+
if params.get("bandwidthPrices") is not None:
|
|
4308
|
+
self.bandwidthPrices = []
|
|
4309
|
+
for item in params.get("bandwidthPrices"):
|
|
4310
|
+
obj = BandwidthPriceResponseItem(item)
|
|
4311
|
+
self.bandwidthPrices.append(obj)
|
|
4312
|
+
if params.get("remoteBandwidthPrice") is not None:
|
|
4313
|
+
self.remoteBandwidthPrice = PriceItem(params.get("remoteBandwidthPrice"))
|
|
4314
|
+
|
|
4315
|
+
|
|
4316
|
+
class InquiryPriceChangeEipInternetChargeTypeRequest(AbstractModel):
|
|
4317
|
+
def __init__(self):
|
|
4318
|
+
self.eipId = None
|
|
4319
|
+
self.internetChargeType = None
|
|
4320
|
+
self.bandwidth = None
|
|
4321
|
+
self.flowPackage = None
|
|
4322
|
+
self.clusterId = None
|
|
4323
|
+
|
|
4324
|
+
def _deserialize(self, params):
|
|
4325
|
+
self.eipId = params.get("eipId")
|
|
4326
|
+
self.internetChargeType = params.get("internetChargeType")
|
|
4327
|
+
self.bandwidth = params.get("bandwidth")
|
|
4328
|
+
self.flowPackage = params.get("flowPackage")
|
|
4329
|
+
self.clusterId = params.get("clusterId")
|
|
4330
|
+
|
|
4331
|
+
|
|
4332
|
+
class InquiryPriceChangeEipInternetChargeTypeResponse(AbstractModel):
|
|
4333
|
+
def __init__(self):
|
|
4334
|
+
self.requestId = None
|
|
4335
|
+
self.eipPrice = None
|
|
4336
|
+
self.bandwidthPrice = None
|
|
4337
|
+
self.bandwidthPrices = None
|
|
4338
|
+
self.remoteBandwidthPrice = None
|
|
4339
|
+
|
|
4340
|
+
def _deserialize(self, params):
|
|
4341
|
+
self.requestId = params.get("requestId")
|
|
4342
|
+
if params.get("eipPrice") is not None:
|
|
4343
|
+
self.eipPrice = PriceItem(params.get("eipPrice"))
|
|
4344
|
+
if params.get("bandwidthPrice") is not None:
|
|
4345
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
4346
|
+
if params.get("bandwidthPrices") is not None:
|
|
4347
|
+
self.bandwidthPrices = []
|
|
4348
|
+
for item in params.get("bandwidthPrices"):
|
|
4349
|
+
obj = BandwidthPriceResponseItem(item)
|
|
4350
|
+
self.bandwidthPrices.append(obj)
|
|
4351
|
+
if params.get("remoteBandwidthPrice") is not None:
|
|
4352
|
+
self.remoteBandwidthPrice = PriceItem(params.get("remoteBandwidthPrice"))
|
|
4353
|
+
|
|
4354
|
+
|
|
4046
4355
|
class DescribeRoutesRequest(AbstractModel):
|
|
4047
4356
|
def __init__(self):
|
|
4048
4357
|
self.routeIds = None
|
|
@@ -5023,6 +5332,52 @@ class ModifyUnmanagedEgressIpBandwidthLimitModeResponse(AbstractModel):
|
|
|
5023
5332
|
self.requestId = params.get("requestId")
|
|
5024
5333
|
|
|
5025
5334
|
|
|
5335
|
+
class InquiryPriceModifyUnmanagedEgressIpBandwidthRequest(AbstractModel):
|
|
5336
|
+
def __init__(self):
|
|
5337
|
+
self.unmanagedEgressIpId = None
|
|
5338
|
+
self.bandwidth = None
|
|
5339
|
+
|
|
5340
|
+
def _deserialize(self, params):
|
|
5341
|
+
self.unmanagedEgressIpId = params.get("unmanagedEgressIpId")
|
|
5342
|
+
self.bandwidth = params.get("bandwidth")
|
|
5343
|
+
|
|
5344
|
+
|
|
5345
|
+
class InquiryPriceModifyUnmanagedEgressIpBandwidthResponse(AbstractModel):
|
|
5346
|
+
def __init__(self):
|
|
5347
|
+
self.requestId = None
|
|
5348
|
+
self.bandwidthPrice = None
|
|
5349
|
+
|
|
5350
|
+
def _deserialize(self, params):
|
|
5351
|
+
self.requestId = params.get("requestId")
|
|
5352
|
+
if params.get("bandwidthPrice") is not None:
|
|
5353
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
5354
|
+
|
|
5355
|
+
|
|
5356
|
+
class InquiryPriceChangeUnmanagedEgressIpInternetChargeTypeRequest(AbstractModel):
|
|
5357
|
+
def __init__(self):
|
|
5358
|
+
self.unmanagedEgressIpId = None
|
|
5359
|
+
self.internetChargeType = None
|
|
5360
|
+
self.bandwidth = None
|
|
5361
|
+
self.flowPackage = None
|
|
5362
|
+
|
|
5363
|
+
def _deserialize(self, params):
|
|
5364
|
+
self.unmanagedEgressIpId = params.get("unmanagedEgressIpId")
|
|
5365
|
+
self.internetChargeType = params.get("internetChargeType")
|
|
5366
|
+
self.bandwidth = params.get("bandwidth")
|
|
5367
|
+
self.flowPackage = params.get("flowPackage")
|
|
5368
|
+
|
|
5369
|
+
|
|
5370
|
+
class InquiryPriceChangeUnmanagedEgressIpInternetChargeTypeResponse(AbstractModel):
|
|
5371
|
+
def __init__(self):
|
|
5372
|
+
self.requestId = None
|
|
5373
|
+
self.bandwidthPrice = None
|
|
5374
|
+
|
|
5375
|
+
def _deserialize(self, params):
|
|
5376
|
+
self.requestId = params.get("requestId")
|
|
5377
|
+
if params.get("bandwidthPrice") is not None:
|
|
5378
|
+
self.bandwidthPrice = PriceItem(params.get("bandwidthPrice"))
|
|
5379
|
+
|
|
5380
|
+
|
|
5026
5381
|
class DescribeQosPolicyGroupsRequest(AbstractModel):
|
|
5027
5382
|
def __init__(self):
|
|
5028
5383
|
self.qosPolicyGroupIds = None
|
|
@@ -224,6 +224,15 @@ class ZecClient(AbstractClient):
|
|
|
224
224
|
model._deserialize(response)
|
|
225
225
|
return model
|
|
226
226
|
|
|
227
|
+
def InquiryPriceModifyInstanceType(self, request):
|
|
228
|
+
"""
|
|
229
|
+
查询变更虚拟机实例规格后的新规格价格。
|
|
230
|
+
"""
|
|
231
|
+
response = self._api_call("InquiryPriceModifyInstanceType", request)
|
|
232
|
+
model = models.InquiryPriceModifyInstanceTypeResponse()
|
|
233
|
+
model._deserialize(response)
|
|
234
|
+
return model
|
|
235
|
+
|
|
227
236
|
def DescribeImages(self, request):
|
|
228
237
|
"""
|
|
229
238
|
查询某节点支持的镜像列表。
|
|
@@ -413,6 +422,15 @@ class ZecClient(AbstractClient):
|
|
|
413
422
|
model._deserialize(response)
|
|
414
423
|
return model
|
|
415
424
|
|
|
425
|
+
def InquiryPriceResizeDisk(self, request):
|
|
426
|
+
"""
|
|
427
|
+
查询云硬盘扩容后的新价格。
|
|
428
|
+
"""
|
|
429
|
+
response = self._api_call("InquiryPriceResizeDisk", request)
|
|
430
|
+
model = models.InquiryPriceResizeDiskResponse()
|
|
431
|
+
model._deserialize(response)
|
|
432
|
+
return model
|
|
433
|
+
|
|
416
434
|
def DescribeSnapshots(self, request):
|
|
417
435
|
"""
|
|
418
436
|
查询快照的详细信息。
|
|
@@ -656,6 +674,33 @@ class ZecClient(AbstractClient):
|
|
|
656
674
|
model._deserialize(response)
|
|
657
675
|
return model
|
|
658
676
|
|
|
677
|
+
def InquiryPriceModifyIpv6Bandwidth(self, request):
|
|
678
|
+
"""
|
|
679
|
+
查询调整IPv6带宽后的价格。
|
|
680
|
+
"""
|
|
681
|
+
response = self._api_call("InquiryPriceModifyIpv6Bandwidth", request)
|
|
682
|
+
model = models.InquiryPriceModifyIpv6BandwidthResponse()
|
|
683
|
+
model._deserialize(response)
|
|
684
|
+
return model
|
|
685
|
+
|
|
686
|
+
def InquiryPriceChangeIpv6InternetChargeType(self, request):
|
|
687
|
+
"""
|
|
688
|
+
查询变更IPv6网络计费模式后的价格。
|
|
689
|
+
"""
|
|
690
|
+
response = self._api_call("InquiryPriceChangeIpv6InternetChargeType", request)
|
|
691
|
+
model = models.InquiryPriceChangeIpv6InternetChargeTypeResponse()
|
|
692
|
+
model._deserialize(response)
|
|
693
|
+
return model
|
|
694
|
+
|
|
695
|
+
def UnassignNetworkInterfaceIpv6(self, request):
|
|
696
|
+
"""
|
|
697
|
+
删除网卡IPv6。
|
|
698
|
+
"""
|
|
699
|
+
response = self._api_call("UnassignNetworkInterfaceIpv6", request)
|
|
700
|
+
model = models.UnassignNetworkInterfaceIpv6Response()
|
|
701
|
+
model._deserialize(response)
|
|
702
|
+
return model
|
|
703
|
+
|
|
659
704
|
def DescribePools(self, request):
|
|
660
705
|
"""
|
|
661
706
|
查询账户下的公网 IP 池信息,支持按 IP 池 ID、地域或名称进行筛选,支持分页查询。
|
|
@@ -980,6 +1025,33 @@ class ZecClient(AbstractClient):
|
|
|
980
1025
|
model._deserialize(response)
|
|
981
1026
|
return model
|
|
982
1027
|
|
|
1028
|
+
def InquiryPriceModifyEipBandwidth(self, request):
|
|
1029
|
+
"""
|
|
1030
|
+
查询调整EIP带宽后的价格。
|
|
1031
|
+
"""
|
|
1032
|
+
response = self._api_call("InquiryPriceModifyEipBandwidth", request)
|
|
1033
|
+
model = models.InquiryPriceModifyEipBandwidthResponse()
|
|
1034
|
+
model._deserialize(response)
|
|
1035
|
+
return model
|
|
1036
|
+
|
|
1037
|
+
def InquiryPriceModifyEipFlowPackage(self, request):
|
|
1038
|
+
"""
|
|
1039
|
+
查询调整EIP流量包后的价格。
|
|
1040
|
+
"""
|
|
1041
|
+
response = self._api_call("InquiryPriceModifyEipFlowPackage", request)
|
|
1042
|
+
model = models.InquiryPriceModifyEipFlowPackageResponse()
|
|
1043
|
+
model._deserialize(response)
|
|
1044
|
+
return model
|
|
1045
|
+
|
|
1046
|
+
def InquiryPriceChangeEipInternetChargeType(self, request):
|
|
1047
|
+
"""
|
|
1048
|
+
查询变更EIP网络计费模式后的价格。
|
|
1049
|
+
"""
|
|
1050
|
+
response = self._api_call("InquiryPriceChangeEipInternetChargeType", request)
|
|
1051
|
+
model = models.InquiryPriceChangeEipInternetChargeTypeResponse()
|
|
1052
|
+
model._deserialize(response)
|
|
1053
|
+
return model
|
|
1054
|
+
|
|
983
1055
|
def DescribeRoutes(self, request):
|
|
984
1056
|
"""
|
|
985
1057
|
查询路由列表。用户可以根据ID、名称等信息来搜索Route信息。路由列表包括系统生成的以及用户创建的路由。
|
|
@@ -1268,6 +1340,24 @@ class ZecClient(AbstractClient):
|
|
|
1268
1340
|
model._deserialize(response)
|
|
1269
1341
|
return model
|
|
1270
1342
|
|
|
1343
|
+
def InquiryPriceModifyUnmanagedEgressIpBandwidth(self, request):
|
|
1344
|
+
"""
|
|
1345
|
+
查询调整非托管出口IP带宽后的价格。
|
|
1346
|
+
"""
|
|
1347
|
+
response = self._api_call("InquiryPriceModifyUnmanagedEgressIpBandwidth", request)
|
|
1348
|
+
model = models.InquiryPriceModifyUnmanagedEgressIpBandwidthResponse()
|
|
1349
|
+
model._deserialize(response)
|
|
1350
|
+
return model
|
|
1351
|
+
|
|
1352
|
+
def InquiryPriceChangeUnmanagedEgressIpInternetChargeType(self, request):
|
|
1353
|
+
"""
|
|
1354
|
+
查询变更非托管出口IP网络计费模式后的价格。
|
|
1355
|
+
"""
|
|
1356
|
+
response = self._api_call("InquiryPriceChangeUnmanagedEgressIpInternetChargeType", request)
|
|
1357
|
+
model = models.InquiryPriceChangeUnmanagedEgressIpInternetChargeTypeResponse()
|
|
1358
|
+
model._deserialize(response)
|
|
1359
|
+
return model
|
|
1360
|
+
|
|
1271
1361
|
def DescribeQosPolicyGroups(self, request):
|
|
1272
1362
|
"""
|
|
1273
1363
|
查询一个或多个QoS策略组的详细信息。
|
|
@@ -206,6 +206,7 @@ class InquiryPriceCreateLoadBalancerResponse(AbstractModel):
|
|
|
206
206
|
self.loadBalancerInstancePrice = None
|
|
207
207
|
self.eipPrice = None
|
|
208
208
|
self.eipNetworkPrice = None
|
|
209
|
+
self.eipNetworkPrices = None
|
|
209
210
|
self.lcuPrice = None
|
|
210
211
|
|
|
211
212
|
def _deserialize(self, params):
|
|
@@ -216,6 +217,11 @@ class InquiryPriceCreateLoadBalancerResponse(AbstractModel):
|
|
|
216
217
|
self.eipPrice = PriceItem(params.get("eipPrice"))
|
|
217
218
|
if params.get("eipNetworkPrice") is not None:
|
|
218
219
|
self.eipNetworkPrice = PriceItem(params.get("eipNetworkPrice"))
|
|
220
|
+
if params.get("eipNetworkPrices") is not None:
|
|
221
|
+
self.eipNetworkPrices = []
|
|
222
|
+
for item in params.get("eipNetworkPrices"):
|
|
223
|
+
obj = BandwidthPriceResponseItem(item)
|
|
224
|
+
self.eipNetworkPrices.append(obj)
|
|
219
225
|
if params.get("lcuPrice") is not None:
|
|
220
226
|
self.lcuPrice = PriceItem(params.get("lcuPrice"))
|
|
221
227
|
|
|
@@ -278,6 +284,22 @@ class StepPrice(AbstractModel):
|
|
|
278
284
|
self.discountUnitPrice = params.get("discountUnitPrice")
|
|
279
285
|
|
|
280
286
|
|
|
287
|
+
class BandwidthPriceResponseItem(AbstractModel):
|
|
288
|
+
def __init__(self, params=None):
|
|
289
|
+
if params is None:
|
|
290
|
+
params = {}
|
|
291
|
+
if len(params) > 0:
|
|
292
|
+
self._deserialize(params)
|
|
293
|
+
return
|
|
294
|
+
self.trafficType = None
|
|
295
|
+
self.price = None
|
|
296
|
+
|
|
297
|
+
def _deserialize(self, params):
|
|
298
|
+
self.trafficType = params.get("trafficType")
|
|
299
|
+
if params.get("price") is not None:
|
|
300
|
+
self.price = PriceItem(params.get("price"))
|
|
301
|
+
|
|
302
|
+
|
|
281
303
|
class CreateLoadBalancerRequest(AbstractModel):
|
|
282
304
|
def __init__(self):
|
|
283
305
|
self.regionId = None
|
|
@@ -463,6 +485,7 @@ class DescribeLoadBalancerMonitorDataRequest(AbstractModel):
|
|
|
463
485
|
self.metricType = None
|
|
464
486
|
self.startTime = None
|
|
465
487
|
self.endTime = None
|
|
488
|
+
self.step = None
|
|
466
489
|
|
|
467
490
|
def _deserialize(self, params):
|
|
468
491
|
self.loadBalancerId = params.get("loadBalancerId")
|
|
@@ -470,6 +493,7 @@ class DescribeLoadBalancerMonitorDataRequest(AbstractModel):
|
|
|
470
493
|
self.metricType = params.get("metricType")
|
|
471
494
|
self.startTime = params.get("startTime")
|
|
472
495
|
self.endTime = params.get("endTime")
|
|
496
|
+
self.step = params.get("step")
|
|
473
497
|
|
|
474
498
|
|
|
475
499
|
class DescribeLoadBalancerMonitorDataResponse(AbstractModel):
|
|
@@ -109,7 +109,7 @@ class ZlbClient(AbstractClient):
|
|
|
109
109
|
|
|
110
110
|
def UnbindSecurityGroupFromLoadBalancers(self, request):
|
|
111
111
|
"""
|
|
112
|
-
|
|
112
|
+
将一个或多个负载均衡实例与其绑定的安全组解除关联。
|
|
113
113
|
"""
|
|
114
114
|
response = self._api_call("UnbindSecurityGroupFromLoadBalancers", request)
|
|
115
115
|
model = models.UnbindSecurityGroupFromLoadBalancersResponse()
|
|
@@ -127,7 +127,7 @@ class ZlbClient(AbstractClient):
|
|
|
127
127
|
|
|
128
128
|
def CreateListener(self, request):
|
|
129
129
|
"""
|
|
130
|
-
|
|
130
|
+
在指定的网络型负载均衡实例中创建一个监听器,支持 TCP、UDP 协议。创建时可配置监听端口、调度算法、转发模式及健康检查策略。
|
|
131
131
|
"""
|
|
132
132
|
response = self._api_call("CreateListener", request)
|
|
133
133
|
model = models.CreateListenerResponse()
|
|
File without changes
|
|
File without changes
|
|
@@ -40,6 +40,10 @@ zenlayercloud/maintenance/__init__.py
|
|
|
40
40
|
zenlayercloud/maintenance/v20250310/__init__.py
|
|
41
41
|
zenlayercloud/maintenance/v20250310/maintenance_client.py
|
|
42
42
|
zenlayercloud/maintenance/v20250310/models.py
|
|
43
|
+
zenlayercloud/mcpgw/__init__.py
|
|
44
|
+
zenlayercloud/mcpgw/v20260602/__init__.py
|
|
45
|
+
zenlayercloud/mcpgw/v20260602/mcpgw_client.py
|
|
46
|
+
zenlayercloud/mcpgw/v20260602/models.py
|
|
43
47
|
zenlayercloud/pvtdns/__init__.py
|
|
44
48
|
zenlayercloud/pvtdns/v20251101/__init__.py
|
|
45
49
|
zenlayercloud/pvtdns/v20251101/models.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/aigw/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/alarm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/bmc/__init__.py
RENAMED
|
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.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ccs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/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.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/request.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/response.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/common/utils.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/ipt/__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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zbc/__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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zga/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.57 → zenlayercloud_sdk_python-2.0.59}/zenlayercloud/zls/__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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|