huaweicloudsdkdrs 3.1.85__py2.py3-none-any.whl → 3.1.87__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.
- huaweicloudsdkdrs/v3/__init__.py +5 -0
- huaweicloudsdkdrs/v3/drs_async_client.py +75 -0
- huaweicloudsdkdrs/v3/drs_client.py +75 -0
- huaweicloudsdkdrs/v3/model/__init__.py +5 -0
- huaweicloudsdkdrs/v3/model/batch_job_action_req.py +6 -6
- huaweicloudsdkdrs/v3/model/create_job_req.py +32 -3
- huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py +144 -0
- huaweicloudsdkdrs/v3/model/list_available_node_types_request.py +257 -0
- huaweicloudsdkdrs/v3/model/list_available_node_types_response.py +116 -0
- huaweicloudsdkdrs/v3/model/public_ip_config.py +170 -0
- huaweicloudsdkdrs/v3/model/query_job_resp.py +90 -3
- huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py +144 -0
- huaweicloudsdkdrs/v3/model/sync_policy_req.py +32 -3
- huaweicloudsdkdrs/v5/__init__.py +2 -0
- huaweicloudsdkdrs/v5/model/__init__.py +2 -0
- huaweicloudsdkdrs/v5/model/action_params.py +28 -3
- huaweicloudsdkdrs/v5/model/action_req.py +3 -3
- huaweicloudsdkdrs/v5/model/async_create_job_req.py +32 -3
- huaweicloudsdkdrs/v5/model/base_endpoint.py +3 -3
- huaweicloudsdkdrs/v5/model/check_data_filter_response.py +32 -3
- huaweicloudsdkdrs/v5/model/collect_columns_response.py +32 -3
- huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py +32 -3
- huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py +32 -3
- huaweicloudsdkdrs/v5/model/collect_position_async_response.py +32 -3
- huaweicloudsdkdrs/v5/model/create_job_req.py +32 -3
- huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py +144 -0
- huaweicloudsdkdrs/v5/model/job_detail_resp.py +90 -3
- huaweicloudsdkdrs/v5/model/job_node_vpc_info.py +3 -3
- huaweicloudsdkdrs/v5/model/public_ip_config.py +170 -0
- huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_position_result_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py +32 -3
- huaweicloudsdkdrs/v5/model/update_data_progress_response.py +32 -3
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.87.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.87.dist-info}/RECORD +38 -31
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.87.dist-info}/WHEEL +1 -1
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.87.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.87.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class PublicIpConfig:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'str',
|
21
|
+
'public_ip': 'str',
|
22
|
+
'type': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'id': 'id',
|
27
|
+
'public_ip': 'public_ip',
|
28
|
+
'type': 'type'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, id=None, public_ip=None, type=None):
|
32
|
+
"""PublicIpConfig
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param id: 指定公网IP的ID
|
37
|
+
:type id: str
|
38
|
+
:param public_ip: 指定公网IP
|
39
|
+
:type public_ip: str
|
40
|
+
:param type: 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master
|
41
|
+
:type type: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._id = None
|
47
|
+
self._public_ip = None
|
48
|
+
self._type = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.id = id
|
52
|
+
self.public_ip = public_ip
|
53
|
+
self.type = type
|
54
|
+
|
55
|
+
@property
|
56
|
+
def id(self):
|
57
|
+
"""Gets the id of this PublicIpConfig.
|
58
|
+
|
59
|
+
指定公网IP的ID
|
60
|
+
|
61
|
+
:return: The id of this PublicIpConfig.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._id
|
65
|
+
|
66
|
+
@id.setter
|
67
|
+
def id(self, id):
|
68
|
+
"""Sets the id of this PublicIpConfig.
|
69
|
+
|
70
|
+
指定公网IP的ID
|
71
|
+
|
72
|
+
:param id: The id of this PublicIpConfig.
|
73
|
+
:type id: str
|
74
|
+
"""
|
75
|
+
self._id = id
|
76
|
+
|
77
|
+
@property
|
78
|
+
def public_ip(self):
|
79
|
+
"""Gets the public_ip of this PublicIpConfig.
|
80
|
+
|
81
|
+
指定公网IP
|
82
|
+
|
83
|
+
:return: The public_ip of this PublicIpConfig.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._public_ip
|
87
|
+
|
88
|
+
@public_ip.setter
|
89
|
+
def public_ip(self, public_ip):
|
90
|
+
"""Sets the public_ip of this PublicIpConfig.
|
91
|
+
|
92
|
+
指定公网IP
|
93
|
+
|
94
|
+
:param public_ip: The public_ip of this PublicIpConfig.
|
95
|
+
:type public_ip: str
|
96
|
+
"""
|
97
|
+
self._public_ip = public_ip
|
98
|
+
|
99
|
+
@property
|
100
|
+
def type(self):
|
101
|
+
"""Gets the type of this PublicIpConfig.
|
102
|
+
|
103
|
+
指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master
|
104
|
+
|
105
|
+
:return: The type of this PublicIpConfig.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._type
|
109
|
+
|
110
|
+
@type.setter
|
111
|
+
def type(self, type):
|
112
|
+
"""Sets the type of this PublicIpConfig.
|
113
|
+
|
114
|
+
指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master
|
115
|
+
|
116
|
+
:param type: The type of this PublicIpConfig.
|
117
|
+
:type type: str
|
118
|
+
"""
|
119
|
+
self._type = type
|
120
|
+
|
121
|
+
def to_dict(self):
|
122
|
+
"""Returns the model properties as a dict"""
|
123
|
+
result = {}
|
124
|
+
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
126
|
+
value = getattr(self, attr)
|
127
|
+
if isinstance(value, list):
|
128
|
+
result[attr] = list(map(
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
130
|
+
value
|
131
|
+
))
|
132
|
+
elif hasattr(value, "to_dict"):
|
133
|
+
result[attr] = value.to_dict()
|
134
|
+
elif isinstance(value, dict):
|
135
|
+
result[attr] = dict(map(
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
138
|
+
value.items()
|
139
|
+
))
|
140
|
+
else:
|
141
|
+
if attr in self.sensitive_list:
|
142
|
+
result[attr] = "****"
|
143
|
+
else:
|
144
|
+
result[attr] = value
|
145
|
+
|
146
|
+
return result
|
147
|
+
|
148
|
+
def to_str(self):
|
149
|
+
"""Returns the string representation of the model"""
|
150
|
+
import simplejson as json
|
151
|
+
if six.PY2:
|
152
|
+
import sys
|
153
|
+
reload(sys)
|
154
|
+
sys.setdefaultencoding("utf-8")
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, PublicIpConfig):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.__dict__ == other.__dict__
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
return not self == other
|
@@ -19,15 +19,17 @@ class ShowDataProcessingRulesResultResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'id': 'str',
|
22
|
-
'status': 'str'
|
22
|
+
'status': 'str',
|
23
|
+
'job_id': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'id': 'id',
|
27
|
-
'status': 'status'
|
28
|
+
'status': 'status',
|
29
|
+
'job_id': 'job_id'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, id=None, status=None):
|
32
|
+
def __init__(self, id=None, status=None, job_id=None):
|
31
33
|
"""ShowDataProcessingRulesResultResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class ShowDataProcessingRulesResultResponse(SdkResponse):
|
|
36
38
|
:type id: str
|
37
39
|
:param status: 查询状态
|
38
40
|
:type status: str
|
41
|
+
:param job_id: 任务ID
|
42
|
+
:type job_id: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(ShowDataProcessingRulesResultResponse, self).__init__()
|
42
46
|
|
43
47
|
self._id = None
|
44
48
|
self._status = None
|
49
|
+
self._job_id = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if id is not None:
|
48
53
|
self.id = id
|
49
54
|
if status is not None:
|
50
55
|
self.status = status
|
56
|
+
if job_id is not None:
|
57
|
+
self.job_id = job_id
|
51
58
|
|
52
59
|
@property
|
53
60
|
def id(self):
|
@@ -93,6 +100,28 @@ class ShowDataProcessingRulesResultResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this ShowDataProcessingRulesResultResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this ShowDataProcessingRulesResultResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._job_id
|
113
|
+
|
114
|
+
@job_id.setter
|
115
|
+
def job_id(self, job_id):
|
116
|
+
"""Sets the job_id of this ShowDataProcessingRulesResultResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this ShowDataProcessingRulesResultResponse.
|
121
|
+
:type job_id: str
|
122
|
+
"""
|
123
|
+
self._job_id = job_id
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|
@@ -19,15 +19,17 @@ class ShowPositionResultResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'job_id': 'str',
|
22
|
-
'position': 'str'
|
22
|
+
'position': 'str',
|
23
|
+
'status': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'job_id': 'job_id',
|
27
|
-
'position': 'position'
|
28
|
+
'position': 'position',
|
29
|
+
'status': 'status'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, job_id=None, position=None):
|
32
|
+
def __init__(self, job_id=None, position=None, status=None):
|
31
33
|
"""ShowPositionResultResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class ShowPositionResultResponse(SdkResponse):
|
|
36
38
|
:type job_id: str
|
37
39
|
:param position: 位点信息
|
38
40
|
:type position: str
|
41
|
+
:param status: 查询状态。
|
42
|
+
:type status: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(ShowPositionResultResponse, self).__init__()
|
42
46
|
|
43
47
|
self._job_id = None
|
44
48
|
self._position = None
|
49
|
+
self._status = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if job_id is not None:
|
48
53
|
self.job_id = job_id
|
49
54
|
if position is not None:
|
50
55
|
self.position = position
|
56
|
+
if status is not None:
|
57
|
+
self.status = status
|
51
58
|
|
52
59
|
@property
|
53
60
|
def job_id(self):
|
@@ -93,6 +100,28 @@ class ShowPositionResultResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._position = position
|
95
102
|
|
103
|
+
@property
|
104
|
+
def status(self):
|
105
|
+
"""Gets the status of this ShowPositionResultResponse.
|
106
|
+
|
107
|
+
查询状态。
|
108
|
+
|
109
|
+
:return: The status of this ShowPositionResultResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._status
|
113
|
+
|
114
|
+
@status.setter
|
115
|
+
def status(self, status):
|
116
|
+
"""Sets the status of this ShowPositionResultResponse.
|
117
|
+
|
118
|
+
查询状态。
|
119
|
+
|
120
|
+
:param status: The status of this ShowPositionResultResponse.
|
121
|
+
:type status: str
|
122
|
+
"""
|
123
|
+
self._status = status
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|
@@ -19,15 +19,17 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'id': 'str',
|
22
|
-
'status': 'str'
|
22
|
+
'status': 'str',
|
23
|
+
'job_id': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'id': 'id',
|
27
|
-
'status': 'status'
|
28
|
+
'status': 'status',
|
29
|
+
'job_id': 'job_id'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, id=None, status=None):
|
32
|
+
def __init__(self, id=None, status=None, job_id=None):
|
31
33
|
"""ShowUpdateObjectSavingStatusResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse):
|
|
36
38
|
:type id: str
|
37
39
|
:param status: 查询状态
|
38
40
|
:type status: str
|
41
|
+
:param job_id: 任务ID
|
42
|
+
:type job_id: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(ShowUpdateObjectSavingStatusResponse, self).__init__()
|
42
46
|
|
43
47
|
self._id = None
|
44
48
|
self._status = None
|
49
|
+
self._job_id = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if id is not None:
|
48
53
|
self.id = id
|
49
54
|
if status is not None:
|
50
55
|
self.status = status
|
56
|
+
if job_id is not None:
|
57
|
+
self.job_id = job_id
|
51
58
|
|
52
59
|
@property
|
53
60
|
def id(self):
|
@@ -93,6 +100,28 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this ShowUpdateObjectSavingStatusResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this ShowUpdateObjectSavingStatusResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._job_id
|
113
|
+
|
114
|
+
@job_id.setter
|
115
|
+
def job_id(self, job_id):
|
116
|
+
"""Sets the job_id of this ShowUpdateObjectSavingStatusResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this ShowUpdateObjectSavingStatusResponse.
|
121
|
+
:type job_id: str
|
122
|
+
"""
|
123
|
+
self._job_id = job_id
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|
@@ -19,15 +19,17 @@ class UpdateDataProgressResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'id': 'str',
|
22
|
-
'status': 'str'
|
22
|
+
'status': 'str',
|
23
|
+
'job_id': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'id': 'id',
|
27
|
-
'status': 'status'
|
28
|
+
'status': 'status',
|
29
|
+
'job_id': 'job_id'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, id=None, status=None):
|
32
|
+
def __init__(self, id=None, status=None, job_id=None):
|
31
33
|
"""UpdateDataProgressResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class UpdateDataProgressResponse(SdkResponse):
|
|
36
38
|
:type id: str
|
37
39
|
:param status: 查询状态
|
38
40
|
:type status: str
|
41
|
+
:param job_id: 任务ID
|
42
|
+
:type job_id: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(UpdateDataProgressResponse, self).__init__()
|
42
46
|
|
43
47
|
self._id = None
|
44
48
|
self._status = None
|
49
|
+
self._job_id = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if id is not None:
|
48
53
|
self.id = id
|
49
54
|
if status is not None:
|
50
55
|
self.status = status
|
56
|
+
if job_id is not None:
|
57
|
+
self.job_id = job_id
|
51
58
|
|
52
59
|
@property
|
53
60
|
def id(self):
|
@@ -93,6 +100,28 @@ class UpdateDataProgressResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this UpdateDataProgressResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this UpdateDataProgressResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._job_id
|
113
|
+
|
114
|
+
@job_id.setter
|
115
|
+
def job_id(self, job_id):
|
116
|
+
"""Sets the job_id of this UpdateDataProgressResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this UpdateDataProgressResponse.
|
121
|
+
:type job_id: str
|
122
|
+
"""
|
123
|
+
self._job_id = job_id
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkdrs
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.87
|
4
4
|
Summary: DRS
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore >=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.87
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|