huaweicloudsdkcbr 3.0.42rc0__py3-none-any.whl → 3.1.160__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.
- huaweicloudsdkcbr/v1/__init__.py +110 -5
- huaweicloudsdkcbr/v1/cbr_async_client.py +3641 -1490
- huaweicloudsdkcbr/v1/cbr_client.py +3638 -1488
- huaweicloudsdkcbr/v1/model/__init__.py +109 -3
- huaweicloudsdkcbr/v1/model/add_agent_path_request.py +139 -0
- huaweicloudsdkcbr/v1/model/add_agent_path_response.py +145 -0
- huaweicloudsdkcbr/v1/model/add_member_request.py +26 -19
- huaweicloudsdkcbr/v1/model/add_member_response.py +27 -19
- huaweicloudsdkcbr/v1/model/add_members_req.py +52 -17
- huaweicloudsdkcbr/v1/model/add_vault_resource_request.py +26 -19
- huaweicloudsdkcbr/v1/model/add_vault_resource_response.py +19 -13
- huaweicloudsdkcbr/v1/model/agent.py +433 -0
- huaweicloudsdkcbr/v1/model/agent_add_path_req.py +143 -0
- huaweicloudsdkcbr/v1/model/agent_register.py +285 -0
- huaweicloudsdkcbr/v1/model/agent_register_req.py +110 -0
- huaweicloudsdkcbr/v1/model/agent_remove_path_req.py +114 -0
- huaweicloudsdkcbr/v1/model/agent_update.py +114 -0
- huaweicloudsdkcbr/v1/model/agent_update_req.py +110 -0
- huaweicloudsdkcbr/v1/model/associate_vault_policy_request.py +26 -19
- huaweicloudsdkcbr/v1/model/associate_vault_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/backup_extend_info.py +91 -68
- huaweicloudsdkcbr/v1/model/backup_replicate_req.py +19 -16
- huaweicloudsdkcbr/v1/model/backup_replicate_req_body.py +43 -28
- huaweicloudsdkcbr/v1/model/backup_replicate_resp_body.py +55 -36
- huaweicloudsdkcbr/v1/model/backup_resp.py +246 -87
- huaweicloudsdkcbr/v1/model/backup_restore.py +67 -29
- huaweicloudsdkcbr/v1/model/backup_restore_req.py +19 -16
- huaweicloudsdkcbr/v1/model/backup_restore_server_mapping.py +25 -18
- huaweicloudsdkcbr/v1/model/backup_sync.py +53 -34
- huaweicloudsdkcbr/v1/model/backup_sync_req.py +19 -14
- huaweicloudsdkcbr/v1/model/backup_sync_resp_body.py +23 -16
- huaweicloudsdkcbr/v1/model/backup_update.py +115 -0
- huaweicloudsdkcbr/v1/model/backup_update_req.py +111 -0
- huaweicloudsdkcbr/v1/model/batch_create_and_delete_vault_tags_request.py +26 -19
- huaweicloudsdkcbr/v1/model/batch_create_and_delete_vault_tags_response.py +14 -10
- huaweicloudsdkcbr/v1/model/batch_update_vault_request.py +111 -0
- huaweicloudsdkcbr/v1/model/batch_update_vault_request_body.py +110 -0
- huaweicloudsdkcbr/v1/model/batch_update_vault_response.py +116 -0
- huaweicloudsdkcbr/v1/model/billing.py +125 -65
- huaweicloudsdkcbr/v1/model/billing_create.py +99 -70
- huaweicloudsdkcbr/v1/model/billing_update.py +23 -16
- huaweicloudsdkcbr/v1/model/bind_rules_tags.py +142 -0
- huaweicloudsdkcbr/v1/model/bulk_create_and_delete_vault_tags_req.py +30 -21
- huaweicloudsdkcbr/v1/model/cbc_order_change.py +225 -0
- huaweicloudsdkcbr/v1/model/cbc_order_result.py +200 -0
- huaweicloudsdkcbr/v1/model/cbc_product_info_order_change.py +199 -0
- huaweicloudsdkcbr/v1/model/cbc_product_info_update.py +199 -0
- huaweicloudsdkcbr/v1/model/cbc_update.py +196 -0
- huaweicloudsdkcbr/v1/model/change_order_request.py +111 -0
- huaweicloudsdkcbr/v1/model/change_order_response.py +174 -0
- huaweicloudsdkcbr/v1/model/change_to_period.py +286 -0
- huaweicloudsdkcbr/v1/model/change_vault_charge_mode_request.py +111 -0
- huaweicloudsdkcbr/v1/model/change_vault_charge_mode_response.py +174 -0
- huaweicloudsdkcbr/v1/model/check_agent_request.py +111 -0
- huaweicloudsdkcbr/v1/model/check_agent_response.py +116 -0
- huaweicloudsdkcbr/v1/model/checkpoint_create.py +47 -36
- huaweicloudsdkcbr/v1/model/checkpoint_create_skipped_resource.py +38 -25
- huaweicloudsdkcbr/v1/model/checkpoint_extra_info_resp.py +28 -19
- huaweicloudsdkcbr/v1/model/checkpoint_param.py +78 -34
- huaweicloudsdkcbr/v1/model/checkpoint_plan_create.py +35 -24
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_param.py +43 -28
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_req.py +19 -16
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_resp_body.py +54 -35
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_respbackups.py +23 -16
- huaweicloudsdkcbr/v1/model/checkpoint_resource_resp.py +57 -38
- huaweicloudsdkcbr/v1/model/{billbing_create_extra_info.py → combined_order.py} +65 -29
- huaweicloudsdkcbr/v1/model/copy_backup_request.py +26 -19
- huaweicloudsdkcbr/v1/model/copy_backup_response.py +20 -16
- huaweicloudsdkcbr/v1/model/copy_checkpoint_request.py +19 -16
- huaweicloudsdkcbr/v1/model/copy_checkpoint_response.py +20 -16
- huaweicloudsdkcbr/v1/model/create_checkpoint_request.py +19 -16
- huaweicloudsdkcbr/v1/model/create_checkpoint_response.py +20 -16
- huaweicloudsdkcbr/v1/model/create_organization_policy_request.py +111 -0
- huaweicloudsdkcbr/v1/model/create_organization_policy_response.py +112 -0
- huaweicloudsdkcbr/v1/model/create_policy_request.py +19 -16
- huaweicloudsdkcbr/v1/model/create_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/create_post_paid_vault_request.py +111 -0
- huaweicloudsdkcbr/v1/model/create_post_paid_vault_response.py +203 -0
- huaweicloudsdkcbr/v1/model/create_vault_request.py +19 -16
- huaweicloudsdkcbr/v1/model/create_vault_response.py +21 -17
- huaweicloudsdkcbr/v1/model/create_vault_tags_request.py +26 -19
- huaweicloudsdkcbr/v1/model/create_vault_tags_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_backup_request.py +20 -13
- huaweicloudsdkcbr/v1/model/delete_backup_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_member_request.py +27 -16
- huaweicloudsdkcbr/v1/model/delete_member_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_organization_policy_request.py +114 -0
- huaweicloudsdkcbr/v1/model/delete_organization_policy_response.py +85 -0
- huaweicloudsdkcbr/v1/model/delete_policy_request.py +20 -13
- huaweicloudsdkcbr/v1/model/delete_policy_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_vault_request.py +20 -13
- huaweicloudsdkcbr/v1/model/delete_vault_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_vault_tag_request.py +27 -16
- huaweicloudsdkcbr/v1/model/delete_vault_tag_response.py +14 -10
- huaweicloudsdkcbr/v1/model/disassociate_vault_policy_request.py +26 -19
- huaweicloudsdkcbr/v1/model/disassociate_vault_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/domain_migrate.py +142 -0
- huaweicloudsdkcbr/v1/model/domain_migrate_project_status.py +286 -0
- huaweicloudsdkcbr/v1/model/{vault_resource_intances_resp.py → domain_projects_info.py} +54 -49
- huaweicloudsdkcbr/v1/model/exclude_path.py +144 -0
- huaweicloudsdkcbr/v1/model/image_data.py +20 -15
- huaweicloudsdkcbr/v1/model/import_backup_request.py +19 -16
- huaweicloudsdkcbr/v1/model/import_backup_response.py +20 -14
- huaweicloudsdkcbr/v1/model/import_checkpoint_request.py +111 -0
- huaweicloudsdkcbr/v1/model/import_checkpoint_response.py +112 -0
- huaweicloudsdkcbr/v1/model/instances_resource_detail.py +111 -0
- huaweicloudsdkcbr/v1/model/list_agent_request.py +202 -0
- huaweicloudsdkcbr/v1/model/list_agent_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_backups_request.py +221 -76
- huaweicloudsdkcbr/v1/model/list_backups_response.py +86 -20
- huaweicloudsdkcbr/v1/model/list_domain_projects_request.py +114 -0
- huaweicloudsdkcbr/v1/model/list_domain_projects_response.py +116 -0
- huaweicloudsdkcbr/v1/model/list_external_vault_request.py +316 -0
- huaweicloudsdkcbr/v1/model/list_external_vault_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_op_logs_request.py +97 -46
- huaweicloudsdkcbr/v1/model/list_op_logs_response.py +86 -20
- huaweicloudsdkcbr/v1/model/list_organization_policies_request.py +172 -0
- huaweicloudsdkcbr/v1/model/list_organization_policies_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_organization_policy_detail_request.py +114 -0
- huaweicloudsdkcbr/v1/model/list_organization_policy_detail_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_policies_request.py +27 -16
- huaweicloudsdkcbr/v1/model/list_policies_response.py +27 -19
- huaweicloudsdkcbr/v1/model/list_projects_request.py +84 -0
- huaweicloudsdkcbr/v1/model/list_projects_response.py +141 -0
- huaweicloudsdkcbr/v1/model/list_protectable_request.py +69 -34
- huaweicloudsdkcbr/v1/model/list_protectable_response.py +20 -14
- huaweicloudsdkcbr/v1/model/list_vault_request.py +92 -45
- huaweicloudsdkcbr/v1/model/list_vault_response.py +86 -20
- huaweicloudsdkcbr/v1/model/match.py +23 -16
- huaweicloudsdkcbr/v1/model/member.py +53 -34
- huaweicloudsdkcbr/v1/model/migrate_domain_request.py +111 -0
- huaweicloudsdkcbr/v1/model/migrate_domain_response.py +112 -0
- huaweicloudsdkcbr/v1/model/migrate_vault_resource_request.py +24 -21
- huaweicloudsdkcbr/v1/model/migrate_vault_resource_response.py +19 -13
- huaweicloudsdkcbr/v1/model/op_error_info.py +23 -16
- huaweicloudsdkcbr/v1/model/op_extend_info_bckup.py +43 -28
- huaweicloudsdkcbr/v1/model/op_extend_info_common.py +28 -19
- huaweicloudsdkcbr/v1/model/op_extend_info_delete.py +23 -16
- huaweicloudsdkcbr/v1/model/op_extend_info_remove_resources.py +31 -22
- huaweicloudsdkcbr/v1/model/op_extend_info_replication.py +63 -40
- huaweicloudsdkcbr/v1/model/op_extend_info_restore.py +33 -22
- huaweicloudsdkcbr/v1/model/op_extend_info_sync.py +28 -19
- huaweicloudsdkcbr/v1/model/op_extend_info_vault_delete.py +27 -20
- huaweicloudsdkcbr/v1/model/op_extra_info.py +67 -64
- huaweicloudsdkcbr/v1/model/operation_log.py +90 -61
- huaweicloudsdkcbr/v1/model/organization_policy.py +388 -0
- huaweicloudsdkcbr/v1/model/organization_policy_create.py +275 -0
- huaweicloudsdkcbr/v1/model/organization_policy_create_req.py +110 -0
- huaweicloudsdkcbr/v1/model/organization_policy_status.py +198 -0
- huaweicloudsdkcbr/v1/model/organization_policy_update.py +252 -0
- huaweicloudsdkcbr/v1/model/organization_policy_update_req.py +110 -0
- huaweicloudsdkcbr/v1/model/path.py +231 -0
- huaweicloudsdkcbr/v1/model/policy.py +51 -38
- huaweicloudsdkcbr/v1/model/policy_associate_vault.py +23 -16
- huaweicloudsdkcbr/v1/model/policy_create.py +40 -31
- huaweicloudsdkcbr/v1/model/policy_create_req.py +19 -16
- huaweicloudsdkcbr/v1/model/policy_trigger_properties_req.py +20 -15
- huaweicloudsdkcbr/v1/model/policy_trigger_properties_resp.py +25 -18
- huaweicloudsdkcbr/v1/model/policy_trigger_req.py +19 -16
- huaweicloudsdkcbr/v1/model/policy_trigger_resp.py +34 -25
- huaweicloudsdkcbr/v1/model/policy_update.py +35 -28
- huaweicloudsdkcbr/v1/model/policy_update_req.py +19 -16
- huaweicloudsdkcbr/v1/model/policyo_od_create.py +97 -45
- huaweicloudsdkcbr/v1/model/projects_list_info.py +314 -0
- huaweicloudsdkcbr/v1/model/protectable_agent_req.py +114 -0
- huaweicloudsdkcbr/v1/model/protectable_agent_status.py +260 -0
- huaweicloudsdkcbr/v1/model/protectable_agent_status_resource.py +171 -0
- huaweicloudsdkcbr/v1/model/protectable_replication_capabilities_resp_region.py +23 -16
- huaweicloudsdkcbr/v1/model/protectable_result.py +68 -30
- huaweicloudsdkcbr/v1/model/protectables_resp.py +58 -41
- huaweicloudsdkcbr/v1/model/register_agent_request.py +111 -0
- huaweicloudsdkcbr/v1/model/register_agent_response.py +112 -0
- huaweicloudsdkcbr/v1/model/remove_agent_path_request.py +139 -0
- huaweicloudsdkcbr/v1/model/remove_agent_path_response.py +145 -0
- huaweicloudsdkcbr/v1/model/remove_vault_resource_request.py +26 -19
- huaweicloudsdkcbr/v1/model/remove_vault_resource_response.py +19 -13
- huaweicloudsdkcbr/v1/model/replication_record_get.py +85 -58
- huaweicloudsdkcbr/v1/model/replication_records_extra_info.py +231 -0
- huaweicloudsdkcbr/v1/model/resource.py +38 -28
- huaweicloudsdkcbr/v1/model/resource_create.py +36 -27
- huaweicloudsdkcbr/v1/model/resource_extra_info.py +28 -21
- huaweicloudsdkcbr/v1/model/resource_extra_info_include_volumes.py +23 -16
- huaweicloudsdkcbr/v1/model/resource_resp.py +88 -42
- huaweicloudsdkcbr/v1/model/restore_backup_request.py +26 -19
- huaweicloudsdkcbr/v1/model/restore_backup_response.py +14 -10
- huaweicloudsdkcbr/v1/model/restore_details.py +114 -0
- huaweicloudsdkcbr/v1/model/self_links_info.py +115 -0
- huaweicloudsdkcbr/v1/model/set_vault_resource_request.py +139 -0
- huaweicloudsdkcbr/v1/model/set_vault_resource_response.py +116 -0
- huaweicloudsdkcbr/v1/model/show_agent_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_agent_response.py +112 -0
- huaweicloudsdkcbr/v1/model/show_backup_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_backup_response.py +21 -17
- huaweicloudsdkcbr/v1/model/show_checkpoint_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_checkpoint_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_domain_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_domain_response.py +203 -0
- huaweicloudsdkcbr/v1/model/show_member_detail_request.py +27 -16
- huaweicloudsdkcbr/v1/model/show_member_detail_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_members_detail_request.py +76 -37
- huaweicloudsdkcbr/v1/model/show_members_detail_response.py +27 -19
- huaweicloudsdkcbr/v1/model/show_metadata_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_metadata_response.py +319 -0
- huaweicloudsdkcbr/v1/model/show_migrate_status_request.py +115 -0
- huaweicloudsdkcbr/v1/model/show_migrate_status_response.py +145 -0
- huaweicloudsdkcbr/v1/model/show_op_log_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_op_log_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_organization_policy_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_organization_policy_response.py +112 -0
- huaweicloudsdkcbr/v1/model/show_policy_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_protectable_request.py +27 -16
- huaweicloudsdkcbr/v1/model/show_protectable_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_replication_capabilities_request.py +13 -10
- huaweicloudsdkcbr/v1/model/show_replication_capabilities_response.py +20 -14
- huaweicloudsdkcbr/v1/model/show_storage_usage_request.py +202 -0
- huaweicloudsdkcbr/v1/model/show_storage_usage_response.py +145 -0
- huaweicloudsdkcbr/v1/model/show_summary_request.py +84 -0
- huaweicloudsdkcbr/v1/model/show_summary_response.py +145 -0
- huaweicloudsdkcbr/v1/model/show_vault_project_tag_request.py +13 -10
- huaweicloudsdkcbr/v1/model/show_vault_project_tag_response.py +20 -14
- huaweicloudsdkcbr/v1/model/show_vault_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_vault_resource_instances_request.py +19 -16
- huaweicloudsdkcbr/v1/model/show_vault_resource_instances_response.py +25 -17
- huaweicloudsdkcbr/v1/model/show_vault_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_vault_tag_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_vault_tag_response.py +26 -18
- huaweicloudsdkcbr/v1/model/storage_usage.py +257 -0
- huaweicloudsdkcbr/v1/model/sync_param.py +142 -0
- huaweicloudsdkcbr/v1/model/sync_req.py +110 -0
- huaweicloudsdkcbr/v1/model/sync_resp_body.py +142 -0
- huaweicloudsdkcbr/v1/model/sys_tag.py +25 -18
- huaweicloudsdkcbr/v1/model/sys_tags.py +23 -16
- huaweicloudsdkcbr/v1/model/tag.py +28 -22
- huaweicloudsdkcbr/v1/model/tag_resource.py +44 -35
- huaweicloudsdkcbr/v1/model/tags_req.py +23 -16
- huaweicloudsdkcbr/v1/model/tags_resp.py +27 -20
- huaweicloudsdkcbr/v1/model/unregister_agent_request.py +114 -0
- huaweicloudsdkcbr/v1/model/unregister_agent_response.py +85 -0
- huaweicloudsdkcbr/v1/model/update_agent_request.py +135 -0
- huaweicloudsdkcbr/v1/model/update_agent_response.py +112 -0
- huaweicloudsdkcbr/v1/model/update_backup_request.py +139 -0
- huaweicloudsdkcbr/v1/model/update_backup_response.py +112 -0
- huaweicloudsdkcbr/v1/model/update_member.py +23 -16
- huaweicloudsdkcbr/v1/model/update_member_status_request.py +33 -22
- huaweicloudsdkcbr/v1/model/update_member_status_response.py +20 -16
- huaweicloudsdkcbr/v1/model/update_order_request.py +139 -0
- huaweicloudsdkcbr/v1/model/update_order_response.py +174 -0
- huaweicloudsdkcbr/v1/model/update_organization_policy_request.py +139 -0
- huaweicloudsdkcbr/v1/model/update_organization_policy_response.py +112 -0
- huaweicloudsdkcbr/v1/model/update_policy_request.py +26 -19
- huaweicloudsdkcbr/v1/model/update_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/update_vault_request.py +26 -19
- huaweicloudsdkcbr/v1/model/update_vault_response.py +20 -16
- huaweicloudsdkcbr/v1/model/vault.py +236 -93
- huaweicloudsdkcbr/v1/model/vault_add_resource_req.py +19 -14
- huaweicloudsdkcbr/v1/model/vault_associate.py +59 -22
- huaweicloudsdkcbr/v1/model/vault_backup.py +24 -19
- huaweicloudsdkcbr/v1/model/vault_backup_req.py +19 -16
- huaweicloudsdkcbr/v1/model/vault_batch_update.py +144 -0
- huaweicloudsdkcbr/v1/model/vault_bind_rules.py +22 -17
- huaweicloudsdkcbr/v1/model/vault_create.py +246 -53
- huaweicloudsdkcbr/v1/model/vault_create_parameters.py +111 -0
- huaweicloudsdkcbr/v1/model/vault_create_req.py +19 -16
- huaweicloudsdkcbr/v1/model/vault_create_resource.py +797 -0
- huaweicloudsdkcbr/v1/model/vault_dissociate.py +18 -13
- huaweicloudsdkcbr/v1/model/vault_get.py +256 -108
- huaweicloudsdkcbr/v1/model/vault_migrate_resource_req.py +23 -16
- huaweicloudsdkcbr/v1/model/vault_order.py +478 -0
- huaweicloudsdkcbr/v1/model/vault_order_create_reqs.py +110 -0
- huaweicloudsdkcbr/v1/model/vault_policy_resp.py +28 -19
- huaweicloudsdkcbr/v1/model/vault_remove_resource_req.py +20 -15
- huaweicloudsdkcbr/v1/model/vault_resource_instances_req.py +106 -52
- huaweicloudsdkcbr/v1/model/vault_set_resource_req.py +142 -0
- huaweicloudsdkcbr/v1/model/vault_tags_create_req.py +19 -16
- huaweicloudsdkcbr/v1/model/vault_update.py +130 -34
- huaweicloudsdkcbr/v1/model/vault_update_req.py +19 -16
- huaweicloudsdkcbr/v1/region/cbr_region.py +119 -45
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkcbr-3.1.160.dist-info/RECORD +285 -0
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkcbr/v1/model/backup_detail.py +0 -654
- huaweicloudsdkcbr-3.0.42rc0.dist-info/RECORD +0 -179
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,231 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Path:
|
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
|
+
'status': 'str',
|
22
|
+
'agent_id': 'str',
|
23
|
+
'dir_path': 'str',
|
24
|
+
'exclude_paths': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'id': 'id',
|
29
|
+
'status': 'status',
|
30
|
+
'agent_id': 'agent_id',
|
31
|
+
'dir_path': 'dir_path',
|
32
|
+
'exclude_paths': 'exclude_paths'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, id=None, status=None, agent_id=None, dir_path=None, exclude_paths=None):
|
36
|
+
r"""Path
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param id: 路径ID
|
41
|
+
:type id: str
|
42
|
+
:param status: 路径状态,有available和remove两种状态
|
43
|
+
:type status: str
|
44
|
+
:param agent_id: 该路径所属于的客户端ID
|
45
|
+
:type agent_id: str
|
46
|
+
:param dir_path: 路径详情
|
47
|
+
:type dir_path: str
|
48
|
+
:param exclude_paths: 排除目录列表,多个路径之间以英文逗号分隔 > 该特性目前处于公测阶段,部分region可能无法使用。
|
49
|
+
:type exclude_paths: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._id = None
|
55
|
+
self._status = None
|
56
|
+
self._agent_id = None
|
57
|
+
self._dir_path = None
|
58
|
+
self._exclude_paths = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if id is not None:
|
62
|
+
self.id = id
|
63
|
+
if status is not None:
|
64
|
+
self.status = status
|
65
|
+
if agent_id is not None:
|
66
|
+
self.agent_id = agent_id
|
67
|
+
if dir_path is not None:
|
68
|
+
self.dir_path = dir_path
|
69
|
+
if exclude_paths is not None:
|
70
|
+
self.exclude_paths = exclude_paths
|
71
|
+
|
72
|
+
@property
|
73
|
+
def id(self):
|
74
|
+
r"""Gets the id of this Path.
|
75
|
+
|
76
|
+
路径ID
|
77
|
+
|
78
|
+
:return: The id of this Path.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._id
|
82
|
+
|
83
|
+
@id.setter
|
84
|
+
def id(self, id):
|
85
|
+
r"""Sets the id of this Path.
|
86
|
+
|
87
|
+
路径ID
|
88
|
+
|
89
|
+
:param id: The id of this Path.
|
90
|
+
:type id: str
|
91
|
+
"""
|
92
|
+
self._id = id
|
93
|
+
|
94
|
+
@property
|
95
|
+
def status(self):
|
96
|
+
r"""Gets the status of this Path.
|
97
|
+
|
98
|
+
路径状态,有available和remove两种状态
|
99
|
+
|
100
|
+
:return: The status of this Path.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._status
|
104
|
+
|
105
|
+
@status.setter
|
106
|
+
def status(self, status):
|
107
|
+
r"""Sets the status of this Path.
|
108
|
+
|
109
|
+
路径状态,有available和remove两种状态
|
110
|
+
|
111
|
+
:param status: The status of this Path.
|
112
|
+
:type status: str
|
113
|
+
"""
|
114
|
+
self._status = status
|
115
|
+
|
116
|
+
@property
|
117
|
+
def agent_id(self):
|
118
|
+
r"""Gets the agent_id of this Path.
|
119
|
+
|
120
|
+
该路径所属于的客户端ID
|
121
|
+
|
122
|
+
:return: The agent_id of this Path.
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._agent_id
|
126
|
+
|
127
|
+
@agent_id.setter
|
128
|
+
def agent_id(self, agent_id):
|
129
|
+
r"""Sets the agent_id of this Path.
|
130
|
+
|
131
|
+
该路径所属于的客户端ID
|
132
|
+
|
133
|
+
:param agent_id: The agent_id of this Path.
|
134
|
+
:type agent_id: str
|
135
|
+
"""
|
136
|
+
self._agent_id = agent_id
|
137
|
+
|
138
|
+
@property
|
139
|
+
def dir_path(self):
|
140
|
+
r"""Gets the dir_path of this Path.
|
141
|
+
|
142
|
+
路径详情
|
143
|
+
|
144
|
+
:return: The dir_path of this Path.
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._dir_path
|
148
|
+
|
149
|
+
@dir_path.setter
|
150
|
+
def dir_path(self, dir_path):
|
151
|
+
r"""Sets the dir_path of this Path.
|
152
|
+
|
153
|
+
路径详情
|
154
|
+
|
155
|
+
:param dir_path: The dir_path of this Path.
|
156
|
+
:type dir_path: str
|
157
|
+
"""
|
158
|
+
self._dir_path = dir_path
|
159
|
+
|
160
|
+
@property
|
161
|
+
def exclude_paths(self):
|
162
|
+
r"""Gets the exclude_paths of this Path.
|
163
|
+
|
164
|
+
排除目录列表,多个路径之间以英文逗号分隔 > 该特性目前处于公测阶段,部分region可能无法使用。
|
165
|
+
|
166
|
+
:return: The exclude_paths of this Path.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._exclude_paths
|
170
|
+
|
171
|
+
@exclude_paths.setter
|
172
|
+
def exclude_paths(self, exclude_paths):
|
173
|
+
r"""Sets the exclude_paths of this Path.
|
174
|
+
|
175
|
+
排除目录列表,多个路径之间以英文逗号分隔 > 该特性目前处于公测阶段,部分region可能无法使用。
|
176
|
+
|
177
|
+
:param exclude_paths: The exclude_paths of this Path.
|
178
|
+
:type exclude_paths: str
|
179
|
+
"""
|
180
|
+
self._exclude_paths = exclude_paths
|
181
|
+
|
182
|
+
def to_dict(self):
|
183
|
+
"""Returns the model properties as a dict"""
|
184
|
+
result = {}
|
185
|
+
|
186
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
187
|
+
value = getattr(self, attr)
|
188
|
+
if isinstance(value, list):
|
189
|
+
result[attr] = list(map(
|
190
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
191
|
+
value
|
192
|
+
))
|
193
|
+
elif hasattr(value, "to_dict"):
|
194
|
+
result[attr] = value.to_dict()
|
195
|
+
elif isinstance(value, dict):
|
196
|
+
result[attr] = dict(map(
|
197
|
+
lambda item: (item[0], item[1].to_dict())
|
198
|
+
if hasattr(item[1], "to_dict") else item,
|
199
|
+
value.items()
|
200
|
+
))
|
201
|
+
else:
|
202
|
+
if attr in self.sensitive_list:
|
203
|
+
result[attr] = "****"
|
204
|
+
else:
|
205
|
+
result[attr] = value
|
206
|
+
|
207
|
+
return result
|
208
|
+
|
209
|
+
def to_str(self):
|
210
|
+
"""Returns the string representation of the model"""
|
211
|
+
import simplejson as json
|
212
|
+
if six.PY2:
|
213
|
+
import sys
|
214
|
+
reload(sys)
|
215
|
+
sys.setdefaultencoding("utf-8")
|
216
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
"""For `print`"""
|
220
|
+
return self.to_str()
|
221
|
+
|
222
|
+
def __eq__(self, other):
|
223
|
+
"""Returns true if both objects are equal"""
|
224
|
+
if not isinstance(other, Path):
|
225
|
+
return False
|
226
|
+
|
227
|
+
return self.__dict__ == other.__dict__
|
228
|
+
|
229
|
+
def __ne__(self, other):
|
230
|
+
"""Returns true if both objects are not equal"""
|
231
|
+
return not self == other
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class Policy:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class Policy:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -43,7 +37,25 @@ class Policy:
|
|
43
37
|
}
|
44
38
|
|
45
39
|
def __init__(self, enabled=None, id=None, name=None, operation_definition=None, operation_type=None, trigger=None, associated_vaults=None):
|
46
|
-
"""Policy
|
40
|
+
r"""Policy
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param enabled: 策略是否启用
|
45
|
+
:type enabled: bool
|
46
|
+
:param id: 策略ID
|
47
|
+
:type id: str
|
48
|
+
:param name: 策略名称
|
49
|
+
:type name: str
|
50
|
+
:param operation_definition:
|
51
|
+
:type operation_definition: :class:`huaweicloudsdkcbr.v1.PolicyoODCreate`
|
52
|
+
:param operation_type: 策略类型,例如 ‘backup’:自动备份
|
53
|
+
:type operation_type: str
|
54
|
+
:param trigger:
|
55
|
+
:type trigger: :class:`huaweicloudsdkcbr.v1.PolicyTriggerResp`
|
56
|
+
:param associated_vaults: 关联的存储库
|
57
|
+
:type associated_vaults: list[:class:`huaweicloudsdkcbr.v1.PolicyAssociateVault`]
|
58
|
+
"""
|
47
59
|
|
48
60
|
|
49
61
|
|
@@ -67,7 +79,7 @@ class Policy:
|
|
67
79
|
|
68
80
|
@property
|
69
81
|
def enabled(self):
|
70
|
-
"""Gets the enabled of this Policy.
|
82
|
+
r"""Gets the enabled of this Policy.
|
71
83
|
|
72
84
|
策略是否启用
|
73
85
|
|
@@ -78,18 +90,18 @@ class Policy:
|
|
78
90
|
|
79
91
|
@enabled.setter
|
80
92
|
def enabled(self, enabled):
|
81
|
-
"""Sets the enabled of this Policy.
|
93
|
+
r"""Sets the enabled of this Policy.
|
82
94
|
|
83
95
|
策略是否启用
|
84
96
|
|
85
97
|
:param enabled: The enabled of this Policy.
|
86
|
-
:type: bool
|
98
|
+
:type enabled: bool
|
87
99
|
"""
|
88
100
|
self._enabled = enabled
|
89
101
|
|
90
102
|
@property
|
91
103
|
def id(self):
|
92
|
-
"""Gets the id of this Policy.
|
104
|
+
r"""Gets the id of this Policy.
|
93
105
|
|
94
106
|
策略ID
|
95
107
|
|
@@ -100,18 +112,18 @@ class Policy:
|
|
100
112
|
|
101
113
|
@id.setter
|
102
114
|
def id(self, id):
|
103
|
-
"""Sets the id of this Policy.
|
115
|
+
r"""Sets the id of this Policy.
|
104
116
|
|
105
117
|
策略ID
|
106
118
|
|
107
119
|
:param id: The id of this Policy.
|
108
|
-
:type: str
|
120
|
+
:type id: str
|
109
121
|
"""
|
110
122
|
self._id = id
|
111
123
|
|
112
124
|
@property
|
113
125
|
def name(self):
|
114
|
-
"""Gets the name of this Policy.
|
126
|
+
r"""Gets the name of this Policy.
|
115
127
|
|
116
128
|
策略名称
|
117
129
|
|
@@ -122,38 +134,36 @@ class Policy:
|
|
122
134
|
|
123
135
|
@name.setter
|
124
136
|
def name(self, name):
|
125
|
-
"""Sets the name of this Policy.
|
137
|
+
r"""Sets the name of this Policy.
|
126
138
|
|
127
139
|
策略名称
|
128
140
|
|
129
141
|
:param name: The name of this Policy.
|
130
|
-
:type: str
|
142
|
+
:type name: str
|
131
143
|
"""
|
132
144
|
self._name = name
|
133
145
|
|
134
146
|
@property
|
135
147
|
def operation_definition(self):
|
136
|
-
"""Gets the operation_definition of this Policy.
|
137
|
-
|
148
|
+
r"""Gets the operation_definition of this Policy.
|
138
149
|
|
139
150
|
:return: The operation_definition of this Policy.
|
140
|
-
:rtype: PolicyoODCreate
|
151
|
+
:rtype: :class:`huaweicloudsdkcbr.v1.PolicyoODCreate`
|
141
152
|
"""
|
142
153
|
return self._operation_definition
|
143
154
|
|
144
155
|
@operation_definition.setter
|
145
156
|
def operation_definition(self, operation_definition):
|
146
|
-
"""Sets the operation_definition of this Policy.
|
147
|
-
|
157
|
+
r"""Sets the operation_definition of this Policy.
|
148
158
|
|
149
159
|
:param operation_definition: The operation_definition of this Policy.
|
150
|
-
:type: PolicyoODCreate
|
160
|
+
:type operation_definition: :class:`huaweicloudsdkcbr.v1.PolicyoODCreate`
|
151
161
|
"""
|
152
162
|
self._operation_definition = operation_definition
|
153
163
|
|
154
164
|
@property
|
155
165
|
def operation_type(self):
|
156
|
-
"""Gets the operation_type of this Policy.
|
166
|
+
r"""Gets the operation_type of this Policy.
|
157
167
|
|
158
168
|
策略类型,例如 ‘backup’:自动备份
|
159
169
|
|
@@ -164,54 +174,52 @@ class Policy:
|
|
164
174
|
|
165
175
|
@operation_type.setter
|
166
176
|
def operation_type(self, operation_type):
|
167
|
-
"""Sets the operation_type of this Policy.
|
177
|
+
r"""Sets the operation_type of this Policy.
|
168
178
|
|
169
179
|
策略类型,例如 ‘backup’:自动备份
|
170
180
|
|
171
181
|
:param operation_type: The operation_type of this Policy.
|
172
|
-
:type: str
|
182
|
+
:type operation_type: str
|
173
183
|
"""
|
174
184
|
self._operation_type = operation_type
|
175
185
|
|
176
186
|
@property
|
177
187
|
def trigger(self):
|
178
|
-
"""Gets the trigger of this Policy.
|
179
|
-
|
188
|
+
r"""Gets the trigger of this Policy.
|
180
189
|
|
181
190
|
:return: The trigger of this Policy.
|
182
|
-
:rtype: PolicyTriggerResp
|
191
|
+
:rtype: :class:`huaweicloudsdkcbr.v1.PolicyTriggerResp`
|
183
192
|
"""
|
184
193
|
return self._trigger
|
185
194
|
|
186
195
|
@trigger.setter
|
187
196
|
def trigger(self, trigger):
|
188
|
-
"""Sets the trigger of this Policy.
|
189
|
-
|
197
|
+
r"""Sets the trigger of this Policy.
|
190
198
|
|
191
199
|
:param trigger: The trigger of this Policy.
|
192
|
-
:type: PolicyTriggerResp
|
200
|
+
:type trigger: :class:`huaweicloudsdkcbr.v1.PolicyTriggerResp`
|
193
201
|
"""
|
194
202
|
self._trigger = trigger
|
195
203
|
|
196
204
|
@property
|
197
205
|
def associated_vaults(self):
|
198
|
-
"""Gets the associated_vaults of this Policy.
|
206
|
+
r"""Gets the associated_vaults of this Policy.
|
199
207
|
|
200
208
|
关联的存储库
|
201
209
|
|
202
210
|
:return: The associated_vaults of this Policy.
|
203
|
-
:rtype: list[PolicyAssociateVault]
|
211
|
+
:rtype: list[:class:`huaweicloudsdkcbr.v1.PolicyAssociateVault`]
|
204
212
|
"""
|
205
213
|
return self._associated_vaults
|
206
214
|
|
207
215
|
@associated_vaults.setter
|
208
216
|
def associated_vaults(self, associated_vaults):
|
209
|
-
"""Sets the associated_vaults of this Policy.
|
217
|
+
r"""Sets the associated_vaults of this Policy.
|
210
218
|
|
211
219
|
关联的存储库
|
212
220
|
|
213
221
|
:param associated_vaults: The associated_vaults of this Policy.
|
214
|
-
:type: list[PolicyAssociateVault]
|
222
|
+
:type associated_vaults: list[:class:`huaweicloudsdkcbr.v1.PolicyAssociateVault`]
|
215
223
|
"""
|
216
224
|
self._associated_vaults = associated_vaults
|
217
225
|
|
@@ -244,10 +252,15 @@ class Policy:
|
|
244
252
|
|
245
253
|
def to_str(self):
|
246
254
|
"""Returns the string representation of the model"""
|
247
|
-
|
255
|
+
import simplejson as json
|
256
|
+
if six.PY2:
|
257
|
+
import sys
|
258
|
+
reload(sys)
|
259
|
+
sys.setdefaultencoding("utf-8")
|
260
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
248
261
|
|
249
262
|
def __repr__(self):
|
250
|
-
"""For `print`
|
263
|
+
"""For `print`"""
|
251
264
|
return self.to_str()
|
252
265
|
|
253
266
|
def __eq__(self, other):
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class PolicyAssociateVault:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class PolicyAssociateVault:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -33,7 +27,15 @@ class PolicyAssociateVault:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, destination_vault_id=None, vault_id=None):
|
36
|
-
"""PolicyAssociateVault
|
30
|
+
r"""PolicyAssociateVault
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param destination_vault_id: 关联的远端存储库ID
|
35
|
+
:type destination_vault_id: str
|
36
|
+
:param vault_id: 存储库ID
|
37
|
+
:type vault_id: str
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -47,7 +49,7 @@ class PolicyAssociateVault:
|
|
47
49
|
|
48
50
|
@property
|
49
51
|
def destination_vault_id(self):
|
50
|
-
"""Gets the destination_vault_id of this PolicyAssociateVault.
|
52
|
+
r"""Gets the destination_vault_id of this PolicyAssociateVault.
|
51
53
|
|
52
54
|
关联的远端存储库ID
|
53
55
|
|
@@ -58,18 +60,18 @@ class PolicyAssociateVault:
|
|
58
60
|
|
59
61
|
@destination_vault_id.setter
|
60
62
|
def destination_vault_id(self, destination_vault_id):
|
61
|
-
"""Sets the destination_vault_id of this PolicyAssociateVault.
|
63
|
+
r"""Sets the destination_vault_id of this PolicyAssociateVault.
|
62
64
|
|
63
65
|
关联的远端存储库ID
|
64
66
|
|
65
67
|
:param destination_vault_id: The destination_vault_id of this PolicyAssociateVault.
|
66
|
-
:type: str
|
68
|
+
:type destination_vault_id: str
|
67
69
|
"""
|
68
70
|
self._destination_vault_id = destination_vault_id
|
69
71
|
|
70
72
|
@property
|
71
73
|
def vault_id(self):
|
72
|
-
"""Gets the vault_id of this PolicyAssociateVault.
|
74
|
+
r"""Gets the vault_id of this PolicyAssociateVault.
|
73
75
|
|
74
76
|
存储库ID
|
75
77
|
|
@@ -80,12 +82,12 @@ class PolicyAssociateVault:
|
|
80
82
|
|
81
83
|
@vault_id.setter
|
82
84
|
def vault_id(self, vault_id):
|
83
|
-
"""Sets the vault_id of this PolicyAssociateVault.
|
85
|
+
r"""Sets the vault_id of this PolicyAssociateVault.
|
84
86
|
|
85
87
|
存储库ID
|
86
88
|
|
87
89
|
:param vault_id: The vault_id of this PolicyAssociateVault.
|
88
|
-
:type: str
|
90
|
+
:type vault_id: str
|
89
91
|
"""
|
90
92
|
self._vault_id = vault_id
|
91
93
|
|
@@ -118,10 +120,15 @@ class PolicyAssociateVault:
|
|
118
120
|
|
119
121
|
def to_str(self):
|
120
122
|
"""Returns the string representation of the model"""
|
121
|
-
|
123
|
+
import simplejson as json
|
124
|
+
if six.PY2:
|
125
|
+
import sys
|
126
|
+
reload(sys)
|
127
|
+
sys.setdefaultencoding("utf-8")
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
122
129
|
|
123
130
|
def __repr__(self):
|
124
|
-
"""For `print`
|
131
|
+
"""For `print`"""
|
125
132
|
return self.to_str()
|
126
133
|
|
127
134
|
def __eq__(self, other):
|