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,110 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchUpdateVaultRequestBody:
|
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
|
+
'vault': 'VaultBatchUpdate'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'vault': 'vault'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, vault=None):
|
28
|
+
r"""BatchUpdateVaultRequestBody
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param vault:
|
33
|
+
:type vault: :class:`huaweicloudsdkcbr.v1.VaultBatchUpdate`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._vault = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.vault = vault
|
42
|
+
|
43
|
+
@property
|
44
|
+
def vault(self):
|
45
|
+
r"""Gets the vault of this BatchUpdateVaultRequestBody.
|
46
|
+
|
47
|
+
:return: The vault of this BatchUpdateVaultRequestBody.
|
48
|
+
:rtype: :class:`huaweicloudsdkcbr.v1.VaultBatchUpdate`
|
49
|
+
"""
|
50
|
+
return self._vault
|
51
|
+
|
52
|
+
@vault.setter
|
53
|
+
def vault(self, vault):
|
54
|
+
r"""Sets the vault of this BatchUpdateVaultRequestBody.
|
55
|
+
|
56
|
+
:param vault: The vault of this BatchUpdateVaultRequestBody.
|
57
|
+
:type vault: :class:`huaweicloudsdkcbr.v1.VaultBatchUpdate`
|
58
|
+
"""
|
59
|
+
self._vault = vault
|
60
|
+
|
61
|
+
def to_dict(self):
|
62
|
+
"""Returns the model properties as a dict"""
|
63
|
+
result = {}
|
64
|
+
|
65
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
66
|
+
value = getattr(self, attr)
|
67
|
+
if isinstance(value, list):
|
68
|
+
result[attr] = list(map(
|
69
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
70
|
+
value
|
71
|
+
))
|
72
|
+
elif hasattr(value, "to_dict"):
|
73
|
+
result[attr] = value.to_dict()
|
74
|
+
elif isinstance(value, dict):
|
75
|
+
result[attr] = dict(map(
|
76
|
+
lambda item: (item[0], item[1].to_dict())
|
77
|
+
if hasattr(item[1], "to_dict") else item,
|
78
|
+
value.items()
|
79
|
+
))
|
80
|
+
else:
|
81
|
+
if attr in self.sensitive_list:
|
82
|
+
result[attr] = "****"
|
83
|
+
else:
|
84
|
+
result[attr] = value
|
85
|
+
|
86
|
+
return result
|
87
|
+
|
88
|
+
def to_str(self):
|
89
|
+
"""Returns the string representation of the model"""
|
90
|
+
import simplejson as json
|
91
|
+
if six.PY2:
|
92
|
+
import sys
|
93
|
+
reload(sys)
|
94
|
+
sys.setdefaultencoding("utf-8")
|
95
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
|
+
|
97
|
+
def __repr__(self):
|
98
|
+
"""For `print`"""
|
99
|
+
return self.to_str()
|
100
|
+
|
101
|
+
def __eq__(self, other):
|
102
|
+
"""Returns true if both objects are equal"""
|
103
|
+
if not isinstance(other, BatchUpdateVaultRequestBody):
|
104
|
+
return False
|
105
|
+
|
106
|
+
return self.__dict__ == other.__dict__
|
107
|
+
|
108
|
+
def __ne__(self, other):
|
109
|
+
"""Returns true if both objects are not equal"""
|
110
|
+
return not self == other
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class BatchUpdateVaultResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'updated_vaults_id': 'list[str]'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'updated_vaults_id': 'updated_vaults_id'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, updated_vaults_id=None):
|
29
|
+
r"""BatchUpdateVaultResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param updated_vaults_id: 已批量修改id列表
|
34
|
+
:type updated_vaults_id: list[str]
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(BatchUpdateVaultResponse, self).__init__()
|
38
|
+
|
39
|
+
self._updated_vaults_id = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if updated_vaults_id is not None:
|
43
|
+
self.updated_vaults_id = updated_vaults_id
|
44
|
+
|
45
|
+
@property
|
46
|
+
def updated_vaults_id(self):
|
47
|
+
r"""Gets the updated_vaults_id of this BatchUpdateVaultResponse.
|
48
|
+
|
49
|
+
已批量修改id列表
|
50
|
+
|
51
|
+
:return: The updated_vaults_id of this BatchUpdateVaultResponse.
|
52
|
+
:rtype: list[str]
|
53
|
+
"""
|
54
|
+
return self._updated_vaults_id
|
55
|
+
|
56
|
+
@updated_vaults_id.setter
|
57
|
+
def updated_vaults_id(self, updated_vaults_id):
|
58
|
+
r"""Sets the updated_vaults_id of this BatchUpdateVaultResponse.
|
59
|
+
|
60
|
+
已批量修改id列表
|
61
|
+
|
62
|
+
:param updated_vaults_id: The updated_vaults_id of this BatchUpdateVaultResponse.
|
63
|
+
:type updated_vaults_id: list[str]
|
64
|
+
"""
|
65
|
+
self._updated_vaults_id = updated_vaults_id
|
66
|
+
|
67
|
+
def to_dict(self):
|
68
|
+
"""Returns the model properties as a dict"""
|
69
|
+
result = {}
|
70
|
+
|
71
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
72
|
+
value = getattr(self, attr)
|
73
|
+
if isinstance(value, list):
|
74
|
+
result[attr] = list(map(
|
75
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
76
|
+
value
|
77
|
+
))
|
78
|
+
elif hasattr(value, "to_dict"):
|
79
|
+
result[attr] = value.to_dict()
|
80
|
+
elif isinstance(value, dict):
|
81
|
+
result[attr] = dict(map(
|
82
|
+
lambda item: (item[0], item[1].to_dict())
|
83
|
+
if hasattr(item[1], "to_dict") else item,
|
84
|
+
value.items()
|
85
|
+
))
|
86
|
+
else:
|
87
|
+
if attr in self.sensitive_list:
|
88
|
+
result[attr] = "****"
|
89
|
+
else:
|
90
|
+
result[attr] = value
|
91
|
+
|
92
|
+
return result
|
93
|
+
|
94
|
+
def to_str(self):
|
95
|
+
"""Returns the string representation of the model"""
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
"""For `print`"""
|
105
|
+
return self.to_str()
|
106
|
+
|
107
|
+
def __eq__(self, other):
|
108
|
+
"""Returns true if both objects are equal"""
|
109
|
+
if not isinstance(other, BatchUpdateVaultResponse):
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
"""Returns true if both objects are not equal"""
|
116
|
+
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 Billing:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class Billing:
|
|
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 = {
|
@@ -36,7 +30,8 @@ class Billing:
|
|
36
30
|
'status': 'str',
|
37
31
|
'storage_unit': 'str',
|
38
32
|
'used': 'int',
|
39
|
-
'frozen_scene': 'str'
|
33
|
+
'frozen_scene': 'str',
|
34
|
+
'is_multi_az': 'bool'
|
40
35
|
}
|
41
36
|
|
42
37
|
attribute_map = {
|
@@ -53,11 +48,46 @@ class Billing:
|
|
53
48
|
'status': 'status',
|
54
49
|
'storage_unit': 'storage_unit',
|
55
50
|
'used': 'used',
|
56
|
-
'frozen_scene': 'frozen_scene'
|
51
|
+
'frozen_scene': 'frozen_scene',
|
52
|
+
'is_multi_az': 'is_multi_az'
|
57
53
|
}
|
58
54
|
|
59
|
-
def __init__(self, allocated=None, charging_mode=None, cloud_type=None, consistent_level=None, object_type=None, order_id=None, product_id=None, protect_type=None, size=None, spec_code=None, status=None, storage_unit=None, used=None, frozen_scene=None):
|
60
|
-
"""Billing
|
55
|
+
def __init__(self, allocated=None, charging_mode=None, cloud_type=None, consistent_level=None, object_type=None, order_id=None, product_id=None, protect_type=None, size=None, spec_code=None, status=None, storage_unit=None, used=None, frozen_scene=None, is_multi_az=None):
|
56
|
+
r"""Billing
|
57
|
+
|
58
|
+
The model defined in huaweicloud sdk
|
59
|
+
|
60
|
+
:param allocated: 已分配容量,单位GB
|
61
|
+
:type allocated: int
|
62
|
+
:param charging_mode: 创建模式
|
63
|
+
:type charging_mode: str
|
64
|
+
:param cloud_type: 云平台
|
65
|
+
:type cloud_type: str
|
66
|
+
:param consistent_level: 崩溃一致性(crash_consistent)或应用一致性(app_consistent)
|
67
|
+
:type consistent_level: str
|
68
|
+
:param object_type: 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
69
|
+
:type object_type: str
|
70
|
+
:param order_id: 订单ID
|
71
|
+
:type order_id: str
|
72
|
+
:param product_id: 产品ID
|
73
|
+
:type product_id: str
|
74
|
+
:param protect_type: 保护类型
|
75
|
+
:type protect_type: str
|
76
|
+
:param size: 容量,单位GB
|
77
|
+
:type size: int
|
78
|
+
:param spec_code: 规格编码: 云服务备份存储库:vault.backup.server.normal;云硬盘备份存储库:vault.backup.volume.normal;文件备份存储库:vault.backup.turbo.normal;数据库备份存储库:vault.backup.database.normal;混合云备份存储库:vault.hybrid.server.normal;复制备份存储库:vault.replication.server.normal
|
79
|
+
:type spec_code: str
|
80
|
+
:param status: 存储库状态
|
81
|
+
:type status: str
|
82
|
+
:param storage_unit: 存储库桶名
|
83
|
+
:type storage_unit: str
|
84
|
+
:param used: 已使用容量,单位MB
|
85
|
+
:type used: int
|
86
|
+
:param frozen_scene: 冻结场景
|
87
|
+
:type frozen_scene: str
|
88
|
+
:param is_multi_az: 存储库多az属性
|
89
|
+
:type is_multi_az: bool
|
90
|
+
"""
|
61
91
|
|
62
92
|
|
63
93
|
|
@@ -75,6 +105,7 @@ class Billing:
|
|
75
105
|
self._storage_unit = None
|
76
106
|
self._used = None
|
77
107
|
self._frozen_scene = None
|
108
|
+
self._is_multi_az = None
|
78
109
|
self.discriminator = None
|
79
110
|
|
80
111
|
self.allocated = allocated
|
@@ -97,12 +128,14 @@ class Billing:
|
|
97
128
|
self.used = used
|
98
129
|
if frozen_scene is not None:
|
99
130
|
self.frozen_scene = frozen_scene
|
131
|
+
if is_multi_az is not None:
|
132
|
+
self.is_multi_az = is_multi_az
|
100
133
|
|
101
134
|
@property
|
102
135
|
def allocated(self):
|
103
|
-
"""Gets the allocated of this Billing.
|
136
|
+
r"""Gets the allocated of this Billing.
|
104
137
|
|
105
|
-
已分配容量,单位
|
138
|
+
已分配容量,单位GB
|
106
139
|
|
107
140
|
:return: The allocated of this Billing.
|
108
141
|
:rtype: int
|
@@ -111,18 +144,18 @@ class Billing:
|
|
111
144
|
|
112
145
|
@allocated.setter
|
113
146
|
def allocated(self, allocated):
|
114
|
-
"""Sets the allocated of this Billing.
|
147
|
+
r"""Sets the allocated of this Billing.
|
115
148
|
|
116
|
-
已分配容量,单位
|
149
|
+
已分配容量,单位GB
|
117
150
|
|
118
151
|
:param allocated: The allocated of this Billing.
|
119
|
-
:type: int
|
152
|
+
:type allocated: int
|
120
153
|
"""
|
121
154
|
self._allocated = allocated
|
122
155
|
|
123
156
|
@property
|
124
157
|
def charging_mode(self):
|
125
|
-
"""Gets the charging_mode of this Billing.
|
158
|
+
r"""Gets the charging_mode of this Billing.
|
126
159
|
|
127
160
|
创建模式
|
128
161
|
|
@@ -133,18 +166,18 @@ class Billing:
|
|
133
166
|
|
134
167
|
@charging_mode.setter
|
135
168
|
def charging_mode(self, charging_mode):
|
136
|
-
"""Sets the charging_mode of this Billing.
|
169
|
+
r"""Sets the charging_mode of this Billing.
|
137
170
|
|
138
171
|
创建模式
|
139
172
|
|
140
173
|
:param charging_mode: The charging_mode of this Billing.
|
141
|
-
:type: str
|
174
|
+
:type charging_mode: str
|
142
175
|
"""
|
143
176
|
self._charging_mode = charging_mode
|
144
177
|
|
145
178
|
@property
|
146
179
|
def cloud_type(self):
|
147
|
-
"""Gets the cloud_type of this Billing.
|
180
|
+
r"""Gets the cloud_type of this Billing.
|
148
181
|
|
149
182
|
云平台
|
150
183
|
|
@@ -155,20 +188,20 @@ class Billing:
|
|
155
188
|
|
156
189
|
@cloud_type.setter
|
157
190
|
def cloud_type(self, cloud_type):
|
158
|
-
"""Sets the cloud_type of this Billing.
|
191
|
+
r"""Sets the cloud_type of this Billing.
|
159
192
|
|
160
193
|
云平台
|
161
194
|
|
162
195
|
:param cloud_type: The cloud_type of this Billing.
|
163
|
-
:type: str
|
196
|
+
:type cloud_type: str
|
164
197
|
"""
|
165
198
|
self._cloud_type = cloud_type
|
166
199
|
|
167
200
|
@property
|
168
201
|
def consistent_level(self):
|
169
|
-
"""Gets the consistent_level of this Billing.
|
202
|
+
r"""Gets the consistent_level of this Billing.
|
170
203
|
|
171
|
-
|
204
|
+
崩溃一致性(crash_consistent)或应用一致性(app_consistent)
|
172
205
|
|
173
206
|
:return: The consistent_level of this Billing.
|
174
207
|
:rtype: str
|
@@ -177,20 +210,20 @@ class Billing:
|
|
177
210
|
|
178
211
|
@consistent_level.setter
|
179
212
|
def consistent_level(self, consistent_level):
|
180
|
-
"""Sets the consistent_level of this Billing.
|
213
|
+
r"""Sets the consistent_level of this Billing.
|
181
214
|
|
182
|
-
|
215
|
+
崩溃一致性(crash_consistent)或应用一致性(app_consistent)
|
183
216
|
|
184
217
|
:param consistent_level: The consistent_level of this Billing.
|
185
|
-
:type: str
|
218
|
+
:type consistent_level: str
|
186
219
|
"""
|
187
220
|
self._consistent_level = consistent_level
|
188
221
|
|
189
222
|
@property
|
190
223
|
def object_type(self):
|
191
|
-
"""Gets the object_type of this Billing.
|
224
|
+
r"""Gets the object_type of this Billing.
|
192
225
|
|
193
|
-
|
226
|
+
对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
194
227
|
|
195
228
|
:return: The object_type of this Billing.
|
196
229
|
:rtype: str
|
@@ -199,18 +232,18 @@ class Billing:
|
|
199
232
|
|
200
233
|
@object_type.setter
|
201
234
|
def object_type(self, object_type):
|
202
|
-
"""Sets the object_type of this Billing.
|
235
|
+
r"""Sets the object_type of this Billing.
|
203
236
|
|
204
|
-
|
237
|
+
对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
205
238
|
|
206
239
|
:param object_type: The object_type of this Billing.
|
207
|
-
:type: str
|
240
|
+
:type object_type: str
|
208
241
|
"""
|
209
242
|
self._object_type = object_type
|
210
243
|
|
211
244
|
@property
|
212
245
|
def order_id(self):
|
213
|
-
"""Gets the order_id of this Billing.
|
246
|
+
r"""Gets the order_id of this Billing.
|
214
247
|
|
215
248
|
订单ID
|
216
249
|
|
@@ -221,18 +254,18 @@ class Billing:
|
|
221
254
|
|
222
255
|
@order_id.setter
|
223
256
|
def order_id(self, order_id):
|
224
|
-
"""Sets the order_id of this Billing.
|
257
|
+
r"""Sets the order_id of this Billing.
|
225
258
|
|
226
259
|
订单ID
|
227
260
|
|
228
261
|
:param order_id: The order_id of this Billing.
|
229
|
-
:type: str
|
262
|
+
:type order_id: str
|
230
263
|
"""
|
231
264
|
self._order_id = order_id
|
232
265
|
|
233
266
|
@property
|
234
267
|
def product_id(self):
|
235
|
-
"""Gets the product_id of this Billing.
|
268
|
+
r"""Gets the product_id of this Billing.
|
236
269
|
|
237
270
|
产品ID
|
238
271
|
|
@@ -243,18 +276,18 @@ class Billing:
|
|
243
276
|
|
244
277
|
@product_id.setter
|
245
278
|
def product_id(self, product_id):
|
246
|
-
"""Sets the product_id of this Billing.
|
279
|
+
r"""Sets the product_id of this Billing.
|
247
280
|
|
248
281
|
产品ID
|
249
282
|
|
250
283
|
:param product_id: The product_id of this Billing.
|
251
|
-
:type: str
|
284
|
+
:type product_id: str
|
252
285
|
"""
|
253
286
|
self._product_id = product_id
|
254
287
|
|
255
288
|
@property
|
256
289
|
def protect_type(self):
|
257
|
-
"""Gets the protect_type of this Billing.
|
290
|
+
r"""Gets the protect_type of this Billing.
|
258
291
|
|
259
292
|
保护类型
|
260
293
|
|
@@ -265,18 +298,18 @@ class Billing:
|
|
265
298
|
|
266
299
|
@protect_type.setter
|
267
300
|
def protect_type(self, protect_type):
|
268
|
-
"""Sets the protect_type of this Billing.
|
301
|
+
r"""Sets the protect_type of this Billing.
|
269
302
|
|
270
303
|
保护类型
|
271
304
|
|
272
305
|
:param protect_type: The protect_type of this Billing.
|
273
|
-
:type: str
|
306
|
+
:type protect_type: str
|
274
307
|
"""
|
275
308
|
self._protect_type = protect_type
|
276
309
|
|
277
310
|
@property
|
278
311
|
def size(self):
|
279
|
-
"""Gets the size of this Billing.
|
312
|
+
r"""Gets the size of this Billing.
|
280
313
|
|
281
314
|
容量,单位GB
|
282
315
|
|
@@ -287,20 +320,20 @@ class Billing:
|
|
287
320
|
|
288
321
|
@size.setter
|
289
322
|
def size(self, size):
|
290
|
-
"""Sets the size of this Billing.
|
323
|
+
r"""Sets the size of this Billing.
|
291
324
|
|
292
325
|
容量,单位GB
|
293
326
|
|
294
327
|
:param size: The size of this Billing.
|
295
|
-
:type: int
|
328
|
+
:type size: int
|
296
329
|
"""
|
297
330
|
self._size = size
|
298
331
|
|
299
332
|
@property
|
300
333
|
def spec_code(self):
|
301
|
-
"""Gets the spec_code of this Billing.
|
334
|
+
r"""Gets the spec_code of this Billing.
|
302
335
|
|
303
|
-
|
336
|
+
规格编码: 云服务备份存储库:vault.backup.server.normal;云硬盘备份存储库:vault.backup.volume.normal;文件备份存储库:vault.backup.turbo.normal;数据库备份存储库:vault.backup.database.normal;混合云备份存储库:vault.hybrid.server.normal;复制备份存储库:vault.replication.server.normal
|
304
337
|
|
305
338
|
:return: The spec_code of this Billing.
|
306
339
|
:rtype: str
|
@@ -309,20 +342,20 @@ class Billing:
|
|
309
342
|
|
310
343
|
@spec_code.setter
|
311
344
|
def spec_code(self, spec_code):
|
312
|
-
"""Sets the spec_code of this Billing.
|
345
|
+
r"""Sets the spec_code of this Billing.
|
313
346
|
|
314
|
-
|
347
|
+
规格编码: 云服务备份存储库:vault.backup.server.normal;云硬盘备份存储库:vault.backup.volume.normal;文件备份存储库:vault.backup.turbo.normal;数据库备份存储库:vault.backup.database.normal;混合云备份存储库:vault.hybrid.server.normal;复制备份存储库:vault.replication.server.normal
|
315
348
|
|
316
349
|
:param spec_code: The spec_code of this Billing.
|
317
|
-
:type: str
|
350
|
+
:type spec_code: str
|
318
351
|
"""
|
319
352
|
self._spec_code = spec_code
|
320
353
|
|
321
354
|
@property
|
322
355
|
def status(self):
|
323
|
-
"""Gets the status of this Billing.
|
356
|
+
r"""Gets the status of this Billing.
|
324
357
|
|
325
|
-
|
358
|
+
存储库状态
|
326
359
|
|
327
360
|
:return: The status of this Billing.
|
328
361
|
:rtype: str
|
@@ -331,18 +364,18 @@ class Billing:
|
|
331
364
|
|
332
365
|
@status.setter
|
333
366
|
def status(self, status):
|
334
|
-
"""Sets the status of this Billing.
|
367
|
+
r"""Sets the status of this Billing.
|
335
368
|
|
336
|
-
|
369
|
+
存储库状态
|
337
370
|
|
338
371
|
:param status: The status of this Billing.
|
339
|
-
:type: str
|
372
|
+
:type status: str
|
340
373
|
"""
|
341
374
|
self._status = status
|
342
375
|
|
343
376
|
@property
|
344
377
|
def storage_unit(self):
|
345
|
-
"""Gets the storage_unit of this Billing.
|
378
|
+
r"""Gets the storage_unit of this Billing.
|
346
379
|
|
347
380
|
存储库桶名
|
348
381
|
|
@@ -353,18 +386,18 @@ class Billing:
|
|
353
386
|
|
354
387
|
@storage_unit.setter
|
355
388
|
def storage_unit(self, storage_unit):
|
356
|
-
"""Sets the storage_unit of this Billing.
|
389
|
+
r"""Sets the storage_unit of this Billing.
|
357
390
|
|
358
391
|
存储库桶名
|
359
392
|
|
360
393
|
:param storage_unit: The storage_unit of this Billing.
|
361
|
-
:type: str
|
394
|
+
:type storage_unit: str
|
362
395
|
"""
|
363
396
|
self._storage_unit = storage_unit
|
364
397
|
|
365
398
|
@property
|
366
399
|
def used(self):
|
367
|
-
"""Gets the used of this Billing.
|
400
|
+
r"""Gets the used of this Billing.
|
368
401
|
|
369
402
|
已使用容量,单位MB
|
370
403
|
|
@@ -375,18 +408,18 @@ class Billing:
|
|
375
408
|
|
376
409
|
@used.setter
|
377
410
|
def used(self, used):
|
378
|
-
"""Sets the used of this Billing.
|
411
|
+
r"""Sets the used of this Billing.
|
379
412
|
|
380
413
|
已使用容量,单位MB
|
381
414
|
|
382
415
|
:param used: The used of this Billing.
|
383
|
-
:type: int
|
416
|
+
:type used: int
|
384
417
|
"""
|
385
418
|
self._used = used
|
386
419
|
|
387
420
|
@property
|
388
421
|
def frozen_scene(self):
|
389
|
-
"""Gets the frozen_scene of this Billing.
|
422
|
+
r"""Gets the frozen_scene of this Billing.
|
390
423
|
|
391
424
|
冻结场景
|
392
425
|
|
@@ -397,15 +430,37 @@ class Billing:
|
|
397
430
|
|
398
431
|
@frozen_scene.setter
|
399
432
|
def frozen_scene(self, frozen_scene):
|
400
|
-
"""Sets the frozen_scene of this Billing.
|
433
|
+
r"""Sets the frozen_scene of this Billing.
|
401
434
|
|
402
435
|
冻结场景
|
403
436
|
|
404
437
|
:param frozen_scene: The frozen_scene of this Billing.
|
405
|
-
:type: str
|
438
|
+
:type frozen_scene: str
|
406
439
|
"""
|
407
440
|
self._frozen_scene = frozen_scene
|
408
441
|
|
442
|
+
@property
|
443
|
+
def is_multi_az(self):
|
444
|
+
r"""Gets the is_multi_az of this Billing.
|
445
|
+
|
446
|
+
存储库多az属性
|
447
|
+
|
448
|
+
:return: The is_multi_az of this Billing.
|
449
|
+
:rtype: bool
|
450
|
+
"""
|
451
|
+
return self._is_multi_az
|
452
|
+
|
453
|
+
@is_multi_az.setter
|
454
|
+
def is_multi_az(self, is_multi_az):
|
455
|
+
r"""Sets the is_multi_az of this Billing.
|
456
|
+
|
457
|
+
存储库多az属性
|
458
|
+
|
459
|
+
:param is_multi_az: The is_multi_az of this Billing.
|
460
|
+
:type is_multi_az: bool
|
461
|
+
"""
|
462
|
+
self._is_multi_az = is_multi_az
|
463
|
+
|
409
464
|
def to_dict(self):
|
410
465
|
"""Returns the model properties as a dict"""
|
411
466
|
result = {}
|
@@ -435,10 +490,15 @@ class Billing:
|
|
435
490
|
|
436
491
|
def to_str(self):
|
437
492
|
"""Returns the string representation of the model"""
|
438
|
-
|
493
|
+
import simplejson as json
|
494
|
+
if six.PY2:
|
495
|
+
import sys
|
496
|
+
reload(sys)
|
497
|
+
sys.setdefaultencoding("utf-8")
|
498
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
439
499
|
|
440
500
|
def __repr__(self):
|
441
|
-
"""For `print`
|
501
|
+
"""For `print`"""
|
442
502
|
return self.to_str()
|
443
503
|
|
444
504
|
def __eq__(self, other):
|