huaweicloudsdkdrs 3.1.84__py2.py3-none-any.whl → 3.1.86__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_update_object_saving_status_response.py +32 -3
- huaweicloudsdkdrs/v5/model/update_data_progress_response.py +32 -3
- {huaweicloudsdkdrs-3.1.84.dist-info → huaweicloudsdkdrs-3.1.86.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.84.dist-info → huaweicloudsdkdrs-3.1.86.dist-info}/RECORD +37 -30
- {huaweicloudsdkdrs-3.1.84.dist-info → huaweicloudsdkdrs-3.1.86.dist-info}/WHEEL +1 -1
- {huaweicloudsdkdrs-3.1.84.dist-info → huaweicloudsdkdrs-3.1.86.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.84.dist-info → huaweicloudsdkdrs-3.1.86.dist-info}/top_level.txt +0 -0
@@ -19,15 +19,17 @@ class CollectDbObjectsAsyncResponse(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
|
"""CollectDbObjectsAsyncResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class CollectDbObjectsAsyncResponse(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(CollectDbObjectsAsyncResponse, 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 CollectDbObjectsAsyncResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this CollectDbObjectsAsyncResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this CollectDbObjectsAsyncResponse.
|
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 CollectDbObjectsAsyncResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this CollectDbObjectsAsyncResponse.
|
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 CollectDbObjectsInfoResponse(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
|
"""CollectDbObjectsInfoResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class CollectDbObjectsInfoResponse(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(CollectDbObjectsInfoResponse, 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 CollectDbObjectsInfoResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this CollectDbObjectsInfoResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this CollectDbObjectsInfoResponse.
|
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 CollectDbObjectsInfoResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this CollectDbObjectsInfoResponse.
|
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 CollectPositionAsyncResponse(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
|
"""CollectPositionAsyncResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
@@ -36,18 +38,23 @@ class CollectPositionAsyncResponse(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(CollectPositionAsyncResponse, 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 CollectPositionAsyncResponse(SdkResponse):
|
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this CollectPositionAsyncResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this CollectPositionAsyncResponse.
|
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 CollectPositionAsyncResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this CollectPositionAsyncResponse.
|
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 = {}
|
@@ -21,7 +21,8 @@ class CreateJobReq:
|
|
21
21
|
'source_endpoint': 'list[JobEndpointInfo]',
|
22
22
|
'target_endpoint': 'list[JobEndpointInfo]',
|
23
23
|
'period_order': 'PeriodOrderInfo',
|
24
|
-
'node_info': 'JobNodeInfo'
|
24
|
+
'node_info': 'JobNodeInfo',
|
25
|
+
'public_ip_list': 'list[PublicIpConfig]'
|
25
26
|
}
|
26
27
|
|
27
28
|
attribute_map = {
|
@@ -29,10 +30,11 @@ class CreateJobReq:
|
|
29
30
|
'source_endpoint': 'source_endpoint',
|
30
31
|
'target_endpoint': 'target_endpoint',
|
31
32
|
'period_order': 'period_order',
|
32
|
-
'node_info': 'node_info'
|
33
|
+
'node_info': 'node_info',
|
34
|
+
'public_ip_list': 'public_ip_list'
|
33
35
|
}
|
34
36
|
|
35
|
-
def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, period_order=None, node_info=None):
|
37
|
+
def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, period_order=None, node_info=None, public_ip_list=None):
|
36
38
|
"""CreateJobReq
|
37
39
|
|
38
40
|
The model defined in huaweicloud sdk
|
@@ -47,6 +49,8 @@ class CreateJobReq:
|
|
47
49
|
:type period_order: :class:`huaweicloudsdkdrs.v5.PeriodOrderInfo`
|
48
50
|
:param node_info:
|
49
51
|
:type node_info: :class:`huaweicloudsdkdrs.v5.JobNodeInfo`
|
52
|
+
:param public_ip_list: 指定公网IP的信息
|
53
|
+
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
50
54
|
"""
|
51
55
|
|
52
56
|
|
@@ -56,6 +60,7 @@ class CreateJobReq:
|
|
56
60
|
self._target_endpoint = None
|
57
61
|
self._period_order = None
|
58
62
|
self._node_info = None
|
63
|
+
self._public_ip_list = None
|
59
64
|
self.discriminator = None
|
60
65
|
|
61
66
|
self.base_info = base_info
|
@@ -64,6 +69,8 @@ class CreateJobReq:
|
|
64
69
|
if period_order is not None:
|
65
70
|
self.period_order = period_order
|
66
71
|
self.node_info = node_info
|
72
|
+
if public_ip_list is not None:
|
73
|
+
self.public_ip_list = public_ip_list
|
67
74
|
|
68
75
|
@property
|
69
76
|
def base_info(self):
|
@@ -163,6 +170,28 @@ class CreateJobReq:
|
|
163
170
|
"""
|
164
171
|
self._node_info = node_info
|
165
172
|
|
173
|
+
@property
|
174
|
+
def public_ip_list(self):
|
175
|
+
"""Gets the public_ip_list of this CreateJobReq.
|
176
|
+
|
177
|
+
指定公网IP的信息
|
178
|
+
|
179
|
+
:return: The public_ip_list of this CreateJobReq.
|
180
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
181
|
+
"""
|
182
|
+
return self._public_ip_list
|
183
|
+
|
184
|
+
@public_ip_list.setter
|
185
|
+
def public_ip_list(self, public_ip_list):
|
186
|
+
"""Sets the public_ip_list of this CreateJobReq.
|
187
|
+
|
188
|
+
指定公网IP的信息
|
189
|
+
|
190
|
+
:param public_ip_list: The public_ip_list of this CreateJobReq.
|
191
|
+
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
192
|
+
"""
|
193
|
+
self._public_ip_list = public_ip_list
|
194
|
+
|
166
195
|
def to_dict(self):
|
167
196
|
"""Returns the model properties as a dict"""
|
168
197
|
result = {}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class FailedToBindEipChildInfo:
|
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
|
+
'name': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'id': 'id',
|
26
|
+
'name': 'name'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, id=None, name=None):
|
30
|
+
"""FailedToBindEipChildInfo
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param id: 子任务ID
|
35
|
+
:type id: str
|
36
|
+
:param name: 子任务名称
|
37
|
+
:type name: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._id = None
|
43
|
+
self._name = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if id is not None:
|
47
|
+
self.id = id
|
48
|
+
if name is not None:
|
49
|
+
self.name = name
|
50
|
+
|
51
|
+
@property
|
52
|
+
def id(self):
|
53
|
+
"""Gets the id of this FailedToBindEipChildInfo.
|
54
|
+
|
55
|
+
子任务ID
|
56
|
+
|
57
|
+
:return: The id of this FailedToBindEipChildInfo.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._id
|
61
|
+
|
62
|
+
@id.setter
|
63
|
+
def id(self, id):
|
64
|
+
"""Sets the id of this FailedToBindEipChildInfo.
|
65
|
+
|
66
|
+
子任务ID
|
67
|
+
|
68
|
+
:param id: The id of this FailedToBindEipChildInfo.
|
69
|
+
:type id: str
|
70
|
+
"""
|
71
|
+
self._id = id
|
72
|
+
|
73
|
+
@property
|
74
|
+
def name(self):
|
75
|
+
"""Gets the name of this FailedToBindEipChildInfo.
|
76
|
+
|
77
|
+
子任务名称
|
78
|
+
|
79
|
+
:return: The name of this FailedToBindEipChildInfo.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._name
|
83
|
+
|
84
|
+
@name.setter
|
85
|
+
def name(self, name):
|
86
|
+
"""Sets the name of this FailedToBindEipChildInfo.
|
87
|
+
|
88
|
+
子任务名称
|
89
|
+
|
90
|
+
:param name: The name of this FailedToBindEipChildInfo.
|
91
|
+
:type name: str
|
92
|
+
"""
|
93
|
+
self._name = name
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, FailedToBindEipChildInfo):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -43,7 +43,10 @@ class JobDetailResp:
|
|
43
43
|
'support_import_file_resp': 'SupportImportFileResult',
|
44
44
|
'instance_features': 'dict(str, str)',
|
45
45
|
'task_version': 'str',
|
46
|
-
'connection_management': 'ConnectionManagement'
|
46
|
+
'connection_management': 'ConnectionManagement',
|
47
|
+
'public_ip_list': 'list[PublicIpConfig]',
|
48
|
+
'bind_public_ip_state': 'str',
|
49
|
+
'children': 'list[FailedToBindEipChildInfo]'
|
47
50
|
}
|
48
51
|
|
49
52
|
attribute_map = {
|
@@ -73,10 +76,13 @@ class JobDetailResp:
|
|
73
76
|
'support_import_file_resp': 'support_import_file_resp',
|
74
77
|
'instance_features': 'instance_features',
|
75
78
|
'task_version': 'task_version',
|
76
|
-
'connection_management': 'connection_management'
|
79
|
+
'connection_management': 'connection_management',
|
80
|
+
'public_ip_list': 'public_ip_list',
|
81
|
+
'bind_public_ip_state': 'bind_public_ip_state',
|
82
|
+
'children': 'children'
|
77
83
|
}
|
78
84
|
|
79
|
-
def __init__(self, id=None, status=None, create_time=None, total_count=None, master_job_id=None, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_param=None, tuning_params=None, period_order=None, node_info=None, logs=None, network_results=None, precheck_result=None, progress_info=None, migration_object_progress_info=None, metrics=None, compare_result=None, support_import_file_resp=None, instance_features=None, task_version=None, connection_management=None):
|
85
|
+
def __init__(self, id=None, status=None, create_time=None, total_count=None, master_job_id=None, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_param=None, tuning_params=None, period_order=None, node_info=None, logs=None, network_results=None, precheck_result=None, progress_info=None, migration_object_progress_info=None, metrics=None, compare_result=None, support_import_file_resp=None, instance_features=None, task_version=None, connection_management=None, public_ip_list=None, bind_public_ip_state=None, children=None):
|
80
86
|
"""JobDetailResp
|
81
87
|
|
82
88
|
The model defined in huaweicloud sdk
|
@@ -135,6 +141,12 @@ class JobDetailResp:
|
|
135
141
|
:type task_version: str
|
136
142
|
:param connection_management:
|
137
143
|
:type connection_management: :class:`huaweicloudsdkdrs.v5.ConnectionManagement`
|
144
|
+
:param public_ip_list: 指定公网IP的信息
|
145
|
+
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
146
|
+
:param bind_public_ip_state: 是否成功绑定公网IP
|
147
|
+
:type bind_public_ip_state: str
|
148
|
+
:param children: 多任务时,存在子任务绑定失败时,返回子任务的信息
|
149
|
+
:type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
|
138
150
|
"""
|
139
151
|
|
140
152
|
|
@@ -166,6 +178,9 @@ class JobDetailResp:
|
|
166
178
|
self._instance_features = None
|
167
179
|
self._task_version = None
|
168
180
|
self._connection_management = None
|
181
|
+
self._public_ip_list = None
|
182
|
+
self._bind_public_ip_state = None
|
183
|
+
self._children = None
|
169
184
|
self.discriminator = None
|
170
185
|
|
171
186
|
if id is not None:
|
@@ -222,6 +237,12 @@ class JobDetailResp:
|
|
222
237
|
self.task_version = task_version
|
223
238
|
if connection_management is not None:
|
224
239
|
self.connection_management = connection_management
|
240
|
+
if public_ip_list is not None:
|
241
|
+
self.public_ip_list = public_ip_list
|
242
|
+
if bind_public_ip_state is not None:
|
243
|
+
self.bind_public_ip_state = bind_public_ip_state
|
244
|
+
if children is not None:
|
245
|
+
self.children = children
|
225
246
|
|
226
247
|
@property
|
227
248
|
def id(self):
|
@@ -757,6 +778,72 @@ class JobDetailResp:
|
|
757
778
|
"""
|
758
779
|
self._connection_management = connection_management
|
759
780
|
|
781
|
+
@property
|
782
|
+
def public_ip_list(self):
|
783
|
+
"""Gets the public_ip_list of this JobDetailResp.
|
784
|
+
|
785
|
+
指定公网IP的信息
|
786
|
+
|
787
|
+
:return: The public_ip_list of this JobDetailResp.
|
788
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
789
|
+
"""
|
790
|
+
return self._public_ip_list
|
791
|
+
|
792
|
+
@public_ip_list.setter
|
793
|
+
def public_ip_list(self, public_ip_list):
|
794
|
+
"""Sets the public_ip_list of this JobDetailResp.
|
795
|
+
|
796
|
+
指定公网IP的信息
|
797
|
+
|
798
|
+
:param public_ip_list: The public_ip_list of this JobDetailResp.
|
799
|
+
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
800
|
+
"""
|
801
|
+
self._public_ip_list = public_ip_list
|
802
|
+
|
803
|
+
@property
|
804
|
+
def bind_public_ip_state(self):
|
805
|
+
"""Gets the bind_public_ip_state of this JobDetailResp.
|
806
|
+
|
807
|
+
是否成功绑定公网IP
|
808
|
+
|
809
|
+
:return: The bind_public_ip_state of this JobDetailResp.
|
810
|
+
:rtype: str
|
811
|
+
"""
|
812
|
+
return self._bind_public_ip_state
|
813
|
+
|
814
|
+
@bind_public_ip_state.setter
|
815
|
+
def bind_public_ip_state(self, bind_public_ip_state):
|
816
|
+
"""Sets the bind_public_ip_state of this JobDetailResp.
|
817
|
+
|
818
|
+
是否成功绑定公网IP
|
819
|
+
|
820
|
+
:param bind_public_ip_state: The bind_public_ip_state of this JobDetailResp.
|
821
|
+
:type bind_public_ip_state: str
|
822
|
+
"""
|
823
|
+
self._bind_public_ip_state = bind_public_ip_state
|
824
|
+
|
825
|
+
@property
|
826
|
+
def children(self):
|
827
|
+
"""Gets the children of this JobDetailResp.
|
828
|
+
|
829
|
+
多任务时,存在子任务绑定失败时,返回子任务的信息
|
830
|
+
|
831
|
+
:return: The children of this JobDetailResp.
|
832
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
|
833
|
+
"""
|
834
|
+
return self._children
|
835
|
+
|
836
|
+
@children.setter
|
837
|
+
def children(self, children):
|
838
|
+
"""Sets the children of this JobDetailResp.
|
839
|
+
|
840
|
+
多任务时,存在子任务绑定失败时,返回子任务的信息
|
841
|
+
|
842
|
+
:param children: The children of this JobDetailResp.
|
843
|
+
:type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
|
844
|
+
"""
|
845
|
+
self._children = children
|
846
|
+
|
760
847
|
def to_dict(self):
|
761
848
|
"""Returns the model properties as a dict"""
|
762
849
|
result = {}
|
@@ -39,7 +39,7 @@ class JobNodeVpcInfo:
|
|
39
39
|
:type vpc_id: str
|
40
40
|
:param subnet_id: 任务实例所在子网ID。
|
41
41
|
:type subnet_id: str
|
42
|
-
:param custom_node_ip: 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。
|
42
|
+
:param custom_node_ip: 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。
|
43
43
|
:type custom_node_ip: str
|
44
44
|
:param security_group_id: 任务实例所在的安全组ID。
|
45
45
|
:type security_group_id: str
|
@@ -108,7 +108,7 @@ class JobNodeVpcInfo:
|
|
108
108
|
def custom_node_ip(self):
|
109
109
|
"""Gets the custom_node_ip of this JobNodeVpcInfo.
|
110
110
|
|
111
|
-
指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。
|
111
|
+
指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。
|
112
112
|
|
113
113
|
:return: The custom_node_ip of this JobNodeVpcInfo.
|
114
114
|
:rtype: str
|
@@ -119,7 +119,7 @@ class JobNodeVpcInfo:
|
|
119
119
|
def custom_node_ip(self, custom_node_ip):
|
120
120
|
"""Sets the custom_node_ip of this JobNodeVpcInfo.
|
121
121
|
|
122
|
-
指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。
|
122
|
+
指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。
|
123
123
|
|
124
124
|
:param custom_node_ip: The custom_node_ip of this JobNodeVpcInfo.
|
125
125
|
:type custom_node_ip: str
|