huaweicloudsdkdns 3.1.85__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl
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.
- huaweicloudsdkdns/v2/__init__.py +20 -5
- huaweicloudsdkdns/v2/dns_async_client.py +299 -11
- huaweicloudsdkdns/v2/dns_client.py +299 -11
- huaweicloudsdkdns/v2/model/__init__.py +20 -5
- huaweicloudsdkdns/v2/model/associate_router_response.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +4 -4
- huaweicloudsdkdns/v2/model/{batch_update_record_set_with_line_req.py → batch_update_record_set_with_line_request_body.py} +7 -7
- huaweicloudsdkdns/v2/model/create_custom_line_request.py +4 -4
- huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +15 -15
- huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +9 -9
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/disassociate_router_response.py +6 -6
- huaweicloudsdkdns/v2/model/link.py +115 -0
- huaweicloudsdkdns/v2/model/list_custom_line_request.py +64 -6
- huaweicloudsdkdns/v2/model/list_line_groups_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +125 -9
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +100 -13
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +6 -6
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +36 -7
- huaweicloudsdkdns/v2/model/private_zone_resp.py +9 -9
- huaweicloudsdkdns/v2/model/public_zone_resp.py +6 -6
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +3 -3
- huaweicloudsdkdns/v2/model/router.py +6 -6
- huaweicloudsdkdns/v2/model/router_with_status.py +6 -6
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +4 -4
- huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +7 -7
- huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +9 -9
- huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +35 -35
- huaweicloudsdkdns/v2/model/show_resource_tag_response.py +3 -32
- huaweicloudsdkdns/v2/model/tag_values.py +6 -6
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +7 -7
- huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +15 -15
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +7 -7
- huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py} +15 -15
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +9 -9
- huaweicloudsdkdns/v2/model/update_ptr_record_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_set_req.py +4 -2
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- huaweicloudsdkdns/v2/region/dns_region.py +21 -0
- {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/RECORD +81 -66
- {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,166 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class BatchSetZonesStatusResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'links': 'Link',
|
22
|
+
'zones': 'list[ZoneData]',
|
23
|
+
'metadata': 'Metadata'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'links': 'links',
|
28
|
+
'zones': 'zones',
|
29
|
+
'metadata': 'metadata'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, links=None, zones=None, metadata=None):
|
33
|
+
"""BatchSetZonesStatusResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param links:
|
38
|
+
:type links: :class:`huaweicloudsdkdns.v2.Link`
|
39
|
+
:param zones: 设置zone的列表响应。
|
40
|
+
:type zones: list[:class:`huaweicloudsdkdns.v2.ZoneData`]
|
41
|
+
:param metadata:
|
42
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(BatchSetZonesStatusResponse, self).__init__()
|
46
|
+
|
47
|
+
self._links = None
|
48
|
+
self._zones = None
|
49
|
+
self._metadata = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if links is not None:
|
53
|
+
self.links = links
|
54
|
+
if zones is not None:
|
55
|
+
self.zones = zones
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def links(self):
|
61
|
+
"""Gets the links of this BatchSetZonesStatusResponse.
|
62
|
+
|
63
|
+
:return: The links of this BatchSetZonesStatusResponse.
|
64
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Link`
|
65
|
+
"""
|
66
|
+
return self._links
|
67
|
+
|
68
|
+
@links.setter
|
69
|
+
def links(self, links):
|
70
|
+
"""Sets the links of this BatchSetZonesStatusResponse.
|
71
|
+
|
72
|
+
:param links: The links of this BatchSetZonesStatusResponse.
|
73
|
+
:type links: :class:`huaweicloudsdkdns.v2.Link`
|
74
|
+
"""
|
75
|
+
self._links = links
|
76
|
+
|
77
|
+
@property
|
78
|
+
def zones(self):
|
79
|
+
"""Gets the zones of this BatchSetZonesStatusResponse.
|
80
|
+
|
81
|
+
设置zone的列表响应。
|
82
|
+
|
83
|
+
:return: The zones of this BatchSetZonesStatusResponse.
|
84
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.ZoneData`]
|
85
|
+
"""
|
86
|
+
return self._zones
|
87
|
+
|
88
|
+
@zones.setter
|
89
|
+
def zones(self, zones):
|
90
|
+
"""Sets the zones of this BatchSetZonesStatusResponse.
|
91
|
+
|
92
|
+
设置zone的列表响应。
|
93
|
+
|
94
|
+
:param zones: The zones of this BatchSetZonesStatusResponse.
|
95
|
+
:type zones: list[:class:`huaweicloudsdkdns.v2.ZoneData`]
|
96
|
+
"""
|
97
|
+
self._zones = zones
|
98
|
+
|
99
|
+
@property
|
100
|
+
def metadata(self):
|
101
|
+
"""Gets the metadata of this BatchSetZonesStatusResponse.
|
102
|
+
|
103
|
+
:return: The metadata of this BatchSetZonesStatusResponse.
|
104
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
105
|
+
"""
|
106
|
+
return self._metadata
|
107
|
+
|
108
|
+
@metadata.setter
|
109
|
+
def metadata(self, metadata):
|
110
|
+
"""Sets the metadata of this BatchSetZonesStatusResponse.
|
111
|
+
|
112
|
+
:param metadata: The metadata of this BatchSetZonesStatusResponse.
|
113
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
114
|
+
"""
|
115
|
+
self._metadata = metadata
|
116
|
+
|
117
|
+
def to_dict(self):
|
118
|
+
"""Returns the model properties as a dict"""
|
119
|
+
result = {}
|
120
|
+
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
122
|
+
value = getattr(self, attr)
|
123
|
+
if isinstance(value, list):
|
124
|
+
result[attr] = list(map(
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
126
|
+
value
|
127
|
+
))
|
128
|
+
elif hasattr(value, "to_dict"):
|
129
|
+
result[attr] = value.to_dict()
|
130
|
+
elif isinstance(value, dict):
|
131
|
+
result[attr] = dict(map(
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
134
|
+
value.items()
|
135
|
+
))
|
136
|
+
else:
|
137
|
+
if attr in self.sensitive_list:
|
138
|
+
result[attr] = "****"
|
139
|
+
else:
|
140
|
+
result[attr] = value
|
141
|
+
|
142
|
+
return result
|
143
|
+
|
144
|
+
def to_str(self):
|
145
|
+
"""Returns the string representation of the model"""
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
"""For `print`"""
|
155
|
+
return self.to_str()
|
156
|
+
|
157
|
+
def __eq__(self, other):
|
158
|
+
"""Returns true if both objects are equal"""
|
159
|
+
if not isinstance(other, BatchSetZonesStatusResponse):
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
"""Returns true if both objects are not equal"""
|
166
|
+
return not self == other
|
@@ -18,7 +18,7 @@ class BatchUpdateRecordSetWithLineRequest:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'zone_id': 'str',
|
21
|
-
'body': '
|
21
|
+
'body': 'BatchUpdateRecordSetWithLineRequestBody'
|
22
22
|
}
|
23
23
|
|
24
24
|
attribute_map = {
|
@@ -34,7 +34,7 @@ class BatchUpdateRecordSetWithLineRequest:
|
|
34
34
|
:param zone_id: 所属zone的ID。
|
35
35
|
:type zone_id: str
|
36
36
|
:param body: Body of the BatchUpdateRecordSetWithLineRequest
|
37
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.BatchUpdateRecordSetWithLineRequestBody`
|
38
38
|
"""
|
39
39
|
|
40
40
|
|
@@ -74,7 +74,7 @@ class BatchUpdateRecordSetWithLineRequest:
|
|
74
74
|
"""Gets the body of this BatchUpdateRecordSetWithLineRequest.
|
75
75
|
|
76
76
|
:return: The body of this BatchUpdateRecordSetWithLineRequest.
|
77
|
-
:rtype: :class:`huaweicloudsdkdns.v2.
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.BatchUpdateRecordSetWithLineRequestBody`
|
78
78
|
"""
|
79
79
|
return self._body
|
80
80
|
|
@@ -83,7 +83,7 @@ class BatchUpdateRecordSetWithLineRequest:
|
|
83
83
|
"""Sets the body of this BatchUpdateRecordSetWithLineRequest.
|
84
84
|
|
85
85
|
:param body: The body of this BatchUpdateRecordSetWithLineRequest.
|
86
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.BatchUpdateRecordSetWithLineRequestBody`
|
87
87
|
"""
|
88
88
|
self._body = body
|
89
89
|
|
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class BatchUpdateRecordSetWithLineRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -25,7 +25,7 @@ class BatchUpdateRecordSetWithLineReq:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, recordsets=None):
|
28
|
-
"""
|
28
|
+
"""BatchUpdateRecordSetWithLineRequestBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -42,22 +42,22 @@ class BatchUpdateRecordSetWithLineReq:
|
|
42
42
|
|
43
43
|
@property
|
44
44
|
def recordsets(self):
|
45
|
-
"""Gets the recordsets of this
|
45
|
+
"""Gets the recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
46
46
|
|
47
47
|
RecordSet 列表。
|
48
48
|
|
49
|
-
:return: The recordsets of this
|
49
|
+
:return: The recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
50
50
|
:rtype: list[:class:`huaweicloudsdkdns.v2.BatchUpdateRecordSet`]
|
51
51
|
"""
|
52
52
|
return self._recordsets
|
53
53
|
|
54
54
|
@recordsets.setter
|
55
55
|
def recordsets(self, recordsets):
|
56
|
-
"""Sets the recordsets of this
|
56
|
+
"""Sets the recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
57
57
|
|
58
58
|
RecordSet 列表。
|
59
59
|
|
60
|
-
:param recordsets: The recordsets of this
|
60
|
+
:param recordsets: The recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
61
61
|
:type recordsets: list[:class:`huaweicloudsdkdns.v2.BatchUpdateRecordSet`]
|
62
62
|
"""
|
63
63
|
self._recordsets = recordsets
|
@@ -104,7 +104,7 @@ class BatchUpdateRecordSetWithLineReq:
|
|
104
104
|
|
105
105
|
def __eq__(self, other):
|
106
106
|
"""Returns true if both objects are equal"""
|
107
|
-
if not isinstance(other,
|
107
|
+
if not isinstance(other, BatchUpdateRecordSetWithLineRequestBody):
|
108
108
|
return False
|
109
109
|
|
110
110
|
return self.__dict__ == other.__dict__
|
@@ -17,7 +17,7 @@ class CreateCustomLineRequest:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'body': '
|
20
|
+
'body': 'CreateCustomLineRequestBody'
|
21
21
|
}
|
22
22
|
|
23
23
|
attribute_map = {
|
@@ -30,7 +30,7 @@ class CreateCustomLineRequest:
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
32
|
:param body: Body of the CreateCustomLineRequest
|
33
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
33
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateCustomLineRequestBody`
|
34
34
|
"""
|
35
35
|
|
36
36
|
|
@@ -46,7 +46,7 @@ class CreateCustomLineRequest:
|
|
46
46
|
"""Gets the body of this CreateCustomLineRequest.
|
47
47
|
|
48
48
|
:return: The body of this CreateCustomLineRequest.
|
49
|
-
:rtype: :class:`huaweicloudsdkdns.v2.
|
49
|
+
:rtype: :class:`huaweicloudsdkdns.v2.CreateCustomLineRequestBody`
|
50
50
|
"""
|
51
51
|
return self._body
|
52
52
|
|
@@ -55,7 +55,7 @@ class CreateCustomLineRequest:
|
|
55
55
|
"""Sets the body of this CreateCustomLineRequest.
|
56
56
|
|
57
57
|
:param body: The body of this CreateCustomLineRequest.
|
58
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
58
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateCustomLineRequestBody`
|
59
59
|
"""
|
60
60
|
self._body = body
|
61
61
|
|
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class CreateCustomLineRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -29,7 +29,7 @@ class CreateCustomLines:
|
|
29
29
|
}
|
30
30
|
|
31
31
|
def __init__(self, name=None, ip_segments=None, description=None):
|
32
|
-
"""
|
32
|
+
"""CreateCustomLineRequestBody
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
@@ -55,66 +55,66 @@ class CreateCustomLines:
|
|
55
55
|
|
56
56
|
@property
|
57
57
|
def name(self):
|
58
|
-
"""Gets the name of this
|
58
|
+
"""Gets the name of this CreateCustomLineRequestBody.
|
59
59
|
|
60
60
|
解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。
|
61
61
|
|
62
|
-
:return: The name of this
|
62
|
+
:return: The name of this CreateCustomLineRequestBody.
|
63
63
|
:rtype: str
|
64
64
|
"""
|
65
65
|
return self._name
|
66
66
|
|
67
67
|
@name.setter
|
68
68
|
def name(self, name):
|
69
|
-
"""Sets the name of this
|
69
|
+
"""Sets the name of this CreateCustomLineRequestBody.
|
70
70
|
|
71
71
|
解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。
|
72
72
|
|
73
|
-
:param name: The name of this
|
73
|
+
:param name: The name of this CreateCustomLineRequestBody.
|
74
74
|
:type name: str
|
75
75
|
"""
|
76
76
|
self._name = name
|
77
77
|
|
78
78
|
@property
|
79
79
|
def ip_segments(self):
|
80
|
-
"""Gets the ip_segments of this
|
80
|
+
"""Gets the ip_segments of this CreateCustomLineRequestBody.
|
81
81
|
|
82
82
|
IP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。
|
83
83
|
|
84
|
-
:return: The ip_segments of this
|
84
|
+
:return: The ip_segments of this CreateCustomLineRequestBody.
|
85
85
|
:rtype: list[str]
|
86
86
|
"""
|
87
87
|
return self._ip_segments
|
88
88
|
|
89
89
|
@ip_segments.setter
|
90
90
|
def ip_segments(self, ip_segments):
|
91
|
-
"""Sets the ip_segments of this
|
91
|
+
"""Sets the ip_segments of this CreateCustomLineRequestBody.
|
92
92
|
|
93
93
|
IP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。
|
94
94
|
|
95
|
-
:param ip_segments: The ip_segments of this
|
95
|
+
:param ip_segments: The ip_segments of this CreateCustomLineRequestBody.
|
96
96
|
:type ip_segments: list[str]
|
97
97
|
"""
|
98
98
|
self._ip_segments = ip_segments
|
99
99
|
|
100
100
|
@property
|
101
101
|
def description(self):
|
102
|
-
"""Gets the description of this
|
102
|
+
"""Gets the description of this CreateCustomLineRequestBody.
|
103
103
|
|
104
104
|
自定义线路的描述信息。长度不超过255个字符。 默认值为空。
|
105
105
|
|
106
|
-
:return: The description of this
|
106
|
+
:return: The description of this CreateCustomLineRequestBody.
|
107
107
|
:rtype: str
|
108
108
|
"""
|
109
109
|
return self._description
|
110
110
|
|
111
111
|
@description.setter
|
112
112
|
def description(self, description):
|
113
|
-
"""Sets the description of this
|
113
|
+
"""Sets the description of this CreateCustomLineRequestBody.
|
114
114
|
|
115
115
|
自定义线路的描述信息。长度不超过255个字符。 默认值为空。
|
116
116
|
|
117
|
-
:param description: The description of this
|
117
|
+
:param description: The description of this CreateCustomLineRequestBody.
|
118
118
|
:type description: str
|
119
119
|
"""
|
120
120
|
self._description = description
|
@@ -161,7 +161,7 @@ class CreateCustomLines:
|
|
161
161
|
|
162
162
|
def __eq__(self, other):
|
163
163
|
"""Returns true if both objects are equal"""
|
164
|
-
if not isinstance(other,
|
164
|
+
if not isinstance(other, CreateCustomLineRequestBody):
|
165
165
|
return False
|
166
166
|
|
167
167
|
return self.__dict__ == other.__dict__
|
@@ -35,7 +35,7 @@ class CreateEipRecordSetRequest:
|
|
35
35
|
|
36
36
|
:param region: 租户的区域信息。
|
37
37
|
:type region: str
|
38
|
-
:param floatingip_id:
|
38
|
+
:param floatingip_id: 弹性公网IP(EIP)的ID。
|
39
39
|
:type floatingip_id: str
|
40
40
|
:param body: Body of the CreateEipRecordSetRequest
|
41
41
|
:type body: :class:`huaweicloudsdkdns.v2.CreatePtrReq`
|
@@ -79,7 +79,7 @@ class CreateEipRecordSetRequest:
|
|
79
79
|
def floatingip_id(self):
|
80
80
|
"""Gets the floatingip_id of this CreateEipRecordSetRequest.
|
81
81
|
|
82
|
-
|
82
|
+
弹性公网IP(EIP)的ID。
|
83
83
|
|
84
84
|
:return: The floatingip_id of this CreateEipRecordSetRequest.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class CreateEipRecordSetRequest:
|
|
90
90
|
def floatingip_id(self, floatingip_id):
|
91
91
|
"""Sets the floatingip_id of this CreateEipRecordSetRequest.
|
92
92
|
|
93
|
-
|
93
|
+
弹性公网IP(EIP)的ID。
|
94
94
|
|
95
95
|
:param floatingip_id: The floatingip_id of this CreateEipRecordSetRequest.
|
96
96
|
:type floatingip_id: str
|
@@ -54,7 +54,7 @@ class CreateEipRecordSetResponse(SdkResponse):
|
|
54
54
|
:type description: str
|
55
55
|
:param ttl: PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
56
56
|
:type ttl: int
|
57
|
-
:param address:
|
57
|
+
:param address: 弹性公网IP的IP地址。
|
58
58
|
:type address: str
|
59
59
|
:param status: 资源状态。
|
60
60
|
:type status: str
|
@@ -190,7 +190,7 @@ class CreateEipRecordSetResponse(SdkResponse):
|
|
190
190
|
def address(self):
|
191
191
|
"""Gets the address of this CreateEipRecordSetResponse.
|
192
192
|
|
193
|
-
|
193
|
+
弹性公网IP的IP地址。
|
194
194
|
|
195
195
|
:return: The address of this CreateEipRecordSetResponse.
|
196
196
|
:rtype: str
|
@@ -201,7 +201,7 @@ class CreateEipRecordSetResponse(SdkResponse):
|
|
201
201
|
def address(self, address):
|
202
202
|
"""Sets the address of this CreateEipRecordSetResponse.
|
203
203
|
|
204
|
-
|
204
|
+
弹性公网IP的IP地址。
|
205
205
|
|
206
206
|
:param address: The address of this CreateEipRecordSetResponse.
|
207
207
|
:type address: str
|
@@ -51,13 +51,13 @@ class CreatePrivateZoneReq:
|
|
51
51
|
:type description: str
|
52
52
|
:param zone_type: 域名类型。取值:private。
|
53
53
|
:type zone_type: str
|
54
|
-
:param email: 管理该zone
|
54
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
55
55
|
:type email: str
|
56
56
|
:param ttl: 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。
|
57
57
|
:type ttl: int
|
58
58
|
:param router:
|
59
59
|
:type router: :class:`huaweicloudsdkdns.v2.Router`
|
60
|
-
:param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
60
|
+
:param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
61
61
|
:type proxy_pattern: str
|
62
62
|
:param tags: 资源标签。
|
63
63
|
:type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
|
@@ -164,7 +164,7 @@ class CreatePrivateZoneReq:
|
|
164
164
|
def email(self):
|
165
165
|
"""Gets the email of this CreatePrivateZoneReq.
|
166
166
|
|
167
|
-
管理该zone
|
167
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
168
168
|
|
169
169
|
:return: The email of this CreatePrivateZoneReq.
|
170
170
|
:rtype: str
|
@@ -175,7 +175,7 @@ class CreatePrivateZoneReq:
|
|
175
175
|
def email(self, email):
|
176
176
|
"""Sets the email of this CreatePrivateZoneReq.
|
177
177
|
|
178
|
-
管理该zone
|
178
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
179
179
|
|
180
180
|
:param email: The email of this CreatePrivateZoneReq.
|
181
181
|
:type email: str
|
@@ -226,7 +226,7 @@ class CreatePrivateZoneReq:
|
|
226
226
|
def proxy_pattern(self):
|
227
227
|
"""Gets the proxy_pattern of this CreatePrivateZoneReq.
|
228
228
|
|
229
|
-
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
229
|
+
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
230
230
|
|
231
231
|
:return: The proxy_pattern of this CreatePrivateZoneReq.
|
232
232
|
:rtype: str
|
@@ -237,7 +237,7 @@ class CreatePrivateZoneReq:
|
|
237
237
|
def proxy_pattern(self, proxy_pattern):
|
238
238
|
"""Sets the proxy_pattern of this CreatePrivateZoneReq.
|
239
239
|
|
240
|
-
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
240
|
+
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
241
241
|
|
242
242
|
:param proxy_pattern: The proxy_pattern of this CreatePrivateZoneReq.
|
243
243
|
:type proxy_pattern: str
|
@@ -68,7 +68,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
68
68
|
:type name: str
|
69
69
|
:param description: 对zone的描述信息。
|
70
70
|
:type description: str
|
71
|
-
:param email: 管理该zone
|
71
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
72
72
|
:type email: str
|
73
73
|
:param zone_type: zone类型,内网(private)。
|
74
74
|
:type zone_type: str
|
@@ -80,7 +80,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
80
80
|
:type status: str
|
81
81
|
:param record_num: 该zone下的recordset个数。
|
82
82
|
:type record_num: int
|
83
|
-
:param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
83
|
+
:param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
84
84
|
:type proxy_pattern: str
|
85
85
|
:param pool_id: 托管该zone的pool,由系统分配。
|
86
86
|
:type pool_id: str
|
@@ -92,7 +92,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
92
92
|
:type updated_at: str
|
93
93
|
:param links:
|
94
94
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
95
|
-
:param masters: 主从模式中,从DNS
|
95
|
+
:param masters: 主从模式中,从DNS服务器获取DNS信息。
|
96
96
|
:type masters: list[str]
|
97
97
|
:param router:
|
98
98
|
:type router: :class:`huaweicloudsdkdns.v2.RouterWithStatus`
|
@@ -224,7 +224,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
224
224
|
def email(self):
|
225
225
|
"""Gets the email of this CreatePrivateZoneResponse.
|
226
226
|
|
227
|
-
管理该zone
|
227
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
228
228
|
|
229
229
|
:return: The email of this CreatePrivateZoneResponse.
|
230
230
|
:rtype: str
|
@@ -235,7 +235,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
235
235
|
def email(self, email):
|
236
236
|
"""Sets the email of this CreatePrivateZoneResponse.
|
237
237
|
|
238
|
-
管理该zone
|
238
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
239
239
|
|
240
240
|
:param email: The email of this CreatePrivateZoneResponse.
|
241
241
|
:type email: str
|
@@ -356,7 +356,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
356
356
|
def proxy_pattern(self):
|
357
357
|
"""Gets the proxy_pattern of this CreatePrivateZoneResponse.
|
358
358
|
|
359
|
-
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
359
|
+
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
360
360
|
|
361
361
|
:return: The proxy_pattern of this CreatePrivateZoneResponse.
|
362
362
|
:rtype: str
|
@@ -367,7 +367,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
367
367
|
def proxy_pattern(self, proxy_pattern):
|
368
368
|
"""Sets the proxy_pattern of this CreatePrivateZoneResponse.
|
369
369
|
|
370
|
-
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
370
|
+
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
371
371
|
|
372
372
|
:param proxy_pattern: The proxy_pattern of this CreatePrivateZoneResponse.
|
373
373
|
:type proxy_pattern: str
|
@@ -484,7 +484,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
484
484
|
def masters(self):
|
485
485
|
"""Gets the masters of this CreatePrivateZoneResponse.
|
486
486
|
|
487
|
-
主从模式中,从DNS
|
487
|
+
主从模式中,从DNS服务器获取DNS信息。
|
488
488
|
|
489
489
|
:return: The masters of this CreatePrivateZoneResponse.
|
490
490
|
:rtype: list[str]
|
@@ -495,7 +495,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
495
495
|
def masters(self, masters):
|
496
496
|
"""Sets the masters of this CreatePrivateZoneResponse.
|
497
497
|
|
498
|
-
主从模式中,从DNS
|
498
|
+
主从模式中,从DNS服务器获取DNS信息。
|
499
499
|
|
500
500
|
:param masters: The masters of this CreatePrivateZoneResponse.
|
501
501
|
:type masters: list[str]
|
@@ -45,9 +45,9 @@ class CreatePublicZoneReq:
|
|
45
45
|
:type name: str
|
46
46
|
:param description: 描述
|
47
47
|
:type description: str
|
48
|
-
:param zone_type:
|
48
|
+
:param zone_type: 域名类型。取值:public。
|
49
49
|
:type zone_type: str
|
50
|
-
:param email: 管理该zone
|
50
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
51
51
|
:type email: str
|
52
52
|
:param ttl: 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位.
|
53
53
|
:type ttl: int
|
@@ -130,7 +130,7 @@ class CreatePublicZoneReq:
|
|
130
130
|
def zone_type(self):
|
131
131
|
"""Gets the zone_type of this CreatePublicZoneReq.
|
132
132
|
|
133
|
-
|
133
|
+
域名类型。取值:public。
|
134
134
|
|
135
135
|
:return: The zone_type of this CreatePublicZoneReq.
|
136
136
|
:rtype: str
|
@@ -141,7 +141,7 @@ class CreatePublicZoneReq:
|
|
141
141
|
def zone_type(self, zone_type):
|
142
142
|
"""Sets the zone_type of this CreatePublicZoneReq.
|
143
143
|
|
144
|
-
|
144
|
+
域名类型。取值:public。
|
145
145
|
|
146
146
|
:param zone_type: The zone_type of this CreatePublicZoneReq.
|
147
147
|
:type zone_type: str
|
@@ -152,7 +152,7 @@ class CreatePublicZoneReq:
|
|
152
152
|
def email(self):
|
153
153
|
"""Gets the email of this CreatePublicZoneReq.
|
154
154
|
|
155
|
-
管理该zone
|
155
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
156
156
|
|
157
157
|
:return: The email of this CreatePublicZoneReq.
|
158
158
|
:rtype: str
|
@@ -163,7 +163,7 @@ class CreatePublicZoneReq:
|
|
163
163
|
def email(self, email):
|
164
164
|
"""Sets the email of this CreatePublicZoneReq.
|
165
165
|
|
166
|
-
管理该zone
|
166
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
167
167
|
|
168
168
|
:param email: The email of this CreatePublicZoneReq.
|
169
169
|
:type email: str
|