oci 2.126.0__py3-none-any.whl → 2.126.2__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 +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- 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 +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- 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/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +56 -56
- oci/bds/models/__init__.py +6 -0
- oci/bds/models/batching_based_patching_configs.py +144 -0
- oci/bds/models/downtime_based_patching_configs.py +51 -0
- oci/bds/models/install_os_patch_details.py +29 -2
- oci/bds/models/node.py +64 -2
- oci/bds/models/patching_configs.py +109 -0
- oci/bds/models/work_request_error.py +4 -4
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- 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 +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +32 -0
- oci/core/models/get_ip_inventory_vcn_overlap_details.py +107 -0
- oci/core/models/inventory_ip_address_summary.py +169 -0
- oci/core/models/inventory_resource_summary.py +212 -0
- oci/core/models/inventory_subnet_cidr_block_summary.py +103 -0
- oci/core/models/inventory_subnet_summary.py +309 -0
- oci/core/models/inventory_vcn_cidr_block_summary.py +103 -0
- oci/core/models/inventory_vcn_summary.py +309 -0
- oci/core/models/ip_inventory_cidr_utilization_collection.py +202 -0
- oci/core/models/ip_inventory_cidr_utilization_summary.py +134 -0
- oci/core/models/ip_inventory_collection.py +202 -0
- oci/core/models/ip_inventory_subnet_resource_collection.py +202 -0
- oci/core/models/ip_inventory_subnet_resource_summary.py +477 -0
- oci/core/models/ip_inventory_vcn_overlap_collection.py +171 -0
- oci/core/models/ip_inventory_vcn_overlap_summary.py +169 -0
- oci/core/models/ipam.py +73 -0
- oci/core/models/list_ip_inventory_details.py +494 -0
- oci/core/virtual_network_client.py +744 -242
- oci/core/virtual_network_client_composite_operations.py +77 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +272 -150
- oci/data_catalog/models/__init__.py +4 -0
- oci/data_catalog/models/import_lineage_details.py +72 -0
- oci/data_catalog/models/import_lineage_job_result.py +232 -0
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/create_workspace_details.py +33 -2
- oci/data_integration/models/update_workspace_details.py +33 -2
- oci/data_integration/models/workspace.py +33 -2
- oci/data_integration/models/workspace_summary.py +33 -2
- 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 +1181 -397
- oci/data_safe/data_safe_client_composite_operations.py +89 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/change_masking_policy_health_report_compartment_details.py +72 -0
- oci/data_safe/models/generate_health_report_details.py +261 -0
- oci/data_safe/models/masking_policy_health_report.py +434 -0
- oci/data_safe/models/masking_policy_health_report_collection.py +72 -0
- oci/data_safe/models/masking_policy_health_report_log_collection.py +72 -0
- oci/data_safe/models/masking_policy_health_report_log_summary.py +220 -0
- oci/data_safe/models/masking_policy_health_report_summary.py +371 -0
- oci/data_safe/models/work_request.py +7 -3
- oci/data_safe/models/work_request_summary.py +7 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +343 -337
- oci/database/models/__init__.py +4 -0
- oci/database/models/autonomous_container_database.py +6 -6
- oci/database/models/autonomous_container_database_summary.py +6 -6
- oci/database/models/autonomous_database.py +10 -6
- oci/database/models/autonomous_database_summary.py +10 -6
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/cloud_vm_cluster.py +68 -2
- oci/database/models/cloud_vm_cluster_summary.py +68 -2
- oci/database/models/create_autonomous_container_database_details.py +6 -6
- oci/database/models/create_autonomous_database_base.py +8 -4
- oci/database/models/create_cloud_vm_cluster_details.py +33 -2
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +2 -26
- oci/database/models/create_cross_region_disaster_recovery_details.py +2 -23
- oci/database/models/create_db_home_base.py +33 -2
- oci/database/models/create_db_home_with_db_system_id_details.py +7 -0
- oci/database/models/create_db_home_with_db_system_id_from_backup_details.py +7 -0
- oci/database/models/create_db_home_with_db_system_id_from_database_details.py +7 -0
- oci/database/models/create_db_home_with_vm_cluster_id_details.py +7 -0
- oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py +7 -0
- oci/database/models/db_home.py +33 -2
- oci/database/models/db_home_from_agent_resource_id.py +33 -2
- oci/database/models/db_home_summary.py +33 -2
- oci/database/models/db_system.py +35 -0
- oci/database/models/db_system_summary.py +35 -0
- oci/database/models/defined_file_system_configuration.py +165 -0
- oci/database/models/file_system_configuration_detail.py +103 -0
- oci/database/models/update_autonomous_database_details.py +8 -4
- oci/database/models/update_cloud_vm_cluster_details.py +33 -2
- oci/database/models/update_details.py +37 -2
- oci/database/models/vm_cluster.py +37 -2
- oci/database/models/vm_cluster_summary.py +37 -2
- oci/database/models/vm_cluster_update_details.py +37 -2
- oci/database_management/db_management_client.py +1965 -494
- oci/database_management/db_management_client_composite_operations.py +528 -0
- oci/database_management/diagnosability_client.py +7 -7
- oci/database_management/managed_my_sql_databases_client.py +10 -10
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/basic_database_connection_string_details.py +160 -0
- oci/database_management/models/child_database.py +45 -2
- oci/database_management/models/connector_details.py +123 -0
- oci/database_management/models/database_connection_details.py +95 -0
- oci/database_management/models/database_connection_string_details.py +103 -0
- oci/database_management/models/database_diagnostics_and_management_feature_configuration.py +120 -0
- oci/database_management/models/database_diagnostics_and_management_feature_details.py +143 -0
- oci/database_management/models/database_feature_configuration.py +234 -0
- oci/database_management/models/database_feature_details.py +155 -0
- oci/database_management/models/db_management_private_endpoint.py +45 -2
- oci/database_management/models/db_management_private_endpoint_summary.py +45 -2
- oci/database_management/models/disable_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_container_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_non_container_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_pluggable_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_pluggable_database_management_feature_details.py +84 -0
- oci/database_management/models/enable_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_container_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_non_container_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/external_asm.py +45 -2
- oci/database_management/models/external_asm_instance.py +45 -2
- oci/database_management/models/external_asm_instance_summary.py +45 -2
- oci/database_management/models/external_asm_summary.py +45 -2
- oci/database_management/models/external_cluster.py +45 -2
- oci/database_management/models/external_cluster_instance.py +45 -2
- oci/database_management/models/external_cluster_instance_summary.py +45 -2
- oci/database_management/models/external_cluster_summary.py +45 -2
- oci/database_management/models/external_connector_details.py +86 -0
- oci/database_management/models/external_database_diagnostics_and_management_feature_details.py +105 -0
- oci/database_management/models/external_database_feature_details.py +128 -0
- oci/database_management/models/external_database_summary.py +45 -2
- oci/database_management/models/external_db_home.py +45 -2
- oci/database_management/models/external_db_home_summary.py +45 -2
- oci/database_management/models/external_db_node.py +45 -2
- oci/database_management/models/external_db_node_summary.py +45 -2
- oci/database_management/models/external_db_system.py +45 -2
- oci/database_management/models/external_db_system_connector_summary.py +45 -2
- oci/database_management/models/external_db_system_discovery.py +45 -2
- oci/database_management/models/external_db_system_discovery_summary.py +45 -2
- oci/database_management/models/external_db_system_macs_connector.py +45 -2
- oci/database_management/models/external_db_system_summary.py +45 -2
- oci/database_management/models/external_exadata_infrastructure.py +45 -2
- oci/database_management/models/external_exadata_infrastructure_summary.py +45 -2
- oci/database_management/models/external_exadata_storage_connector.py +45 -2
- oci/database_management/models/external_exadata_storage_connector_summary.py +45 -2
- oci/database_management/models/external_exadata_storage_grid.py +45 -2
- oci/database_management/models/external_exadata_storage_server.py +45 -2
- oci/database_management/models/external_exadata_storage_server_summary.py +45 -2
- oci/database_management/models/external_listener.py +45 -2
- oci/database_management/models/external_listener_summary.py +45 -2
- oci/database_management/models/external_pluggable_database_diagnostics_and_management_feature_details.py +58 -0
- oci/database_management/models/external_pluggable_database_feature_details.py +128 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +12 -12
- oci/database_management/models/heat_wave_fleet_metrics.py +2 -2
- oci/database_management/models/heat_wave_fleet_summary.py +5 -5
- oci/database_management/models/heat_wave_node.py +2 -2
- oci/database_management/models/job_summary.py +45 -2
- oci/database_management/models/load_sql_tuning_set_details.py +7 -3
- oci/database_management/models/macs_connector_details.py +86 -0
- oci/database_management/models/managed_database.py +45 -2
- oci/database_management/models/managed_database_group.py +45 -2
- oci/database_management/models/managed_database_group_summary.py +45 -2
- oci/database_management/models/managed_database_summary.py +45 -2
- oci/database_management/models/managed_my_sql_database.py +10 -10
- oci/database_management/models/modify_database_management_feature_details.py +68 -0
- oci/database_management/models/modify_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/my_sql_database_usage_metrics.py +2 -2
- oci/database_management/models/my_sql_fleet_metric_definition.py +31 -0
- oci/database_management/models/named_credential.py +45 -2
- oci/database_management/models/named_credential_summary.py +45 -2
- oci/database_management/models/private_end_point_connector_details.py +86 -0
- oci/database_management/models/save_sql_tuning_set_as_details.py +7 -3
- oci/database_management/models/sql_job.py +45 -2
- oci/database_management/models/sql_plan_baseline.py +96 -0
- oci/database_management/models/sql_plan_baseline_summary.py +96 -0
- oci/database_management/models/sql_tuning_set.py +16 -0
- oci/database_management/models/work_request.py +39 -3
- oci/database_management/models/work_request_summary.py +39 -3
- oci/database_management/perfhub_client.py +4 -4
- oci/database_management/sql_tuning_client.py +20 -20
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/disaster_recovery/models/dr_plan_group.py +44 -3
- oci/disaster_recovery/models/dr_plan_group_execution.py +7 -3
- oci/disaster_recovery/models/update_dr_plan_group_details.py +44 -3
- oci/disaster_recovery/models/update_dr_plan_step_details.py +6 -0
- oci/dns/dns_client.py +52 -52
- 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_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- 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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- 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 +62 -61
- oci/load_balancer/models/__init__.py +4 -0
- oci/load_balancer/models/add_http_request_header_rule.py +1 -1
- oci/load_balancer/models/add_http_response_header_rule.py +1 -1
- oci/load_balancer/models/allow_rule.py +1 -1
- oci/load_balancer/models/backend.py +35 -0
- oci/load_balancer/models/backend_details.py +35 -0
- oci/load_balancer/models/backend_set.py +37 -0
- oci/load_balancer/models/backend_set_details.py +37 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +1 -1
- oci/load_balancer/models/create_backend_details.py +35 -0
- oci/load_balancer/models/create_backend_set_details.py +37 -0
- oci/load_balancer/models/create_load_balancer_details.py +47 -2
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +25 -25
- oci/load_balancer/models/extend_http_request_header_value_rule.py +1 -1
- oci/load_balancer/models/extend_http_response_header_value_rule.py +1 -1
- oci/load_balancer/models/http_header_rule.py +1 -1
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +105 -0
- oci/load_balancer/models/load_balancer.py +45 -0
- oci/load_balancer/models/redirect_rule.py +1 -1
- oci/load_balancer/models/remove_http_request_header_rule.py +1 -1
- oci/load_balancer/models/remove_http_response_header_rule.py +1 -1
- oci/load_balancer/models/reserved_ip.py +22 -0
- oci/load_balancer/models/rule.py +11 -3
- oci/load_balancer/models/ssl_cipher_suite.py +25 -25
- oci/load_balancer/models/ssl_cipher_suite_details.py +25 -25
- oci/load_balancer/models/update_backend_details.py +35 -0
- oci/load_balancer/models/update_backend_set_details.py +37 -0
- oci/load_balancer/models/update_load_balancer_details.py +47 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +2 -2
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +10 -10
- 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_publisher/marketplace_publisher_client.py +71 -71
- 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 +6 -6
- oci/mysql/db_system_client.py +17 -17
- 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 +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- 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/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- 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 +175 -175
- 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 +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- 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 +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- 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/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +298 -40
- oci/recovery/database_recovery_client_composite_operations.py +39 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/create_protection_policy_details.py +45 -0
- oci/recovery/models/create_recovery_service_subnet_details.py +72 -4
- oci/recovery/models/fetch_protected_database_configuration_details.py +7 -3
- oci/recovery/models/metrics.py +33 -2
- oci/recovery/models/metrics_summary.py +33 -2
- oci/recovery/models/protected_database.py +48 -13
- oci/recovery/models/protected_database_summary.py +44 -3
- oci/recovery/models/protection_policy.py +41 -18
- oci/recovery/models/protection_policy_summary.py +38 -3
- oci/recovery/models/recovery_service_subnet.py +78 -20
- oci/recovery/models/recovery_service_subnet_details.py +7 -3
- oci/recovery/models/recovery_service_subnet_summary.py +78 -20
- oci/recovery/models/schedule_protected_database_deletion_details.py +92 -0
- oci/recovery/models/update_protection_policy_details.py +45 -0
- oci/recovery/models/update_recovery_service_subnet_details.py +68 -0
- oci/recovery/models/work_request.py +7 -3
- oci/recovery/models/work_request_summary.py +7 -3
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- 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/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 +64 -64
- 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/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/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 +13 -13
- 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-2.126.0.dist-info → oci-2.126.2.dist-info}/METADATA +1 -1
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/RECORD +460 -400
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/WHEEL +0 -0
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/top_level.txt +0 -0
@@ -409,6 +409,45 @@ class DatabaseRecoveryClientCompositeOperations(object):
|
|
409
409
|
except Exception as e:
|
410
410
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
411
411
|
|
412
|
+
def schedule_protected_database_deletion_and_wait_for_state(self, protected_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
413
|
+
"""
|
414
|
+
Calls :py:func:`~oci.recovery.DatabaseRecoveryClient.schedule_protected_database_deletion` and waits for the :py:class:`~oci.recovery.models.WorkRequest`
|
415
|
+
to enter the given state(s).
|
416
|
+
|
417
|
+
:param str protected_database_id: (required)
|
418
|
+
The protected database OCID.
|
419
|
+
|
420
|
+
:param list[str] wait_for_states:
|
421
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.recovery.models.WorkRequest.status`
|
422
|
+
|
423
|
+
:param dict operation_kwargs:
|
424
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.recovery.DatabaseRecoveryClient.schedule_protected_database_deletion`
|
425
|
+
|
426
|
+
:param dict waiter_kwargs:
|
427
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
428
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
429
|
+
"""
|
430
|
+
operation_result = self.client.schedule_protected_database_deletion(protected_database_id, **operation_kwargs)
|
431
|
+
if not wait_for_states:
|
432
|
+
return operation_result
|
433
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
434
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
435
|
+
return operation_result
|
436
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
437
|
+
|
438
|
+
try:
|
439
|
+
waiter_result = oci.wait_until(
|
440
|
+
self.client,
|
441
|
+
self.client.get_work_request(wait_for_resource_id),
|
442
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
443
|
+
**waiter_kwargs
|
444
|
+
)
|
445
|
+
result_to_return = waiter_result
|
446
|
+
|
447
|
+
return result_to_return
|
448
|
+
except Exception as e:
|
449
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
450
|
+
|
412
451
|
def update_protected_database_and_wait_for_state(self, protected_database_id, update_protected_database_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
413
452
|
"""
|
414
453
|
Calls :py:func:`~oci.recovery.DatabaseRecoveryClient.update_protected_database` and waits for the :py:class:`~oci.recovery.models.WorkRequest`
|
oci/recovery/models/__init__.py
CHANGED
@@ -26,6 +26,7 @@ from .recovery_service_subnet_collection import RecoveryServiceSubnetCollection
|
|
26
26
|
from .recovery_service_subnet_details import RecoveryServiceSubnetDetails
|
27
27
|
from .recovery_service_subnet_input import RecoveryServiceSubnetInput
|
28
28
|
from .recovery_service_subnet_summary import RecoveryServiceSubnetSummary
|
29
|
+
from .schedule_protected_database_deletion_details import ScheduleProtectedDatabaseDeletionDetails
|
29
30
|
from .update_protected_database_details import UpdateProtectedDatabaseDetails
|
30
31
|
from .update_protection_policy_details import UpdateProtectionPolicyDetails
|
31
32
|
from .update_recovery_service_subnet_details import UpdateRecoveryServiceSubnetDetails
|
@@ -60,6 +61,7 @@ recovery_type_mapping = {
|
|
60
61
|
"RecoveryServiceSubnetDetails": RecoveryServiceSubnetDetails,
|
61
62
|
"RecoveryServiceSubnetInput": RecoveryServiceSubnetInput,
|
62
63
|
"RecoveryServiceSubnetSummary": RecoveryServiceSubnetSummary,
|
64
|
+
"ScheduleProtectedDatabaseDeletionDetails": ScheduleProtectedDatabaseDeletionDetails,
|
63
65
|
"UpdateProtectedDatabaseDetails": UpdateProtectedDatabaseDetails,
|
64
66
|
"UpdateProtectionPolicyDetails": UpdateProtectionPolicyDetails,
|
65
67
|
"UpdateRecoveryServiceSubnetDetails": UpdateRecoveryServiceSubnetDetails,
|
@@ -32,6 +32,10 @@ class CreateProtectionPolicyDetails(object):
|
|
32
32
|
The value to assign to the compartment_id property of this CreateProtectionPolicyDetails.
|
33
33
|
:type compartment_id: str
|
34
34
|
|
35
|
+
:param policy_locked_date_time:
|
36
|
+
The value to assign to the policy_locked_date_time property of this CreateProtectionPolicyDetails.
|
37
|
+
:type policy_locked_date_time: str
|
38
|
+
|
35
39
|
:param freeform_tags:
|
36
40
|
The value to assign to the freeform_tags property of this CreateProtectionPolicyDetails.
|
37
41
|
:type freeform_tags: dict(str, str)
|
@@ -45,6 +49,7 @@ class CreateProtectionPolicyDetails(object):
|
|
45
49
|
'display_name': 'str',
|
46
50
|
'backup_retention_period_in_days': 'int',
|
47
51
|
'compartment_id': 'str',
|
52
|
+
'policy_locked_date_time': 'str',
|
48
53
|
'freeform_tags': 'dict(str, str)',
|
49
54
|
'defined_tags': 'dict(str, dict(str, object))'
|
50
55
|
}
|
@@ -53,6 +58,7 @@ class CreateProtectionPolicyDetails(object):
|
|
53
58
|
'display_name': 'displayName',
|
54
59
|
'backup_retention_period_in_days': 'backupRetentionPeriodInDays',
|
55
60
|
'compartment_id': 'compartmentId',
|
61
|
+
'policy_locked_date_time': 'policyLockedDateTime',
|
56
62
|
'freeform_tags': 'freeformTags',
|
57
63
|
'defined_tags': 'definedTags'
|
58
64
|
}
|
@@ -60,6 +66,7 @@ class CreateProtectionPolicyDetails(object):
|
|
60
66
|
self._display_name = None
|
61
67
|
self._backup_retention_period_in_days = None
|
62
68
|
self._compartment_id = None
|
69
|
+
self._policy_locked_date_time = None
|
63
70
|
self._freeform_tags = None
|
64
71
|
self._defined_tags = None
|
65
72
|
|
@@ -135,6 +142,44 @@ class CreateProtectionPolicyDetails(object):
|
|
135
142
|
"""
|
136
143
|
self._compartment_id = compartment_id
|
137
144
|
|
145
|
+
@property
|
146
|
+
def policy_locked_date_time(self):
|
147
|
+
"""
|
148
|
+
Gets the policy_locked_date_time of this CreateProtectionPolicyDetails.
|
149
|
+
An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
150
|
+
|
151
|
+
* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
152
|
+
* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
|
153
|
+
* For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
|
154
|
+
* During the 14-day delay period, you can either increase or decrease the retention period in the policy.
|
155
|
+
* However, you are only allowed to increase the retention period on or after the retention lock date.
|
156
|
+
* You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
|
157
|
+
|
158
|
+
|
159
|
+
:return: The policy_locked_date_time of this CreateProtectionPolicyDetails.
|
160
|
+
:rtype: str
|
161
|
+
"""
|
162
|
+
return self._policy_locked_date_time
|
163
|
+
|
164
|
+
@policy_locked_date_time.setter
|
165
|
+
def policy_locked_date_time(self, policy_locked_date_time):
|
166
|
+
"""
|
167
|
+
Sets the policy_locked_date_time of this CreateProtectionPolicyDetails.
|
168
|
+
An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
169
|
+
|
170
|
+
* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
171
|
+
* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
|
172
|
+
* For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
|
173
|
+
* During the 14-day delay period, you can either increase or decrease the retention period in the policy.
|
174
|
+
* However, you are only allowed to increase the retention period on or after the retention lock date.
|
175
|
+
* You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
|
176
|
+
|
177
|
+
|
178
|
+
:param policy_locked_date_time: The policy_locked_date_time of this CreateProtectionPolicyDetails.
|
179
|
+
:type: str
|
180
|
+
"""
|
181
|
+
self._policy_locked_date_time = policy_locked_date_time
|
182
|
+
|
138
183
|
@property
|
139
184
|
def freeform_tags(self):
|
140
185
|
"""
|
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
|
|
12
12
|
@init_model_state_from_kwargs
|
13
13
|
class CreateRecoveryServiceSubnetDetails(object):
|
14
14
|
"""
|
15
|
-
Describes the parameters required to create a
|
15
|
+
Describes the parameters required to create a Recovery Service Subnet.
|
16
16
|
"""
|
17
17
|
|
18
18
|
def __init__(self, **kwargs):
|
@@ -28,6 +28,14 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
28
28
|
The value to assign to the subnet_id property of this CreateRecoveryServiceSubnetDetails.
|
29
29
|
:type subnet_id: str
|
30
30
|
|
31
|
+
:param subnets:
|
32
|
+
The value to assign to the subnets property of this CreateRecoveryServiceSubnetDetails.
|
33
|
+
:type subnets: list[str]
|
34
|
+
|
35
|
+
:param nsg_ids:
|
36
|
+
The value to assign to the nsg_ids property of this CreateRecoveryServiceSubnetDetails.
|
37
|
+
:type nsg_ids: list[str]
|
38
|
+
|
31
39
|
:param vcn_id:
|
32
40
|
The value to assign to the vcn_id property of this CreateRecoveryServiceSubnetDetails.
|
33
41
|
:type vcn_id: str
|
@@ -48,6 +56,8 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
48
56
|
self.swagger_types = {
|
49
57
|
'display_name': 'str',
|
50
58
|
'subnet_id': 'str',
|
59
|
+
'subnets': 'list[str]',
|
60
|
+
'nsg_ids': 'list[str]',
|
51
61
|
'vcn_id': 'str',
|
52
62
|
'compartment_id': 'str',
|
53
63
|
'freeform_tags': 'dict(str, str)',
|
@@ -57,6 +67,8 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
57
67
|
self.attribute_map = {
|
58
68
|
'display_name': 'displayName',
|
59
69
|
'subnet_id': 'subnetId',
|
70
|
+
'subnets': 'subnets',
|
71
|
+
'nsg_ids': 'nsgIds',
|
60
72
|
'vcn_id': 'vcnId',
|
61
73
|
'compartment_id': 'compartmentId',
|
62
74
|
'freeform_tags': 'freeformTags',
|
@@ -65,6 +77,8 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
65
77
|
|
66
78
|
self._display_name = None
|
67
79
|
self._subnet_id = None
|
80
|
+
self._subnets = None
|
81
|
+
self._nsg_ids = None
|
68
82
|
self._vcn_id = None
|
69
83
|
self._compartment_id = None
|
70
84
|
self._freeform_tags = None
|
@@ -97,8 +111,8 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
97
111
|
@property
|
98
112
|
def subnet_id(self):
|
99
113
|
"""
|
100
|
-
|
101
|
-
|
114
|
+
Gets the subnet_id of this CreateRecoveryServiceSubnetDetails.
|
115
|
+
Deprecated. One of the subnets associated with the Recovery Service subnet.
|
102
116
|
|
103
117
|
|
104
118
|
:return: The subnet_id of this CreateRecoveryServiceSubnetDetails.
|
@@ -110,7 +124,7 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
110
124
|
def subnet_id(self, subnet_id):
|
111
125
|
"""
|
112
126
|
Sets the subnet_id of this CreateRecoveryServiceSubnetDetails.
|
113
|
-
|
127
|
+
Deprecated. One of the subnets associated with the Recovery Service subnet.
|
114
128
|
|
115
129
|
|
116
130
|
:param subnet_id: The subnet_id of this CreateRecoveryServiceSubnetDetails.
|
@@ -118,6 +132,60 @@ class CreateRecoveryServiceSubnetDetails(object):
|
|
118
132
|
"""
|
119
133
|
self._subnet_id = subnet_id
|
120
134
|
|
135
|
+
@property
|
136
|
+
def subnets(self):
|
137
|
+
"""
|
138
|
+
Gets the subnets of this CreateRecoveryServiceSubnetDetails.
|
139
|
+
A list of OCIDs of the subnets associated with the Recovery Service subnet.
|
140
|
+
|
141
|
+
|
142
|
+
:return: The subnets of this CreateRecoveryServiceSubnetDetails.
|
143
|
+
:rtype: list[str]
|
144
|
+
"""
|
145
|
+
return self._subnets
|
146
|
+
|
147
|
+
@subnets.setter
|
148
|
+
def subnets(self, subnets):
|
149
|
+
"""
|
150
|
+
Sets the subnets of this CreateRecoveryServiceSubnetDetails.
|
151
|
+
A list of OCIDs of the subnets associated with the Recovery Service subnet.
|
152
|
+
|
153
|
+
|
154
|
+
:param subnets: The subnets of this CreateRecoveryServiceSubnetDetails.
|
155
|
+
:type: list[str]
|
156
|
+
"""
|
157
|
+
self._subnets = subnets
|
158
|
+
|
159
|
+
@property
|
160
|
+
def nsg_ids(self):
|
161
|
+
"""
|
162
|
+
Gets the nsg_ids of this CreateRecoveryServiceSubnetDetails.
|
163
|
+
A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet.
|
164
|
+
You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet.
|
165
|
+
Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet.
|
166
|
+
See :class:`NetworkSecurityGroup` for more information.
|
167
|
+
|
168
|
+
|
169
|
+
:return: The nsg_ids of this CreateRecoveryServiceSubnetDetails.
|
170
|
+
:rtype: list[str]
|
171
|
+
"""
|
172
|
+
return self._nsg_ids
|
173
|
+
|
174
|
+
@nsg_ids.setter
|
175
|
+
def nsg_ids(self, nsg_ids):
|
176
|
+
"""
|
177
|
+
Sets the nsg_ids of this CreateRecoveryServiceSubnetDetails.
|
178
|
+
A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet.
|
179
|
+
You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet.
|
180
|
+
Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet.
|
181
|
+
See :class:`NetworkSecurityGroup` for more information.
|
182
|
+
|
183
|
+
|
184
|
+
:param nsg_ids: The nsg_ids of this CreateRecoveryServiceSubnetDetails.
|
185
|
+
:type: list[str]
|
186
|
+
"""
|
187
|
+
self._nsg_ids = nsg_ids
|
188
|
+
|
121
189
|
@property
|
122
190
|
def vcn_id(self):
|
123
191
|
"""
|
@@ -27,6 +27,10 @@ class FetchProtectedDatabaseConfigurationDetails(object):
|
|
27
27
|
#: This constant has a value of "HOSTS"
|
28
28
|
CONFIGURATION_TYPE_HOSTS = "HOSTS"
|
29
29
|
|
30
|
+
#: A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails.
|
31
|
+
#: This constant has a value of "RCVCONF"
|
32
|
+
CONFIGURATION_TYPE_RCVCONF = "RCVCONF"
|
33
|
+
|
30
34
|
#: A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails.
|
31
35
|
#: This constant has a value of "ALL"
|
32
36
|
CONFIGURATION_TYPE_ALL = "ALL"
|
@@ -38,7 +42,7 @@ class FetchProtectedDatabaseConfigurationDetails(object):
|
|
38
42
|
|
39
43
|
:param configuration_type:
|
40
44
|
The value to assign to the configuration_type property of this FetchProtectedDatabaseConfigurationDetails.
|
41
|
-
Allowed values for this property are: "CABUNDLE", "TNSNAMES", "HOSTS", "ALL"
|
45
|
+
Allowed values for this property are: "CABUNDLE", "TNSNAMES", "HOSTS", "RCVCONF", "ALL"
|
42
46
|
:type configuration_type: str
|
43
47
|
|
44
48
|
"""
|
@@ -58,7 +62,7 @@ class FetchProtectedDatabaseConfigurationDetails(object):
|
|
58
62
|
Gets the configuration_type of this FetchProtectedDatabaseConfigurationDetails.
|
59
63
|
Currently has four config options ALL, TNSNAMES, HOSTS and CABUNDLE. All will return a zipped folder containing the contents of both tnsnames and the certificateChainPem.
|
60
64
|
|
61
|
-
Allowed values for this property are: "CABUNDLE", "TNSNAMES", "HOSTS", "ALL"
|
65
|
+
Allowed values for this property are: "CABUNDLE", "TNSNAMES", "HOSTS", "RCVCONF", "ALL"
|
62
66
|
|
63
67
|
|
64
68
|
:return: The configuration_type of this FetchProtectedDatabaseConfigurationDetails.
|
@@ -76,7 +80,7 @@ class FetchProtectedDatabaseConfigurationDetails(object):
|
|
76
80
|
:param configuration_type: The configuration_type of this FetchProtectedDatabaseConfigurationDetails.
|
77
81
|
:type: str
|
78
82
|
"""
|
79
|
-
allowed_values = ["CABUNDLE", "TNSNAMES", "HOSTS", "ALL"]
|
83
|
+
allowed_values = ["CABUNDLE", "TNSNAMES", "HOSTS", "RCVCONF", "ALL"]
|
80
84
|
if not value_allowed_none_or_none_sentinel(configuration_type, allowed_values):
|
81
85
|
raise ValueError(
|
82
86
|
f"Invalid value for `configuration_type`, must be None or one of {allowed_values}"
|
oci/recovery/models/metrics.py
CHANGED
@@ -48,6 +48,10 @@ class Metrics(object):
|
|
48
48
|
The value to assign to the current_retention_period_in_seconds property of this Metrics.
|
49
49
|
:type current_retention_period_in_seconds: float
|
50
50
|
|
51
|
+
:param minimum_recovery_needed_in_days:
|
52
|
+
The value to assign to the minimum_recovery_needed_in_days property of this Metrics.
|
53
|
+
:type minimum_recovery_needed_in_days: float
|
54
|
+
|
51
55
|
"""
|
52
56
|
self.swagger_types = {
|
53
57
|
'backup_space_used_in_gbs': 'float',
|
@@ -56,7 +60,8 @@ class Metrics(object):
|
|
56
60
|
'db_size_in_gbs': 'float',
|
57
61
|
'is_redo_logs_enabled': 'bool',
|
58
62
|
'retention_period_in_days': 'float',
|
59
|
-
'current_retention_period_in_seconds': 'float'
|
63
|
+
'current_retention_period_in_seconds': 'float',
|
64
|
+
'minimum_recovery_needed_in_days': 'float'
|
60
65
|
}
|
61
66
|
|
62
67
|
self.attribute_map = {
|
@@ -66,7 +71,8 @@ class Metrics(object):
|
|
66
71
|
'db_size_in_gbs': 'dbSizeInGBs',
|
67
72
|
'is_redo_logs_enabled': 'isRedoLogsEnabled',
|
68
73
|
'retention_period_in_days': 'retentionPeriodInDays',
|
69
|
-
'current_retention_period_in_seconds': 'currentRetentionPeriodInSeconds'
|
74
|
+
'current_retention_period_in_seconds': 'currentRetentionPeriodInSeconds',
|
75
|
+
'minimum_recovery_needed_in_days': 'minimumRecoveryNeededInDays'
|
70
76
|
}
|
71
77
|
|
72
78
|
self._backup_space_used_in_gbs = None
|
@@ -76,6 +82,7 @@ class Metrics(object):
|
|
76
82
|
self._is_redo_logs_enabled = None
|
77
83
|
self._retention_period_in_days = None
|
78
84
|
self._current_retention_period_in_seconds = None
|
85
|
+
self._minimum_recovery_needed_in_days = None
|
79
86
|
|
80
87
|
@property
|
81
88
|
def backup_space_used_in_gbs(self):
|
@@ -249,6 +256,30 @@ class Metrics(object):
|
|
249
256
|
"""
|
250
257
|
self._current_retention_period_in_seconds = current_retention_period_in_seconds
|
251
258
|
|
259
|
+
@property
|
260
|
+
def minimum_recovery_needed_in_days(self):
|
261
|
+
"""
|
262
|
+
Gets the minimum_recovery_needed_in_days of this Metrics.
|
263
|
+
Number of days of redo/archive to be applied to recover database.
|
264
|
+
|
265
|
+
|
266
|
+
:return: The minimum_recovery_needed_in_days of this Metrics.
|
267
|
+
:rtype: float
|
268
|
+
"""
|
269
|
+
return self._minimum_recovery_needed_in_days
|
270
|
+
|
271
|
+
@minimum_recovery_needed_in_days.setter
|
272
|
+
def minimum_recovery_needed_in_days(self, minimum_recovery_needed_in_days):
|
273
|
+
"""
|
274
|
+
Sets the minimum_recovery_needed_in_days of this Metrics.
|
275
|
+
Number of days of redo/archive to be applied to recover database.
|
276
|
+
|
277
|
+
|
278
|
+
:param minimum_recovery_needed_in_days: The minimum_recovery_needed_in_days of this Metrics.
|
279
|
+
:type: float
|
280
|
+
"""
|
281
|
+
self._minimum_recovery_needed_in_days = minimum_recovery_needed_in_days
|
282
|
+
|
252
283
|
def __repr__(self):
|
253
284
|
return formatted_flat_dict(self)
|
254
285
|
|
@@ -48,6 +48,10 @@ class MetricsSummary(object):
|
|
48
48
|
The value to assign to the current_retention_period_in_seconds property of this MetricsSummary.
|
49
49
|
:type current_retention_period_in_seconds: float
|
50
50
|
|
51
|
+
:param minimum_recovery_needed_in_days:
|
52
|
+
The value to assign to the minimum_recovery_needed_in_days property of this MetricsSummary.
|
53
|
+
:type minimum_recovery_needed_in_days: float
|
54
|
+
|
51
55
|
"""
|
52
56
|
self.swagger_types = {
|
53
57
|
'backup_space_used_in_gbs': 'float',
|
@@ -56,7 +60,8 @@ class MetricsSummary(object):
|
|
56
60
|
'db_size_in_gbs': 'float',
|
57
61
|
'is_redo_logs_enabled': 'bool',
|
58
62
|
'retention_period_in_days': 'float',
|
59
|
-
'current_retention_period_in_seconds': 'float'
|
63
|
+
'current_retention_period_in_seconds': 'float',
|
64
|
+
'minimum_recovery_needed_in_days': 'float'
|
60
65
|
}
|
61
66
|
|
62
67
|
self.attribute_map = {
|
@@ -66,7 +71,8 @@ class MetricsSummary(object):
|
|
66
71
|
'db_size_in_gbs': 'dbSizeInGBs',
|
67
72
|
'is_redo_logs_enabled': 'isRedoLogsEnabled',
|
68
73
|
'retention_period_in_days': 'retentionPeriodInDays',
|
69
|
-
'current_retention_period_in_seconds': 'currentRetentionPeriodInSeconds'
|
74
|
+
'current_retention_period_in_seconds': 'currentRetentionPeriodInSeconds',
|
75
|
+
'minimum_recovery_needed_in_days': 'minimumRecoveryNeededInDays'
|
70
76
|
}
|
71
77
|
|
72
78
|
self._backup_space_used_in_gbs = None
|
@@ -76,6 +82,7 @@ class MetricsSummary(object):
|
|
76
82
|
self._is_redo_logs_enabled = None
|
77
83
|
self._retention_period_in_days = None
|
78
84
|
self._current_retention_period_in_seconds = None
|
85
|
+
self._minimum_recovery_needed_in_days = None
|
79
86
|
|
80
87
|
@property
|
81
88
|
def backup_space_used_in_gbs(self):
|
@@ -249,6 +256,30 @@ class MetricsSummary(object):
|
|
249
256
|
"""
|
250
257
|
self._current_retention_period_in_seconds = current_retention_period_in_seconds
|
251
258
|
|
259
|
+
@property
|
260
|
+
def minimum_recovery_needed_in_days(self):
|
261
|
+
"""
|
262
|
+
Gets the minimum_recovery_needed_in_days of this MetricsSummary.
|
263
|
+
Number of days of redo/archive to be applied to recover database.
|
264
|
+
|
265
|
+
|
266
|
+
:return: The minimum_recovery_needed_in_days of this MetricsSummary.
|
267
|
+
:rtype: float
|
268
|
+
"""
|
269
|
+
return self._minimum_recovery_needed_in_days
|
270
|
+
|
271
|
+
@minimum_recovery_needed_in_days.setter
|
272
|
+
def minimum_recovery_needed_in_days(self, minimum_recovery_needed_in_days):
|
273
|
+
"""
|
274
|
+
Sets the minimum_recovery_needed_in_days of this MetricsSummary.
|
275
|
+
Number of days of redo/archive to be applied to recover database.
|
276
|
+
|
277
|
+
|
278
|
+
:param minimum_recovery_needed_in_days: The minimum_recovery_needed_in_days of this MetricsSummary.
|
279
|
+
:type: float
|
280
|
+
"""
|
281
|
+
self._minimum_recovery_needed_in_days = minimum_recovery_needed_in_days
|
282
|
+
|
252
283
|
def __repr__(self):
|
253
284
|
return formatted_flat_dict(self)
|
254
285
|
|
@@ -58,6 +58,10 @@ class ProtectedDatabase(object):
|
|
58
58
|
#: This constant has a value of "ACTIVE"
|
59
59
|
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
60
60
|
|
61
|
+
#: A constant which can be used with the lifecycle_state property of a ProtectedDatabase.
|
62
|
+
#: This constant has a value of "DELETE_SCHEDULED"
|
63
|
+
LIFECYCLE_STATE_DELETE_SCHEDULED = "DELETE_SCHEDULED"
|
64
|
+
|
61
65
|
#: A constant which can be used with the lifecycle_state property of a ProtectedDatabase.
|
62
66
|
#: This constant has a value of "DELETING"
|
63
67
|
LIFECYCLE_STATE_DELETING = "DELETING"
|
@@ -117,6 +121,10 @@ class ProtectedDatabase(object):
|
|
117
121
|
The value to assign to the protection_policy_id property of this ProtectedDatabase.
|
118
122
|
:type protection_policy_id: str
|
119
123
|
|
124
|
+
:param policy_locked_date_time:
|
125
|
+
The value to assign to the policy_locked_date_time property of this ProtectedDatabase.
|
126
|
+
:type policy_locked_date_time: str
|
127
|
+
|
120
128
|
:param recovery_service_subnets:
|
121
129
|
The value to assign to the recovery_service_subnets property of this ProtectedDatabase.
|
122
130
|
:type recovery_service_subnets: list[oci.recovery.models.RecoveryServiceSubnetDetails]
|
@@ -151,7 +159,7 @@ class ProtectedDatabase(object):
|
|
151
159
|
|
152
160
|
:param lifecycle_state:
|
153
161
|
The value to assign to the lifecycle_state property of this ProtectedDatabase.
|
154
|
-
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
162
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETE_SCHEDULED", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
155
163
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
156
164
|
:type lifecycle_state: str
|
157
165
|
|
@@ -198,6 +206,7 @@ class ProtectedDatabase(object):
|
|
198
206
|
'vpc_user_name': 'str',
|
199
207
|
'database_size': 'str',
|
200
208
|
'protection_policy_id': 'str',
|
209
|
+
'policy_locked_date_time': 'str',
|
201
210
|
'recovery_service_subnets': 'list[RecoveryServiceSubnetDetails]',
|
202
211
|
'database_id': 'str',
|
203
212
|
'database_size_in_gbs': 'int',
|
@@ -225,6 +234,7 @@ class ProtectedDatabase(object):
|
|
225
234
|
'vpc_user_name': 'vpcUserName',
|
226
235
|
'database_size': 'databaseSize',
|
227
236
|
'protection_policy_id': 'protectionPolicyId',
|
237
|
+
'policy_locked_date_time': 'policyLockedDateTime',
|
228
238
|
'recovery_service_subnets': 'recoveryServiceSubnets',
|
229
239
|
'database_id': 'databaseId',
|
230
240
|
'database_size_in_gbs': 'databaseSizeInGBs',
|
@@ -251,6 +261,7 @@ class ProtectedDatabase(object):
|
|
251
261
|
self._vpc_user_name = None
|
252
262
|
self._database_size = None
|
253
263
|
self._protection_policy_id = None
|
264
|
+
self._policy_locked_date_time = None
|
254
265
|
self._recovery_service_subnets = None
|
255
266
|
self._database_id = None
|
256
267
|
self._database_size_in_gbs = None
|
@@ -443,6 +454,36 @@ class ProtectedDatabase(object):
|
|
443
454
|
"""
|
444
455
|
self._protection_policy_id = protection_policy_id
|
445
456
|
|
457
|
+
@property
|
458
|
+
def policy_locked_date_time(self):
|
459
|
+
"""
|
460
|
+
Gets the policy_locked_date_time of this ProtectedDatabase.
|
461
|
+
An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
462
|
+
|
463
|
+
The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
464
|
+
Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect.
|
465
|
+
|
466
|
+
|
467
|
+
:return: The policy_locked_date_time of this ProtectedDatabase.
|
468
|
+
:rtype: str
|
469
|
+
"""
|
470
|
+
return self._policy_locked_date_time
|
471
|
+
|
472
|
+
@policy_locked_date_time.setter
|
473
|
+
def policy_locked_date_time(self, policy_locked_date_time):
|
474
|
+
"""
|
475
|
+
Sets the policy_locked_date_time of this ProtectedDatabase.
|
476
|
+
An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
477
|
+
|
478
|
+
The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
479
|
+
Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect.
|
480
|
+
|
481
|
+
|
482
|
+
:param policy_locked_date_time: The policy_locked_date_time of this ProtectedDatabase.
|
483
|
+
:type: str
|
484
|
+
"""
|
485
|
+
self._policy_locked_date_time = policy_locked_date_time
|
486
|
+
|
446
487
|
@property
|
447
488
|
def recovery_service_subnets(self):
|
448
489
|
"""
|
@@ -645,7 +686,7 @@ class ProtectedDatabase(object):
|
|
645
686
|
Gets the lifecycle_state of this ProtectedDatabase.
|
646
687
|
The current state of the Protected Database.
|
647
688
|
|
648
|
-
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
689
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETE_SCHEDULED", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
649
690
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
650
691
|
|
651
692
|
|
@@ -664,7 +705,7 @@ class ProtectedDatabase(object):
|
|
664
705
|
:param lifecycle_state: The lifecycle_state of this ProtectedDatabase.
|
665
706
|
:type: str
|
666
707
|
"""
|
667
|
-
allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
708
|
+
allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETE_SCHEDULED", "DELETING", "DELETED", "FAILED"]
|
668
709
|
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
669
710
|
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
670
711
|
self._lifecycle_state = lifecycle_state
|
@@ -673,12 +714,9 @@ class ProtectedDatabase(object):
|
|
673
714
|
def health(self):
|
674
715
|
"""
|
675
716
|
Gets the health of this ProtectedDatabase.
|
676
|
-
Indicates the protection status of the database.
|
677
|
-
- HEALTHY
|
678
|
-
- WARNING
|
679
|
-
- ALERT
|
717
|
+
Indicates the protection status of the database.
|
680
718
|
|
681
|
-
A '
|
719
|
+
A 'PROTECTED' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:
|
682
720
|
- Less than 10 seconds, if Real-time data protection is enabled
|
683
721
|
- Less than 70 minutes if Real-time data protection is disabled
|
684
722
|
|
@@ -701,12 +739,9 @@ class ProtectedDatabase(object):
|
|
701
739
|
def health(self, health):
|
702
740
|
"""
|
703
741
|
Sets the health of this ProtectedDatabase.
|
704
|
-
Indicates the protection status of the database.
|
705
|
-
- HEALTHY
|
706
|
-
- WARNING
|
707
|
-
- ALERT
|
742
|
+
Indicates the protection status of the database.
|
708
743
|
|
709
|
-
A '
|
744
|
+
A 'PROTECTED' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:
|
710
745
|
- Less than 10 seconds, if Real-time data protection is enabled
|
711
746
|
- Less than 70 minutes if Real-time data protection is disabled
|
712
747
|
|