pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.5.0a1756190604__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 +168 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +365 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +139 -7
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +470 -75
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/outputs.py +192 -2
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/outputs.py +27 -8
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +3 -0
- pulumi_oci/oci/_inputs.py +146 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/outputs.py +367 -0
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/RECORD +185 -134
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/top_level.txt +0 -0
@@ -1,213 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import builtins as _builtins
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
from . import outputs
|
17
|
-
from ._inputs import *
|
18
|
-
|
19
|
-
__all__ = [
|
20
|
-
'GetDetectionDataAssetsResult',
|
21
|
-
'AwaitableGetDetectionDataAssetsResult',
|
22
|
-
'get_detection_data_assets',
|
23
|
-
'get_detection_data_assets_output',
|
24
|
-
]
|
25
|
-
|
26
|
-
@pulumi.output_type
|
27
|
-
class GetDetectionDataAssetsResult:
|
28
|
-
"""
|
29
|
-
A collection of values returned by getDetectionDataAssets.
|
30
|
-
"""
|
31
|
-
def __init__(__self__, compartment_id=None, data_asset_collections=None, display_name=None, filters=None, id=None, project_id=None, state=None):
|
32
|
-
if compartment_id and not isinstance(compartment_id, str):
|
33
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
-
if data_asset_collections and not isinstance(data_asset_collections, list):
|
36
|
-
raise TypeError("Expected argument 'data_asset_collections' to be a list")
|
37
|
-
pulumi.set(__self__, "data_asset_collections", data_asset_collections)
|
38
|
-
if display_name and not isinstance(display_name, str):
|
39
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
40
|
-
pulumi.set(__self__, "display_name", display_name)
|
41
|
-
if filters and not isinstance(filters, list):
|
42
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
-
pulumi.set(__self__, "filters", filters)
|
44
|
-
if id and not isinstance(id, str):
|
45
|
-
raise TypeError("Expected argument 'id' to be a str")
|
46
|
-
pulumi.set(__self__, "id", id)
|
47
|
-
if project_id and not isinstance(project_id, str):
|
48
|
-
raise TypeError("Expected argument 'project_id' to be a str")
|
49
|
-
pulumi.set(__self__, "project_id", project_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
|
-
|
54
|
-
@_builtins.property
|
55
|
-
@pulumi.getter(name="compartmentId")
|
56
|
-
def compartment_id(self) -> _builtins.str:
|
57
|
-
"""
|
58
|
-
The OCID of the compartment containing the DataAsset.
|
59
|
-
"""
|
60
|
-
return pulumi.get(self, "compartment_id")
|
61
|
-
|
62
|
-
@_builtins.property
|
63
|
-
@pulumi.getter(name="dataAssetCollections")
|
64
|
-
def data_asset_collections(self) -> Sequence['outputs.GetDetectionDataAssetsDataAssetCollectionResult']:
|
65
|
-
"""
|
66
|
-
The list of data_asset_collection.
|
67
|
-
"""
|
68
|
-
return pulumi.get(self, "data_asset_collections")
|
69
|
-
|
70
|
-
@_builtins.property
|
71
|
-
@pulumi.getter(name="displayName")
|
72
|
-
def display_name(self) -> Optional[_builtins.str]:
|
73
|
-
"""
|
74
|
-
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
75
|
-
"""
|
76
|
-
return pulumi.get(self, "display_name")
|
77
|
-
|
78
|
-
@_builtins.property
|
79
|
-
@pulumi.getter
|
80
|
-
def filters(self) -> Optional[Sequence['outputs.GetDetectionDataAssetsFilterResult']]:
|
81
|
-
return pulumi.get(self, "filters")
|
82
|
-
|
83
|
-
@_builtins.property
|
84
|
-
@pulumi.getter
|
85
|
-
def id(self) -> _builtins.str:
|
86
|
-
"""
|
87
|
-
The provider-assigned unique ID for this managed resource.
|
88
|
-
"""
|
89
|
-
return pulumi.get(self, "id")
|
90
|
-
|
91
|
-
@_builtins.property
|
92
|
-
@pulumi.getter(name="projectId")
|
93
|
-
def project_id(self) -> Optional[_builtins.str]:
|
94
|
-
"""
|
95
|
-
The Unique project id which is created at project creation that is immutable on creation.
|
96
|
-
"""
|
97
|
-
return pulumi.get(self, "project_id")
|
98
|
-
|
99
|
-
@_builtins.property
|
100
|
-
@pulumi.getter
|
101
|
-
def state(self) -> Optional[_builtins.str]:
|
102
|
-
"""
|
103
|
-
The lifecycle state of the Data Asset.
|
104
|
-
"""
|
105
|
-
return pulumi.get(self, "state")
|
106
|
-
|
107
|
-
|
108
|
-
class AwaitableGetDetectionDataAssetsResult(GetDetectionDataAssetsResult):
|
109
|
-
# pylint: disable=using-constant-test
|
110
|
-
def __await__(self):
|
111
|
-
if False:
|
112
|
-
yield self
|
113
|
-
return GetDetectionDataAssetsResult(
|
114
|
-
compartment_id=self.compartment_id,
|
115
|
-
data_asset_collections=self.data_asset_collections,
|
116
|
-
display_name=self.display_name,
|
117
|
-
filters=self.filters,
|
118
|
-
id=self.id,
|
119
|
-
project_id=self.project_id,
|
120
|
-
state=self.state)
|
121
|
-
|
122
|
-
|
123
|
-
def get_detection_data_assets(compartment_id: Optional[_builtins.str] = None,
|
124
|
-
display_name: Optional[_builtins.str] = None,
|
125
|
-
filters: Optional[Sequence[Union['GetDetectionDataAssetsFilterArgs', 'GetDetectionDataAssetsFilterArgsDict']]] = None,
|
126
|
-
project_id: Optional[_builtins.str] = None,
|
127
|
-
state: Optional[_builtins.str] = None,
|
128
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDetectionDataAssetsResult:
|
129
|
-
"""
|
130
|
-
This data source provides the list of Data Assets in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
131
|
-
|
132
|
-
Returns a list of DataAssets.
|
133
|
-
|
134
|
-
## Example Usage
|
135
|
-
|
136
|
-
```python
|
137
|
-
import pulumi
|
138
|
-
import pulumi_oci as oci
|
139
|
-
|
140
|
-
test_data_assets = oci.AiAnomalyDetection.get_detection_data_assets(compartment_id=compartment_id,
|
141
|
-
display_name=data_asset_display_name,
|
142
|
-
project_id=test_project["id"],
|
143
|
-
state=data_asset_state)
|
144
|
-
```
|
145
|
-
|
146
|
-
|
147
|
-
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
148
|
-
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
149
|
-
:param _builtins.str project_id: The ID of the project for which to list the objects.
|
150
|
-
:param _builtins.str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
|
151
|
-
"""
|
152
|
-
__args__ = dict()
|
153
|
-
__args__['compartmentId'] = compartment_id
|
154
|
-
__args__['displayName'] = display_name
|
155
|
-
__args__['filters'] = filters
|
156
|
-
__args__['projectId'] = project_id
|
157
|
-
__args__['state'] = state
|
158
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
-
__ret__ = pulumi.runtime.invoke('oci:AiAnomalyDetection/getDetectionDataAssets:getDetectionDataAssets', __args__, opts=opts, typ=GetDetectionDataAssetsResult).value
|
160
|
-
|
161
|
-
return AwaitableGetDetectionDataAssetsResult(
|
162
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
-
data_asset_collections=pulumi.get(__ret__, 'data_asset_collections'),
|
164
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
165
|
-
filters=pulumi.get(__ret__, 'filters'),
|
166
|
-
id=pulumi.get(__ret__, 'id'),
|
167
|
-
project_id=pulumi.get(__ret__, 'project_id'),
|
168
|
-
state=pulumi.get(__ret__, 'state'))
|
169
|
-
def get_detection_data_assets_output(compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
170
|
-
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
171
|
-
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDetectionDataAssetsFilterArgs', 'GetDetectionDataAssetsFilterArgsDict']]]]] = None,
|
172
|
-
project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
173
|
-
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
174
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDetectionDataAssetsResult]:
|
175
|
-
"""
|
176
|
-
This data source provides the list of Data Assets in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
177
|
-
|
178
|
-
Returns a list of DataAssets.
|
179
|
-
|
180
|
-
## Example Usage
|
181
|
-
|
182
|
-
```python
|
183
|
-
import pulumi
|
184
|
-
import pulumi_oci as oci
|
185
|
-
|
186
|
-
test_data_assets = oci.AiAnomalyDetection.get_detection_data_assets(compartment_id=compartment_id,
|
187
|
-
display_name=data_asset_display_name,
|
188
|
-
project_id=test_project["id"],
|
189
|
-
state=data_asset_state)
|
190
|
-
```
|
191
|
-
|
192
|
-
|
193
|
-
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
194
|
-
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
195
|
-
:param _builtins.str project_id: The ID of the project for which to list the objects.
|
196
|
-
:param _builtins.str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
|
197
|
-
"""
|
198
|
-
__args__ = dict()
|
199
|
-
__args__['compartmentId'] = compartment_id
|
200
|
-
__args__['displayName'] = display_name
|
201
|
-
__args__['filters'] = filters
|
202
|
-
__args__['projectId'] = project_id
|
203
|
-
__args__['state'] = state
|
204
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
-
__ret__ = pulumi.runtime.invoke_output('oci:AiAnomalyDetection/getDetectionDataAssets:getDetectionDataAssets', __args__, opts=opts, typ=GetDetectionDataAssetsResult)
|
206
|
-
return __ret__.apply(lambda __response__: GetDetectionDataAssetsResult(
|
207
|
-
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
-
data_asset_collections=pulumi.get(__response__, 'data_asset_collections'),
|
209
|
-
display_name=pulumi.get(__response__, 'display_name'),
|
210
|
-
filters=pulumi.get(__response__, 'filters'),
|
211
|
-
id=pulumi.get(__response__, 'id'),
|
212
|
-
project_id=pulumi.get(__response__, 'project_id'),
|
213
|
-
state=pulumi.get(__response__, 'state')))
|
@@ -1,213 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import builtins as _builtins
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
from . import outputs
|
17
|
-
from ._inputs import *
|
18
|
-
|
19
|
-
__all__ = [
|
20
|
-
'GetDetectionModelsResult',
|
21
|
-
'AwaitableGetDetectionModelsResult',
|
22
|
-
'get_detection_models',
|
23
|
-
'get_detection_models_output',
|
24
|
-
]
|
25
|
-
|
26
|
-
@pulumi.output_type
|
27
|
-
class GetDetectionModelsResult:
|
28
|
-
"""
|
29
|
-
A collection of values returned by getDetectionModels.
|
30
|
-
"""
|
31
|
-
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, model_collections=None, project_id=None, state=None):
|
32
|
-
if compartment_id and not isinstance(compartment_id, str):
|
33
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
-
if display_name and not isinstance(display_name, str):
|
36
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
-
pulumi.set(__self__, "display_name", display_name)
|
38
|
-
if filters and not isinstance(filters, list):
|
39
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
-
pulumi.set(__self__, "filters", filters)
|
41
|
-
if id and not isinstance(id, str):
|
42
|
-
raise TypeError("Expected argument 'id' to be a str")
|
43
|
-
pulumi.set(__self__, "id", id)
|
44
|
-
if model_collections and not isinstance(model_collections, list):
|
45
|
-
raise TypeError("Expected argument 'model_collections' to be a list")
|
46
|
-
pulumi.set(__self__, "model_collections", model_collections)
|
47
|
-
if project_id and not isinstance(project_id, str):
|
48
|
-
raise TypeError("Expected argument 'project_id' to be a str")
|
49
|
-
pulumi.set(__self__, "project_id", project_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
|
-
|
54
|
-
@_builtins.property
|
55
|
-
@pulumi.getter(name="compartmentId")
|
56
|
-
def compartment_id(self) -> _builtins.str:
|
57
|
-
"""
|
58
|
-
The OCID for the model's compartment.
|
59
|
-
"""
|
60
|
-
return pulumi.get(self, "compartment_id")
|
61
|
-
|
62
|
-
@_builtins.property
|
63
|
-
@pulumi.getter(name="displayName")
|
64
|
-
def display_name(self) -> Optional[_builtins.str]:
|
65
|
-
"""
|
66
|
-
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
|
67
|
-
"""
|
68
|
-
return pulumi.get(self, "display_name")
|
69
|
-
|
70
|
-
@_builtins.property
|
71
|
-
@pulumi.getter
|
72
|
-
def filters(self) -> Optional[Sequence['outputs.GetDetectionModelsFilterResult']]:
|
73
|
-
return pulumi.get(self, "filters")
|
74
|
-
|
75
|
-
@_builtins.property
|
76
|
-
@pulumi.getter
|
77
|
-
def id(self) -> _builtins.str:
|
78
|
-
"""
|
79
|
-
The provider-assigned unique ID for this managed resource.
|
80
|
-
"""
|
81
|
-
return pulumi.get(self, "id")
|
82
|
-
|
83
|
-
@_builtins.property
|
84
|
-
@pulumi.getter(name="modelCollections")
|
85
|
-
def model_collections(self) -> Sequence['outputs.GetDetectionModelsModelCollectionResult']:
|
86
|
-
"""
|
87
|
-
The list of model_collection.
|
88
|
-
"""
|
89
|
-
return pulumi.get(self, "model_collections")
|
90
|
-
|
91
|
-
@_builtins.property
|
92
|
-
@pulumi.getter(name="projectId")
|
93
|
-
def project_id(self) -> Optional[_builtins.str]:
|
94
|
-
"""
|
95
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
|
96
|
-
"""
|
97
|
-
return pulumi.get(self, "project_id")
|
98
|
-
|
99
|
-
@_builtins.property
|
100
|
-
@pulumi.getter
|
101
|
-
def state(self) -> Optional[_builtins.str]:
|
102
|
-
"""
|
103
|
-
The state of the model.
|
104
|
-
"""
|
105
|
-
return pulumi.get(self, "state")
|
106
|
-
|
107
|
-
|
108
|
-
class AwaitableGetDetectionModelsResult(GetDetectionModelsResult):
|
109
|
-
# pylint: disable=using-constant-test
|
110
|
-
def __await__(self):
|
111
|
-
if False:
|
112
|
-
yield self
|
113
|
-
return GetDetectionModelsResult(
|
114
|
-
compartment_id=self.compartment_id,
|
115
|
-
display_name=self.display_name,
|
116
|
-
filters=self.filters,
|
117
|
-
id=self.id,
|
118
|
-
model_collections=self.model_collections,
|
119
|
-
project_id=self.project_id,
|
120
|
-
state=self.state)
|
121
|
-
|
122
|
-
|
123
|
-
def get_detection_models(compartment_id: Optional[_builtins.str] = None,
|
124
|
-
display_name: Optional[_builtins.str] = None,
|
125
|
-
filters: Optional[Sequence[Union['GetDetectionModelsFilterArgs', 'GetDetectionModelsFilterArgsDict']]] = None,
|
126
|
-
project_id: Optional[_builtins.str] = None,
|
127
|
-
state: Optional[_builtins.str] = None,
|
128
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDetectionModelsResult:
|
129
|
-
"""
|
130
|
-
This data source provides the list of Models in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
131
|
-
|
132
|
-
Returns a list of Models.
|
133
|
-
|
134
|
-
## Example Usage
|
135
|
-
|
136
|
-
```python
|
137
|
-
import pulumi
|
138
|
-
import pulumi_oci as oci
|
139
|
-
|
140
|
-
test_models = oci.AiAnomalyDetection.get_detection_models(compartment_id=compartment_id,
|
141
|
-
display_name=model_display_name,
|
142
|
-
project_id=test_project["id"],
|
143
|
-
state=model_state)
|
144
|
-
```
|
145
|
-
|
146
|
-
|
147
|
-
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
148
|
-
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
149
|
-
:param _builtins.str project_id: The ID of the project for which to list the objects.
|
150
|
-
:param _builtins.str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
|
151
|
-
"""
|
152
|
-
__args__ = dict()
|
153
|
-
__args__['compartmentId'] = compartment_id
|
154
|
-
__args__['displayName'] = display_name
|
155
|
-
__args__['filters'] = filters
|
156
|
-
__args__['projectId'] = project_id
|
157
|
-
__args__['state'] = state
|
158
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
-
__ret__ = pulumi.runtime.invoke('oci:AiAnomalyDetection/getDetectionModels:getDetectionModels', __args__, opts=opts, typ=GetDetectionModelsResult).value
|
160
|
-
|
161
|
-
return AwaitableGetDetectionModelsResult(
|
162
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
164
|
-
filters=pulumi.get(__ret__, 'filters'),
|
165
|
-
id=pulumi.get(__ret__, 'id'),
|
166
|
-
model_collections=pulumi.get(__ret__, 'model_collections'),
|
167
|
-
project_id=pulumi.get(__ret__, 'project_id'),
|
168
|
-
state=pulumi.get(__ret__, 'state'))
|
169
|
-
def get_detection_models_output(compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
170
|
-
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
171
|
-
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDetectionModelsFilterArgs', 'GetDetectionModelsFilterArgsDict']]]]] = None,
|
172
|
-
project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
173
|
-
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
174
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDetectionModelsResult]:
|
175
|
-
"""
|
176
|
-
This data source provides the list of Models in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
177
|
-
|
178
|
-
Returns a list of Models.
|
179
|
-
|
180
|
-
## Example Usage
|
181
|
-
|
182
|
-
```python
|
183
|
-
import pulumi
|
184
|
-
import pulumi_oci as oci
|
185
|
-
|
186
|
-
test_models = oci.AiAnomalyDetection.get_detection_models(compartment_id=compartment_id,
|
187
|
-
display_name=model_display_name,
|
188
|
-
project_id=test_project["id"],
|
189
|
-
state=model_state)
|
190
|
-
```
|
191
|
-
|
192
|
-
|
193
|
-
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
194
|
-
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
195
|
-
:param _builtins.str project_id: The ID of the project for which to list the objects.
|
196
|
-
:param _builtins.str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
|
197
|
-
"""
|
198
|
-
__args__ = dict()
|
199
|
-
__args__['compartmentId'] = compartment_id
|
200
|
-
__args__['displayName'] = display_name
|
201
|
-
__args__['filters'] = filters
|
202
|
-
__args__['projectId'] = project_id
|
203
|
-
__args__['state'] = state
|
204
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
-
__ret__ = pulumi.runtime.invoke_output('oci:AiAnomalyDetection/getDetectionModels:getDetectionModels', __args__, opts=opts, typ=GetDetectionModelsResult)
|
206
|
-
return __ret__.apply(lambda __response__: GetDetectionModelsResult(
|
207
|
-
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
-
display_name=pulumi.get(__response__, 'display_name'),
|
209
|
-
filters=pulumi.get(__response__, 'filters'),
|
210
|
-
id=pulumi.get(__response__, 'id'),
|
211
|
-
model_collections=pulumi.get(__response__, 'model_collections'),
|
212
|
-
project_id=pulumi.get(__response__, 'project_id'),
|
213
|
-
state=pulumi.get(__response__, 'state')))
|
@@ -1,239 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import builtins as _builtins
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
|
17
|
-
__all__ = [
|
18
|
-
'GetDetectionProjectResult',
|
19
|
-
'AwaitableGetDetectionProjectResult',
|
20
|
-
'get_detection_project',
|
21
|
-
'get_detection_project_output',
|
22
|
-
]
|
23
|
-
|
24
|
-
@pulumi.output_type
|
25
|
-
class GetDetectionProjectResult:
|
26
|
-
"""
|
27
|
-
A collection of values returned by getDetectionProject.
|
28
|
-
"""
|
29
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, project_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
30
|
-
if compartment_id and not isinstance(compartment_id, str):
|
31
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
-
if defined_tags and not isinstance(defined_tags, dict):
|
34
|
-
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
-
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
-
if description and not isinstance(description, str):
|
37
|
-
raise TypeError("Expected argument 'description' to be a str")
|
38
|
-
pulumi.set(__self__, "description", description)
|
39
|
-
if display_name and not isinstance(display_name, str):
|
40
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
41
|
-
pulumi.set(__self__, "display_name", display_name)
|
42
|
-
if freeform_tags and not isinstance(freeform_tags, dict):
|
43
|
-
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
44
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
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 project_id and not isinstance(project_id, str):
|
49
|
-
raise TypeError("Expected argument 'project_id' to be a str")
|
50
|
-
pulumi.set(__self__, "project_id", project_id)
|
51
|
-
if state and not isinstance(state, str):
|
52
|
-
raise TypeError("Expected argument 'state' to be a str")
|
53
|
-
pulumi.set(__self__, "state", state)
|
54
|
-
if system_tags and not isinstance(system_tags, dict):
|
55
|
-
raise TypeError("Expected argument 'system_tags' to be a dict")
|
56
|
-
pulumi.set(__self__, "system_tags", system_tags)
|
57
|
-
if time_created and not isinstance(time_created, str):
|
58
|
-
raise TypeError("Expected argument 'time_created' to be a str")
|
59
|
-
pulumi.set(__self__, "time_created", time_created)
|
60
|
-
if time_updated and not isinstance(time_updated, str):
|
61
|
-
raise TypeError("Expected argument 'time_updated' to be a str")
|
62
|
-
pulumi.set(__self__, "time_updated", time_updated)
|
63
|
-
|
64
|
-
@_builtins.property
|
65
|
-
@pulumi.getter(name="compartmentId")
|
66
|
-
def compartment_id(self) -> _builtins.str:
|
67
|
-
"""
|
68
|
-
The OCID for the project's compartment.
|
69
|
-
"""
|
70
|
-
return pulumi.get(self, "compartment_id")
|
71
|
-
|
72
|
-
@_builtins.property
|
73
|
-
@pulumi.getter(name="definedTags")
|
74
|
-
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
75
|
-
"""
|
76
|
-
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
77
|
-
"""
|
78
|
-
return pulumi.get(self, "defined_tags")
|
79
|
-
|
80
|
-
@_builtins.property
|
81
|
-
@pulumi.getter
|
82
|
-
def description(self) -> _builtins.str:
|
83
|
-
"""
|
84
|
-
A short description of the project.
|
85
|
-
"""
|
86
|
-
return pulumi.get(self, "description")
|
87
|
-
|
88
|
-
@_builtins.property
|
89
|
-
@pulumi.getter(name="displayName")
|
90
|
-
def display_name(self) -> _builtins.str:
|
91
|
-
"""
|
92
|
-
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
|
93
|
-
"""
|
94
|
-
return pulumi.get(self, "display_name")
|
95
|
-
|
96
|
-
@_builtins.property
|
97
|
-
@pulumi.getter(name="freeformTags")
|
98
|
-
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
99
|
-
"""
|
100
|
-
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
101
|
-
"""
|
102
|
-
return pulumi.get(self, "freeform_tags")
|
103
|
-
|
104
|
-
@_builtins.property
|
105
|
-
@pulumi.getter
|
106
|
-
def id(self) -> _builtins.str:
|
107
|
-
"""
|
108
|
-
The OCID of the project that is immutable on creation.
|
109
|
-
"""
|
110
|
-
return pulumi.get(self, "id")
|
111
|
-
|
112
|
-
@_builtins.property
|
113
|
-
@pulumi.getter(name="projectId")
|
114
|
-
def project_id(self) -> _builtins.str:
|
115
|
-
return pulumi.get(self, "project_id")
|
116
|
-
|
117
|
-
@_builtins.property
|
118
|
-
@pulumi.getter
|
119
|
-
def state(self) -> _builtins.str:
|
120
|
-
"""
|
121
|
-
The lifecycle state of the Project.
|
122
|
-
"""
|
123
|
-
return pulumi.get(self, "state")
|
124
|
-
|
125
|
-
@_builtins.property
|
126
|
-
@pulumi.getter(name="systemTags")
|
127
|
-
def system_tags(self) -> Mapping[str, _builtins.str]:
|
128
|
-
"""
|
129
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
130
|
-
"""
|
131
|
-
return pulumi.get(self, "system_tags")
|
132
|
-
|
133
|
-
@_builtins.property
|
134
|
-
@pulumi.getter(name="timeCreated")
|
135
|
-
def time_created(self) -> _builtins.str:
|
136
|
-
"""
|
137
|
-
The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
138
|
-
"""
|
139
|
-
return pulumi.get(self, "time_created")
|
140
|
-
|
141
|
-
@_builtins.property
|
142
|
-
@pulumi.getter(name="timeUpdated")
|
143
|
-
def time_updated(self) -> _builtins.str:
|
144
|
-
"""
|
145
|
-
The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
146
|
-
"""
|
147
|
-
return pulumi.get(self, "time_updated")
|
148
|
-
|
149
|
-
|
150
|
-
class AwaitableGetDetectionProjectResult(GetDetectionProjectResult):
|
151
|
-
# pylint: disable=using-constant-test
|
152
|
-
def __await__(self):
|
153
|
-
if False:
|
154
|
-
yield self
|
155
|
-
return GetDetectionProjectResult(
|
156
|
-
compartment_id=self.compartment_id,
|
157
|
-
defined_tags=self.defined_tags,
|
158
|
-
description=self.description,
|
159
|
-
display_name=self.display_name,
|
160
|
-
freeform_tags=self.freeform_tags,
|
161
|
-
id=self.id,
|
162
|
-
project_id=self.project_id,
|
163
|
-
state=self.state,
|
164
|
-
system_tags=self.system_tags,
|
165
|
-
time_created=self.time_created,
|
166
|
-
time_updated=self.time_updated)
|
167
|
-
|
168
|
-
|
169
|
-
def get_detection_project(project_id: Optional[_builtins.str] = None,
|
170
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDetectionProjectResult:
|
171
|
-
"""
|
172
|
-
This data source provides details about a specific Project resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
173
|
-
|
174
|
-
Gets a Project by identifier
|
175
|
-
|
176
|
-
## Example Usage
|
177
|
-
|
178
|
-
```python
|
179
|
-
import pulumi
|
180
|
-
import pulumi_oci as oci
|
181
|
-
|
182
|
-
test_project = oci.AiAnomalyDetection.get_detection_project(project_id=test_project_oci_ai_anomaly_detection_project["id"])
|
183
|
-
```
|
184
|
-
|
185
|
-
|
186
|
-
:param _builtins.str project_id: The OCID of the Project.
|
187
|
-
"""
|
188
|
-
__args__ = dict()
|
189
|
-
__args__['projectId'] = project_id
|
190
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
191
|
-
__ret__ = pulumi.runtime.invoke('oci:AiAnomalyDetection/getDetectionProject:getDetectionProject', __args__, opts=opts, typ=GetDetectionProjectResult).value
|
192
|
-
|
193
|
-
return AwaitableGetDetectionProjectResult(
|
194
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
195
|
-
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
196
|
-
description=pulumi.get(__ret__, 'description'),
|
197
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
198
|
-
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
199
|
-
id=pulumi.get(__ret__, 'id'),
|
200
|
-
project_id=pulumi.get(__ret__, 'project_id'),
|
201
|
-
state=pulumi.get(__ret__, 'state'),
|
202
|
-
system_tags=pulumi.get(__ret__, 'system_tags'),
|
203
|
-
time_created=pulumi.get(__ret__, 'time_created'),
|
204
|
-
time_updated=pulumi.get(__ret__, 'time_updated'))
|
205
|
-
def get_detection_project_output(project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
206
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDetectionProjectResult]:
|
207
|
-
"""
|
208
|
-
This data source provides details about a specific Project resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
209
|
-
|
210
|
-
Gets a Project by identifier
|
211
|
-
|
212
|
-
## Example Usage
|
213
|
-
|
214
|
-
```python
|
215
|
-
import pulumi
|
216
|
-
import pulumi_oci as oci
|
217
|
-
|
218
|
-
test_project = oci.AiAnomalyDetection.get_detection_project(project_id=test_project_oci_ai_anomaly_detection_project["id"])
|
219
|
-
```
|
220
|
-
|
221
|
-
|
222
|
-
:param _builtins.str project_id: The OCID of the Project.
|
223
|
-
"""
|
224
|
-
__args__ = dict()
|
225
|
-
__args__['projectId'] = project_id
|
226
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
227
|
-
__ret__ = pulumi.runtime.invoke_output('oci:AiAnomalyDetection/getDetectionProject:getDetectionProject', __args__, opts=opts, typ=GetDetectionProjectResult)
|
228
|
-
return __ret__.apply(lambda __response__: GetDetectionProjectResult(
|
229
|
-
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
230
|
-
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
231
|
-
description=pulumi.get(__response__, 'description'),
|
232
|
-
display_name=pulumi.get(__response__, 'display_name'),
|
233
|
-
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
234
|
-
id=pulumi.get(__response__, 'id'),
|
235
|
-
project_id=pulumi.get(__response__, 'project_id'),
|
236
|
-
state=pulumi.get(__response__, 'state'),
|
237
|
-
system_tags=pulumi.get(__response__, 'system_tags'),
|
238
|
-
time_created=pulumi.get(__response__, 'time_created'),
|
239
|
-
time_updated=pulumi.get(__response__, 'time_updated')))
|