oci 2.102.0__py3-none-any.whl → 2.103.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/access_governance_cp/access_governance_cp_client_composite_operations.py +9 -1
- oci/adm/application_dependency_management_client.py +18 -18
- oci/adm/application_dependency_management_client_composite_operations.py +9 -1
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.py +18 -2
- oci/ai_document/ai_service_document_client.py +3 -3
- oci/ai_language/ai_service_language_client.py +35 -35
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcement_subscription_client_composite_operations.py +9 -1
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +30 -30
- oci/artifacts/artifacts_client_composite_operations.py +36 -4
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/instance_principals_security_token_signer.py +9 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +40 -40
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/budget/budget_client_composite_operations.py +9 -1
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/certificates_management/certificates_management_client_composite_operations.py +9 -1
- oci/cims/incident_client.py +7 -7
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/discovery_client_composite_operations.py +9 -1
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/inventory_client_composite_operations.py +9 -1
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +27 -3
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_guard/cloud_guard_client_composite_operations.py +63 -7
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +36 -36
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/blockstorage_client_composite_operations.py +54 -6
- oci/core/compute_client.py +89 -89
- oci/core/compute_client_composite_operations.py +72 -8
- oci/core/compute_management_client.py +32 -32
- oci/core/compute_management_client_composite_operations.py +9 -1
- oci/core/virtual_network_client.py +241 -241
- oci/core/virtual_network_client_composite_operations.py +216 -24
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_client_composite_operations.py +9 -1
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/dashboard_service/dashboard_group_client_composite_operations.py +9 -1
- oci/data_catalog/data_catalog_client.py +139 -139
- oci/data_flow/data_flow_client.py +28 -28
- oci/data_flow/data_flow_client_composite_operations.py +18 -2
- oci/data_integration/data_integration_client.py +152 -152
- oci/data_labeling_service/data_labeling_management_client.py +16 -16
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_labeling_service_dataplane/data_labeling_client_composite_operations.py +18 -2
- oci/data_safe/data_safe_client.py +214 -214
- oci/data_safe/data_safe_client_composite_operations.py +18 -2
- oci/data_science/data_science_client.py +85 -85
- oci/data_science/data_science_client_composite_operations.py +27 -3
- oci/database/database_client.py +428 -304
- oci/database/database_client_composite_operations.py +18 -2
- oci/database/models/__init__.py +4 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_database.py +6 -2
- oci/database/models/autonomous_database_summary.py +6 -2
- oci/database/models/autonomous_virtual_machine.py +37 -2
- oci/database/models/autonomous_virtual_machine_summary.py +37 -2
- oci/database/models/autonomous_vm_cluster.py +10 -6
- oci/database/models/autonomous_vm_cluster_resource_details.py +105 -0
- oci/database/models/autonomous_vm_cluster_summary.py +10 -6
- oci/database/models/cloud_autonomous_vm_cluster.py +43 -4
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +43 -4
- oci/database/models/create_autonomous_container_database_details.py +2 -2
- oci/database/models/create_autonomous_vm_cluster_details.py +6 -2
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -2
- oci/database/models/exadata_infrastructure.py +31 -0
- oci/database/models/exadata_infrastructure_summary.py +31 -0
- oci/database/models/exadata_infrastructure_un_allocated_resources.py +260 -0
- oci/database/models/rotate_autonomous_vm_cluster_ords_certs_details.py +2 -2
- oci/database/models/rotate_autonomous_vm_cluster_ssl_certs_details.py +3 -3
- oci/database/models/rotate_cloud_autonomous_vm_cluster_ords_certs_details.py +2 -2
- oci/database/models/rotate_cloud_autonomous_vm_cluster_ssl_certs_details.py +2 -2
- oci/database/models/vm_cluster.py +31 -0
- oci/database/models/vm_cluster_summary.py +31 -0
- oci/database_management/db_management_client.py +157 -157
- oci/database_management/db_management_client_composite_operations.py +45 -5
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/sql_tuning_client.py +10 -10
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/database_migration_client_composite_operations.py +9 -1
- oci/database_tools/database_tools_client.py +19 -19
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +9 -1
- oci/dns/dns_client.py +197 -51
- oci/dns/dns_client_composite_operations.py +45 -5
- oci/dns/models/__init__.py +2 -0
- oci/dns/models/create_zone_details.py +35 -2
- oci/dns/models/external_downstream.py +137 -0
- oci/dns/models/update_zone_details.py +35 -2
- oci/dns/models/zone.py +33 -0
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/appliance_export_job_client_composite_operations.py +9 -1
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_job_client_composite_operations.py +9 -1
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/email/email_client_composite_operations.py +9 -1
- oci/events/events_client.py +6 -6
- oci/events/events_client_composite_operations.py +9 -1
- oci/file_storage/file_storage_client.py +35 -35
- oci/file_storage/file_storage_client_composite_operations.py +54 -6
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/functions/functions_management_client_composite_operations.py +18 -2
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +53 -53
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity/identity_client_composite_operations.py +63 -7
- oci/identity_data_plane/dataplane_client.py +1 -1
- oci/identity_domains/identity_domains_client.py +134 -134
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +44 -44
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/license_manager/license_manager_client_composite_operations.py +18 -2
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/limits/quotas_client_composite_operations.py +9 -1
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +22 -22
- oci/lockbox/lockbox_client_composite_operations.py +18 -2
- oci/log_analytics/log_analytics_client.py +184 -184
- oci/logging/logging_management_client.py +62 -300
- oci/logging/logging_management_client_composite_operations.py +12 -4
- oci/logging/models/__init__.py +2 -6
- oci/logging/models/archiving.py +2 -2
- oci/logging/models/category.py +2 -2
- oci/logging/models/change_log_saved_search_compartment_details.py +1 -1
- oci/logging/models/create_log_details.py +2 -2
- oci/logging/models/create_log_saved_search_details.py +1 -1
- oci/logging/models/log.py +2 -2
- oci/logging/models/log_saved_search.py +1 -1
- oci/logging/models/log_saved_search_summary.py +1 -1
- oci/logging/models/log_summary.py +2 -2
- oci/logging/models/parameter.py +77 -5
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_cri_parser.py +160 -0
- oci/logging/models/unified_agent_csv_parser.py +10 -2
- oci/logging/models/unified_agent_grok_parser.py +14 -2
- oci/logging/models/unified_agent_logging_configuration.py +6 -2
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +18 -2
- oci/logging/models/unified_agent_multiline_parser.py +10 -2
- oci/logging/models/unified_agent_none_parser.py +5 -1
- oci/logging/models/unified_agent_parser.py +51 -3
- oci/logging/models/unified_agent_regex_parser.py +10 -2
- oci/logging/models/unified_agent_syslog_parser.py +25 -1
- oci/logging/models/unified_agent_tail_log_source.py +5 -1
- oci/logging/models/unified_agent_tsv_parser.py +10 -2
- oci/logging/models/unified_agent_windows_event_source.py +5 -1
- oci/logging/models/unified_json_parser.py +9 -1
- oci/logging/models/update_log_details.py +2 -2
- oci/logging/models/update_log_saved_search_details.py +1 -1
- oci/logging/models/work_request.py +2 -2
- oci/logging/models/work_request_summary.py +2 -2
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_agent/management_agent_client_composite_operations.py +18 -2
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/management_dashboard/dashx_apis_client_composite_operations.py +18 -2
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +25 -25
- oci/marketplace/marketplace_client_composite_operations.py +9 -1
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_services_client_composite_operations.py +63 -7
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/monitoring/monitoring_client_composite_operations.py +9 -1
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +26 -26
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/mysqlaas_client_composite_operations.py +9 -1
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +17 -17
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +22 -22
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/ocvp/esxi_host_client.py +5 -5
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/ons/notification_data_plane_client_composite_operations.py +9 -1
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_assignment_client_composite_operations.py +9 -1
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/operator_access_control/operator_control_client_composite_operations.py +9 -1
- oci/opsi/operations_insights_client.py +151 -151
- oci/optimizer/optimizer_client.py +26 -26
- oci/optimizer/optimizer_client_composite_operations.py +9 -1
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management/os_management_client_composite_operations.py +27 -3
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +7 -7
- oci/recovery/database_recovery_client.py +23 -23
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_manager/resource_manager_client_composite_operations.py +45 -5
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_cluster_client.py +7 -7
- oci/rover/rover_cluster_client_composite_operations.py +9 -1
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_entitlement_client_composite_operations.py +9 -1
- oci/rover/rover_node_client.py +10 -10
- oci/rover/rover_node_client_composite_operations.py +9 -1
- oci/rover/shape_client.py +1 -1
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_catalog/service_catalog_client_composite_operations.py +9 -1
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +22 -22
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +9 -1
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_admin_client_composite_operations.py +27 -3
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +9 -9
- oci/tenant_manager_control_plane/subscription_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/rewards_client.py +6 -6
- oci/usage_api/usageapi_client.py +19 -19
- oci/usage_api/usageapi_client_composite_operations.py +9 -1
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vn_monitoring/vn_monitoring_client_composite_operations.py +9 -1
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waas/waas_client_composite_operations.py +27 -3
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/RECORD +336 -332
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,11 @@ missing = Sentinel("Missing")
|
|
18
18
|
|
19
19
|
class LoggingManagementClient(object):
|
20
20
|
"""
|
21
|
-
Use the Logging Management API to create, read, list, update, and delete
|
21
|
+
Use the Logging Management API to create, read, list, update, move and delete
|
22
|
+
log groups, log objects, log saved searches, agent configurations, log data models,
|
23
|
+
continuous queries, and managed continuous queries.
|
24
|
+
|
25
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
22
26
|
"""
|
23
27
|
|
24
28
|
def __init__(self, config, **kwargs):
|
@@ -150,7 +154,7 @@ class LoggingManagementClient(object):
|
|
150
154
|
:rtype: :class:`~oci.response.Response`
|
151
155
|
|
152
156
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/change_log_group_compartment.py.html>`__ to see an example of how to use change_log_group_compartment API.
|
154
158
|
"""
|
155
159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
160
|
required_arguments = ['logGroupId']
|
@@ -262,7 +266,7 @@ class LoggingManagementClient(object):
|
|
262
266
|
:rtype: :class:`~oci.response.Response`
|
263
267
|
|
264
268
|
:example:
|
265
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
269
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/change_log_log_group.py.html>`__ to see an example of how to use change_log_log_group API.
|
266
270
|
"""
|
267
271
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
268
272
|
required_arguments = ['logGroupId', 'logId']
|
@@ -343,7 +347,7 @@ class LoggingManagementClient(object):
|
|
343
347
|
|
344
348
|
|
345
349
|
:param str log_saved_search_id: (required)
|
346
|
-
OCID of the logSavedSearch
|
350
|
+
OCID of the logSavedSearch.
|
347
351
|
|
348
352
|
:param oci.logging.models.ChangeLogSavedSearchCompartmentDetails change_log_saved_search_compartment_details: (required)
|
349
353
|
Contains details indicating which compartment the resource should move to.
|
@@ -383,7 +387,7 @@ class LoggingManagementClient(object):
|
|
383
387
|
:rtype: :class:`~oci.response.Response`
|
384
388
|
|
385
389
|
:example:
|
386
|
-
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.103.0/logging/change_log_saved_search_compartment.py.html>`__ to see an example of how to use change_log_saved_search_compartment API.
|
387
391
|
"""
|
388
392
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
389
393
|
required_arguments = ['logSavedSearchId']
|
@@ -506,7 +510,7 @@ class LoggingManagementClient(object):
|
|
506
510
|
:rtype: :class:`~oci.response.Response`
|
507
511
|
|
508
512
|
:example:
|
509
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
513
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/change_unified_agent_configuration_compartment.py.html>`__ to see an example of how to use change_unified_agent_configuration_compartment API.
|
510
514
|
"""
|
511
515
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
512
516
|
required_arguments = ['unifiedAgentConfigurationId']
|
@@ -620,7 +624,7 @@ class LoggingManagementClient(object):
|
|
620
624
|
:rtype: :class:`~oci.response.Response`
|
621
625
|
|
622
626
|
:example:
|
623
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
627
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/create_log.py.html>`__ to see an example of how to use create_log API.
|
624
628
|
"""
|
625
629
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
626
630
|
required_arguments = ['logGroupId']
|
@@ -729,7 +733,7 @@ class LoggingManagementClient(object):
|
|
729
733
|
:rtype: :class:`~oci.response.Response`
|
730
734
|
|
731
735
|
:example:
|
732
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
736
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/create_log_group.py.html>`__ to see an example of how to use create_log_group API.
|
733
737
|
"""
|
734
738
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
735
739
|
required_arguments = []
|
@@ -795,7 +799,7 @@ class LoggingManagementClient(object):
|
|
795
799
|
|
796
800
|
|
797
801
|
:param oci.logging.models.CreateLogSavedSearchDetails create_log_saved_search_details: (required)
|
798
|
-
Specification of the
|
802
|
+
Specification of the saved search to create.
|
799
803
|
|
800
804
|
:param str opc_retry_token: (optional)
|
801
805
|
A token that uniquely identifies a request so it can be retried in case
|
@@ -825,7 +829,7 @@ class LoggingManagementClient(object):
|
|
825
829
|
:rtype: :class:`~oci.response.Response`
|
826
830
|
|
827
831
|
:example:
|
828
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
832
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/create_log_saved_search.py.html>`__ to see an example of how to use create_log_saved_search API.
|
829
833
|
"""
|
830
834
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
831
835
|
required_arguments = []
|
@@ -923,7 +927,7 @@ class LoggingManagementClient(object):
|
|
923
927
|
:rtype: :class:`~oci.response.Response`
|
924
928
|
|
925
929
|
:example:
|
926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
930
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/create_unified_agent_configuration.py.html>`__ to see an example of how to use create_unified_agent_configuration API.
|
927
931
|
"""
|
928
932
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
929
933
|
required_arguments = []
|
@@ -1021,7 +1025,7 @@ class LoggingManagementClient(object):
|
|
1021
1025
|
:rtype: :class:`~oci.response.Response`
|
1022
1026
|
|
1023
1027
|
:example:
|
1024
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1028
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/delete_log.py.html>`__ to see an example of how to use delete_log API.
|
1025
1029
|
"""
|
1026
1030
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1027
1031
|
required_arguments = ['logGroupId', 'logId']
|
@@ -1126,7 +1130,7 @@ class LoggingManagementClient(object):
|
|
1126
1130
|
:rtype: :class:`~oci.response.Response`
|
1127
1131
|
|
1128
1132
|
:example:
|
1129
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1133
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/delete_log_group.py.html>`__ to see an example of how to use delete_log_group API.
|
1130
1134
|
"""
|
1131
1135
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1132
1136
|
required_arguments = ['logGroupId']
|
@@ -1197,11 +1201,11 @@ class LoggingManagementClient(object):
|
|
1197
1201
|
|
1198
1202
|
def delete_log_saved_search(self, log_saved_search_id, **kwargs):
|
1199
1203
|
"""
|
1200
|
-
Deletes the specified
|
1204
|
+
Deletes the specified LogSavedSearch.
|
1201
1205
|
|
1202
1206
|
|
1203
1207
|
:param str log_saved_search_id: (required)
|
1204
|
-
OCID of the logSavedSearch
|
1208
|
+
OCID of the logSavedSearch.
|
1205
1209
|
|
1206
1210
|
:param str if_match: (optional)
|
1207
1211
|
For optimistic concurrency control. In the PUT or DELETE call for a
|
@@ -1230,7 +1234,7 @@ class LoggingManagementClient(object):
|
|
1230
1234
|
:rtype: :class:`~oci.response.Response`
|
1231
1235
|
|
1232
1236
|
:example:
|
1233
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1237
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/delete_log_saved_search.py.html>`__ to see an example of how to use delete_log_saved_search API.
|
1234
1238
|
"""
|
1235
1239
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1236
1240
|
required_arguments = ['logSavedSearchId']
|
@@ -1334,7 +1338,7 @@ class LoggingManagementClient(object):
|
|
1334
1338
|
:rtype: :class:`~oci.response.Response`
|
1335
1339
|
|
1336
1340
|
:example:
|
1337
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/delete_unified_agent_configuration.py.html>`__ to see an example of how to use delete_unified_agent_configuration API.
|
1338
1342
|
"""
|
1339
1343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1340
1344
|
required_arguments = ['unifiedAgentConfigurationId']
|
@@ -1438,7 +1442,7 @@ class LoggingManagementClient(object):
|
|
1438
1442
|
:rtype: :class:`~oci.response.Response`
|
1439
1443
|
|
1440
1444
|
:example:
|
1441
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1445
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/delete_work_request.py.html>`__ to see an example of how to use delete_work_request API.
|
1442
1446
|
"""
|
1443
1447
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1444
1448
|
required_arguments = ['workRequestId']
|
@@ -1538,7 +1542,7 @@ class LoggingManagementClient(object):
|
|
1538
1542
|
:rtype: :class:`~oci.response.Response`
|
1539
1543
|
|
1540
1544
|
:example:
|
1541
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1545
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/get_log.py.html>`__ to see an example of how to use get_log API.
|
1542
1546
|
"""
|
1543
1547
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1544
1548
|
required_arguments = ['logGroupId', 'logId']
|
@@ -1636,7 +1640,7 @@ class LoggingManagementClient(object):
|
|
1636
1640
|
:rtype: :class:`~oci.response.Response`
|
1637
1641
|
|
1638
1642
|
:example:
|
1639
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1643
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/get_log_group.py.html>`__ to see an example of how to use get_log_group API.
|
1640
1644
|
"""
|
1641
1645
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1642
1646
|
required_arguments = ['logGroupId']
|
@@ -1705,121 +1709,13 @@ class LoggingManagementClient(object):
|
|
1705
1709
|
api_reference_link=api_reference_link,
|
1706
1710
|
required_arguments=required_arguments)
|
1707
1711
|
|
1708
|
-
def get_log_included_search(self, compartment_id, log_included_search_id, **kwargs):
|
1709
|
-
"""
|
1710
|
-
Retrieves a LogIncludedSearch.
|
1711
|
-
|
1712
|
-
|
1713
|
-
:param str compartment_id: (required)
|
1714
|
-
Compartment OCID to list resources in. See compartmentIdInSubtree
|
1715
|
-
for nested compartments traversal.
|
1716
|
-
|
1717
|
-
:param str log_included_search_id: (required)
|
1718
|
-
OCID of the included search
|
1719
|
-
|
1720
|
-
:param str opc_request_id: (optional)
|
1721
|
-
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
1722
|
-
a particular request, please provide the request ID.
|
1723
|
-
|
1724
|
-
:param obj retry_strategy: (optional)
|
1725
|
-
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1726
|
-
|
1727
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
1728
|
-
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1729
|
-
|
1730
|
-
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1731
|
-
|
1732
|
-
:param bool allow_control_chars: (optional)
|
1733
|
-
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1734
|
-
By default, the response will not allow control characters in strings
|
1735
|
-
|
1736
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.logging.models.LogIncludedSearch`
|
1737
|
-
:rtype: :class:`~oci.response.Response`
|
1738
|
-
|
1739
|
-
:example:
|
1740
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/logging/get_log_included_search.py.html>`__ to see an example of how to use get_log_included_search API.
|
1741
|
-
"""
|
1742
|
-
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1743
|
-
required_arguments = ['logIncludedSearchId', 'compartmentId']
|
1744
|
-
resource_path = "/logIncludedSearch/{logIncludedSearchId}"
|
1745
|
-
method = "GET"
|
1746
|
-
operation_name = "get_log_included_search"
|
1747
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogIncludedSearch/GetLogIncludedSearch"
|
1748
|
-
|
1749
|
-
# Don't accept unknown kwargs
|
1750
|
-
expected_kwargs = [
|
1751
|
-
"allow_control_chars",
|
1752
|
-
"retry_strategy",
|
1753
|
-
"opc_request_id"
|
1754
|
-
]
|
1755
|
-
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1756
|
-
if extra_kwargs:
|
1757
|
-
raise ValueError(
|
1758
|
-
"get_log_included_search got unknown kwargs: {!r}".format(extra_kwargs))
|
1759
|
-
|
1760
|
-
path_params = {
|
1761
|
-
"logIncludedSearchId": log_included_search_id
|
1762
|
-
}
|
1763
|
-
|
1764
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1765
|
-
|
1766
|
-
for (k, v) in six.iteritems(path_params):
|
1767
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1768
|
-
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
1769
|
-
|
1770
|
-
query_params = {
|
1771
|
-
"compartmentId": compartment_id
|
1772
|
-
}
|
1773
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1774
|
-
|
1775
|
-
header_params = {
|
1776
|
-
"accept": "application/json",
|
1777
|
-
"content-type": "application/json",
|
1778
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1779
|
-
}
|
1780
|
-
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1781
|
-
|
1782
|
-
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1783
|
-
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1784
|
-
client_retry_strategy=self.retry_strategy
|
1785
|
-
)
|
1786
|
-
|
1787
|
-
if retry_strategy:
|
1788
|
-
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1789
|
-
self.base_client.add_opc_client_retries_header(header_params)
|
1790
|
-
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1791
|
-
return retry_strategy.make_retrying_call(
|
1792
|
-
self.base_client.call_api,
|
1793
|
-
resource_path=resource_path,
|
1794
|
-
method=method,
|
1795
|
-
path_params=path_params,
|
1796
|
-
query_params=query_params,
|
1797
|
-
header_params=header_params,
|
1798
|
-
response_type="LogIncludedSearch",
|
1799
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
1800
|
-
operation_name=operation_name,
|
1801
|
-
api_reference_link=api_reference_link,
|
1802
|
-
required_arguments=required_arguments)
|
1803
|
-
else:
|
1804
|
-
return self.base_client.call_api(
|
1805
|
-
resource_path=resource_path,
|
1806
|
-
method=method,
|
1807
|
-
path_params=path_params,
|
1808
|
-
query_params=query_params,
|
1809
|
-
header_params=header_params,
|
1810
|
-
response_type="LogIncludedSearch",
|
1811
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
1812
|
-
operation_name=operation_name,
|
1813
|
-
api_reference_link=api_reference_link,
|
1814
|
-
required_arguments=required_arguments)
|
1815
|
-
|
1816
1712
|
def get_log_saved_search(self, log_saved_search_id, **kwargs):
|
1817
1713
|
"""
|
1818
|
-
Retrieves a
|
1714
|
+
Retrieves a LogSavedSearch.
|
1819
1715
|
|
1820
1716
|
|
1821
1717
|
:param str log_saved_search_id: (required)
|
1822
|
-
OCID of the logSavedSearch
|
1718
|
+
OCID of the logSavedSearch.
|
1823
1719
|
|
1824
1720
|
:param str opc_request_id: (optional)
|
1825
1721
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
@@ -1841,7 +1737,7 @@ class LoggingManagementClient(object):
|
|
1841
1737
|
:rtype: :class:`~oci.response.Response`
|
1842
1738
|
|
1843
1739
|
:example:
|
1844
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1740
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/get_log_saved_search.py.html>`__ to see an example of how to use get_log_saved_search API.
|
1845
1741
|
"""
|
1846
1742
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1847
1743
|
required_arguments = ['logSavedSearchId']
|
@@ -1938,7 +1834,7 @@ class LoggingManagementClient(object):
|
|
1938
1834
|
:rtype: :class:`~oci.response.Response`
|
1939
1835
|
|
1940
1836
|
:example:
|
1941
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1837
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/get_unified_agent_configuration.py.html>`__ to see an example of how to use get_unified_agent_configuration API.
|
1942
1838
|
"""
|
1943
1839
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1944
1840
|
required_arguments = ['unifiedAgentConfigurationId']
|
@@ -2035,7 +1931,7 @@ class LoggingManagementClient(object):
|
|
2035
1931
|
:rtype: :class:`~oci.response.Response`
|
2036
1932
|
|
2037
1933
|
:example:
|
2038
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1934
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2039
1935
|
"""
|
2040
1936
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2041
1937
|
required_arguments = ['workRequestId']
|
@@ -2117,7 +2013,7 @@ class LoggingManagementClient(object):
|
|
2117
2013
|
Specifies whether or not nested compartments should be traversed. Defaults to false.
|
2118
2014
|
|
2119
2015
|
:param str display_name: (optional)
|
2120
|
-
Resource name
|
2016
|
+
Resource name.
|
2121
2017
|
|
2122
2018
|
:param str page: (optional)
|
2123
2019
|
For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call.
|
@@ -2159,7 +2055,7 @@ class LoggingManagementClient(object):
|
|
2159
2055
|
:rtype: :class:`~oci.response.Response`
|
2160
2056
|
|
2161
2057
|
:example:
|
2162
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2058
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_log_groups.py.html>`__ to see an example of how to use list_log_groups API.
|
2163
2059
|
"""
|
2164
2060
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2165
2061
|
required_arguments = ['compartmentId']
|
@@ -2249,154 +2145,9 @@ class LoggingManagementClient(object):
|
|
2249
2145
|
api_reference_link=api_reference_link,
|
2250
2146
|
required_arguments=required_arguments)
|
2251
2147
|
|
2252
|
-
def list_log_included_searches(self, compartment_id, **kwargs):
|
2253
|
-
"""
|
2254
|
-
Lists Logging Included Searches for this compartment.
|
2255
|
-
|
2256
|
-
|
2257
|
-
:param str compartment_id: (required)
|
2258
|
-
Compartment OCID to list resources in. See compartmentIdInSubtree
|
2259
|
-
for nested compartments traversal.
|
2260
|
-
|
2261
|
-
:param str log_included_search_id: (optional)
|
2262
|
-
OCID of the LogIncludedSearch
|
2263
|
-
|
2264
|
-
:param str display_name: (optional)
|
2265
|
-
Resource name
|
2266
|
-
|
2267
|
-
:param str page: (optional)
|
2268
|
-
For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call.
|
2269
|
-
For important details about how pagination works, see `List Pagination`__.
|
2270
|
-
|
2271
|
-
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
2272
|
-
|
2273
|
-
:param int limit: (optional)
|
2274
|
-
The maximum number of items to return in a paginated \"List\" call.
|
2275
|
-
|
2276
|
-
:param str sort_by: (optional)
|
2277
|
-
The field to sort by (one column only). Default sort order is
|
2278
|
-
ascending exception of `timeCreated` and `timeLastModified` columns (descending).
|
2279
|
-
|
2280
|
-
Allowed values are: "timeCreated", "displayName"
|
2281
|
-
|
2282
|
-
:param str sort_order: (optional)
|
2283
|
-
The sort order to use, whether 'asc' or 'desc'.
|
2284
|
-
|
2285
|
-
Allowed values are: "ASC", "DESC"
|
2286
|
-
|
2287
|
-
:param str opc_request_id: (optional)
|
2288
|
-
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
2289
|
-
a particular request, please provide the request ID.
|
2290
|
-
|
2291
|
-
:param obj retry_strategy: (optional)
|
2292
|
-
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2293
|
-
|
2294
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
2295
|
-
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2296
|
-
|
2297
|
-
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2298
|
-
|
2299
|
-
:param bool allow_control_chars: (optional)
|
2300
|
-
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2301
|
-
By default, the response will not allow control characters in strings
|
2302
|
-
|
2303
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.logging.models.LogIncludedSearchSummaryCollection`
|
2304
|
-
:rtype: :class:`~oci.response.Response`
|
2305
|
-
|
2306
|
-
:example:
|
2307
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/logging/list_log_included_searches.py.html>`__ to see an example of how to use list_log_included_searches API.
|
2308
|
-
"""
|
2309
|
-
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2310
|
-
required_arguments = ['compartmentId']
|
2311
|
-
resource_path = "/logIncludedSearches"
|
2312
|
-
method = "GET"
|
2313
|
-
operation_name = "list_log_included_searches"
|
2314
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogIncludedSearch/ListLogIncludedSearches"
|
2315
|
-
|
2316
|
-
# Don't accept unknown kwargs
|
2317
|
-
expected_kwargs = [
|
2318
|
-
"allow_control_chars",
|
2319
|
-
"retry_strategy",
|
2320
|
-
"log_included_search_id",
|
2321
|
-
"display_name",
|
2322
|
-
"page",
|
2323
|
-
"limit",
|
2324
|
-
"sort_by",
|
2325
|
-
"sort_order",
|
2326
|
-
"opc_request_id"
|
2327
|
-
]
|
2328
|
-
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2329
|
-
if extra_kwargs:
|
2330
|
-
raise ValueError(
|
2331
|
-
"list_log_included_searches got unknown kwargs: {!r}".format(extra_kwargs))
|
2332
|
-
|
2333
|
-
if 'sort_by' in kwargs:
|
2334
|
-
sort_by_allowed_values = ["timeCreated", "displayName"]
|
2335
|
-
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2336
|
-
raise ValueError(
|
2337
|
-
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
2338
|
-
)
|
2339
|
-
|
2340
|
-
if 'sort_order' in kwargs:
|
2341
|
-
sort_order_allowed_values = ["ASC", "DESC"]
|
2342
|
-
if kwargs['sort_order'] not in sort_order_allowed_values:
|
2343
|
-
raise ValueError(
|
2344
|
-
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
2345
|
-
)
|
2346
|
-
|
2347
|
-
query_params = {
|
2348
|
-
"compartmentId": compartment_id,
|
2349
|
-
"logIncludedSearchId": kwargs.get("log_included_search_id", missing),
|
2350
|
-
"displayName": kwargs.get("display_name", missing),
|
2351
|
-
"page": kwargs.get("page", missing),
|
2352
|
-
"limit": kwargs.get("limit", missing),
|
2353
|
-
"sortBy": kwargs.get("sort_by", missing),
|
2354
|
-
"sortOrder": kwargs.get("sort_order", missing)
|
2355
|
-
}
|
2356
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2357
|
-
|
2358
|
-
header_params = {
|
2359
|
-
"accept": "application/json",
|
2360
|
-
"content-type": "application/json",
|
2361
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2362
|
-
}
|
2363
|
-
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2364
|
-
|
2365
|
-
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2366
|
-
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2367
|
-
client_retry_strategy=self.retry_strategy
|
2368
|
-
)
|
2369
|
-
|
2370
|
-
if retry_strategy:
|
2371
|
-
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2372
|
-
self.base_client.add_opc_client_retries_header(header_params)
|
2373
|
-
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2374
|
-
return retry_strategy.make_retrying_call(
|
2375
|
-
self.base_client.call_api,
|
2376
|
-
resource_path=resource_path,
|
2377
|
-
method=method,
|
2378
|
-
query_params=query_params,
|
2379
|
-
header_params=header_params,
|
2380
|
-
response_type="LogIncludedSearchSummaryCollection",
|
2381
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
2382
|
-
operation_name=operation_name,
|
2383
|
-
api_reference_link=api_reference_link,
|
2384
|
-
required_arguments=required_arguments)
|
2385
|
-
else:
|
2386
|
-
return self.base_client.call_api(
|
2387
|
-
resource_path=resource_path,
|
2388
|
-
method=method,
|
2389
|
-
query_params=query_params,
|
2390
|
-
header_params=header_params,
|
2391
|
-
response_type="LogIncludedSearchSummaryCollection",
|
2392
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
2393
|
-
operation_name=operation_name,
|
2394
|
-
api_reference_link=api_reference_link,
|
2395
|
-
required_arguments=required_arguments)
|
2396
|
-
|
2397
2148
|
def list_log_saved_searches(self, compartment_id, **kwargs):
|
2398
2149
|
"""
|
2399
|
-
Lists
|
2150
|
+
Lists LogSavedSearches for this compartment.
|
2400
2151
|
|
2401
2152
|
|
2402
2153
|
:param str compartment_id: (required)
|
@@ -2404,10 +2155,10 @@ class LoggingManagementClient(object):
|
|
2404
2155
|
for nested compartments traversal.
|
2405
2156
|
|
2406
2157
|
:param str log_saved_search_id: (optional)
|
2407
|
-
OCID of the LogSavedSearch
|
2158
|
+
OCID of the LogSavedSearch.
|
2408
2159
|
|
2409
2160
|
:param str name: (optional)
|
2410
|
-
Resource name
|
2161
|
+
Resource name.
|
2411
2162
|
|
2412
2163
|
:param str page: (optional)
|
2413
2164
|
For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call.
|
@@ -2449,7 +2200,7 @@ class LoggingManagementClient(object):
|
|
2449
2200
|
:rtype: :class:`~oci.response.Response`
|
2450
2201
|
|
2451
2202
|
:example:
|
2452
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2203
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_log_saved_searches.py.html>`__ to see an example of how to use list_log_saved_searches API.
|
2453
2204
|
"""
|
2454
2205
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2455
2206
|
required_arguments = ['compartmentId']
|
@@ -2553,13 +2304,13 @@ class LoggingManagementClient(object):
|
|
2553
2304
|
Allowed values are: "CUSTOM", "SERVICE"
|
2554
2305
|
|
2555
2306
|
:param str source_service: (optional)
|
2556
|
-
Service that created the log object.
|
2307
|
+
Service that created the log object, which is a field of LogSummary.Configuration.Source.
|
2557
2308
|
|
2558
2309
|
:param str source_resource: (optional)
|
2559
|
-
Log object resource.
|
2310
|
+
Log object resource, which is a field of LogSummary.Configuration.Source.
|
2560
2311
|
|
2561
2312
|
:param str display_name: (optional)
|
2562
|
-
Resource name
|
2313
|
+
Resource name.
|
2563
2314
|
|
2564
2315
|
:param str lifecycle_state: (optional)
|
2565
2316
|
Lifecycle state of the log object
|
@@ -2606,7 +2357,7 @@ class LoggingManagementClient(object):
|
|
2606
2357
|
:rtype: :class:`~oci.response.Response`
|
2607
2358
|
|
2608
2359
|
:example:
|
2609
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2360
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_logs.py.html>`__ to see an example of how to use list_logs API.
|
2610
2361
|
"""
|
2611
2362
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2612
2363
|
required_arguments = ['logGroupId']
|
@@ -2732,6 +2483,9 @@ class LoggingManagementClient(object):
|
|
2732
2483
|
Lists all services that support logging.
|
2733
2484
|
|
2734
2485
|
|
2486
|
+
:param str service_stage: (optional)
|
2487
|
+
Service stage of a service. The allowed values are \"ProductionStage\", \"DevStage\" and \"LAStage\".
|
2488
|
+
|
2735
2489
|
:param str opc_request_id: (optional)
|
2736
2490
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
2737
2491
|
a particular request, please provide the request ID.
|
@@ -2752,7 +2506,7 @@ class LoggingManagementClient(object):
|
|
2752
2506
|
:rtype: :class:`~oci.response.Response`
|
2753
2507
|
|
2754
2508
|
:example:
|
2755
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2509
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_services.py.html>`__ to see an example of how to use list_services API.
|
2756
2510
|
"""
|
2757
2511
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2758
2512
|
required_arguments = []
|
@@ -2765,6 +2519,7 @@ class LoggingManagementClient(object):
|
|
2765
2519
|
expected_kwargs = [
|
2766
2520
|
"allow_control_chars",
|
2767
2521
|
"retry_strategy",
|
2522
|
+
"service_stage",
|
2768
2523
|
"opc_request_id"
|
2769
2524
|
]
|
2770
2525
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
@@ -2772,6 +2527,11 @@ class LoggingManagementClient(object):
|
|
2772
2527
|
raise ValueError(
|
2773
2528
|
"list_services got unknown kwargs: {!r}".format(extra_kwargs))
|
2774
2529
|
|
2530
|
+
query_params = {
|
2531
|
+
"serviceStage": kwargs.get("service_stage", missing)
|
2532
|
+
}
|
2533
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2534
|
+
|
2775
2535
|
header_params = {
|
2776
2536
|
"accept": "application/json",
|
2777
2537
|
"content-type": "application/json",
|
@@ -2792,6 +2552,7 @@ class LoggingManagementClient(object):
|
|
2792
2552
|
self.base_client.call_api,
|
2793
2553
|
resource_path=resource_path,
|
2794
2554
|
method=method,
|
2555
|
+
query_params=query_params,
|
2795
2556
|
header_params=header_params,
|
2796
2557
|
response_type="list[ServiceSummary]",
|
2797
2558
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -2802,6 +2563,7 @@ class LoggingManagementClient(object):
|
|
2802
2563
|
return self.base_client.call_api(
|
2803
2564
|
resource_path=resource_path,
|
2804
2565
|
method=method,
|
2566
|
+
query_params=query_params,
|
2805
2567
|
header_params=header_params,
|
2806
2568
|
response_type="list[ServiceSummary]",
|
2807
2569
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -2828,7 +2590,7 @@ class LoggingManagementClient(object):
|
|
2828
2590
|
The OCID of a group or a dynamic group.
|
2829
2591
|
|
2830
2592
|
:param str display_name: (optional)
|
2831
|
-
Resource name
|
2593
|
+
Resource name.
|
2832
2594
|
|
2833
2595
|
:param str lifecycle_state: (optional)
|
2834
2596
|
Lifecycle state of the log object
|
@@ -2875,7 +2637,7 @@ class LoggingManagementClient(object):
|
|
2875
2637
|
:rtype: :class:`~oci.response.Response`
|
2876
2638
|
|
2877
2639
|
:example:
|
2878
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2640
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_unified_agent_configurations.py.html>`__ to see an example of how to use list_unified_agent_configurations API.
|
2879
2641
|
"""
|
2880
2642
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2881
2643
|
required_arguments = ['compartmentId']
|
@@ -3015,7 +2777,7 @@ class LoggingManagementClient(object):
|
|
3015
2777
|
:rtype: :class:`~oci.response.Response`
|
3016
2778
|
|
3017
2779
|
:example:
|
3018
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2780
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
3019
2781
|
"""
|
3020
2782
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3021
2783
|
required_arguments = ['workRequestId']
|
@@ -3131,7 +2893,7 @@ class LoggingManagementClient(object):
|
|
3131
2893
|
:rtype: :class:`~oci.response.Response`
|
3132
2894
|
|
3133
2895
|
:example:
|
3134
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2896
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
3135
2897
|
"""
|
3136
2898
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3137
2899
|
required_arguments = ['workRequestId']
|
@@ -3268,7 +3030,7 @@ class LoggingManagementClient(object):
|
|
3268
3030
|
:rtype: :class:`~oci.response.Response`
|
3269
3031
|
|
3270
3032
|
:example:
|
3271
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3033
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
3272
3034
|
"""
|
3273
3035
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3274
3036
|
required_arguments = ['compartmentId']
|
@@ -3407,7 +3169,7 @@ class LoggingManagementClient(object):
|
|
3407
3169
|
:rtype: :class:`~oci.response.Response`
|
3408
3170
|
|
3409
3171
|
:example:
|
3410
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3172
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/update_log.py.html>`__ to see an example of how to use update_log API.
|
3411
3173
|
"""
|
3412
3174
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3413
3175
|
required_arguments = ['logGroupId', 'logId']
|
@@ -3518,7 +3280,7 @@ class LoggingManagementClient(object):
|
|
3518
3280
|
:rtype: :class:`~oci.response.Response`
|
3519
3281
|
|
3520
3282
|
:example:
|
3521
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3283
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/update_log_group.py.html>`__ to see an example of how to use update_log_group API.
|
3522
3284
|
"""
|
3523
3285
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3524
3286
|
required_arguments = ['logGroupId']
|
@@ -3591,11 +3353,11 @@ class LoggingManagementClient(object):
|
|
3591
3353
|
|
3592
3354
|
def update_log_saved_search(self, log_saved_search_id, update_log_saved_search_details, **kwargs):
|
3593
3355
|
"""
|
3594
|
-
Updates an existing
|
3356
|
+
Updates an existing LogSavedSearch.
|
3595
3357
|
|
3596
3358
|
|
3597
3359
|
:param str log_saved_search_id: (required)
|
3598
|
-
OCID of the logSavedSearch
|
3360
|
+
OCID of the logSavedSearch.
|
3599
3361
|
|
3600
3362
|
:param oci.logging.models.UpdateLogSavedSearchDetails update_log_saved_search_details: (required)
|
3601
3363
|
Updates to the saved search.
|
@@ -3627,7 +3389,7 @@ class LoggingManagementClient(object):
|
|
3627
3389
|
:rtype: :class:`~oci.response.Response`
|
3628
3390
|
|
3629
3391
|
:example:
|
3630
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3392
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/update_log_saved_search.py.html>`__ to see an example of how to use update_log_saved_search API.
|
3631
3393
|
"""
|
3632
3394
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3633
3395
|
required_arguments = ['logSavedSearchId']
|
@@ -3739,7 +3501,7 @@ class LoggingManagementClient(object):
|
|
3739
3501
|
:rtype: :class:`~oci.response.Response`
|
3740
3502
|
|
3741
3503
|
:example:
|
3742
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3504
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/logging/update_unified_agent_configuration.py.html>`__ to see an example of how to use update_unified_agent_configuration API.
|
3743
3505
|
"""
|
3744
3506
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3745
3507
|
required_arguments = ['unifiedAgentConfigurationId']
|