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
@@ -173,7 +173,7 @@ class InventoryClient(object):
|
|
173
173
|
:rtype: :class:`~oci.response.Response`
|
174
174
|
|
175
175
|
:example:
|
176
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
176
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/analyze_assets.py.html>`__ to see an example of how to use analyze_assets API.
|
177
177
|
"""
|
178
178
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
179
179
|
required_arguments = ['compartmentId', 'aggregationProperties']
|
@@ -323,7 +323,7 @@ class InventoryClient(object):
|
|
323
323
|
:rtype: :class:`~oci.response.Response`
|
324
324
|
|
325
325
|
:example:
|
326
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
326
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/change_asset_compartment.py.html>`__ to see an example of how to use change_asset_compartment API.
|
327
327
|
"""
|
328
328
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
329
329
|
required_arguments = ['assetId']
|
@@ -443,7 +443,7 @@ class InventoryClient(object):
|
|
443
443
|
:rtype: :class:`~oci.response.Response`
|
444
444
|
|
445
445
|
:example:
|
446
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
446
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/change_asset_tags.py.html>`__ to see an example of how to use change_asset_tags API.
|
447
447
|
"""
|
448
448
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
449
449
|
required_arguments = ['assetId']
|
@@ -555,7 +555,7 @@ class InventoryClient(object):
|
|
555
555
|
:rtype: :class:`~oci.response.Response`
|
556
556
|
|
557
557
|
:example:
|
558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/create_asset.py.html>`__ to see an example of how to use create_asset API.
|
559
559
|
"""
|
560
560
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
561
561
|
required_arguments = []
|
@@ -653,7 +653,7 @@ class InventoryClient(object):
|
|
653
653
|
:rtype: :class:`~oci.response.Response`
|
654
654
|
|
655
655
|
:example:
|
656
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
656
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/create_inventory.py.html>`__ to see an example of how to use create_inventory API.
|
657
657
|
"""
|
658
658
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
659
659
|
required_arguments = []
|
@@ -749,7 +749,7 @@ class InventoryClient(object):
|
|
749
749
|
:rtype: :class:`~oci.response.Response`
|
750
750
|
|
751
751
|
:example:
|
752
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
752
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/delete_asset.py.html>`__ to see an example of how to use delete_asset API.
|
753
753
|
"""
|
754
754
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
755
755
|
required_arguments = ['assetId']
|
@@ -854,7 +854,7 @@ class InventoryClient(object):
|
|
854
854
|
:rtype: :class:`~oci.response.Response`
|
855
855
|
|
856
856
|
:example:
|
857
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
857
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/delete_inventory.py.html>`__ to see an example of how to use delete_inventory API.
|
858
858
|
"""
|
859
859
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
860
860
|
required_arguments = ['inventoryId']
|
@@ -952,7 +952,7 @@ class InventoryClient(object):
|
|
952
952
|
:rtype: :class:`~oci.response.Response`
|
953
953
|
|
954
954
|
:example:
|
955
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
955
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/get_asset.py.html>`__ to see an example of how to use get_asset API.
|
956
956
|
"""
|
957
957
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
958
958
|
required_arguments = ['assetId']
|
@@ -1050,7 +1050,7 @@ class InventoryClient(object):
|
|
1050
1050
|
:rtype: :class:`~oci.response.Response`
|
1051
1051
|
|
1052
1052
|
:example:
|
1053
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1053
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/get_inventory.py.html>`__ to see an example of how to use get_inventory API.
|
1054
1054
|
"""
|
1055
1055
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1056
1056
|
required_arguments = ['inventoryId']
|
@@ -1158,7 +1158,7 @@ class InventoryClient(object):
|
|
1158
1158
|
:rtype: :class:`~oci.response.Response`
|
1159
1159
|
|
1160
1160
|
:example:
|
1161
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/import_inventory.py.html>`__ to see an example of how to use import_inventory API.
|
1162
1162
|
"""
|
1163
1163
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1164
1164
|
required_arguments = ['inventoryId']
|
@@ -1300,7 +1300,7 @@ class InventoryClient(object):
|
|
1300
1300
|
:rtype: :class:`~oci.response.Response`
|
1301
1301
|
|
1302
1302
|
:example:
|
1303
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1303
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_assets.py.html>`__ to see an example of how to use list_assets API.
|
1304
1304
|
"""
|
1305
1305
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1306
1306
|
required_arguments = ['compartmentId']
|
@@ -1459,7 +1459,7 @@ class InventoryClient(object):
|
|
1459
1459
|
:rtype: :class:`~oci.response.Response`
|
1460
1460
|
|
1461
1461
|
:example:
|
1462
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1462
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_historical_metrics.py.html>`__ to see an example of how to use list_historical_metrics API.
|
1463
1463
|
"""
|
1464
1464
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1465
1465
|
required_arguments = ['assetId']
|
@@ -1606,7 +1606,7 @@ class InventoryClient(object):
|
|
1606
1606
|
:rtype: :class:`~oci.response.Response`
|
1607
1607
|
|
1608
1608
|
:example:
|
1609
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1609
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_inventories.py.html>`__ to see an example of how to use list_inventories API.
|
1610
1610
|
"""
|
1611
1611
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1612
1612
|
required_arguments = ['compartmentId']
|
@@ -1740,7 +1740,7 @@ class InventoryClient(object):
|
|
1740
1740
|
:rtype: :class:`~oci.response.Response`
|
1741
1741
|
|
1742
1742
|
:example:
|
1743
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1743
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/submit_historical_metrics.py.html>`__ to see an example of how to use submit_historical_metrics API.
|
1744
1744
|
"""
|
1745
1745
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1746
1746
|
required_arguments = ['assetId']
|
@@ -1852,7 +1852,7 @@ class InventoryClient(object):
|
|
1852
1852
|
:rtype: :class:`~oci.response.Response`
|
1853
1853
|
|
1854
1854
|
:example:
|
1855
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1855
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/update_asset.py.html>`__ to see an example of how to use update_asset API.
|
1856
1856
|
"""
|
1857
1857
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1858
1858
|
required_arguments = ['assetId']
|
@@ -1964,7 +1964,7 @@ class InventoryClient(object):
|
|
1964
1964
|
:rtype: :class:`~oci.response.Response`
|
1965
1965
|
|
1966
1966
|
:example:
|
1967
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1967
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/update_inventory.py.html>`__ to see an example of how to use update_inventory API.
|
1968
1968
|
"""
|
1969
1969
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1970
1970
|
required_arguments = ['inventoryId']
|
@@ -184,11 +184,19 @@ class InventoryClientCompositeOperations(object):
|
|
184
184
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
185
185
|
|
186
186
|
try:
|
187
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
188
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_asset, 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")
|
189
|
+
else:
|
190
|
+
"""
|
191
|
+
If the user does not send in this value, we set it to True by default.
|
192
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
193
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
194
|
+
"""
|
195
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
187
196
|
waiter_result = oci.wait_until(
|
188
197
|
self.client,
|
189
198
|
initial_get_result, # noqa: F821
|
190
199
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
191
|
-
succeed_on_not_found=True,
|
192
200
|
**waiter_kwargs
|
193
201
|
)
|
194
202
|
result_to_return = waiter_result
|
@@ -153,7 +153,7 @@ class OcbAgentSvcClient(object):
|
|
153
153
|
:rtype: :class:`~oci.response.Response`
|
154
154
|
|
155
155
|
:example:
|
156
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/add_agent_dependency.py.html>`__ to see an example of how to use add_agent_dependency API.
|
157
157
|
"""
|
158
158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
159
159
|
required_arguments = ['environmentId']
|
@@ -275,7 +275,7 @@ class OcbAgentSvcClient(object):
|
|
275
275
|
:rtype: :class:`~oci.response.Response`
|
276
276
|
|
277
277
|
:example:
|
278
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
278
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/change_agent_compartment.py.html>`__ to see an example of how to use change_agent_compartment API.
|
279
279
|
"""
|
280
280
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
281
281
|
required_arguments = ['agentId']
|
@@ -395,7 +395,7 @@ class OcbAgentSvcClient(object):
|
|
395
395
|
:rtype: :class:`~oci.response.Response`
|
396
396
|
|
397
397
|
:example:
|
398
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
398
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/change_agent_dependency_compartment.py.html>`__ to see an example of how to use change_agent_dependency_compartment API.
|
399
399
|
"""
|
400
400
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
401
401
|
required_arguments = ['agentDependencyId']
|
@@ -515,7 +515,7 @@ class OcbAgentSvcClient(object):
|
|
515
515
|
:rtype: :class:`~oci.response.Response`
|
516
516
|
|
517
517
|
:example:
|
518
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
518
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/change_environment_compartment.py.html>`__ to see an example of how to use change_environment_compartment API.
|
519
519
|
"""
|
520
520
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
521
521
|
required_arguments = ['environmentId']
|
@@ -625,7 +625,7 @@ class OcbAgentSvcClient(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/cloudbridge/create_agent.py.html>`__ to see an example of how to use create_agent API.
|
629
629
|
"""
|
630
630
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
631
631
|
required_arguments = []
|
@@ -723,7 +723,7 @@ class OcbAgentSvcClient(object):
|
|
723
723
|
:rtype: :class:`~oci.response.Response`
|
724
724
|
|
725
725
|
:example:
|
726
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
726
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/create_agent_dependency.py.html>`__ to see an example of how to use create_agent_dependency API.
|
727
727
|
"""
|
728
728
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
729
729
|
required_arguments = []
|
@@ -821,7 +821,7 @@ class OcbAgentSvcClient(object):
|
|
821
821
|
:rtype: :class:`~oci.response.Response`
|
822
822
|
|
823
823
|
:example:
|
824
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
824
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/create_environment.py.html>`__ to see an example of how to use create_environment API.
|
825
825
|
"""
|
826
826
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
827
827
|
required_arguments = []
|
@@ -926,7 +926,7 @@ class OcbAgentSvcClient(object):
|
|
926
926
|
:rtype: :class:`~oci.response.Response`
|
927
927
|
|
928
928
|
:example:
|
929
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
929
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/delete_agent.py.html>`__ to see an example of how to use delete_agent API.
|
930
930
|
"""
|
931
931
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
932
932
|
required_arguments = ['agentId']
|
@@ -1034,7 +1034,7 @@ class OcbAgentSvcClient(object):
|
|
1034
1034
|
:rtype: :class:`~oci.response.Response`
|
1035
1035
|
|
1036
1036
|
:example:
|
1037
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1037
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/delete_agent_dependency.py.html>`__ to see an example of how to use delete_agent_dependency API.
|
1038
1038
|
"""
|
1039
1039
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1040
1040
|
required_arguments = ['agentDependencyId']
|
@@ -1139,7 +1139,7 @@ class OcbAgentSvcClient(object):
|
|
1139
1139
|
:rtype: :class:`~oci.response.Response`
|
1140
1140
|
|
1141
1141
|
:example:
|
1142
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1142
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/delete_environment.py.html>`__ to see an example of how to use delete_environment API.
|
1143
1143
|
"""
|
1144
1144
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1145
1145
|
required_arguments = ['environmentId']
|
@@ -1237,7 +1237,7 @@ class OcbAgentSvcClient(object):
|
|
1237
1237
|
:rtype: :class:`~oci.response.Response`
|
1238
1238
|
|
1239
1239
|
:example:
|
1240
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1240
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/get_agent.py.html>`__ to see an example of how to use get_agent API.
|
1241
1241
|
"""
|
1242
1242
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1243
1243
|
required_arguments = ['agentId']
|
@@ -1335,7 +1335,7 @@ class OcbAgentSvcClient(object):
|
|
1335
1335
|
:rtype: :class:`~oci.response.Response`
|
1336
1336
|
|
1337
1337
|
:example:
|
1338
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1338
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/get_agent_dependency.py.html>`__ to see an example of how to use get_agent_dependency API.
|
1339
1339
|
"""
|
1340
1340
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1341
1341
|
required_arguments = ['agentDependencyId']
|
@@ -1433,7 +1433,7 @@ class OcbAgentSvcClient(object):
|
|
1433
1433
|
:rtype: :class:`~oci.response.Response`
|
1434
1434
|
|
1435
1435
|
:example:
|
1436
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1436
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/get_environment.py.html>`__ to see an example of how to use get_environment API.
|
1437
1437
|
"""
|
1438
1438
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1439
1439
|
required_arguments = ['environmentId']
|
@@ -1534,7 +1534,7 @@ class OcbAgentSvcClient(object):
|
|
1534
1534
|
:rtype: :class:`~oci.response.Response`
|
1535
1535
|
|
1536
1536
|
:example:
|
1537
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1537
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/get_plugin.py.html>`__ to see an example of how to use get_plugin API.
|
1538
1538
|
"""
|
1539
1539
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1540
1540
|
required_arguments = ['agentId', 'pluginName']
|
@@ -1663,7 +1663,7 @@ class OcbAgentSvcClient(object):
|
|
1663
1663
|
:rtype: :class:`~oci.response.Response`
|
1664
1664
|
|
1665
1665
|
:example:
|
1666
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1666
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_agent_dependencies.py.html>`__ to see an example of how to use list_agent_dependencies API.
|
1667
1667
|
"""
|
1668
1668
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1669
1669
|
required_arguments = ['compartmentId']
|
@@ -1823,7 +1823,7 @@ class OcbAgentSvcClient(object):
|
|
1823
1823
|
:rtype: :class:`~oci.response.Response`
|
1824
1824
|
|
1825
1825
|
:example:
|
1826
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1826
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_agents.py.html>`__ to see an example of how to use list_agents API.
|
1827
1827
|
"""
|
1828
1828
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1829
1829
|
required_arguments = ['compartmentId']
|
@@ -1972,7 +1972,7 @@ class OcbAgentSvcClient(object):
|
|
1972
1972
|
:rtype: :class:`~oci.response.Response`
|
1973
1973
|
|
1974
1974
|
:example:
|
1975
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1975
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_appliance_images.py.html>`__ to see an example of how to use list_appliance_images API.
|
1976
1976
|
"""
|
1977
1977
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1978
1978
|
required_arguments = ['compartmentId']
|
@@ -2116,7 +2116,7 @@ class OcbAgentSvcClient(object):
|
|
2116
2116
|
:rtype: :class:`~oci.response.Response`
|
2117
2117
|
|
2118
2118
|
:example:
|
2119
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2119
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/list_environments.py.html>`__ to see an example of how to use list_environments API.
|
2120
2120
|
"""
|
2121
2121
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2122
2122
|
required_arguments = ['compartmentId']
|
@@ -2261,7 +2261,7 @@ class OcbAgentSvcClient(object):
|
|
2261
2261
|
:rtype: :class:`~oci.response.Response`
|
2262
2262
|
|
2263
2263
|
:example:
|
2264
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2264
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/remove_agent_dependency.py.html>`__ to see an example of how to use remove_agent_dependency API.
|
2265
2265
|
"""
|
2266
2266
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2267
2267
|
required_arguments = ['environmentId']
|
@@ -2383,7 +2383,7 @@ class OcbAgentSvcClient(object):
|
|
2383
2383
|
:rtype: :class:`~oci.response.Response`
|
2384
2384
|
|
2385
2385
|
:example:
|
2386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2386
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/update_agent.py.html>`__ to see an example of how to use update_agent API.
|
2387
2387
|
"""
|
2388
2388
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2389
2389
|
required_arguments = ['agentId']
|
@@ -2505,7 +2505,7 @@ class OcbAgentSvcClient(object):
|
|
2505
2505
|
:rtype: :class:`~oci.response.Response`
|
2506
2506
|
|
2507
2507
|
:example:
|
2508
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2508
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/update_agent_dependency.py.html>`__ to see an example of how to use update_agent_dependency API.
|
2509
2509
|
"""
|
2510
2510
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2511
2511
|
required_arguments = ['agentDependencyId']
|
@@ -2625,7 +2625,7 @@ class OcbAgentSvcClient(object):
|
|
2625
2625
|
:rtype: :class:`~oci.response.Response`
|
2626
2626
|
|
2627
2627
|
:example:
|
2628
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2628
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/update_environment.py.html>`__ to see an example of how to use update_environment API.
|
2629
2629
|
"""
|
2630
2630
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2631
2631
|
required_arguments = ['environmentId']
|
@@ -2743,7 +2743,7 @@ class OcbAgentSvcClient(object):
|
|
2743
2743
|
:rtype: :class:`~oci.response.Response`
|
2744
2744
|
|
2745
2745
|
:example:
|
2746
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2746
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/cloudbridge/update_plugin.py.html>`__ to see an example of how to use update_plugin API.
|
2747
2747
|
"""
|
2748
2748
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2749
2749
|
required_arguments = ['agentId', 'pluginName']
|
@@ -309,11 +309,19 @@ class OcbAgentSvcClientCompositeOperations(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_agent, 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
|
@@ -361,11 +369,19 @@ class OcbAgentSvcClientCompositeOperations(object):
|
|
361
369
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
362
370
|
|
363
371
|
try:
|
372
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
373
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_agent_dependency, 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")
|
374
|
+
else:
|
375
|
+
"""
|
376
|
+
If the user does not send in this value, we set it to True by default.
|
377
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
378
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
379
|
+
"""
|
380
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
364
381
|
waiter_result = oci.wait_until(
|
365
382
|
self.client,
|
366
383
|
initial_get_result, # noqa: F821
|
367
384
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
368
|
-
succeed_on_not_found=True,
|
369
385
|
**waiter_kwargs
|
370
386
|
)
|
371
387
|
result_to_return = waiter_result
|
@@ -413,11 +429,19 @@ class OcbAgentSvcClientCompositeOperations(object):
|
|
413
429
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
414
430
|
|
415
431
|
try:
|
432
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
433
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_environment, 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")
|
434
|
+
else:
|
435
|
+
"""
|
436
|
+
If the user does not send in this value, we set it to True by default.
|
437
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
438
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
439
|
+
"""
|
440
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
416
441
|
waiter_result = oci.wait_until(
|
417
442
|
self.client,
|
418
443
|
initial_get_result, # noqa: F821
|
419
444
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
420
|
-
succeed_on_not_found=True,
|
421
445
|
**waiter_kwargs
|
422
446
|
)
|
423
447
|
result_to_return = waiter_result
|