1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. AiAnomalyDetection
  5. getDetectionDataAsset
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.AiAnomalyDetection.getDetectionDataAsset

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific Data Asset resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.

Gets a DataAsset by identifier

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDataAsset = oci.AiAnomalyDetection.getDetectionDataAsset({
    dataAssetId: testDataAssetOciAiAnomalyDetectionDataAsset.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_data_asset = oci.AiAnomalyDetection.get_detection_data_asset(data_asset_id=test_data_asset_oci_ai_anomaly_detection_data_asset["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/aianomalydetection"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aianomalydetection.GetDetectionDataAsset(ctx, &aianomalydetection.GetDetectionDataAssetArgs{
			DataAssetId: testDataAssetOciAiAnomalyDetectionDataAsset.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDataAsset = Oci.AiAnomalyDetection.GetDetectionDataAsset.Invoke(new()
    {
        DataAssetId = testDataAssetOciAiAnomalyDetectionDataAsset.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiAnomalyDetection.AiAnomalyDetectionFunctions;
import com.pulumi.oci.AiAnomalyDetection.inputs.GetDetectionDataAssetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testDataAsset = AiAnomalyDetectionFunctions.getDetectionDataAsset(GetDetectionDataAssetArgs.builder()
            .dataAssetId(testDataAssetOciAiAnomalyDetectionDataAsset.id())
            .build());

    }
}
Copy
variables:
  testDataAsset:
    fn::invoke:
      function: oci:AiAnomalyDetection:getDetectionDataAsset
      arguments:
        dataAssetId: ${testDataAssetOciAiAnomalyDetectionDataAsset.id}
Copy

Using getDetectionDataAsset

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDetectionDataAsset(args: GetDetectionDataAssetArgs, opts?: InvokeOptions): Promise<GetDetectionDataAssetResult>
function getDetectionDataAssetOutput(args: GetDetectionDataAssetOutputArgs, opts?: InvokeOptions): Output<GetDetectionDataAssetResult>
Copy
def get_detection_data_asset(data_asset_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDetectionDataAssetResult
def get_detection_data_asset_output(data_asset_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDetectionDataAssetResult]
Copy
func GetDetectionDataAsset(ctx *Context, args *GetDetectionDataAssetArgs, opts ...InvokeOption) (*GetDetectionDataAssetResult, error)
func GetDetectionDataAssetOutput(ctx *Context, args *GetDetectionDataAssetOutputArgs, opts ...InvokeOption) GetDetectionDataAssetResultOutput
Copy

> Note: This function is named GetDetectionDataAsset in the Go SDK.

public static class GetDetectionDataAsset 
{
    public static Task<GetDetectionDataAssetResult> InvokeAsync(GetDetectionDataAssetArgs args, InvokeOptions? opts = null)
    public static Output<GetDetectionDataAssetResult> Invoke(GetDetectionDataAssetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDetectionDataAssetResult> getDetectionDataAsset(GetDetectionDataAssetArgs args, InvokeOptions options)
public static Output<GetDetectionDataAssetResult> getDetectionDataAsset(GetDetectionDataAssetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:AiAnomalyDetection/getDetectionDataAsset:getDetectionDataAsset
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DataAssetId This property is required. string
The OCID of the Data Asset.
DataAssetId This property is required. string
The OCID of the Data Asset.
dataAssetId This property is required. String
The OCID of the Data Asset.
dataAssetId This property is required. string
The OCID of the Data Asset.
data_asset_id This property is required. str
The OCID of the Data Asset.
dataAssetId This property is required. String
The OCID of the Data Asset.

getDetectionDataAsset Result

The following output properties are available:

CompartmentId string
The OCID of the compartment containing the DataAsset.
DataAssetId string
DataSourceDetails List<GetDetectionDataAssetDataSourceDetail>
Possible data sources
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
A short description of the data asset.
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FreeformTags Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id string
The Unique Oracle ID (OCID) that is immutable on creation.
PrivateEndpointId string
OCID of Private Endpoint.
ProjectId string
The Unique project id which is created at project creation that is immutable on creation.
State string
The lifecycle state of the Data Asset.
SystemTags Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the the DataAsset was created. An RFC3339 formatted datetime string
TimeUpdated string
The time the the DataAsset was updated. An RFC3339 formatted datetime string
CompartmentId string
The OCID of the compartment containing the DataAsset.
DataAssetId string
DataSourceDetails []GetDetectionDataAssetDataSourceDetail
Possible data sources
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
A short description of the data asset.
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FreeformTags map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id string
The Unique Oracle ID (OCID) that is immutable on creation.
PrivateEndpointId string
OCID of Private Endpoint.
ProjectId string
The Unique project id which is created at project creation that is immutable on creation.
State string
The lifecycle state of the Data Asset.
SystemTags map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the the DataAsset was created. An RFC3339 formatted datetime string
TimeUpdated string
The time the the DataAsset was updated. An RFC3339 formatted datetime string
compartmentId String
The OCID of the compartment containing the DataAsset.
dataAssetId String
dataSourceDetails List<GetDetectionDataAssetDataSourceDetail>
Possible data sources
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
A short description of the data asset.
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id String
The Unique Oracle ID (OCID) that is immutable on creation.
privateEndpointId String
OCID of Private Endpoint.
projectId String
The Unique project id which is created at project creation that is immutable on creation.
state String
The lifecycle state of the Data Asset.
systemTags Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the the DataAsset was created. An RFC3339 formatted datetime string
timeUpdated String
The time the the DataAsset was updated. An RFC3339 formatted datetime string
compartmentId string
The OCID of the compartment containing the DataAsset.
dataAssetId string
dataSourceDetails GetDetectionDataAssetDataSourceDetail[]
Possible data sources
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description string
A short description of the data asset.
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id string
The Unique Oracle ID (OCID) that is immutable on creation.
privateEndpointId string
OCID of Private Endpoint.
projectId string
The Unique project id which is created at project creation that is immutable on creation.
state string
The lifecycle state of the Data Asset.
systemTags {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time the the DataAsset was created. An RFC3339 formatted datetime string
timeUpdated string
The time the the DataAsset was updated. An RFC3339 formatted datetime string
compartment_id str
The OCID of the compartment containing the DataAsset.
data_asset_id str
data_source_details Sequence[aianomalydetection.GetDetectionDataAssetDataSourceDetail]
Possible data sources
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description str
A short description of the data asset.
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeform_tags Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id str
The Unique Oracle ID (OCID) that is immutable on creation.
private_endpoint_id str
OCID of Private Endpoint.
project_id str
The Unique project id which is created at project creation that is immutable on creation.
state str
The lifecycle state of the Data Asset.
system_tags Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The time the the DataAsset was created. An RFC3339 formatted datetime string
time_updated str
The time the the DataAsset was updated. An RFC3339 formatted datetime string
compartmentId String
The OCID of the compartment containing the DataAsset.
dataAssetId String
dataSourceDetails List<Property Map>
Possible data sources
definedTags Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
A short description of the data asset.
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id String
The Unique Oracle ID (OCID) that is immutable on creation.
privateEndpointId String
OCID of Private Endpoint.
projectId String
The Unique project id which is created at project creation that is immutable on creation.
state String
The lifecycle state of the Data Asset.
systemTags Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the the DataAsset was created. An RFC3339 formatted datetime string
timeUpdated String
The time the the DataAsset was updated. An RFC3339 formatted datetime string

Supporting Types

GetDetectionDataAssetDataSourceDetail

AtpPasswordSecretId This property is required. string
atp db password Secret Id
AtpUserName This property is required. string
atp db user name
Bucket This property is required. string
Bucket Name for influx connection
CwalletFileSecretId This property is required. string
OCID of the secret containing the containers certificates of ATP wallet
DataSourceType This property is required. string
Data source type where actually data asset is being stored
DatabaseName This property is required. string
DB Name for influx connection
EwalletFileSecretId This property is required. string
OCID of the secret containing the PDB'S certificates of ATP wallet
KeyStoreFileSecretId This property is required. string
OCID of the secret containing Keystore.jks file of the ATP wallet
MeasurementName This property is required. string
Measurement name for influx
Namespace This property is required. string
Object storage namespace
Object This property is required. string
File name
OjdbcFileSecretId This property is required. string
OCID of the secret that contains jdbc properties file of ATP wallet
PasswordSecretId This property is required. string
Password Secret Id for the influx connection
TableName This property is required. string
atp database table name
TnsnamesFileSecretId This property is required. string
OCID of the secret that contains the tnsnames file of ATP wallet
TruststoreFileSecretId This property is required. string
OCID of the secret containing truststore.jks file of the ATP wallet
Url This property is required. string
public IP address and port to influx DB
UserName This property is required. string
Username for connection to Influx
VersionSpecificDetails This property is required. List<GetDetectionDataAssetDataSourceDetailVersionSpecificDetail>
Possible data sources
WalletPasswordSecretId This property is required. string
wallet password Secret ID in String format
AtpPasswordSecretId This property is required. string
atp db password Secret Id
AtpUserName This property is required. string
atp db user name
Bucket This property is required. string
Bucket Name for influx connection
CwalletFileSecretId This property is required. string
OCID of the secret containing the containers certificates of ATP wallet
DataSourceType This property is required. string
Data source type where actually data asset is being stored
DatabaseName This property is required. string
DB Name for influx connection
EwalletFileSecretId This property is required. string
OCID of the secret containing the PDB'S certificates of ATP wallet
KeyStoreFileSecretId This property is required. string
OCID of the secret containing Keystore.jks file of the ATP wallet
MeasurementName This property is required. string
Measurement name for influx
Namespace This property is required. string
Object storage namespace
Object This property is required. string
File name
OjdbcFileSecretId This property is required. string
OCID of the secret that contains jdbc properties file of ATP wallet
PasswordSecretId This property is required. string
Password Secret Id for the influx connection
TableName This property is required. string
atp database table name
TnsnamesFileSecretId This property is required. string
OCID of the secret that contains the tnsnames file of ATP wallet
TruststoreFileSecretId This property is required. string
OCID of the secret containing truststore.jks file of the ATP wallet
Url This property is required. string
public IP address and port to influx DB
UserName This property is required. string
Username for connection to Influx
VersionSpecificDetails This property is required. []GetDetectionDataAssetDataSourceDetailVersionSpecificDetail
Possible data sources
WalletPasswordSecretId This property is required. string
wallet password Secret ID in String format
atpPasswordSecretId This property is required. String
atp db password Secret Id
atpUserName This property is required. String
atp db user name
bucket This property is required. String
Bucket Name for influx connection
cwalletFileSecretId This property is required. String
OCID of the secret containing the containers certificates of ATP wallet
dataSourceType This property is required. String
Data source type where actually data asset is being stored
databaseName This property is required. String
DB Name for influx connection
ewalletFileSecretId This property is required. String
OCID of the secret containing the PDB'S certificates of ATP wallet
keyStoreFileSecretId This property is required. String
OCID of the secret containing Keystore.jks file of the ATP wallet
measurementName This property is required. String
Measurement name for influx
namespace This property is required. String
Object storage namespace
object This property is required. String
File name
ojdbcFileSecretId This property is required. String
OCID of the secret that contains jdbc properties file of ATP wallet
passwordSecretId This property is required. String
Password Secret Id for the influx connection
tableName This property is required. String
atp database table name
tnsnamesFileSecretId This property is required. String
OCID of the secret that contains the tnsnames file of ATP wallet
truststoreFileSecretId This property is required. String
OCID of the secret containing truststore.jks file of the ATP wallet
url This property is required. String
public IP address and port to influx DB
userName This property is required. String
Username for connection to Influx
versionSpecificDetails This property is required. List<GetDetectionDataAssetDataSourceDetailVersionSpecificDetail>
Possible data sources
walletPasswordSecretId This property is required. String
wallet password Secret ID in String format
atpPasswordSecretId This property is required. string
atp db password Secret Id
atpUserName This property is required. string
atp db user name
bucket This property is required. string
Bucket Name for influx connection
cwalletFileSecretId This property is required. string
OCID of the secret containing the containers certificates of ATP wallet
dataSourceType This property is required. string
Data source type where actually data asset is being stored
databaseName This property is required. string
DB Name for influx connection
ewalletFileSecretId This property is required. string
OCID of the secret containing the PDB'S certificates of ATP wallet
keyStoreFileSecretId This property is required. string
OCID of the secret containing Keystore.jks file of the ATP wallet
measurementName This property is required. string
Measurement name for influx
namespace This property is required. string
Object storage namespace
object This property is required. string
File name
ojdbcFileSecretId This property is required. string
OCID of the secret that contains jdbc properties file of ATP wallet
passwordSecretId This property is required. string
Password Secret Id for the influx connection
tableName This property is required. string
atp database table name
tnsnamesFileSecretId This property is required. string
OCID of the secret that contains the tnsnames file of ATP wallet
truststoreFileSecretId This property is required. string
OCID of the secret containing truststore.jks file of the ATP wallet
url This property is required. string
public IP address and port to influx DB
userName This property is required. string
Username for connection to Influx
versionSpecificDetails This property is required. GetDetectionDataAssetDataSourceDetailVersionSpecificDetail[]
Possible data sources
walletPasswordSecretId This property is required. string
wallet password Secret ID in String format
atp_password_secret_id This property is required. str
atp db password Secret Id
atp_user_name This property is required. str
atp db user name
bucket This property is required. str
Bucket Name for influx connection
cwallet_file_secret_id This property is required. str
OCID of the secret containing the containers certificates of ATP wallet
data_source_type This property is required. str
Data source type where actually data asset is being stored
database_name This property is required. str
DB Name for influx connection
ewallet_file_secret_id This property is required. str
OCID of the secret containing the PDB'S certificates of ATP wallet
key_store_file_secret_id This property is required. str
OCID of the secret containing Keystore.jks file of the ATP wallet
measurement_name This property is required. str
Measurement name for influx
namespace This property is required. str
Object storage namespace
object This property is required. str
File name
ojdbc_file_secret_id This property is required. str
OCID of the secret that contains jdbc properties file of ATP wallet
password_secret_id This property is required. str
Password Secret Id for the influx connection
table_name This property is required. str
atp database table name
tnsnames_file_secret_id This property is required. str
OCID of the secret that contains the tnsnames file of ATP wallet
truststore_file_secret_id This property is required. str
OCID of the secret containing truststore.jks file of the ATP wallet
url This property is required. str
public IP address and port to influx DB
user_name This property is required. str
Username for connection to Influx
version_specific_details This property is required. Sequence[aianomalydetection.GetDetectionDataAssetDataSourceDetailVersionSpecificDetail]
Possible data sources
wallet_password_secret_id This property is required. str
wallet password Secret ID in String format
atpPasswordSecretId This property is required. String
atp db password Secret Id
atpUserName This property is required. String
atp db user name
bucket This property is required. String
Bucket Name for influx connection
cwalletFileSecretId This property is required. String
OCID of the secret containing the containers certificates of ATP wallet
dataSourceType This property is required. String
Data source type where actually data asset is being stored
databaseName This property is required. String
DB Name for influx connection
ewalletFileSecretId This property is required. String
OCID of the secret containing the PDB'S certificates of ATP wallet
keyStoreFileSecretId This property is required. String
OCID of the secret containing Keystore.jks file of the ATP wallet
measurementName This property is required. String
Measurement name for influx
namespace This property is required. String
Object storage namespace
object This property is required. String
File name
ojdbcFileSecretId This property is required. String
OCID of the secret that contains jdbc properties file of ATP wallet
passwordSecretId This property is required. String
Password Secret Id for the influx connection
tableName This property is required. String
atp database table name
tnsnamesFileSecretId This property is required. String
OCID of the secret that contains the tnsnames file of ATP wallet
truststoreFileSecretId This property is required. String
OCID of the secret containing truststore.jks file of the ATP wallet
url This property is required. String
public IP address and port to influx DB
userName This property is required. String
Username for connection to Influx
versionSpecificDetails This property is required. List<Property Map>
Possible data sources
walletPasswordSecretId This property is required. String
wallet password Secret ID in String format

GetDetectionDataAssetDataSourceDetailVersionSpecificDetail

Bucket This property is required. string
Bucket Name for influx connection
DatabaseName This property is required. string
DB Name for influx connection
InfluxVersion This property is required. string
Data source type where actually data asset is being stored
OrganizationName This property is required. string
Org name for the influx db
RetentionPolicyName This property is required. string
retention policy is how long the bucket would last
Bucket This property is required. string
Bucket Name for influx connection
DatabaseName This property is required. string
DB Name for influx connection
InfluxVersion This property is required. string
Data source type where actually data asset is being stored
OrganizationName This property is required. string
Org name for the influx db
RetentionPolicyName This property is required. string
retention policy is how long the bucket would last
bucket This property is required. String
Bucket Name for influx connection
databaseName This property is required. String
DB Name for influx connection
influxVersion This property is required. String
Data source type where actually data asset is being stored
organizationName This property is required. String
Org name for the influx db
retentionPolicyName This property is required. String
retention policy is how long the bucket would last
bucket This property is required. string
Bucket Name for influx connection
databaseName This property is required. string
DB Name for influx connection
influxVersion This property is required. string
Data source type where actually data asset is being stored
organizationName This property is required. string
Org name for the influx db
retentionPolicyName This property is required. string
retention policy is how long the bucket would last
bucket This property is required. str
Bucket Name for influx connection
database_name This property is required. str
DB Name for influx connection
influx_version This property is required. str
Data source type where actually data asset is being stored
organization_name This property is required. str
Org name for the influx db
retention_policy_name This property is required. str
retention policy is how long the bucket would last
bucket This property is required. String
Bucket Name for influx connection
databaseName This property is required. String
DB Name for influx connection
influxVersion This property is required. String
Data source type where actually data asset is being stored
organizationName This property is required. String
Org name for the influx db
retentionPolicyName This property is required. String
retention policy is how long the bucket would last

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi