Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.AiAnomalyDetection.getDetectionDataAsset
Explore with Pulumi AI
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,
});
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"])
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testDataAsset:
    fn::invoke:
      function: oci:AiAnomalyDetection:getDetectionDataAsset
      arguments:
        dataAssetId: ${testDataAssetOciAiAnomalyDetectionDataAsset.id}
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>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]func GetDetectionDataAsset(ctx *Context, args *GetDetectionDataAssetArgs, opts ...InvokeOption) (*GetDetectionDataAssetResult, error)
func GetDetectionDataAssetOutput(ctx *Context, args *GetDetectionDataAssetOutputArgs, opts ...InvokeOption) GetDetectionDataAssetResultOutput> 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)
}public static CompletableFuture<GetDetectionDataAssetResult> getDetectionDataAsset(GetDetectionDataAssetArgs args, InvokeOptions options)
public static Output<GetDetectionDataAssetResult> getDetectionDataAsset(GetDetectionDataAssetArgs args, InvokeOptions options)
fn::invoke:
  function: oci:AiAnomalyDetection/getDetectionDataAsset:getDetectionDataAsset
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DataAsset stringId 
- The OCID of the Data Asset.
- DataAsset stringId 
- The OCID of the Data Asset.
- dataAsset StringId 
- The OCID of the Data Asset.
- dataAsset stringId 
- The OCID of the Data Asset.
- data_asset_ strid 
- The OCID of the Data Asset.
- dataAsset StringId 
- The OCID of the Data Asset.
getDetectionDataAsset Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment containing the DataAsset.
- DataAsset stringId 
- DataSource List<GetDetails Detection Data Asset Data Source Detail> 
- Possible data sources
- 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.
- 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.
- PrivateEndpoint stringId 
- 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.
- 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.
- DataAsset stringId 
- DataSource []GetDetails Detection Data Asset Data Source Detail 
- Possible data sources
- 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.
- 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.
- PrivateEndpoint stringId 
- 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.
- 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.
- dataAsset StringId 
- dataSource List<GetDetails Detection Data Asset Data Source Detail> 
- Possible data sources
- 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.
- 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.
- privateEndpoint StringId 
- 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.
- 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.
- dataAsset stringId 
- dataSource GetDetails Detection Data Asset Data Source Detail[] 
- Possible data sources
- {[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.
- {[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.
- privateEndpoint stringId 
- 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.
- {[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_ strid 
- data_source_ Sequence[Getdetails Detection Data Asset Data Source Detail] 
- Possible data sources
- 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.
- 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_ strid 
- 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.
- 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.
- dataAsset StringId 
- dataSource List<Property Map>Details 
- Possible data sources
- 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.
- 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.
- privateEndpoint StringId 
- 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.
- 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      
- AtpPassword stringSecret Id 
- atp db password Secret Id
- AtpUser stringName 
- atp db user name
- Bucket string
- Bucket Name for influx connection
- CwalletFile stringSecret Id 
- OCID of the secret containing the containers certificates of ATP wallet
- DataSource stringType 
- Data source type where actually data asset is being stored
- DatabaseName string
- DB Name for influx connection
- EwalletFile stringSecret Id 
- OCID of the secret containing the PDB'S certificates of ATP wallet
- KeyStore stringFile Secret Id 
- OCID of the secret containing Keystore.jks file of the ATP wallet
- MeasurementName string
- Measurement name for influx
- Namespace string
- Object storage namespace
- Object string
- File name
- OjdbcFile stringSecret Id 
- OCID of the secret that contains jdbc properties file of ATP wallet
- PasswordSecret stringId 
- Password Secret Id for the influx connection
- TableName string
- atp database table name
- TnsnamesFile stringSecret Id 
- OCID of the secret that contains the tnsnames file of ATP wallet
- TruststoreFile stringSecret Id 
- OCID of the secret containing truststore.jks file of the ATP wallet
- Url string
- public IP address and port to influx DB
- UserName string
- Username for connection to Influx
- VersionSpecific List<GetDetails Detection Data Asset Data Source Detail Version Specific Detail> 
- Possible data sources
- WalletPassword stringSecret Id 
- wallet password Secret ID in String format
- AtpPassword stringSecret Id 
- atp db password Secret Id
- AtpUser stringName 
- atp db user name
- Bucket string
- Bucket Name for influx connection
- CwalletFile stringSecret Id 
- OCID of the secret containing the containers certificates of ATP wallet
- DataSource stringType 
- Data source type where actually data asset is being stored
- DatabaseName string
- DB Name for influx connection
- EwalletFile stringSecret Id 
- OCID of the secret containing the PDB'S certificates of ATP wallet
- KeyStore stringFile Secret Id 
- OCID of the secret containing Keystore.jks file of the ATP wallet
- MeasurementName string
- Measurement name for influx
- Namespace string
- Object storage namespace
- Object string
- File name
- OjdbcFile stringSecret Id 
- OCID of the secret that contains jdbc properties file of ATP wallet
- PasswordSecret stringId 
- Password Secret Id for the influx connection
- TableName string
- atp database table name
- TnsnamesFile stringSecret Id 
- OCID of the secret that contains the tnsnames file of ATP wallet
- TruststoreFile stringSecret Id 
- OCID of the secret containing truststore.jks file of the ATP wallet
- Url string
- public IP address and port to influx DB
- UserName string
- Username for connection to Influx
- VersionSpecific []GetDetails Detection Data Asset Data Source Detail Version Specific Detail 
- Possible data sources
- WalletPassword stringSecret Id 
- wallet password Secret ID in String format
- atpPassword StringSecret Id 
- atp db password Secret Id
- atpUser StringName 
- atp db user name
- bucket String
- Bucket Name for influx connection
- cwalletFile StringSecret Id 
- OCID of the secret containing the containers certificates of ATP wallet
- dataSource StringType 
- Data source type where actually data asset is being stored
- databaseName String
- DB Name for influx connection
- ewalletFile StringSecret Id 
- OCID of the secret containing the PDB'S certificates of ATP wallet
- keyStore StringFile Secret Id 
- OCID of the secret containing Keystore.jks file of the ATP wallet
- measurementName String
- Measurement name for influx
- namespace String
- Object storage namespace
- object String
- File name
- ojdbcFile StringSecret Id 
- OCID of the secret that contains jdbc properties file of ATP wallet
- passwordSecret StringId 
- Password Secret Id for the influx connection
- tableName String
- atp database table name
- tnsnamesFile StringSecret Id 
- OCID of the secret that contains the tnsnames file of ATP wallet
- truststoreFile StringSecret Id 
- OCID of the secret containing truststore.jks file of the ATP wallet
- url String
- public IP address and port to influx DB
- userName String
- Username for connection to Influx
- versionSpecific List<GetDetails Detection Data Asset Data Source Detail Version Specific Detail> 
- Possible data sources
- walletPassword StringSecret Id 
- wallet password Secret ID in String format
- atpPassword stringSecret Id 
- atp db password Secret Id
- atpUser stringName 
- atp db user name
- bucket string
- Bucket Name for influx connection
- cwalletFile stringSecret Id 
- OCID of the secret containing the containers certificates of ATP wallet
- dataSource stringType 
- Data source type where actually data asset is being stored
- databaseName string
- DB Name for influx connection
- ewalletFile stringSecret Id 
- OCID of the secret containing the PDB'S certificates of ATP wallet
- keyStore stringFile Secret Id 
- OCID of the secret containing Keystore.jks file of the ATP wallet
- measurementName string
- Measurement name for influx
- namespace string
- Object storage namespace
- object string
- File name
- ojdbcFile stringSecret Id 
- OCID of the secret that contains jdbc properties file of ATP wallet
- passwordSecret stringId 
- Password Secret Id for the influx connection
- tableName string
- atp database table name
- tnsnamesFile stringSecret Id 
- OCID of the secret that contains the tnsnames file of ATP wallet
- truststoreFile stringSecret Id 
- OCID of the secret containing truststore.jks file of the ATP wallet
- url string
- public IP address and port to influx DB
- userName string
- Username for connection to Influx
- versionSpecific GetDetails Detection Data Asset Data Source Detail Version Specific Detail[] 
- Possible data sources
- walletPassword stringSecret Id 
- wallet password Secret ID in String format
- atp_password_ strsecret_ id 
- atp db password Secret Id
- atp_user_ strname 
- atp db user name
- bucket str
- Bucket Name for influx connection
- cwallet_file_ strsecret_ id 
- OCID of the secret containing the containers certificates of ATP wallet
- data_source_ strtype 
- Data source type where actually data asset is being stored
- database_name str
- DB Name for influx connection
- ewallet_file_ strsecret_ id 
- OCID of the secret containing the PDB'S certificates of ATP wallet
- key_store_ strfile_ secret_ id 
- OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement_name str
- Measurement name for influx
- namespace str
- Object storage namespace
- object str
- File name
- ojdbc_file_ strsecret_ id 
- OCID of the secret that contains jdbc properties file of ATP wallet
- password_secret_ strid 
- Password Secret Id for the influx connection
- table_name str
- atp database table name
- tnsnames_file_ strsecret_ id 
- OCID of the secret that contains the tnsnames file of ATP wallet
- truststore_file_ strsecret_ id 
- OCID of the secret containing truststore.jks file of the ATP wallet
- url str
- public IP address and port to influx DB
- user_name str
- Username for connection to Influx
- version_specific_ Sequence[Getdetails Detection Data Asset Data Source Detail Version Specific Detail] 
- Possible data sources
- wallet_password_ strsecret_ id 
- wallet password Secret ID in String format
- atpPassword StringSecret Id 
- atp db password Secret Id
- atpUser StringName 
- atp db user name
- bucket String
- Bucket Name for influx connection
- cwalletFile StringSecret Id 
- OCID of the secret containing the containers certificates of ATP wallet
- dataSource StringType 
- Data source type where actually data asset is being stored
- databaseName String
- DB Name for influx connection
- ewalletFile StringSecret Id 
- OCID of the secret containing the PDB'S certificates of ATP wallet
- keyStore StringFile Secret Id 
- OCID of the secret containing Keystore.jks file of the ATP wallet
- measurementName String
- Measurement name for influx
- namespace String
- Object storage namespace
- object String
- File name
- ojdbcFile StringSecret Id 
- OCID of the secret that contains jdbc properties file of ATP wallet
- passwordSecret StringId 
- Password Secret Id for the influx connection
- tableName String
- atp database table name
- tnsnamesFile StringSecret Id 
- OCID of the secret that contains the tnsnames file of ATP wallet
- truststoreFile StringSecret Id 
- OCID of the secret containing truststore.jks file of the ATP wallet
- url String
- public IP address and port to influx DB
- userName String
- Username for connection to Influx
- versionSpecific List<Property Map>Details 
- Possible data sources
- walletPassword StringSecret Id 
- wallet password Secret ID in String format
GetDetectionDataAssetDataSourceDetailVersionSpecificDetail         
- Bucket string
- Bucket Name for influx connection
- DatabaseName string
- DB Name for influx connection
- InfluxVersion string
- Data source type where actually data asset is being stored
- OrganizationName string
- Org name for the influx db
- RetentionPolicy stringName 
- retention policy is how long the bucket would last
- Bucket string
- Bucket Name for influx connection
- DatabaseName string
- DB Name for influx connection
- InfluxVersion string
- Data source type where actually data asset is being stored
- OrganizationName string
- Org name for the influx db
- RetentionPolicy stringName 
- retention policy is how long the bucket would last
- bucket String
- Bucket Name for influx connection
- databaseName String
- DB Name for influx connection
- influxVersion String
- Data source type where actually data asset is being stored
- organizationName String
- Org name for the influx db
- retentionPolicy StringName 
- retention policy is how long the bucket would last
- bucket string
- Bucket Name for influx connection
- databaseName string
- DB Name for influx connection
- influxVersion string
- Data source type where actually data asset is being stored
- organizationName string
- Org name for the influx db
- retentionPolicy stringName 
- retention policy is how long the bucket would last
- bucket str
- Bucket Name for influx connection
- database_name str
- DB Name for influx connection
- influx_version str
- Data source type where actually data asset is being stored
- organization_name str
- Org name for the influx db
- retention_policy_ strname 
- retention policy is how long the bucket would last
- bucket String
- Bucket Name for influx connection
- databaseName String
- DB Name for influx connection
- influxVersion String
- Data source type where actually data asset is being stored
- organizationName String
- Org name for the influx db
- retentionPolicy StringName 
- 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 ociTerraform Provider.