oci 2.102.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 +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/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.102.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/RECORD +336 -332
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
@@ -1671,11 +1671,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1671
1671
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1672
1672
|
|
1673
1673
|
try:
|
1674
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1675
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_capture_filter, 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")
|
1676
|
+
else:
|
1677
|
+
"""
|
1678
|
+
If the user does not send in this value, we set it to True by default.
|
1679
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1680
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1681
|
+
"""
|
1682
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1674
1683
|
waiter_result = oci.wait_until(
|
1675
1684
|
self.client,
|
1676
1685
|
initial_get_result, # noqa: F821
|
1677
1686
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1678
|
-
succeed_on_not_found=True,
|
1679
1687
|
**waiter_kwargs
|
1680
1688
|
)
|
1681
1689
|
result_to_return = waiter_result
|
@@ -1725,11 +1733,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1725
1733
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1726
1734
|
|
1727
1735
|
try:
|
1736
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1737
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_cross_connect, 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")
|
1738
|
+
else:
|
1739
|
+
"""
|
1740
|
+
If the user does not send in this value, we set it to True by default.
|
1741
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1742
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1743
|
+
"""
|
1744
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1728
1745
|
waiter_result = oci.wait_until(
|
1729
1746
|
self.client,
|
1730
1747
|
initial_get_result, # noqa: F821
|
1731
1748
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1732
|
-
succeed_on_not_found=True,
|
1733
1749
|
**waiter_kwargs
|
1734
1750
|
)
|
1735
1751
|
result_to_return = waiter_result
|
@@ -1779,11 +1795,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1779
1795
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1780
1796
|
|
1781
1797
|
try:
|
1798
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1799
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_cross_connect_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")
|
1800
|
+
else:
|
1801
|
+
"""
|
1802
|
+
If the user does not send in this value, we set it to True by default.
|
1803
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1804
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1805
|
+
"""
|
1806
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1782
1807
|
waiter_result = oci.wait_until(
|
1783
1808
|
self.client,
|
1784
1809
|
initial_get_result, # noqa: F821
|
1785
1810
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1786
|
-
succeed_on_not_found=True,
|
1787
1811
|
**waiter_kwargs
|
1788
1812
|
)
|
1789
1813
|
result_to_return = waiter_result
|
@@ -1833,11 +1857,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1833
1857
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1834
1858
|
|
1835
1859
|
try:
|
1860
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1861
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_dhcp_options, 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")
|
1862
|
+
else:
|
1863
|
+
"""
|
1864
|
+
If the user does not send in this value, we set it to True by default.
|
1865
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1866
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1867
|
+
"""
|
1868
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1836
1869
|
waiter_result = oci.wait_until(
|
1837
1870
|
self.client,
|
1838
1871
|
initial_get_result, # noqa: F821
|
1839
1872
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1840
|
-
succeed_on_not_found=True,
|
1841
1873
|
**waiter_kwargs
|
1842
1874
|
)
|
1843
1875
|
result_to_return = waiter_result
|
@@ -1887,11 +1919,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1887
1919
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1888
1920
|
|
1889
1921
|
try:
|
1922
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1923
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_drg, 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")
|
1924
|
+
else:
|
1925
|
+
"""
|
1926
|
+
If the user does not send in this value, we set it to True by default.
|
1927
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1928
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1929
|
+
"""
|
1930
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1890
1931
|
waiter_result = oci.wait_until(
|
1891
1932
|
self.client,
|
1892
1933
|
initial_get_result, # noqa: F821
|
1893
1934
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1894
|
-
succeed_on_not_found=True,
|
1895
1935
|
**waiter_kwargs
|
1896
1936
|
)
|
1897
1937
|
result_to_return = waiter_result
|
@@ -1941,11 +1981,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1941
1981
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1942
1982
|
|
1943
1983
|
try:
|
1984
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1985
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_drg_attachment, 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")
|
1986
|
+
else:
|
1987
|
+
"""
|
1988
|
+
If the user does not send in this value, we set it to True by default.
|
1989
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1990
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1991
|
+
"""
|
1992
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1944
1993
|
waiter_result = oci.wait_until(
|
1945
1994
|
self.client,
|
1946
1995
|
initial_get_result, # noqa: F821
|
1947
1996
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1948
|
-
succeed_on_not_found=True,
|
1949
1997
|
**waiter_kwargs
|
1950
1998
|
)
|
1951
1999
|
result_to_return = waiter_result
|
@@ -1995,11 +2043,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1995
2043
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1996
2044
|
|
1997
2045
|
try:
|
2046
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2047
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_drg_route_distribution, 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")
|
2048
|
+
else:
|
2049
|
+
"""
|
2050
|
+
If the user does not send in this value, we set it to True by default.
|
2051
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2052
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2053
|
+
"""
|
2054
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1998
2055
|
waiter_result = oci.wait_until(
|
1999
2056
|
self.client,
|
2000
2057
|
initial_get_result, # noqa: F821
|
2001
2058
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2002
|
-
succeed_on_not_found=True,
|
2003
2059
|
**waiter_kwargs
|
2004
2060
|
)
|
2005
2061
|
result_to_return = waiter_result
|
@@ -2049,11 +2105,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2049
2105
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2050
2106
|
|
2051
2107
|
try:
|
2108
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2109
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_drg_route_table, 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")
|
2110
|
+
else:
|
2111
|
+
"""
|
2112
|
+
If the user does not send in this value, we set it to True by default.
|
2113
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2114
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2115
|
+
"""
|
2116
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2052
2117
|
waiter_result = oci.wait_until(
|
2053
2118
|
self.client,
|
2054
2119
|
initial_get_result, # noqa: F821
|
2055
2120
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2056
|
-
succeed_on_not_found=True,
|
2057
2121
|
**waiter_kwargs
|
2058
2122
|
)
|
2059
2123
|
result_to_return = waiter_result
|
@@ -2103,11 +2167,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2103
2167
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2104
2168
|
|
2105
2169
|
try:
|
2170
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2171
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_internet_gateway, 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")
|
2172
|
+
else:
|
2173
|
+
"""
|
2174
|
+
If the user does not send in this value, we set it to True by default.
|
2175
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2176
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2177
|
+
"""
|
2178
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2106
2179
|
waiter_result = oci.wait_until(
|
2107
2180
|
self.client,
|
2108
2181
|
initial_get_result, # noqa: F821
|
2109
2182
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2110
|
-
succeed_on_not_found=True,
|
2111
2183
|
**waiter_kwargs
|
2112
2184
|
)
|
2113
2185
|
result_to_return = waiter_result
|
@@ -2157,11 +2229,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2157
2229
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2158
2230
|
|
2159
2231
|
try:
|
2232
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2233
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_ip_sec_connection, 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")
|
2234
|
+
else:
|
2235
|
+
"""
|
2236
|
+
If the user does not send in this value, we set it to True by default.
|
2237
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2238
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2239
|
+
"""
|
2240
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2160
2241
|
waiter_result = oci.wait_until(
|
2161
2242
|
self.client,
|
2162
2243
|
initial_get_result, # noqa: F821
|
2163
2244
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2164
|
-
succeed_on_not_found=True,
|
2165
2245
|
**waiter_kwargs
|
2166
2246
|
)
|
2167
2247
|
result_to_return = waiter_result
|
@@ -2211,11 +2291,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2211
2291
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2212
2292
|
|
2213
2293
|
try:
|
2294
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2295
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_ipv6, 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")
|
2296
|
+
else:
|
2297
|
+
"""
|
2298
|
+
If the user does not send in this value, we set it to True by default.
|
2299
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2300
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2301
|
+
"""
|
2302
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2214
2303
|
waiter_result = oci.wait_until(
|
2215
2304
|
self.client,
|
2216
2305
|
initial_get_result, # noqa: F821
|
2217
2306
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2218
|
-
succeed_on_not_found=True,
|
2219
2307
|
**waiter_kwargs
|
2220
2308
|
)
|
2221
2309
|
result_to_return = waiter_result
|
@@ -2265,11 +2353,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2265
2353
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2266
2354
|
|
2267
2355
|
try:
|
2356
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2357
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_local_peering_gateway, 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")
|
2358
|
+
else:
|
2359
|
+
"""
|
2360
|
+
If the user does not send in this value, we set it to True by default.
|
2361
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2362
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2363
|
+
"""
|
2364
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2268
2365
|
waiter_result = oci.wait_until(
|
2269
2366
|
self.client,
|
2270
2367
|
initial_get_result, # noqa: F821
|
2271
2368
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2272
|
-
succeed_on_not_found=True,
|
2273
2369
|
**waiter_kwargs
|
2274
2370
|
)
|
2275
2371
|
result_to_return = waiter_result
|
@@ -2319,11 +2415,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2319
2415
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2320
2416
|
|
2321
2417
|
try:
|
2418
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2419
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_nat_gateway, 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")
|
2420
|
+
else:
|
2421
|
+
"""
|
2422
|
+
If the user does not send in this value, we set it to True by default.
|
2423
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2424
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2425
|
+
"""
|
2426
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2322
2427
|
waiter_result = oci.wait_until(
|
2323
2428
|
self.client,
|
2324
2429
|
initial_get_result, # noqa: F821
|
2325
2430
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2326
|
-
succeed_on_not_found=True,
|
2327
2431
|
**waiter_kwargs
|
2328
2432
|
)
|
2329
2433
|
result_to_return = waiter_result
|
@@ -2373,11 +2477,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2373
2477
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2374
2478
|
|
2375
2479
|
try:
|
2480
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2481
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_network_security_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")
|
2482
|
+
else:
|
2483
|
+
"""
|
2484
|
+
If the user does not send in this value, we set it to True by default.
|
2485
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2486
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2487
|
+
"""
|
2488
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2376
2489
|
waiter_result = oci.wait_until(
|
2377
2490
|
self.client,
|
2378
2491
|
initial_get_result, # noqa: F821
|
2379
2492
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2380
|
-
succeed_on_not_found=True,
|
2381
2493
|
**waiter_kwargs
|
2382
2494
|
)
|
2383
2495
|
result_to_return = waiter_result
|
@@ -2427,11 +2539,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2427
2539
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2428
2540
|
|
2429
2541
|
try:
|
2542
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2543
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_public_ip, 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")
|
2544
|
+
else:
|
2545
|
+
"""
|
2546
|
+
If the user does not send in this value, we set it to True by default.
|
2547
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2548
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2549
|
+
"""
|
2550
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2430
2551
|
waiter_result = oci.wait_until(
|
2431
2552
|
self.client,
|
2432
2553
|
initial_get_result, # noqa: F821
|
2433
2554
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2434
|
-
succeed_on_not_found=True,
|
2435
2555
|
**waiter_kwargs
|
2436
2556
|
)
|
2437
2557
|
result_to_return = waiter_result
|
@@ -2481,11 +2601,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2481
2601
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2482
2602
|
|
2483
2603
|
try:
|
2604
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2605
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_public_ip_pool, 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")
|
2606
|
+
else:
|
2607
|
+
"""
|
2608
|
+
If the user does not send in this value, we set it to True by default.
|
2609
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2610
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2611
|
+
"""
|
2612
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2484
2613
|
waiter_result = oci.wait_until(
|
2485
2614
|
self.client,
|
2486
2615
|
initial_get_result, # noqa: F821
|
2487
2616
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2488
|
-
succeed_on_not_found=True,
|
2489
2617
|
**waiter_kwargs
|
2490
2618
|
)
|
2491
2619
|
result_to_return = waiter_result
|
@@ -2535,11 +2663,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2535
2663
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2536
2664
|
|
2537
2665
|
try:
|
2666
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2667
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_remote_peering_connection, 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")
|
2668
|
+
else:
|
2669
|
+
"""
|
2670
|
+
If the user does not send in this value, we set it to True by default.
|
2671
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2672
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2673
|
+
"""
|
2674
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2538
2675
|
waiter_result = oci.wait_until(
|
2539
2676
|
self.client,
|
2540
2677
|
initial_get_result, # noqa: F821
|
2541
2678
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2542
|
-
succeed_on_not_found=True,
|
2543
2679
|
**waiter_kwargs
|
2544
2680
|
)
|
2545
2681
|
result_to_return = waiter_result
|
@@ -2589,11 +2725,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2589
2725
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2590
2726
|
|
2591
2727
|
try:
|
2728
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2729
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_route_table, 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")
|
2730
|
+
else:
|
2731
|
+
"""
|
2732
|
+
If the user does not send in this value, we set it to True by default.
|
2733
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2734
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2735
|
+
"""
|
2736
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2592
2737
|
waiter_result = oci.wait_until(
|
2593
2738
|
self.client,
|
2594
2739
|
initial_get_result, # noqa: F821
|
2595
2740
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2596
|
-
succeed_on_not_found=True,
|
2597
2741
|
**waiter_kwargs
|
2598
2742
|
)
|
2599
2743
|
result_to_return = waiter_result
|
@@ -2643,11 +2787,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2643
2787
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2644
2788
|
|
2645
2789
|
try:
|
2790
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2791
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_security_list, 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")
|
2792
|
+
else:
|
2793
|
+
"""
|
2794
|
+
If the user does not send in this value, we set it to True by default.
|
2795
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2796
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2797
|
+
"""
|
2798
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2646
2799
|
waiter_result = oci.wait_until(
|
2647
2800
|
self.client,
|
2648
2801
|
initial_get_result, # noqa: F821
|
2649
2802
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2650
|
-
succeed_on_not_found=True,
|
2651
2803
|
**waiter_kwargs
|
2652
2804
|
)
|
2653
2805
|
result_to_return = waiter_result
|
@@ -2697,11 +2849,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2697
2849
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2698
2850
|
|
2699
2851
|
try:
|
2852
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2853
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_service_gateway, 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")
|
2854
|
+
else:
|
2855
|
+
"""
|
2856
|
+
If the user does not send in this value, we set it to True by default.
|
2857
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2858
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2859
|
+
"""
|
2860
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2700
2861
|
waiter_result = oci.wait_until(
|
2701
2862
|
self.client,
|
2702
2863
|
initial_get_result, # noqa: F821
|
2703
2864
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2704
|
-
succeed_on_not_found=True,
|
2705
2865
|
**waiter_kwargs
|
2706
2866
|
)
|
2707
2867
|
result_to_return = waiter_result
|
@@ -2751,11 +2911,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2751
2911
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2752
2912
|
|
2753
2913
|
try:
|
2914
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2915
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_subnet, 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")
|
2916
|
+
else:
|
2917
|
+
"""
|
2918
|
+
If the user does not send in this value, we set it to True by default.
|
2919
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2920
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2921
|
+
"""
|
2922
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2754
2923
|
waiter_result = oci.wait_until(
|
2755
2924
|
self.client,
|
2756
2925
|
initial_get_result, # noqa: F821
|
2757
2926
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2758
|
-
succeed_on_not_found=True,
|
2759
2927
|
**waiter_kwargs
|
2760
2928
|
)
|
2761
2929
|
result_to_return = waiter_result
|
@@ -2805,11 +2973,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2805
2973
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2806
2974
|
|
2807
2975
|
try:
|
2976
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
2977
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_vcn, 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")
|
2978
|
+
else:
|
2979
|
+
"""
|
2980
|
+
If the user does not send in this value, we set it to True by default.
|
2981
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
2982
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
2983
|
+
"""
|
2984
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2808
2985
|
waiter_result = oci.wait_until(
|
2809
2986
|
self.client,
|
2810
2987
|
initial_get_result, # noqa: F821
|
2811
2988
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2812
|
-
succeed_on_not_found=True,
|
2813
2989
|
**waiter_kwargs
|
2814
2990
|
)
|
2815
2991
|
result_to_return = waiter_result
|
@@ -2859,11 +3035,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2859
3035
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2860
3036
|
|
2861
3037
|
try:
|
3038
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
3039
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_virtual_circuit, 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")
|
3040
|
+
else:
|
3041
|
+
"""
|
3042
|
+
If the user does not send in this value, we set it to True by default.
|
3043
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
3044
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
3045
|
+
"""
|
3046
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2862
3047
|
waiter_result = oci.wait_until(
|
2863
3048
|
self.client,
|
2864
3049
|
initial_get_result, # noqa: F821
|
2865
3050
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2866
|
-
succeed_on_not_found=True,
|
2867
3051
|
**waiter_kwargs
|
2868
3052
|
)
|
2869
3053
|
result_to_return = waiter_result
|
@@ -2913,11 +3097,19 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
2913
3097
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2914
3098
|
|
2915
3099
|
try:
|
3100
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
3101
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_vlan, 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")
|
3102
|
+
else:
|
3103
|
+
"""
|
3104
|
+
If the user does not send in this value, we set it to True by default.
|
3105
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
3106
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
3107
|
+
"""
|
3108
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
2916
3109
|
waiter_result = oci.wait_until(
|
2917
3110
|
self.client,
|
2918
3111
|
initial_get_result, # noqa: F821
|
2919
3112
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
2920
|
-
succeed_on_not_found=True,
|
2921
3113
|
**waiter_kwargs
|
2922
3114
|
)
|
2923
3115
|
result_to_return = waiter_result
|
@@ -155,7 +155,7 @@ class DashboardClient(object):
|
|
155
155
|
:rtype: :class:`~oci.response.Response`
|
156
156
|
|
157
157
|
:example:
|
158
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/change_dashboard_group.py.html>`__ to see an example of how to use change_dashboard_group API.
|
159
159
|
"""
|
160
160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
161
161
|
required_arguments = ['dashboardId']
|
@@ -272,7 +272,7 @@ class DashboardClient(object):
|
|
272
272
|
:rtype: :class:`~oci.response.Response`
|
273
273
|
|
274
274
|
:example:
|
275
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/create_dashboard.py.html>`__ to see an example of how to use create_dashboard API.
|
276
276
|
"""
|
277
277
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
278
278
|
required_arguments = []
|
@@ -379,7 +379,7 @@ class DashboardClient(object):
|
|
379
379
|
:rtype: :class:`~oci.response.Response`
|
380
380
|
|
381
381
|
:example:
|
382
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
382
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/delete_dashboard.py.html>`__ to see an example of how to use delete_dashboard API.
|
383
383
|
"""
|
384
384
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
385
385
|
required_arguments = ['dashboardId']
|
@@ -486,7 +486,7 @@ class DashboardClient(object):
|
|
486
486
|
:rtype: :class:`~oci.response.Response`
|
487
487
|
|
488
488
|
:example:
|
489
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
489
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/get_dashboard.py.html>`__ to see an example of how to use get_dashboard API.
|
490
490
|
"""
|
491
491
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
492
492
|
required_arguments = ['dashboardId']
|
@@ -627,7 +627,7 @@ class DashboardClient(object):
|
|
627
627
|
:rtype: :class:`~oci.response.Response`
|
628
628
|
|
629
629
|
:example:
|
630
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
630
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/list_dashboards.py.html>`__ to see an example of how to use list_dashboards API.
|
631
631
|
"""
|
632
632
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
633
633
|
required_arguments = ['dashboardGroupId']
|
@@ -776,7 +776,7 @@ class DashboardClient(object):
|
|
776
776
|
:rtype: :class:`~oci.response.Response`
|
777
777
|
|
778
778
|
:example:
|
779
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
779
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/update_dashboard.py.html>`__ to see an example of how to use update_dashboard API.
|
780
780
|
"""
|
781
781
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
782
782
|
required_arguments = ['dashboardId']
|
@@ -102,11 +102,19 @@ class DashboardClientCompositeOperations(object):
|
|
102
102
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
103
103
|
|
104
104
|
try:
|
105
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
106
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_dashboard, 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")
|
107
|
+
else:
|
108
|
+
"""
|
109
|
+
If the user does not send in this value, we set it to True by default.
|
110
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
111
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
112
|
+
"""
|
113
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
105
114
|
waiter_result = oci.wait_until(
|
106
115
|
self.client,
|
107
116
|
initial_get_result, # noqa: F821
|
108
117
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
109
|
-
succeed_on_not_found=True,
|
110
118
|
**waiter_kwargs
|
111
119
|
)
|
112
120
|
result_to_return = waiter_result
|
@@ -155,7 +155,7 @@ class DashboardGroupClient(object):
|
|
155
155
|
:rtype: :class:`~oci.response.Response`
|
156
156
|
|
157
157
|
:example:
|
158
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/change_dashboard_group_compartment.py.html>`__ to see an example of how to use change_dashboard_group_compartment API.
|
159
159
|
"""
|
160
160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
161
161
|
required_arguments = ['dashboardGroupId']
|
@@ -272,7 +272,7 @@ class DashboardGroupClient(object):
|
|
272
272
|
:rtype: :class:`~oci.response.Response`
|
273
273
|
|
274
274
|
:example:
|
275
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/create_dashboard_group.py.html>`__ to see an example of how to use create_dashboard_group API.
|
276
276
|
"""
|
277
277
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
278
278
|
required_arguments = []
|
@@ -379,7 +379,7 @@ class DashboardGroupClient(object):
|
|
379
379
|
:rtype: :class:`~oci.response.Response`
|
380
380
|
|
381
381
|
:example:
|
382
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
382
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/delete_dashboard_group.py.html>`__ to see an example of how to use delete_dashboard_group API.
|
383
383
|
"""
|
384
384
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
385
385
|
required_arguments = ['dashboardGroupId']
|
@@ -486,7 +486,7 @@ class DashboardGroupClient(object):
|
|
486
486
|
:rtype: :class:`~oci.response.Response`
|
487
487
|
|
488
488
|
:example:
|
489
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
489
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/get_dashboard_group.py.html>`__ to see an example of how to use get_dashboard_group API.
|
490
490
|
"""
|
491
491
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
492
492
|
required_arguments = ['dashboardGroupId']
|
@@ -627,7 +627,7 @@ class DashboardGroupClient(object):
|
|
627
627
|
:rtype: :class:`~oci.response.Response`
|
628
628
|
|
629
629
|
:example:
|
630
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
630
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/list_dashboard_groups.py.html>`__ to see an example of how to use list_dashboard_groups API.
|
631
631
|
"""
|
632
632
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
633
633
|
required_arguments = ['compartmentId']
|
@@ -776,7 +776,7 @@ class DashboardGroupClient(object):
|
|
776
776
|
:rtype: :class:`~oci.response.Response`
|
777
777
|
|
778
778
|
:example:
|
779
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
779
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dashboardservice/update_dashboard_group.py.html>`__ to see an example of how to use update_dashboard_group API.
|
780
780
|
"""
|
781
781
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
782
782
|
required_arguments = ['dashboardGroupId']
|