oci 2.132.0__py3-none-any.whl → 2.134.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/__init__.py +2 -2
- 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 +626 -28
- oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
- oci/ai_document/models/__init__.py +10 -0
- oci/ai_document/models/add_model_lock_details.py +150 -0
- oci/ai_document/models/add_project_lock_details.py +150 -0
- oci/ai_document/models/analyze_document_details.py +5 -5
- oci/ai_document/models/detected_document_type.py +0 -35
- oci/ai_document/models/document_classification_feature.py +2 -33
- oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
- oci/ai_document/models/general_processor_config.py +5 -5
- oci/ai_document/models/model.py +33 -2
- oci/ai_document/models/model_summary.py +33 -2
- oci/ai_document/models/output_location.py +1 -1
- oci/ai_document/models/project.py +33 -2
- oci/ai_document/models/remove_model_lock_details.py +88 -0
- oci/ai_document/models/remove_project_lock_details.py +88 -0
- oci/ai_document/models/resource_lock.py +216 -0
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +214 -17
- oci/ai_speech/models/__init__.py +23 -1
- oci/ai_speech/models/synthesize_speech_details.py +196 -0
- oci/ai_speech/models/tts_audio_config.py +106 -0
- oci/ai_speech/models/tts_base_audio_config.py +82 -0
- oci/ai_speech/models/tts_configuration.py +103 -0
- oci/ai_speech/models/tts_oracle_configuration.py +105 -0
- oci/ai_speech/models/tts_oracle_model_details.py +113 -0
- oci/ai_speech/models/tts_oracle_speech_settings.py +246 -0
- oci/ai_speech/models/tts_oracle_tts1_standard_model_details.py +84 -0
- oci/ai_speech/models/tts_oracle_tts2_natural_model_details.py +84 -0
- oci/ai_speech/models/voice_collection.py +72 -0
- oci/ai_speech/models/voice_summary.py +379 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/__init__.py +3 -1
- oci/announcements_service/announcement_client.py +103 -6
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/models/__init__.py +12 -0
- oci/announcements_service/models/announcement.py +1 -1
- oci/announcements_service/models/announcement_compartment.py +72 -0
- oci/announcements_service/models/announcement_summary.py +1 -1
- oci/announcements_service/models/base_announcement.py +7 -3
- oci/announcements_service/models/base_service.py +498 -0
- oci/announcements_service/models/notifications_summary.py +130 -0
- oci/announcements_service/models/service.py +130 -0
- oci/announcements_service/models/service_summary.py +133 -0
- oci/announcements_service/models/services_collection.py +72 -0
- oci/announcements_service/service_client.py +275 -0
- oci/announcements_service/service_client_composite_operations.py +26 -0
- 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 +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 +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +1692 -423
- oci/capacity_management/capacity_management_client_composite_operations.py +146 -0
- oci/capacity_management/models/__init__.py +23 -1
- oci/capacity_management/models/associated_capacity_request_details.py +103 -0
- oci/capacity_management/models/associated_occ_handover_resource_block.py +103 -0
- oci/capacity_management/models/create_occ_capacity_request_details.py +3 -3
- oci/capacity_management/models/create_occ_customer_details.py +181 -0
- oci/capacity_management/models/create_occ_customer_group_details.py +309 -0
- oci/capacity_management/models/occ_capacity_request_base_details.py +62 -0
- oci/capacity_management/models/occ_handover_resource_block_collection.py +72 -0
- oci/capacity_management/models/occ_handover_resource_block_detail_collection.py +72 -0
- oci/capacity_management/models/occ_handover_resource_block_detail_summary.py +104 -0
- oci/capacity_management/models/occ_handover_resource_block_summary.py +332 -0
- oci/capacity_management/models/placement_details.py +227 -0
- oci/capacity_management/models/update_occ_customer_details.py +150 -0
- oci/capacity_management/models/update_occ_customer_group_details.py +216 -0
- 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 +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- 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 +42 -42
- 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 +287 -287
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +13862 -9467
- oci/database/database_client_composite_operations.py +1868 -232
- oci/database/models/__init__.py +80 -0
- oci/database/models/action_member.py +134 -0
- oci/database/models/action_order_details.py +107 -0
- oci/database/models/action_param_values_collection.py +72 -0
- oci/database/models/action_param_values_summary.py +216 -0
- oci/database/models/autonomous_database.py +33 -6
- oci/database/models/autonomous_database_standby_summary.py +33 -2
- oci/database/models/autonomous_database_summary.py +33 -6
- oci/database/models/cancel_execution_window_details.py +134 -0
- oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
- oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/create_autonomous_database_base.py +2 -6
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
- oci/database/models/create_exadb_vm_cluster_details.py +12 -2
- oci/database/models/create_execution_action_details.py +304 -0
- oci/database/models/create_execution_window_details.py +282 -0
- oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
- oci/database/models/create_scheduled_action_details.py +339 -0
- oci/database/models/create_scheduling_plan_details.py +306 -0
- oci/database/models/create_scheduling_policy_details.py +267 -0
- oci/database/models/create_scheduling_window_details.py +181 -0
- oci/database/models/exadata_infrastructure.py +33 -2
- oci/database/models/exadata_infrastructure_summary.py +33 -2
- oci/database/models/exadb_vm_cluster.py +12 -2
- oci/database/models/exadb_vm_cluster_summary.py +12 -2
- oci/database/models/execution_action.py +715 -0
- oci/database/models/execution_action_member.py +216 -0
- oci/database/models/execution_action_summary.py +715 -0
- oci/database/models/execution_window.py +783 -0
- oci/database/models/execution_window_summary.py +783 -0
- oci/database/models/granular_maintenance_history_details.py +99 -0
- oci/database/models/maintenance_run.py +62 -0
- oci/database/models/maintenance_run_history.py +64 -2
- oci/database/models/maintenance_run_history_summary.py +64 -2
- oci/database/models/maintenance_run_summary.py +62 -0
- oci/database/models/move_execution_action_member_details.py +220 -0
- oci/database/models/recommended_scheduled_action_summary.py +280 -0
- oci/database/models/recommended_scheduled_actions_collection.py +72 -0
- oci/database/models/reorder_execution_action_details.py +152 -0
- oci/database/models/reorder_scheduled_actions_details.py +109 -0
- oci/database/models/scheduled_action.py +633 -0
- oci/database/models/scheduled_action_collection.py +72 -0
- oci/database/models/scheduled_action_summary.py +633 -0
- oci/database/models/scheduling_plan.py +643 -0
- oci/database/models/scheduling_plan_collection.py +72 -0
- oci/database/models/scheduling_plan_summary.py +643 -0
- oci/database/models/scheduling_policy.py +493 -0
- oci/database/models/scheduling_policy_summary.py +493 -0
- oci/database/models/scheduling_window.py +469 -0
- oci/database/models/scheduling_window_summary.py +469 -0
- oci/database/models/update_autonomous_database_details.py +2 -6
- oci/database/models/update_exadb_vm_cluster_details.py +12 -2
- oci/database/models/update_execution_action_details.py +218 -0
- oci/database/models/update_execution_window_details.py +212 -0
- oci/database/models/update_scheduled_action_details.py +140 -0
- oci/database/models/update_scheduling_policy_details.py +232 -0
- oci/database/models/update_scheduling_window_details.py +146 -0
- oci/database/models/window_preference_detail.py +231 -0
- oci/database_management/db_management_client.py +580 -208
- oci/database_management/db_management_client_composite_operations.py +132 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
- oci/database_management/models/autonomous_database_feature_details.py +167 -0
- oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
- oci/database_management/models/connector_details.py +15 -3
- oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
- oci/database_management/models/db_management_private_endpoint.py +31 -0
- oci/database_management/models/direct_connector_details.py +51 -0
- oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
- oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/external_connector_details.py +1 -1
- oci/database_management/models/macs_connector_details.py +1 -1
- oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
- oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
- oci/database_management/models/private_end_point_connector_details.py +1 -1
- 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/delegate_access_control/__init__.py +16 -0
- oci/delegate_access_control/delegate_access_control_client.py +3324 -0
- oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
- oci/delegate_access_control/models/__init__.py +96 -0
- oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
- oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
- oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
- oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
- oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
- oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control.py +833 -0
- oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
- oci/delegate_access_control/models/delegation_control_summary.py +465 -0
- oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_subscription.py +524 -0
- oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
- oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
- oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider.py +583 -0
- oci/delegate_access_control/models/service_provider_action.py +371 -0
- oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
- oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
- oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
- oci/delegate_access_control/models/service_provider_summary.py +508 -0
- oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
- oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
- oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
- oci/delegate_access_control/models/work_request.py +438 -0
- oci/delegate_access_control/models/work_request_error.py +136 -0
- oci/delegate_access_control/models/work_request_error_collection.py +72 -0
- oci/delegate_access_control/models/work_request_log_entry.py +103 -0
- oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
- oci/delegate_access_control/models/work_request_resource.py +234 -0
- oci/delegate_access_control/models/work_request_summary.py +438 -0
- oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
- oci/delegate_access_control/work_request_client.py +660 -0
- oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
- 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 +29 -29
- 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 +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 +393 -59
- oci/file_storage/file_storage_client_composite_operations.py +138 -0
- oci/file_storage/models/__init__.py +4 -0
- oci/file_storage/models/create_mount_target_details.py +39 -26
- oci/file_storage/models/mount_target.py +153 -3
- oci/file_storage/models/mount_target_summary.py +155 -3
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +16 -16
- oci/fleet_apps_management/fleet_apps_management_client.py +70 -70
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +10 -10
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +8 -8
- oci/fleet_software_update/fleet_software_update_client.py +48 -48
- oci/fleet_software_update/models/create_db_fsu_collection_details.py +7 -3
- oci/fleet_software_update/models/create_gi_fsu_collection_details.py +7 -3
- oci/fleet_software_update/models/db_collection.py +7 -3
- oci/fleet_software_update/models/db_discovery_details.py +7 -3
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -3
- oci/fleet_software_update/models/gi_collection.py +7 -3
- oci/fleet_software_update/models/gi_discovery_details.py +7 -3
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -3
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- 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 +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/fusion_environment_family.py +33 -2
- 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 +23 -23
- oci/generative_ai/models/create_endpoint_details.py +2 -2
- oci/generative_ai/models/dedicated_ai_cluster.py +7 -3
- 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 +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- 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 +307 -307
- oci/integration/integration_instance_client.py +16 -16
- oci/jms/java_management_service_client.py +75 -75
- 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 +25 -25
- oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/key_management/models/auto_key_rotation_details.py +10 -10
- oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
- oci/key_management/models/create_hsm_cluster_details.py +5 -5
- oci/key_management/models/hsm_cluster.py +4 -4
- oci/key_management/models/hsm_cluster_collection.py +2 -2
- oci/key_management/models/hsm_cluster_summary.py +3 -3
- oci/key_management/models/hsm_partition.py +29 -9
- oci/key_management/models/hsm_partition_collection.py +1 -1
- oci/key_management/models/hsm_partition_summary.py +11 -7
- oci/key_management/models/port_information.py +5 -5
- oci/key_management/models/pre_co_user_credentials.py +2 -2
- oci/key_management/models/upload_partition_certificates_details.py +5 -5
- oci/key_management/models/vault.py +31 -0
- 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/load_balancer/models/backend.py +4 -0
- oci/load_balancer/models/backend_details.py +4 -0
- oci/load_balancer/models/backend_set.py +6 -2
- oci/load_balancer/models/backend_set_details.py +6 -2
- oci/load_balancer/models/create_backend_details.py +4 -0
- oci/load_balancer/models/create_backend_set_details.py +6 -2
- oci/load_balancer/models/create_load_balancer_details.py +116 -0
- oci/load_balancer/models/ip_max_connections.py +8 -2
- oci/load_balancer/models/load_balancer.py +100 -0
- oci/load_balancer/models/update_backend_details.py +4 -0
- oci/load_balancer/models/update_backend_set_details.py +6 -2
- oci/load_balancer/models/update_load_balancer_details.py +112 -0
- oci/lockbox/lockbox_client.py +24 -24
- oci/lockbox/models/access_request.py +35 -2
- oci/lockbox/models/access_request_ext.py +35 -2
- oci/lockbox/models/access_request_summary.py +33 -0
- oci/lockbox/models/create_access_request_details.py +35 -2
- 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/create_db_system_details.py +37 -2
- oci/mysql/models/customer_contact.py +72 -0
- oci/mysql/models/db_system.py +37 -2
- oci/mysql/models/update_db_system_details.py +37 -2
- 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 +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/models/__init__.py +14 -0
- oci/object_storage/models/access_target_details.py +136 -0
- oci/object_storage/models/create_private_endpoint_details.py +389 -0
- oci/object_storage/models/fqdns.py +99 -0
- oci/object_storage/models/prefix_fqdns.py +134 -0
- oci/object_storage/models/private_endpoint.py +685 -0
- oci/object_storage/models/private_endpoint_summary.py +369 -0
- oci/object_storage/models/update_private_endpoint_details.py +216 -0
- oci/object_storage/models/work_request.py +15 -3
- oci/object_storage/models/work_request_summary.py +15 -3
- oci/object_storage/object_storage_client.py +686 -71
- oci/object_storage/object_storage_client_composite_operations.py +139 -0
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +8 -8
- oci/ocvp/cluster_client_composite_operations.py +2 -2
- oci/ocvp/esxi_host_client.py +9 -9
- oci/ocvp/models/cluster.py +35 -2
- oci/ocvp/models/cluster_summary.py +35 -2
- oci/ocvp/models/datastore_details.py +1 -1
- oci/ocvp/models/esxi_host.py +35 -2
- oci/ocvp/models/esxi_host_summary.py +35 -2
- oci/ocvp/models/sddc.py +35 -2
- oci/ocvp/models/sddc_summary.py +35 -2
- oci/ocvp/models/supported_host_shape_summary.py +55 -3
- oci/ocvp/models/work_request.py +55 -3
- oci/ocvp/sddc_client.py +21 -16
- 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 +177 -177
- 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 +135 -25
- oci/recovery/database_recovery_client_composite_operations.py +42 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/change_protected_database_subscription_details.py +103 -0
- oci/recovery/models/create_protected_database_details.py +33 -0
- oci/recovery/models/create_protection_policy_details.py +39 -0
- oci/recovery/models/protected_database.py +31 -0
- oci/recovery/models/protected_database_summary.py +31 -0
- oci/recovery/models/protection_policy.py +31 -0
- oci/recovery/models/protection_policy_summary.py +31 -0
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +3 -0
- 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/service_catalog/service_catalog_client.py +26 -26
- oci/service_endpoints.py +1 -0
- 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/models/__init__.py +2 -0
- oci/waf/models/dynamic_http_response_body.py +104 -0
- oci/waf/models/http_response_body.py +11 -3
- oci/waf/models/static_text_http_response_body.py +1 -1
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/METADATA +1 -1
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/RECORD +533 -391
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/WHEEL +0 -0
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/top_level.txt +0 -0
@@ -150,7 +150,7 @@ class DatabaseRecoveryClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/cancel_protected_database_deletion.py.html>`__ to see an example of how to use cancel_protected_database_deletion API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = ['protectedDatabaseId']
|
@@ -258,7 +258,7 @@ class DatabaseRecoveryClient(object):
|
|
258
258
|
:rtype: :class:`~oci.response.Response`
|
259
259
|
|
260
260
|
:example:
|
261
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_protected_database_compartment.py.html>`__ to see an example of how to use change_protected_database_compartment API.
|
262
262
|
"""
|
263
263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
264
264
|
required_arguments = ['protectedDatabaseId']
|
@@ -331,6 +331,116 @@ class DatabaseRecoveryClient(object):
|
|
331
331
|
api_reference_link=api_reference_link,
|
332
332
|
required_arguments=required_arguments)
|
333
333
|
|
334
|
+
def change_protected_database_subscription(self, protected_database_id, change_protected_database_subscription_details, **kwargs):
|
335
|
+
"""
|
336
|
+
Associates the protected database with a new cloud service environment, such as Microsoft Azure.
|
337
|
+
|
338
|
+
|
339
|
+
:param str protected_database_id: (required)
|
340
|
+
The protected database OCID.
|
341
|
+
|
342
|
+
:param oci.recovery.models.ChangeProtectedDatabaseSubscriptionDetails change_protected_database_subscription_details: (required)
|
343
|
+
Associate a protected database with a different subscription.
|
344
|
+
|
345
|
+
:param str opc_request_id: (optional)
|
346
|
+
Unique identifier for the request.
|
347
|
+
|
348
|
+
:param str if_match: (optional)
|
349
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
350
|
+
for a resource, set the `if-match` parameter to the value of the
|
351
|
+
etag from a previous GET or POST response for that resource.
|
352
|
+
The resource will be updated or deleted only if the etag you
|
353
|
+
provide matches the resource's current etag value.
|
354
|
+
|
355
|
+
:param obj retry_strategy: (optional)
|
356
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
357
|
+
|
358
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
359
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
360
|
+
|
361
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
362
|
+
|
363
|
+
:param bool allow_control_chars: (optional)
|
364
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
365
|
+
By default, the response will not allow control characters in strings
|
366
|
+
|
367
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
368
|
+
:rtype: :class:`~oci.response.Response`
|
369
|
+
|
370
|
+
:example:
|
371
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_protected_database_subscription.py.html>`__ to see an example of how to use change_protected_database_subscription API.
|
372
|
+
"""
|
373
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
374
|
+
required_arguments = ['protectedDatabaseId']
|
375
|
+
resource_path = "/protectedDatabases/{protectedDatabaseId}/actions/changeSubscription"
|
376
|
+
method = "POST"
|
377
|
+
operation_name = "change_protected_database_subscription"
|
378
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/recovery-service/20210216/ProtectedDatabase/ChangeProtectedDatabaseSubscription"
|
379
|
+
|
380
|
+
# Don't accept unknown kwargs
|
381
|
+
expected_kwargs = [
|
382
|
+
"allow_control_chars",
|
383
|
+
"retry_strategy",
|
384
|
+
"opc_request_id",
|
385
|
+
"if_match"
|
386
|
+
]
|
387
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
388
|
+
if extra_kwargs:
|
389
|
+
raise ValueError(
|
390
|
+
f"change_protected_database_subscription got unknown kwargs: {extra_kwargs!r}")
|
391
|
+
|
392
|
+
path_params = {
|
393
|
+
"protectedDatabaseId": protected_database_id
|
394
|
+
}
|
395
|
+
|
396
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
397
|
+
|
398
|
+
for (k, v) in six.iteritems(path_params):
|
399
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
400
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
401
|
+
|
402
|
+
header_params = {
|
403
|
+
"accept": "application/json",
|
404
|
+
"content-type": "application/json",
|
405
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
406
|
+
"if-match": kwargs.get("if_match", missing)
|
407
|
+
}
|
408
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
409
|
+
|
410
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
411
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
412
|
+
client_retry_strategy=self.retry_strategy
|
413
|
+
)
|
414
|
+
if retry_strategy is None:
|
415
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
416
|
+
|
417
|
+
if retry_strategy:
|
418
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
419
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
420
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
421
|
+
return retry_strategy.make_retrying_call(
|
422
|
+
self.base_client.call_api,
|
423
|
+
resource_path=resource_path,
|
424
|
+
method=method,
|
425
|
+
path_params=path_params,
|
426
|
+
header_params=header_params,
|
427
|
+
body=change_protected_database_subscription_details,
|
428
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
429
|
+
operation_name=operation_name,
|
430
|
+
api_reference_link=api_reference_link,
|
431
|
+
required_arguments=required_arguments)
|
432
|
+
else:
|
433
|
+
return self.base_client.call_api(
|
434
|
+
resource_path=resource_path,
|
435
|
+
method=method,
|
436
|
+
path_params=path_params,
|
437
|
+
header_params=header_params,
|
438
|
+
body=change_protected_database_subscription_details,
|
439
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
440
|
+
operation_name=operation_name,
|
441
|
+
api_reference_link=api_reference_link,
|
442
|
+
required_arguments=required_arguments)
|
443
|
+
|
334
444
|
def change_protection_policy_compartment(self, protection_policy_id, change_protection_policy_compartment_details, **kwargs):
|
335
445
|
"""
|
336
446
|
Moves a protection policy resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.
|
@@ -368,7 +478,7 @@ class DatabaseRecoveryClient(object):
|
|
368
478
|
:rtype: :class:`~oci.response.Response`
|
369
479
|
|
370
480
|
:example:
|
371
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
481
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_protection_policy_compartment.py.html>`__ to see an example of how to use change_protection_policy_compartment API.
|
372
482
|
"""
|
373
483
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
374
484
|
required_arguments = ['protectionPolicyId']
|
@@ -478,7 +588,7 @@ class DatabaseRecoveryClient(object):
|
|
478
588
|
:rtype: :class:`~oci.response.Response`
|
479
589
|
|
480
590
|
:example:
|
481
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_recovery_service_subnet_compartment.py.html>`__ to see an example of how to use change_recovery_service_subnet_compartment API.
|
482
592
|
"""
|
483
593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
484
594
|
required_arguments = ['recoveryServiceSubnetId']
|
@@ -608,7 +718,7 @@ class DatabaseRecoveryClient(object):
|
|
608
718
|
:rtype: :class:`~oci.response.Response`
|
609
719
|
|
610
720
|
:example:
|
611
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
721
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/create_protected_database.py.html>`__ to see an example of how to use create_protected_database API.
|
612
722
|
"""
|
613
723
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
614
724
|
required_arguments = []
|
@@ -708,7 +818,7 @@ class DatabaseRecoveryClient(object):
|
|
708
818
|
:rtype: :class:`~oci.response.Response`
|
709
819
|
|
710
820
|
:example:
|
711
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
821
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/create_protection_policy.py.html>`__ to see an example of how to use create_protection_policy API.
|
712
822
|
"""
|
713
823
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
714
824
|
required_arguments = []
|
@@ -806,7 +916,7 @@ class DatabaseRecoveryClient(object):
|
|
806
916
|
:rtype: :class:`~oci.response.Response`
|
807
917
|
|
808
918
|
:example:
|
809
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
919
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/create_recovery_service_subnet.py.html>`__ to see an example of how to use create_recovery_service_subnet API.
|
810
920
|
"""
|
811
921
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
812
922
|
required_arguments = []
|
@@ -911,7 +1021,7 @@ class DatabaseRecoveryClient(object):
|
|
911
1021
|
:rtype: :class:`~oci.response.Response`
|
912
1022
|
|
913
1023
|
:example:
|
914
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1024
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/delete_protected_database.py.html>`__ to see an example of how to use delete_protected_database API.
|
915
1025
|
"""
|
916
1026
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
917
1027
|
required_arguments = ['protectedDatabaseId']
|
@@ -1032,7 +1142,7 @@ class DatabaseRecoveryClient(object):
|
|
1032
1142
|
:rtype: :class:`~oci.response.Response`
|
1033
1143
|
|
1034
1144
|
:example:
|
1035
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1145
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/delete_protection_policy.py.html>`__ to see an example of how to use delete_protection_policy API.
|
1036
1146
|
"""
|
1037
1147
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1038
1148
|
required_arguments = ['protectionPolicyId']
|
@@ -1137,7 +1247,7 @@ class DatabaseRecoveryClient(object):
|
|
1137
1247
|
:rtype: :class:`~oci.response.Response`
|
1138
1248
|
|
1139
1249
|
:example:
|
1140
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1250
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/delete_recovery_service_subnet.py.html>`__ to see an example of how to use delete_recovery_service_subnet API.
|
1141
1251
|
"""
|
1142
1252
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1143
1253
|
required_arguments = ['recoveryServiceSubnetId']
|
@@ -1245,7 +1355,7 @@ class DatabaseRecoveryClient(object):
|
|
1245
1355
|
:rtype: :class:`~oci.response.Response`
|
1246
1356
|
|
1247
1357
|
:example:
|
1248
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1358
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/fetch_protected_database_configuration.py.html>`__ to see an example of how to use fetch_protected_database_configuration API.
|
1249
1359
|
"""
|
1250
1360
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1251
1361
|
required_arguments = ['protectedDatabaseId']
|
@@ -1348,7 +1458,7 @@ class DatabaseRecoveryClient(object):
|
|
1348
1458
|
:rtype: :class:`~oci.response.Response`
|
1349
1459
|
|
1350
1460
|
:example:
|
1351
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1461
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_protected_database.py.html>`__ to see an example of how to use get_protected_database API.
|
1352
1462
|
"""
|
1353
1463
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1354
1464
|
required_arguments = ['protectedDatabaseId']
|
@@ -1446,7 +1556,7 @@ class DatabaseRecoveryClient(object):
|
|
1446
1556
|
:rtype: :class:`~oci.response.Response`
|
1447
1557
|
|
1448
1558
|
:example:
|
1449
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1559
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_protection_policy.py.html>`__ to see an example of how to use get_protection_policy API.
|
1450
1560
|
"""
|
1451
1561
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1452
1562
|
required_arguments = ['protectionPolicyId']
|
@@ -1544,7 +1654,7 @@ class DatabaseRecoveryClient(object):
|
|
1544
1654
|
:rtype: :class:`~oci.response.Response`
|
1545
1655
|
|
1546
1656
|
:example:
|
1547
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1657
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_recovery_service_subnet.py.html>`__ to see an example of how to use get_recovery_service_subnet API.
|
1548
1658
|
"""
|
1549
1659
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1550
1660
|
required_arguments = ['recoveryServiceSubnetId']
|
@@ -1642,7 +1752,7 @@ class DatabaseRecoveryClient(object):
|
|
1642
1752
|
:rtype: :class:`~oci.response.Response`
|
1643
1753
|
|
1644
1754
|
:example:
|
1645
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1755
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1646
1756
|
"""
|
1647
1757
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1648
1758
|
required_arguments = ['workRequestId']
|
@@ -1779,7 +1889,7 @@ class DatabaseRecoveryClient(object):
|
|
1779
1889
|
:rtype: :class:`~oci.response.Response`
|
1780
1890
|
|
1781
1891
|
:example:
|
1782
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1892
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_protected_databases.py.html>`__ to see an example of how to use list_protected_databases API.
|
1783
1893
|
"""
|
1784
1894
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1785
1895
|
required_arguments = ['compartmentId']
|
@@ -1949,7 +2059,7 @@ class DatabaseRecoveryClient(object):
|
|
1949
2059
|
:rtype: :class:`~oci.response.Response`
|
1950
2060
|
|
1951
2061
|
:example:
|
1952
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2062
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_protection_policies.py.html>`__ to see an example of how to use list_protection_policies API.
|
1953
2063
|
"""
|
1954
2064
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1955
2065
|
required_arguments = ['compartmentId']
|
@@ -2122,7 +2232,7 @@ class DatabaseRecoveryClient(object):
|
|
2122
2232
|
:rtype: :class:`~oci.response.Response`
|
2123
2233
|
|
2124
2234
|
:example:
|
2125
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2235
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_recovery_service_subnets.py.html>`__ to see an example of how to use list_recovery_service_subnets API.
|
2126
2236
|
"""
|
2127
2237
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2128
2238
|
required_arguments = ['compartmentId']
|
@@ -2271,7 +2381,7 @@ class DatabaseRecoveryClient(object):
|
|
2271
2381
|
:rtype: :class:`~oci.response.Response`
|
2272
2382
|
|
2273
2383
|
:example:
|
2274
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2384
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2275
2385
|
"""
|
2276
2386
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2277
2387
|
required_arguments = ['workRequestId']
|
@@ -2416,7 +2526,7 @@ class DatabaseRecoveryClient(object):
|
|
2416
2526
|
:rtype: :class:`~oci.response.Response`
|
2417
2527
|
|
2418
2528
|
:example:
|
2419
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2529
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2420
2530
|
"""
|
2421
2531
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2422
2532
|
required_arguments = ['workRequestId']
|
@@ -2572,7 +2682,7 @@ class DatabaseRecoveryClient(object):
|
|
2572
2682
|
:rtype: :class:`~oci.response.Response`
|
2573
2683
|
|
2574
2684
|
:example:
|
2575
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2685
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2576
2686
|
"""
|
2577
2687
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2578
2688
|
required_arguments = ['compartmentId']
|
@@ -2712,7 +2822,7 @@ class DatabaseRecoveryClient(object):
|
|
2712
2822
|
:rtype: :class:`~oci.response.Response`
|
2713
2823
|
|
2714
2824
|
:example:
|
2715
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2825
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/schedule_protected_database_deletion.py.html>`__ to see an example of how to use schedule_protected_database_deletion API.
|
2716
2826
|
"""
|
2717
2827
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2718
2828
|
required_arguments = ['protectedDatabaseId']
|
@@ -2823,7 +2933,7 @@ class DatabaseRecoveryClient(object):
|
|
2823
2933
|
:rtype: :class:`~oci.response.Response`
|
2824
2934
|
|
2825
2935
|
:example:
|
2826
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2936
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/update_protected_database.py.html>`__ to see an example of how to use update_protected_database API.
|
2827
2937
|
"""
|
2828
2938
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2829
2939
|
required_arguments = ['protectedDatabaseId']
|
@@ -2933,7 +3043,7 @@ class DatabaseRecoveryClient(object):
|
|
2933
3043
|
:rtype: :class:`~oci.response.Response`
|
2934
3044
|
|
2935
3045
|
:example:
|
2936
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3046
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/update_protection_policy.py.html>`__ to see an example of how to use update_protection_policy API.
|
2937
3047
|
"""
|
2938
3048
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2939
3049
|
required_arguments = ['protectionPolicyId']
|
@@ -3043,7 +3153,7 @@ class DatabaseRecoveryClient(object):
|
|
3043
3153
|
:rtype: :class:`~oci.response.Response`
|
3044
3154
|
|
3045
3155
|
:example:
|
3046
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/update_recovery_service_subnet.py.html>`__ to see an example of how to use update_recovery_service_subnet API.
|
3047
3157
|
"""
|
3048
3158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3049
3159
|
required_arguments = ['recoveryServiceSubnetId']
|
@@ -67,6 +67,48 @@ class DatabaseRecoveryClientCompositeOperations(object):
|
|
67
67
|
except Exception as e:
|
68
68
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
69
69
|
|
70
|
+
def change_protected_database_subscription_and_wait_for_state(self, protected_database_id, change_protected_database_subscription_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
71
|
+
"""
|
72
|
+
Calls :py:func:`~oci.recovery.DatabaseRecoveryClient.change_protected_database_subscription` and waits for the :py:class:`~oci.recovery.models.WorkRequest`
|
73
|
+
to enter the given state(s).
|
74
|
+
|
75
|
+
:param str protected_database_id: (required)
|
76
|
+
The protected database OCID.
|
77
|
+
|
78
|
+
:param oci.recovery.models.ChangeProtectedDatabaseSubscriptionDetails change_protected_database_subscription_details: (required)
|
79
|
+
Associate a protected database with a different subscription.
|
80
|
+
|
81
|
+
:param list[str] wait_for_states:
|
82
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.recovery.models.WorkRequest.status`
|
83
|
+
|
84
|
+
:param dict operation_kwargs:
|
85
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.recovery.DatabaseRecoveryClient.change_protected_database_subscription`
|
86
|
+
|
87
|
+
:param dict waiter_kwargs:
|
88
|
+
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``
|
89
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
90
|
+
"""
|
91
|
+
operation_result = self.client.change_protected_database_subscription(protected_database_id, change_protected_database_subscription_details, **operation_kwargs)
|
92
|
+
if not wait_for_states:
|
93
|
+
return operation_result
|
94
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
95
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
96
|
+
return operation_result
|
97
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
98
|
+
|
99
|
+
try:
|
100
|
+
waiter_result = oci.wait_until(
|
101
|
+
self.client,
|
102
|
+
self.client.get_work_request(wait_for_resource_id),
|
103
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
104
|
+
**waiter_kwargs
|
105
|
+
)
|
106
|
+
result_to_return = waiter_result
|
107
|
+
|
108
|
+
return result_to_return
|
109
|
+
except Exception as e:
|
110
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
111
|
+
|
70
112
|
def change_protection_policy_compartment_and_wait_for_state(self, protection_policy_id, change_protection_policy_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
71
113
|
"""
|
72
114
|
Calls :py:func:`~oci.recovery.DatabaseRecoveryClient.change_protection_policy_compartment` and waits for the :py:class:`~oci.recovery.models.WorkRequest`
|
oci/recovery/models/__init__.py
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
9
9
|
from .change_protected_database_compartment_details import ChangeProtectedDatabaseCompartmentDetails
|
10
|
+
from .change_protected_database_subscription_details import ChangeProtectedDatabaseSubscriptionDetails
|
10
11
|
from .change_protection_policy_compartment_details import ChangeProtectionPolicyCompartmentDetails
|
11
12
|
from .change_recovery_service_subnet_compartment_details import ChangeRecoveryServiceSubnetCompartmentDetails
|
12
13
|
from .create_protected_database_details import CreateProtectedDatabaseDetails
|
@@ -42,6 +43,7 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
|
|
42
43
|
# Maps type names to classes for recovery services.
|
43
44
|
recovery_type_mapping = {
|
44
45
|
"ChangeProtectedDatabaseCompartmentDetails": ChangeProtectedDatabaseCompartmentDetails,
|
46
|
+
"ChangeProtectedDatabaseSubscriptionDetails": ChangeProtectedDatabaseSubscriptionDetails,
|
45
47
|
"ChangeProtectionPolicyCompartmentDetails": ChangeProtectionPolicyCompartmentDetails,
|
46
48
|
"ChangeRecoveryServiceSubnetCompartmentDetails": ChangeRecoveryServiceSubnetCompartmentDetails,
|
47
49
|
"CreateProtectedDatabaseDetails": CreateProtectedDatabaseDetails,
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, 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: 20210216
|
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 ChangeProtectedDatabaseSubscriptionDetails(object):
|
14
|
+
"""
|
15
|
+
Subscription details of the new cloud service environment, such as Microsoft Azure, where the protected database will be provisioned.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ChangeProtectedDatabaseSubscriptionDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param subscription_id:
|
24
|
+
The value to assign to the subscription_id property of this ChangeProtectedDatabaseSubscriptionDetails.
|
25
|
+
:type subscription_id: str
|
26
|
+
|
27
|
+
:param is_default:
|
28
|
+
The value to assign to the is_default property of this ChangeProtectedDatabaseSubscriptionDetails.
|
29
|
+
:type is_default: bool
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'subscription_id': 'str',
|
34
|
+
'is_default': 'bool'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'subscription_id': 'subscriptionId',
|
39
|
+
'is_default': 'isDefault'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._subscription_id = None
|
43
|
+
self._is_default = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def subscription_id(self):
|
47
|
+
"""
|
48
|
+
Gets the subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
|
49
|
+
The OCID of the new cloud service subscription to which you want to link the protected database.
|
50
|
+
|
51
|
+
|
52
|
+
:return: The subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._subscription_id
|
56
|
+
|
57
|
+
@subscription_id.setter
|
58
|
+
def subscription_id(self, subscription_id):
|
59
|
+
"""
|
60
|
+
Sets the subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
|
61
|
+
The OCID of the new cloud service subscription to which you want to link the protected database.
|
62
|
+
|
63
|
+
|
64
|
+
:param subscription_id: The subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
|
65
|
+
:type: str
|
66
|
+
"""
|
67
|
+
self._subscription_id = subscription_id
|
68
|
+
|
69
|
+
@property
|
70
|
+
def is_default(self):
|
71
|
+
"""
|
72
|
+
Gets the is_default of this ChangeProtectedDatabaseSubscriptionDetails.
|
73
|
+
Indicates whether it is a Universal Credit Model (UCM) subscription.
|
74
|
+
|
75
|
+
|
76
|
+
:return: The is_default of this ChangeProtectedDatabaseSubscriptionDetails.
|
77
|
+
:rtype: bool
|
78
|
+
"""
|
79
|
+
return self._is_default
|
80
|
+
|
81
|
+
@is_default.setter
|
82
|
+
def is_default(self, is_default):
|
83
|
+
"""
|
84
|
+
Sets the is_default of this ChangeProtectedDatabaseSubscriptionDetails.
|
85
|
+
Indicates whether it is a Universal Credit Model (UCM) subscription.
|
86
|
+
|
87
|
+
|
88
|
+
:param is_default: The is_default of this ChangeProtectedDatabaseSubscriptionDetails.
|
89
|
+
:type: bool
|
90
|
+
"""
|
91
|
+
self._is_default = is_default
|
92
|
+
|
93
|
+
def __repr__(self):
|
94
|
+
return formatted_flat_dict(self)
|
95
|
+
|
96
|
+
def __eq__(self, other):
|
97
|
+
if other is None:
|
98
|
+
return False
|
99
|
+
|
100
|
+
return self.__dict__ == other.__dict__
|
101
|
+
|
102
|
+
def __ne__(self, other):
|
103
|
+
return not self == other
|
@@ -97,6 +97,10 @@ class CreateProtectedDatabaseDetails(object):
|
|
97
97
|
The value to assign to the is_redo_logs_shipped property of this CreateProtectedDatabaseDetails.
|
98
98
|
:type is_redo_logs_shipped: bool
|
99
99
|
|
100
|
+
:param subscription_id:
|
101
|
+
The value to assign to the subscription_id property of this CreateProtectedDatabaseDetails.
|
102
|
+
:type subscription_id: str
|
103
|
+
|
100
104
|
:param freeform_tags:
|
101
105
|
The value to assign to the freeform_tags property of this CreateProtectedDatabaseDetails.
|
102
106
|
:type freeform_tags: dict(str, str)
|
@@ -119,6 +123,7 @@ class CreateProtectedDatabaseDetails(object):
|
|
119
123
|
'change_rate': 'float',
|
120
124
|
'compression_ratio': 'float',
|
121
125
|
'is_redo_logs_shipped': 'bool',
|
126
|
+
'subscription_id': 'str',
|
122
127
|
'freeform_tags': 'dict(str, str)',
|
123
128
|
'defined_tags': 'dict(str, dict(str, object))'
|
124
129
|
}
|
@@ -136,6 +141,7 @@ class CreateProtectedDatabaseDetails(object):
|
|
136
141
|
'change_rate': 'changeRate',
|
137
142
|
'compression_ratio': 'compressionRatio',
|
138
143
|
'is_redo_logs_shipped': 'isRedoLogsShipped',
|
144
|
+
'subscription_id': 'subscriptionId',
|
139
145
|
'freeform_tags': 'freeformTags',
|
140
146
|
'defined_tags': 'definedTags'
|
141
147
|
}
|
@@ -152,6 +158,7 @@ class CreateProtectedDatabaseDetails(object):
|
|
152
158
|
self._change_rate = None
|
153
159
|
self._compression_ratio = None
|
154
160
|
self._is_redo_logs_shipped = None
|
161
|
+
self._subscription_id = None
|
155
162
|
self._freeform_tags = None
|
156
163
|
self._defined_tags = None
|
157
164
|
|
@@ -456,6 +463,32 @@ class CreateProtectedDatabaseDetails(object):
|
|
456
463
|
"""
|
457
464
|
self._is_redo_logs_shipped = is_redo_logs_shipped
|
458
465
|
|
466
|
+
@property
|
467
|
+
def subscription_id(self):
|
468
|
+
"""
|
469
|
+
Gets the subscription_id of this CreateProtectedDatabaseDetails.
|
470
|
+
The OCID of the cloud service subscription to which you want to link the protected database.
|
471
|
+
For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
472
|
+
|
473
|
+
|
474
|
+
:return: The subscription_id of this CreateProtectedDatabaseDetails.
|
475
|
+
:rtype: str
|
476
|
+
"""
|
477
|
+
return self._subscription_id
|
478
|
+
|
479
|
+
@subscription_id.setter
|
480
|
+
def subscription_id(self, subscription_id):
|
481
|
+
"""
|
482
|
+
Sets the subscription_id of this CreateProtectedDatabaseDetails.
|
483
|
+
The OCID of the cloud service subscription to which you want to link the protected database.
|
484
|
+
For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
485
|
+
|
486
|
+
|
487
|
+
:param subscription_id: The subscription_id of this CreateProtectedDatabaseDetails.
|
488
|
+
:type: str
|
489
|
+
"""
|
490
|
+
self._subscription_id = subscription_id
|
491
|
+
|
459
492
|
@property
|
460
493
|
def freeform_tags(self):
|
461
494
|
"""
|
@@ -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 must_enforce_cloud_locality:
|
36
|
+
The value to assign to the must_enforce_cloud_locality property of this CreateProtectionPolicyDetails.
|
37
|
+
:type must_enforce_cloud_locality: bool
|
38
|
+
|
35
39
|
:param policy_locked_date_time:
|
36
40
|
The value to assign to the policy_locked_date_time property of this CreateProtectionPolicyDetails.
|
37
41
|
:type policy_locked_date_time: str
|
@@ -49,6 +53,7 @@ class CreateProtectionPolicyDetails(object):
|
|
49
53
|
'display_name': 'str',
|
50
54
|
'backup_retention_period_in_days': 'int',
|
51
55
|
'compartment_id': 'str',
|
56
|
+
'must_enforce_cloud_locality': 'bool',
|
52
57
|
'policy_locked_date_time': 'str',
|
53
58
|
'freeform_tags': 'dict(str, str)',
|
54
59
|
'defined_tags': 'dict(str, dict(str, object))'
|
@@ -58,6 +63,7 @@ class CreateProtectionPolicyDetails(object):
|
|
58
63
|
'display_name': 'displayName',
|
59
64
|
'backup_retention_period_in_days': 'backupRetentionPeriodInDays',
|
60
65
|
'compartment_id': 'compartmentId',
|
66
|
+
'must_enforce_cloud_locality': 'mustEnforceCloudLocality',
|
61
67
|
'policy_locked_date_time': 'policyLockedDateTime',
|
62
68
|
'freeform_tags': 'freeformTags',
|
63
69
|
'defined_tags': 'definedTags'
|
@@ -66,6 +72,7 @@ class CreateProtectionPolicyDetails(object):
|
|
66
72
|
self._display_name = None
|
67
73
|
self._backup_retention_period_in_days = None
|
68
74
|
self._compartment_id = None
|
75
|
+
self._must_enforce_cloud_locality = None
|
69
76
|
self._policy_locked_date_time = None
|
70
77
|
self._freeform_tags = None
|
71
78
|
self._defined_tags = None
|
@@ -142,6 +149,38 @@ class CreateProtectionPolicyDetails(object):
|
|
142
149
|
"""
|
143
150
|
self._compartment_id = compartment_id
|
144
151
|
|
152
|
+
@property
|
153
|
+
def must_enforce_cloud_locality(self):
|
154
|
+
"""
|
155
|
+
Gets the must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
|
156
|
+
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
|
157
|
+
This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure.
|
158
|
+
If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure.
|
159
|
+
Note:
|
160
|
+
You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
161
|
+
|
162
|
+
|
163
|
+
:return: The must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
|
164
|
+
:rtype: bool
|
165
|
+
"""
|
166
|
+
return self._must_enforce_cloud_locality
|
167
|
+
|
168
|
+
@must_enforce_cloud_locality.setter
|
169
|
+
def must_enforce_cloud_locality(self, must_enforce_cloud_locality):
|
170
|
+
"""
|
171
|
+
Sets the must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
|
172
|
+
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
|
173
|
+
This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure.
|
174
|
+
If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure.
|
175
|
+
Note:
|
176
|
+
You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
177
|
+
|
178
|
+
|
179
|
+
:param must_enforce_cloud_locality: The must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
|
180
|
+
:type: bool
|
181
|
+
"""
|
182
|
+
self._must_enforce_cloud_locality = must_enforce_cloud_locality
|
183
|
+
|
145
184
|
@property
|
146
185
|
def policy_locked_date_time(self):
|
147
186
|
"""
|