huaweicloudsdkoms 3.1.142__py2.py3-none-any.whl → 3.1.143__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.
- huaweicloudsdkoms/v2/model/bandwidth_policy_dto.py +7 -7
- huaweicloudsdkoms/v2/model/batch_update_tasks_req.py +9 -9
- huaweicloudsdkoms/v2/model/batch_update_tasks_request.py +3 -3
- huaweicloudsdkoms/v2/model/batch_update_tasks_response.py +1 -1
- huaweicloudsdkoms/v2/model/check_prefix_req.py +19 -19
- huaweicloudsdkoms/v2/model/check_prefix_request.py +3 -3
- huaweicloudsdkoms/v2/model/check_prefix_response.py +3 -3
- huaweicloudsdkoms/v2/model/checked_key.py +7 -7
- huaweicloudsdkoms/v2/model/create_sync_events_request.py +5 -5
- huaweicloudsdkoms/v2/model/create_sync_events_response.py +1 -1
- huaweicloudsdkoms/v2/model/create_sync_task_req.py +35 -35
- huaweicloudsdkoms/v2/model/create_sync_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/create_sync_task_response.py +3 -3
- huaweicloudsdkoms/v2/model/create_task_group_req.py +33 -33
- huaweicloudsdkoms/v2/model/create_task_group_request.py +3 -3
- huaweicloudsdkoms/v2/model/create_task_group_response.py +3 -3
- huaweicloudsdkoms/v2/model/create_task_req.py +35 -35
- huaweicloudsdkoms/v2/model/create_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/create_task_response.py +5 -5
- huaweicloudsdkoms/v2/model/delete_sync_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/delete_sync_task_response.py +1 -1
- huaweicloudsdkoms/v2/model/delete_task_group_request.py +3 -3
- huaweicloudsdkoms/v2/model/delete_task_group_response.py +1 -1
- huaweicloudsdkoms/v2/model/delete_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/delete_task_response.py +1 -1
- huaweicloudsdkoms/v2/model/dst_node_req.py +13 -13
- huaweicloudsdkoms/v2/model/dst_node_resp.py +7 -7
- huaweicloudsdkoms/v2/model/error_reason_resp.py +5 -5
- huaweicloudsdkoms/v2/model/failed_object_record_dto.py +7 -7
- huaweicloudsdkoms/v2/model/link.py +5 -5
- huaweicloudsdkoms/v2/model/list_api_versions_request.py +1 -1
- huaweicloudsdkoms/v2/model/list_api_versions_response.py +3 -3
- huaweicloudsdkoms/v2/model/list_buckets_req.py +11 -11
- huaweicloudsdkoms/v2/model/list_file.py +7 -7
- huaweicloudsdkoms/v2/model/list_sync_task_statistic_request.py +9 -9
- huaweicloudsdkoms/v2/model/list_sync_task_statistic_response.py +7 -7
- huaweicloudsdkoms/v2/model/list_sync_tasks_request.py +7 -7
- huaweicloudsdkoms/v2/model/list_sync_tasks_response.py +5 -5
- huaweicloudsdkoms/v2/model/list_task_group_request.py +7 -7
- huaweicloudsdkoms/v2/model/list_task_group_response.py +5 -5
- huaweicloudsdkoms/v2/model/list_tasks_request.py +9 -9
- huaweicloudsdkoms/v2/model/list_tasks_response.py +5 -5
- huaweicloudsdkoms/v2/model/prefix_key_info.py +3 -3
- huaweicloudsdkoms/v2/model/region_info.py +7 -7
- huaweicloudsdkoms/v2/model/retry_task_group_req.py +15 -15
- huaweicloudsdkoms/v2/model/retry_task_group_request.py +5 -5
- huaweicloudsdkoms/v2/model/retry_task_group_response.py +1 -1
- huaweicloudsdkoms/v2/model/show_api_info_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_api_info_response.py +9 -9
- huaweicloudsdkoms/v2/model/show_bucket_list_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_bucket_list_response.py +3 -3
- huaweicloudsdkoms/v2/model/show_bucket_objects_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_bucket_objects_response.py +7 -7
- huaweicloudsdkoms/v2/model/show_bucket_record.py +5 -5
- huaweicloudsdkoms/v2/model/show_bucket_region_req.py +13 -13
- huaweicloudsdkoms/v2/model/show_bucket_region_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_bucket_region_response.py +7 -7
- huaweicloudsdkoms/v2/model/show_bucket_req.py +21 -21
- huaweicloudsdkoms/v2/model/show_cdn_info_req.py +17 -17
- huaweicloudsdkoms/v2/model/show_cdn_info_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_cdn_info_response.py +7 -7
- huaweicloudsdkoms/v2/model/show_cloud_type_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_cloud_type_response.py +3 -3
- huaweicloudsdkoms/v2/model/show_region_info_request.py +1 -1
- huaweicloudsdkoms/v2/model/show_region_info_resp.py +5 -5
- huaweicloudsdkoms/v2/model/show_region_info_response.py +3 -3
- huaweicloudsdkoms/v2/model/show_sync_task_request.py +5 -5
- huaweicloudsdkoms/v2/model/show_sync_task_response.py +45 -45
- huaweicloudsdkoms/v2/model/show_task_group_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_task_group_response.py +77 -77
- huaweicloudsdkoms/v2/model/show_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/show_task_response.py +79 -79
- huaweicloudsdkoms/v2/model/smn_config.py +9 -9
- huaweicloudsdkoms/v2/model/smn_info.py +7 -7
- huaweicloudsdkoms/v2/model/source_cdn_req.py +9 -9
- huaweicloudsdkoms/v2/model/source_cdn_resp.py +7 -7
- huaweicloudsdkoms/v2/model/src_node_req.py +21 -21
- huaweicloudsdkoms/v2/model/src_node_resp.py +13 -13
- huaweicloudsdkoms/v2/model/start_sync_task_req.py +11 -11
- huaweicloudsdkoms/v2/model/start_sync_task_request.py +5 -5
- huaweicloudsdkoms/v2/model/start_sync_task_response.py +1 -1
- huaweicloudsdkoms/v2/model/start_task_group_req.py +13 -13
- huaweicloudsdkoms/v2/model/start_task_group_request.py +5 -5
- huaweicloudsdkoms/v2/model/start_task_group_response.py +1 -1
- huaweicloudsdkoms/v2/model/start_task_req.py +19 -19
- huaweicloudsdkoms/v2/model/start_task_request.py +5 -5
- huaweicloudsdkoms/v2/model/start_task_response.py +1 -1
- huaweicloudsdkoms/v2/model/statistic_data.py +5 -5
- huaweicloudsdkoms/v2/model/statistic_type_data.py +5 -5
- huaweicloudsdkoms/v2/model/stop_sync_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/stop_sync_task_response.py +1 -1
- huaweicloudsdkoms/v2/model/stop_task_group_request.py +3 -3
- huaweicloudsdkoms/v2/model/stop_task_group_response.py +1 -1
- huaweicloudsdkoms/v2/model/stop_task_request.py +3 -3
- huaweicloudsdkoms/v2/model/stop_task_response.py +1 -1
- huaweicloudsdkoms/v2/model/sync_object_req.py +3 -3
- huaweicloudsdkoms/v2/model/sync_task_info.py +37 -37
- huaweicloudsdkoms/v2/model/task_group_dst_node.py +13 -13
- huaweicloudsdkoms/v2/model/task_group_dst_node_resp.py +7 -7
- huaweicloudsdkoms/v2/model/task_group_resp.py +77 -77
- huaweicloudsdkoms/v2/model/task_group_src_node.py +19 -19
- huaweicloudsdkoms/v2/model/task_group_src_node_resp.py +13 -13
- huaweicloudsdkoms/v2/model/task_resp.py +79 -79
- huaweicloudsdkoms/v2/model/update_bandwidth_policy_req.py +3 -3
- huaweicloudsdkoms/v2/model/update_bandwidth_policy_request.py +5 -5
- huaweicloudsdkoms/v2/model/update_bandwidth_policy_response.py +1 -1
- huaweicloudsdkoms/v2/model/update_task_group_request.py +5 -5
- huaweicloudsdkoms/v2/model/update_task_group_response.py +1 -1
- huaweicloudsdkoms/v2/model/version.py +9 -9
- huaweicloudsdkoms/v2/oms_async_client.py +33 -33
- huaweicloudsdkoms/v2/oms_client.py +33 -33
- {huaweicloudsdkoms-3.1.142.dist-info → huaweicloudsdkoms-3.1.143.dist-info}/METADATA +2 -2
- huaweicloudsdkoms-3.1.143.dist-info/RECORD +121 -0
- huaweicloudsdkoms-3.1.142.dist-info/RECORD +0 -121
- {huaweicloudsdkoms-3.1.142.dist-info → huaweicloudsdkoms-3.1.143.dist-info}/LICENSE +0 -0
- {huaweicloudsdkoms-3.1.142.dist-info → huaweicloudsdkoms-3.1.143.dist-info}/WHEEL +0 -0
- {huaweicloudsdkoms-3.1.142.dist-info → huaweicloudsdkoms-3.1.143.dist-info}/top_level.txt +0 -0
@@ -59,7 +59,7 @@ class SyncTaskInfo:
|
|
59
59
|
}
|
60
60
|
|
61
61
|
def __init__(self, sync_task_id=None, src_cloud_type=None, src_region=None, src_bucket=None, create_time=None, last_start_time=None, dst_bucket=None, dst_region=None, description=None, status=None, enable_kms=None, enable_metadata_migration=None, enable_restore=None, object_overwrite_mode=None, dst_storage_policy=None, app_id=None, source_cdn=None, consistency_check=None):
|
62
|
-
"""SyncTaskInfo
|
62
|
+
r"""SyncTaskInfo
|
63
63
|
|
64
64
|
The model defined in huaweicloud sdk
|
65
65
|
|
@@ -162,7 +162,7 @@ class SyncTaskInfo:
|
|
162
162
|
|
163
163
|
@property
|
164
164
|
def sync_task_id(self):
|
165
|
-
"""Gets the sync_task_id of this SyncTaskInfo.
|
165
|
+
r"""Gets the sync_task_id of this SyncTaskInfo.
|
166
166
|
|
167
167
|
同步任务ID
|
168
168
|
|
@@ -173,7 +173,7 @@ class SyncTaskInfo:
|
|
173
173
|
|
174
174
|
@sync_task_id.setter
|
175
175
|
def sync_task_id(self, sync_task_id):
|
176
|
-
"""Sets the sync_task_id of this SyncTaskInfo.
|
176
|
+
r"""Sets the sync_task_id of this SyncTaskInfo.
|
177
177
|
|
178
178
|
同步任务ID
|
179
179
|
|
@@ -184,7 +184,7 @@ class SyncTaskInfo:
|
|
184
184
|
|
185
185
|
@property
|
186
186
|
def src_cloud_type(self):
|
187
|
-
"""Gets the src_cloud_type of this SyncTaskInfo.
|
187
|
+
r"""Gets the src_cloud_type of this SyncTaskInfo.
|
188
188
|
|
189
189
|
源端云服务提供商。 可选值有AWS、Azure、Aliyun、Tencent、HuaweiCloud、QingCloud、KingsoftCloud、Baidu、Qiniu、UCloud。默认值为Aliyun。
|
190
190
|
|
@@ -195,7 +195,7 @@ class SyncTaskInfo:
|
|
195
195
|
|
196
196
|
@src_cloud_type.setter
|
197
197
|
def src_cloud_type(self, src_cloud_type):
|
198
|
-
"""Sets the src_cloud_type of this SyncTaskInfo.
|
198
|
+
r"""Sets the src_cloud_type of this SyncTaskInfo.
|
199
199
|
|
200
200
|
源端云服务提供商。 可选值有AWS、Azure、Aliyun、Tencent、HuaweiCloud、QingCloud、KingsoftCloud、Baidu、Qiniu、UCloud。默认值为Aliyun。
|
201
201
|
|
@@ -206,7 +206,7 @@ class SyncTaskInfo:
|
|
206
206
|
|
207
207
|
@property
|
208
208
|
def src_region(self):
|
209
|
-
"""Gets the src_region of this SyncTaskInfo.
|
209
|
+
r"""Gets the src_region of this SyncTaskInfo.
|
210
210
|
|
211
211
|
源端桶所处的区域
|
212
212
|
|
@@ -217,7 +217,7 @@ class SyncTaskInfo:
|
|
217
217
|
|
218
218
|
@src_region.setter
|
219
219
|
def src_region(self, src_region):
|
220
|
-
"""Sets the src_region of this SyncTaskInfo.
|
220
|
+
r"""Sets the src_region of this SyncTaskInfo.
|
221
221
|
|
222
222
|
源端桶所处的区域
|
223
223
|
|
@@ -228,7 +228,7 @@ class SyncTaskInfo:
|
|
228
228
|
|
229
229
|
@property
|
230
230
|
def src_bucket(self):
|
231
|
-
"""Gets the src_bucket of this SyncTaskInfo.
|
231
|
+
r"""Gets the src_bucket of this SyncTaskInfo.
|
232
232
|
|
233
233
|
源端桶
|
234
234
|
|
@@ -239,7 +239,7 @@ class SyncTaskInfo:
|
|
239
239
|
|
240
240
|
@src_bucket.setter
|
241
241
|
def src_bucket(self, src_bucket):
|
242
|
-
"""Sets the src_bucket of this SyncTaskInfo.
|
242
|
+
r"""Sets the src_bucket of this SyncTaskInfo.
|
243
243
|
|
244
244
|
源端桶
|
245
245
|
|
@@ -250,7 +250,7 @@ class SyncTaskInfo:
|
|
250
250
|
|
251
251
|
@property
|
252
252
|
def create_time(self):
|
253
|
-
"""Gets the create_time of this SyncTaskInfo.
|
253
|
+
r"""Gets the create_time of this SyncTaskInfo.
|
254
254
|
|
255
255
|
同步任务创建时间(Unix时间戳,毫秒)
|
256
256
|
|
@@ -261,7 +261,7 @@ class SyncTaskInfo:
|
|
261
261
|
|
262
262
|
@create_time.setter
|
263
263
|
def create_time(self, create_time):
|
264
|
-
"""Sets the create_time of this SyncTaskInfo.
|
264
|
+
r"""Sets the create_time of this SyncTaskInfo.
|
265
265
|
|
266
266
|
同步任务创建时间(Unix时间戳,毫秒)
|
267
267
|
|
@@ -272,7 +272,7 @@ class SyncTaskInfo:
|
|
272
272
|
|
273
273
|
@property
|
274
274
|
def last_start_time(self):
|
275
|
-
"""Gets the last_start_time of this SyncTaskInfo.
|
275
|
+
r"""Gets the last_start_time of this SyncTaskInfo.
|
276
276
|
|
277
277
|
最近启动同步任务时间(Unix时间戳,毫秒)
|
278
278
|
|
@@ -283,7 +283,7 @@ class SyncTaskInfo:
|
|
283
283
|
|
284
284
|
@last_start_time.setter
|
285
285
|
def last_start_time(self, last_start_time):
|
286
|
-
"""Sets the last_start_time of this SyncTaskInfo.
|
286
|
+
r"""Sets the last_start_time of this SyncTaskInfo.
|
287
287
|
|
288
288
|
最近启动同步任务时间(Unix时间戳,毫秒)
|
289
289
|
|
@@ -294,7 +294,7 @@ class SyncTaskInfo:
|
|
294
294
|
|
295
295
|
@property
|
296
296
|
def dst_bucket(self):
|
297
|
-
"""Gets the dst_bucket of this SyncTaskInfo.
|
297
|
+
r"""Gets the dst_bucket of this SyncTaskInfo.
|
298
298
|
|
299
299
|
目的端桶。
|
300
300
|
|
@@ -305,7 +305,7 @@ class SyncTaskInfo:
|
|
305
305
|
|
306
306
|
@dst_bucket.setter
|
307
307
|
def dst_bucket(self, dst_bucket):
|
308
|
-
"""Sets the dst_bucket of this SyncTaskInfo.
|
308
|
+
r"""Sets the dst_bucket of this SyncTaskInfo.
|
309
309
|
|
310
310
|
目的端桶。
|
311
311
|
|
@@ -316,7 +316,7 @@ class SyncTaskInfo:
|
|
316
316
|
|
317
317
|
@property
|
318
318
|
def dst_region(self):
|
319
|
-
"""Gets the dst_region of this SyncTaskInfo.
|
319
|
+
r"""Gets the dst_region of this SyncTaskInfo.
|
320
320
|
|
321
321
|
目的端region
|
322
322
|
|
@@ -327,7 +327,7 @@ class SyncTaskInfo:
|
|
327
327
|
|
328
328
|
@dst_region.setter
|
329
329
|
def dst_region(self, dst_region):
|
330
|
-
"""Sets the dst_region of this SyncTaskInfo.
|
330
|
+
r"""Sets the dst_region of this SyncTaskInfo.
|
331
331
|
|
332
332
|
目的端region
|
333
333
|
|
@@ -338,7 +338,7 @@ class SyncTaskInfo:
|
|
338
338
|
|
339
339
|
@property
|
340
340
|
def description(self):
|
341
|
-
"""Gets the description of this SyncTaskInfo.
|
341
|
+
r"""Gets the description of this SyncTaskInfo.
|
342
342
|
|
343
343
|
任务描述,不能超过255个字符,且不能包含<>()\"'&等特殊字符。
|
344
344
|
|
@@ -349,7 +349,7 @@ class SyncTaskInfo:
|
|
349
349
|
|
350
350
|
@description.setter
|
351
351
|
def description(self, description):
|
352
|
-
"""Sets the description of this SyncTaskInfo.
|
352
|
+
r"""Sets the description of this SyncTaskInfo.
|
353
353
|
|
354
354
|
任务描述,不能超过255个字符,且不能包含<>()\"'&等特殊字符。
|
355
355
|
|
@@ -360,7 +360,7 @@ class SyncTaskInfo:
|
|
360
360
|
|
361
361
|
@property
|
362
362
|
def status(self):
|
363
|
-
"""Gets the status of this SyncTaskInfo.
|
363
|
+
r"""Gets the status of this SyncTaskInfo.
|
364
364
|
|
365
365
|
同步任务状态 SYNCHRONIZING:同步中 STOPPED:已停止
|
366
366
|
|
@@ -371,7 +371,7 @@ class SyncTaskInfo:
|
|
371
371
|
|
372
372
|
@status.setter
|
373
373
|
def status(self, status):
|
374
|
-
"""Sets the status of this SyncTaskInfo.
|
374
|
+
r"""Sets the status of this SyncTaskInfo.
|
375
375
|
|
376
376
|
同步任务状态 SYNCHRONIZING:同步中 STOPPED:已停止
|
377
377
|
|
@@ -382,7 +382,7 @@ class SyncTaskInfo:
|
|
382
382
|
|
383
383
|
@property
|
384
384
|
def enable_kms(self):
|
385
|
-
"""Gets the enable_kms of this SyncTaskInfo.
|
385
|
+
r"""Gets the enable_kms of this SyncTaskInfo.
|
386
386
|
|
387
387
|
是否开启KMS加密,默认不开启。
|
388
388
|
|
@@ -393,7 +393,7 @@ class SyncTaskInfo:
|
|
393
393
|
|
394
394
|
@enable_kms.setter
|
395
395
|
def enable_kms(self, enable_kms):
|
396
|
-
"""Sets the enable_kms of this SyncTaskInfo.
|
396
|
+
r"""Sets the enable_kms of this SyncTaskInfo.
|
397
397
|
|
398
398
|
是否开启KMS加密,默认不开启。
|
399
399
|
|
@@ -404,7 +404,7 @@ class SyncTaskInfo:
|
|
404
404
|
|
405
405
|
@property
|
406
406
|
def enable_metadata_migration(self):
|
407
|
-
"""Gets the enable_metadata_migration of this SyncTaskInfo.
|
407
|
+
r"""Gets the enable_metadata_migration of this SyncTaskInfo.
|
408
408
|
|
409
409
|
是否启用元数据迁移,默认否。不启用时,为保证迁移任务正常运行,仍将为您迁移ContentType元数据。
|
410
410
|
|
@@ -415,7 +415,7 @@ class SyncTaskInfo:
|
|
415
415
|
|
416
416
|
@enable_metadata_migration.setter
|
417
417
|
def enable_metadata_migration(self, enable_metadata_migration):
|
418
|
-
"""Sets the enable_metadata_migration of this SyncTaskInfo.
|
418
|
+
r"""Sets the enable_metadata_migration of this SyncTaskInfo.
|
419
419
|
|
420
420
|
是否启用元数据迁移,默认否。不启用时,为保证迁移任务正常运行,仍将为您迁移ContentType元数据。
|
421
421
|
|
@@ -426,7 +426,7 @@ class SyncTaskInfo:
|
|
426
426
|
|
427
427
|
@property
|
428
428
|
def enable_restore(self):
|
429
|
-
"""Gets the enable_restore of this SyncTaskInfo.
|
429
|
+
r"""Gets the enable_restore of this SyncTaskInfo.
|
430
430
|
|
431
431
|
是否自动解冻归档数据,默认否。 开启后,如果遇到归档类型数据,会自动解冻再进行迁移。
|
432
432
|
|
@@ -437,7 +437,7 @@ class SyncTaskInfo:
|
|
437
437
|
|
438
438
|
@enable_restore.setter
|
439
439
|
def enable_restore(self, enable_restore):
|
440
|
-
"""Sets the enable_restore of this SyncTaskInfo.
|
440
|
+
r"""Sets the enable_restore of this SyncTaskInfo.
|
441
441
|
|
442
442
|
是否自动解冻归档数据,默认否。 开启后,如果遇到归档类型数据,会自动解冻再进行迁移。
|
443
443
|
|
@@ -448,7 +448,7 @@ class SyncTaskInfo:
|
|
448
448
|
|
449
449
|
@property
|
450
450
|
def object_overwrite_mode(self):
|
451
|
-
"""Gets the object_overwrite_mode of this SyncTaskInfo.
|
451
|
+
r"""Gets the object_overwrite_mode of this SyncTaskInfo.
|
452
452
|
|
453
453
|
迁移前同名对象覆盖方式,用于迁移前判断源端与目的端有同名对象时,覆盖目的端或跳过迁移。默认SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE。 NO_OVERWRITE:不覆盖。迁移前源端对象与目的端对象同名时,不做对比直接跳过迁移。 SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE:大小/最后修改时间对比覆盖。默认配置。迁移前源端对象与目的端对象同名时,通过对比源端和目的端对象大小和最后修改时间,判断是否覆盖目的端,需满足源端/目的端对象的加密状态一致。源端与目的端同名对象大小不相同,或目的端对象的最后修改时间晚于源端对象的最后修改时间(源端较新),覆盖目的端。 CRC64_COMPARISON_OVERWRITE:CRC64对比覆盖。目前仅支持华为/阿里/腾讯。迁移前源端对象与目的端对象同名时,通过对比源端和目的端对象元数据中CRC64值是否相同,判断是否覆盖目的端,需满足源端/目的端对象的加密状态一致。如果源端与目的端对象元数据中不存在CRC64值,则系统会默认使用SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE(大小/最后修改时间对比覆盖)来对比进行覆盖判断。 FULL_OVERWRITE:全覆盖。迁移前源端对象与目的端对象同名时,不做对比覆盖目的端。
|
454
454
|
|
@@ -459,7 +459,7 @@ class SyncTaskInfo:
|
|
459
459
|
|
460
460
|
@object_overwrite_mode.setter
|
461
461
|
def object_overwrite_mode(self, object_overwrite_mode):
|
462
|
-
"""Sets the object_overwrite_mode of this SyncTaskInfo.
|
462
|
+
r"""Sets the object_overwrite_mode of this SyncTaskInfo.
|
463
463
|
|
464
464
|
迁移前同名对象覆盖方式,用于迁移前判断源端与目的端有同名对象时,覆盖目的端或跳过迁移。默认SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE。 NO_OVERWRITE:不覆盖。迁移前源端对象与目的端对象同名时,不做对比直接跳过迁移。 SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE:大小/最后修改时间对比覆盖。默认配置。迁移前源端对象与目的端对象同名时,通过对比源端和目的端对象大小和最后修改时间,判断是否覆盖目的端,需满足源端/目的端对象的加密状态一致。源端与目的端同名对象大小不相同,或目的端对象的最后修改时间晚于源端对象的最后修改时间(源端较新),覆盖目的端。 CRC64_COMPARISON_OVERWRITE:CRC64对比覆盖。目前仅支持华为/阿里/腾讯。迁移前源端对象与目的端对象同名时,通过对比源端和目的端对象元数据中CRC64值是否相同,判断是否覆盖目的端,需满足源端/目的端对象的加密状态一致。如果源端与目的端对象元数据中不存在CRC64值,则系统会默认使用SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE(大小/最后修改时间对比覆盖)来对比进行覆盖判断。 FULL_OVERWRITE:全覆盖。迁移前源端对象与目的端对象同名时,不做对比覆盖目的端。
|
465
465
|
|
@@ -470,7 +470,7 @@ class SyncTaskInfo:
|
|
470
470
|
|
471
471
|
@property
|
472
472
|
def dst_storage_policy(self):
|
473
|
-
"""Gets the dst_storage_policy of this SyncTaskInfo.
|
473
|
+
r"""Gets the dst_storage_policy of this SyncTaskInfo.
|
474
474
|
|
475
475
|
目的端存储类型设置,当且仅当目的端为华为云OBS时需要,默认为标准存储 STANDARD:华为云OBS标准存储 IA:华为云OBS低频存储 ARCHIVE:华为云OBS归档存储 DEEP_ARCHIVE:华为云OBS深度归档存储 SRC_STORAGE_MAPPING:保留源端存储类型,将源端存储类型映射为华为云OBS存储类型
|
476
476
|
|
@@ -481,7 +481,7 @@ class SyncTaskInfo:
|
|
481
481
|
|
482
482
|
@dst_storage_policy.setter
|
483
483
|
def dst_storage_policy(self, dst_storage_policy):
|
484
|
-
"""Sets the dst_storage_policy of this SyncTaskInfo.
|
484
|
+
r"""Sets the dst_storage_policy of this SyncTaskInfo.
|
485
485
|
|
486
486
|
目的端存储类型设置,当且仅当目的端为华为云OBS时需要,默认为标准存储 STANDARD:华为云OBS标准存储 IA:华为云OBS低频存储 ARCHIVE:华为云OBS归档存储 DEEP_ARCHIVE:华为云OBS深度归档存储 SRC_STORAGE_MAPPING:保留源端存储类型,将源端存储类型映射为华为云OBS存储类型
|
487
487
|
|
@@ -492,7 +492,7 @@ class SyncTaskInfo:
|
|
492
492
|
|
493
493
|
@property
|
494
494
|
def app_id(self):
|
495
|
-
"""Gets the app_id of this SyncTaskInfo.
|
495
|
+
r"""Gets the app_id of this SyncTaskInfo.
|
496
496
|
|
497
497
|
当源端为腾讯云时,需要填写此参数。
|
498
498
|
|
@@ -503,7 +503,7 @@ class SyncTaskInfo:
|
|
503
503
|
|
504
504
|
@app_id.setter
|
505
505
|
def app_id(self, app_id):
|
506
|
-
"""Sets the app_id of this SyncTaskInfo.
|
506
|
+
r"""Sets the app_id of this SyncTaskInfo.
|
507
507
|
|
508
508
|
当源端为腾讯云时,需要填写此参数。
|
509
509
|
|
@@ -514,7 +514,7 @@ class SyncTaskInfo:
|
|
514
514
|
|
515
515
|
@property
|
516
516
|
def source_cdn(self):
|
517
|
-
"""Gets the source_cdn of this SyncTaskInfo.
|
517
|
+
r"""Gets the source_cdn of this SyncTaskInfo.
|
518
518
|
|
519
519
|
:return: The source_cdn of this SyncTaskInfo.
|
520
520
|
:rtype: :class:`huaweicloudsdkoms.v2.SourceCdnResp`
|
@@ -523,7 +523,7 @@ class SyncTaskInfo:
|
|
523
523
|
|
524
524
|
@source_cdn.setter
|
525
525
|
def source_cdn(self, source_cdn):
|
526
|
-
"""Sets the source_cdn of this SyncTaskInfo.
|
526
|
+
r"""Sets the source_cdn of this SyncTaskInfo.
|
527
527
|
|
528
528
|
:param source_cdn: The source_cdn of this SyncTaskInfo.
|
529
529
|
:type source_cdn: :class:`huaweicloudsdkoms.v2.SourceCdnResp`
|
@@ -532,7 +532,7 @@ class SyncTaskInfo:
|
|
532
532
|
|
533
533
|
@property
|
534
534
|
def consistency_check(self):
|
535
|
-
"""Gets the consistency_check of this SyncTaskInfo.
|
535
|
+
r"""Gets the consistency_check of this SyncTaskInfo.
|
536
536
|
|
537
537
|
迁移后对象一致性校验方式,用于迁移后校验对象是否一致,所有校验方式需满足源端/目的端对象的加密状态一致,具体校验方式和校验结果可通过对象列表查看。默认size_last_modified。 size_last_modified:默认配置。迁移后,通过对比源端和目的端对象大小和最后修改时间,判断对象迁移后数据是否完整。源端与目的端同名对象大小相同,且目的端对象的最后修改时间不早于源端对象的最后修改时间,则代表该对象迁移成功。 crc64:目前仅支持华为/阿里/腾讯。迁移后,通过对比源端和目的端对象元数据中CRC64值是否相同,判断对象是否迁移完成。如果源端与目的端对象元数据中不存在CRC64值,则系统会默认使用大小/最后修改时间校验方式来校验。 no_check:目前仅支持HTTP/HTTPS数据源。当源端对象无法通过标准http协议中content-length字段获取数据大小时,默认数据下载成功即迁移成功,不对数据做额外校验。当源端对象能正常通过标准http协议中content-length字段获取数据大小时,则采用大小/最后修改时间校验方式来校验。
|
538
538
|
|
@@ -543,7 +543,7 @@ class SyncTaskInfo:
|
|
543
543
|
|
544
544
|
@consistency_check.setter
|
545
545
|
def consistency_check(self, consistency_check):
|
546
|
-
"""Sets the consistency_check of this SyncTaskInfo.
|
546
|
+
r"""Sets the consistency_check of this SyncTaskInfo.
|
547
547
|
|
548
548
|
迁移后对象一致性校验方式,用于迁移后校验对象是否一致,所有校验方式需满足源端/目的端对象的加密状态一致,具体校验方式和校验结果可通过对象列表查看。默认size_last_modified。 size_last_modified:默认配置。迁移后,通过对比源端和目的端对象大小和最后修改时间,判断对象迁移后数据是否完整。源端与目的端同名对象大小相同,且目的端对象的最后修改时间不早于源端对象的最后修改时间,则代表该对象迁移成功。 crc64:目前仅支持华为/阿里/腾讯。迁移后,通过对比源端和目的端对象元数据中CRC64值是否相同,判断对象是否迁移完成。如果源端与目的端对象元数据中不存在CRC64值,则系统会默认使用大小/最后修改时间校验方式来校验。 no_check:目前仅支持HTTP/HTTPS数据源。当源端对象无法通过标准http协议中content-length字段获取数据大小时,默认数据下载成功即迁移成功,不对数据做额外校验。当源端对象能正常通过标准http协议中content-length字段获取数据大小时,则采用大小/最后修改时间校验方式来校验。
|
549
549
|
|
@@ -35,7 +35,7 @@ class TaskGroupDstNode:
|
|
35
35
|
}
|
36
36
|
|
37
37
|
def __init__(self, ak=None, sk=None, region=None, bucket=None, cloud_type=None, save_prefix=None):
|
38
|
-
"""TaskGroupDstNode
|
38
|
+
r"""TaskGroupDstNode
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
@@ -74,7 +74,7 @@ class TaskGroupDstNode:
|
|
74
74
|
|
75
75
|
@property
|
76
76
|
def ak(self):
|
77
|
-
"""Gets the ak of this TaskGroupDstNode.
|
77
|
+
r"""Gets the ak of this TaskGroupDstNode.
|
78
78
|
|
79
79
|
目的端桶的AK(最大长度100个字符)。
|
80
80
|
|
@@ -85,7 +85,7 @@ class TaskGroupDstNode:
|
|
85
85
|
|
86
86
|
@ak.setter
|
87
87
|
def ak(self, ak):
|
88
|
-
"""Sets the ak of this TaskGroupDstNode.
|
88
|
+
r"""Sets the ak of this TaskGroupDstNode.
|
89
89
|
|
90
90
|
目的端桶的AK(最大长度100个字符)。
|
91
91
|
|
@@ -96,7 +96,7 @@ class TaskGroupDstNode:
|
|
96
96
|
|
97
97
|
@property
|
98
98
|
def sk(self):
|
99
|
-
"""Gets the sk of this TaskGroupDstNode.
|
99
|
+
r"""Gets the sk of this TaskGroupDstNode.
|
100
100
|
|
101
101
|
目的端桶的SK(最大长度100个字符)。
|
102
102
|
|
@@ -107,7 +107,7 @@ class TaskGroupDstNode:
|
|
107
107
|
|
108
108
|
@sk.setter
|
109
109
|
def sk(self, sk):
|
110
|
-
"""Sets the sk of this TaskGroupDstNode.
|
110
|
+
r"""Sets the sk of this TaskGroupDstNode.
|
111
111
|
|
112
112
|
目的端桶的SK(最大长度100个字符)。
|
113
113
|
|
@@ -118,7 +118,7 @@ class TaskGroupDstNode:
|
|
118
118
|
|
119
119
|
@property
|
120
120
|
def region(self):
|
121
|
-
"""Gets the region of this TaskGroupDstNode.
|
121
|
+
r"""Gets the region of this TaskGroupDstNode.
|
122
122
|
|
123
123
|
目的端桶所处的区域。 请与Endpoint对应的区域保持一致。
|
124
124
|
|
@@ -129,7 +129,7 @@ class TaskGroupDstNode:
|
|
129
129
|
|
130
130
|
@region.setter
|
131
131
|
def region(self, region):
|
132
|
-
"""Sets the region of this TaskGroupDstNode.
|
132
|
+
r"""Sets the region of this TaskGroupDstNode.
|
133
133
|
|
134
134
|
目的端桶所处的区域。 请与Endpoint对应的区域保持一致。
|
135
135
|
|
@@ -140,7 +140,7 @@ class TaskGroupDstNode:
|
|
140
140
|
|
141
141
|
@property
|
142
142
|
def bucket(self):
|
143
|
-
"""Gets the bucket of this TaskGroupDstNode.
|
143
|
+
r"""Gets the bucket of this TaskGroupDstNode.
|
144
144
|
|
145
145
|
目的端的桶名称
|
146
146
|
|
@@ -151,7 +151,7 @@ class TaskGroupDstNode:
|
|
151
151
|
|
152
152
|
@bucket.setter
|
153
153
|
def bucket(self, bucket):
|
154
|
-
"""Sets the bucket of this TaskGroupDstNode.
|
154
|
+
r"""Sets the bucket of this TaskGroupDstNode.
|
155
155
|
|
156
156
|
目的端的桶名称
|
157
157
|
|
@@ -162,7 +162,7 @@ class TaskGroupDstNode:
|
|
162
162
|
|
163
163
|
@property
|
164
164
|
def cloud_type(self):
|
165
|
-
"""Gets the cloud_type of this TaskGroupDstNode.
|
165
|
+
r"""Gets the cloud_type of this TaskGroupDstNode.
|
166
166
|
|
167
167
|
华为云目的端信息,默认为HEC
|
168
168
|
|
@@ -173,7 +173,7 @@ class TaskGroupDstNode:
|
|
173
173
|
|
174
174
|
@cloud_type.setter
|
175
175
|
def cloud_type(self, cloud_type):
|
176
|
-
"""Sets the cloud_type of this TaskGroupDstNode.
|
176
|
+
r"""Sets the cloud_type of this TaskGroupDstNode.
|
177
177
|
|
178
178
|
华为云目的端信息,默认为HEC
|
179
179
|
|
@@ -184,7 +184,7 @@ class TaskGroupDstNode:
|
|
184
184
|
|
185
185
|
@property
|
186
186
|
def save_prefix(self):
|
187
|
-
"""Gets the save_prefix of this TaskGroupDstNode.
|
187
|
+
r"""Gets the save_prefix of this TaskGroupDstNode.
|
188
188
|
|
189
189
|
目的端桶内路径前缀(拼接在对象key前面,组成新的key,拼接后不能超过1024个字符)。
|
190
190
|
|
@@ -195,7 +195,7 @@ class TaskGroupDstNode:
|
|
195
195
|
|
196
196
|
@save_prefix.setter
|
197
197
|
def save_prefix(self, save_prefix):
|
198
|
-
"""Sets the save_prefix of this TaskGroupDstNode.
|
198
|
+
r"""Sets the save_prefix of this TaskGroupDstNode.
|
199
199
|
|
200
200
|
目的端桶内路径前缀(拼接在对象key前面,组成新的key,拼接后不能超过1024个字符)。
|
201
201
|
|
@@ -29,7 +29,7 @@ class TaskGroupDstNodeResp:
|
|
29
29
|
}
|
30
30
|
|
31
31
|
def __init__(self, bucket=None, region=None, save_prefix=None):
|
32
|
-
"""TaskGroupDstNodeResp
|
32
|
+
r"""TaskGroupDstNodeResp
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
@@ -57,7 +57,7 @@ class TaskGroupDstNodeResp:
|
|
57
57
|
|
58
58
|
@property
|
59
59
|
def bucket(self):
|
60
|
-
"""Gets the bucket of this TaskGroupDstNodeResp.
|
60
|
+
r"""Gets the bucket of this TaskGroupDstNodeResp.
|
61
61
|
|
62
62
|
目的端桶的名称。
|
63
63
|
|
@@ -68,7 +68,7 @@ class TaskGroupDstNodeResp:
|
|
68
68
|
|
69
69
|
@bucket.setter
|
70
70
|
def bucket(self, bucket):
|
71
|
-
"""Sets the bucket of this TaskGroupDstNodeResp.
|
71
|
+
r"""Sets the bucket of this TaskGroupDstNodeResp.
|
72
72
|
|
73
73
|
目的端桶的名称。
|
74
74
|
|
@@ -79,7 +79,7 @@ class TaskGroupDstNodeResp:
|
|
79
79
|
|
80
80
|
@property
|
81
81
|
def region(self):
|
82
|
-
"""Gets the region of this TaskGroupDstNodeResp.
|
82
|
+
r"""Gets the region of this TaskGroupDstNodeResp.
|
83
83
|
|
84
84
|
目的端桶所处的区域。
|
85
85
|
|
@@ -90,7 +90,7 @@ class TaskGroupDstNodeResp:
|
|
90
90
|
|
91
91
|
@region.setter
|
92
92
|
def region(self, region):
|
93
|
-
"""Sets the region of this TaskGroupDstNodeResp.
|
93
|
+
r"""Sets the region of this TaskGroupDstNodeResp.
|
94
94
|
|
95
95
|
目的端桶所处的区域。
|
96
96
|
|
@@ -101,7 +101,7 @@ class TaskGroupDstNodeResp:
|
|
101
101
|
|
102
102
|
@property
|
103
103
|
def save_prefix(self):
|
104
|
-
"""Gets the save_prefix of this TaskGroupDstNodeResp.
|
104
|
+
r"""Gets the save_prefix of this TaskGroupDstNodeResp.
|
105
105
|
|
106
106
|
目的端桶内路径前缀(拼接在对象key前面,组成新的key,拼接后不能超过1024个字符)。
|
107
107
|
|
@@ -112,7 +112,7 @@ class TaskGroupDstNodeResp:
|
|
112
112
|
|
113
113
|
@save_prefix.setter
|
114
114
|
def save_prefix(self, save_prefix):
|
115
|
-
"""Sets the save_prefix of this TaskGroupDstNodeResp.
|
115
|
+
r"""Sets the save_prefix of this TaskGroupDstNodeResp.
|
116
116
|
|
117
117
|
目的端桶内路径前缀(拼接在对象key前面,组成新的key,拼接后不能超过1024个字符)。
|
118
118
|
|