1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. AiAnomalyDetection
  5. getDetectionDataAsset
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.AiAnomalyDetection.getDetectionDataAsset

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 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: oci_ai_anomaly_detection_data_asset.test_data_asset.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_data_asset = oci.AiAnomalyDetection.get_detection_data_asset(data_asset_id=oci_ai_anomaly_detection_data_asset["test_data_asset"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_ai_anomaly_detection_data_asset.Test_data_asset.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 = oci_ai_anomaly_detection_data_asset.Test_data_asset.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(oci_ai_anomaly_detection_data_asset.test_data_asset().id())
                .build());
    
        }
    }
    
    variables:
      testDataAsset:
        fn::invoke:
          Function: oci:AiAnomalyDetection:getDetectionDataAsset
          Arguments:
            dataAssetId: ${oci_ai_anomaly_detection_data_asset.test_data_asset.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:AiAnomalyDetection/getDetectionDataAsset:getDetectionDataAsset
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DataAssetId string
    The OCID of the Data Asset.
    DataAssetId string
    The OCID of the Data Asset.
    dataAssetId String
    The OCID of the Data Asset.
    dataAssetId string
    The OCID of the Data Asset.
    data_asset_id str
    The OCID of the Data Asset.
    dataAssetId 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, object>
    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, object>
    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, object>
    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]interface{}
    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]interface{}
    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]interface{}
    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,Object>
    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,Object>
    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,Object>
    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]: any}
    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]: any}
    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]: any}
    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, Any]
    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, Any]
    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, Any]
    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<Any>
    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<Any>
    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<Any>
    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 string
    atp db password Secret Id
    AtpUserName string
    atp db user name
    Bucket string
    Bucket Name for influx connection
    CwalletFileSecretId string
    OCID of the secret containing the containers certificates of ATP wallet
    DataSourceType string
    Data source type where actually data asset is being stored
    DatabaseName string
    DB Name for influx connection
    EwalletFileSecretId string
    OCID of the secret containing the PDB'S certificates of ATP wallet
    KeyStoreFileSecretId string
    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
    OjdbcFileSecretId string
    OCID of the secret that contains jdbc properties file of ATP wallet
    PasswordSecretId string
    Password Secret Id for the influx connection
    TableName string
    atp database table name
    TnsnamesFileSecretId string
    OCID of the secret that contains the tnsnames file of ATP wallet
    TruststoreFileSecretId string
    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
    VersionSpecificDetails List<GetDetectionDataAssetDataSourceDetailVersionSpecificDetail>
    Possible data sources
    WalletPasswordSecretId string
    wallet password Secret ID in String format
    AtpPasswordSecretId string
    atp db password Secret Id
    AtpUserName string
    atp db user name
    Bucket string
    Bucket Name for influx connection
    CwalletFileSecretId string
    OCID of the secret containing the containers certificates of ATP wallet
    DataSourceType string
    Data source type where actually data asset is being stored
    DatabaseName string
    DB Name for influx connection
    EwalletFileSecretId string
    OCID of the secret containing the PDB'S certificates of ATP wallet
    KeyStoreFileSecretId string
    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
    OjdbcFileSecretId string
    OCID of the secret that contains jdbc properties file of ATP wallet
    PasswordSecretId string
    Password Secret Id for the influx connection
    TableName string
    atp database table name
    TnsnamesFileSecretId string
    OCID of the secret that contains the tnsnames file of ATP wallet
    TruststoreFileSecretId string
    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
    VersionSpecificDetails []GetDetectionDataAssetDataSourceDetailVersionSpecificDetail
    Possible data sources
    WalletPasswordSecretId string
    wallet password Secret ID in String format
    atpPasswordSecretId String
    atp db password Secret Id
    atpUserName String
    atp db user name
    bucket String
    Bucket Name for influx connection
    cwalletFileSecretId String
    OCID of the secret containing the containers certificates of ATP wallet
    dataSourceType String
    Data source type where actually data asset is being stored
    databaseName String
    DB Name for influx connection
    ewalletFileSecretId String
    OCID of the secret containing the PDB'S certificates of ATP wallet
    keyStoreFileSecretId String
    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
    ojdbcFileSecretId String
    OCID of the secret that contains jdbc properties file of ATP wallet
    passwordSecretId String
    Password Secret Id for the influx connection
    tableName String
    atp database table name
    tnsnamesFileSecretId String
    OCID of the secret that contains the tnsnames file of ATP wallet
    truststoreFileSecretId String
    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
    versionSpecificDetails List<GetDetectionDataAssetDataSourceDetailVersionSpecificDetail>
    Possible data sources
    walletPasswordSecretId String
    wallet password Secret ID in String format
    atpPasswordSecretId string
    atp db password Secret Id
    atpUserName string
    atp db user name
    bucket string
    Bucket Name for influx connection
    cwalletFileSecretId string
    OCID of the secret containing the containers certificates of ATP wallet
    dataSourceType string
    Data source type where actually data asset is being stored
    databaseName string
    DB Name for influx connection
    ewalletFileSecretId string
    OCID of the secret containing the PDB'S certificates of ATP wallet
    keyStoreFileSecretId string
    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
    ojdbcFileSecretId string
    OCID of the secret that contains jdbc properties file of ATP wallet
    passwordSecretId string
    Password Secret Id for the influx connection
    tableName string
    atp database table name
    tnsnamesFileSecretId string
    OCID of the secret that contains the tnsnames file of ATP wallet
    truststoreFileSecretId string
    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
    versionSpecificDetails GetDetectionDataAssetDataSourceDetailVersionSpecificDetail[]
    Possible data sources
    walletPasswordSecretId string
    wallet password Secret ID in String format
    atp_password_secret_id str
    atp db password Secret Id
    atp_user_name str
    atp db user name
    bucket str
    Bucket Name for influx connection
    cwallet_file_secret_id str
    OCID of the secret containing the containers certificates of ATP wallet
    data_source_type str
    Data source type where actually data asset is being stored
    database_name str
    DB Name for influx connection
    ewallet_file_secret_id str
    OCID of the secret containing the PDB'S certificates of ATP wallet
    key_store_file_secret_id str
    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_secret_id str
    OCID of the secret that contains jdbc properties file of ATP wallet
    password_secret_id str
    Password Secret Id for the influx connection
    table_name str
    atp database table name
    tnsnames_file_secret_id str
    OCID of the secret that contains the tnsnames file of ATP wallet
    truststore_file_secret_id str
    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_details Sequence[aianomalydetection.GetDetectionDataAssetDataSourceDetailVersionSpecificDetail]
    Possible data sources
    wallet_password_secret_id str
    wallet password Secret ID in String format
    atpPasswordSecretId String
    atp db password Secret Id
    atpUserName String
    atp db user name
    bucket String
    Bucket Name for influx connection
    cwalletFileSecretId String
    OCID of the secret containing the containers certificates of ATP wallet
    dataSourceType String
    Data source type where actually data asset is being stored
    databaseName String
    DB Name for influx connection
    ewalletFileSecretId String
    OCID of the secret containing the PDB'S certificates of ATP wallet
    keyStoreFileSecretId String
    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
    ojdbcFileSecretId String
    OCID of the secret that contains jdbc properties file of ATP wallet
    passwordSecretId String
    Password Secret Id for the influx connection
    tableName String
    atp database table name
    tnsnamesFileSecretId String
    OCID of the secret that contains the tnsnames file of ATP wallet
    truststoreFileSecretId String
    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
    versionSpecificDetails List<Property Map>
    Possible data sources
    walletPasswordSecretId String
    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
    RetentionPolicyName string
    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
    RetentionPolicyName string
    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
    retentionPolicyName String
    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
    retentionPolicyName string
    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_name str
    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
    retentionPolicyName 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.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi