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
@@ -148,7 +148,7 @@ class LoggingClient(object):
|
|
148
148
|
:rtype: :class:`~oci.response.Response`
|
149
149
|
|
150
150
|
:example:
|
151
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
151
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/loggingingestion/put_logs.py.html>`__ to see an example of how to use put_logs API.
|
152
152
|
"""
|
153
153
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
154
154
|
required_arguments = ['logId']
|
@@ -150,7 +150,7 @@ class LogSearchClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/loggingsearch/search_logs.py.html>`__ to see an example of how to use search_logs API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = []
|
@@ -144,7 +144,7 @@ class ManagementAgentClient(object):
|
|
144
144
|
:rtype: :class:`~oci.response.Response`
|
145
145
|
|
146
146
|
:example:
|
147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/create_management_agent_install_key.py.html>`__ to see an example of how to use create_management_agent_install_key API.
|
148
148
|
"""
|
149
149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
150
150
|
required_arguments = []
|
@@ -240,7 +240,7 @@ class ManagementAgentClient(object):
|
|
240
240
|
:rtype: :class:`~oci.response.Response`
|
241
241
|
|
242
242
|
:example:
|
243
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
243
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/delete_management_agent.py.html>`__ to see an example of how to use delete_management_agent API.
|
244
244
|
"""
|
245
245
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
246
246
|
required_arguments = ['managementAgentId']
|
@@ -343,7 +343,7 @@ class ManagementAgentClient(object):
|
|
343
343
|
:rtype: :class:`~oci.response.Response`
|
344
344
|
|
345
345
|
:example:
|
346
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
346
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/delete_management_agent_install_key.py.html>`__ to see an example of how to use delete_management_agent_install_key API.
|
347
347
|
"""
|
348
348
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
349
349
|
required_arguments = ['managementAgentInstallKeyId']
|
@@ -446,7 +446,7 @@ class ManagementAgentClient(object):
|
|
446
446
|
:rtype: :class:`~oci.response.Response`
|
447
447
|
|
448
448
|
:example:
|
449
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
449
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/delete_work_request.py.html>`__ to see an example of how to use delete_work_request API.
|
450
450
|
"""
|
451
451
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
452
452
|
required_arguments = ['workRequestId']
|
@@ -549,7 +549,7 @@ class ManagementAgentClient(object):
|
|
549
549
|
:rtype: :class:`~oci.response.Response`
|
550
550
|
|
551
551
|
:example:
|
552
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
552
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/deploy_plugins.py.html>`__ to see an example of how to use deploy_plugins API.
|
553
553
|
"""
|
554
554
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
555
555
|
required_arguments = []
|
@@ -637,7 +637,7 @@ class ManagementAgentClient(object):
|
|
637
637
|
:rtype: :class:`~oci.response.Response`
|
638
638
|
|
639
639
|
:example:
|
640
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
640
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/get_auto_upgradable_config.py.html>`__ to see an example of how to use get_auto_upgradable_config API.
|
641
641
|
"""
|
642
642
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
643
643
|
required_arguments = ['compartmentId']
|
@@ -728,7 +728,7 @@ class ManagementAgentClient(object):
|
|
728
728
|
:rtype: :class:`~oci.response.Response`
|
729
729
|
|
730
730
|
:example:
|
731
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
731
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/get_management_agent.py.html>`__ to see an example of how to use get_management_agent API.
|
732
732
|
"""
|
733
733
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
734
734
|
required_arguments = ['managementAgentId']
|
@@ -824,7 +824,7 @@ class ManagementAgentClient(object):
|
|
824
824
|
:rtype: :class:`~oci.response.Response`
|
825
825
|
|
826
826
|
:example:
|
827
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
827
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/get_management_agent_install_key.py.html>`__ to see an example of how to use get_management_agent_install_key API.
|
828
828
|
"""
|
829
829
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
830
830
|
required_arguments = ['managementAgentInstallKeyId']
|
@@ -923,7 +923,7 @@ class ManagementAgentClient(object):
|
|
923
923
|
:rtype: :class:`~oci.response.Response`
|
924
924
|
|
925
925
|
:example:
|
926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/get_management_agent_install_key_content.py.html>`__ to see an example of how to use get_management_agent_install_key_content API.
|
927
927
|
"""
|
928
928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
929
929
|
required_arguments = ['managementAgentInstallKeyId']
|
@@ -1027,7 +1027,7 @@ class ManagementAgentClient(object):
|
|
1027
1027
|
:rtype: :class:`~oci.response.Response`
|
1028
1028
|
|
1029
1029
|
:example:
|
1030
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1030
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1031
1031
|
"""
|
1032
1032
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1033
1033
|
required_arguments = ['workRequestId']
|
@@ -1153,7 +1153,7 @@ class ManagementAgentClient(object):
|
|
1153
1153
|
:rtype: :class:`~oci.response.Response`
|
1154
1154
|
|
1155
1155
|
:example:
|
1156
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_availability_histories.py.html>`__ to see an example of how to use list_availability_histories API.
|
1157
1157
|
"""
|
1158
1158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1159
1159
|
required_arguments = ['managementAgentId']
|
@@ -1317,7 +1317,7 @@ class ManagementAgentClient(object):
|
|
1317
1317
|
:rtype: :class:`~oci.response.Response`
|
1318
1318
|
|
1319
1319
|
:example:
|
1320
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1320
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_management_agent_images.py.html>`__ to see an example of how to use list_management_agent_images API.
|
1321
1321
|
"""
|
1322
1322
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1323
1323
|
required_arguments = ['compartmentId']
|
@@ -1480,7 +1480,7 @@ class ManagementAgentClient(object):
|
|
1480
1480
|
:rtype: :class:`~oci.response.Response`
|
1481
1481
|
|
1482
1482
|
:example:
|
1483
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1483
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_management_agent_install_keys.py.html>`__ to see an example of how to use list_management_agent_install_keys API.
|
1484
1484
|
"""
|
1485
1485
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1486
1486
|
required_arguments = ['compartmentId']
|
@@ -1638,7 +1638,7 @@ class ManagementAgentClient(object):
|
|
1638
1638
|
:rtype: :class:`~oci.response.Response`
|
1639
1639
|
|
1640
1640
|
:example:
|
1641
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1641
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_management_agent_plugins.py.html>`__ to see an example of how to use list_management_agent_plugins API.
|
1642
1642
|
"""
|
1643
1643
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1644
1644
|
required_arguments = ['compartmentId']
|
@@ -1836,7 +1836,7 @@ class ManagementAgentClient(object):
|
|
1836
1836
|
:rtype: :class:`~oci.response.Response`
|
1837
1837
|
|
1838
1838
|
:example:
|
1839
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1839
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_management_agents.py.html>`__ to see an example of how to use list_management_agents API.
|
1840
1840
|
"""
|
1841
1841
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1842
1842
|
required_arguments = ['compartmentId']
|
@@ -2018,7 +2018,7 @@ class ManagementAgentClient(object):
|
|
2018
2018
|
:rtype: :class:`~oci.response.Response`
|
2019
2019
|
|
2020
2020
|
:example:
|
2021
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2021
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2022
2022
|
"""
|
2023
2023
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2024
2024
|
required_arguments = ['workRequestId']
|
@@ -2158,7 +2158,7 @@ class ManagementAgentClient(object):
|
|
2158
2158
|
:rtype: :class:`~oci.response.Response`
|
2159
2159
|
|
2160
2160
|
:example:
|
2161
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2162
2162
|
"""
|
2163
2163
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2164
2164
|
required_arguments = ['workRequestId']
|
@@ -2316,7 +2316,7 @@ class ManagementAgentClient(object):
|
|
2316
2316
|
:rtype: :class:`~oci.response.Response`
|
2317
2317
|
|
2318
2318
|
:example:
|
2319
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2319
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2320
2320
|
"""
|
2321
2321
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2322
2322
|
required_arguments = ['compartmentId']
|
@@ -2459,7 +2459,7 @@ class ManagementAgentClient(object):
|
|
2459
2459
|
:rtype: :class:`~oci.response.Response`
|
2460
2460
|
|
2461
2461
|
:example:
|
2462
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2462
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/set_auto_upgradable_config.py.html>`__ to see an example of how to use set_auto_upgradable_config API.
|
2463
2463
|
"""
|
2464
2464
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2465
2465
|
required_arguments = []
|
@@ -2568,7 +2568,7 @@ class ManagementAgentClient(object):
|
|
2568
2568
|
:rtype: :class:`~oci.response.Response`
|
2569
2569
|
|
2570
2570
|
:example:
|
2571
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2571
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/summarize_management_agent_counts.py.html>`__ to see an example of how to use summarize_management_agent_counts API.
|
2572
2572
|
"""
|
2573
2573
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2574
2574
|
required_arguments = ['compartmentId', 'groupBy']
|
@@ -2694,7 +2694,7 @@ class ManagementAgentClient(object):
|
|
2694
2694
|
:rtype: :class:`~oci.response.Response`
|
2695
2695
|
|
2696
2696
|
:example:
|
2697
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2697
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/summarize_management_agent_plugin_counts.py.html>`__ to see an example of how to use summarize_management_agent_plugin_counts API.
|
2698
2698
|
"""
|
2699
2699
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2700
2700
|
required_arguments = ['compartmentId', 'groupBy']
|
@@ -2813,7 +2813,7 @@ class ManagementAgentClient(object):
|
|
2813
2813
|
:rtype: :class:`~oci.response.Response`
|
2814
2814
|
|
2815
2815
|
:example:
|
2816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2816
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/update_management_agent.py.html>`__ to see an example of how to use update_management_agent API.
|
2817
2817
|
"""
|
2818
2818
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2819
2819
|
required_arguments = ['managementAgentId']
|
@@ -2933,7 +2933,7 @@ class ManagementAgentClient(object):
|
|
2933
2933
|
:rtype: :class:`~oci.response.Response`
|
2934
2934
|
|
2935
2935
|
:example:
|
2936
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2936
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementagent/update_management_agent_install_key.py.html>`__ to see an example of how to use update_management_agent_install_key API.
|
2937
2937
|
"""
|
2938
2938
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2939
2939
|
required_arguments = ['managementAgentInstallKeyId']
|
@@ -100,11 +100,19 @@ class ManagementAgentClientCompositeOperations(object):
|
|
100
100
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
101
101
|
|
102
102
|
try:
|
103
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
104
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_management_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")
|
105
|
+
else:
|
106
|
+
"""
|
107
|
+
If the user does not send in this value, we set it to True by default.
|
108
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
109
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
110
|
+
"""
|
111
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
103
112
|
waiter_result = oci.wait_until(
|
104
113
|
self.client,
|
105
114
|
initial_get_result, # noqa: F821
|
106
115
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
107
|
-
succeed_on_not_found=True,
|
108
116
|
**waiter_kwargs
|
109
117
|
)
|
110
118
|
result_to_return = waiter_result
|
@@ -152,11 +160,19 @@ class ManagementAgentClientCompositeOperations(object):
|
|
152
160
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
153
161
|
|
154
162
|
try:
|
163
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
164
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_management_agent_install_key, 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")
|
165
|
+
else:
|
166
|
+
"""
|
167
|
+
If the user does not send in this value, we set it to True by default.
|
168
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
169
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
170
|
+
"""
|
171
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
155
172
|
waiter_result = oci.wait_until(
|
156
173
|
self.client,
|
157
174
|
initial_get_result, # noqa: F821
|
158
175
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
159
|
-
succeed_on_not_found=True,
|
160
176
|
**waiter_kwargs
|
161
177
|
)
|
162
178
|
result_to_return = waiter_result
|
@@ -153,7 +153,7 @@ class DashxApisClient(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/managementdashboard/change_management_dashboards_compartment.py.html>`__ to see an example of how to use change_management_dashboards_compartment API.
|
157
157
|
"""
|
158
158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
159
159
|
required_arguments = ['managementDashboardId']
|
@@ -273,7 +273,7 @@ class DashxApisClient(object):
|
|
273
273
|
:rtype: :class:`~oci.response.Response`
|
274
274
|
|
275
275
|
:example:
|
276
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/change_management_saved_searches_compartment.py.html>`__ to see an example of how to use change_management_saved_searches_compartment API.
|
277
277
|
"""
|
278
278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
279
279
|
required_arguments = ['managementSavedSearchId']
|
@@ -386,7 +386,7 @@ class DashxApisClient(object):
|
|
386
386
|
:rtype: :class:`~oci.response.Response`
|
387
387
|
|
388
388
|
:example:
|
389
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/create_management_dashboard.py.html>`__ to see an example of how to use create_management_dashboard API.
|
390
390
|
"""
|
391
391
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
392
392
|
required_arguments = []
|
@@ -485,7 +485,7 @@ class DashxApisClient(object):
|
|
485
485
|
:rtype: :class:`~oci.response.Response`
|
486
486
|
|
487
487
|
:example:
|
488
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
488
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/create_management_saved_search.py.html>`__ to see an example of how to use create_management_saved_search API.
|
489
489
|
"""
|
490
490
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
491
491
|
required_arguments = []
|
@@ -581,7 +581,7 @@ class DashxApisClient(object):
|
|
581
581
|
:rtype: :class:`~oci.response.Response`
|
582
582
|
|
583
583
|
:example:
|
584
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
584
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/delete_management_dashboard.py.html>`__ to see an example of how to use delete_management_dashboard API.
|
585
585
|
"""
|
586
586
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
587
587
|
required_arguments = ['managementDashboardId']
|
@@ -684,7 +684,7 @@ class DashxApisClient(object):
|
|
684
684
|
:rtype: :class:`~oci.response.Response`
|
685
685
|
|
686
686
|
:example:
|
687
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
687
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/delete_management_saved_search.py.html>`__ to see an example of how to use delete_management_saved_search API.
|
688
688
|
"""
|
689
689
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
690
690
|
required_arguments = ['managementSavedSearchId']
|
@@ -789,7 +789,7 @@ class DashxApisClient(object):
|
|
789
789
|
:rtype: :class:`~oci.response.Response`
|
790
790
|
|
791
791
|
:example:
|
792
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
792
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/export_dashboard.py.html>`__ to see an example of how to use export_dashboard API.
|
793
793
|
"""
|
794
794
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
795
795
|
required_arguments = ['exportDashboardId']
|
@@ -895,7 +895,7 @@ class DashxApisClient(object):
|
|
895
895
|
:rtype: :class:`~oci.response.Response`
|
896
896
|
|
897
897
|
:example:
|
898
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
898
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/get_management_dashboard.py.html>`__ to see an example of how to use get_management_dashboard API.
|
899
899
|
"""
|
900
900
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
901
901
|
required_arguments = ['managementDashboardId']
|
@@ -1001,7 +1001,7 @@ class DashxApisClient(object):
|
|
1001
1001
|
:rtype: :class:`~oci.response.Response`
|
1002
1002
|
|
1003
1003
|
:example:
|
1004
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1004
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/get_management_saved_search.py.html>`__ to see an example of how to use get_management_saved_search API.
|
1005
1005
|
"""
|
1006
1006
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1007
1007
|
required_arguments = ['managementSavedSearchId']
|
@@ -1119,7 +1119,7 @@ class DashxApisClient(object):
|
|
1119
1119
|
:rtype: :class:`~oci.response.Response`
|
1120
1120
|
|
1121
1121
|
:example:
|
1122
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1122
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/import_dashboard.py.html>`__ to see an example of how to use import_dashboard API.
|
1123
1123
|
"""
|
1124
1124
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1125
1125
|
required_arguments = []
|
@@ -1227,7 +1227,7 @@ class DashxApisClient(object):
|
|
1227
1227
|
:rtype: :class:`~oci.response.Response`
|
1228
1228
|
|
1229
1229
|
:example:
|
1230
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1230
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/list_management_dashboards.py.html>`__ to see an example of how to use list_management_dashboards API.
|
1231
1231
|
"""
|
1232
1232
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1233
1233
|
required_arguments = ['compartmentId']
|
@@ -1361,7 +1361,7 @@ class DashxApisClient(object):
|
|
1361
1361
|
:rtype: :class:`~oci.response.Response`
|
1362
1362
|
|
1363
1363
|
:example:
|
1364
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1364
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/list_management_saved_searches.py.html>`__ to see an example of how to use list_management_saved_searches API.
|
1365
1365
|
"""
|
1366
1366
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1367
1367
|
required_arguments = ['compartmentId']
|
@@ -1493,7 +1493,7 @@ class DashxApisClient(object):
|
|
1493
1493
|
:rtype: :class:`~oci.response.Response`
|
1494
1494
|
|
1495
1495
|
:example:
|
1496
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1496
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/update_management_dashboard.py.html>`__ to see an example of how to use update_management_dashboard API.
|
1497
1497
|
"""
|
1498
1498
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1499
1499
|
required_arguments = ['managementDashboardId']
|
@@ -1613,7 +1613,7 @@ class DashxApisClient(object):
|
|
1613
1613
|
:rtype: :class:`~oci.response.Response`
|
1614
1614
|
|
1615
1615
|
:example:
|
1616
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1616
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/managementdashboard/update_management_saved_search.py.html>`__ to see an example of how to use update_management_saved_search API.
|
1617
1617
|
"""
|
1618
1618
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1619
1619
|
required_arguments = ['managementSavedSearchId']
|
@@ -235,11 +235,19 @@ class DashxApisClientCompositeOperations(object):
|
|
235
235
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
236
236
|
|
237
237
|
try:
|
238
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
239
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_management_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")
|
240
|
+
else:
|
241
|
+
"""
|
242
|
+
If the user does not send in this value, we set it to True by default.
|
243
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
244
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
245
|
+
"""
|
246
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
238
247
|
waiter_result = oci.wait_until(
|
239
248
|
self.client,
|
240
249
|
initial_get_result, # noqa: F821
|
241
250
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
242
|
-
succeed_on_not_found=True,
|
243
251
|
**waiter_kwargs
|
244
252
|
)
|
245
253
|
result_to_return = waiter_result
|
@@ -287,11 +295,19 @@ class DashxApisClientCompositeOperations(object):
|
|
287
295
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
288
296
|
|
289
297
|
try:
|
298
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
299
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_management_saved_search, 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")
|
300
|
+
else:
|
301
|
+
"""
|
302
|
+
If the user does not send in this value, we set it to True by default.
|
303
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
304
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
305
|
+
"""
|
306
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
290
307
|
waiter_result = oci.wait_until(
|
291
308
|
self.client,
|
292
309
|
initial_get_result, # noqa: F821
|
293
310
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
294
|
-
succeed_on_not_found=True,
|
295
311
|
**waiter_kwargs
|
296
312
|
)
|
297
313
|
result_to_return = waiter_result
|
@@ -140,7 +140,7 @@ class AccountClient(object):
|
|
140
140
|
:rtype: :class:`~oci.response.Response`
|
141
141
|
|
142
142
|
:example:
|
143
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
143
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/marketplace/get_launch_eligibility.py.html>`__ to see an example of how to use get_launch_eligibility API.
|
144
144
|
"""
|
145
145
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
146
146
|
required_arguments = ['compartmentId', 'imageId']
|
@@ -235,7 +235,7 @@ class AccountClient(object):
|
|
235
235
|
:rtype: :class:`~oci.response.Response`
|
236
236
|
|
237
237
|
:example:
|
238
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
238
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/marketplace/get_third_party_paid_listing_eligibility.py.html>`__ to see an example of how to use get_third_party_paid_listing_eligibility API.
|
239
239
|
"""
|
240
240
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
241
241
|
required_arguments = ['compartmentId']
|