pulumi-oci 1.37.0a1715927489__py3-none-any.whl → 1.38.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.
- pulumi_oci/__init__.py +48 -0
- pulumi_oci/adm/_inputs.py +6 -6
- pulumi_oci/adm/outputs.py +6 -6
- pulumi_oci/aianomalydetection/_inputs.py +10 -8
- pulumi_oci/aianomalydetection/outputs.py +22 -8
- pulumi_oci/aidocument/_inputs.py +22 -18
- pulumi_oci/aidocument/outputs.py +36 -18
- pulumi_oci/ailanguage/_inputs.py +4 -20
- pulumi_oci/ailanguage/model.py +4 -4
- pulumi_oci/ailanguage/outputs.py +4 -20
- pulumi_oci/aivision/_inputs.py +0 -16
- pulumi_oci/aivision/outputs.py +0 -16
- pulumi_oci/analytics/_inputs.py +2 -2
- pulumi_oci/analytics/outputs.py +2 -2
- pulumi_oci/apigateway/_inputs.py +206 -414
- pulumi_oci/apigateway/outputs.py +206 -414
- pulumi_oci/apmconfig/_inputs.py +4 -4
- pulumi_oci/apmconfig/config.py +7 -7
- pulumi_oci/apmconfig/outputs.py +4 -4
- pulumi_oci/apmsynthetics/_inputs.py +18 -26
- pulumi_oci/apmsynthetics/config.py +7 -7
- pulumi_oci/apmsynthetics/outputs.py +18 -26
- pulumi_oci/autoscaling/_inputs.py +14 -16
- pulumi_oci/autoscaling/auto_scaling_configuration.py +20 -7
- pulumi_oci/autoscaling/outputs.py +14 -16
- pulumi_oci/bigdataservice/__init__.py +1 -0
- pulumi_oci/bigdataservice/_inputs.py +135 -46
- pulumi_oci/bigdataservice/bds_instance.py +4 -4
- pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +239 -0
- pulumi_oci/bigdataservice/outputs.py +206 -50
- pulumi_oci/certificatesmanagement/_inputs.py +16 -16
- pulumi_oci/certificatesmanagement/certificate.py +16 -16
- pulumi_oci/certificatesmanagement/certificate_authority.py +8 -8
- pulumi_oci/certificatesmanagement/outputs.py +16 -16
- pulumi_oci/cloudbridge/_inputs.py +18 -18
- pulumi_oci/cloudbridge/outputs.py +18 -18
- pulumi_oci/cloudguard/__init__.py +9 -0
- pulumi_oci/cloudguard/_inputs.py +1066 -488
- pulumi_oci/cloudguard/adhoc_query.py +596 -0
- pulumi_oci/cloudguard/cloud_guard_configuration.py +25 -57
- pulumi_oci/cloudguard/cloud_guard_data_source.py +54 -38
- pulumi_oci/cloudguard/data_mask_rule.py +62 -62
- pulumi_oci/cloudguard/detector_recipe.py +95 -53
- pulumi_oci/cloudguard/get_adhoc_queries.py +253 -0
- pulumi_oci/cloudguard/get_adhoc_query.py +249 -0
- pulumi_oci/cloudguard/get_cloud_guard_configuration.py +9 -7
- pulumi_oci/cloudguard/get_data_mask_rule.py +14 -14
- pulumi_oci/cloudguard/get_data_mask_rules.py +17 -17
- pulumi_oci/cloudguard/get_data_source.py +10 -10
- pulumi_oci/cloudguard/get_data_source_events.py +11 -7
- pulumi_oci/cloudguard/get_data_sources.py +24 -20
- pulumi_oci/cloudguard/get_detector_recipe.py +28 -15
- pulumi_oci/cloudguard/get_detector_recipes.py +13 -13
- pulumi_oci/cloudguard/get_guard_target.py +14 -14
- pulumi_oci/cloudguard/get_guard_targets.py +19 -17
- pulumi_oci/cloudguard/get_managed_list.py +14 -14
- pulumi_oci/cloudguard/get_managed_lists.py +16 -16
- pulumi_oci/cloudguard/get_problem_entities.py +5 -3
- pulumi_oci/cloudguard/get_responder_recipe.py +13 -13
- pulumi_oci/cloudguard/get_responder_recipes.py +15 -13
- pulumi_oci/cloudguard/get_saved_queries.py +190 -0
- pulumi_oci/cloudguard/get_saved_query.py +235 -0
- pulumi_oci/cloudguard/get_security_policies.py +14 -12
- pulumi_oci/cloudguard/get_security_policy.py +12 -8
- pulumi_oci/cloudguard/get_security_recipe.py +9 -9
- pulumi_oci/cloudguard/get_security_recipes.py +14 -12
- pulumi_oci/cloudguard/get_security_zone.py +8 -8
- pulumi_oci/cloudguard/get_security_zones.py +17 -15
- pulumi_oci/cloudguard/get_wlp_agent.py +258 -0
- pulumi_oci/cloudguard/get_wlp_agents.py +136 -0
- pulumi_oci/cloudguard/managed_list.py +57 -57
- pulumi_oci/cloudguard/outputs.py +3493 -1808
- pulumi_oci/cloudguard/responder_recipe.py +41 -39
- pulumi_oci/cloudguard/saved_query.py +595 -0
- pulumi_oci/cloudguard/security_recipe.py +43 -27
- pulumi_oci/cloudguard/security_zone.py +22 -20
- pulumi_oci/cloudguard/target.py +54 -54
- pulumi_oci/cloudguard/wlp_agent.py +654 -0
- pulumi_oci/cloudmigrations/_inputs.py +222 -496
- pulumi_oci/cloudmigrations/outputs.py +222 -496
- pulumi_oci/cloudmigrations/target_asset.py +15 -15
- pulumi_oci/clusterplacementgroups/_inputs.py +2 -2
- pulumi_oci/clusterplacementgroups/outputs.py +2 -2
- pulumi_oci/computecloud/at_customer_ccc_upgrade_schedule.py +7 -7
- pulumi_oci/containerengine/_inputs.py +22 -22
- pulumi_oci/containerengine/container_instance.py +21 -21
- pulumi_oci/containerengine/outputs.py +22 -22
- pulumi_oci/containerengine/virtual_node_pool.py +7 -35
- pulumi_oci/core/_inputs.py +404 -670
- pulumi_oci/core/boot_volume.py +7 -7
- pulumi_oci/core/cluster_network.py +22 -22
- pulumi_oci/core/cross_connect_group.py +4 -20
- pulumi_oci/core/drg_route_table_route_rule.py +7 -0
- pulumi_oci/core/get_image.py +4 -0
- pulumi_oci/core/get_instance.py +4 -0
- pulumi_oci/core/get_public_ip.py +4 -0
- pulumi_oci/core/get_public_ips.py +8 -0
- pulumi_oci/core/get_vtap.py +2 -0
- pulumi_oci/core/get_vtaps.py +2 -0
- pulumi_oci/core/image.py +56 -0
- pulumi_oci/core/instance.py +48 -48
- pulumi_oci/core/instance_configuration.py +70 -28
- pulumi_oci/core/instance_pool.py +7 -7
- pulumi_oci/core/ipsec_connection_tunnel_management.py +8 -8
- pulumi_oci/core/network_security_group_security_rule.py +28 -105
- pulumi_oci/core/outputs.py +748 -668
- pulumi_oci/core/public_ip.py +8 -0
- pulumi_oci/core/vnic_attachment.py +8 -24
- pulumi_oci/core/volume.py +7 -7
- pulumi_oci/core/volume_group.py +7 -7
- pulumi_oci/core/vtap.py +14 -0
- pulumi_oci/database/_inputs.py +188 -220
- pulumi_oci/database/autonomous_database.py +21 -7
- pulumi_oci/database/autonomous_database_wallet.py +28 -0
- pulumi_oci/database/backup_destination.py +11 -11
- pulumi_oci/database/cloud_database_management.py +14 -0
- pulumi_oci/database/database.py +28 -44
- pulumi_oci/database/database_upgrade.py +4 -4
- pulumi_oci/database/db_home.py +0 -13
- pulumi_oci/database/get_autonomous_database_wallet.py +8 -0
- pulumi_oci/database/outputs.py +188 -220
- pulumi_oci/database/vm_cluster_network.py +4 -4
- pulumi_oci/databasemanagement/_inputs.py +8 -8
- pulumi_oci/databasemanagement/outputs.py +8 -8
- pulumi_oci/databasemigration/_inputs.py +34 -34
- pulumi_oci/databasemigration/connection.py +7 -7
- pulumi_oci/databasemigration/migration.py +7 -7
- pulumi_oci/databasemigration/outputs.py +34 -34
- pulumi_oci/databasetools/_inputs.py +12 -36
- pulumi_oci/databasetools/database_tools_connection.py +4 -4
- pulumi_oci/databasetools/database_tools_private_endpoint.py +4 -4
- pulumi_oci/databasetools/outputs.py +12 -36
- pulumi_oci/dataintegration/_inputs.py +318 -330
- pulumi_oci/dataintegration/outputs.py +318 -330
- pulumi_oci/dataintegration/workspace_application.py +7 -7
- pulumi_oci/dataintegration/workspace_application_patch.py +7 -7
- pulumi_oci/dataintegration/workspace_application_schedule.py +11 -11
- pulumi_oci/dataintegration/workspace_application_task_schedule.py +29 -29
- pulumi_oci/dataintegration/workspace_folder.py +7 -7
- pulumi_oci/dataintegration/workspace_project.py +7 -7
- pulumi_oci/dataintegration/workspace_task.py +47 -47
- pulumi_oci/datalabellingservice/_inputs.py +10 -10
- pulumi_oci/datalabellingservice/outputs.py +10 -10
- pulumi_oci/datasafe/__init__.py +2 -0
- pulumi_oci/datasafe/_inputs.py +72 -80
- pulumi_oci/datasafe/library_masing_format.py +7 -7
- pulumi_oci/datasafe/masking_policies_masking_column.py +7 -7
- pulumi_oci/datasafe/masking_policy.py +7 -7
- pulumi_oci/datasafe/outputs.py +72 -80
- pulumi_oci/datasafe/report_definition.py +8 -24
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/target_database.py +21 -21
- pulumi_oci/datascience/_inputs.py +337 -65
- pulumi_oci/datascience/get_job_run.py +11 -1
- pulumi_oci/datascience/get_model_deployment.py +11 -1
- pulumi_oci/datascience/get_pipeline.py +3 -0
- pulumi_oci/datascience/get_pipeline_run.py +14 -1
- pulumi_oci/datascience/job_run.py +52 -3
- pulumi_oci/datascience/model_deployment.py +51 -2
- pulumi_oci/datascience/outputs.py +767 -104
- pulumi_oci/datascience/pipeline.py +34 -14
- pulumi_oci/datascience/pipeline_run.py +65 -0
- pulumi_oci/devops/_inputs.py +80 -462
- pulumi_oci/devops/deploy_stage.py +4 -4
- pulumi_oci/devops/deployment.py +7 -7
- pulumi_oci/devops/outputs.py +208 -1141
- pulumi_oci/disasterrecovery/_inputs.py +6 -6
- pulumi_oci/disasterrecovery/dr_plan_execution.py +4 -4
- pulumi_oci/disasterrecovery/dr_protection_group.py +4 -4
- pulumi_oci/disasterrecovery/outputs.py +6 -6
- pulumi_oci/dns/_inputs.py +20 -8
- pulumi_oci/dns/outputs.py +42 -8
- pulumi_oci/dns/rrset.py +7 -7
- pulumi_oci/dns/steering_policy.py +42 -0
- pulumi_oci/events/_inputs.py +4 -12
- pulumi_oci/events/outputs.py +4 -12
- pulumi_oci/events/rule.py +7 -7
- pulumi_oci/functions/_inputs.py +2 -2
- pulumi_oci/functions/outputs.py +2 -2
- pulumi_oci/goldengate/_inputs.py +2 -4
- pulumi_oci/goldengate/outputs.py +2 -4
- pulumi_oci/identity/_inputs.py +4860 -5954
- pulumi_oci/identity/domains_api_key.py +70 -70
- pulumi_oci/identity/domains_app.py +119 -140
- pulumi_oci/identity/domains_auth_token.py +21 -21
- pulumi_oci/identity/domains_cloud_gate.py +49 -49
- pulumi_oci/identity/domains_customer_secret_key.py +21 -21
- pulumi_oci/identity/domains_my_api_key.py +70 -70
- pulumi_oci/identity/domains_my_auth_token.py +21 -21
- pulumi_oci/identity/domains_my_customer_secret_key.py +21 -21
- pulumi_oci/identity/domains_my_oauth2client_credential.py +49 -70
- pulumi_oci/identity/domains_my_smtp_credential.py +21 -21
- pulumi_oci/identity/domains_my_support_account.py +21 -21
- pulumi_oci/identity/domains_my_user_db_credential.py +37 -41
- pulumi_oci/identity/domains_oauth2client_credential.py +49 -70
- pulumi_oci/identity/domains_policy.py +35 -49
- pulumi_oci/identity/domains_rule.py +28 -21
- pulumi_oci/identity/domains_setting.py +35 -21
- pulumi_oci/identity/domains_smtp_credential.py +21 -21
- pulumi_oci/identity/domains_user.py +189 -175
- pulumi_oci/identity/domains_user_db_credential.py +37 -41
- pulumi_oci/identity/outputs.py +4913 -6007
- pulumi_oci/integration/_inputs.py +4 -0
- pulumi_oci/integration/outputs.py +16 -4
- pulumi_oci/jms/_inputs.py +0 -8
- pulumi_oci/jms/get_java_downloads_java_download_report.py +28 -2
- pulumi_oci/jms/get_java_downloads_java_download_token.py +4 -4
- pulumi_oci/jms/get_java_downloads_java_license_acceptance_record.py +2 -2
- pulumi_oci/jms/java_downloads_java_download_report.py +96 -6
- pulumi_oci/jms/java_downloads_java_download_token.py +14 -12
- pulumi_oci/jms/java_downloads_java_license_acceptance_record.py +41 -16
- pulumi_oci/jms/outputs.py +38 -24
- pulumi_oci/kms/_inputs.py +6 -6
- pulumi_oci/kms/outputs.py +6 -6
- pulumi_oci/loadbalancer/_inputs.py +18 -30
- pulumi_oci/loadbalancer/load_balancer_routing_policy.py +7 -35
- pulumi_oci/loadbalancer/outputs.py +18 -30
- pulumi_oci/loganalytics/_inputs.py +26 -34
- pulumi_oci/loganalytics/outputs.py +26 -34
- pulumi_oci/logging/_inputs.py +60 -60
- pulumi_oci/logging/outputs.py +60 -60
- pulumi_oci/managementagent/_inputs.py +2 -46
- pulumi_oci/managementagent/outputs.py +2 -46
- pulumi_oci/marketplace/_inputs.py +6 -6
- pulumi_oci/marketplace/outputs.py +6 -6
- pulumi_oci/marketplace/publication.py +11 -11
- pulumi_oci/mediaservices/_inputs.py +8 -32
- pulumi_oci/mediaservices/media_asset.py +18 -18
- pulumi_oci/mediaservices/media_workflow.py +22 -38
- pulumi_oci/mediaservices/media_workflow_configuration.py +11 -11
- pulumi_oci/mediaservices/media_workflow_job.py +11 -11
- pulumi_oci/mediaservices/outputs.py +8 -32
- pulumi_oci/mediaservices/stream_cdn_config.py +4 -4
- pulumi_oci/mediaservices/stream_distribution_channel.py +11 -11
- pulumi_oci/mediaservices/stream_packaging_config.py +4 -4
- pulumi_oci/meteringcomputation/_inputs.py +2 -2
- pulumi_oci/meteringcomputation/outputs.py +2 -2
- pulumi_oci/meteringcomputation/usage_statement_email_recipients_group.py +4 -4
- pulumi_oci/monitoring/_inputs.py +4 -4
- pulumi_oci/monitoring/alarm.py +21 -0
- pulumi_oci/monitoring/get_alarm.py +3 -0
- pulumi_oci/monitoring/outputs.py +10 -4
- pulumi_oci/mysql/_inputs.py +30 -22
- pulumi_oci/mysql/outputs.py +30 -22
- pulumi_oci/mysql/replica.py +12 -28
- pulumi_oci/networkfirewall/get_network_firewall_policy_mapped_secret.py +2 -0
- pulumi_oci/networkfirewall/network_firewall_policy_mapped_secret.py +14 -0
- pulumi_oci/networkfirewall/outputs.py +4 -0
- pulumi_oci/networkloadbalancer/_inputs.py +10 -26
- pulumi_oci/networkloadbalancer/outputs.py +10 -26
- pulumi_oci/nosql/_inputs.py +4 -12
- pulumi_oci/nosql/outputs.py +4 -12
- pulumi_oci/objectstorage/_inputs.py +4 -4
- pulumi_oci/objectstorage/outputs.py +4 -4
- pulumi_oci/ocvp/_inputs.py +86 -42
- pulumi_oci/ocvp/get_retrieve_password.py +1 -0
- pulumi_oci/ocvp/outputs.py +86 -42
- pulumi_oci/ocvp/sddc.py +49 -77
- pulumi_oci/ons/subscription.py +63 -0
- pulumi_oci/opa/_inputs.py +6 -2
- pulumi_oci/opa/outputs.py +18 -6
- pulumi_oci/opsi/_inputs.py +6 -6
- pulumi_oci/opsi/exadata_insight.py +28 -28
- pulumi_oci/opsi/outputs.py +6 -6
- pulumi_oci/optimizer/_inputs.py +4 -4
- pulumi_oci/optimizer/outputs.py +4 -4
- pulumi_oci/osmanagement/_inputs.py +2 -10
- pulumi_oci/osmanagement/outputs.py +2 -10
- pulumi_oci/osmanagementhub/_inputs.py +24 -8
- pulumi_oci/osmanagementhub/event.py +32 -0
- pulumi_oci/osmanagementhub/get_event.py +8 -0
- pulumi_oci/osmanagementhub/get_events.py +8 -0
- pulumi_oci/osmanagementhub/lifecycle_environment.py +14 -14
- pulumi_oci/osmanagementhub/outputs.py +40 -8
- pulumi_oci/osmanagementhub/software_source.py +7 -7
- pulumi_oci/ospgateway/_inputs.py +96 -96
- pulumi_oci/ospgateway/outputs.py +96 -96
- pulumi_oci/ospgateway/subscription.py +80 -80
- pulumi_oci/psql/_inputs.py +10 -18
- pulumi_oci/psql/db_system.py +14 -14
- pulumi_oci/psql/outputs.py +10 -18
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/queue/get_queue.py +9 -9
- pulumi_oci/queue/outputs.py +5 -5
- pulumi_oci/queue/queue.py +77 -26
- pulumi_oci/sch/_inputs.py +26 -26
- pulumi_oci/sch/connector.py +7 -7
- pulumi_oci/sch/outputs.py +26 -26
- pulumi_oci/servicecatalog/private_application.py +4 -4
- pulumi_oci/servicemesh/_inputs.py +8 -24
- pulumi_oci/servicemesh/ingress_gateway_route_table.py +7 -7
- pulumi_oci/servicemesh/outputs.py +8 -24
- pulumi_oci/stackmonitoring/_inputs.py +40 -56
- pulumi_oci/stackmonitoring/metric_extension.py +18 -18
- pulumi_oci/stackmonitoring/monitored_resource.py +7 -7
- pulumi_oci/stackmonitoring/outputs.py +40 -56
- pulumi_oci/visualbuilder/_inputs.py +6 -2
- pulumi_oci/visualbuilder/outputs.py +18 -6
- pulumi_oci/vnmonitoring/_inputs.py +10 -42
- pulumi_oci/vnmonitoring/outputs.py +10 -42
- pulumi_oci/vulnerabilityscanning/_inputs.py +4 -4
- pulumi_oci/vulnerabilityscanning/container_scan_target.py +7 -7
- pulumi_oci/vulnerabilityscanning/outputs.py +4 -4
- pulumi_oci/waas/_inputs.py +133 -205
- pulumi_oci/waas/outputs.py +133 -205
- pulumi_oci/waas/policy.py +7 -7
- pulumi_oci/waas/protection_rule.py +7 -7
- pulumi_oci/waf/_inputs.py +36 -30
- pulumi_oci/waf/network_address_list.py +7 -7
- pulumi_oci/waf/outputs.py +36 -30
- {pulumi_oci-1.37.0a1715927489.dist-info → pulumi_oci-1.38.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.37.0a1715927489.dist-info → pulumi_oci-1.38.0.dist-info}/RECORD +315 -303
- {pulumi_oci-1.37.0a1715927489.dist-info → pulumi_oci-1.38.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.37.0a1715927489.dist-info → pulumi_oci-1.38.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,253 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetAdhocQueriesResult',
|
16
|
+
'AwaitableGetAdhocQueriesResult',
|
17
|
+
'get_adhoc_queries',
|
18
|
+
'get_adhoc_queries_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetAdhocQueriesResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getAdhocQueries.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, access_level=None, adhoc_query_collections=None, adhoc_query_status=None, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, time_ended_filter_query_param=None, time_started_filter_query_param=None):
|
27
|
+
if access_level and not isinstance(access_level, str):
|
28
|
+
raise TypeError("Expected argument 'access_level' to be a str")
|
29
|
+
pulumi.set(__self__, "access_level", access_level)
|
30
|
+
if adhoc_query_collections and not isinstance(adhoc_query_collections, list):
|
31
|
+
raise TypeError("Expected argument 'adhoc_query_collections' to be a list")
|
32
|
+
pulumi.set(__self__, "adhoc_query_collections", adhoc_query_collections)
|
33
|
+
if adhoc_query_status and not isinstance(adhoc_query_status, str):
|
34
|
+
raise TypeError("Expected argument 'adhoc_query_status' to be a str")
|
35
|
+
pulumi.set(__self__, "adhoc_query_status", adhoc_query_status)
|
36
|
+
if compartment_id and not isinstance(compartment_id, str):
|
37
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
38
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
39
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
40
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
41
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
42
|
+
if filters and not isinstance(filters, list):
|
43
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
44
|
+
pulumi.set(__self__, "filters", filters)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
48
|
+
if time_ended_filter_query_param and not isinstance(time_ended_filter_query_param, str):
|
49
|
+
raise TypeError("Expected argument 'time_ended_filter_query_param' to be a str")
|
50
|
+
pulumi.set(__self__, "time_ended_filter_query_param", time_ended_filter_query_param)
|
51
|
+
if time_started_filter_query_param and not isinstance(time_started_filter_query_param, str):
|
52
|
+
raise TypeError("Expected argument 'time_started_filter_query_param' to be a str")
|
53
|
+
pulumi.set(__self__, "time_started_filter_query_param", time_started_filter_query_param)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="accessLevel")
|
57
|
+
def access_level(self) -> Optional[str]:
|
58
|
+
return pulumi.get(self, "access_level")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="adhocQueryCollections")
|
62
|
+
def adhoc_query_collections(self) -> Sequence['outputs.GetAdhocQueriesAdhocQueryCollectionResult']:
|
63
|
+
"""
|
64
|
+
The list of adhoc_query_collection.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "adhoc_query_collections")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="adhocQueryStatus")
|
70
|
+
def adhoc_query_status(self) -> Optional[str]:
|
71
|
+
return pulumi.get(self, "adhoc_query_status")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="compartmentId")
|
75
|
+
def compartment_id(self) -> str:
|
76
|
+
"""
|
77
|
+
Compartment OCID of the adhoc query
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "compartment_id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
83
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
84
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def filters(self) -> Optional[Sequence['outputs.GetAdhocQueriesFilterResult']]:
|
89
|
+
return pulumi.get(self, "filters")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def id(self) -> str:
|
94
|
+
"""
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="timeEndedFilterQueryParam")
|
101
|
+
def time_ended_filter_query_param(self) -> Optional[str]:
|
102
|
+
return pulumi.get(self, "time_ended_filter_query_param")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="timeStartedFilterQueryParam")
|
106
|
+
def time_started_filter_query_param(self) -> Optional[str]:
|
107
|
+
return pulumi.get(self, "time_started_filter_query_param")
|
108
|
+
|
109
|
+
|
110
|
+
class AwaitableGetAdhocQueriesResult(GetAdhocQueriesResult):
|
111
|
+
# pylint: disable=using-constant-test
|
112
|
+
def __await__(self):
|
113
|
+
if False:
|
114
|
+
yield self
|
115
|
+
return GetAdhocQueriesResult(
|
116
|
+
access_level=self.access_level,
|
117
|
+
adhoc_query_collections=self.adhoc_query_collections,
|
118
|
+
adhoc_query_status=self.adhoc_query_status,
|
119
|
+
compartment_id=self.compartment_id,
|
120
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
121
|
+
filters=self.filters,
|
122
|
+
id=self.id,
|
123
|
+
time_ended_filter_query_param=self.time_ended_filter_query_param,
|
124
|
+
time_started_filter_query_param=self.time_started_filter_query_param)
|
125
|
+
|
126
|
+
|
127
|
+
def get_adhoc_queries(access_level: Optional[str] = None,
|
128
|
+
adhoc_query_status: Optional[str] = None,
|
129
|
+
compartment_id: Optional[str] = None,
|
130
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
131
|
+
filters: Optional[Sequence[pulumi.InputType['GetAdhocQueriesFilterArgs']]] = None,
|
132
|
+
time_ended_filter_query_param: Optional[str] = None,
|
133
|
+
time_started_filter_query_param: Optional[str] = None,
|
134
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAdhocQueriesResult:
|
135
|
+
"""
|
136
|
+
This data source provides the list of Adhoc Queries in Oracle Cloud Infrastructure Cloud Guard service.
|
137
|
+
|
138
|
+
Returns a list of all adhoc queries (AdhocQuery resources) for a compartment
|
139
|
+
identified by compartmentId. List is returned in a AdhocQueryCollection resource
|
140
|
+
with page of AdhocQuerySummary resources.
|
141
|
+
|
142
|
+
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
|
143
|
+
The list does not include any subcompartments of the compartmentId passed.
|
144
|
+
|
145
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
146
|
+
requestor has INSPECT permissions on at least one resource directly
|
147
|
+
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
148
|
+
Principal doesn't have access to even one of the child compartments. This is valid only when
|
149
|
+
`compartmentIdInSubtree` is set to `true`.
|
150
|
+
|
151
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
|
152
|
+
`compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
153
|
+
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
154
|
+
set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
155
|
+
|
156
|
+
## Example Usage
|
157
|
+
|
158
|
+
```python
|
159
|
+
import pulumi
|
160
|
+
import pulumi_oci as oci
|
161
|
+
|
162
|
+
test_adhoc_queries = oci.CloudGuard.get_adhoc_queries(compartment_id=compartment_id,
|
163
|
+
access_level=adhoc_query_access_level,
|
164
|
+
adhoc_query_status=adhoc_query_adhoc_query_status,
|
165
|
+
compartment_id_in_subtree=adhoc_query_compartment_id_in_subtree,
|
166
|
+
time_ended_filter_query_param=adhoc_query_time_ended_filter_query_param,
|
167
|
+
time_started_filter_query_param=adhoc_query_time_started_filter_query_param)
|
168
|
+
```
|
169
|
+
|
170
|
+
|
171
|
+
:param str access_level: Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed.
|
172
|
+
:param str adhoc_query_status: The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
|
173
|
+
:param str compartment_id: The OCID of the compartment in which to list resources.
|
174
|
+
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`.
|
175
|
+
:param str time_ended_filter_query_param: End time for a filter. If end time is not specified, end time will be set to current time.
|
176
|
+
:param str time_started_filter_query_param: Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
|
177
|
+
"""
|
178
|
+
__args__ = dict()
|
179
|
+
__args__['accessLevel'] = access_level
|
180
|
+
__args__['adhocQueryStatus'] = adhoc_query_status
|
181
|
+
__args__['compartmentId'] = compartment_id
|
182
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
183
|
+
__args__['filters'] = filters
|
184
|
+
__args__['timeEndedFilterQueryParam'] = time_ended_filter_query_param
|
185
|
+
__args__['timeStartedFilterQueryParam'] = time_started_filter_query_param
|
186
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
187
|
+
__ret__ = pulumi.runtime.invoke('oci:CloudGuard/getAdhocQueries:getAdhocQueries', __args__, opts=opts, typ=GetAdhocQueriesResult).value
|
188
|
+
|
189
|
+
return AwaitableGetAdhocQueriesResult(
|
190
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
191
|
+
adhoc_query_collections=pulumi.get(__ret__, 'adhoc_query_collections'),
|
192
|
+
adhoc_query_status=pulumi.get(__ret__, 'adhoc_query_status'),
|
193
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
194
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
195
|
+
filters=pulumi.get(__ret__, 'filters'),
|
196
|
+
id=pulumi.get(__ret__, 'id'),
|
197
|
+
time_ended_filter_query_param=pulumi.get(__ret__, 'time_ended_filter_query_param'),
|
198
|
+
time_started_filter_query_param=pulumi.get(__ret__, 'time_started_filter_query_param'))
|
199
|
+
|
200
|
+
|
201
|
+
@_utilities.lift_output_func(get_adhoc_queries)
|
202
|
+
def get_adhoc_queries_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
|
203
|
+
adhoc_query_status: Optional[pulumi.Input[Optional[str]]] = None,
|
204
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
205
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
206
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAdhocQueriesFilterArgs']]]]] = None,
|
207
|
+
time_ended_filter_query_param: Optional[pulumi.Input[Optional[str]]] = None,
|
208
|
+
time_started_filter_query_param: Optional[pulumi.Input[Optional[str]]] = None,
|
209
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAdhocQueriesResult]:
|
210
|
+
"""
|
211
|
+
This data source provides the list of Adhoc Queries in Oracle Cloud Infrastructure Cloud Guard service.
|
212
|
+
|
213
|
+
Returns a list of all adhoc queries (AdhocQuery resources) for a compartment
|
214
|
+
identified by compartmentId. List is returned in a AdhocQueryCollection resource
|
215
|
+
with page of AdhocQuerySummary resources.
|
216
|
+
|
217
|
+
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
|
218
|
+
The list does not include any subcompartments of the compartmentId passed.
|
219
|
+
|
220
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
221
|
+
requestor has INSPECT permissions on at least one resource directly
|
222
|
+
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
223
|
+
Principal doesn't have access to even one of the child compartments. This is valid only when
|
224
|
+
`compartmentIdInSubtree` is set to `true`.
|
225
|
+
|
226
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
|
227
|
+
`compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
228
|
+
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
229
|
+
set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
230
|
+
|
231
|
+
## Example Usage
|
232
|
+
|
233
|
+
```python
|
234
|
+
import pulumi
|
235
|
+
import pulumi_oci as oci
|
236
|
+
|
237
|
+
test_adhoc_queries = oci.CloudGuard.get_adhoc_queries(compartment_id=compartment_id,
|
238
|
+
access_level=adhoc_query_access_level,
|
239
|
+
adhoc_query_status=adhoc_query_adhoc_query_status,
|
240
|
+
compartment_id_in_subtree=adhoc_query_compartment_id_in_subtree,
|
241
|
+
time_ended_filter_query_param=adhoc_query_time_ended_filter_query_param,
|
242
|
+
time_started_filter_query_param=adhoc_query_time_started_filter_query_param)
|
243
|
+
```
|
244
|
+
|
245
|
+
|
246
|
+
:param str access_level: Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed.
|
247
|
+
:param str adhoc_query_status: The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
|
248
|
+
:param str compartment_id: The OCID of the compartment in which to list resources.
|
249
|
+
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`.
|
250
|
+
:param str time_ended_filter_query_param: End time for a filter. If end time is not specified, end time will be set to current time.
|
251
|
+
:param str time_started_filter_query_param: Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
|
252
|
+
"""
|
253
|
+
...
|
@@ -0,0 +1,249 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetAdhocQueryResult',
|
15
|
+
'AwaitableGetAdhocQueryResult',
|
16
|
+
'get_adhoc_query',
|
17
|
+
'get_adhoc_query_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetAdhocQueryResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getAdhocQuery.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, adhoc_query_details=None, adhoc_query_id=None, adhoc_query_regional_details=None, compartment_id=None, defined_tags=None, error_message=None, freeform_tags=None, id=None, state=None, status=None, system_tags=None, time_created=None, time_updated=None):
|
26
|
+
if adhoc_query_details and not isinstance(adhoc_query_details, list):
|
27
|
+
raise TypeError("Expected argument 'adhoc_query_details' to be a list")
|
28
|
+
pulumi.set(__self__, "adhoc_query_details", adhoc_query_details)
|
29
|
+
if adhoc_query_id and not isinstance(adhoc_query_id, str):
|
30
|
+
raise TypeError("Expected argument 'adhoc_query_id' to be a str")
|
31
|
+
pulumi.set(__self__, "adhoc_query_id", adhoc_query_id)
|
32
|
+
if adhoc_query_regional_details and not isinstance(adhoc_query_regional_details, list):
|
33
|
+
raise TypeError("Expected argument 'adhoc_query_regional_details' to be a list")
|
34
|
+
pulumi.set(__self__, "adhoc_query_regional_details", adhoc_query_regional_details)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
39
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
40
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
41
|
+
if error_message and not isinstance(error_message, str):
|
42
|
+
raise TypeError("Expected argument 'error_message' to be a str")
|
43
|
+
pulumi.set(__self__, "error_message", error_message)
|
44
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
45
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
46
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
if status and not isinstance(status, str):
|
54
|
+
raise TypeError("Expected argument 'status' to be a str")
|
55
|
+
pulumi.set(__self__, "status", status)
|
56
|
+
if system_tags and not isinstance(system_tags, dict):
|
57
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
58
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
59
|
+
if time_created and not isinstance(time_created, str):
|
60
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
61
|
+
pulumi.set(__self__, "time_created", time_created)
|
62
|
+
if time_updated and not isinstance(time_updated, str):
|
63
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
64
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="adhocQueryDetails")
|
68
|
+
def adhoc_query_details(self) -> Sequence['outputs.GetAdhocQueryAdhocQueryDetailResult']:
|
69
|
+
"""
|
70
|
+
Detailed information about the adhoc query.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "adhoc_query_details")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="adhocQueryId")
|
76
|
+
def adhoc_query_id(self) -> str:
|
77
|
+
return pulumi.get(self, "adhoc_query_id")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="adhocQueryRegionalDetails")
|
81
|
+
def adhoc_query_regional_details(self) -> Sequence['outputs.GetAdhocQueryAdhocQueryRegionalDetailResult']:
|
82
|
+
"""
|
83
|
+
Instance level status for each region
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "adhoc_query_regional_details")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="compartmentId")
|
89
|
+
def compartment_id(self) -> str:
|
90
|
+
"""
|
91
|
+
Compartment OCID of the adhoc query
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "compartment_id")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="definedTags")
|
97
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
98
|
+
"""
|
99
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "defined_tags")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="errorMessage")
|
105
|
+
def error_message(self) -> str:
|
106
|
+
"""
|
107
|
+
Error message to show on UI in case of failure
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "error_message")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="freeformTags")
|
113
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
114
|
+
"""
|
115
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "freeform_tags")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter
|
121
|
+
def id(self) -> str:
|
122
|
+
"""
|
123
|
+
OCID for the adhoc query
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "id")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter
|
129
|
+
def state(self) -> str:
|
130
|
+
"""
|
131
|
+
The current lifecycle state of the resource.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "state")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def status(self) -> str:
|
138
|
+
"""
|
139
|
+
Status of the adhoc query
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "status")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="systemTags")
|
145
|
+
def system_tags(self) -> Mapping[str, Any]:
|
146
|
+
"""
|
147
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "system_tags")
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter(name="timeCreated")
|
153
|
+
def time_created(self) -> str:
|
154
|
+
"""
|
155
|
+
The date and time the adhoc query was created. Format defined by RFC3339.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "time_created")
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="timeUpdated")
|
161
|
+
def time_updated(self) -> str:
|
162
|
+
"""
|
163
|
+
The date and time the adhoc query was updated. Format defined by RFC3339.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "time_updated")
|
166
|
+
|
167
|
+
|
168
|
+
class AwaitableGetAdhocQueryResult(GetAdhocQueryResult):
|
169
|
+
# pylint: disable=using-constant-test
|
170
|
+
def __await__(self):
|
171
|
+
if False:
|
172
|
+
yield self
|
173
|
+
return GetAdhocQueryResult(
|
174
|
+
adhoc_query_details=self.adhoc_query_details,
|
175
|
+
adhoc_query_id=self.adhoc_query_id,
|
176
|
+
adhoc_query_regional_details=self.adhoc_query_regional_details,
|
177
|
+
compartment_id=self.compartment_id,
|
178
|
+
defined_tags=self.defined_tags,
|
179
|
+
error_message=self.error_message,
|
180
|
+
freeform_tags=self.freeform_tags,
|
181
|
+
id=self.id,
|
182
|
+
state=self.state,
|
183
|
+
status=self.status,
|
184
|
+
system_tags=self.system_tags,
|
185
|
+
time_created=self.time_created,
|
186
|
+
time_updated=self.time_updated)
|
187
|
+
|
188
|
+
|
189
|
+
def get_adhoc_query(adhoc_query_id: Optional[str] = None,
|
190
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAdhocQueryResult:
|
191
|
+
"""
|
192
|
+
This data source provides details about a specific Adhoc Query resource in Oracle Cloud Infrastructure Cloud Guard service.
|
193
|
+
|
194
|
+
Returns an adhoc query identified by adhocQueryId.
|
195
|
+
|
196
|
+
## Example Usage
|
197
|
+
|
198
|
+
```python
|
199
|
+
import pulumi
|
200
|
+
import pulumi_oci as oci
|
201
|
+
|
202
|
+
test_adhoc_query = oci.CloudGuard.get_adhoc_query(adhoc_query_id=test_adhoc_query_oci_cloud_guard_adhoc_query["id"])
|
203
|
+
```
|
204
|
+
|
205
|
+
|
206
|
+
:param str adhoc_query_id: Adhoc query OCID.
|
207
|
+
"""
|
208
|
+
__args__ = dict()
|
209
|
+
__args__['adhocQueryId'] = adhoc_query_id
|
210
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
211
|
+
__ret__ = pulumi.runtime.invoke('oci:CloudGuard/getAdhocQuery:getAdhocQuery', __args__, opts=opts, typ=GetAdhocQueryResult).value
|
212
|
+
|
213
|
+
return AwaitableGetAdhocQueryResult(
|
214
|
+
adhoc_query_details=pulumi.get(__ret__, 'adhoc_query_details'),
|
215
|
+
adhoc_query_id=pulumi.get(__ret__, 'adhoc_query_id'),
|
216
|
+
adhoc_query_regional_details=pulumi.get(__ret__, 'adhoc_query_regional_details'),
|
217
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
218
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
219
|
+
error_message=pulumi.get(__ret__, 'error_message'),
|
220
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
221
|
+
id=pulumi.get(__ret__, 'id'),
|
222
|
+
state=pulumi.get(__ret__, 'state'),
|
223
|
+
status=pulumi.get(__ret__, 'status'),
|
224
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
225
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
226
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
227
|
+
|
228
|
+
|
229
|
+
@_utilities.lift_output_func(get_adhoc_query)
|
230
|
+
def get_adhoc_query_output(adhoc_query_id: Optional[pulumi.Input[str]] = None,
|
231
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAdhocQueryResult]:
|
232
|
+
"""
|
233
|
+
This data source provides details about a specific Adhoc Query resource in Oracle Cloud Infrastructure Cloud Guard service.
|
234
|
+
|
235
|
+
Returns an adhoc query identified by adhocQueryId.
|
236
|
+
|
237
|
+
## Example Usage
|
238
|
+
|
239
|
+
```python
|
240
|
+
import pulumi
|
241
|
+
import pulumi_oci as oci
|
242
|
+
|
243
|
+
test_adhoc_query = oci.CloudGuard.get_adhoc_query(adhoc_query_id=test_adhoc_query_oci_cloud_guard_adhoc_query["id"])
|
244
|
+
```
|
245
|
+
|
246
|
+
|
247
|
+
:param str adhoc_query_id: Adhoc query OCID.
|
248
|
+
"""
|
249
|
+
...
|
@@ -52,7 +52,7 @@ class GetCloudGuardConfigurationResult:
|
|
52
52
|
@pulumi.getter(name="reportingRegion")
|
53
53
|
def reporting_region(self) -> str:
|
54
54
|
"""
|
55
|
-
The reporting region
|
55
|
+
The reporting region
|
56
56
|
"""
|
57
57
|
return pulumi.get(self, "reporting_region")
|
58
58
|
|
@@ -60,7 +60,7 @@ class GetCloudGuardConfigurationResult:
|
|
60
60
|
@pulumi.getter(name="selfManageResources")
|
61
61
|
def self_manage_resources(self) -> bool:
|
62
62
|
"""
|
63
|
-
|
63
|
+
Were Oracle-managed resources created by customer?
|
64
64
|
"""
|
65
65
|
return pulumi.get(self, "self_manage_resources")
|
66
66
|
|
@@ -68,7 +68,7 @@ class GetCloudGuardConfigurationResult:
|
|
68
68
|
@pulumi.getter
|
69
69
|
def status(self) -> str:
|
70
70
|
"""
|
71
|
-
Status of Cloud Guard
|
71
|
+
Status of the Cloud Guard tenant
|
72
72
|
"""
|
73
73
|
return pulumi.get(self, "status")
|
74
74
|
|
@@ -91,7 +91,8 @@ def get_cloud_guard_configuration(compartment_id: Optional[str] = None,
|
|
91
91
|
"""
|
92
92
|
This data source provides details about a specific Cloud Guard Configuration resource in Oracle Cloud Infrastructure Cloud Guard service.
|
93
93
|
|
94
|
-
Returns the configuration details for a Cloud Guard tenancy,
|
94
|
+
Returns the configuration details for a Cloud Guard tenancy,
|
95
|
+
identified by root compartment OCID.
|
95
96
|
|
96
97
|
## Example Usage
|
97
98
|
|
@@ -103,7 +104,7 @@ def get_cloud_guard_configuration(compartment_id: Optional[str] = None,
|
|
103
104
|
```
|
104
105
|
|
105
106
|
|
106
|
-
:param str compartment_id: The
|
107
|
+
:param str compartment_id: The OCID of the compartment in which to list resources.
|
107
108
|
"""
|
108
109
|
__args__ = dict()
|
109
110
|
__args__['compartmentId'] = compartment_id
|
@@ -124,7 +125,8 @@ def get_cloud_guard_configuration_output(compartment_id: Optional[pulumi.Input[s
|
|
124
125
|
"""
|
125
126
|
This data source provides details about a specific Cloud Guard Configuration resource in Oracle Cloud Infrastructure Cloud Guard service.
|
126
127
|
|
127
|
-
Returns the configuration details for a Cloud Guard tenancy,
|
128
|
+
Returns the configuration details for a Cloud Guard tenancy,
|
129
|
+
identified by root compartment OCID.
|
128
130
|
|
129
131
|
## Example Usage
|
130
132
|
|
@@ -136,6 +138,6 @@ def get_cloud_guard_configuration_output(compartment_id: Optional[pulumi.Input[s
|
|
136
138
|
```
|
137
139
|
|
138
140
|
|
139
|
-
:param str compartment_id: The
|
141
|
+
:param str compartment_id: The OCID of the compartment in which to list resources.
|
140
142
|
"""
|
141
143
|
...
|