huaweicloudsdksdrs 3.1.37__py2.py3-none-any.whl → 3.1.39__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdksdrs/v1/model/add_protected_instance_nic_request.py +0 -3
- huaweicloudsdksdrs/v1/model/add_protected_instance_nic_response.py +0 -2
- huaweicloudsdksdrs/v1/model/add_protected_instance_tags_request.py +0 -3
- huaweicloudsdksdrs/v1/model/add_protected_instance_tags_response.py +0 -2
- huaweicloudsdksdrs/v1/model/attach_protected_instance_replication_request.py +0 -3
- huaweicloudsdksdrs/v1/model/attach_protected_instance_replication_response.py +0 -2
- huaweicloudsdksdrs/v1/model/batch_add_tags_request.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_add_tags_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_add_tags_response.py +0 -2
- huaweicloudsdksdrs/v1/model/batch_create_protected_instances_request.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_create_protected_instances_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_create_protected_instances_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_create_protected_instances_response.py +0 -2
- huaweicloudsdksdrs/v1/model/batch_delete_protected_instances_request.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_delete_protected_instances_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_delete_protected_instances_response.py +0 -2
- huaweicloudsdksdrs/v1/model/batch_delete_tags_request.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_delete_tags_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/batch_delete_tags_response.py +0 -2
- huaweicloudsdksdrs/v1/model/create_disaster_recovery_drill_request.py +0 -3
- huaweicloudsdksdrs/v1/model/create_disaster_recovery_drill_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/create_disaster_recovery_drill_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/create_disaster_recovery_drill_response.py +0 -2
- huaweicloudsdksdrs/v1/model/create_protected_instance_request.py +0 -3
- huaweicloudsdksdrs/v1/model/create_protected_instance_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/create_protected_instance_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/create_protected_instance_response.py +0 -2
- huaweicloudsdksdrs/v1/model/create_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/create_protection_group_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/create_protection_group_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/create_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/create_replication_request.py +0 -3
- huaweicloudsdksdrs/v1/model/create_replication_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/create_replication_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/create_replication_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_all_server_group_failure_jobs_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_all_server_group_failure_jobs_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_disaster_recovery_drill_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_disaster_recovery_drill_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_failure_job_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_failure_job_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_protected_instance_nic_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_protected_instance_nic_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_protected_instance_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_protected_instance_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_protected_instance_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_protected_instance_tag_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_protected_instance_tag_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_replication_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_replication_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_replication_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_replication_response.py +0 -2
- huaweicloudsdksdrs/v1/model/delete_resource_tag.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_server_group_failure_jobs_request.py +0 -3
- huaweicloudsdksdrs/v1/model/delete_server_group_failure_jobs_response.py +0 -2
- huaweicloudsdksdrs/v1/model/detach_protected_instance_replication_request.py +0 -3
- huaweicloudsdksdrs/v1/model/detach_protected_instance_replication_response.py +0 -2
- huaweicloudsdksdrs/v1/model/drill_server_params.py +0 -3
- huaweicloudsdksdrs/v1/model/expand_replication_request.py +0 -3
- huaweicloudsdksdrs/v1/model/expand_replication_response.py +0 -2
- huaweicloudsdksdrs/v1/model/extend_replication_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/extend_replication_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/failover_protection_group_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/failure_job_params.py +0 -3
- huaweicloudsdksdrs/v1/model/job_entities.py +0 -3
- huaweicloudsdksdrs/v1/model/list_active_active_domains_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_active_active_domains_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_api_versions_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_api_versions_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_disaster_recovery_drills_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_disaster_recovery_drills_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_failure_jobs_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_failure_jobs_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_protected_instance_tags_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_protected_instance_tags_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_protected_instances_by_tags_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_protected_instances_by_tags_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/list_protected_instances_by_tags_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_protected_instances_project_tags_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_protected_instances_project_tags_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_protected_instances_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_protected_instances_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_protection_groups_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_protection_groups_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_replications_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_replications_response.py +0 -2
- huaweicloudsdksdrs/v1/model/list_rpo_statistics_request.py +0 -3
- huaweicloudsdksdrs/v1/model/list_rpo_statistics_response.py +0 -2
- huaweicloudsdksdrs/v1/model/match_params.py +0 -3
- huaweicloudsdksdrs/v1/model/metadata_params.py +0 -3
- huaweicloudsdksdrs/v1/model/protected_instance_add_nic_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/protected_instance_add_tags_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/protected_instance_attach_replication_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/protected_instance_attach_replication_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/protected_instance_attachment.py +0 -3
- huaweicloudsdksdrs/v1/model/protected_instance_delete_nic_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/quota_params.py +0 -3
- huaweicloudsdksdrs/v1/model/quota_resource_params.py +0 -3
- huaweicloudsdksdrs/v1/model/replication_attachment.py +0 -3
- huaweicloudsdksdrs/v1/model/replication_cluster_params.py +0 -3
- huaweicloudsdksdrs/v1/model/replication_record_metadata.py +0 -3
- huaweicloudsdksdrs/v1/model/resize_protected_instance_request.py +0 -3
- huaweicloudsdksdrs/v1/model/resize_protected_instance_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/resize_protected_instance_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/resize_protected_instance_response.py +0 -2
- huaweicloudsdksdrs/v1/model/resource_id.py +0 -3
- huaweicloudsdksdrs/v1/model/resource_params.py +0 -3
- huaweicloudsdksdrs/v1/model/resource_tag.py +0 -3
- huaweicloudsdksdrs/v1/model/reverse_protection_group_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/reverse_protection_group_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/rpo_stattistics_params.py +0 -3
- huaweicloudsdksdrs/v1/model/security_groups_params.py +0 -3
- huaweicloudsdksdrs/v1/model/server_info.py +0 -3
- huaweicloudsdksdrs/v1/model/show_active_active_domain_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_api_version_links_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_api_version_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_disaster_recovery_drill_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_disaster_recovery_drill_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_disaster_recovery_drill_response.py +0 -2
- huaweicloudsdksdrs/v1/model/show_job_status_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_job_status_response.py +0 -2
- huaweicloudsdksdrs/v1/model/show_protected_instance_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_protected_instance_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_protected_instance_response.py +0 -2
- huaweicloudsdksdrs/v1/model/show_protection_group_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/show_quota_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_quota_response.py +0 -2
- huaweicloudsdksdrs/v1/model/show_replication_params.py +0 -3
- huaweicloudsdksdrs/v1/model/show_replication_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_replication_response.py +0 -2
- huaweicloudsdksdrs/v1/model/show_specified_api_version_request.py +0 -3
- huaweicloudsdksdrs/v1/model/show_specified_api_version_response.py +0 -2
- huaweicloudsdksdrs/v1/model/start_failover_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/start_failover_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/start_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/start_protection_group_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/start_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/start_reverse_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/start_reverse_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/stop_protection_group_request.py +0 -3
- huaweicloudsdksdrs/v1/model/stop_protection_group_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/stop_protection_group_response.py +0 -2
- huaweicloudsdksdrs/v1/model/sub_job_entities.py +0 -3
- huaweicloudsdksdrs/v1/model/sub_job_params.py +0 -3
- huaweicloudsdksdrs/v1/model/tag_params.py +0 -3
- huaweicloudsdksdrs/v1/model/update_disaster_recovery_drill_name_request.py +0 -3
- huaweicloudsdksdrs/v1/model/update_disaster_recovery_drill_name_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/update_disaster_recovery_drill_name_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/update_disaster_recovery_drill_name_response.py +0 -2
- huaweicloudsdksdrs/v1/model/update_protected_instance_name_request.py +0 -3
- huaweicloudsdksdrs/v1/model/update_protected_instance_name_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/update_protected_instance_name_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/update_protected_instance_name_response.py +0 -2
- huaweicloudsdksdrs/v1/model/update_protection_group_name_request.py +0 -3
- huaweicloudsdksdrs/v1/model/update_protection_group_name_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/update_protection_group_name_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/update_protection_group_name_response.py +0 -2
- huaweicloudsdksdrs/v1/model/update_replication_name_request.py +0 -3
- huaweicloudsdksdrs/v1/model/update_replication_name_request_body.py +0 -3
- huaweicloudsdksdrs/v1/model/update_replication_name_request_params.py +0 -3
- huaweicloudsdksdrs/v1/model/update_replication_name_response.py +0 -2
- huaweicloudsdksdrs/v1/sdrs_async_client.py +148 -362
- huaweicloudsdksdrs/v1/sdrs_client.py +148 -362
- {huaweicloudsdksdrs-3.1.37.dist-info → huaweicloudsdksdrs-3.1.39.dist-info}/METADATA +2 -2
- huaweicloudsdksdrs-3.1.39.dist-info/RECORD +177 -0
- huaweicloudsdksdrs-3.1.37.dist-info/RECORD +0 -177
- {huaweicloudsdksdrs-3.1.37.dist-info → huaweicloudsdksdrs-3.1.39.dist-info}/LICENSE +0 -0
- {huaweicloudsdksdrs-3.1.37.dist-info → huaweicloudsdksdrs-3.1.39.dist-info}/WHEEL +0 -0
- {huaweicloudsdksdrs-3.1.37.dist-info → huaweicloudsdksdrs-3.1.39.dist-info}/top_level.txt +0 -0
@@ -2,35 +2,17 @@
|
|
2
2
|
|
3
3
|
from __future__ import absolute_import
|
4
4
|
|
5
|
-
import datetime
|
6
|
-
import re
|
7
5
|
import importlib
|
8
6
|
|
9
|
-
import six
|
10
|
-
|
11
7
|
from huaweicloudsdkcore.client import Client, ClientBuilder
|
12
|
-
from huaweicloudsdkcore.exceptions import exceptions
|
13
8
|
from huaweicloudsdkcore.utils import http_utils
|
14
9
|
from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest
|
15
10
|
|
16
11
|
|
17
12
|
class SdrsClient(Client):
|
18
|
-
PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
|
19
|
-
NATIVE_TYPES_MAPPING = {
|
20
|
-
'int': int,
|
21
|
-
'long': int if six.PY3 else long,
|
22
|
-
'float': float,
|
23
|
-
'str': str,
|
24
|
-
'bool': bool,
|
25
|
-
'date': datetime.date,
|
26
|
-
'datetime': datetime.datetime,
|
27
|
-
'object': object,
|
28
|
-
}
|
29
|
-
|
30
13
|
def __init__(self):
|
31
14
|
super(SdrsClient, self).__init__()
|
32
15
|
self.model_package = importlib.import_module("huaweicloudsdksdrs.v1.model")
|
33
|
-
self.preset_headers = {'User-Agent': 'HuaweiCloud-SDK-Python'}
|
34
16
|
|
35
17
|
@classmethod
|
36
18
|
def new_builder(cls, clazz=None):
|
@@ -53,14 +35,10 @@ class SdrsClient(Client):
|
|
53
35
|
:type request: :class:`huaweicloudsdksdrs.v1.AddProtectedInstanceNicRequest`
|
54
36
|
:rtype: :class:`huaweicloudsdksdrs.v1.AddProtectedInstanceNicResponse`
|
55
37
|
"""
|
56
|
-
return self.
|
38
|
+
return self._add_protected_instance_nic_with_http_info(request)
|
57
39
|
|
58
|
-
def
|
59
|
-
|
60
|
-
local_var_params = {}
|
61
|
-
for attr in request.attribute_map:
|
62
|
-
if hasattr(request, attr):
|
63
|
-
local_var_params[attr] = getattr(request, attr)
|
40
|
+
def _add_protected_instance_nic_with_http_info(self, request):
|
41
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
64
42
|
|
65
43
|
cname = None
|
66
44
|
|
@@ -115,14 +93,10 @@ class SdrsClient(Client):
|
|
115
93
|
:type request: :class:`huaweicloudsdksdrs.v1.AddProtectedInstanceTagsRequest`
|
116
94
|
:rtype: :class:`huaweicloudsdksdrs.v1.AddProtectedInstanceTagsResponse`
|
117
95
|
"""
|
118
|
-
return self.
|
96
|
+
return self._add_protected_instance_tags_with_http_info(request)
|
119
97
|
|
120
|
-
def
|
121
|
-
|
122
|
-
local_var_params = {}
|
123
|
-
for attr in request.attribute_map:
|
124
|
-
if hasattr(request, attr):
|
125
|
-
local_var_params[attr] = getattr(request, attr)
|
98
|
+
def _add_protected_instance_tags_with_http_info(self, request):
|
99
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
126
100
|
|
127
101
|
cname = None
|
128
102
|
|
@@ -177,14 +151,10 @@ class SdrsClient(Client):
|
|
177
151
|
:type request: :class:`huaweicloudsdksdrs.v1.AttachProtectedInstanceReplicationRequest`
|
178
152
|
:rtype: :class:`huaweicloudsdksdrs.v1.AttachProtectedInstanceReplicationResponse`
|
179
153
|
"""
|
180
|
-
return self.
|
154
|
+
return self._attach_protected_instance_replication_with_http_info(request)
|
181
155
|
|
182
|
-
def
|
183
|
-
|
184
|
-
local_var_params = {}
|
185
|
-
for attr in request.attribute_map:
|
186
|
-
if hasattr(request, attr):
|
187
|
-
local_var_params[attr] = getattr(request, attr)
|
156
|
+
def _attach_protected_instance_replication_with_http_info(self, request):
|
157
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
188
158
|
|
189
159
|
cname = None
|
190
160
|
|
@@ -242,14 +212,10 @@ class SdrsClient(Client):
|
|
242
212
|
:type request: :class:`huaweicloudsdksdrs.v1.BatchAddTagsRequest`
|
243
213
|
:rtype: :class:`huaweicloudsdksdrs.v1.BatchAddTagsResponse`
|
244
214
|
"""
|
245
|
-
return self.
|
215
|
+
return self._batch_add_tags_with_http_info(request)
|
246
216
|
|
247
|
-
def
|
248
|
-
|
249
|
-
local_var_params = {}
|
250
|
-
for attr in request.attribute_map:
|
251
|
-
if hasattr(request, attr):
|
252
|
-
local_var_params[attr] = getattr(request, attr)
|
217
|
+
def _batch_add_tags_with_http_info(self, request):
|
218
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
253
219
|
|
254
220
|
cname = None
|
255
221
|
|
@@ -305,14 +271,10 @@ class SdrsClient(Client):
|
|
305
271
|
:type request: :class:`huaweicloudsdksdrs.v1.BatchCreateProtectedInstancesRequest`
|
306
272
|
:rtype: :class:`huaweicloudsdksdrs.v1.BatchCreateProtectedInstancesResponse`
|
307
273
|
"""
|
308
|
-
return self.
|
274
|
+
return self._batch_create_protected_instances_with_http_info(request)
|
309
275
|
|
310
|
-
def
|
311
|
-
|
312
|
-
local_var_params = {}
|
313
|
-
for attr in request.attribute_map:
|
314
|
-
if hasattr(request, attr):
|
315
|
-
local_var_params[attr] = getattr(request, attr)
|
276
|
+
def _batch_create_protected_instances_with_http_info(self, request):
|
277
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
316
278
|
|
317
279
|
cname = None
|
318
280
|
|
@@ -366,14 +328,10 @@ class SdrsClient(Client):
|
|
366
328
|
:type request: :class:`huaweicloudsdksdrs.v1.BatchDeleteProtectedInstancesRequest`
|
367
329
|
:rtype: :class:`huaweicloudsdksdrs.v1.BatchDeleteProtectedInstancesResponse`
|
368
330
|
"""
|
369
|
-
return self.
|
331
|
+
return self._batch_delete_protected_instances_with_http_info(request)
|
370
332
|
|
371
|
-
def
|
372
|
-
|
373
|
-
local_var_params = {}
|
374
|
-
for attr in request.attribute_map:
|
375
|
-
if hasattr(request, attr):
|
376
|
-
local_var_params[attr] = getattr(request, attr)
|
333
|
+
def _batch_delete_protected_instances_with_http_info(self, request):
|
334
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
377
335
|
|
378
336
|
cname = None
|
379
337
|
|
@@ -428,14 +386,10 @@ class SdrsClient(Client):
|
|
428
386
|
:type request: :class:`huaweicloudsdksdrs.v1.BatchDeleteTagsRequest`
|
429
387
|
:rtype: :class:`huaweicloudsdksdrs.v1.BatchDeleteTagsResponse`
|
430
388
|
"""
|
431
|
-
return self.
|
389
|
+
return self._batch_delete_tags_with_http_info(request)
|
432
390
|
|
433
|
-
def
|
434
|
-
|
435
|
-
local_var_params = {}
|
436
|
-
for attr in request.attribute_map:
|
437
|
-
if hasattr(request, attr):
|
438
|
-
local_var_params[attr] = getattr(request, attr)
|
391
|
+
def _batch_delete_tags_with_http_info(self, request):
|
392
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
439
393
|
|
440
394
|
cname = None
|
441
395
|
|
@@ -490,14 +444,10 @@ class SdrsClient(Client):
|
|
490
444
|
:type request: :class:`huaweicloudsdksdrs.v1.CreateDisasterRecoveryDrillRequest`
|
491
445
|
:rtype: :class:`huaweicloudsdksdrs.v1.CreateDisasterRecoveryDrillResponse`
|
492
446
|
"""
|
493
|
-
return self.
|
447
|
+
return self._create_disaster_recovery_drill_with_http_info(request)
|
494
448
|
|
495
|
-
def
|
496
|
-
|
497
|
-
local_var_params = {}
|
498
|
-
for attr in request.attribute_map:
|
499
|
-
if hasattr(request, attr):
|
500
|
-
local_var_params[attr] = getattr(request, attr)
|
449
|
+
def _create_disaster_recovery_drill_with_http_info(self, request):
|
450
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
501
451
|
|
502
452
|
cname = None
|
503
453
|
|
@@ -550,14 +500,10 @@ class SdrsClient(Client):
|
|
550
500
|
:type request: :class:`huaweicloudsdksdrs.v1.CreateProtectedInstanceRequest`
|
551
501
|
:rtype: :class:`huaweicloudsdksdrs.v1.CreateProtectedInstanceResponse`
|
552
502
|
"""
|
553
|
-
return self.
|
503
|
+
return self._create_protected_instance_with_http_info(request)
|
554
504
|
|
555
|
-
def
|
556
|
-
|
557
|
-
local_var_params = {}
|
558
|
-
for attr in request.attribute_map:
|
559
|
-
if hasattr(request, attr):
|
560
|
-
local_var_params[attr] = getattr(request, attr)
|
505
|
+
def _create_protected_instance_with_http_info(self, request):
|
506
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
561
507
|
|
562
508
|
cname = None
|
563
509
|
|
@@ -612,14 +558,10 @@ class SdrsClient(Client):
|
|
612
558
|
:type request: :class:`huaweicloudsdksdrs.v1.CreateProtectionGroupRequest`
|
613
559
|
:rtype: :class:`huaweicloudsdksdrs.v1.CreateProtectionGroupResponse`
|
614
560
|
"""
|
615
|
-
return self.
|
561
|
+
return self._create_protection_group_with_http_info(request)
|
616
562
|
|
617
|
-
def
|
618
|
-
|
619
|
-
local_var_params = {}
|
620
|
-
for attr in request.attribute_map:
|
621
|
-
if hasattr(request, attr):
|
622
|
-
local_var_params[attr] = getattr(request, attr)
|
563
|
+
def _create_protection_group_with_http_info(self, request):
|
564
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
623
565
|
|
624
566
|
cname = None
|
625
567
|
|
@@ -672,14 +614,10 @@ class SdrsClient(Client):
|
|
672
614
|
:type request: :class:`huaweicloudsdksdrs.v1.CreateReplicationRequest`
|
673
615
|
:rtype: :class:`huaweicloudsdksdrs.v1.CreateReplicationResponse`
|
674
616
|
"""
|
675
|
-
return self.
|
617
|
+
return self._create_replication_with_http_info(request)
|
676
618
|
|
677
|
-
def
|
678
|
-
|
679
|
-
local_var_params = {}
|
680
|
-
for attr in request.attribute_map:
|
681
|
-
if hasattr(request, attr):
|
682
|
-
local_var_params[attr] = getattr(request, attr)
|
619
|
+
def _create_replication_with_http_info(self, request):
|
620
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
683
621
|
|
684
622
|
cname = None
|
685
623
|
|
@@ -732,14 +670,10 @@ class SdrsClient(Client):
|
|
732
670
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteAllServerGroupFailureJobsRequest`
|
733
671
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteAllServerGroupFailureJobsResponse`
|
734
672
|
"""
|
735
|
-
return self.
|
673
|
+
return self._delete_all_server_group_failure_jobs_with_http_info(request)
|
736
674
|
|
737
|
-
def
|
738
|
-
|
739
|
-
local_var_params = {}
|
740
|
-
for attr in request.attribute_map:
|
741
|
-
if hasattr(request, attr):
|
742
|
-
local_var_params[attr] = getattr(request, attr)
|
675
|
+
def _delete_all_server_group_failure_jobs_with_http_info(self, request):
|
676
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
743
677
|
|
744
678
|
cname = None
|
745
679
|
|
@@ -792,14 +726,10 @@ class SdrsClient(Client):
|
|
792
726
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteDisasterRecoveryDrillRequest`
|
793
727
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteDisasterRecoveryDrillResponse`
|
794
728
|
"""
|
795
|
-
return self.
|
729
|
+
return self._delete_disaster_recovery_drill_with_http_info(request)
|
796
730
|
|
797
|
-
def
|
798
|
-
|
799
|
-
local_var_params = {}
|
800
|
-
for attr in request.attribute_map:
|
801
|
-
if hasattr(request, attr):
|
802
|
-
local_var_params[attr] = getattr(request, attr)
|
731
|
+
def _delete_disaster_recovery_drill_with_http_info(self, request):
|
732
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
803
733
|
|
804
734
|
cname = None
|
805
735
|
|
@@ -852,14 +782,10 @@ class SdrsClient(Client):
|
|
852
782
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteFailureJobRequest`
|
853
783
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteFailureJobResponse`
|
854
784
|
"""
|
855
|
-
return self.
|
785
|
+
return self._delete_failure_job_with_http_info(request)
|
856
786
|
|
857
|
-
def
|
858
|
-
|
859
|
-
local_var_params = {}
|
860
|
-
for attr in request.attribute_map:
|
861
|
-
if hasattr(request, attr):
|
862
|
-
local_var_params[attr] = getattr(request, attr)
|
787
|
+
def _delete_failure_job_with_http_info(self, request):
|
788
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
863
789
|
|
864
790
|
cname = None
|
865
791
|
|
@@ -912,14 +838,10 @@ class SdrsClient(Client):
|
|
912
838
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteProtectedInstanceRequest`
|
913
839
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteProtectedInstanceResponse`
|
914
840
|
"""
|
915
|
-
return self.
|
841
|
+
return self._delete_protected_instance_with_http_info(request)
|
916
842
|
|
917
|
-
def
|
918
|
-
|
919
|
-
local_var_params = {}
|
920
|
-
for attr in request.attribute_map:
|
921
|
-
if hasattr(request, attr):
|
922
|
-
local_var_params[attr] = getattr(request, attr)
|
843
|
+
def _delete_protected_instance_with_http_info(self, request):
|
844
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
923
845
|
|
924
846
|
cname = None
|
925
847
|
|
@@ -974,14 +896,10 @@ class SdrsClient(Client):
|
|
974
896
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteProtectedInstanceNicRequest`
|
975
897
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteProtectedInstanceNicResponse`
|
976
898
|
"""
|
977
|
-
return self.
|
899
|
+
return self._delete_protected_instance_nic_with_http_info(request)
|
978
900
|
|
979
|
-
def
|
980
|
-
|
981
|
-
local_var_params = {}
|
982
|
-
for attr in request.attribute_map:
|
983
|
-
if hasattr(request, attr):
|
984
|
-
local_var_params[attr] = getattr(request, attr)
|
901
|
+
def _delete_protected_instance_nic_with_http_info(self, request):
|
902
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
985
903
|
|
986
904
|
cname = None
|
987
905
|
|
@@ -1038,14 +956,10 @@ class SdrsClient(Client):
|
|
1038
956
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteProtectedInstanceTagRequest`
|
1039
957
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteProtectedInstanceTagResponse`
|
1040
958
|
"""
|
1041
|
-
return self.
|
959
|
+
return self._delete_protected_instance_tag_with_http_info(request)
|
1042
960
|
|
1043
|
-
def
|
1044
|
-
|
1045
|
-
local_var_params = {}
|
1046
|
-
for attr in request.attribute_map:
|
1047
|
-
if hasattr(request, attr):
|
1048
|
-
local_var_params[attr] = getattr(request, attr)
|
961
|
+
def _delete_protected_instance_tag_with_http_info(self, request):
|
962
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1049
963
|
|
1050
964
|
cname = None
|
1051
965
|
|
@@ -1100,14 +1014,10 @@ class SdrsClient(Client):
|
|
1100
1014
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteProtectionGroupRequest`
|
1101
1015
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteProtectionGroupResponse`
|
1102
1016
|
"""
|
1103
|
-
return self.
|
1017
|
+
return self._delete_protection_group_with_http_info(request)
|
1104
1018
|
|
1105
|
-
def
|
1106
|
-
|
1107
|
-
local_var_params = {}
|
1108
|
-
for attr in request.attribute_map:
|
1109
|
-
if hasattr(request, attr):
|
1110
|
-
local_var_params[attr] = getattr(request, attr)
|
1019
|
+
def _delete_protection_group_with_http_info(self, request):
|
1020
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1111
1021
|
|
1112
1022
|
cname = None
|
1113
1023
|
|
@@ -1160,14 +1070,10 @@ class SdrsClient(Client):
|
|
1160
1070
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteReplicationRequest`
|
1161
1071
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteReplicationResponse`
|
1162
1072
|
"""
|
1163
|
-
return self.
|
1073
|
+
return self._delete_replication_with_http_info(request)
|
1164
1074
|
|
1165
|
-
def
|
1166
|
-
|
1167
|
-
local_var_params = {}
|
1168
|
-
for attr in request.attribute_map:
|
1169
|
-
if hasattr(request, attr):
|
1170
|
-
local_var_params[attr] = getattr(request, attr)
|
1075
|
+
def _delete_replication_with_http_info(self, request):
|
1076
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1171
1077
|
|
1172
1078
|
cname = None
|
1173
1079
|
|
@@ -1222,14 +1128,10 @@ class SdrsClient(Client):
|
|
1222
1128
|
:type request: :class:`huaweicloudsdksdrs.v1.DeleteServerGroupFailureJobsRequest`
|
1223
1129
|
:rtype: :class:`huaweicloudsdksdrs.v1.DeleteServerGroupFailureJobsResponse`
|
1224
1130
|
"""
|
1225
|
-
return self.
|
1131
|
+
return self._delete_server_group_failure_jobs_with_http_info(request)
|
1226
1132
|
|
1227
|
-
def
|
1228
|
-
|
1229
|
-
local_var_params = {}
|
1230
|
-
for attr in request.attribute_map:
|
1231
|
-
if hasattr(request, attr):
|
1232
|
-
local_var_params[attr] = getattr(request, attr)
|
1133
|
+
def _delete_server_group_failure_jobs_with_http_info(self, request):
|
1134
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1233
1135
|
|
1234
1136
|
cname = None
|
1235
1137
|
|
@@ -1282,14 +1184,10 @@ class SdrsClient(Client):
|
|
1282
1184
|
:type request: :class:`huaweicloudsdksdrs.v1.DetachProtectedInstanceReplicationRequest`
|
1283
1185
|
:rtype: :class:`huaweicloudsdksdrs.v1.DetachProtectedInstanceReplicationResponse`
|
1284
1186
|
"""
|
1285
|
-
return self.
|
1187
|
+
return self._detach_protected_instance_replication_with_http_info(request)
|
1286
1188
|
|
1287
|
-
def
|
1288
|
-
|
1289
|
-
local_var_params = {}
|
1290
|
-
for attr in request.attribute_map:
|
1291
|
-
if hasattr(request, attr):
|
1292
|
-
local_var_params[attr] = getattr(request, attr)
|
1189
|
+
def _detach_protected_instance_replication_with_http_info(self, request):
|
1190
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1293
1191
|
|
1294
1192
|
cname = None
|
1295
1193
|
|
@@ -1344,14 +1242,10 @@ class SdrsClient(Client):
|
|
1344
1242
|
:type request: :class:`huaweicloudsdksdrs.v1.ExpandReplicationRequest`
|
1345
1243
|
:rtype: :class:`huaweicloudsdksdrs.v1.ExpandReplicationResponse`
|
1346
1244
|
"""
|
1347
|
-
return self.
|
1245
|
+
return self._expand_replication_with_http_info(request)
|
1348
1246
|
|
1349
|
-
def
|
1350
|
-
|
1351
|
-
local_var_params = {}
|
1352
|
-
for attr in request.attribute_map:
|
1353
|
-
if hasattr(request, attr):
|
1354
|
-
local_var_params[attr] = getattr(request, attr)
|
1247
|
+
def _expand_replication_with_http_info(self, request):
|
1248
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1355
1249
|
|
1356
1250
|
cname = None
|
1357
1251
|
|
@@ -1406,14 +1300,10 @@ class SdrsClient(Client):
|
|
1406
1300
|
:type request: :class:`huaweicloudsdksdrs.v1.ListActiveActiveDomainsRequest`
|
1407
1301
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListActiveActiveDomainsResponse`
|
1408
1302
|
"""
|
1409
|
-
return self.
|
1303
|
+
return self._list_active_active_domains_with_http_info(request)
|
1410
1304
|
|
1411
|
-
def
|
1412
|
-
|
1413
|
-
local_var_params = {}
|
1414
|
-
for attr in request.attribute_map:
|
1415
|
-
if hasattr(request, attr):
|
1416
|
-
local_var_params[attr] = getattr(request, attr)
|
1305
|
+
def _list_active_active_domains_with_http_info(self, request):
|
1306
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1417
1307
|
|
1418
1308
|
cname = None
|
1419
1309
|
|
@@ -1464,14 +1354,10 @@ class SdrsClient(Client):
|
|
1464
1354
|
:type request: :class:`huaweicloudsdksdrs.v1.ListDisasterRecoveryDrillsRequest`
|
1465
1355
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListDisasterRecoveryDrillsResponse`
|
1466
1356
|
"""
|
1467
|
-
return self.
|
1357
|
+
return self._list_disaster_recovery_drills_with_http_info(request)
|
1468
1358
|
|
1469
|
-
def
|
1470
|
-
|
1471
|
-
local_var_params = {}
|
1472
|
-
for attr in request.attribute_map:
|
1473
|
-
if hasattr(request, attr):
|
1474
|
-
local_var_params[attr] = getattr(request, attr)
|
1359
|
+
def _list_disaster_recovery_drills_with_http_info(self, request):
|
1360
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1475
1361
|
|
1476
1362
|
cname = None
|
1477
1363
|
|
@@ -1534,14 +1420,10 @@ class SdrsClient(Client):
|
|
1534
1420
|
:type request: :class:`huaweicloudsdksdrs.v1.ListFailureJobsRequest`
|
1535
1421
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListFailureJobsResponse`
|
1536
1422
|
"""
|
1537
|
-
return self.
|
1423
|
+
return self._list_failure_jobs_with_http_info(request)
|
1538
1424
|
|
1539
|
-
def
|
1540
|
-
|
1541
|
-
local_var_params = {}
|
1542
|
-
for attr in request.attribute_map:
|
1543
|
-
if hasattr(request, attr):
|
1544
|
-
local_var_params[attr] = getattr(request, attr)
|
1425
|
+
def _list_failure_jobs_with_http_info(self, request):
|
1426
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1545
1427
|
|
1546
1428
|
cname = None
|
1547
1429
|
|
@@ -1604,14 +1486,10 @@ class SdrsClient(Client):
|
|
1604
1486
|
:type request: :class:`huaweicloudsdksdrs.v1.ListProtectedInstanceTagsRequest`
|
1605
1487
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListProtectedInstanceTagsResponse`
|
1606
1488
|
"""
|
1607
|
-
return self.
|
1489
|
+
return self._list_protected_instance_tags_with_http_info(request)
|
1608
1490
|
|
1609
|
-
def
|
1610
|
-
|
1611
|
-
local_var_params = {}
|
1612
|
-
for attr in request.attribute_map:
|
1613
|
-
if hasattr(request, attr):
|
1614
|
-
local_var_params[attr] = getattr(request, attr)
|
1491
|
+
def _list_protected_instance_tags_with_http_info(self, request):
|
1492
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1615
1493
|
|
1616
1494
|
cname = None
|
1617
1495
|
|
@@ -1664,14 +1542,10 @@ class SdrsClient(Client):
|
|
1664
1542
|
:type request: :class:`huaweicloudsdksdrs.v1.ListProtectedInstancesRequest`
|
1665
1543
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListProtectedInstancesResponse`
|
1666
1544
|
"""
|
1667
|
-
return self.
|
1545
|
+
return self._list_protected_instances_with_http_info(request)
|
1668
1546
|
|
1669
|
-
def
|
1670
|
-
|
1671
|
-
local_var_params = {}
|
1672
|
-
for attr in request.attribute_map:
|
1673
|
-
if hasattr(request, attr):
|
1674
|
-
local_var_params[attr] = getattr(request, attr)
|
1547
|
+
def _list_protected_instances_with_http_info(self, request):
|
1548
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1675
1549
|
|
1676
1550
|
cname = None
|
1677
1551
|
|
@@ -1740,14 +1614,10 @@ class SdrsClient(Client):
|
|
1740
1614
|
:type request: :class:`huaweicloudsdksdrs.v1.ListProtectedInstancesByTagsRequest`
|
1741
1615
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListProtectedInstancesByTagsResponse`
|
1742
1616
|
"""
|
1743
|
-
return self.
|
1617
|
+
return self._list_protected_instances_by_tags_with_http_info(request)
|
1744
1618
|
|
1745
|
-
def
|
1746
|
-
|
1747
|
-
local_var_params = {}
|
1748
|
-
for attr in request.attribute_map:
|
1749
|
-
if hasattr(request, attr):
|
1750
|
-
local_var_params[attr] = getattr(request, attr)
|
1619
|
+
def _list_protected_instances_by_tags_with_http_info(self, request):
|
1620
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1751
1621
|
|
1752
1622
|
cname = None
|
1753
1623
|
|
@@ -1800,14 +1670,10 @@ class SdrsClient(Client):
|
|
1800
1670
|
:type request: :class:`huaweicloudsdksdrs.v1.ListProtectedInstancesProjectTagsRequest`
|
1801
1671
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListProtectedInstancesProjectTagsResponse`
|
1802
1672
|
"""
|
1803
|
-
return self.
|
1673
|
+
return self._list_protected_instances_project_tags_with_http_info(request)
|
1804
1674
|
|
1805
|
-
def
|
1806
|
-
|
1807
|
-
local_var_params = {}
|
1808
|
-
for attr in request.attribute_map:
|
1809
|
-
if hasattr(request, attr):
|
1810
|
-
local_var_params[attr] = getattr(request, attr)
|
1675
|
+
def _list_protected_instances_project_tags_with_http_info(self, request):
|
1676
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1811
1677
|
|
1812
1678
|
cname = None
|
1813
1679
|
|
@@ -1858,14 +1724,10 @@ class SdrsClient(Client):
|
|
1858
1724
|
:type request: :class:`huaweicloudsdksdrs.v1.ListProtectionGroupsRequest`
|
1859
1725
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListProtectionGroupsResponse`
|
1860
1726
|
"""
|
1861
|
-
return self.
|
1727
|
+
return self._list_protection_groups_with_http_info(request)
|
1862
1728
|
|
1863
|
-
def
|
1864
|
-
|
1865
|
-
local_var_params = {}
|
1866
|
-
for attr in request.attribute_map:
|
1867
|
-
if hasattr(request, attr):
|
1868
|
-
local_var_params[attr] = getattr(request, attr)
|
1729
|
+
def _list_protection_groups_with_http_info(self, request):
|
1730
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1869
1731
|
|
1870
1732
|
cname = None
|
1871
1733
|
|
@@ -1928,14 +1790,10 @@ class SdrsClient(Client):
|
|
1928
1790
|
:type request: :class:`huaweicloudsdksdrs.v1.ListReplicationsRequest`
|
1929
1791
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListReplicationsResponse`
|
1930
1792
|
"""
|
1931
|
-
return self.
|
1793
|
+
return self._list_replications_with_http_info(request)
|
1932
1794
|
|
1933
|
-
def
|
1934
|
-
|
1935
|
-
local_var_params = {}
|
1936
|
-
for attr in request.attribute_map:
|
1937
|
-
if hasattr(request, attr):
|
1938
|
-
local_var_params[attr] = getattr(request, attr)
|
1795
|
+
def _list_replications_with_http_info(self, request):
|
1796
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1939
1797
|
|
1940
1798
|
cname = None
|
1941
1799
|
|
@@ -2006,14 +1864,10 @@ class SdrsClient(Client):
|
|
2006
1864
|
:type request: :class:`huaweicloudsdksdrs.v1.ListRpoStatisticsRequest`
|
2007
1865
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListRpoStatisticsResponse`
|
2008
1866
|
"""
|
2009
|
-
return self.
|
1867
|
+
return self._list_rpo_statistics_with_http_info(request)
|
2010
1868
|
|
2011
|
-
def
|
2012
|
-
|
2013
|
-
local_var_params = {}
|
2014
|
-
for attr in request.attribute_map:
|
2015
|
-
if hasattr(request, attr):
|
2016
|
-
local_var_params[attr] = getattr(request, attr)
|
1869
|
+
def _list_rpo_statistics_with_http_info(self, request):
|
1870
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2017
1871
|
|
2018
1872
|
cname = None
|
2019
1873
|
|
@@ -2079,14 +1933,10 @@ class SdrsClient(Client):
|
|
2079
1933
|
:type request: :class:`huaweicloudsdksdrs.v1.ResizeProtectedInstanceRequest`
|
2080
1934
|
:rtype: :class:`huaweicloudsdksdrs.v1.ResizeProtectedInstanceResponse`
|
2081
1935
|
"""
|
2082
|
-
return self.
|
1936
|
+
return self._resize_protected_instance_with_http_info(request)
|
2083
1937
|
|
2084
|
-
def
|
2085
|
-
|
2086
|
-
local_var_params = {}
|
2087
|
-
for attr in request.attribute_map:
|
2088
|
-
if hasattr(request, attr):
|
2089
|
-
local_var_params[attr] = getattr(request, attr)
|
1938
|
+
def _resize_protected_instance_with_http_info(self, request):
|
1939
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2090
1940
|
|
2091
1941
|
cname = None
|
2092
1942
|
|
@@ -2141,14 +1991,10 @@ class SdrsClient(Client):
|
|
2141
1991
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowDisasterRecoveryDrillRequest`
|
2142
1992
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowDisasterRecoveryDrillResponse`
|
2143
1993
|
"""
|
2144
|
-
return self.
|
1994
|
+
return self._show_disaster_recovery_drill_with_http_info(request)
|
2145
1995
|
|
2146
|
-
def
|
2147
|
-
|
2148
|
-
local_var_params = {}
|
2149
|
-
for attr in request.attribute_map:
|
2150
|
-
if hasattr(request, attr):
|
2151
|
-
local_var_params[attr] = getattr(request, attr)
|
1996
|
+
def _show_disaster_recovery_drill_with_http_info(self, request):
|
1997
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2152
1998
|
|
2153
1999
|
cname = None
|
2154
2000
|
|
@@ -2201,14 +2047,10 @@ class SdrsClient(Client):
|
|
2201
2047
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowProtectedInstanceRequest`
|
2202
2048
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowProtectedInstanceResponse`
|
2203
2049
|
"""
|
2204
|
-
return self.
|
2050
|
+
return self._show_protected_instance_with_http_info(request)
|
2205
2051
|
|
2206
|
-
def
|
2207
|
-
|
2208
|
-
local_var_params = {}
|
2209
|
-
for attr in request.attribute_map:
|
2210
|
-
if hasattr(request, attr):
|
2211
|
-
local_var_params[attr] = getattr(request, attr)
|
2052
|
+
def _show_protected_instance_with_http_info(self, request):
|
2053
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2212
2054
|
|
2213
2055
|
cname = None
|
2214
2056
|
|
@@ -2261,14 +2103,10 @@ class SdrsClient(Client):
|
|
2261
2103
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowProtectionGroupRequest`
|
2262
2104
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowProtectionGroupResponse`
|
2263
2105
|
"""
|
2264
|
-
return self.
|
2106
|
+
return self._show_protection_group_with_http_info(request)
|
2265
2107
|
|
2266
|
-
def
|
2267
|
-
|
2268
|
-
local_var_params = {}
|
2269
|
-
for attr in request.attribute_map:
|
2270
|
-
if hasattr(request, attr):
|
2271
|
-
local_var_params[attr] = getattr(request, attr)
|
2108
|
+
def _show_protection_group_with_http_info(self, request):
|
2109
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2272
2110
|
|
2273
2111
|
cname = None
|
2274
2112
|
|
@@ -2321,14 +2159,10 @@ class SdrsClient(Client):
|
|
2321
2159
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowQuotaRequest`
|
2322
2160
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowQuotaResponse`
|
2323
2161
|
"""
|
2324
|
-
return self.
|
2162
|
+
return self._show_quota_with_http_info(request)
|
2325
2163
|
|
2326
|
-
def
|
2327
|
-
|
2328
|
-
local_var_params = {}
|
2329
|
-
for attr in request.attribute_map:
|
2330
|
-
if hasattr(request, attr):
|
2331
|
-
local_var_params[attr] = getattr(request, attr)
|
2164
|
+
def _show_quota_with_http_info(self, request):
|
2165
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2332
2166
|
|
2333
2167
|
cname = None
|
2334
2168
|
|
@@ -2379,14 +2213,10 @@ class SdrsClient(Client):
|
|
2379
2213
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowReplicationRequest`
|
2380
2214
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowReplicationResponse`
|
2381
2215
|
"""
|
2382
|
-
return self.
|
2216
|
+
return self._show_replication_with_http_info(request)
|
2383
2217
|
|
2384
|
-
def
|
2385
|
-
|
2386
|
-
local_var_params = {}
|
2387
|
-
for attr in request.attribute_map:
|
2388
|
-
if hasattr(request, attr):
|
2389
|
-
local_var_params[attr] = getattr(request, attr)
|
2218
|
+
def _show_replication_with_http_info(self, request):
|
2219
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2390
2220
|
|
2391
2221
|
cname = None
|
2392
2222
|
|
@@ -2440,14 +2270,10 @@ class SdrsClient(Client):
|
|
2440
2270
|
:type request: :class:`huaweicloudsdksdrs.v1.StartFailoverProtectionGroupRequest`
|
2441
2271
|
:rtype: :class:`huaweicloudsdksdrs.v1.StartFailoverProtectionGroupResponse`
|
2442
2272
|
"""
|
2443
|
-
return self.
|
2273
|
+
return self._start_failover_protection_group_with_http_info(request)
|
2444
2274
|
|
2445
|
-
def
|
2446
|
-
|
2447
|
-
local_var_params = {}
|
2448
|
-
for attr in request.attribute_map:
|
2449
|
-
if hasattr(request, attr):
|
2450
|
-
local_var_params[attr] = getattr(request, attr)
|
2275
|
+
def _start_failover_protection_group_with_http_info(self, request):
|
2276
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2451
2277
|
|
2452
2278
|
cname = None
|
2453
2279
|
|
@@ -2502,14 +2328,10 @@ class SdrsClient(Client):
|
|
2502
2328
|
:type request: :class:`huaweicloudsdksdrs.v1.StartProtectionGroupRequest`
|
2503
2329
|
:rtype: :class:`huaweicloudsdksdrs.v1.StartProtectionGroupResponse`
|
2504
2330
|
"""
|
2505
|
-
return self.
|
2331
|
+
return self._start_protection_group_with_http_info(request)
|
2506
2332
|
|
2507
|
-
def
|
2508
|
-
|
2509
|
-
local_var_params = {}
|
2510
|
-
for attr in request.attribute_map:
|
2511
|
-
if hasattr(request, attr):
|
2512
|
-
local_var_params[attr] = getattr(request, attr)
|
2333
|
+
def _start_protection_group_with_http_info(self, request):
|
2334
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2513
2335
|
|
2514
2336
|
cname = None
|
2515
2337
|
|
@@ -2564,14 +2386,10 @@ class SdrsClient(Client):
|
|
2564
2386
|
:type request: :class:`huaweicloudsdksdrs.v1.StartReverseProtectionGroupRequest`
|
2565
2387
|
:rtype: :class:`huaweicloudsdksdrs.v1.StartReverseProtectionGroupResponse`
|
2566
2388
|
"""
|
2567
|
-
return self.
|
2389
|
+
return self._start_reverse_protection_group_with_http_info(request)
|
2568
2390
|
|
2569
|
-
def
|
2570
|
-
|
2571
|
-
local_var_params = {}
|
2572
|
-
for attr in request.attribute_map:
|
2573
|
-
if hasattr(request, attr):
|
2574
|
-
local_var_params[attr] = getattr(request, attr)
|
2391
|
+
def _start_reverse_protection_group_with_http_info(self, request):
|
2392
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2575
2393
|
|
2576
2394
|
cname = None
|
2577
2395
|
|
@@ -2626,14 +2444,10 @@ class SdrsClient(Client):
|
|
2626
2444
|
:type request: :class:`huaweicloudsdksdrs.v1.StopProtectionGroupRequest`
|
2627
2445
|
:rtype: :class:`huaweicloudsdksdrs.v1.StopProtectionGroupResponse`
|
2628
2446
|
"""
|
2629
|
-
return self.
|
2447
|
+
return self._stop_protection_group_with_http_info(request)
|
2630
2448
|
|
2631
|
-
def
|
2632
|
-
|
2633
|
-
local_var_params = {}
|
2634
|
-
for attr in request.attribute_map:
|
2635
|
-
if hasattr(request, attr):
|
2636
|
-
local_var_params[attr] = getattr(request, attr)
|
2449
|
+
def _stop_protection_group_with_http_info(self, request):
|
2450
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2637
2451
|
|
2638
2452
|
cname = None
|
2639
2453
|
|
@@ -2688,14 +2502,10 @@ class SdrsClient(Client):
|
|
2688
2502
|
:type request: :class:`huaweicloudsdksdrs.v1.UpdateDisasterRecoveryDrillNameRequest`
|
2689
2503
|
:rtype: :class:`huaweicloudsdksdrs.v1.UpdateDisasterRecoveryDrillNameResponse`
|
2690
2504
|
"""
|
2691
|
-
return self.
|
2505
|
+
return self._update_disaster_recovery_drill_name_with_http_info(request)
|
2692
2506
|
|
2693
|
-
def
|
2694
|
-
|
2695
|
-
local_var_params = {}
|
2696
|
-
for attr in request.attribute_map:
|
2697
|
-
if hasattr(request, attr):
|
2698
|
-
local_var_params[attr] = getattr(request, attr)
|
2507
|
+
def _update_disaster_recovery_drill_name_with_http_info(self, request):
|
2508
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2699
2509
|
|
2700
2510
|
cname = None
|
2701
2511
|
|
@@ -2750,14 +2560,10 @@ class SdrsClient(Client):
|
|
2750
2560
|
:type request: :class:`huaweicloudsdksdrs.v1.UpdateProtectedInstanceNameRequest`
|
2751
2561
|
:rtype: :class:`huaweicloudsdksdrs.v1.UpdateProtectedInstanceNameResponse`
|
2752
2562
|
"""
|
2753
|
-
return self.
|
2563
|
+
return self._update_protected_instance_name_with_http_info(request)
|
2754
2564
|
|
2755
|
-
def
|
2756
|
-
|
2757
|
-
local_var_params = {}
|
2758
|
-
for attr in request.attribute_map:
|
2759
|
-
if hasattr(request, attr):
|
2760
|
-
local_var_params[attr] = getattr(request, attr)
|
2565
|
+
def _update_protected_instance_name_with_http_info(self, request):
|
2566
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2761
2567
|
|
2762
2568
|
cname = None
|
2763
2569
|
|
@@ -2812,14 +2618,10 @@ class SdrsClient(Client):
|
|
2812
2618
|
:type request: :class:`huaweicloudsdksdrs.v1.UpdateProtectionGroupNameRequest`
|
2813
2619
|
:rtype: :class:`huaweicloudsdksdrs.v1.UpdateProtectionGroupNameResponse`
|
2814
2620
|
"""
|
2815
|
-
return self.
|
2621
|
+
return self._update_protection_group_name_with_http_info(request)
|
2816
2622
|
|
2817
|
-
def
|
2818
|
-
|
2819
|
-
local_var_params = {}
|
2820
|
-
for attr in request.attribute_map:
|
2821
|
-
if hasattr(request, attr):
|
2822
|
-
local_var_params[attr] = getattr(request, attr)
|
2623
|
+
def _update_protection_group_name_with_http_info(self, request):
|
2624
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2823
2625
|
|
2824
2626
|
cname = None
|
2825
2627
|
|
@@ -2874,14 +2676,10 @@ class SdrsClient(Client):
|
|
2874
2676
|
:type request: :class:`huaweicloudsdksdrs.v1.UpdateReplicationNameRequest`
|
2875
2677
|
:rtype: :class:`huaweicloudsdksdrs.v1.UpdateReplicationNameResponse`
|
2876
2678
|
"""
|
2877
|
-
return self.
|
2679
|
+
return self._update_replication_name_with_http_info(request)
|
2878
2680
|
|
2879
|
-
def
|
2880
|
-
|
2881
|
-
local_var_params = {}
|
2882
|
-
for attr in request.attribute_map:
|
2883
|
-
if hasattr(request, attr):
|
2884
|
-
local_var_params[attr] = getattr(request, attr)
|
2681
|
+
def _update_replication_name_with_http_info(self, request):
|
2682
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2885
2683
|
|
2886
2684
|
cname = None
|
2887
2685
|
|
@@ -2936,14 +2734,10 @@ class SdrsClient(Client):
|
|
2936
2734
|
:type request: :class:`huaweicloudsdksdrs.v1.ListApiVersionsRequest`
|
2937
2735
|
:rtype: :class:`huaweicloudsdksdrs.v1.ListApiVersionsResponse`
|
2938
2736
|
"""
|
2939
|
-
return self.
|
2737
|
+
return self._list_api_versions_with_http_info(request)
|
2940
2738
|
|
2941
|
-
def
|
2942
|
-
|
2943
|
-
local_var_params = {}
|
2944
|
-
for attr in request.attribute_map:
|
2945
|
-
if hasattr(request, attr):
|
2946
|
-
local_var_params[attr] = getattr(request, attr)
|
2739
|
+
def _list_api_versions_with_http_info(self, request):
|
2740
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2947
2741
|
|
2948
2742
|
cname = None
|
2949
2743
|
|
@@ -2994,14 +2788,10 @@ class SdrsClient(Client):
|
|
2994
2788
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowSpecifiedApiVersionRequest`
|
2995
2789
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowSpecifiedApiVersionResponse`
|
2996
2790
|
"""
|
2997
|
-
return self.
|
2791
|
+
return self._show_specified_api_version_with_http_info(request)
|
2998
2792
|
|
2999
|
-
def
|
3000
|
-
|
3001
|
-
local_var_params = {}
|
3002
|
-
for attr in request.attribute_map:
|
3003
|
-
if hasattr(request, attr):
|
3004
|
-
local_var_params[attr] = getattr(request, attr)
|
2793
|
+
def _show_specified_api_version_with_http_info(self, request):
|
2794
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3005
2795
|
|
3006
2796
|
cname = None
|
3007
2797
|
|
@@ -3055,14 +2845,10 @@ class SdrsClient(Client):
|
|
3055
2845
|
:type request: :class:`huaweicloudsdksdrs.v1.ShowJobStatusRequest`
|
3056
2846
|
:rtype: :class:`huaweicloudsdksdrs.v1.ShowJobStatusResponse`
|
3057
2847
|
"""
|
3058
|
-
return self.
|
3059
|
-
|
3060
|
-
def
|
3061
|
-
|
3062
|
-
local_var_params = {}
|
3063
|
-
for attr in request.attribute_map:
|
3064
|
-
if hasattr(request, attr):
|
3065
|
-
local_var_params[attr] = getattr(request, attr)
|
2848
|
+
return self._show_job_status_with_http_info(request)
|
2849
|
+
|
2850
|
+
def _show_job_status_with_http_info(self, request):
|
2851
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3066
2852
|
|
3067
2853
|
cname = None
|
3068
2854
|
|