zenlayercloud-sdk-python 2.0.34__tar.gz → 2.0.35__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.34 → zenlayercloud_sdk_python-2.0.35}/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/__init__.py +1 -1
- zenlayercloud_sdk_python-2.0.35/zenlayercloud/zdns/v20251101/models.py +414 -0
- zenlayercloud_sdk_python-2.0.35/zenlayercloud/zdns/v20251101/zdns_client.py +76 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zec/v20250901/models.py +2 -0
- zenlayercloud_sdk_python-2.0.35/zenlayercloud/zos/__init__.py +0 -0
- zenlayercloud_sdk_python-2.0.35/zenlayercloud/zos/v20251010/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud_sdk_python.egg-info/PKG-INFO +1 -1
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud_sdk_python.egg-info/SOURCES.txt +4 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/LICENSE +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/README.rst +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/setup.cfg +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/setup.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/alarm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/alarm/v20250307/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/alarm/v20250307/alarm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/alarm/v20250307/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/bmc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/bmc/v20221120/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/bmc/v20221120/bmc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/bmc/v20221120/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/ccs/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/ccs/v20250901/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/ccs/v20250901/ccs_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/ccs/v20250901/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/abstract_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/abstract_model.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/config.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/credential.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/excpetion/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/excpetion/error_code.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/excpetion/zenlayer_cloud_sdk_exception.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/request.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/response.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/utils.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/maintenance/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/maintenance/v20250310/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/maintenance/v20250310/maintenance_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/maintenance/v20250310/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/sdn/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/sdn/v20230830/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/sdn/v20230830/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/sdn/v20230830/sdn_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/traffic/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/traffic/v20240326/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/traffic/v20240326/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/traffic/v20240326/traffic_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/user/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/user/v20240529/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/user/v20240529/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/user/v20240529/user_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/vm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/vm/v20230313/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/vm/v20230313/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/vm/v20230313/vm_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zbc/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zbc/v20240809/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zbc/v20240809/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zbc/v20240809/zbc_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34/zenlayercloud/zec → zenlayercloud_sdk_python-2.0.35/zenlayercloud/zdns}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34/zenlayercloud/zec/v20250901 → zenlayercloud_sdk_python-2.0.35/zenlayercloud/zdns/v20251101}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34/zenlayercloud/zlb → zenlayercloud_sdk_python-2.0.35/zenlayercloud/zec}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zec/v20240401/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zec/v20240401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zec/v20240401/zec_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34/zenlayercloud/zlb/v20250401 → zenlayercloud_sdk_python-2.0.35/zenlayercloud/zec/v20250901}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zec/v20250901/zec_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zga/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zga/v20241104/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zga/v20241104/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zga/v20241104/zga_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34/zenlayercloud/zos → zenlayercloud_sdk_python-2.0.35/zenlayercloud/zlb}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34/zenlayercloud/zos/v20251010 → zenlayercloud_sdk_python-2.0.35/zenlayercloud/zlb/v20250401}/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zlb/v20250401/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zlb/v20250401/zlb_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zls/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zls/v20230804/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zls/v20230804/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zls/v20230804/zls_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zos/v20251010/models.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zos/v20251010/zos_client.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zrm/__init__.py +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud_sdk_python.egg-info/dependency_links.txt +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud_sdk_python.egg-info/requires.txt +0 -0
- {zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud_sdk_python.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
# Zenlayer.com Inc.
|
|
2
|
+
# Copyright (c) 2014-2024 All Rights Reserved.
|
|
3
|
+
from zenlayercloud.common.abstract_model import AbstractModel
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AddPrivateZoneRequest(AbstractModel):
|
|
7
|
+
def __init__(self):
|
|
8
|
+
self.zoneName = None
|
|
9
|
+
self.proxyPattern = None
|
|
10
|
+
self.vpcIds = None
|
|
11
|
+
self.resourceGroupId = None
|
|
12
|
+
self.remark = None
|
|
13
|
+
self.tags = None
|
|
14
|
+
|
|
15
|
+
def _deserialize(self, params):
|
|
16
|
+
self.zoneName = params.get("zoneName")
|
|
17
|
+
self.proxyPattern = params.get("proxyPattern")
|
|
18
|
+
self.vpcIds = params.get("vpcIds")
|
|
19
|
+
self.resourceGroupId = params.get("resourceGroupId")
|
|
20
|
+
self.remark = params.get("remark")
|
|
21
|
+
if params.get("tags") is not None:
|
|
22
|
+
self.tags = TagAssociation(params.get("tags"))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class TagAssociation(AbstractModel):
|
|
26
|
+
def __init__(self, params=None):
|
|
27
|
+
if params is None:
|
|
28
|
+
params = {}
|
|
29
|
+
if len(params) > 0:
|
|
30
|
+
self._deserialize(params)
|
|
31
|
+
return
|
|
32
|
+
self.tags = None
|
|
33
|
+
|
|
34
|
+
def _deserialize(self, params):
|
|
35
|
+
if params.get("tags") is not None:
|
|
36
|
+
self.tags = []
|
|
37
|
+
for item in params.get("tags"):
|
|
38
|
+
obj = Tag(item)
|
|
39
|
+
self.tags.append(obj)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class Tag(AbstractModel):
|
|
43
|
+
def __init__(self, params=None):
|
|
44
|
+
if params is None:
|
|
45
|
+
params = {}
|
|
46
|
+
if len(params) > 0:
|
|
47
|
+
self._deserialize(params)
|
|
48
|
+
return
|
|
49
|
+
self.key = None
|
|
50
|
+
self.value = None
|
|
51
|
+
|
|
52
|
+
def _deserialize(self, params):
|
|
53
|
+
self.key = params.get("key")
|
|
54
|
+
self.value = params.get("value")
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class AddPrivateZoneResponse(AbstractModel):
|
|
58
|
+
def __init__(self):
|
|
59
|
+
self.requestId = None
|
|
60
|
+
self.zoneId = None
|
|
61
|
+
|
|
62
|
+
def _deserialize(self, params):
|
|
63
|
+
self.requestId = params.get("requestId")
|
|
64
|
+
self.zoneId = params.get("zoneId")
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class DescribePrivateZonesRequest(AbstractModel):
|
|
68
|
+
def __init__(self):
|
|
69
|
+
self.zoneIds = None
|
|
70
|
+
self.vpcIds = None
|
|
71
|
+
self.zoneName = None
|
|
72
|
+
self.resourceGroupId = None
|
|
73
|
+
self.pageSize = None
|
|
74
|
+
self.pageNum = None
|
|
75
|
+
self.tagKeys = None
|
|
76
|
+
self.tags = None
|
|
77
|
+
|
|
78
|
+
def _deserialize(self, params):
|
|
79
|
+
self.zoneIds = params.get("zoneIds")
|
|
80
|
+
self.vpcIds = params.get("vpcIds")
|
|
81
|
+
self.zoneName = params.get("zoneName")
|
|
82
|
+
self.resourceGroupId = params.get("resourceGroupId")
|
|
83
|
+
self.pageSize = params.get("pageSize")
|
|
84
|
+
self.pageNum = params.get("pageNum")
|
|
85
|
+
self.tagKeys = params.get("tagKeys")
|
|
86
|
+
if params.get("tags") is not None:
|
|
87
|
+
self.tags = []
|
|
88
|
+
for item in params.get("tags"):
|
|
89
|
+
obj = Tag(item)
|
|
90
|
+
self.tags.append(obj)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class DescribePrivateZonesResponse(AbstractModel):
|
|
94
|
+
def __init__(self):
|
|
95
|
+
self.requestId = None
|
|
96
|
+
self.totalCount = None
|
|
97
|
+
self.dataSet = None
|
|
98
|
+
|
|
99
|
+
def _deserialize(self, params):
|
|
100
|
+
self.requestId = params.get("requestId")
|
|
101
|
+
self.totalCount = params.get("totalCount")
|
|
102
|
+
if params.get("dataSet") is not None:
|
|
103
|
+
self.dataSet = []
|
|
104
|
+
for item in params.get("dataSet"):
|
|
105
|
+
obj = PrivateZone(item)
|
|
106
|
+
self.dataSet.append(obj)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
class PrivateZone(AbstractModel):
|
|
110
|
+
def __init__(self, params=None):
|
|
111
|
+
if params is None:
|
|
112
|
+
params = {}
|
|
113
|
+
if len(params) > 0:
|
|
114
|
+
self._deserialize(params)
|
|
115
|
+
return
|
|
116
|
+
self.zoneId = None
|
|
117
|
+
self.zoneName = None
|
|
118
|
+
self.proxyPattern = None
|
|
119
|
+
self.remark = None
|
|
120
|
+
self.recordCount = None
|
|
121
|
+
self.vpcIds = None
|
|
122
|
+
self.tags = None
|
|
123
|
+
self.resourceGroup = None
|
|
124
|
+
self.createTime = None
|
|
125
|
+
|
|
126
|
+
def _deserialize(self, params):
|
|
127
|
+
self.zoneId = params.get("zoneId")
|
|
128
|
+
self.zoneName = params.get("zoneName")
|
|
129
|
+
self.proxyPattern = params.get("proxyPattern")
|
|
130
|
+
self.remark = params.get("remark")
|
|
131
|
+
self.recordCount = params.get("recordCount")
|
|
132
|
+
self.vpcIds = params.get("vpcIds")
|
|
133
|
+
if params.get("tags") is not None:
|
|
134
|
+
self.tags = Tags(params.get("tags"))
|
|
135
|
+
if params.get("resourceGroup") is not None:
|
|
136
|
+
self.resourceGroup = ResourceGroupInfo(params.get("resourceGroup"))
|
|
137
|
+
self.createTime = params.get("createTime")
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class Tags(AbstractModel):
|
|
141
|
+
def __init__(self, params=None):
|
|
142
|
+
if params is None:
|
|
143
|
+
params = {}
|
|
144
|
+
if len(params) > 0:
|
|
145
|
+
self._deserialize(params)
|
|
146
|
+
return
|
|
147
|
+
self.tags = None
|
|
148
|
+
|
|
149
|
+
def _deserialize(self, params):
|
|
150
|
+
if params.get("tags") is not None:
|
|
151
|
+
self.tags = []
|
|
152
|
+
for item in params.get("tags"):
|
|
153
|
+
obj = Tag(item)
|
|
154
|
+
self.tags.append(obj)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class ResourceGroupInfo(AbstractModel):
|
|
158
|
+
def __init__(self, params=None):
|
|
159
|
+
if params is None:
|
|
160
|
+
params = {}
|
|
161
|
+
if len(params) > 0:
|
|
162
|
+
self._deserialize(params)
|
|
163
|
+
return
|
|
164
|
+
self.resourceGroupId = None
|
|
165
|
+
self.resourceGroupName = None
|
|
166
|
+
|
|
167
|
+
def _deserialize(self, params):
|
|
168
|
+
self.resourceGroupId = params.get("resourceGroupId")
|
|
169
|
+
self.resourceGroupName = params.get("resourceGroupName")
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
class ModifyPrivateZoneRequest(AbstractModel):
|
|
173
|
+
def __init__(self):
|
|
174
|
+
self.zoneId = None
|
|
175
|
+
self.remark = None
|
|
176
|
+
self.proxyPattern = None
|
|
177
|
+
|
|
178
|
+
def _deserialize(self, params):
|
|
179
|
+
self.zoneId = params.get("zoneId")
|
|
180
|
+
self.remark = params.get("remark")
|
|
181
|
+
self.proxyPattern = params.get("proxyPattern")
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class ModifyPrivateZoneResponse(AbstractModel):
|
|
185
|
+
def __init__(self):
|
|
186
|
+
self.requestId = None
|
|
187
|
+
|
|
188
|
+
def _deserialize(self, params):
|
|
189
|
+
self.requestId = params.get("requestId")
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
class DeletePrivateZoneRequest(AbstractModel):
|
|
193
|
+
def __init__(self):
|
|
194
|
+
self.zoneId = None
|
|
195
|
+
|
|
196
|
+
def _deserialize(self, params):
|
|
197
|
+
self.zoneId = params.get("zoneId")
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
class DeletePrivateZoneResponse(AbstractModel):
|
|
201
|
+
def __init__(self):
|
|
202
|
+
self.requestId = None
|
|
203
|
+
|
|
204
|
+
def _deserialize(self, params):
|
|
205
|
+
self.requestId = params.get("requestId")
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
class BindPrivateZoneVpcRequest(AbstractModel):
|
|
209
|
+
def __init__(self):
|
|
210
|
+
self.zoneId = None
|
|
211
|
+
self.vpcIds = None
|
|
212
|
+
|
|
213
|
+
def _deserialize(self, params):
|
|
214
|
+
self.zoneId = params.get("zoneId")
|
|
215
|
+
self.vpcIds = params.get("vpcIds")
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
class BindPrivateZoneVpcResponse(AbstractModel):
|
|
219
|
+
def __init__(self):
|
|
220
|
+
self.requestId = None
|
|
221
|
+
|
|
222
|
+
def _deserialize(self, params):
|
|
223
|
+
self.requestId = params.get("requestId")
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class UnbindPrivateZoneVpcRequest(AbstractModel):
|
|
227
|
+
def __init__(self):
|
|
228
|
+
self.zoneId = None
|
|
229
|
+
self.vpcIds = None
|
|
230
|
+
|
|
231
|
+
def _deserialize(self, params):
|
|
232
|
+
self.zoneId = params.get("zoneId")
|
|
233
|
+
self.vpcIds = params.get("vpcIds")
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
class UnbindPrivateZoneVpcResponse(AbstractModel):
|
|
237
|
+
def __init__(self):
|
|
238
|
+
self.requestId = None
|
|
239
|
+
|
|
240
|
+
def _deserialize(self, params):
|
|
241
|
+
self.requestId = params.get("requestId")
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
class AddPrivateZoneRecordRequest(AbstractModel):
|
|
245
|
+
def __init__(self):
|
|
246
|
+
self.zoneId = None
|
|
247
|
+
self.type = None
|
|
248
|
+
self.recordName = None
|
|
249
|
+
self.value = None
|
|
250
|
+
self.weight = None
|
|
251
|
+
self.ttl = None
|
|
252
|
+
self.priority = None
|
|
253
|
+
self.remark = None
|
|
254
|
+
self.line = None
|
|
255
|
+
self.status = None
|
|
256
|
+
|
|
257
|
+
def _deserialize(self, params):
|
|
258
|
+
self.zoneId = params.get("zoneId")
|
|
259
|
+
self.type = params.get("type")
|
|
260
|
+
self.recordName = params.get("recordName")
|
|
261
|
+
self.value = params.get("value")
|
|
262
|
+
self.weight = params.get("weight")
|
|
263
|
+
self.ttl = params.get("ttl")
|
|
264
|
+
self.priority = params.get("priority")
|
|
265
|
+
self.remark = params.get("remark")
|
|
266
|
+
self.line = params.get("line")
|
|
267
|
+
self.status = params.get("status")
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
class AddPrivateZoneRecordResponse(AbstractModel):
|
|
271
|
+
def __init__(self):
|
|
272
|
+
self.requestId = None
|
|
273
|
+
self.recordId = None
|
|
274
|
+
|
|
275
|
+
def _deserialize(self, params):
|
|
276
|
+
self.requestId = params.get("requestId")
|
|
277
|
+
self.recordId = params.get("recordId")
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class DescribePrivateZoneRecordsRequest(AbstractModel):
|
|
281
|
+
def __init__(self):
|
|
282
|
+
self.zoneId = None
|
|
283
|
+
self.recordIds = None
|
|
284
|
+
self.type = None
|
|
285
|
+
self.value = None
|
|
286
|
+
self.pageSize = None
|
|
287
|
+
self.pageNum = None
|
|
288
|
+
|
|
289
|
+
def _deserialize(self, params):
|
|
290
|
+
self.zoneId = params.get("zoneId")
|
|
291
|
+
self.recordIds = params.get("recordIds")
|
|
292
|
+
self.type = params.get("type")
|
|
293
|
+
self.value = params.get("value")
|
|
294
|
+
self.pageSize = params.get("pageSize")
|
|
295
|
+
self.pageNum = params.get("pageNum")
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
class DescribePrivateZoneRecordsResponse(AbstractModel):
|
|
299
|
+
def __init__(self):
|
|
300
|
+
self.requestId = None
|
|
301
|
+
self.totalCount = None
|
|
302
|
+
self.dataSet = None
|
|
303
|
+
|
|
304
|
+
def _deserialize(self, params):
|
|
305
|
+
self.requestId = params.get("requestId")
|
|
306
|
+
self.totalCount = params.get("totalCount")
|
|
307
|
+
if params.get("dataSet") is not None:
|
|
308
|
+
self.dataSet = []
|
|
309
|
+
for item in params.get("dataSet"):
|
|
310
|
+
obj = PrivateZoneRecord(item)
|
|
311
|
+
self.dataSet.append(obj)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
class PrivateZoneRecord(AbstractModel):
|
|
315
|
+
def __init__(self, params=None):
|
|
316
|
+
if params is None:
|
|
317
|
+
params = {}
|
|
318
|
+
if len(params) > 0:
|
|
319
|
+
self._deserialize(params)
|
|
320
|
+
return
|
|
321
|
+
self.recordId = None
|
|
322
|
+
self.zoneId = None
|
|
323
|
+
self.type = None
|
|
324
|
+
self.recordName = None
|
|
325
|
+
self.value = None
|
|
326
|
+
self.weight = None
|
|
327
|
+
self.ttl = None
|
|
328
|
+
self.line = None
|
|
329
|
+
self.priority = None
|
|
330
|
+
self.remark = None
|
|
331
|
+
self.status = None
|
|
332
|
+
self.createTime = None
|
|
333
|
+
|
|
334
|
+
def _deserialize(self, params):
|
|
335
|
+
self.recordId = params.get("recordId")
|
|
336
|
+
self.zoneId = params.get("zoneId")
|
|
337
|
+
self.type = params.get("type")
|
|
338
|
+
self.recordName = params.get("recordName")
|
|
339
|
+
self.value = params.get("value")
|
|
340
|
+
self.weight = params.get("weight")
|
|
341
|
+
self.ttl = params.get("ttl")
|
|
342
|
+
self.line = params.get("line")
|
|
343
|
+
self.priority = params.get("priority")
|
|
344
|
+
self.remark = params.get("remark")
|
|
345
|
+
self.status = params.get("status")
|
|
346
|
+
self.createTime = params.get("createTime")
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
class ModifyPrivateZoneRecordRequest(AbstractModel):
|
|
350
|
+
def __init__(self):
|
|
351
|
+
self.zoneId = None
|
|
352
|
+
self.recordId = None
|
|
353
|
+
self.value = None
|
|
354
|
+
self.weight = None
|
|
355
|
+
self.ttl = None
|
|
356
|
+
self.priority = None
|
|
357
|
+
self.remark = None
|
|
358
|
+
|
|
359
|
+
def _deserialize(self, params):
|
|
360
|
+
self.zoneId = params.get("zoneId")
|
|
361
|
+
self.recordId = params.get("recordId")
|
|
362
|
+
self.value = params.get("value")
|
|
363
|
+
self.weight = params.get("weight")
|
|
364
|
+
self.ttl = params.get("ttl")
|
|
365
|
+
self.priority = params.get("priority")
|
|
366
|
+
self.remark = params.get("remark")
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
class ModifyPrivateZoneRecordResponse(AbstractModel):
|
|
370
|
+
def __init__(self):
|
|
371
|
+
self.requestId = None
|
|
372
|
+
|
|
373
|
+
def _deserialize(self, params):
|
|
374
|
+
self.requestId = params.get("requestId")
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
class ModifyPrivateZoneRecordsStatusRequest(AbstractModel):
|
|
378
|
+
def __init__(self):
|
|
379
|
+
self.zoneId = None
|
|
380
|
+
self.recordIds = None
|
|
381
|
+
self.status = None
|
|
382
|
+
|
|
383
|
+
def _deserialize(self, params):
|
|
384
|
+
self.zoneId = params.get("zoneId")
|
|
385
|
+
self.recordIds = params.get("recordIds")
|
|
386
|
+
self.status = params.get("status")
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
class ModifyPrivateZoneRecordsStatusResponse(AbstractModel):
|
|
390
|
+
def __init__(self):
|
|
391
|
+
self.requestId = None
|
|
392
|
+
|
|
393
|
+
def _deserialize(self, params):
|
|
394
|
+
self.requestId = params.get("requestId")
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
class DeletePrivateZoneRecordRequest(AbstractModel):
|
|
398
|
+
def __init__(self):
|
|
399
|
+
self.zoneId = None
|
|
400
|
+
self.recordIds = None
|
|
401
|
+
|
|
402
|
+
def _deserialize(self, params):
|
|
403
|
+
self.zoneId = params.get("zoneId")
|
|
404
|
+
self.recordIds = params.get("recordIds")
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
class DeletePrivateZoneRecordResponse(AbstractModel):
|
|
408
|
+
def __init__(self):
|
|
409
|
+
self.requestId = None
|
|
410
|
+
|
|
411
|
+
def _deserialize(self, params):
|
|
412
|
+
self.requestId = params.get("requestId")
|
|
413
|
+
|
|
414
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Zenlayer.com Inc.
|
|
2
|
+
# Copyright (c) 2014-2024 All Rights Reserved.
|
|
3
|
+
from zenlayercloud.zdns.v20251101 import models
|
|
4
|
+
from zenlayercloud.common.abstract_client import AbstractClient
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ZDNSClient(AbstractClient):
|
|
8
|
+
_api_version = "2025-11-01"
|
|
9
|
+
_service = "zdns"
|
|
10
|
+
|
|
11
|
+
def AddPrivateZone(self, request):
|
|
12
|
+
response = self._api_call("AddPrivateZone", request)
|
|
13
|
+
model = models.AddPrivateZoneResponse()
|
|
14
|
+
model._deserialize(response)
|
|
15
|
+
return model
|
|
16
|
+
|
|
17
|
+
def DescribePrivateZones(self, request):
|
|
18
|
+
response = self._api_call("DescribePrivateZones", request)
|
|
19
|
+
model = models.DescribePrivateZonesResponse()
|
|
20
|
+
model._deserialize(response)
|
|
21
|
+
return model
|
|
22
|
+
|
|
23
|
+
def ModifyPrivateZone(self, request):
|
|
24
|
+
response = self._api_call("ModifyPrivateZone", request)
|
|
25
|
+
model = models.ModifyPrivateZoneResponse()
|
|
26
|
+
model._deserialize(response)
|
|
27
|
+
return model
|
|
28
|
+
|
|
29
|
+
def DeletePrivateZone(self, request):
|
|
30
|
+
response = self._api_call("DeletePrivateZone", request)
|
|
31
|
+
model = models.DeletePrivateZoneResponse()
|
|
32
|
+
model._deserialize(response)
|
|
33
|
+
return model
|
|
34
|
+
|
|
35
|
+
def BindPrivateZoneVpc(self, request):
|
|
36
|
+
response = self._api_call("BindPrivateZoneVpc", request)
|
|
37
|
+
model = models.BindPrivateZoneVpcResponse()
|
|
38
|
+
model._deserialize(response)
|
|
39
|
+
return model
|
|
40
|
+
|
|
41
|
+
def UnbindPrivateZoneVpc(self, request):
|
|
42
|
+
response = self._api_call("UnbindPrivateZoneVpc", request)
|
|
43
|
+
model = models.UnbindPrivateZoneVpcResponse()
|
|
44
|
+
model._deserialize(response)
|
|
45
|
+
return model
|
|
46
|
+
|
|
47
|
+
def AddPrivateZoneRecord(self, request):
|
|
48
|
+
response = self._api_call("AddPrivateZoneRecord", request)
|
|
49
|
+
model = models.AddPrivateZoneRecordResponse()
|
|
50
|
+
model._deserialize(response)
|
|
51
|
+
return model
|
|
52
|
+
|
|
53
|
+
def DescribePrivateZoneRecords(self, request):
|
|
54
|
+
response = self._api_call("DescribePrivateZoneRecords", request)
|
|
55
|
+
model = models.DescribePrivateZoneRecordsResponse()
|
|
56
|
+
model._deserialize(response)
|
|
57
|
+
return model
|
|
58
|
+
|
|
59
|
+
def ModifyPrivateZoneRecord(self, request):
|
|
60
|
+
response = self._api_call("ModifyPrivateZoneRecord", request)
|
|
61
|
+
model = models.ModifyPrivateZoneRecordResponse()
|
|
62
|
+
model._deserialize(response)
|
|
63
|
+
return model
|
|
64
|
+
|
|
65
|
+
def ModifyPrivateZoneRecordsStatus(self, request):
|
|
66
|
+
response = self._api_call("ModifyPrivateZoneRecordsStatus", request)
|
|
67
|
+
model = models.ModifyPrivateZoneRecordsStatusResponse()
|
|
68
|
+
model._deserialize(response)
|
|
69
|
+
return model
|
|
70
|
+
|
|
71
|
+
def DeletePrivateZoneRecord(self, request):
|
|
72
|
+
response = self._api_call("DeletePrivateZoneRecord", request)
|
|
73
|
+
model = models.DeletePrivateZoneRecordResponse()
|
|
74
|
+
model._deserialize(response)
|
|
75
|
+
return model
|
|
76
|
+
|
|
@@ -775,6 +775,7 @@ class VpcInfo(AbstractModel):
|
|
|
775
775
|
self.usageIpv4Count = None
|
|
776
776
|
self.usageIpv6Count = None
|
|
777
777
|
self.securityGroupId = None
|
|
778
|
+
self.dnsZoneIds = None
|
|
778
779
|
self.resourceGroup = None
|
|
779
780
|
self.tags = None
|
|
780
781
|
|
|
@@ -789,6 +790,7 @@ class VpcInfo(AbstractModel):
|
|
|
789
790
|
self.usageIpv4Count = params.get("usageIpv4Count")
|
|
790
791
|
self.usageIpv6Count = params.get("usageIpv6Count")
|
|
791
792
|
self.securityGroupId = params.get("securityGroupId")
|
|
793
|
+
self.dnsZoneIds = params.get("dnsZoneIds")
|
|
792
794
|
if params.get("resourceGroup") is not None:
|
|
793
795
|
self.resourceGroup = ResourceGroupInfo(params.get("resourceGroup"))
|
|
794
796
|
if params.get("tags") is not None:
|
|
File without changes
|
|
File without changes
|
|
@@ -49,6 +49,10 @@ zenlayercloud/zbc/__init__.py
|
|
|
49
49
|
zenlayercloud/zbc/v20240809/__init__.py
|
|
50
50
|
zenlayercloud/zbc/v20240809/models.py
|
|
51
51
|
zenlayercloud/zbc/v20240809/zbc_client.py
|
|
52
|
+
zenlayercloud/zdns/__init__.py
|
|
53
|
+
zenlayercloud/zdns/v20251101/__init__.py
|
|
54
|
+
zenlayercloud/zdns/v20251101/models.py
|
|
55
|
+
zenlayercloud/zdns/v20251101/zdns_client.py
|
|
52
56
|
zenlayercloud/zec/__init__.py
|
|
53
57
|
zenlayercloud/zec/v20240401/__init__.py
|
|
54
58
|
zenlayercloud/zec/v20240401/models.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/alarm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/bmc/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/ccs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/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.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/request.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/common/response.py
RENAMED
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/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.34 → zenlayercloud_sdk_python-2.0.35}/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.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/user/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/vm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/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
|
{zenlayercloud_sdk_python-2.0.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zga/__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.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zls/__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.34 → zenlayercloud_sdk_python-2.0.35}/zenlayercloud/zrm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|