oci 2.150.2__py3-none-any.whl → 2.150.3__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 +4 -1
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- 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 +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +46 -46
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +414 -414
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/disaster_recovery/models/__init__.py +42 -0
- oci/disaster_recovery/models/block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +35 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +35 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +1 -0
- oci/disaster_recovery/models/create_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/create_block_volume_mount_details.py +3 -2
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +115 -2
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +14 -14
- oci/disaster_recovery/models/create_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/create_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/dr_plan_step.py +58 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +58 -3
- oci/disaster_recovery/models/dr_plan_user_defined_step.py +57 -13
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +29 -2
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +31 -2
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +64 -2
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +113 -2
- oci/disaster_recovery/models/invoke_function_precheck_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_user_defined_custom_precheck_step.py +154 -0
- oci/disaster_recovery/models/local_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/object_store_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/run_local_script_user_defined_custom_precheck_step.py +199 -0
- oci/disaster_recovery/models/run_local_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/run_object_store_script_user_defined_custom_precheck_step.py +156 -0
- oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/source_volume_to_destination_encryption_key_mapping.py +101 -0
- oci/disaster_recovery/models/update_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/update_block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +57 -13
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +113 -2
- oci/disaster_recovery/models/update_invoke_function_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_invoke_function_user_defined_custom_precheck_step_details.py +119 -0
- oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_local_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_object_store_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_local_script_user_defined_custom_precheck_step_details.py +164 -0
- oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_custom_precheck_step_details.py +121 -0
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/update_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/vault_and_encryption_key.py +115 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +24 -24
- oci/generative_ai/models/content_moderation_config.py +79 -1
- oci/generative_ai/models/model.py +69 -3
- oci/generative_ai/models/model_summary.py +69 -3
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generative_ai_inference/models/__init__.py +8 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +41 -2
- oci/generative_ai_inference/models/cohere_chat_response.py +29 -2
- oci/generative_ai_inference/models/completion_tokens_details.py +132 -0
- oci/generative_ai_inference/models/embed_text_result.py +29 -2
- oci/generative_ai_inference/models/prompt_tokens_details.py +70 -0
- oci/generative_ai_inference/models/stream_options.py +70 -0
- oci/generative_ai_inference/models/usage.py +186 -0
- 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 +89 -89
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
- 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/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- 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/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +0 -9
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/models/__init__.py +12 -0
- oci/resource_scheduler/models/body_parameter.py +80 -0
- oci/resource_scheduler/models/change_schedule_compartment_details.py +74 -0
- oci/resource_scheduler/models/header_parameter.py +80 -0
- oci/resource_scheduler/models/parameter.py +123 -0
- oci/resource_scheduler/models/path_parameter.py +80 -0
- oci/resource_scheduler/models/query_parameter.py +80 -0
- oci/resource_scheduler/models/resource.py +113 -2
- oci/resource_scheduler/models/schedule.py +71 -0
- oci/resource_scheduler/schedule_client.py +156 -18
- oci/resource_scheduler/schedule_client_composite_operations.py +44 -0
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/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 +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/METADATA +1 -1
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/RECORD +350 -319
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/WHEEL +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/top_level.txt +0 -0
oci/disaster_recovery/models/update_source_volume_to_destination_encryption_key_mapping_details.py
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220125
|
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 UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails(object):
|
14
|
+
"""
|
15
|
+
Update source volume ID to destination customer managed vault and encryption key ID mapping for a volume group.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param source_volume_id:
|
24
|
+
The value to assign to the source_volume_id property of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
25
|
+
:type source_volume_id: str
|
26
|
+
|
27
|
+
:param destination_encryption_key:
|
28
|
+
The value to assign to the destination_encryption_key property of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
29
|
+
:type destination_encryption_key: oci.disaster_recovery.models.UpdateVaultAndEncryptionKeyDetails
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'source_volume_id': 'str',
|
34
|
+
'destination_encryption_key': 'UpdateVaultAndEncryptionKeyDetails'
|
35
|
+
}
|
36
|
+
self.attribute_map = {
|
37
|
+
'source_volume_id': 'sourceVolumeId',
|
38
|
+
'destination_encryption_key': 'destinationEncryptionKey'
|
39
|
+
}
|
40
|
+
self._source_volume_id = None
|
41
|
+
self._destination_encryption_key = None
|
42
|
+
|
43
|
+
@property
|
44
|
+
def source_volume_id(self):
|
45
|
+
"""
|
46
|
+
**[Required]** Gets the source_volume_id of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
47
|
+
The OCID of the source boot volume or block volume.
|
48
|
+
|
49
|
+
Example: `ocid1.volume.oc1..uniqueID`
|
50
|
+
|
51
|
+
|
52
|
+
:return: The source_volume_id of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._source_volume_id
|
56
|
+
|
57
|
+
@source_volume_id.setter
|
58
|
+
def source_volume_id(self, source_volume_id):
|
59
|
+
"""
|
60
|
+
Sets the source_volume_id of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
61
|
+
The OCID of the source boot volume or block volume.
|
62
|
+
|
63
|
+
Example: `ocid1.volume.oc1..uniqueID`
|
64
|
+
|
65
|
+
|
66
|
+
:param source_volume_id: The source_volume_id of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
67
|
+
:type: str
|
68
|
+
"""
|
69
|
+
self._source_volume_id = source_volume_id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def destination_encryption_key(self):
|
73
|
+
"""
|
74
|
+
**[Required]** Gets the destination_encryption_key of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
75
|
+
|
76
|
+
:return: The destination_encryption_key of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
77
|
+
:rtype: oci.disaster_recovery.models.UpdateVaultAndEncryptionKeyDetails
|
78
|
+
"""
|
79
|
+
return self._destination_encryption_key
|
80
|
+
|
81
|
+
@destination_encryption_key.setter
|
82
|
+
def destination_encryption_key(self, destination_encryption_key):
|
83
|
+
"""
|
84
|
+
Sets the destination_encryption_key of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
85
|
+
|
86
|
+
:param destination_encryption_key: The destination_encryption_key of this UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails.
|
87
|
+
:type: oci.disaster_recovery.models.UpdateVaultAndEncryptionKeyDetails
|
88
|
+
"""
|
89
|
+
self._destination_encryption_key = destination_encryption_key
|
90
|
+
|
91
|
+
def __repr__(self):
|
92
|
+
return formatted_flat_dict(self)
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
if other is None:
|
96
|
+
return False
|
97
|
+
|
98
|
+
return self.__dict__ == other.__dict__
|
99
|
+
|
100
|
+
def __ne__(self, other):
|
101
|
+
return not self == other
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220125
|
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 UpdateVaultAndEncryptionKeyDetails(object):
|
14
|
+
"""
|
15
|
+
Update properties for a customer-managed vault and encryption key in the destination region.
|
16
|
+
The customer-managed encryption key in this will be used to encrypt the resource or containing resources after they
|
17
|
+
move to the destination region.
|
18
|
+
"""
|
19
|
+
|
20
|
+
def __init__(self, **kwargs):
|
21
|
+
"""
|
22
|
+
Initializes a new UpdateVaultAndEncryptionKeyDetails object with values from keyword arguments.
|
23
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
24
|
+
|
25
|
+
:param vault_id:
|
26
|
+
The value to assign to the vault_id property of this UpdateVaultAndEncryptionKeyDetails.
|
27
|
+
:type vault_id: str
|
28
|
+
|
29
|
+
:param encryption_key_id:
|
30
|
+
The value to assign to the encryption_key_id property of this UpdateVaultAndEncryptionKeyDetails.
|
31
|
+
:type encryption_key_id: str
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'vault_id': 'str',
|
36
|
+
'encryption_key_id': 'str'
|
37
|
+
}
|
38
|
+
self.attribute_map = {
|
39
|
+
'vault_id': 'vaultId',
|
40
|
+
'encryption_key_id': 'encryptionKeyId'
|
41
|
+
}
|
42
|
+
self._vault_id = None
|
43
|
+
self._encryption_key_id = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def vault_id(self):
|
47
|
+
"""
|
48
|
+
**[Required]** Gets the vault_id of this UpdateVaultAndEncryptionKeyDetails.
|
49
|
+
The OCID of the destination region vault for the customer-managed encryption key.
|
50
|
+
|
51
|
+
Example: `ocid1.vault.oc1..uniqueID`
|
52
|
+
|
53
|
+
|
54
|
+
:return: The vault_id of this UpdateVaultAndEncryptionKeyDetails.
|
55
|
+
:rtype: str
|
56
|
+
"""
|
57
|
+
return self._vault_id
|
58
|
+
|
59
|
+
@vault_id.setter
|
60
|
+
def vault_id(self, vault_id):
|
61
|
+
"""
|
62
|
+
Sets the vault_id of this UpdateVaultAndEncryptionKeyDetails.
|
63
|
+
The OCID of the destination region vault for the customer-managed encryption key.
|
64
|
+
|
65
|
+
Example: `ocid1.vault.oc1..uniqueID`
|
66
|
+
|
67
|
+
|
68
|
+
:param vault_id: The vault_id of this UpdateVaultAndEncryptionKeyDetails.
|
69
|
+
:type: str
|
70
|
+
"""
|
71
|
+
self._vault_id = vault_id
|
72
|
+
|
73
|
+
@property
|
74
|
+
def encryption_key_id(self):
|
75
|
+
"""
|
76
|
+
**[Required]** Gets the encryption_key_id of this UpdateVaultAndEncryptionKeyDetails.
|
77
|
+
The OCID of the customer-managed encryption key in the destination region vault.
|
78
|
+
|
79
|
+
Example: `ocid1.key.oc1..uniqueID`
|
80
|
+
|
81
|
+
|
82
|
+
:return: The encryption_key_id of this UpdateVaultAndEncryptionKeyDetails.
|
83
|
+
:rtype: str
|
84
|
+
"""
|
85
|
+
return self._encryption_key_id
|
86
|
+
|
87
|
+
@encryption_key_id.setter
|
88
|
+
def encryption_key_id(self, encryption_key_id):
|
89
|
+
"""
|
90
|
+
Sets the encryption_key_id of this UpdateVaultAndEncryptionKeyDetails.
|
91
|
+
The OCID of the customer-managed encryption key in the destination region vault.
|
92
|
+
|
93
|
+
Example: `ocid1.key.oc1..uniqueID`
|
94
|
+
|
95
|
+
|
96
|
+
:param encryption_key_id: The encryption_key_id of this UpdateVaultAndEncryptionKeyDetails.
|
97
|
+
:type: str
|
98
|
+
"""
|
99
|
+
self._encryption_key_id = encryption_key_id
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
return formatted_flat_dict(self)
|
103
|
+
|
104
|
+
def __eq__(self, other):
|
105
|
+
if other is None:
|
106
|
+
return False
|
107
|
+
|
108
|
+
return self.__dict__ == other.__dict__
|
109
|
+
|
110
|
+
def __ne__(self, other):
|
111
|
+
return not self == other
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220125
|
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 VaultAndEncryptionKey(object):
|
14
|
+
"""
|
15
|
+
The OCID of a vault and customer-managed encryption key in the destination region.
|
16
|
+
|
17
|
+
The customer-managed encryption key in this will be used to encrypt all the volumes of the volume group after they move to the destination region.
|
18
|
+
If you specify this common vault and encryption key, you cannot specify vaults and encryption keys individually for each volume
|
19
|
+
using 'sourceVolumeToDestinationEncryptionKeyMappings'.
|
20
|
+
|
21
|
+
The customer-managed encryption key in this will be used to encrypt the file system when it move to the destination region.
|
22
|
+
"""
|
23
|
+
|
24
|
+
def __init__(self, **kwargs):
|
25
|
+
"""
|
26
|
+
Initializes a new VaultAndEncryptionKey object with values from keyword arguments.
|
27
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
28
|
+
|
29
|
+
:param vault_id:
|
30
|
+
The value to assign to the vault_id property of this VaultAndEncryptionKey.
|
31
|
+
:type vault_id: str
|
32
|
+
|
33
|
+
:param encryption_key_id:
|
34
|
+
The value to assign to the encryption_key_id property of this VaultAndEncryptionKey.
|
35
|
+
:type encryption_key_id: str
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'vault_id': 'str',
|
40
|
+
'encryption_key_id': 'str'
|
41
|
+
}
|
42
|
+
self.attribute_map = {
|
43
|
+
'vault_id': 'vaultId',
|
44
|
+
'encryption_key_id': 'encryptionKeyId'
|
45
|
+
}
|
46
|
+
self._vault_id = None
|
47
|
+
self._encryption_key_id = None
|
48
|
+
|
49
|
+
@property
|
50
|
+
def vault_id(self):
|
51
|
+
"""
|
52
|
+
**[Required]** Gets the vault_id of this VaultAndEncryptionKey.
|
53
|
+
The OCID of the destination region vault for the customer-managed encryption key.
|
54
|
+
|
55
|
+
Example: `ocid1.vault.oc1..uniqueID`
|
56
|
+
|
57
|
+
|
58
|
+
:return: The vault_id of this VaultAndEncryptionKey.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._vault_id
|
62
|
+
|
63
|
+
@vault_id.setter
|
64
|
+
def vault_id(self, vault_id):
|
65
|
+
"""
|
66
|
+
Sets the vault_id of this VaultAndEncryptionKey.
|
67
|
+
The OCID of the destination region vault for the customer-managed encryption key.
|
68
|
+
|
69
|
+
Example: `ocid1.vault.oc1..uniqueID`
|
70
|
+
|
71
|
+
|
72
|
+
:param vault_id: The vault_id of this VaultAndEncryptionKey.
|
73
|
+
:type: str
|
74
|
+
"""
|
75
|
+
self._vault_id = vault_id
|
76
|
+
|
77
|
+
@property
|
78
|
+
def encryption_key_id(self):
|
79
|
+
"""
|
80
|
+
**[Required]** Gets the encryption_key_id of this VaultAndEncryptionKey.
|
81
|
+
The OCID of the customer-managed encryption key in the destination region vault.
|
82
|
+
|
83
|
+
Example: `ocid1.key.oc1..uniqueID`
|
84
|
+
|
85
|
+
|
86
|
+
:return: The encryption_key_id of this VaultAndEncryptionKey.
|
87
|
+
:rtype: str
|
88
|
+
"""
|
89
|
+
return self._encryption_key_id
|
90
|
+
|
91
|
+
@encryption_key_id.setter
|
92
|
+
def encryption_key_id(self, encryption_key_id):
|
93
|
+
"""
|
94
|
+
Sets the encryption_key_id of this VaultAndEncryptionKey.
|
95
|
+
The OCID of the customer-managed encryption key in the destination region vault.
|
96
|
+
|
97
|
+
Example: `ocid1.key.oc1..uniqueID`
|
98
|
+
|
99
|
+
|
100
|
+
:param encryption_key_id: The encryption_key_id of this VaultAndEncryptionKey.
|
101
|
+
:type: str
|
102
|
+
"""
|
103
|
+
self._encryption_key_id = encryption_key_id
|
104
|
+
|
105
|
+
def __repr__(self):
|
106
|
+
return formatted_flat_dict(self)
|
107
|
+
|
108
|
+
def __eq__(self, other):
|
109
|
+
if other is None:
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
return not self == other
|