oci 2.101.0__py3-none-any.whl → 2.103.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/access_governance_cp/access_governance_cp_client_composite_operations.py +9 -1
- oci/adm/application_dependency_management_client.py +18 -18
- oci/adm/application_dependency_management_client_composite_operations.py +9 -1
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.py +18 -2
- oci/ai_document/ai_service_document_client.py +3 -3
- oci/ai_language/ai_service_language_client.py +35 -35
- oci/ai_speech/ai_service_speech_client.py +9 -9
- 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/announcement_subscription_client_composite_operations.py +9 -1
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +30 -30
- oci/artifacts/artifacts_client_composite_operations.py +36 -4
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/instance_principals_security_token_signer.py +9 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +40 -40
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/budget/budget_client_composite_operations.py +9 -1
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/certificates_management/certificates_management_client_composite_operations.py +9 -1
- oci/cims/incident_client.py +7 -7
- 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/discovery_client_composite_operations.py +9 -1
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/inventory_client_composite_operations.py +9 -1
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +27 -3
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_guard/cloud_guard_client_composite_operations.py +63 -7
- oci/cloud_migrations/migration_client.py +43 -43
- 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 +36 -36
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/blockstorage_client_composite_operations.py +54 -6
- oci/core/compute_client.py +89 -89
- oci/core/compute_client_composite_operations.py +72 -8
- oci/core/compute_management_client.py +32 -32
- oci/core/compute_management_client_composite_operations.py +9 -1
- oci/core/virtual_network_client.py +241 -241
- oci/core/virtual_network_client_composite_operations.py +216 -24
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_client_composite_operations.py +9 -1
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/dashboard_service/dashboard_group_client_composite_operations.py +9 -1
- oci/data_catalog/data_catalog_client.py +139 -139
- oci/data_flow/data_flow_client.py +28 -28
- oci/data_flow/data_flow_client_composite_operations.py +18 -2
- oci/data_integration/data_integration_client.py +152 -152
- oci/data_labeling_service/data_labeling_management_client.py +16 -16
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_labeling_service_dataplane/data_labeling_client_composite_operations.py +18 -2
- oci/data_safe/data_safe_client.py +214 -214
- oci/data_safe/data_safe_client_composite_operations.py +18 -2
- oci/data_science/data_science_client.py +85 -85
- oci/data_science/data_science_client_composite_operations.py +27 -3
- oci/database/database_client.py +428 -304
- oci/database/database_client_composite_operations.py +18 -2
- oci/database/models/__init__.py +4 -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 +6 -2
- oci/database/models/autonomous_database_summary.py +6 -2
- oci/database/models/autonomous_virtual_machine.py +37 -2
- oci/database/models/autonomous_virtual_machine_summary.py +37 -2
- oci/database/models/autonomous_vm_cluster.py +10 -6
- oci/database/models/autonomous_vm_cluster_resource_details.py +105 -0
- oci/database/models/autonomous_vm_cluster_summary.py +10 -6
- oci/database/models/cloud_autonomous_vm_cluster.py +43 -4
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +43 -4
- oci/database/models/create_autonomous_container_database_details.py +2 -2
- oci/database/models/create_autonomous_vm_cluster_details.py +6 -2
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -2
- oci/database/models/exadata_infrastructure.py +31 -0
- oci/database/models/exadata_infrastructure_summary.py +31 -0
- oci/database/models/exadata_infrastructure_un_allocated_resources.py +260 -0
- oci/database/models/rotate_autonomous_vm_cluster_ords_certs_details.py +2 -2
- oci/database/models/rotate_autonomous_vm_cluster_ssl_certs_details.py +3 -3
- oci/database/models/rotate_cloud_autonomous_vm_cluster_ords_certs_details.py +2 -2
- oci/database/models/rotate_cloud_autonomous_vm_cluster_ssl_certs_details.py +2 -2
- oci/database/models/vm_cluster.py +31 -0
- oci/database/models/vm_cluster_summary.py +31 -0
- oci/database_management/db_management_client.py +157 -157
- oci/database_management/db_management_client_composite_operations.py +45 -5
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/sql_tuning_client.py +10 -10
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/database_migration_client_composite_operations.py +9 -1
- oci/database_tools/database_tools_client.py +19 -19
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +9 -1
- oci/dns/dns_client.py +197 -51
- oci/dns/dns_client_composite_operations.py +45 -5
- oci/dns/models/__init__.py +2 -0
- oci/dns/models/create_zone_details.py +35 -2
- oci/dns/models/external_downstream.py +137 -0
- oci/dns/models/update_zone_details.py +35 -2
- oci/dns/models/zone.py +33 -0
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/appliance_export_job_client_composite_operations.py +9 -1
- 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_job_client_composite_operations.py +9 -1
- 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 +25 -25
- oci/email/email_client_composite_operations.py +9 -1
- oci/events/events_client.py +6 -6
- oci/events/events_client_composite_operations.py +9 -1
- oci/file_storage/file_storage_client.py +35 -35
- oci/file_storage/file_storage_client_composite_operations.py +54 -6
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/functions/functions_management_client_composite_operations.py +18 -2
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +357 -36
- oci/fusion_apps/fusion_applications_client_composite_operations.py +90 -0
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/__init__.py +2 -12
- oci/fusion_apps/models/create_service_attachment_details.py +45 -52
- oci/fusion_apps/models/service_attachment.py +0 -31
- oci/fusion_apps/models/verify_service_attachment_details.py +101 -0
- 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/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +53 -53
- 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/identity_client_composite_operations.py +63 -7
- oci/identity_data_plane/dataplane_client.py +1 -1
- oci/identity_domains/identity_domains_client.py +134 -134
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +44 -44
- oci/key_management/kms_crypto_client.py +6 -6
- 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/license_manager/license_manager_client_composite_operations.py +18 -2
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/limits/quotas_client_composite_operations.py +9 -1
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +22 -22
- oci/lockbox/lockbox_client_composite_operations.py +18 -2
- oci/log_analytics/log_analytics_client.py +184 -184
- oci/logging/logging_management_client.py +62 -300
- oci/logging/logging_management_client_composite_operations.py +12 -4
- oci/logging/models/__init__.py +2 -6
- oci/logging/models/archiving.py +2 -2
- oci/logging/models/category.py +2 -2
- oci/logging/models/change_log_saved_search_compartment_details.py +1 -1
- oci/logging/models/create_log_details.py +2 -2
- oci/logging/models/create_log_saved_search_details.py +1 -1
- oci/logging/models/log.py +2 -2
- oci/logging/models/log_saved_search.py +1 -1
- oci/logging/models/log_saved_search_summary.py +1 -1
- oci/logging/models/log_summary.py +2 -2
- oci/logging/models/parameter.py +77 -5
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_cri_parser.py +160 -0
- oci/logging/models/unified_agent_csv_parser.py +10 -2
- oci/logging/models/unified_agent_grok_parser.py +14 -2
- oci/logging/models/unified_agent_logging_configuration.py +6 -2
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +18 -2
- oci/logging/models/unified_agent_multiline_parser.py +10 -2
- oci/logging/models/unified_agent_none_parser.py +5 -1
- oci/logging/models/unified_agent_parser.py +51 -3
- oci/logging/models/unified_agent_regex_parser.py +10 -2
- oci/logging/models/unified_agent_syslog_parser.py +25 -1
- oci/logging/models/unified_agent_tail_log_source.py +5 -1
- oci/logging/models/unified_agent_tsv_parser.py +10 -2
- oci/logging/models/unified_agent_windows_event_source.py +5 -1
- oci/logging/models/unified_json_parser.py +9 -1
- oci/logging/models/update_log_details.py +2 -2
- oci/logging/models/update_log_saved_search_details.py +1 -1
- oci/logging/models/work_request.py +2 -2
- oci/logging/models/work_request_summary.py +2 -2
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_agent/management_agent_client_composite_operations.py +18 -2
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/management_dashboard/dashx_apis_client_composite_operations.py +18 -2
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +25 -25
- oci/marketplace/marketplace_client_composite_operations.py +9 -1
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_services_client_composite_operations.py +63 -7
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/monitoring/monitoring_client_composite_operations.py +9 -1
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +26 -26
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/mysqlaas_client_composite_operations.py +9 -1
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +17 -17
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +22 -22
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/ocvp/esxi_host_client.py +5 -5
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- 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/ons/notification_data_plane_client_composite_operations.py +9 -1
- oci/opa/opa_instance_client.py +11 -11
- 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 +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_assignment_client_composite_operations.py +9 -1
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/operator_access_control/operator_control_client_composite_operations.py +9 -1
- oci/opsi/operations_insights_client.py +151 -151
- oci/optimizer/optimizer_client.py +26 -26
- oci/optimizer/optimizer_client_composite_operations.py +9 -1
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management/os_management_client_composite_operations.py +27 -3
- 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/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +7 -7
- oci/recovery/database_recovery_client.py +23 -23
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_manager/resource_manager_client_composite_operations.py +45 -5
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_cluster_client.py +7 -7
- oci/rover/rover_cluster_client_composite_operations.py +9 -1
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_entitlement_client_composite_operations.py +9 -1
- oci/rover/rover_node_client.py +10 -10
- oci/rover/rover_node_client_composite_operations.py +9 -1
- oci/rover/shape_client.py +1 -1
- 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_catalog/service_catalog_client_composite_operations.py +9 -1
- 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 +22 -22
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +9 -1
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_admin_client_composite_operations.py +27 -3
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py +9 -1
- 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 +9 -9
- oci/tenant_manager_control_plane/subscription_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/rewards_client.py +6 -6
- oci/usage_api/usageapi_client.py +19 -19
- oci/usage_api/usageapi_client_composite_operations.py +9 -1
- oci/vault/vaults_client.py +11 -11
- 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/vn_monitoring/vn_monitoring_client_composite_operations.py +9 -1
- 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/waas/waas_client_composite_operations.py +27 -3
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/RECORD +341 -336
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
@@ -617,11 +617,19 @@ class DbManagementClientCompositeOperations(object):
|
|
617
617
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
618
618
|
|
619
619
|
try:
|
620
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
621
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_external_db_system_connector, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
622
|
+
else:
|
623
|
+
"""
|
624
|
+
If the user does not send in this value, we set it to True by default.
|
625
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
626
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
627
|
+
"""
|
628
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
620
629
|
waiter_result = oci.wait_until(
|
621
630
|
self.client,
|
622
631
|
initial_get_result, # noqa: F821
|
623
632
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
624
|
-
succeed_on_not_found=True,
|
625
633
|
**waiter_kwargs
|
626
634
|
)
|
627
635
|
result_to_return = waiter_result
|
@@ -671,11 +679,19 @@ class DbManagementClientCompositeOperations(object):
|
|
671
679
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
672
680
|
|
673
681
|
try:
|
682
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
683
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_external_db_system_discovery, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
684
|
+
else:
|
685
|
+
"""
|
686
|
+
If the user does not send in this value, we set it to True by default.
|
687
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
688
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
689
|
+
"""
|
690
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
674
691
|
waiter_result = oci.wait_until(
|
675
692
|
self.client,
|
676
693
|
initial_get_result, # noqa: F821
|
677
694
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
678
|
-
succeed_on_not_found=True,
|
679
695
|
**waiter_kwargs
|
680
696
|
)
|
681
697
|
result_to_return = waiter_result
|
@@ -773,11 +789,19 @@ class DbManagementClientCompositeOperations(object):
|
|
773
789
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
774
790
|
|
775
791
|
try:
|
792
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
793
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_external_exadata_storage_connector, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
794
|
+
else:
|
795
|
+
"""
|
796
|
+
If the user does not send in this value, we set it to True by default.
|
797
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
798
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
799
|
+
"""
|
800
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
776
801
|
waiter_result = oci.wait_until(
|
777
802
|
self.client,
|
778
803
|
initial_get_result, # noqa: F821
|
779
804
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
780
|
-
succeed_on_not_found=True,
|
781
805
|
**waiter_kwargs
|
782
806
|
)
|
783
807
|
result_to_return = waiter_result
|
@@ -825,11 +849,19 @@ class DbManagementClientCompositeOperations(object):
|
|
825
849
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
826
850
|
|
827
851
|
try:
|
852
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
853
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_job, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
854
|
+
else:
|
855
|
+
"""
|
856
|
+
If the user does not send in this value, we set it to True by default.
|
857
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
858
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
859
|
+
"""
|
860
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
828
861
|
waiter_result = oci.wait_until(
|
829
862
|
self.client,
|
830
863
|
initial_get_result, # noqa: F821
|
831
864
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
832
|
-
succeed_on_not_found=True,
|
833
865
|
**waiter_kwargs
|
834
866
|
)
|
835
867
|
result_to_return = waiter_result
|
@@ -879,11 +911,19 @@ class DbManagementClientCompositeOperations(object):
|
|
879
911
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
880
912
|
|
881
913
|
try:
|
914
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
915
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_managed_database_group, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
916
|
+
else:
|
917
|
+
"""
|
918
|
+
If the user does not send in this value, we set it to True by default.
|
919
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
920
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
921
|
+
"""
|
922
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
882
923
|
waiter_result = oci.wait_until(
|
883
924
|
self.client,
|
884
925
|
initial_get_result, # noqa: F821
|
885
926
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
886
|
-
succeed_on_not_found=True,
|
887
927
|
**waiter_kwargs
|
888
928
|
)
|
889
929
|
result_to_return = waiter_result
|
@@ -179,7 +179,7 @@ class DiagnosabilityClient(object):
|
|
179
179
|
:rtype: :class:`~oci.response.Response`
|
180
180
|
|
181
181
|
:example:
|
182
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
182
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/list_alert_logs.py.html>`__ to see an example of how to use list_alert_logs API.
|
183
183
|
"""
|
184
184
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
185
185
|
required_arguments = ['managedDatabaseId']
|
@@ -370,7 +370,7 @@ class DiagnosabilityClient(object):
|
|
370
370
|
:rtype: :class:`~oci.response.Response`
|
371
371
|
|
372
372
|
:example:
|
373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/list_attention_logs.py.html>`__ to see an example of how to use list_attention_logs API.
|
374
374
|
"""
|
375
375
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
376
376
|
required_arguments = ['managedDatabaseId']
|
@@ -556,7 +556,7 @@ class DiagnosabilityClient(object):
|
|
556
556
|
:rtype: :class:`~oci.response.Response`
|
557
557
|
|
558
558
|
:example:
|
559
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
559
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/summarize_alert_log_counts.py.html>`__ to see an example of how to use summarize_alert_log_counts API.
|
560
560
|
"""
|
561
561
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
562
562
|
required_arguments = ['managedDatabaseId']
|
@@ -733,7 +733,7 @@ class DiagnosabilityClient(object):
|
|
733
733
|
:rtype: :class:`~oci.response.Response`
|
734
734
|
|
735
735
|
:example:
|
736
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
736
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/summarize_attention_log_counts.py.html>`__ to see an example of how to use summarize_attention_log_counts API.
|
737
737
|
"""
|
738
738
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
739
739
|
required_arguments = ['managedDatabaseId']
|
@@ -150,7 +150,7 @@ class SqlTuningClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/clone_sql_tuning_task.py.html>`__ to see an example of how to use clone_sql_tuning_task API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = ['managedDatabaseId']
|
@@ -263,7 +263,7 @@ class SqlTuningClient(object):
|
|
263
263
|
:rtype: :class:`~oci.response.Response`
|
264
264
|
|
265
265
|
:example:
|
266
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
266
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/drop_sql_tuning_task.py.html>`__ to see an example of how to use drop_sql_tuning_task API.
|
267
267
|
"""
|
268
268
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
269
269
|
required_arguments = ['managedDatabaseId']
|
@@ -381,7 +381,7 @@ class SqlTuningClient(object):
|
|
381
381
|
:rtype: :class:`~oci.response.Response`
|
382
382
|
|
383
383
|
:example:
|
384
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
384
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/get_execution_plan_stats_comparision.py.html>`__ to see an example of how to use get_execution_plan_stats_comparision API.
|
385
385
|
"""
|
386
386
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
387
387
|
required_arguments = ['managedDatabaseId', 'sqlTuningAdvisorTaskId', 'sqlObjectId', 'executionId']
|
@@ -503,7 +503,7 @@ class SqlTuningClient(object):
|
|
503
503
|
:rtype: :class:`~oci.response.Response`
|
504
504
|
|
505
505
|
:example:
|
506
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
506
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/get_sql_execution_plan.py.html>`__ to see an example of how to use get_sql_execution_plan API.
|
507
507
|
"""
|
508
508
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
509
509
|
required_arguments = ['managedDatabaseId', 'sqlTuningAdvisorTaskId', 'sqlObjectId', 'attribute']
|
@@ -638,7 +638,7 @@ class SqlTuningClient(object):
|
|
638
638
|
:rtype: :class:`~oci.response.Response`
|
639
639
|
|
640
640
|
:example:
|
641
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
641
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/get_sql_tuning_advisor_task_summary_report.py.html>`__ to see an example of how to use get_sql_tuning_advisor_task_summary_report API.
|
642
642
|
"""
|
643
643
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
644
644
|
required_arguments = ['managedDatabaseId', 'sqlTuningAdvisorTaskId']
|
@@ -805,7 +805,7 @@ class SqlTuningClient(object):
|
|
805
805
|
:rtype: :class:`~oci.response.Response`
|
806
806
|
|
807
807
|
:example:
|
808
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
808
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/list_sql_tuning_advisor_task_findings.py.html>`__ to see an example of how to use list_sql_tuning_advisor_task_findings API.
|
809
809
|
"""
|
810
810
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
811
811
|
required_arguments = ['managedDatabaseId', 'sqlTuningAdvisorTaskId']
|
@@ -991,7 +991,7 @@ class SqlTuningClient(object):
|
|
991
991
|
:rtype: :class:`~oci.response.Response`
|
992
992
|
|
993
993
|
:example:
|
994
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
994
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/list_sql_tuning_advisor_task_recommendations.py.html>`__ to see an example of how to use list_sql_tuning_advisor_task_recommendations API.
|
995
995
|
"""
|
996
996
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
997
997
|
required_arguments = ['managedDatabaseId', 'sqlTuningAdvisorTaskId', 'sqlObjectId', 'executionId']
|
@@ -1151,7 +1151,7 @@ class SqlTuningClient(object):
|
|
1151
1151
|
:rtype: :class:`~oci.response.Response`
|
1152
1152
|
|
1153
1153
|
:example:
|
1154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1154
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/list_sql_tuning_advisor_tasks.py.html>`__ to see an example of how to use list_sql_tuning_advisor_tasks API.
|
1155
1155
|
"""
|
1156
1156
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1157
1157
|
required_arguments = ['managedDatabaseId']
|
@@ -1315,7 +1315,7 @@ class SqlTuningClient(object):
|
|
1315
1315
|
:rtype: :class:`~oci.response.Response`
|
1316
1316
|
|
1317
1317
|
:example:
|
1318
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1318
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/list_sql_tuning_sets.py.html>`__ to see an example of how to use list_sql_tuning_sets API.
|
1319
1319
|
"""
|
1320
1320
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1321
1321
|
required_arguments = ['managedDatabaseId']
|
@@ -1455,7 +1455,7 @@ class SqlTuningClient(object):
|
|
1455
1455
|
:rtype: :class:`~oci.response.Response`
|
1456
1456
|
|
1457
1457
|
:example:
|
1458
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1458
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemanagement/start_sql_tuning_task.py.html>`__ to see an example of how to use start_sql_tuning_task API.
|
1459
1459
|
"""
|
1460
1460
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1461
1461
|
required_arguments = ['managedDatabaseId']
|
@@ -151,7 +151,7 @@ class DatabaseMigrationClient(object):
|
|
151
151
|
:rtype: :class:`~oci.response.Response`
|
152
152
|
|
153
153
|
:example:
|
154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
154
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/abort_job.py.html>`__ to see an example of how to use abort_job API.
|
155
155
|
"""
|
156
156
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
157
157
|
required_arguments = ['jobId']
|
@@ -265,7 +265,7 @@ class DatabaseMigrationClient(object):
|
|
265
265
|
:rtype: :class:`~oci.response.Response`
|
266
266
|
|
267
267
|
:example:
|
268
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
268
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/add_migration_objects.py.html>`__ to see an example of how to use add_migration_objects API.
|
269
269
|
"""
|
270
270
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
271
271
|
required_arguments = ['migrationId']
|
@@ -383,7 +383,7 @@ class DatabaseMigrationClient(object):
|
|
383
383
|
:rtype: :class:`~oci.response.Response`
|
384
384
|
|
385
385
|
:example:
|
386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
386
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/change_agent_compartment.py.html>`__ to see an example of how to use change_agent_compartment API.
|
387
387
|
"""
|
388
388
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
389
389
|
required_arguments = ['agentId']
|
@@ -504,7 +504,7 @@ class DatabaseMigrationClient(object):
|
|
504
504
|
:rtype: :class:`~oci.response.Response`
|
505
505
|
|
506
506
|
:example:
|
507
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
507
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/change_connection_compartment.py.html>`__ to see an example of how to use change_connection_compartment API.
|
508
508
|
"""
|
509
509
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
510
510
|
required_arguments = ['connectionId']
|
@@ -625,7 +625,7 @@ class DatabaseMigrationClient(object):
|
|
625
625
|
:rtype: :class:`~oci.response.Response`
|
626
626
|
|
627
627
|
:example:
|
628
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
628
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/change_migration_compartment.py.html>`__ to see an example of how to use change_migration_compartment API.
|
629
629
|
"""
|
630
630
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
631
631
|
required_arguments = ['migrationId']
|
@@ -746,7 +746,7 @@ class DatabaseMigrationClient(object):
|
|
746
746
|
:rtype: :class:`~oci.response.Response`
|
747
747
|
|
748
748
|
:example:
|
749
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
749
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/clone_migration.py.html>`__ to see an example of how to use clone_migration API.
|
750
750
|
"""
|
751
751
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
752
752
|
required_arguments = ['migrationId']
|
@@ -866,7 +866,7 @@ class DatabaseMigrationClient(object):
|
|
866
866
|
:rtype: :class:`~oci.response.Response`
|
867
867
|
|
868
868
|
:example:
|
869
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
869
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/connection_diagnostics.py.html>`__ to see an example of how to use connection_diagnostics API.
|
870
870
|
"""
|
871
871
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
872
872
|
required_arguments = ['connectionId']
|
@@ -978,7 +978,7 @@ class DatabaseMigrationClient(object):
|
|
978
978
|
:rtype: :class:`~oci.response.Response`
|
979
979
|
|
980
980
|
:example:
|
981
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
981
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/create_connection.py.html>`__ to see an example of how to use create_connection API.
|
982
982
|
"""
|
983
983
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
984
984
|
required_arguments = []
|
@@ -1079,7 +1079,7 @@ class DatabaseMigrationClient(object):
|
|
1079
1079
|
:rtype: :class:`~oci.response.Response`
|
1080
1080
|
|
1081
1081
|
:example:
|
1082
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1082
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/create_migration.py.html>`__ to see an example of how to use create_migration API.
|
1083
1083
|
"""
|
1084
1084
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1085
1085
|
required_arguments = []
|
@@ -1178,7 +1178,7 @@ class DatabaseMigrationClient(object):
|
|
1178
1178
|
:rtype: :class:`~oci.response.Response`
|
1179
1179
|
|
1180
1180
|
:example:
|
1181
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1181
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/delete_agent.py.html>`__ to see an example of how to use delete_agent API.
|
1182
1182
|
"""
|
1183
1183
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1184
1184
|
required_arguments = ['agentId']
|
@@ -1284,7 +1284,7 @@ class DatabaseMigrationClient(object):
|
|
1284
1284
|
:rtype: :class:`~oci.response.Response`
|
1285
1285
|
|
1286
1286
|
:example:
|
1287
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1287
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
|
1288
1288
|
"""
|
1289
1289
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1290
1290
|
required_arguments = ['connectionId']
|
@@ -1390,7 +1390,7 @@ class DatabaseMigrationClient(object):
|
|
1390
1390
|
:rtype: :class:`~oci.response.Response`
|
1391
1391
|
|
1392
1392
|
:example:
|
1393
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1393
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/delete_job.py.html>`__ to see an example of how to use delete_job API.
|
1394
1394
|
"""
|
1395
1395
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1396
1396
|
required_arguments = ['jobId']
|
@@ -1496,7 +1496,7 @@ class DatabaseMigrationClient(object):
|
|
1496
1496
|
:rtype: :class:`~oci.response.Response`
|
1497
1497
|
|
1498
1498
|
:example:
|
1499
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1499
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/delete_migration.py.html>`__ to see an example of how to use delete_migration API.
|
1500
1500
|
"""
|
1501
1501
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1502
1502
|
required_arguments = ['migrationId']
|
@@ -1609,7 +1609,7 @@ class DatabaseMigrationClient(object):
|
|
1609
1609
|
:rtype: :class:`~oci.response.Response`
|
1610
1610
|
|
1611
1611
|
:example:
|
1612
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1612
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/evaluate_migration.py.html>`__ to see an example of how to use evaluate_migration API.
|
1613
1613
|
"""
|
1614
1614
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1615
1615
|
required_arguments = ['migrationId']
|
@@ -1713,7 +1713,7 @@ class DatabaseMigrationClient(object):
|
|
1713
1713
|
:rtype: :class:`~oci.response.Response`
|
1714
1714
|
|
1715
1715
|
:example:
|
1716
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1716
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_advisor_report.py.html>`__ to see an example of how to use get_advisor_report API.
|
1717
1717
|
"""
|
1718
1718
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1719
1719
|
required_arguments = ['jobId']
|
@@ -1812,7 +1812,7 @@ class DatabaseMigrationClient(object):
|
|
1812
1812
|
:rtype: :class:`~oci.response.Response`
|
1813
1813
|
|
1814
1814
|
:example:
|
1815
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1815
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_agent.py.html>`__ to see an example of how to use get_agent API.
|
1816
1816
|
"""
|
1817
1817
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1818
1818
|
required_arguments = ['agentId']
|
@@ -1911,7 +1911,7 @@ class DatabaseMigrationClient(object):
|
|
1911
1911
|
:rtype: :class:`~oci.response.Response`
|
1912
1912
|
|
1913
1913
|
:example:
|
1914
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1914
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_connection.py.html>`__ to see an example of how to use get_connection API.
|
1915
1915
|
"""
|
1916
1916
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1917
1917
|
required_arguments = ['connectionId']
|
@@ -2010,7 +2010,7 @@ class DatabaseMigrationClient(object):
|
|
2010
2010
|
:rtype: :class:`~oci.response.Response`
|
2011
2011
|
|
2012
2012
|
:example:
|
2013
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2013
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_job.py.html>`__ to see an example of how to use get_job API.
|
2014
2014
|
"""
|
2015
2015
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2016
2016
|
required_arguments = ['jobId']
|
@@ -2109,7 +2109,7 @@ class DatabaseMigrationClient(object):
|
|
2109
2109
|
:rtype: :class:`~oci.response.Response`
|
2110
2110
|
|
2111
2111
|
:example:
|
2112
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2112
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_job_output_content.py.html>`__ to see an example of how to use get_job_output_content API.
|
2113
2113
|
"""
|
2114
2114
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2115
2115
|
required_arguments = ['jobId']
|
@@ -2215,7 +2215,7 @@ class DatabaseMigrationClient(object):
|
|
2215
2215
|
:rtype: :class:`~oci.response.Response`
|
2216
2216
|
|
2217
2217
|
:example:
|
2218
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2218
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_migration.py.html>`__ to see an example of how to use get_migration API.
|
2219
2219
|
"""
|
2220
2220
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2221
2221
|
required_arguments = ['migrationId']
|
@@ -2316,7 +2316,7 @@ class DatabaseMigrationClient(object):
|
|
2316
2316
|
:rtype: :class:`~oci.response.Response`
|
2317
2317
|
|
2318
2318
|
:example:
|
2319
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2319
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2320
2320
|
"""
|
2321
2321
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2322
2322
|
required_arguments = ['workRequestId']
|
@@ -2423,7 +2423,7 @@ class DatabaseMigrationClient(object):
|
|
2423
2423
|
:rtype: :class:`~oci.response.Response`
|
2424
2424
|
|
2425
2425
|
:example:
|
2426
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2426
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_agent_images.py.html>`__ to see an example of how to use list_agent_images API.
|
2427
2427
|
"""
|
2428
2428
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2429
2429
|
required_arguments = []
|
@@ -2554,7 +2554,7 @@ class DatabaseMigrationClient(object):
|
|
2554
2554
|
:rtype: :class:`~oci.response.Response`
|
2555
2555
|
|
2556
2556
|
:example:
|
2557
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2557
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_agents.py.html>`__ to see an example of how to use list_agents API.
|
2558
2558
|
"""
|
2559
2559
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2560
2560
|
required_arguments = ['compartmentId']
|
@@ -2706,7 +2706,7 @@ class DatabaseMigrationClient(object):
|
|
2706
2706
|
:rtype: :class:`~oci.response.Response`
|
2707
2707
|
|
2708
2708
|
:example:
|
2709
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2709
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_connections.py.html>`__ to see an example of how to use list_connections API.
|
2710
2710
|
"""
|
2711
2711
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2712
2712
|
required_arguments = ['compartmentId']
|
@@ -2874,7 +2874,7 @@ class DatabaseMigrationClient(object):
|
|
2874
2874
|
:rtype: :class:`~oci.response.Response`
|
2875
2875
|
|
2876
2876
|
:example:
|
2877
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2877
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_excluded_objects.py.html>`__ to see an example of how to use list_excluded_objects API.
|
2878
2878
|
"""
|
2879
2879
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2880
2880
|
required_arguments = ['jobId']
|
@@ -3028,7 +3028,7 @@ class DatabaseMigrationClient(object):
|
|
3028
3028
|
:rtype: :class:`~oci.response.Response`
|
3029
3029
|
|
3030
3030
|
:example:
|
3031
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3031
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_job_outputs.py.html>`__ to see an example of how to use list_job_outputs API.
|
3032
3032
|
"""
|
3033
3033
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3034
3034
|
required_arguments = ['jobId']
|
@@ -3163,7 +3163,7 @@ class DatabaseMigrationClient(object):
|
|
3163
3163
|
:rtype: :class:`~oci.response.Response`
|
3164
3164
|
|
3165
3165
|
:example:
|
3166
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3166
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
|
3167
3167
|
"""
|
3168
3168
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3169
3169
|
required_arguments = ['migrationId']
|
@@ -3304,7 +3304,7 @@ class DatabaseMigrationClient(object):
|
|
3304
3304
|
:rtype: :class:`~oci.response.Response`
|
3305
3305
|
|
3306
3306
|
:example:
|
3307
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3307
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_migration_object_types.py.html>`__ to see an example of how to use list_migration_object_types API.
|
3308
3308
|
"""
|
3309
3309
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3310
3310
|
required_arguments = []
|
@@ -3432,7 +3432,7 @@ class DatabaseMigrationClient(object):
|
|
3432
3432
|
:rtype: :class:`~oci.response.Response`
|
3433
3433
|
|
3434
3434
|
:example:
|
3435
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3435
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_migration_objects.py.html>`__ to see an example of how to use list_migration_objects API.
|
3436
3436
|
"""
|
3437
3437
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3438
3438
|
required_arguments = ['migrationId']
|
@@ -3573,7 +3573,7 @@ class DatabaseMigrationClient(object):
|
|
3573
3573
|
:rtype: :class:`~oci.response.Response`
|
3574
3574
|
|
3575
3575
|
:example:
|
3576
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3576
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_migrations.py.html>`__ to see an example of how to use list_migrations API.
|
3577
3577
|
"""
|
3578
3578
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3579
3579
|
required_arguments = ['compartmentId']
|
@@ -3725,7 +3725,7 @@ class DatabaseMigrationClient(object):
|
|
3725
3725
|
:rtype: :class:`~oci.response.Response`
|
3726
3726
|
|
3727
3727
|
:example:
|
3728
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3728
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
3729
3729
|
"""
|
3730
3730
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3731
3731
|
required_arguments = ['workRequestId']
|
@@ -3868,7 +3868,7 @@ class DatabaseMigrationClient(object):
|
|
3868
3868
|
:rtype: :class:`~oci.response.Response`
|
3869
3869
|
|
3870
3870
|
:example:
|
3871
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3871
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
3872
3872
|
"""
|
3873
3873
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3874
3874
|
required_arguments = ['workRequestId']
|
@@ -4021,7 +4021,7 @@ class DatabaseMigrationClient(object):
|
|
4021
4021
|
:rtype: :class:`~oci.response.Response`
|
4022
4022
|
|
4023
4023
|
:example:
|
4024
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4024
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4025
4025
|
"""
|
4026
4026
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4027
4027
|
required_arguments = ['compartmentId']
|
@@ -4158,7 +4158,7 @@ class DatabaseMigrationClient(object):
|
|
4158
4158
|
:rtype: :class:`~oci.response.Response`
|
4159
4159
|
|
4160
4160
|
:example:
|
4161
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/remove_migration_objects.py.html>`__ to see an example of how to use remove_migration_objects API.
|
4162
4162
|
"""
|
4163
4163
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4164
4164
|
required_arguments = ['migrationId']
|
@@ -4276,7 +4276,7 @@ class DatabaseMigrationClient(object):
|
|
4276
4276
|
:rtype: :class:`~oci.response.Response`
|
4277
4277
|
|
4278
4278
|
:example:
|
4279
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4279
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/resume_job.py.html>`__ to see an example of how to use resume_job API.
|
4280
4280
|
"""
|
4281
4281
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4282
4282
|
required_arguments = ['jobId']
|
@@ -4383,7 +4383,7 @@ class DatabaseMigrationClient(object):
|
|
4383
4383
|
:rtype: :class:`~oci.response.Response`
|
4384
4384
|
|
4385
4385
|
:example:
|
4386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4386
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/retrieve_supported_phases.py.html>`__ to see an example of how to use retrieve_supported_phases API.
|
4387
4387
|
"""
|
4388
4388
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4389
4389
|
required_arguments = ['migrationId']
|
@@ -4499,7 +4499,7 @@ class DatabaseMigrationClient(object):
|
|
4499
4499
|
:rtype: :class:`~oci.response.Response`
|
4500
4500
|
|
4501
4501
|
:example:
|
4502
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4502
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/start_migration.py.html>`__ to see an example of how to use start_migration API.
|
4503
4503
|
"""
|
4504
4504
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4505
4505
|
required_arguments = ['migrationId']
|
@@ -4623,7 +4623,7 @@ class DatabaseMigrationClient(object):
|
|
4623
4623
|
:rtype: :class:`~oci.response.Response`
|
4624
4624
|
|
4625
4625
|
:example:
|
4626
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4626
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/update_agent.py.html>`__ to see an example of how to use update_agent API.
|
4627
4627
|
"""
|
4628
4628
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4629
4629
|
required_arguments = ['agentId']
|
@@ -4739,7 +4739,7 @@ class DatabaseMigrationClient(object):
|
|
4739
4739
|
:rtype: :class:`~oci.response.Response`
|
4740
4740
|
|
4741
4741
|
:example:
|
4742
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4742
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/update_connection.py.html>`__ to see an example of how to use update_connection API.
|
4743
4743
|
"""
|
4744
4744
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4745
4745
|
required_arguments = ['connectionId']
|
@@ -4850,7 +4850,7 @@ class DatabaseMigrationClient(object):
|
|
4850
4850
|
:rtype: :class:`~oci.response.Response`
|
4851
4851
|
|
4852
4852
|
:example:
|
4853
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4853
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/update_job.py.html>`__ to see an example of how to use update_job API.
|
4854
4854
|
"""
|
4855
4855
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4856
4856
|
required_arguments = ['jobId']
|
@@ -4963,7 +4963,7 @@ class DatabaseMigrationClient(object):
|
|
4963
4963
|
:rtype: :class:`~oci.response.Response`
|
4964
4964
|
|
4965
4965
|
:example:
|
4966
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4966
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/databasemigration/update_migration.py.html>`__ to see an example of how to use update_migration API.
|
4967
4967
|
"""
|
4968
4968
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4969
4969
|
required_arguments = ['migrationId']
|
@@ -309,11 +309,19 @@ class DatabaseMigrationClientCompositeOperations(object):
|
|
309
309
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
310
310
|
|
311
311
|
try:
|
312
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
313
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_job, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
314
|
+
else:
|
315
|
+
"""
|
316
|
+
If the user does not send in this value, we set it to True by default.
|
317
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
318
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
319
|
+
"""
|
320
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
312
321
|
waiter_result = oci.wait_until(
|
313
322
|
self.client,
|
314
323
|
initial_get_result, # noqa: F821
|
315
324
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
316
|
-
succeed_on_not_found=True,
|
317
325
|
**waiter_kwargs
|
318
326
|
)
|
319
327
|
result_to_return = waiter_result
|