oci 2.116.0__py3-none-any.whl → 2.117.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/adm/application_dependency_management_client.py +41 -41
- oci/adm/models/__init__.py +4 -0
- oci/adm/models/create_vulnerability_audit_details.py +27 -0
- oci/adm/models/usage_data_details.py +92 -0
- oci/adm/models/usage_data_via_object_storage_tuple_details.py +143 -0
- oci/adm/models/vulnerability.py +33 -2
- oci/adm/models/vulnerability_audit.py +86 -0
- oci/adm/models/work_request_summary.py +35 -2
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- 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/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 +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +14 -15
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +141 -141
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +252 -252
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/fast_launch_job_config_summary.py +7 -3
- oci/data_science/models/job_shape_summary.py +7 -3
- oci/data_science/models/model_deployment_shape_summary.py +7 -3
- oci/data_science/models/notebook_session_shape_summary.py +7 -3
- oci/database/database_client.py +2092 -1268
- oci/database/database_client_composite_operations.py +222 -0
- oci/database/models/__init__.py +14 -0
- oci/database/models/autonomous_container_database.py +33 -2
- oci/database/models/autonomous_container_database_backup_config.py +2 -0
- oci/database/models/autonomous_container_database_summary.py +33 -2
- oci/database/models/autonomous_vm_cluster.py +95 -2
- oci/database/models/autonomous_vm_cluster_summary.py +95 -2
- oci/database/models/cloud_autonomous_vm_cluster.py +95 -2
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +95 -2
- oci/database/models/console_history.py +368 -0
- oci/database/models/console_history_collection.py +72 -0
- oci/database/models/console_history_summary.py +368 -0
- oci/database/models/create_cloud_vm_cluster_details.py +33 -2
- oci/database/models/create_console_history_details.py +151 -0
- oci/database/models/create_vm_cluster_details.py +33 -2
- oci/database/models/db_system_upgrade_history_entry.py +64 -2
- oci/database/models/db_system_upgrade_history_entry_summary.py +64 -2
- oci/database/models/peer_autonomous_container_database_backup_config.py +2 -0
- oci/database/models/system_version_collection.py +72 -0
- oci/database/models/system_version_summary.py +134 -0
- oci/database/models/update_autonomous_vm_cluster_details.py +95 -2
- oci/database/models/update_cloud_autonomous_vm_cluster_details.py +93 -0
- oci/database/models/update_console_history_details.py +150 -0
- oci/database/models/upgrade_db_system_details.py +31 -0
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +536 -57
- oci/golden_gate/golden_gate_client_composite_operations.py +90 -0
- oci/golden_gate/models/__init__.py +8 -0
- oci/golden_gate/models/certificate.py +713 -0
- oci/golden_gate/models/certificate_collection.py +72 -0
- oci/golden_gate/models/certificate_summary.py +269 -0
- oci/golden_gate/models/create_certificate_details.py +105 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +2 -2
- oci/golden_gate/models/create_mysql_connection_details.py +10 -12
- oci/golden_gate/models/create_postgresql_connection_details.py +8 -6
- oci/golden_gate/models/microsoft_sqlserver_connection.py +2 -2
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +2 -2
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +2 -2
- oci/golden_gate/models/update_mysql_connection_details.py +10 -12
- oci/golden_gate/models/update_postgresql_connection_details.py +8 -6
- oci/golden_gate/models/work_request.py +11 -3
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +294 -294
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +388 -192
- oci/log_analytics/models/export_details.py +15 -17
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/__init__.py +4 -2
- oci/ocvp/cluster_client.py +732 -0
- oci/ocvp/cluster_client_composite_operations.py +160 -0
- oci/ocvp/esxi_host_client.py +262 -14
- oci/ocvp/esxi_host_client_composite_operations.py +84 -1
- oci/ocvp/models/__init__.py +29 -7
- oci/ocvp/models/change_sddc_compartment_details.py +1 -1
- oci/ocvp/models/cluster.py +1026 -0
- oci/ocvp/models/cluster_collection.py +72 -0
- oci/ocvp/models/cluster_summary.py +671 -0
- oci/ocvp/models/create_cluster_details.py +658 -0
- oci/ocvp/models/create_esxi_host_details.py +112 -161
- oci/ocvp/models/create_sddc_details.py +86 -814
- oci/ocvp/models/datastore_details.py +154 -0
- oci/ocvp/models/datastore_info.py +6 -6
- oci/ocvp/models/downgrade_hcx_details.py +1 -1
- oci/ocvp/models/esxi_host.py +132 -64
- oci/ocvp/models/esxi_host_collection.py +1 -1
- oci/ocvp/models/esxi_host_summary.py +100 -63
- oci/ocvp/models/hcx_license_summary.py +1 -1
- oci/ocvp/models/initial_cluster_configuration.py +518 -0
- oci/ocvp/models/initial_configuration.py +72 -0
- oci/ocvp/models/network_configuration.py +635 -0
- oci/ocvp/models/replace_host_details.py +78 -0
- oci/ocvp/models/sddc.py +176 -1269
- oci/ocvp/models/sddc_collection.py +1 -1
- oci/ocvp/models/sddc_password.py +123 -0
- oci/ocvp/models/sddc_summary.py +55 -161
- oci/ocvp/models/supported_commitment_summary.py +96 -0
- oci/ocvp/models/supported_commitment_summary_collection.py +72 -0
- oci/ocvp/models/supported_esxi_software_version_summary.py +135 -0
- oci/ocvp/models/supported_host_shape_collection.py +1 -1
- oci/ocvp/models/supported_host_shape_summary.py +54 -54
- oci/ocvp/models/supported_vmware_software_version_collection.py +1 -1
- oci/ocvp/models/supported_vmware_software_version_summary.py +34 -3
- oci/ocvp/models/update_cluster_details.py +265 -0
- oci/ocvp/models/update_esxi_host_details.py +32 -32
- oci/ocvp/models/update_sddc_details.py +42 -377
- oci/ocvp/models/vsphere_license.py +1 -1
- oci/ocvp/models/vsphere_upgrade_object.py +1 -1
- oci/ocvp/models/work_request.py +20 -4
- oci/ocvp/models/work_request_collection.py +1 -1
- oci/ocvp/models/work_request_error.py +1 -1
- oci/ocvp/models/work_request_error_collection.py +1 -1
- oci/ocvp/models/work_request_log_entry.py +1 -1
- oci/ocvp/models/work_request_log_entry_collection.py +1 -1
- oci/ocvp/models/work_request_resource.py +1 -1
- oci/ocvp/sddc_client.py +212 -68
- oci/ocvp/sddc_client_composite_operations.py +1 -1
- oci/ocvp/work_request_client.py +10 -10
- oci/ocvp/work_request_client_composite_operations.py +1 -1
- 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/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_client.py +6 -6
- oci/opsi/models/__init__.py +22 -0
- oci/opsi/models/awr_hub_objects.py +72 -0
- oci/opsi/models/awr_hub_source.py +904 -0
- oci/opsi/models/awr_hub_source_summary.py +904 -0
- oci/opsi/models/awr_hub_source_summary_collection.py +72 -0
- oci/opsi/models/awr_hub_sources.py +72 -0
- oci/opsi/models/change_awr_hub_source_compartment_details.py +72 -0
- oci/opsi/models/change_operations_insights_warehouse_compartment_details.py +76 -0
- oci/opsi/models/create_awr_hub_details.py +1 -1
- oci/opsi/models/create_awr_hub_source_details.py +377 -0
- oci/opsi/models/list_objects.py +134 -0
- oci/opsi/models/object_summary.py +329 -0
- oci/opsi/models/update_awr_hub_source_details.py +210 -0
- oci/opsi/models/work_request.py +27 -3
- oci/opsi/operations_insights_client.py +3221 -1507
- oci/opsi/operations_insights_client_composite_operations.py +283 -0
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +66 -66
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/regions_definitions.py +12 -4
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +19 -19
- 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/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/METADATA +1 -1
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/RECORD +352 -312
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/WHEEL +0 -0
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/top_level.txt +0 -0
@@ -107,6 +107,47 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
107
107
|
except Exception as e:
|
108
108
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
109
109
|
|
110
|
+
def change_awr_hub_source_compartment_and_wait_for_state(self, awr_hub_source_id, change_awr_hub_source_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
111
|
+
"""
|
112
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.change_awr_hub_source_compartment` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
113
|
+
to enter the given state(s).
|
114
|
+
|
115
|
+
:param str awr_hub_source_id: (required)
|
116
|
+
Unique Awr Hub Source identifier
|
117
|
+
|
118
|
+
:param oci.opsi.models.ChangeAwrHubSourceCompartmentDetails change_awr_hub_source_compartment_details: (required)
|
119
|
+
The information to be updated.
|
120
|
+
|
121
|
+
:param list[str] wait_for_states:
|
122
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
123
|
+
|
124
|
+
:param dict operation_kwargs:
|
125
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.change_awr_hub_source_compartment`
|
126
|
+
|
127
|
+
:param dict waiter_kwargs:
|
128
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
129
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
130
|
+
"""
|
131
|
+
operation_result = self.client.change_awr_hub_source_compartment(awr_hub_source_id, change_awr_hub_source_compartment_details, **operation_kwargs)
|
132
|
+
if not wait_for_states:
|
133
|
+
return operation_result
|
134
|
+
|
135
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
136
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
137
|
+
|
138
|
+
try:
|
139
|
+
waiter_result = oci.wait_until(
|
140
|
+
self.client,
|
141
|
+
self.client.get_work_request(wait_for_resource_id),
|
142
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
143
|
+
**waiter_kwargs
|
144
|
+
)
|
145
|
+
result_to_return = waiter_result
|
146
|
+
|
147
|
+
return result_to_return
|
148
|
+
except Exception as e:
|
149
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
150
|
+
|
110
151
|
def change_database_insight_compartment_and_wait_for_state(self, database_insight_id, change_database_insight_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
111
152
|
"""
|
112
153
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.change_database_insight_compartment` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -355,6 +396,47 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
355
396
|
except Exception as e:
|
356
397
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
357
398
|
|
399
|
+
def change_operations_insights_warehouse_compartment_and_wait_for_state(self, operations_insights_warehouse_id, change_operations_insights_warehouse_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
400
|
+
"""
|
401
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.change_operations_insights_warehouse_compartment` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
402
|
+
to enter the given state(s).
|
403
|
+
|
404
|
+
:param str operations_insights_warehouse_id: (required)
|
405
|
+
Unique Operations Insights Warehouse identifier
|
406
|
+
|
407
|
+
:param oci.opsi.models.ChangeOperationsInsightsWarehouseCompartmentDetails change_operations_insights_warehouse_compartment_details: (required)
|
408
|
+
The information to be updated.
|
409
|
+
|
410
|
+
:param list[str] wait_for_states:
|
411
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
412
|
+
|
413
|
+
:param dict operation_kwargs:
|
414
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.change_operations_insights_warehouse_compartment`
|
415
|
+
|
416
|
+
:param dict waiter_kwargs:
|
417
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
418
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
419
|
+
"""
|
420
|
+
operation_result = self.client.change_operations_insights_warehouse_compartment(operations_insights_warehouse_id, change_operations_insights_warehouse_compartment_details, **operation_kwargs)
|
421
|
+
if not wait_for_states:
|
422
|
+
return operation_result
|
423
|
+
|
424
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
425
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
426
|
+
|
427
|
+
try:
|
428
|
+
waiter_result = oci.wait_until(
|
429
|
+
self.client,
|
430
|
+
self.client.get_work_request(wait_for_resource_id),
|
431
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
432
|
+
**waiter_kwargs
|
433
|
+
)
|
434
|
+
result_to_return = waiter_result
|
435
|
+
|
436
|
+
return result_to_return
|
437
|
+
except Exception as e:
|
438
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
439
|
+
|
358
440
|
def change_opsi_configuration_compartment_and_wait_for_state(self, opsi_configuration_id, change_opsi_configuration_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
359
441
|
"""
|
360
442
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.change_opsi_configuration_compartment` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -477,6 +559,44 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
477
559
|
except Exception as e:
|
478
560
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
479
561
|
|
562
|
+
def create_awr_hub_source_and_wait_for_state(self, create_awr_hub_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
563
|
+
"""
|
564
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.create_awr_hub_source` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
565
|
+
to enter the given state(s).
|
566
|
+
|
567
|
+
:param oci.opsi.models.CreateAwrHubSourceDetails create_awr_hub_source_details: (required)
|
568
|
+
Payload containing details to register the source database
|
569
|
+
|
570
|
+
:param list[str] wait_for_states:
|
571
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
572
|
+
|
573
|
+
:param dict operation_kwargs:
|
574
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.create_awr_hub_source`
|
575
|
+
|
576
|
+
:param dict waiter_kwargs:
|
577
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
578
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
579
|
+
"""
|
580
|
+
operation_result = self.client.create_awr_hub_source(create_awr_hub_source_details, **operation_kwargs)
|
581
|
+
if not wait_for_states:
|
582
|
+
return operation_result
|
583
|
+
|
584
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
585
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
586
|
+
|
587
|
+
try:
|
588
|
+
waiter_result = oci.wait_until(
|
589
|
+
self.client,
|
590
|
+
self.client.get_work_request(wait_for_resource_id),
|
591
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
592
|
+
**waiter_kwargs
|
593
|
+
)
|
594
|
+
result_to_return = waiter_result
|
595
|
+
|
596
|
+
return result_to_return
|
597
|
+
except Exception as e:
|
598
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
599
|
+
|
480
600
|
def create_database_insight_and_wait_for_state(self, create_database_insight_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
481
601
|
"""
|
482
602
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.create_database_insight` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -865,6 +985,52 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
865
985
|
except Exception as e:
|
866
986
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
867
987
|
|
988
|
+
def delete_awr_hub_source_and_wait_for_state(self, awr_hub_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
989
|
+
"""
|
990
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.delete_awr_hub_source` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
991
|
+
to enter the given state(s).
|
992
|
+
|
993
|
+
:param str awr_hub_source_id: (required)
|
994
|
+
Unique Awr Hub Source identifier
|
995
|
+
|
996
|
+
:param list[str] wait_for_states:
|
997
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
998
|
+
|
999
|
+
:param dict operation_kwargs:
|
1000
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.delete_awr_hub_source`
|
1001
|
+
|
1002
|
+
:param dict waiter_kwargs:
|
1003
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1004
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1005
|
+
"""
|
1006
|
+
operation_result = None
|
1007
|
+
try:
|
1008
|
+
operation_result = self.client.delete_awr_hub_source(awr_hub_source_id, **operation_kwargs)
|
1009
|
+
except oci.exceptions.ServiceError as e:
|
1010
|
+
if e.status == 404:
|
1011
|
+
return WAIT_RESOURCE_NOT_FOUND
|
1012
|
+
else:
|
1013
|
+
raise e
|
1014
|
+
|
1015
|
+
if not wait_for_states:
|
1016
|
+
return operation_result
|
1017
|
+
|
1018
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1019
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1020
|
+
|
1021
|
+
try:
|
1022
|
+
waiter_result = oci.wait_until(
|
1023
|
+
self.client,
|
1024
|
+
self.client.get_work_request(wait_for_resource_id),
|
1025
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1026
|
+
**waiter_kwargs
|
1027
|
+
)
|
1028
|
+
result_to_return = waiter_result
|
1029
|
+
|
1030
|
+
return result_to_return
|
1031
|
+
except Exception as e:
|
1032
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1033
|
+
|
868
1034
|
def delete_database_insight_and_wait_for_state(self, database_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
869
1035
|
"""
|
870
1036
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.delete_database_insight` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -1321,6 +1487,44 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
1321
1487
|
except Exception as e:
|
1322
1488
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1323
1489
|
|
1490
|
+
def disable_awr_hub_source_and_wait_for_state(self, awr_hub_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1491
|
+
"""
|
1492
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.disable_awr_hub_source` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
1493
|
+
to enter the given state(s).
|
1494
|
+
|
1495
|
+
:param str awr_hub_source_id: (required)
|
1496
|
+
Unique Awr Hub Source identifier
|
1497
|
+
|
1498
|
+
:param list[str] wait_for_states:
|
1499
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
1500
|
+
|
1501
|
+
:param dict operation_kwargs:
|
1502
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.disable_awr_hub_source`
|
1503
|
+
|
1504
|
+
:param dict waiter_kwargs:
|
1505
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1506
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1507
|
+
"""
|
1508
|
+
operation_result = self.client.disable_awr_hub_source(awr_hub_source_id, **operation_kwargs)
|
1509
|
+
if not wait_for_states:
|
1510
|
+
return operation_result
|
1511
|
+
|
1512
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1513
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1514
|
+
|
1515
|
+
try:
|
1516
|
+
waiter_result = oci.wait_until(
|
1517
|
+
self.client,
|
1518
|
+
self.client.get_work_request(wait_for_resource_id),
|
1519
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1520
|
+
**waiter_kwargs
|
1521
|
+
)
|
1522
|
+
result_to_return = waiter_result
|
1523
|
+
|
1524
|
+
return result_to_return
|
1525
|
+
except Exception as e:
|
1526
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1527
|
+
|
1324
1528
|
def disable_database_insight_and_wait_for_state(self, database_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1325
1529
|
"""
|
1326
1530
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.disable_database_insight` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -1476,6 +1680,44 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
1476
1680
|
except Exception as e:
|
1477
1681
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1478
1682
|
|
1683
|
+
def enable_awr_hub_source_and_wait_for_state(self, awr_hub_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1684
|
+
"""
|
1685
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.enable_awr_hub_source` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
1686
|
+
to enter the given state(s).
|
1687
|
+
|
1688
|
+
:param str awr_hub_source_id: (required)
|
1689
|
+
Unique Awr Hub Source identifier
|
1690
|
+
|
1691
|
+
:param list[str] wait_for_states:
|
1692
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
1693
|
+
|
1694
|
+
:param dict operation_kwargs:
|
1695
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.enable_awr_hub_source`
|
1696
|
+
|
1697
|
+
:param dict waiter_kwargs:
|
1698
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1699
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1700
|
+
"""
|
1701
|
+
operation_result = self.client.enable_awr_hub_source(awr_hub_source_id, **operation_kwargs)
|
1702
|
+
if not wait_for_states:
|
1703
|
+
return operation_result
|
1704
|
+
|
1705
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1706
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1707
|
+
|
1708
|
+
try:
|
1709
|
+
waiter_result = oci.wait_until(
|
1710
|
+
self.client,
|
1711
|
+
self.client.get_work_request(wait_for_resource_id),
|
1712
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1713
|
+
**waiter_kwargs
|
1714
|
+
)
|
1715
|
+
result_to_return = waiter_result
|
1716
|
+
|
1717
|
+
return result_to_return
|
1718
|
+
except Exception as e:
|
1719
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1720
|
+
|
1479
1721
|
def enable_database_insight_and_wait_for_state(self, enable_database_insight_details, database_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1480
1722
|
"""
|
1481
1723
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.enable_database_insight` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -1678,6 +1920,47 @@ class OperationsInsightsClientCompositeOperations(object):
|
|
1678
1920
|
except Exception as e:
|
1679
1921
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1680
1922
|
|
1923
|
+
def update_awr_hub_source_and_wait_for_state(self, update_awr_hub_source_details, awr_hub_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1924
|
+
"""
|
1925
|
+
Calls :py:func:`~oci.opsi.OperationsInsightsClient.update_awr_hub_source` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
1926
|
+
to enter the given state(s).
|
1927
|
+
|
1928
|
+
:param oci.opsi.models.UpdateAwrHubSourceDetails update_awr_hub_source_details: (required)
|
1929
|
+
The configuration to be updated.
|
1930
|
+
|
1931
|
+
:param str awr_hub_source_id: (required)
|
1932
|
+
Unique Awr Hub Source identifier
|
1933
|
+
|
1934
|
+
:param list[str] wait_for_states:
|
1935
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.opsi.models.WorkRequest.status`
|
1936
|
+
|
1937
|
+
:param dict operation_kwargs:
|
1938
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.opsi.OperationsInsightsClient.update_awr_hub_source`
|
1939
|
+
|
1940
|
+
:param dict waiter_kwargs:
|
1941
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1942
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1943
|
+
"""
|
1944
|
+
operation_result = self.client.update_awr_hub_source(update_awr_hub_source_details, awr_hub_source_id, **operation_kwargs)
|
1945
|
+
if not wait_for_states:
|
1946
|
+
return operation_result
|
1947
|
+
|
1948
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1949
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1950
|
+
|
1951
|
+
try:
|
1952
|
+
waiter_result = oci.wait_until(
|
1953
|
+
self.client,
|
1954
|
+
self.client.get_work_request(wait_for_resource_id),
|
1955
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1956
|
+
**waiter_kwargs
|
1957
|
+
)
|
1958
|
+
result_to_return = waiter_result
|
1959
|
+
|
1960
|
+
return result_to_return
|
1961
|
+
except Exception as e:
|
1962
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1963
|
+
|
1681
1964
|
def update_database_insight_and_wait_for_state(self, database_insight_id, update_database_insight_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1682
1965
|
"""
|
1683
1966
|
Calls :py:func:`~oci.opsi.OperationsInsightsClient.update_database_insight` and waits for the :py:class:`~oci.opsi.models.WorkRequest`
|
@@ -156,7 +156,7 @@ class OptimizerClient(object):
|
|
156
156
|
:rtype: :class:`~oci.response.Response`
|
157
157
|
|
158
158
|
:example:
|
159
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
159
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/bulk_apply_recommendations.py.html>`__ to see an example of how to use bulk_apply_recommendations API.
|
160
160
|
"""
|
161
161
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
162
162
|
required_arguments = ['recommendationId']
|
@@ -263,7 +263,7 @@ class OptimizerClient(object):
|
|
263
263
|
:rtype: :class:`~oci.response.Response`
|
264
264
|
|
265
265
|
:example:
|
266
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
266
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/create_profile.py.html>`__ to see an example of how to use create_profile API.
|
267
267
|
"""
|
268
268
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
269
269
|
required_arguments = []
|
@@ -360,7 +360,7 @@ class OptimizerClient(object):
|
|
360
360
|
:rtype: :class:`~oci.response.Response`
|
361
361
|
|
362
362
|
:example:
|
363
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
363
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/delete_profile.py.html>`__ to see an example of how to use delete_profile API.
|
364
364
|
"""
|
365
365
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
366
366
|
required_arguments = ['profileId']
|
@@ -505,7 +505,7 @@ class OptimizerClient(object):
|
|
505
505
|
:rtype: :class:`~oci.response.Response`
|
506
506
|
|
507
507
|
:example:
|
508
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
508
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/filter_resource_actions.py.html>`__ to see an example of how to use filter_resource_actions API.
|
509
509
|
"""
|
510
510
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
511
511
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -612,7 +612,7 @@ class OptimizerClient(object):
|
|
612
612
|
:rtype: :class:`~oci.response.Response`
|
613
613
|
|
614
614
|
:example:
|
615
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
615
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/get_category.py.html>`__ to see an example of how to use get_category API.
|
616
616
|
"""
|
617
617
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
618
618
|
required_arguments = ['categoryId']
|
@@ -709,7 +709,7 @@ class OptimizerClient(object):
|
|
709
709
|
:rtype: :class:`~oci.response.Response`
|
710
710
|
|
711
711
|
:example:
|
712
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
712
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/get_enrollment_status.py.html>`__ to see an example of how to use get_enrollment_status API.
|
713
713
|
"""
|
714
714
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
715
715
|
required_arguments = ['enrollmentStatusId']
|
@@ -806,7 +806,7 @@ class OptimizerClient(object):
|
|
806
806
|
:rtype: :class:`~oci.response.Response`
|
807
807
|
|
808
808
|
:example:
|
809
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
809
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/get_profile.py.html>`__ to see an example of how to use get_profile API.
|
810
810
|
"""
|
811
811
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
812
812
|
required_arguments = ['profileId']
|
@@ -903,7 +903,7 @@ class OptimizerClient(object):
|
|
903
903
|
:rtype: :class:`~oci.response.Response`
|
904
904
|
|
905
905
|
:example:
|
906
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
906
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/get_recommendation.py.html>`__ to see an example of how to use get_recommendation API.
|
907
907
|
"""
|
908
908
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
909
909
|
required_arguments = ['recommendationId']
|
@@ -1000,7 +1000,7 @@ class OptimizerClient(object):
|
|
1000
1000
|
:rtype: :class:`~oci.response.Response`
|
1001
1001
|
|
1002
1002
|
:example:
|
1003
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1003
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/get_resource_action.py.html>`__ to see an example of how to use get_resource_action API.
|
1004
1004
|
"""
|
1005
1005
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1006
1006
|
required_arguments = ['resourceActionId']
|
@@ -1097,7 +1097,7 @@ class OptimizerClient(object):
|
|
1097
1097
|
:rtype: :class:`~oci.response.Response`
|
1098
1098
|
|
1099
1099
|
:example:
|
1100
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1100
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1101
1101
|
"""
|
1102
1102
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1103
1103
|
required_arguments = ['workRequestId']
|
@@ -1251,7 +1251,7 @@ class OptimizerClient(object):
|
|
1251
1251
|
:rtype: :class:`~oci.response.Response`
|
1252
1252
|
|
1253
1253
|
:example:
|
1254
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1254
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_categories.py.html>`__ to see an example of how to use list_categories API.
|
1255
1255
|
"""
|
1256
1256
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1257
1257
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -1407,7 +1407,7 @@ class OptimizerClient(object):
|
|
1407
1407
|
:rtype: :class:`~oci.response.Response`
|
1408
1408
|
|
1409
1409
|
:example:
|
1410
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1410
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_enrollment_statuses.py.html>`__ to see an example of how to use list_enrollment_statuses API.
|
1411
1411
|
"""
|
1412
1412
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1413
1413
|
required_arguments = ['compartmentId']
|
@@ -1583,7 +1583,7 @@ class OptimizerClient(object):
|
|
1583
1583
|
:rtype: :class:`~oci.response.Response`
|
1584
1584
|
|
1585
1585
|
:example:
|
1586
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1586
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_histories.py.html>`__ to see an example of how to use list_histories API.
|
1587
1587
|
"""
|
1588
1588
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1589
1589
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -1751,7 +1751,7 @@ class OptimizerClient(object):
|
|
1751
1751
|
:rtype: :class:`~oci.response.Response`
|
1752
1752
|
|
1753
1753
|
:example:
|
1754
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1754
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_profile_levels.py.html>`__ to see an example of how to use list_profile_levels API.
|
1755
1755
|
"""
|
1756
1756
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1757
1757
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -1894,7 +1894,7 @@ class OptimizerClient(object):
|
|
1894
1894
|
:rtype: :class:`~oci.response.Response`
|
1895
1895
|
|
1896
1896
|
:example:
|
1897
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1897
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_profiles.py.html>`__ to see an example of how to use list_profiles API.
|
1898
1898
|
"""
|
1899
1899
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1900
1900
|
required_arguments = ['compartmentId']
|
@@ -2046,7 +2046,7 @@ class OptimizerClient(object):
|
|
2046
2046
|
:rtype: :class:`~oci.response.Response`
|
2047
2047
|
|
2048
2048
|
:example:
|
2049
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2049
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_recommendation_strategies.py.html>`__ to see an example of how to use list_recommendation_strategies API.
|
2050
2050
|
"""
|
2051
2051
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2052
2052
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -2233,7 +2233,7 @@ class OptimizerClient(object):
|
|
2233
2233
|
:rtype: :class:`~oci.response.Response`
|
2234
2234
|
|
2235
2235
|
:example:
|
2236
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2236
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_recommendations.py.html>`__ to see an example of how to use list_recommendations API.
|
2237
2237
|
"""
|
2238
2238
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2239
2239
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -2387,7 +2387,7 @@ class OptimizerClient(object):
|
|
2387
2387
|
:rtype: :class:`~oci.response.Response`
|
2388
2388
|
|
2389
2389
|
:example:
|
2390
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2390
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_resource_action_queryable_fields.py.html>`__ to see an example of how to use list_resource_action_queryable_fields API.
|
2391
2391
|
"""
|
2392
2392
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2393
2393
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -2555,7 +2555,7 @@ class OptimizerClient(object):
|
|
2555
2555
|
:rtype: :class:`~oci.response.Response`
|
2556
2556
|
|
2557
2557
|
:example:
|
2558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_resource_actions.py.html>`__ to see an example of how to use list_resource_actions API.
|
2559
2559
|
"""
|
2560
2560
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2561
2561
|
required_arguments = ['compartmentId', 'compartmentIdInSubtree']
|
@@ -2706,7 +2706,7 @@ class OptimizerClient(object):
|
|
2706
2706
|
:rtype: :class:`~oci.response.Response`
|
2707
2707
|
|
2708
2708
|
:example:
|
2709
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2709
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2710
2710
|
"""
|
2711
2711
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2712
2712
|
required_arguments = ['workRequestId']
|
@@ -2819,7 +2819,7 @@ class OptimizerClient(object):
|
|
2819
2819
|
:rtype: :class:`~oci.response.Response`
|
2820
2820
|
|
2821
2821
|
:example:
|
2822
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2822
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2823
2823
|
"""
|
2824
2824
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2825
2825
|
required_arguments = ['workRequestId']
|
@@ -2932,7 +2932,7 @@ class OptimizerClient(object):
|
|
2932
2932
|
:rtype: :class:`~oci.response.Response`
|
2933
2933
|
|
2934
2934
|
:example:
|
2935
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2935
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2936
2936
|
"""
|
2937
2937
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2938
2938
|
required_arguments = ['compartmentId']
|
@@ -3038,7 +3038,7 @@ class OptimizerClient(object):
|
|
3038
3038
|
:rtype: :class:`~oci.response.Response`
|
3039
3039
|
|
3040
3040
|
:example:
|
3041
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3041
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/update_enrollment_status.py.html>`__ to see an example of how to use update_enrollment_status API.
|
3042
3042
|
"""
|
3043
3043
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3044
3044
|
required_arguments = ['enrollmentStatusId']
|
@@ -3149,7 +3149,7 @@ class OptimizerClient(object):
|
|
3149
3149
|
:rtype: :class:`~oci.response.Response`
|
3150
3150
|
|
3151
3151
|
:example:
|
3152
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3152
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/update_profile.py.html>`__ to see an example of how to use update_profile API.
|
3153
3153
|
"""
|
3154
3154
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3155
3155
|
required_arguments = ['profileId']
|
@@ -3265,7 +3265,7 @@ class OptimizerClient(object):
|
|
3265
3265
|
:rtype: :class:`~oci.response.Response`
|
3266
3266
|
|
3267
3267
|
:example:
|
3268
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3268
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/update_recommendation.py.html>`__ to see an example of how to use update_recommendation API.
|
3269
3269
|
"""
|
3270
3270
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3271
3271
|
required_arguments = ['recommendationId']
|
@@ -3381,7 +3381,7 @@ class OptimizerClient(object):
|
|
3381
3381
|
:rtype: :class:`~oci.response.Response`
|
3382
3382
|
|
3383
3383
|
:example:
|
3384
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3384
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/optimizer/update_resource_action.py.html>`__ to see an example of how to use update_resource_action API.
|
3385
3385
|
"""
|
3386
3386
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3387
3387
|
required_arguments = ['resourceActionId']
|
@@ -164,7 +164,7 @@ class EventClient(object):
|
|
164
164
|
:rtype: :class:`~oci.response.Response`
|
165
165
|
|
166
166
|
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/delete_event_content.py.html>`__ to see an example of how to use delete_event_content API.
|
168
168
|
"""
|
169
169
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
170
|
required_arguments = ['managedInstanceId', 'eventId', 'compartmentId']
|
@@ -277,7 +277,7 @@ class EventClient(object):
|
|
277
277
|
:rtype: :class:`~oci.response.Response`
|
278
278
|
|
279
279
|
:example:
|
280
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
280
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/get_event.py.html>`__ to see an example of how to use get_event API.
|
281
281
|
"""
|
282
282
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
283
283
|
required_arguments = ['managedInstanceId', 'eventId', 'compartmentId']
|
@@ -387,7 +387,7 @@ class EventClient(object):
|
|
387
387
|
:rtype: :class:`~oci.response.Response`
|
388
388
|
|
389
389
|
:example:
|
390
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
390
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/get_event_content.py.html>`__ to see an example of how to use get_event_content API.
|
391
391
|
"""
|
392
392
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
393
393
|
required_arguments = ['managedInstanceId', 'eventId', 'compartmentId']
|
@@ -502,7 +502,7 @@ class EventClient(object):
|
|
502
502
|
:rtype: :class:`~oci.response.Response`
|
503
503
|
|
504
504
|
:example:
|
505
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
505
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/get_event_report.py.html>`__ to see an example of how to use get_event_report API.
|
506
506
|
"""
|
507
507
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
508
508
|
required_arguments = ['managedInstanceId', 'compartmentId']
|
@@ -644,7 +644,7 @@ class EventClient(object):
|
|
644
644
|
:rtype: :class:`~oci.response.Response`
|
645
645
|
|
646
646
|
:example:
|
647
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/list_events.py.html>`__ to see an example of how to use list_events API.
|
648
648
|
"""
|
649
649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
650
650
|
required_arguments = ['managedInstanceId', 'compartmentId']
|
@@ -811,7 +811,7 @@ class EventClient(object):
|
|
811
811
|
:rtype: :class:`~oci.response.Response`
|
812
812
|
|
813
813
|
:example:
|
814
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
814
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/list_related_events.py.html>`__ to see an example of how to use list_related_events API.
|
815
815
|
"""
|
816
816
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
817
817
|
required_arguments = ['eventFingerprint', 'compartmentId']
|
@@ -945,7 +945,7 @@ class EventClient(object):
|
|
945
945
|
:rtype: :class:`~oci.response.Response`
|
946
946
|
|
947
947
|
:example:
|
948
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
948
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/update_event.py.html>`__ to see an example of how to use update_event API.
|
949
949
|
"""
|
950
950
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
951
951
|
required_arguments = ['managedInstanceId', 'eventId', 'compartmentId']
|
@@ -1073,7 +1073,7 @@ class EventClient(object):
|
|
1073
1073
|
:rtype: :class:`~oci.response.Response`
|
1074
1074
|
|
1075
1075
|
:example:
|
1076
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1076
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.117.0/osmanagement/upload_event_content.py.html>`__ to see an example of how to use upload_event_content API.
|
1077
1077
|
"""
|
1078
1078
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1079
1079
|
required_arguments = ['managedInstanceId', 'eventId', 'compartmentId']
|