huaweicloudsdkdns 3.1.131__py2.py3-none-any.whl → 3.1.133__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 +298 -10
- huaweicloudsdkdns/v2/dns_client.py +298 -10
- huaweicloudsdkdns/v2/model/__init__.py +20 -5
- 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_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +3 -3
- 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 +3 -3
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +3 -3
- 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 +97 -10
- 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 +3 -3
- huaweicloudsdkdns/v2/model/public_zone_resp.py +3 -3
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- 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 +3 -3
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +3 -3
- 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/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 +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 +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/RECORD +69 -54
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.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__
|
@@ -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,7 +51,7 @@ 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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -66,7 +66,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
66
66
|
:type name: str
|
67
67
|
:param description: 对zone的描述信息。
|
68
68
|
:type description: str
|
69
|
-
:param email: 管理该zone
|
69
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
70
70
|
:type email: str
|
71
71
|
:param zone_type: zone类型,公网(public)。
|
72
72
|
:type zone_type: str
|
@@ -217,7 +217,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
217
217
|
def email(self):
|
218
218
|
"""Gets the email of this CreatePublicZoneResponse.
|
219
219
|
|
220
|
-
管理该zone
|
220
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
221
221
|
|
222
222
|
:return: The email of this CreatePublicZoneResponse.
|
223
223
|
:rtype: str
|
@@ -228,7 +228,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
228
228
|
def email(self, email):
|
229
229
|
"""Sets the email of this CreatePublicZoneResponse.
|
230
230
|
|
231
|
-
管理该zone
|
231
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
232
232
|
|
233
233
|
:param email: The email of this CreatePublicZoneResponse.
|
234
234
|
:type email: str
|
@@ -47,7 +47,7 @@ class CreateRecordSetRequestBody:
|
|
47
47
|
:type description: str
|
48
48
|
:param type: Record Set的类型。 公网域名场景的记录类型: A、AAAA、MX、CNAME、TXT、NS、SRV、CAA。 内网域名场景的记录类型: A、AAAA、MX、CNAME、TXT、SRV。
|
49
49
|
:type type: str
|
50
|
-
:param status:
|
50
|
+
:param status: 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
51
51
|
:type status: str
|
52
52
|
:param ttl: 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 如果您的服务地址经常更换,建议TTL值设置相对小些,反之,建议设置相对大些。
|
53
53
|
:type ttl: int
|
@@ -150,7 +150,7 @@ class CreateRecordSetRequestBody:
|
|
150
150
|
def status(self):
|
151
151
|
"""Gets the status of this CreateRecordSetRequestBody.
|
152
152
|
|
153
|
-
|
153
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
154
154
|
|
155
155
|
:return: The status of this CreateRecordSetRequestBody.
|
156
156
|
:rtype: str
|
@@ -161,7 +161,7 @@ class CreateRecordSetRequestBody:
|
|
161
161
|
def status(self, status):
|
162
162
|
"""Sets the status of this CreateRecordSetRequestBody.
|
163
163
|
|
164
|
-
|
164
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
165
165
|
|
166
166
|
:param status: The status of this CreateRecordSetRequestBody.
|
167
167
|
:type status: str
|
@@ -53,7 +53,7 @@ class CreateRecordSetWithLineRequestBody:
|
|
53
53
|
:type description: str
|
54
54
|
:param type: Record Set的类型。
|
55
55
|
:type type: str
|
56
|
-
:param status:
|
56
|
+
:param status: 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
57
57
|
:type status: str
|
58
58
|
:param ttl: 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
59
59
|
:type ttl: int
|
@@ -172,7 +172,7 @@ class CreateRecordSetWithLineRequestBody:
|
|
172
172
|
def status(self):
|
173
173
|
"""Gets the status of this CreateRecordSetWithLineRequestBody.
|
174
174
|
|
175
|
-
|
175
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
176
176
|
|
177
177
|
:return: The status of this CreateRecordSetWithLineRequestBody.
|
178
178
|
:rtype: str
|
@@ -183,7 +183,7 @@ class CreateRecordSetWithLineRequestBody:
|
|
183
183
|
def status(self, status):
|
184
184
|
"""Sets the status of this CreateRecordSetWithLineRequestBody.
|
185
185
|
|
186
|
-
|
186
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
187
187
|
|
188
188
|
:param status: The status of this CreateRecordSetWithLineRequestBody.
|
189
189
|
:type status: str
|
@@ -29,7 +29,7 @@ class DeleteCustomLineRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param line_id:
|
32
|
+
:param line_id: 自定义线路id
|
33
33
|
:type line_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class DeleteCustomLineRequest:
|
|
44
44
|
def line_id(self):
|
45
45
|
"""Gets the line_id of this DeleteCustomLineRequest.
|
46
46
|
|
47
|
-
|
47
|
+
自定义线路id
|
48
48
|
|
49
49
|
:return: The line_id of this DeleteCustomLineRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class DeleteCustomLineRequest:
|
|
55
55
|
def line_id(self, line_id):
|
56
56
|
"""Sets the line_id of this DeleteCustomLineRequest.
|
57
57
|
|
58
|
-
|
58
|
+
自定义线路id
|
59
59
|
|
60
60
|
:param line_id: The line_id of this DeleteCustomLineRequest.
|
61
61
|
:type line_id: str
|
@@ -29,7 +29,7 @@ class DeleteLineGroupRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param linegroup_id: 线路分组ID
|
32
|
+
:param linegroup_id: 线路分组ID
|
33
33
|
:type linegroup_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class DeleteLineGroupRequest:
|
|
44
44
|
def linegroup_id(self):
|
45
45
|
"""Gets the linegroup_id of this DeleteLineGroupRequest.
|
46
46
|
|
47
|
-
线路分组ID
|
47
|
+
线路分组ID
|
48
48
|
|
49
49
|
:return: The linegroup_id of this DeleteLineGroupRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class DeleteLineGroupRequest:
|
|
55
55
|
def linegroup_id(self, linegroup_id):
|
56
56
|
"""Sets the linegroup_id of this DeleteLineGroupRequest.
|
57
57
|
|
58
|
-
线路分组ID
|
58
|
+
线路分组ID
|
59
59
|
|
60
60
|
:param linegroup_id: The linegroup_id of this DeleteLineGroupRequest.
|
61
61
|
:type linegroup_id: str
|