oci 2.146.0__py3-none-any.whl → 2.148.0__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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +57 -57
- oci/apm_synthetics/models/ftp_monitor_configuration.py +2 -2
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/federation_client.py +19 -2
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +2 -1
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +3343 -1855
- oci/data_safe/data_safe_client_composite_operations.py +217 -0
- oci/data_safe/models/__init__.py +28 -0
- oci/data_safe/models/change_sensitive_type_group_compartment_details.py +72 -0
- oci/data_safe/models/create_discovery_job_details.py +33 -0
- oci/data_safe/models/create_sensitive_data_model_details.py +33 -0
- oci/data_safe/models/create_sensitive_type_group_details.py +210 -0
- oci/data_safe/models/discovery_job.py +31 -0
- oci/data_safe/models/grouped_sensitive_type_collection.py +72 -0
- oci/data_safe/models/grouped_sensitive_type_summary.py +72 -0
- oci/data_safe/models/mask_data_details.py +53 -0
- oci/{opensearch/models/pipeline_validation_error_details.py → data_safe/models/masking_error_collection.py} +25 -21
- oci/data_safe/models/masking_error_summary.py +189 -0
- oci/data_safe/models/masking_report.py +111 -2
- oci/data_safe/models/masking_report_summary.py +111 -2
- oci/data_safe/models/patch_grouped_sensitive_types_details.py +72 -0
- oci/data_safe/models/report_definition.py +14 -6
- oci/data_safe/models/report_definition_summary.py +14 -6
- oci/data_safe/models/sensitive_column_analytics_collection.py +72 -0
- oci/data_safe/models/sensitive_column_analytics_dimensions.py +227 -0
- oci/data_safe/models/sensitive_column_analytics_summary.py +99 -0
- oci/data_safe/models/sensitive_data_model.py +31 -0
- oci/data_safe/models/sensitive_type_group.py +438 -0
- oci/data_safe/models/sensitive_type_group_collection.py +72 -0
- oci/data_safe/models/sensitive_type_group_summary.py +438 -0
- oci/data_safe/models/update_sensitive_data_model_details.py +31 -0
- oci/data_safe/models/update_sensitive_type_group_details.py +179 -0
- oci/data_science/data_science_client.py +1849 -409
- oci/data_science/data_science_client_composite_operations.py +44 -0
- oci/data_science/models/__init__.py +6 -0
- oci/data_science/models/metadata.py +74 -2
- oci/data_science/models/model.py +78 -0
- oci/data_science/models/model_artifact_reference_details.py +101 -0
- oci/data_science/models/model_summary.py +78 -0
- oci/data_science/models/model_version_set.py +47 -0
- oci/data_science/models/model_version_set_summary.py +47 -0
- oci/data_science/models/oss_model_artifact_reference_details.py +144 -0
- oci/data_science/models/register_model_artifact_reference_details.py +72 -0
- oci/data_science/models/work_request.py +7 -3
- oci/data_science/models/work_request_summary.py +7 -3
- oci/database/database_client.py +1945 -714
- oci/database/database_client_composite_operations.py +794 -22
- oci/database/models/__init__.py +14 -0
- oci/database/models/add_standby_autonomous_container_database_details.py +387 -0
- oci/database/models/application_vip.py +33 -2
- oci/database/models/application_vip_summary.py +33 -2
- oci/database/models/autonomous_container_database.py +122 -2
- oci/database/models/autonomous_container_database_dataguard.py +674 -0
- oci/database/models/autonomous_container_database_summary.py +122 -2
- oci/database/models/backup.py +209 -3
- oci/database/models/backup_summary.py +209 -3
- oci/database/models/change_exadb_vm_cluster_subscription_details.py +107 -0
- oci/database/models/change_exascale_db_storage_vault_subscription_details.py +107 -0
- oci/database/models/cloud_vm_cluster.py +141 -8
- oci/database/models/cloud_vm_cluster_summary.py +141 -8
- oci/database/models/convert_standby_autonomous_container_database_details.py +147 -0
- oci/database/models/create_application_vip_details.py +35 -4
- oci/database/models/create_backup_details.py +64 -2
- oci/database/models/create_cloud_vm_cluster_details.py +49 -2
- oci/database/models/create_exadb_vm_cluster_details.py +41 -10
- oci/database/models/create_exascale_db_storage_vault_details.py +72 -2
- oci/database/models/create_vm_cluster_details.py +47 -0
- oci/database/models/db_node.py +90 -8
- oci/database/models/db_node_summary.py +90 -8
- oci/database/models/edit_autonomous_container_database_dataguard_details.py +158 -0
- oci/database/models/exadb_vm_cluster.py +76 -10
- oci/database/models/exadb_vm_cluster_summary.py +76 -10
- oci/database/models/exascale_db_storage_vault.py +72 -2
- oci/database/models/exascale_db_storage_vault_summary.py +72 -2
- oci/database/models/maintenance_run.py +31 -0
- oci/database/models/maintenance_run_summary.py +31 -0
- oci/database/models/update_backup_details.py +103 -0
- oci/database/models/update_exadb_vm_cluster_details.py +4 -8
- oci/database/models/vm_cluster.py +47 -0
- oci/database/models/vm_cluster_summary.py +47 -0
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +12 -12
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +865 -98
- oci/file_storage/models/__init__.py +10 -0
- oci/file_storage/models/create_file_system_details.py +33 -2
- oci/file_storage/models/create_quota_rule_details.py +236 -0
- oci/file_storage/models/file_system.py +127 -2
- oci/file_storage/models/file_system_summary.py +96 -2
- oci/file_storage/models/quota_rule.py +384 -0
- oci/file_storage/models/quota_rule_summary.py +452 -0
- oci/file_storage/models/toggle_quota_rules_details.py +72 -0
- oci/file_storage/models/update_quota_rule_details.py +107 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +2 -0
- oci/mysql/models/backup_policy.py +41 -0
- oci/mysql/models/copy_backup_details.py +35 -0
- oci/mysql/models/copy_policy.py +103 -0
- oci/mysql/models/create_backup_policy_details.py +41 -0
- oci/mysql/models/update_backup_policy_details.py +41 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/__init__.py +3 -1
- oci/opensearch/models/__init__.py +6 -6
- oci/opensearch/models/create_opensearch_cluster_pipeline_details.py +152 -123
- oci/opensearch/models/force_patch_pipeline_details.py +103 -0
- oci/opensearch/models/opensearch_cluster_pipeline.py +198 -89
- oci/opensearch/models/opensearch_cluster_pipeline_collection.py +1 -1
- oci/opensearch/models/opensearch_cluster_pipeline_summary.py +195 -102
- oci/opensearch/models/opensearch_pipeline_reverse_connection_endpoint.py +103 -0
- oci/opensearch/models/update_opensearch_cluster_pipeline_details.py +337 -85
- oci/opensearch/models/update_pipeline_status_details.py +103 -0
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +688 -0
- oci/opensearch/opensearch_cluster_pipeline_client_composite_operations.py +154 -0
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/models/__init__.py +8 -0
- oci/psql/models/backup.py +110 -5
- oci/psql/models/backup_copy_details.py +134 -0
- oci/psql/models/backup_copy_policy.py +134 -0
- oci/psql/models/backup_copy_status_details.py +193 -0
- oci/psql/models/backup_policy.py +29 -2
- oci/psql/models/backup_summary.py +74 -0
- oci/psql/models/configuration.py +7 -3
- oci/psql/models/daily_backup_policy.py +7 -0
- oci/psql/models/db_system_details.py +33 -2
- oci/psql/models/monthly_backup_policy.py +7 -0
- oci/psql/models/none_backup_policy.py +9 -2
- oci/psql/models/source_backup_details.py +103 -0
- oci/psql/models/weekly_backup_policy.py +7 -0
- oci/psql/postgresql_client.py +163 -33
- oci/psql/postgresql_client_composite_operations.py +42 -0
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +24 -24
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/models/__init__.py +2 -0
- oci/tenant_manager_control_plane/models/additional_assigned_region_collection.py +72 -0
- oci/tenant_manager_control_plane/models/classic_subscription.py +33 -2
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/subscription_client_composite_operations.py +10 -7
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/METADATA +1 -1
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/RECORD +380 -343
- oci/opensearch/models/opensearch_pipeline_validation_response.py +0 -103
- oci/opensearch/models/validate_opensearch_pipeline_details.py +0 -103
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/WHEEL +0 -0
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/top_level.txt +0 -0
oci/psql/models/backup.py
CHANGED
@@ -23,6 +23,10 @@ class Backup(object):
|
|
23
23
|
#: This constant has a value of "MANUAL"
|
24
24
|
SOURCE_TYPE_MANUAL = "MANUAL"
|
25
25
|
|
26
|
+
#: A constant which can be used with the source_type property of a Backup.
|
27
|
+
#: This constant has a value of "COPIED"
|
28
|
+
SOURCE_TYPE_COPIED = "COPIED"
|
29
|
+
|
26
30
|
#: A constant which can be used with the lifecycle_state property of a Backup.
|
27
31
|
#: This constant has a value of "CREATING"
|
28
32
|
LIFECYCLE_STATE_CREATING = "CREATING"
|
@@ -66,7 +70,7 @@ class Backup(object):
|
|
66
70
|
|
67
71
|
:param source_type:
|
68
72
|
The value to assign to the source_type property of this Backup.
|
69
|
-
Allowed values for this property are: "SCHEDULED", "MANUAL", 'UNKNOWN_ENUM_VALUE'.
|
73
|
+
Allowed values for this property are: "SCHEDULED", "MANUAL", "COPIED", 'UNKNOWN_ENUM_VALUE'.
|
70
74
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
71
75
|
:type source_type: str
|
72
76
|
|
@@ -74,6 +78,10 @@ class Backup(object):
|
|
74
78
|
The value to assign to the time_created property of this Backup.
|
75
79
|
:type time_created: datetime
|
76
80
|
|
81
|
+
:param time_created_precise:
|
82
|
+
The value to assign to the time_created_precise property of this Backup.
|
83
|
+
:type time_created_precise: datetime
|
84
|
+
|
77
85
|
:param time_updated:
|
78
86
|
The value to assign to the time_updated property of this Backup.
|
79
87
|
:type time_updated: datetime
|
@@ -104,6 +112,10 @@ class Backup(object):
|
|
104
112
|
The value to assign to the db_system_details property of this Backup.
|
105
113
|
:type db_system_details: oci.psql.models.DbSystemDetails
|
106
114
|
|
115
|
+
:param source_backup_details:
|
116
|
+
The value to assign to the source_backup_details property of this Backup.
|
117
|
+
:type source_backup_details: oci.psql.models.SourceBackupDetails
|
118
|
+
|
107
119
|
:param last_accepted_request_token:
|
108
120
|
The value to assign to the last_accepted_request_token property of this Backup.
|
109
121
|
:type last_accepted_request_token: str
|
@@ -112,6 +124,10 @@ class Backup(object):
|
|
112
124
|
The value to assign to the last_completed_request_token property of this Backup.
|
113
125
|
:type last_completed_request_token: str
|
114
126
|
|
127
|
+
:param copy_status:
|
128
|
+
The value to assign to the copy_status property of this Backup.
|
129
|
+
:type copy_status: list[oci.psql.models.BackupCopyStatusDetails]
|
130
|
+
|
115
131
|
:param freeform_tags:
|
116
132
|
The value to assign to the freeform_tags property of this Backup.
|
117
133
|
:type freeform_tags: dict(str, str)
|
@@ -132,6 +148,7 @@ class Backup(object):
|
|
132
148
|
'compartment_id': 'str',
|
133
149
|
'source_type': 'str',
|
134
150
|
'time_created': 'datetime',
|
151
|
+
'time_created_precise': 'datetime',
|
135
152
|
'time_updated': 'datetime',
|
136
153
|
'lifecycle_state': 'str',
|
137
154
|
'lifecycle_details': 'str',
|
@@ -139,8 +156,10 @@ class Backup(object):
|
|
139
156
|
'backup_size': 'int',
|
140
157
|
'db_system_id': 'str',
|
141
158
|
'db_system_details': 'DbSystemDetails',
|
159
|
+
'source_backup_details': 'SourceBackupDetails',
|
142
160
|
'last_accepted_request_token': 'str',
|
143
161
|
'last_completed_request_token': 'str',
|
162
|
+
'copy_status': 'list[BackupCopyStatusDetails]',
|
144
163
|
'freeform_tags': 'dict(str, str)',
|
145
164
|
'defined_tags': 'dict(str, dict(str, object))',
|
146
165
|
'system_tags': 'dict(str, dict(str, object))'
|
@@ -153,6 +172,7 @@ class Backup(object):
|
|
153
172
|
'compartment_id': 'compartmentId',
|
154
173
|
'source_type': 'sourceType',
|
155
174
|
'time_created': 'timeCreated',
|
175
|
+
'time_created_precise': 'timeCreatedPrecise',
|
156
176
|
'time_updated': 'timeUpdated',
|
157
177
|
'lifecycle_state': 'lifecycleState',
|
158
178
|
'lifecycle_details': 'lifecycleDetails',
|
@@ -160,8 +180,10 @@ class Backup(object):
|
|
160
180
|
'backup_size': 'backupSize',
|
161
181
|
'db_system_id': 'dbSystemId',
|
162
182
|
'db_system_details': 'dbSystemDetails',
|
183
|
+
'source_backup_details': 'sourceBackupDetails',
|
163
184
|
'last_accepted_request_token': 'lastAcceptedRequestToken',
|
164
185
|
'last_completed_request_token': 'lastCompletedRequestToken',
|
186
|
+
'copy_status': 'copyStatus',
|
165
187
|
'freeform_tags': 'freeformTags',
|
166
188
|
'defined_tags': 'definedTags',
|
167
189
|
'system_tags': 'systemTags'
|
@@ -173,6 +195,7 @@ class Backup(object):
|
|
173
195
|
self._compartment_id = None
|
174
196
|
self._source_type = None
|
175
197
|
self._time_created = None
|
198
|
+
self._time_created_precise = None
|
176
199
|
self._time_updated = None
|
177
200
|
self._lifecycle_state = None
|
178
201
|
self._lifecycle_details = None
|
@@ -180,8 +203,10 @@ class Backup(object):
|
|
180
203
|
self._backup_size = None
|
181
204
|
self._db_system_id = None
|
182
205
|
self._db_system_details = None
|
206
|
+
self._source_backup_details = None
|
183
207
|
self._last_accepted_request_token = None
|
184
208
|
self._last_completed_request_token = None
|
209
|
+
self._copy_status = None
|
185
210
|
self._freeform_tags = None
|
186
211
|
self._defined_tags = None
|
187
212
|
self._system_tags = None
|
@@ -294,9 +319,9 @@ class Backup(object):
|
|
294
319
|
def source_type(self):
|
295
320
|
"""
|
296
321
|
Gets the source_type of this Backup.
|
297
|
-
Specifies whether the backup was created manually,
|
322
|
+
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
|
298
323
|
|
299
|
-
Allowed values for this property are: "SCHEDULED", "MANUAL", 'UNKNOWN_ENUM_VALUE'.
|
324
|
+
Allowed values for this property are: "SCHEDULED", "MANUAL", "COPIED", 'UNKNOWN_ENUM_VALUE'.
|
300
325
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
301
326
|
|
302
327
|
|
@@ -309,13 +334,13 @@ class Backup(object):
|
|
309
334
|
def source_type(self, source_type):
|
310
335
|
"""
|
311
336
|
Sets the source_type of this Backup.
|
312
|
-
Specifies whether the backup was created manually,
|
337
|
+
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
|
313
338
|
|
314
339
|
|
315
340
|
:param source_type: The source_type of this Backup.
|
316
341
|
:type: str
|
317
342
|
"""
|
318
|
-
allowed_values = ["SCHEDULED", "MANUAL"]
|
343
|
+
allowed_values = ["SCHEDULED", "MANUAL", "COPIED"]
|
319
344
|
if not value_allowed_none_or_none_sentinel(source_type, allowed_values):
|
320
345
|
source_type = 'UNKNOWN_ENUM_VALUE'
|
321
346
|
self._source_type = source_type
|
@@ -354,6 +379,42 @@ class Backup(object):
|
|
354
379
|
"""
|
355
380
|
self._time_created = time_created
|
356
381
|
|
382
|
+
@property
|
383
|
+
def time_created_precise(self):
|
384
|
+
"""
|
385
|
+
Gets the time_created_precise of this Backup.
|
386
|
+
The date and time the backup was created.
|
387
|
+
This is the time the actual point-in-time data snapshot was taken,
|
388
|
+
expressed in `RFC 3339`__ timestamp format.
|
389
|
+
|
390
|
+
Example: `2016-08-25T21:10:29.600Z`
|
391
|
+
|
392
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
393
|
+
|
394
|
+
|
395
|
+
:return: The time_created_precise of this Backup.
|
396
|
+
:rtype: datetime
|
397
|
+
"""
|
398
|
+
return self._time_created_precise
|
399
|
+
|
400
|
+
@time_created_precise.setter
|
401
|
+
def time_created_precise(self, time_created_precise):
|
402
|
+
"""
|
403
|
+
Sets the time_created_precise of this Backup.
|
404
|
+
The date and time the backup was created.
|
405
|
+
This is the time the actual point-in-time data snapshot was taken,
|
406
|
+
expressed in `RFC 3339`__ timestamp format.
|
407
|
+
|
408
|
+
Example: `2016-08-25T21:10:29.600Z`
|
409
|
+
|
410
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
411
|
+
|
412
|
+
|
413
|
+
:param time_created_precise: The time_created_precise of this Backup.
|
414
|
+
:type: datetime
|
415
|
+
"""
|
416
|
+
self._time_created_precise = time_created_precise
|
417
|
+
|
357
418
|
@property
|
358
419
|
def time_updated(self):
|
359
420
|
"""
|
@@ -538,6 +599,26 @@ class Backup(object):
|
|
538
599
|
"""
|
539
600
|
self._db_system_details = db_system_details
|
540
601
|
|
602
|
+
@property
|
603
|
+
def source_backup_details(self):
|
604
|
+
"""
|
605
|
+
Gets the source_backup_details of this Backup.
|
606
|
+
|
607
|
+
:return: The source_backup_details of this Backup.
|
608
|
+
:rtype: oci.psql.models.SourceBackupDetails
|
609
|
+
"""
|
610
|
+
return self._source_backup_details
|
611
|
+
|
612
|
+
@source_backup_details.setter
|
613
|
+
def source_backup_details(self, source_backup_details):
|
614
|
+
"""
|
615
|
+
Sets the source_backup_details of this Backup.
|
616
|
+
|
617
|
+
:param source_backup_details: The source_backup_details of this Backup.
|
618
|
+
:type: oci.psql.models.SourceBackupDetails
|
619
|
+
"""
|
620
|
+
self._source_backup_details = source_backup_details
|
621
|
+
|
541
622
|
@property
|
542
623
|
def last_accepted_request_token(self):
|
543
624
|
"""
|
@@ -586,6 +667,30 @@ class Backup(object):
|
|
586
667
|
"""
|
587
668
|
self._last_completed_request_token = last_completed_request_token
|
588
669
|
|
670
|
+
@property
|
671
|
+
def copy_status(self):
|
672
|
+
"""
|
673
|
+
Gets the copy_status of this Backup.
|
674
|
+
List of status for Backup Copy
|
675
|
+
|
676
|
+
|
677
|
+
:return: The copy_status of this Backup.
|
678
|
+
:rtype: list[oci.psql.models.BackupCopyStatusDetails]
|
679
|
+
"""
|
680
|
+
return self._copy_status
|
681
|
+
|
682
|
+
@copy_status.setter
|
683
|
+
def copy_status(self, copy_status):
|
684
|
+
"""
|
685
|
+
Sets the copy_status of this Backup.
|
686
|
+
List of status for Backup Copy
|
687
|
+
|
688
|
+
|
689
|
+
:param copy_status: The copy_status of this Backup.
|
690
|
+
:type: list[oci.psql.models.BackupCopyStatusDetails]
|
691
|
+
"""
|
692
|
+
self._copy_status = copy_status
|
693
|
+
|
589
694
|
@property
|
590
695
|
def freeform_tags(self):
|
591
696
|
"""
|
@@ -0,0 +1,134 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220915
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class BackupCopyDetails(object):
|
14
|
+
"""
|
15
|
+
Backup Copy details
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new BackupCopyDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param compartment_id:
|
24
|
+
The value to assign to the compartment_id property of this BackupCopyDetails.
|
25
|
+
:type compartment_id: str
|
26
|
+
|
27
|
+
:param retention_period:
|
28
|
+
The value to assign to the retention_period property of this BackupCopyDetails.
|
29
|
+
:type retention_period: int
|
30
|
+
|
31
|
+
:param regions:
|
32
|
+
The value to assign to the regions property of this BackupCopyDetails.
|
33
|
+
:type regions: list[str]
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'compartment_id': 'str',
|
38
|
+
'retention_period': 'int',
|
39
|
+
'regions': 'list[str]'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'compartment_id': 'compartmentId',
|
44
|
+
'retention_period': 'retentionPeriod',
|
45
|
+
'regions': 'regions'
|
46
|
+
}
|
47
|
+
|
48
|
+
self._compartment_id = None
|
49
|
+
self._retention_period = None
|
50
|
+
self._regions = None
|
51
|
+
|
52
|
+
@property
|
53
|
+
def compartment_id(self):
|
54
|
+
"""
|
55
|
+
**[Required]** Gets the compartment_id of this BackupCopyDetails.
|
56
|
+
target compartment to place a new backup
|
57
|
+
|
58
|
+
|
59
|
+
:return: The compartment_id of this BackupCopyDetails.
|
60
|
+
:rtype: str
|
61
|
+
"""
|
62
|
+
return self._compartment_id
|
63
|
+
|
64
|
+
@compartment_id.setter
|
65
|
+
def compartment_id(self, compartment_id):
|
66
|
+
"""
|
67
|
+
Sets the compartment_id of this BackupCopyDetails.
|
68
|
+
target compartment to place a new backup
|
69
|
+
|
70
|
+
|
71
|
+
:param compartment_id: The compartment_id of this BackupCopyDetails.
|
72
|
+
:type: str
|
73
|
+
"""
|
74
|
+
self._compartment_id = compartment_id
|
75
|
+
|
76
|
+
@property
|
77
|
+
def retention_period(self):
|
78
|
+
"""
|
79
|
+
Gets the retention_period of this BackupCopyDetails.
|
80
|
+
Retention period in days of the backup copy.
|
81
|
+
|
82
|
+
|
83
|
+
:return: The retention_period of this BackupCopyDetails.
|
84
|
+
:rtype: int
|
85
|
+
"""
|
86
|
+
return self._retention_period
|
87
|
+
|
88
|
+
@retention_period.setter
|
89
|
+
def retention_period(self, retention_period):
|
90
|
+
"""
|
91
|
+
Sets the retention_period of this BackupCopyDetails.
|
92
|
+
Retention period in days of the backup copy.
|
93
|
+
|
94
|
+
|
95
|
+
:param retention_period: The retention_period of this BackupCopyDetails.
|
96
|
+
:type: int
|
97
|
+
"""
|
98
|
+
self._retention_period = retention_period
|
99
|
+
|
100
|
+
@property
|
101
|
+
def regions(self):
|
102
|
+
"""
|
103
|
+
**[Required]** Gets the regions of this BackupCopyDetails.
|
104
|
+
List of region names of the remote region
|
105
|
+
|
106
|
+
|
107
|
+
:return: The regions of this BackupCopyDetails.
|
108
|
+
:rtype: list[str]
|
109
|
+
"""
|
110
|
+
return self._regions
|
111
|
+
|
112
|
+
@regions.setter
|
113
|
+
def regions(self, regions):
|
114
|
+
"""
|
115
|
+
Sets the regions of this BackupCopyDetails.
|
116
|
+
List of region names of the remote region
|
117
|
+
|
118
|
+
|
119
|
+
:param regions: The regions of this BackupCopyDetails.
|
120
|
+
:type: list[str]
|
121
|
+
"""
|
122
|
+
self._regions = regions
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
return formatted_flat_dict(self)
|
126
|
+
|
127
|
+
def __eq__(self, other):
|
128
|
+
if other is None:
|
129
|
+
return False
|
130
|
+
|
131
|
+
return self.__dict__ == other.__dict__
|
132
|
+
|
133
|
+
def __ne__(self, other):
|
134
|
+
return not self == other
|
@@ -0,0 +1,134 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220915
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class BackupCopyPolicy(object):
|
14
|
+
"""
|
15
|
+
Backup copy details
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new BackupCopyPolicy object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param compartment_id:
|
24
|
+
The value to assign to the compartment_id property of this BackupCopyPolicy.
|
25
|
+
:type compartment_id: str
|
26
|
+
|
27
|
+
:param retention_period:
|
28
|
+
The value to assign to the retention_period property of this BackupCopyPolicy.
|
29
|
+
:type retention_period: int
|
30
|
+
|
31
|
+
:param regions:
|
32
|
+
The value to assign to the regions property of this BackupCopyPolicy.
|
33
|
+
:type regions: list[str]
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'compartment_id': 'str',
|
38
|
+
'retention_period': 'int',
|
39
|
+
'regions': 'list[str]'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'compartment_id': 'compartmentId',
|
44
|
+
'retention_period': 'retentionPeriod',
|
45
|
+
'regions': 'regions'
|
46
|
+
}
|
47
|
+
|
48
|
+
self._compartment_id = None
|
49
|
+
self._retention_period = None
|
50
|
+
self._regions = None
|
51
|
+
|
52
|
+
@property
|
53
|
+
def compartment_id(self):
|
54
|
+
"""
|
55
|
+
**[Required]** Gets the compartment_id of this BackupCopyPolicy.
|
56
|
+
target compartment to place a new backup
|
57
|
+
|
58
|
+
|
59
|
+
:return: The compartment_id of this BackupCopyPolicy.
|
60
|
+
:rtype: str
|
61
|
+
"""
|
62
|
+
return self._compartment_id
|
63
|
+
|
64
|
+
@compartment_id.setter
|
65
|
+
def compartment_id(self, compartment_id):
|
66
|
+
"""
|
67
|
+
Sets the compartment_id of this BackupCopyPolicy.
|
68
|
+
target compartment to place a new backup
|
69
|
+
|
70
|
+
|
71
|
+
:param compartment_id: The compartment_id of this BackupCopyPolicy.
|
72
|
+
:type: str
|
73
|
+
"""
|
74
|
+
self._compartment_id = compartment_id
|
75
|
+
|
76
|
+
@property
|
77
|
+
def retention_period(self):
|
78
|
+
"""
|
79
|
+
Gets the retention_period of this BackupCopyPolicy.
|
80
|
+
Retention period in days of the backup copy.
|
81
|
+
|
82
|
+
|
83
|
+
:return: The retention_period of this BackupCopyPolicy.
|
84
|
+
:rtype: int
|
85
|
+
"""
|
86
|
+
return self._retention_period
|
87
|
+
|
88
|
+
@retention_period.setter
|
89
|
+
def retention_period(self, retention_period):
|
90
|
+
"""
|
91
|
+
Sets the retention_period of this BackupCopyPolicy.
|
92
|
+
Retention period in days of the backup copy.
|
93
|
+
|
94
|
+
|
95
|
+
:param retention_period: The retention_period of this BackupCopyPolicy.
|
96
|
+
:type: int
|
97
|
+
"""
|
98
|
+
self._retention_period = retention_period
|
99
|
+
|
100
|
+
@property
|
101
|
+
def regions(self):
|
102
|
+
"""
|
103
|
+
Gets the regions of this BackupCopyPolicy.
|
104
|
+
List of region names of the remote region
|
105
|
+
|
106
|
+
|
107
|
+
:return: The regions of this BackupCopyPolicy.
|
108
|
+
:rtype: list[str]
|
109
|
+
"""
|
110
|
+
return self._regions
|
111
|
+
|
112
|
+
@regions.setter
|
113
|
+
def regions(self, regions):
|
114
|
+
"""
|
115
|
+
Sets the regions of this BackupCopyPolicy.
|
116
|
+
List of region names of the remote region
|
117
|
+
|
118
|
+
|
119
|
+
:param regions: The regions of this BackupCopyPolicy.
|
120
|
+
:type: list[str]
|
121
|
+
"""
|
122
|
+
self._regions = regions
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
return formatted_flat_dict(self)
|
126
|
+
|
127
|
+
def __eq__(self, other):
|
128
|
+
if other is None:
|
129
|
+
return False
|
130
|
+
|
131
|
+
return self.__dict__ == other.__dict__
|
132
|
+
|
133
|
+
def __ne__(self, other):
|
134
|
+
return not self == other
|
@@ -0,0 +1,193 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220915
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class BackupCopyStatusDetails(object):
|
14
|
+
"""
|
15
|
+
Backup Copy Status details
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the state property of a BackupCopyStatusDetails.
|
19
|
+
#: This constant has a value of "NOT_STARTED"
|
20
|
+
STATE_NOT_STARTED = "NOT_STARTED"
|
21
|
+
|
22
|
+
#: A constant which can be used with the state property of a BackupCopyStatusDetails.
|
23
|
+
#: This constant has a value of "COPYING"
|
24
|
+
STATE_COPYING = "COPYING"
|
25
|
+
|
26
|
+
#: A constant which can be used with the state property of a BackupCopyStatusDetails.
|
27
|
+
#: This constant has a value of "COPIED"
|
28
|
+
STATE_COPIED = "COPIED"
|
29
|
+
|
30
|
+
#: A constant which can be used with the state property of a BackupCopyStatusDetails.
|
31
|
+
#: This constant has a value of "FAILED"
|
32
|
+
STATE_FAILED = "FAILED"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new BackupCopyStatusDetails object with values from keyword arguments.
|
37
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
38
|
+
|
39
|
+
:param state:
|
40
|
+
The value to assign to the state property of this BackupCopyStatusDetails.
|
41
|
+
Allowed values for this property are: "NOT_STARTED", "COPYING", "COPIED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
42
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
43
|
+
:type state: str
|
44
|
+
|
45
|
+
:param state_details:
|
46
|
+
The value to assign to the state_details property of this BackupCopyStatusDetails.
|
47
|
+
:type state_details: str
|
48
|
+
|
49
|
+
:param backup_id:
|
50
|
+
The value to assign to the backup_id property of this BackupCopyStatusDetails.
|
51
|
+
:type backup_id: str
|
52
|
+
|
53
|
+
:param region:
|
54
|
+
The value to assign to the region property of this BackupCopyStatusDetails.
|
55
|
+
:type region: str
|
56
|
+
|
57
|
+
"""
|
58
|
+
self.swagger_types = {
|
59
|
+
'state': 'str',
|
60
|
+
'state_details': 'str',
|
61
|
+
'backup_id': 'str',
|
62
|
+
'region': 'str'
|
63
|
+
}
|
64
|
+
|
65
|
+
self.attribute_map = {
|
66
|
+
'state': 'state',
|
67
|
+
'state_details': 'stateDetails',
|
68
|
+
'backup_id': 'backupId',
|
69
|
+
'region': 'region'
|
70
|
+
}
|
71
|
+
|
72
|
+
self._state = None
|
73
|
+
self._state_details = None
|
74
|
+
self._backup_id = None
|
75
|
+
self._region = None
|
76
|
+
|
77
|
+
@property
|
78
|
+
def state(self):
|
79
|
+
"""
|
80
|
+
Gets the state of this BackupCopyStatusDetails.
|
81
|
+
Copy States
|
82
|
+
|
83
|
+
Allowed values for this property are: "NOT_STARTED", "COPYING", "COPIED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
84
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
85
|
+
|
86
|
+
|
87
|
+
:return: The state of this BackupCopyStatusDetails.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._state
|
91
|
+
|
92
|
+
@state.setter
|
93
|
+
def state(self, state):
|
94
|
+
"""
|
95
|
+
Sets the state of this BackupCopyStatusDetails.
|
96
|
+
Copy States
|
97
|
+
|
98
|
+
|
99
|
+
:param state: The state of this BackupCopyStatusDetails.
|
100
|
+
:type: str
|
101
|
+
"""
|
102
|
+
allowed_values = ["NOT_STARTED", "COPYING", "COPIED", "FAILED"]
|
103
|
+
if not value_allowed_none_or_none_sentinel(state, allowed_values):
|
104
|
+
state = 'UNKNOWN_ENUM_VALUE'
|
105
|
+
self._state = state
|
106
|
+
|
107
|
+
@property
|
108
|
+
def state_details(self):
|
109
|
+
"""
|
110
|
+
Gets the state_details of this BackupCopyStatusDetails.
|
111
|
+
A message describing the current state of copy in more detail
|
112
|
+
|
113
|
+
|
114
|
+
:return: The state_details of this BackupCopyStatusDetails.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._state_details
|
118
|
+
|
119
|
+
@state_details.setter
|
120
|
+
def state_details(self, state_details):
|
121
|
+
"""
|
122
|
+
Sets the state_details of this BackupCopyStatusDetails.
|
123
|
+
A message describing the current state of copy in more detail
|
124
|
+
|
125
|
+
|
126
|
+
:param state_details: The state_details of this BackupCopyStatusDetails.
|
127
|
+
:type: str
|
128
|
+
"""
|
129
|
+
self._state_details = state_details
|
130
|
+
|
131
|
+
@property
|
132
|
+
def backup_id(self):
|
133
|
+
"""
|
134
|
+
Gets the backup_id of this BackupCopyStatusDetails.
|
135
|
+
The `OCID`__ of the backup in the source region
|
136
|
+
|
137
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
138
|
+
|
139
|
+
|
140
|
+
:return: The backup_id of this BackupCopyStatusDetails.
|
141
|
+
:rtype: str
|
142
|
+
"""
|
143
|
+
return self._backup_id
|
144
|
+
|
145
|
+
@backup_id.setter
|
146
|
+
def backup_id(self, backup_id):
|
147
|
+
"""
|
148
|
+
Sets the backup_id of this BackupCopyStatusDetails.
|
149
|
+
The `OCID`__ of the backup in the source region
|
150
|
+
|
151
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
152
|
+
|
153
|
+
|
154
|
+
:param backup_id: The backup_id of this BackupCopyStatusDetails.
|
155
|
+
:type: str
|
156
|
+
"""
|
157
|
+
self._backup_id = backup_id
|
158
|
+
|
159
|
+
@property
|
160
|
+
def region(self):
|
161
|
+
"""
|
162
|
+
**[Required]** Gets the region of this BackupCopyStatusDetails.
|
163
|
+
Region name of the remote region
|
164
|
+
|
165
|
+
|
166
|
+
:return: The region of this BackupCopyStatusDetails.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._region
|
170
|
+
|
171
|
+
@region.setter
|
172
|
+
def region(self, region):
|
173
|
+
"""
|
174
|
+
Sets the region of this BackupCopyStatusDetails.
|
175
|
+
Region name of the remote region
|
176
|
+
|
177
|
+
|
178
|
+
:param region: The region of this BackupCopyStatusDetails.
|
179
|
+
:type: str
|
180
|
+
"""
|
181
|
+
self._region = region
|
182
|
+
|
183
|
+
def __repr__(self):
|
184
|
+
return formatted_flat_dict(self)
|
185
|
+
|
186
|
+
def __eq__(self, other):
|
187
|
+
if other is None:
|
188
|
+
return False
|
189
|
+
|
190
|
+
return self.__dict__ == other.__dict__
|
191
|
+
|
192
|
+
def __ne__(self, other):
|
193
|
+
return not self == other
|