oci 2.129.0__py3-none-any.whl → 2.129.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +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 +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +45 -45
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/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 +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +8268 -6013
- oci/database/database_client_composite_operations.py +620 -0
- oci/database/models/__init__.py +46 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_database.py +14 -2
- oci/database/models/autonomous_database_summary.py +14 -2
- oci/database/models/change_exadb_vm_cluster_compartment_details.py +76 -0
- oci/database/models/change_exascale_db_storage_vault_compartment_details.py +76 -0
- oci/database/models/cloud_automation_apply_update_time_preference.py +103 -0
- oci/database/models/cloud_automation_freeze_period.py +103 -0
- oci/database/models/cloud_automation_update_details.py +157 -0
- oci/database/models/create_autonomous_database_base.py +4 -4
- oci/database/models/create_database_details.py +37 -2
- oci/database/models/create_database_software_image_details.py +7 -3
- oci/database/models/create_exadb_vm_cluster_details.py +956 -0
- oci/database/models/create_exascale_db_storage_vault_details.py +340 -0
- oci/database/models/create_pluggable_database_creation_type_details.py +4 -1
- oci/database/models/create_pluggable_database_from_local_clone_details.py +33 -2
- oci/database/models/create_pluggable_database_from_remote_clone_details.py +33 -2
- oci/database/models/database_software_image.py +7 -3
- oci/database/models/database_software_image_summary.py +7 -3
- oci/database/models/db_node.py +38 -3
- oci/database/models/db_node_details.py +76 -0
- oci/database/models/db_node_summary.py +38 -3
- oci/database/models/db_server.py +3 -3
- oci/database/models/db_server_summary.py +3 -3
- oci/database/models/exadb_vm_cluster.py +1592 -0
- oci/database/models/exadb_vm_cluster_storage_details.py +72 -0
- oci/database/models/exadb_vm_cluster_summary.py +1565 -0
- oci/database/models/exadb_vm_cluster_update.py +416 -0
- oci/database/models/exadb_vm_cluster_update_history_entry.py +392 -0
- oci/database/models/exadb_vm_cluster_update_history_entry_summary.py +392 -0
- oci/database/models/exadb_vm_cluster_update_summary.py +422 -0
- oci/database/models/exascale_db_storage_details.py +103 -0
- oci/database/models/exascale_db_storage_input_details.py +72 -0
- oci/database/models/exascale_db_storage_vault.py +605 -0
- oci/database/models/exascale_db_storage_vault_summary.py +536 -0
- oci/database/models/gi_minor_version_summary.py +107 -0
- oci/database/models/key_store.py +7 -3
- oci/database/models/key_store_summary.py +7 -3
- oci/database/models/maintenance_window.py +2 -4
- oci/database/models/remove_virtual_machine_from_exadb_vm_cluster_details.py +72 -0
- oci/database/models/update_exadb_vm_cluster_details.py +570 -0
- oci/database/models/update_exascale_db_storage_vault_details.py +239 -0
- oci/database_management/db_management_client.py +210 -210
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/child_database.py +7 -3
- oci/database_management/models/database_usage_metrics.py +7 -3
- oci/database_management/models/fleet_status_by_category.py +7 -3
- oci/database_management/models/job_database.py +7 -3
- oci/database_management/models/job_execution.py +7 -3
- oci/database_management/models/job_execution_summary.py +7 -3
- oci/database_management/models/managed_database.py +7 -3
- oci/database_management/models/managed_database_summary.py +7 -3
- oci/database_management/models/optimizer_database.py +7 -3
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +192 -35
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/create_oracle_migration_details.py +31 -0
- oci/database_migration/models/migration_parameter_base.py +127 -0
- oci/database_migration/models/migration_parameter_details.py +164 -0
- oci/database_migration/models/migration_parameter_summary.py +502 -0
- oci/database_migration/models/migration_parameter_summary_collection.py +72 -0
- oci/database_migration/models/oracle_migration.py +33 -2
- oci/database_migration/models/update_oracle_migration_details.py +31 -0
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/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/exceptions.py +46 -7
- oci/file_storage/file_storage_client.py +185 -67
- oci/file_storage/models/create_export_details.py +14 -4
- oci/file_storage/models/create_file_system_details.py +51 -0
- oci/file_storage/models/file_system.py +89 -3
- oci/file_storage/models/file_system_summary.py +60 -5
- oci/file_storage/models/snapshot_schedule.py +8 -2
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/__init__.py +2 -1
- oci/object_storage/object_storage_client.py +50 -50
- oci/object_storage/transfer/internal/download/DownloadConfiguration.py +232 -0
- oci/object_storage/transfer/internal/download/DownloadManager.py +902 -0
- oci/object_storage/transfer/internal/download/DownloadThread.py +375 -0
- oci/object_storage/transfer/internal/download/__init__.py +5 -0
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/models/__init__.py +12 -0
- oci/opsi/models/basic_configuration_item_summary.py +3 -3
- oci/opsi/models/create_operations_insights_private_endpoint_details.py +4 -2
- oci/opsi/models/create_operations_insights_warehouse_details.py +2 -2
- oci/opsi/models/create_operations_insights_warehouse_user_details.py +4 -4
- oci/opsi/models/credential_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +2 -2
- oci/opsi/models/database_details.py +2 -2
- oci/opsi/models/database_insight.py +2 -2
- oci/opsi/models/database_insight_summary.py +2 -2
- oci/opsi/models/download_operations_insights_warehouse_wallet_details.py +2 -2
- oci/opsi/models/enterprise_manager_bridges.py +1 -1
- oci/opsi/models/host_configuration_metric_group.py +11 -3
- oci/opsi/models/host_cpu_hardware_configuration.py +1 -1
- oci/opsi/models/host_cpu_recommendations.py +118 -5
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_entities.py +1 -1
- oci/opsi/models/host_filesystem_configuration.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +1 -1
- oci/opsi/models/host_gpu_configuration.py +492 -0
- oci/opsi/models/host_gpu_processes.py +213 -0
- oci/opsi/models/host_gpu_usage.py +678 -0
- oci/opsi/models/host_hardware_configuration.py +1 -1
- oci/opsi/models/host_insight.py +2 -2
- oci/opsi/models/host_insight_host_recommendations.py +27 -3
- oci/opsi/models/host_insight_summary.py +4 -4
- oci/opsi/models/host_memory_configuration.py +1 -1
- oci/opsi/models/host_memory_recommendations.py +165 -0
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_network_configuration.py +1 -1
- oci/opsi/models/host_network_recommendations.py +134 -0
- oci/opsi/models/host_performance_metric_group.py +19 -3
- oci/opsi/models/host_product.py +1 -1
- oci/opsi/models/host_resource_allocation.py +1 -1
- oci/opsi/models/host_storage_recommendations.py +134 -0
- oci/opsi/models/host_top_processes.py +34 -3
- oci/opsi/models/importable_enterprise_manager_entity.py +2 -2
- oci/opsi/models/news_report.py +2 -2
- oci/opsi/models/news_report_summary.py +2 -2
- oci/opsi/models/operations_insights_private_endpoint.py +2 -2
- oci/opsi/models/operations_insights_private_endpoint_summary.py +2 -2
- oci/opsi/models/operations_insights_warehouse.py +6 -6
- oci/opsi/models/operations_insights_warehouse_summary.py +6 -6
- oci/opsi/models/operations_insights_warehouse_user.py +4 -4
- oci/opsi/models/operations_insights_warehouse_user_summary.py +4 -4
- oci/opsi/models/operations_insights_warehouses.py +3 -3
- oci/opsi/models/opsi_configuration_basic_configuration_item_summary.py +1 -1
- oci/opsi/models/resource_filters.py +56 -2
- oci/opsi/models/sql_bucket.py +2 -2
- oci/opsi/models/sql_search_summary.py +2 -2
- oci/opsi/models/top_processes_usage.py +31 -0
- oci/opsi/models/top_processes_usage_trend.py +31 -0
- oci/opsi/models/update_operations_insights_warehouse_details.py +2 -2
- oci/opsi/models/update_operations_insights_warehouse_user_details.py +2 -2
- oci/opsi/models/work_requests.py +1 -1
- oci/opsi/operations_insights_client.py +604 -409
- oci/opsi/operations_insights_client_composite_operations.py +8 -8
- 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 +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- 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_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/models/usage_summary.py +62 -0
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.129.0.dist-info → oci-2.129.2.dist-info}/METADATA +1 -1
- {oci-2.129.0.dist-info → oci-2.129.2.dist-info}/RECORD +385 -348
- {oci-2.129.0.dist-info → oci-2.129.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.0.dist-info → oci-2.129.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.0.dist-info → oci-2.129.2.dist-info}/WHEEL +0 -0
- {oci-2.129.0.dist-info → oci-2.129.2.dist-info}/top_level.txt +0 -0
@@ -1258,6 +1258,88 @@ class DatabaseClientCompositeOperations(object):
|
|
1258
1258
|
except Exception as e:
|
1259
1259
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1260
1260
|
|
1261
|
+
def change_exadb_vm_cluster_compartment_and_wait_for_work_request(self, change_exadb_vm_cluster_compartment_details, exadb_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1262
|
+
"""
|
1263
|
+
Calls :py:func:`~oci.database.DatabaseClient.change_exadb_vm_cluster_compartment` and waits for the oci.work_requests.models.WorkRequest
|
1264
|
+
to enter the given state(s).
|
1265
|
+
|
1266
|
+
:param oci.database.models.ChangeExadbVmClusterCompartmentDetails change_exadb_vm_cluster_compartment_details: (required)
|
1267
|
+
Request to move Exadata VM cluster on Exascale Infrastructure to a different compartment
|
1268
|
+
|
1269
|
+
:param str exadb_vm_cluster_id: (required)
|
1270
|
+
The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
|
1271
|
+
|
1272
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1273
|
+
|
1274
|
+
:param list[str] work_request_states: (optional)
|
1275
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1276
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1277
|
+
|
1278
|
+
:param dict operation_kwargs:
|
1279
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.change_exadb_vm_cluster_compartment`
|
1280
|
+
|
1281
|
+
:param dict waiter_kwargs:
|
1282
|
+
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``
|
1283
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1284
|
+
"""
|
1285
|
+
operation_result = self.client.change_exadb_vm_cluster_compartment(change_exadb_vm_cluster_compartment_details, exadb_vm_cluster_id, **operation_kwargs)
|
1286
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1287
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1288
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1289
|
+
return operation_result
|
1290
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1291
|
+
try:
|
1292
|
+
waiter_result = oci.wait_until(
|
1293
|
+
self._work_request_client,
|
1294
|
+
self._work_request_client.get_work_request(work_request_id),
|
1295
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1296
|
+
**waiter_kwargs
|
1297
|
+
)
|
1298
|
+
return waiter_result
|
1299
|
+
except Exception as e:
|
1300
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1301
|
+
|
1302
|
+
def change_exascale_db_storage_vault_compartment_and_wait_for_work_request(self, change_exascale_db_storage_vault_compartment_details, exascale_db_storage_vault_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1303
|
+
"""
|
1304
|
+
Calls :py:func:`~oci.database.DatabaseClient.change_exascale_db_storage_vault_compartment` and waits for the oci.work_requests.models.WorkRequest
|
1305
|
+
to enter the given state(s).
|
1306
|
+
|
1307
|
+
:param oci.database.models.ChangeExascaleDbStorageVaultCompartmentDetails change_exascale_db_storage_vault_compartment_details: (required)
|
1308
|
+
Request to move Exadata Database Storage Vault to a different compartment
|
1309
|
+
|
1310
|
+
:param str exascale_db_storage_vault_id: (required)
|
1311
|
+
The Exadata Database Storage Vault `OCID`__.
|
1312
|
+
|
1313
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1314
|
+
|
1315
|
+
:param list[str] work_request_states: (optional)
|
1316
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1317
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1318
|
+
|
1319
|
+
:param dict operation_kwargs:
|
1320
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.change_exascale_db_storage_vault_compartment`
|
1321
|
+
|
1322
|
+
:param dict waiter_kwargs:
|
1323
|
+
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``
|
1324
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1325
|
+
"""
|
1326
|
+
operation_result = self.client.change_exascale_db_storage_vault_compartment(change_exascale_db_storage_vault_compartment_details, exascale_db_storage_vault_id, **operation_kwargs)
|
1327
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1328
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1329
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1330
|
+
return operation_result
|
1331
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1332
|
+
try:
|
1333
|
+
waiter_result = oci.wait_until(
|
1334
|
+
self._work_request_client,
|
1335
|
+
self._work_request_client.get_work_request(work_request_id),
|
1336
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1337
|
+
**waiter_kwargs
|
1338
|
+
)
|
1339
|
+
return waiter_result
|
1340
|
+
except Exception as e:
|
1341
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1342
|
+
|
1261
1343
|
def change_external_container_database_compartment_and_wait_for_work_request(self, change_compartment_details, external_container_database_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1262
1344
|
"""
|
1263
1345
|
Calls :py:func:`~oci.database.DatabaseClient.change_external_container_database_compartment` and waits for the oci.work_requests.models.WorkRequest
|
@@ -1758,6 +1840,44 @@ class DatabaseClientCompositeOperations(object):
|
|
1758
1840
|
except Exception as e:
|
1759
1841
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1760
1842
|
|
1843
|
+
def confirm_key_store_details_are_correct_and_wait_for_work_request(self, key_store_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1844
|
+
"""
|
1845
|
+
Calls :py:func:`~oci.database.DatabaseClient.confirm_key_store_details_are_correct` and waits for the oci.work_requests.models.WorkRequest
|
1846
|
+
to enter the given state(s).
|
1847
|
+
|
1848
|
+
:param str key_store_id: (required)
|
1849
|
+
The `OCID`__ of the key store.
|
1850
|
+
|
1851
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1852
|
+
|
1853
|
+
:param list[str] work_request_states: (optional)
|
1854
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1855
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1856
|
+
|
1857
|
+
:param dict operation_kwargs:
|
1858
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.confirm_key_store_details_are_correct`
|
1859
|
+
|
1860
|
+
:param dict waiter_kwargs:
|
1861
|
+
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``
|
1862
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1863
|
+
"""
|
1864
|
+
operation_result = self.client.confirm_key_store_details_are_correct(key_store_id, **operation_kwargs)
|
1865
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1866
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1867
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1868
|
+
return operation_result
|
1869
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1870
|
+
try:
|
1871
|
+
waiter_result = oci.wait_until(
|
1872
|
+
self._work_request_client,
|
1873
|
+
self._work_request_client.get_work_request(work_request_id),
|
1874
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1875
|
+
**waiter_kwargs
|
1876
|
+
)
|
1877
|
+
return waiter_result
|
1878
|
+
except Exception as e:
|
1879
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1880
|
+
|
1761
1881
|
def convert_to_pdb_and_wait_for_work_request(self, database_id, convert_to_pdb_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1762
1882
|
"""
|
1763
1883
|
Calls :py:func:`~oci.database.DatabaseClient.convert_to_pdb` and waits for the oci.work_requests.models.WorkRequest
|
@@ -3428,6 +3548,166 @@ class DatabaseClientCompositeOperations(object):
|
|
3428
3548
|
except Exception as e:
|
3429
3549
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3430
3550
|
|
3551
|
+
def create_exadb_vm_cluster_and_wait_for_work_request(self, create_exadb_vm_cluster_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3552
|
+
"""
|
3553
|
+
Calls :py:func:`~oci.database.DatabaseClient.create_exadb_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
|
3554
|
+
to enter the given state(s).
|
3555
|
+
|
3556
|
+
:param oci.database.models.CreateExadbVmClusterDetails create_exadb_vm_cluster_details: (required)
|
3557
|
+
Request to create a Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. See `The New Exadata Cloud Service Resource Model`__ for information on this resource type.
|
3558
|
+
|
3559
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Database/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
|
3560
|
+
|
3561
|
+
:param list[str] work_request_states: (optional)
|
3562
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
3563
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
3564
|
+
|
3565
|
+
:param dict operation_kwargs:
|
3566
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.create_exadb_vm_cluster`
|
3567
|
+
|
3568
|
+
:param dict waiter_kwargs:
|
3569
|
+
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``
|
3570
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3571
|
+
"""
|
3572
|
+
operation_result = self.client.create_exadb_vm_cluster(create_exadb_vm_cluster_details, **operation_kwargs)
|
3573
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
3574
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
3575
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
3576
|
+
return operation_result
|
3577
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
3578
|
+
try:
|
3579
|
+
waiter_result = oci.wait_until(
|
3580
|
+
self._work_request_client,
|
3581
|
+
self._work_request_client.get_work_request(work_request_id),
|
3582
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
3583
|
+
**waiter_kwargs
|
3584
|
+
)
|
3585
|
+
return waiter_result
|
3586
|
+
except Exception as e:
|
3587
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3588
|
+
|
3589
|
+
def create_exadb_vm_cluster_and_wait_for_state(self, create_exadb_vm_cluster_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3590
|
+
"""
|
3591
|
+
Calls :py:func:`~oci.database.DatabaseClient.create_exadb_vm_cluster` and waits for the :py:class:`~oci.database.models.ExadbVmCluster` acted upon
|
3592
|
+
to enter the given state(s).
|
3593
|
+
|
3594
|
+
:param oci.database.models.CreateExadbVmClusterDetails create_exadb_vm_cluster_details: (required)
|
3595
|
+
Request to create a Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. See `The New Exadata Cloud Service Resource Model`__ for information on this resource type.
|
3596
|
+
|
3597
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Database/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
|
3598
|
+
|
3599
|
+
:param list[str] wait_for_states:
|
3600
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.ExadbVmCluster.lifecycle_state`
|
3601
|
+
|
3602
|
+
:param dict operation_kwargs:
|
3603
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.create_exadb_vm_cluster`
|
3604
|
+
|
3605
|
+
:param dict waiter_kwargs:
|
3606
|
+
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``
|
3607
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3608
|
+
"""
|
3609
|
+
operation_result = self.client.create_exadb_vm_cluster(create_exadb_vm_cluster_details, **operation_kwargs)
|
3610
|
+
if not wait_for_states:
|
3611
|
+
return operation_result
|
3612
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
3613
|
+
exadb_vm_cluster_id = operation_result.data.id
|
3614
|
+
|
3615
|
+
try:
|
3616
|
+
waiter_result = oci.wait_until(
|
3617
|
+
self.client,
|
3618
|
+
self.client.get_exadb_vm_cluster(exadb_vm_cluster_id), # noqa: F821
|
3619
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
3620
|
+
**waiter_kwargs
|
3621
|
+
)
|
3622
|
+
result_to_return = waiter_result
|
3623
|
+
|
3624
|
+
return result_to_return
|
3625
|
+
except (NameError, TypeError) as e:
|
3626
|
+
if not e.args:
|
3627
|
+
e.args = ('',)
|
3628
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
3629
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3630
|
+
except Exception as e:
|
3631
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3632
|
+
|
3633
|
+
def create_exascale_db_storage_vault_and_wait_for_work_request(self, create_exascale_db_storage_vault_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3634
|
+
"""
|
3635
|
+
Calls :py:func:`~oci.database.DatabaseClient.create_exascale_db_storage_vault` and waits for the oci.work_requests.models.WorkRequest
|
3636
|
+
to enter the given state(s).
|
3637
|
+
|
3638
|
+
:param oci.database.models.CreateExascaleDbStorageVaultDetails create_exascale_db_storage_vault_details: (required)
|
3639
|
+
Request to create a Exadata Database Storage Vault.
|
3640
|
+
|
3641
|
+
:param list[str] work_request_states: (optional)
|
3642
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
3643
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
3644
|
+
|
3645
|
+
:param dict operation_kwargs:
|
3646
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.create_exascale_db_storage_vault`
|
3647
|
+
|
3648
|
+
:param dict waiter_kwargs:
|
3649
|
+
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``
|
3650
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3651
|
+
"""
|
3652
|
+
operation_result = self.client.create_exascale_db_storage_vault(create_exascale_db_storage_vault_details, **operation_kwargs)
|
3653
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
3654
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
3655
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
3656
|
+
return operation_result
|
3657
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
3658
|
+
try:
|
3659
|
+
waiter_result = oci.wait_until(
|
3660
|
+
self._work_request_client,
|
3661
|
+
self._work_request_client.get_work_request(work_request_id),
|
3662
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
3663
|
+
**waiter_kwargs
|
3664
|
+
)
|
3665
|
+
return waiter_result
|
3666
|
+
except Exception as e:
|
3667
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3668
|
+
|
3669
|
+
def create_exascale_db_storage_vault_and_wait_for_state(self, create_exascale_db_storage_vault_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3670
|
+
"""
|
3671
|
+
Calls :py:func:`~oci.database.DatabaseClient.create_exascale_db_storage_vault` and waits for the :py:class:`~oci.database.models.ExascaleDbStorageVault` acted upon
|
3672
|
+
to enter the given state(s).
|
3673
|
+
|
3674
|
+
:param oci.database.models.CreateExascaleDbStorageVaultDetails create_exascale_db_storage_vault_details: (required)
|
3675
|
+
Request to create a Exadata Database Storage Vault.
|
3676
|
+
|
3677
|
+
:param list[str] wait_for_states:
|
3678
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.ExascaleDbStorageVault.lifecycle_state`
|
3679
|
+
|
3680
|
+
:param dict operation_kwargs:
|
3681
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.create_exascale_db_storage_vault`
|
3682
|
+
|
3683
|
+
:param dict waiter_kwargs:
|
3684
|
+
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``
|
3685
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3686
|
+
"""
|
3687
|
+
operation_result = self.client.create_exascale_db_storage_vault(create_exascale_db_storage_vault_details, **operation_kwargs)
|
3688
|
+
if not wait_for_states:
|
3689
|
+
return operation_result
|
3690
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
3691
|
+
exascale_db_storage_vault_id = operation_result.data.id
|
3692
|
+
|
3693
|
+
try:
|
3694
|
+
waiter_result = oci.wait_until(
|
3695
|
+
self.client,
|
3696
|
+
self.client.get_exascale_db_storage_vault(exascale_db_storage_vault_id), # noqa: F821
|
3697
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
3698
|
+
**waiter_kwargs
|
3699
|
+
)
|
3700
|
+
result_to_return = waiter_result
|
3701
|
+
|
3702
|
+
return result_to_return
|
3703
|
+
except (NameError, TypeError) as e:
|
3704
|
+
if not e.args:
|
3705
|
+
e.args = ('',)
|
3706
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
3707
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3708
|
+
except Exception as e:
|
3709
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3710
|
+
|
3431
3711
|
def create_external_backup_job_and_wait_for_work_request(self, create_external_backup_job_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3432
3712
|
"""
|
3433
3713
|
Calls :py:func:`~oci.database.DatabaseClient.create_external_backup_job` and waits for the oci.work_requests.models.WorkRequest
|
@@ -4913,6 +5193,82 @@ class DatabaseClientCompositeOperations(object):
|
|
4913
5193
|
except Exception as e:
|
4914
5194
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4915
5195
|
|
5196
|
+
def delete_exadb_vm_cluster_and_wait_for_work_request(self, exadb_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
5197
|
+
"""
|
5198
|
+
Calls :py:func:`~oci.database.DatabaseClient.delete_exadb_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
|
5199
|
+
to enter the given state(s).
|
5200
|
+
|
5201
|
+
:param str exadb_vm_cluster_id: (required)
|
5202
|
+
The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
|
5203
|
+
|
5204
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5205
|
+
|
5206
|
+
:param list[str] work_request_states: (optional)
|
5207
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
5208
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
5209
|
+
|
5210
|
+
:param dict operation_kwargs:
|
5211
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.delete_exadb_vm_cluster`
|
5212
|
+
|
5213
|
+
:param dict waiter_kwargs:
|
5214
|
+
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``
|
5215
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
5216
|
+
"""
|
5217
|
+
operation_result = self.client.delete_exadb_vm_cluster(exadb_vm_cluster_id, **operation_kwargs)
|
5218
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
5219
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
5220
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
5221
|
+
return operation_result
|
5222
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
5223
|
+
try:
|
5224
|
+
waiter_result = oci.wait_until(
|
5225
|
+
self._work_request_client,
|
5226
|
+
self._work_request_client.get_work_request(work_request_id),
|
5227
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
5228
|
+
**waiter_kwargs
|
5229
|
+
)
|
5230
|
+
return waiter_result
|
5231
|
+
except Exception as e:
|
5232
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
5233
|
+
|
5234
|
+
def delete_exascale_db_storage_vault_and_wait_for_work_request(self, exascale_db_storage_vault_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
5235
|
+
"""
|
5236
|
+
Calls :py:func:`~oci.database.DatabaseClient.delete_exascale_db_storage_vault` and waits for the oci.work_requests.models.WorkRequest
|
5237
|
+
to enter the given state(s).
|
5238
|
+
|
5239
|
+
:param str exascale_db_storage_vault_id: (required)
|
5240
|
+
The Exadata Database Storage Vault `OCID`__.
|
5241
|
+
|
5242
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5243
|
+
|
5244
|
+
:param list[str] work_request_states: (optional)
|
5245
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
5246
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
5247
|
+
|
5248
|
+
:param dict operation_kwargs:
|
5249
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.delete_exascale_db_storage_vault`
|
5250
|
+
|
5251
|
+
:param dict waiter_kwargs:
|
5252
|
+
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``
|
5253
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
5254
|
+
"""
|
5255
|
+
operation_result = self.client.delete_exascale_db_storage_vault(exascale_db_storage_vault_id, **operation_kwargs)
|
5256
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
5257
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
5258
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
5259
|
+
return operation_result
|
5260
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
5261
|
+
try:
|
5262
|
+
waiter_result = oci.wait_until(
|
5263
|
+
self._work_request_client,
|
5264
|
+
self._work_request_client.get_work_request(work_request_id),
|
5265
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
5266
|
+
**waiter_kwargs
|
5267
|
+
)
|
5268
|
+
return waiter_result
|
5269
|
+
except Exception as e:
|
5270
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
5271
|
+
|
4916
5272
|
def delete_external_container_database_and_wait_for_work_request(self, external_container_database_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4917
5273
|
"""
|
4918
5274
|
Calls :py:func:`~oci.database.DatabaseClient.delete_external_container_database` and waits for the oci.work_requests.models.WorkRequest
|
@@ -7764,6 +8120,94 @@ class DatabaseClientCompositeOperations(object):
|
|
7764
8120
|
except Exception as e:
|
7765
8121
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
7766
8122
|
|
8123
|
+
def remove_virtual_machine_from_exadb_vm_cluster_and_wait_for_work_request(self, remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
8124
|
+
"""
|
8125
|
+
Calls :py:func:`~oci.database.DatabaseClient.remove_virtual_machine_from_exadb_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
|
8126
|
+
to enter the given state(s).
|
8127
|
+
|
8128
|
+
:param oci.database.models.RemoveVirtualMachineFromExadbVmClusterDetails remove_virtual_machine_from_exadb_vm_cluster_details: (required)
|
8129
|
+
Request to remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure.
|
8130
|
+
|
8131
|
+
:param str exadb_vm_cluster_id: (required)
|
8132
|
+
The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
|
8133
|
+
|
8134
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
8135
|
+
|
8136
|
+
:param list[str] work_request_states: (optional)
|
8137
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
8138
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
8139
|
+
|
8140
|
+
:param dict operation_kwargs:
|
8141
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.remove_virtual_machine_from_exadb_vm_cluster`
|
8142
|
+
|
8143
|
+
:param dict waiter_kwargs:
|
8144
|
+
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``
|
8145
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
8146
|
+
"""
|
8147
|
+
operation_result = self.client.remove_virtual_machine_from_exadb_vm_cluster(remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, **operation_kwargs)
|
8148
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
8149
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
8150
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
8151
|
+
return operation_result
|
8152
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
8153
|
+
try:
|
8154
|
+
waiter_result = oci.wait_until(
|
8155
|
+
self._work_request_client,
|
8156
|
+
self._work_request_client.get_work_request(work_request_id),
|
8157
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
8158
|
+
**waiter_kwargs
|
8159
|
+
)
|
8160
|
+
return waiter_result
|
8161
|
+
except Exception as e:
|
8162
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
8163
|
+
|
8164
|
+
def remove_virtual_machine_from_exadb_vm_cluster_and_wait_for_state(self, remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
8165
|
+
"""
|
8166
|
+
Calls :py:func:`~oci.database.DatabaseClient.remove_virtual_machine_from_exadb_vm_cluster` and waits for the :py:class:`~oci.database.models.ExadbVmCluster` acted upon
|
8167
|
+
to enter the given state(s).
|
8168
|
+
|
8169
|
+
:param oci.database.models.RemoveVirtualMachineFromExadbVmClusterDetails remove_virtual_machine_from_exadb_vm_cluster_details: (required)
|
8170
|
+
Request to remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure.
|
8171
|
+
|
8172
|
+
:param str exadb_vm_cluster_id: (required)
|
8173
|
+
The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
|
8174
|
+
|
8175
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
8176
|
+
|
8177
|
+
:param list[str] wait_for_states:
|
8178
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.ExadbVmCluster.lifecycle_state`
|
8179
|
+
|
8180
|
+
:param dict operation_kwargs:
|
8181
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.remove_virtual_machine_from_exadb_vm_cluster`
|
8182
|
+
|
8183
|
+
:param dict waiter_kwargs:
|
8184
|
+
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``
|
8185
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
8186
|
+
"""
|
8187
|
+
operation_result = self.client.remove_virtual_machine_from_exadb_vm_cluster(remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, **operation_kwargs)
|
8188
|
+
if not wait_for_states:
|
8189
|
+
return operation_result
|
8190
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
8191
|
+
exadb_vm_cluster_id = operation_result.data.id
|
8192
|
+
|
8193
|
+
try:
|
8194
|
+
waiter_result = oci.wait_until(
|
8195
|
+
self.client,
|
8196
|
+
self.client.get_exadb_vm_cluster(exadb_vm_cluster_id), # noqa: F821
|
8197
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
8198
|
+
**waiter_kwargs
|
8199
|
+
)
|
8200
|
+
result_to_return = waiter_result
|
8201
|
+
|
8202
|
+
return result_to_return
|
8203
|
+
except (NameError, TypeError) as e:
|
8204
|
+
if not e.args:
|
8205
|
+
e.args = ('',)
|
8206
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
8207
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
8208
|
+
except Exception as e:
|
8209
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
8210
|
+
|
7767
8211
|
def remove_virtual_machine_from_vm_cluster_and_wait_for_work_request(self, remove_virtual_machine_from_vm_cluster_details, vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
7768
8212
|
"""
|
7769
8213
|
Calls :py:func:`~oci.database.DatabaseClient.remove_virtual_machine_from_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
|
@@ -11524,6 +11968,182 @@ class DatabaseClientCompositeOperations(object):
|
|
11524
11968
|
except Exception as e:
|
11525
11969
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
11526
11970
|
|
11971
|
+
def update_exadb_vm_cluster_and_wait_for_work_request(self, exadb_vm_cluster_id, update_exadb_vm_cluster_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
11972
|
+
"""
|
11973
|
+
Calls :py:func:`~oci.database.DatabaseClient.update_exadb_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
|
11974
|
+
to enter the given state(s).
|
11975
|
+
|
11976
|
+
:param str exadb_vm_cluster_id: (required)
|
11977
|
+
The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
|
11978
|
+
|
11979
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
11980
|
+
|
11981
|
+
:param oci.database.models.UpdateExadbVmClusterDetails update_exadb_vm_cluster_details: (required)
|
11982
|
+
Request to update the attributes of a Exadata VM cluster on Exascale Infrastructure.
|
11983
|
+
|
11984
|
+
:param list[str] work_request_states: (optional)
|
11985
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
11986
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
11987
|
+
|
11988
|
+
:param dict operation_kwargs:
|
11989
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.update_exadb_vm_cluster`
|
11990
|
+
|
11991
|
+
:param dict waiter_kwargs:
|
11992
|
+
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``
|
11993
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
11994
|
+
"""
|
11995
|
+
operation_result = self.client.update_exadb_vm_cluster(exadb_vm_cluster_id, update_exadb_vm_cluster_details, **operation_kwargs)
|
11996
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
11997
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
11998
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
11999
|
+
return operation_result
|
12000
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
12001
|
+
try:
|
12002
|
+
waiter_result = oci.wait_until(
|
12003
|
+
self._work_request_client,
|
12004
|
+
self._work_request_client.get_work_request(work_request_id),
|
12005
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
12006
|
+
**waiter_kwargs
|
12007
|
+
)
|
12008
|
+
return waiter_result
|
12009
|
+
except Exception as e:
|
12010
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
12011
|
+
|
12012
|
+
def update_exadb_vm_cluster_and_wait_for_state(self, exadb_vm_cluster_id, update_exadb_vm_cluster_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
12013
|
+
"""
|
12014
|
+
Calls :py:func:`~oci.database.DatabaseClient.update_exadb_vm_cluster` and waits for the :py:class:`~oci.database.models.ExadbVmCluster` acted upon
|
12015
|
+
to enter the given state(s).
|
12016
|
+
|
12017
|
+
:param str exadb_vm_cluster_id: (required)
|
12018
|
+
The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
|
12019
|
+
|
12020
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
12021
|
+
|
12022
|
+
:param oci.database.models.UpdateExadbVmClusterDetails update_exadb_vm_cluster_details: (required)
|
12023
|
+
Request to update the attributes of a Exadata VM cluster on Exascale Infrastructure.
|
12024
|
+
|
12025
|
+
:param list[str] wait_for_states:
|
12026
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.ExadbVmCluster.lifecycle_state`
|
12027
|
+
|
12028
|
+
:param dict operation_kwargs:
|
12029
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.update_exadb_vm_cluster`
|
12030
|
+
|
12031
|
+
:param dict waiter_kwargs:
|
12032
|
+
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``
|
12033
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
12034
|
+
"""
|
12035
|
+
operation_result = self.client.update_exadb_vm_cluster(exadb_vm_cluster_id, update_exadb_vm_cluster_details, **operation_kwargs)
|
12036
|
+
if not wait_for_states:
|
12037
|
+
return operation_result
|
12038
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
12039
|
+
exadb_vm_cluster_id = operation_result.data.id
|
12040
|
+
|
12041
|
+
try:
|
12042
|
+
waiter_result = oci.wait_until(
|
12043
|
+
self.client,
|
12044
|
+
self.client.get_exadb_vm_cluster(exadb_vm_cluster_id), # noqa: F821
|
12045
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
12046
|
+
**waiter_kwargs
|
12047
|
+
)
|
12048
|
+
result_to_return = waiter_result
|
12049
|
+
|
12050
|
+
return result_to_return
|
12051
|
+
except (NameError, TypeError) as e:
|
12052
|
+
if not e.args:
|
12053
|
+
e.args = ('',)
|
12054
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
12055
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
12056
|
+
except Exception as e:
|
12057
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
12058
|
+
|
12059
|
+
def update_exascale_db_storage_vault_and_wait_for_work_request(self, exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
12060
|
+
"""
|
12061
|
+
Calls :py:func:`~oci.database.DatabaseClient.update_exascale_db_storage_vault` and waits for the oci.work_requests.models.WorkRequest
|
12062
|
+
to enter the given state(s).
|
12063
|
+
|
12064
|
+
:param str exascale_db_storage_vault_id: (required)
|
12065
|
+
The Exadata Database Storage Vault `OCID`__.
|
12066
|
+
|
12067
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
12068
|
+
|
12069
|
+
:param oci.database.models.UpdateExascaleDbStorageVaultDetails update_exascale_db_storage_vault_details: (required)
|
12070
|
+
Request to update the attributes of a Exadata Database Storage Vault.
|
12071
|
+
|
12072
|
+
:param list[str] work_request_states: (optional)
|
12073
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
12074
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
12075
|
+
|
12076
|
+
:param dict operation_kwargs:
|
12077
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.update_exascale_db_storage_vault`
|
12078
|
+
|
12079
|
+
:param dict waiter_kwargs:
|
12080
|
+
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``
|
12081
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
12082
|
+
"""
|
12083
|
+
operation_result = self.client.update_exascale_db_storage_vault(exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, **operation_kwargs)
|
12084
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
12085
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
12086
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
12087
|
+
return operation_result
|
12088
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
12089
|
+
try:
|
12090
|
+
waiter_result = oci.wait_until(
|
12091
|
+
self._work_request_client,
|
12092
|
+
self._work_request_client.get_work_request(work_request_id),
|
12093
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
12094
|
+
**waiter_kwargs
|
12095
|
+
)
|
12096
|
+
return waiter_result
|
12097
|
+
except Exception as e:
|
12098
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
12099
|
+
|
12100
|
+
def update_exascale_db_storage_vault_and_wait_for_state(self, exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
12101
|
+
"""
|
12102
|
+
Calls :py:func:`~oci.database.DatabaseClient.update_exascale_db_storage_vault` and waits for the :py:class:`~oci.database.models.ExascaleDbStorageVault` acted upon
|
12103
|
+
to enter the given state(s).
|
12104
|
+
|
12105
|
+
:param str exascale_db_storage_vault_id: (required)
|
12106
|
+
The Exadata Database Storage Vault `OCID`__.
|
12107
|
+
|
12108
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
12109
|
+
|
12110
|
+
:param oci.database.models.UpdateExascaleDbStorageVaultDetails update_exascale_db_storage_vault_details: (required)
|
12111
|
+
Request to update the attributes of a Exadata Database Storage Vault.
|
12112
|
+
|
12113
|
+
:param list[str] wait_for_states:
|
12114
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.ExascaleDbStorageVault.lifecycle_state`
|
12115
|
+
|
12116
|
+
:param dict operation_kwargs:
|
12117
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.update_exascale_db_storage_vault`
|
12118
|
+
|
12119
|
+
:param dict waiter_kwargs:
|
12120
|
+
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``
|
12121
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
12122
|
+
"""
|
12123
|
+
operation_result = self.client.update_exascale_db_storage_vault(exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, **operation_kwargs)
|
12124
|
+
if not wait_for_states:
|
12125
|
+
return operation_result
|
12126
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
12127
|
+
exascale_db_storage_vault_id = operation_result.data.id
|
12128
|
+
|
12129
|
+
try:
|
12130
|
+
waiter_result = oci.wait_until(
|
12131
|
+
self.client,
|
12132
|
+
self.client.get_exascale_db_storage_vault(exascale_db_storage_vault_id), # noqa: F821
|
12133
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
12134
|
+
**waiter_kwargs
|
12135
|
+
)
|
12136
|
+
result_to_return = waiter_result
|
12137
|
+
|
12138
|
+
return result_to_return
|
12139
|
+
except (NameError, TypeError) as e:
|
12140
|
+
if not e.args:
|
12141
|
+
e.args = ('',)
|
12142
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
12143
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
12144
|
+
except Exception as e:
|
12145
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
12146
|
+
|
11527
12147
|
def update_external_container_database_and_wait_for_work_request(self, external_container_database_id, update_external_container_database_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
11528
12148
|
"""
|
11529
12149
|
Calls :py:func:`~oci.database.DatabaseClient.update_external_container_database` and waits for the oci.work_requests.models.WorkRequest
|