oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.AiAnomalyDetection.DataAsset

This resource provides the Data Asset resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.

Creates a new DataAsset.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDataAsset = new Oci.AiAnomalyDetection.DataAsset("testDataAsset", new()
    {
        CompartmentId = @var.Compartment_id,
        DataSourceDetails = new Oci.AiAnomalyDetection.Inputs.DataAssetDataSourceDetailsArgs
        {
            DataSourceType = @var.Data_asset_data_source_details_data_source_type,
            AtpPasswordSecretId = oci_vault_secret.Test_secret.Id,
            AtpUserName = oci_identity_user.Test_user.Name,
            Bucket = @var.Data_asset_data_source_details_bucket,
            CwalletFileSecretId = oci_vault_secret.Test_secret.Id,
            DatabaseName = oci_database_database.Test_database.Name,
            EwalletFileSecretId = oci_vault_secret.Test_secret.Id,
            KeyStoreFileSecretId = oci_vault_secret.Test_secret.Id,
            MeasurementName = @var.Data_asset_data_source_details_measurement_name,
            Namespace = @var.Data_asset_data_source_details_namespace,
            Object = @var.Data_asset_data_source_details_object,
            OjdbcFileSecretId = oci_vault_secret.Test_secret.Id,
            PasswordSecretId = oci_vault_secret.Test_secret.Id,
            TableName = oci_nosql_table.Test_table.Name,
            TnsnamesFileSecretId = oci_vault_secret.Test_secret.Id,
            TruststoreFileSecretId = oci_vault_secret.Test_secret.Id,
            Url = @var.Data_asset_data_source_details_url,
            UserName = oci_identity_user.Test_user.Name,
            VersionSpecificDetails = new Oci.AiAnomalyDetection.Inputs.DataAssetDataSourceDetailsVersionSpecificDetailsArgs
            {
                InfluxVersion = @var.Data_asset_data_source_details_version_specific_details_influx_version,
                Bucket = @var.Data_asset_data_source_details_version_specific_details_bucket,
                DatabaseName = oci_database_database.Test_database.Name,
                OrganizationName = @var.Data_asset_data_source_details_version_specific_details_organization_name,
                RetentionPolicyName = oci_identity_policy.Test_policy.Name,
            },
            WalletPasswordSecretId = oci_vault_secret.Test_secret.Id,
        },
        ProjectId = oci_ai_anomaly_detection_project.Test_project.Id,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = @var.Data_asset_description,
        DisplayName = @var.Data_asset_display_name,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.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.NewDataAsset(ctx, "testDataAsset", &AiAnomalyDetection.DataAssetArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DataSourceDetails: &aianomalydetection.DataAssetDataSourceDetailsArgs{
				DataSourceType:         pulumi.Any(_var.Data_asset_data_source_details_data_source_type),
				AtpPasswordSecretId:    pulumi.Any(oci_vault_secret.Test_secret.Id),
				AtpUserName:            pulumi.Any(oci_identity_user.Test_user.Name),
				Bucket:                 pulumi.Any(_var.Data_asset_data_source_details_bucket),
				CwalletFileSecretId:    pulumi.Any(oci_vault_secret.Test_secret.Id),
				DatabaseName:           pulumi.Any(oci_database_database.Test_database.Name),
				EwalletFileSecretId:    pulumi.Any(oci_vault_secret.Test_secret.Id),
				KeyStoreFileSecretId:   pulumi.Any(oci_vault_secret.Test_secret.Id),
				MeasurementName:        pulumi.Any(_var.Data_asset_data_source_details_measurement_name),
				Namespace:              pulumi.Any(_var.Data_asset_data_source_details_namespace),
				Object:                 pulumi.Any(_var.Data_asset_data_source_details_object),
				OjdbcFileSecretId:      pulumi.Any(oci_vault_secret.Test_secret.Id),
				PasswordSecretId:       pulumi.Any(oci_vault_secret.Test_secret.Id),
				TableName:              pulumi.Any(oci_nosql_table.Test_table.Name),
				TnsnamesFileSecretId:   pulumi.Any(oci_vault_secret.Test_secret.Id),
				TruststoreFileSecretId: pulumi.Any(oci_vault_secret.Test_secret.Id),
				Url:                    pulumi.Any(_var.Data_asset_data_source_details_url),
				UserName:               pulumi.Any(oci_identity_user.Test_user.Name),
				VersionSpecificDetails: &aianomalydetection.DataAssetDataSourceDetailsVersionSpecificDetailsArgs{
					InfluxVersion:       pulumi.Any(_var.Data_asset_data_source_details_version_specific_details_influx_version),
					Bucket:              pulumi.Any(_var.Data_asset_data_source_details_version_specific_details_bucket),
					DatabaseName:        pulumi.Any(oci_database_database.Test_database.Name),
					OrganizationName:    pulumi.Any(_var.Data_asset_data_source_details_version_specific_details_organization_name),
					RetentionPolicyName: pulumi.Any(oci_identity_policy.Test_policy.Name),
				},
				WalletPasswordSecretId: pulumi.Any(oci_vault_secret.Test_secret.Id),
			},
			ProjectId: pulumi.Any(oci_ai_anomaly_detection_project.Test_project.Id),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description: pulumi.Any(_var.Data_asset_description),
			DisplayName: pulumi.Any(_var.Data_asset_display_name),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			PrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiAnomalyDetection.DataAsset;
import com.pulumi.oci.AiAnomalyDetection.DataAssetArgs;
import com.pulumi.oci.AiAnomalyDetection.inputs.DataAssetDataSourceDetailsArgs;
import com.pulumi.oci.AiAnomalyDetection.inputs.DataAssetDataSourceDetailsVersionSpecificDetailsArgs;
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) {
        var testDataAsset = new DataAsset("testDataAsset", DataAssetArgs.builder()        
            .compartmentId(var_.compartment_id())
            .dataSourceDetails(DataAssetDataSourceDetailsArgs.builder()
                .dataSourceType(var_.data_asset_data_source_details_data_source_type())
                .atpPasswordSecretId(oci_vault_secret.test_secret().id())
                .atpUserName(oci_identity_user.test_user().name())
                .bucket(var_.data_asset_data_source_details_bucket())
                .cwalletFileSecretId(oci_vault_secret.test_secret().id())
                .databaseName(oci_database_database.test_database().name())
                .ewalletFileSecretId(oci_vault_secret.test_secret().id())
                .keyStoreFileSecretId(oci_vault_secret.test_secret().id())
                .measurementName(var_.data_asset_data_source_details_measurement_name())
                .namespace(var_.data_asset_data_source_details_namespace())
                .object(var_.data_asset_data_source_details_object())
                .ojdbcFileSecretId(oci_vault_secret.test_secret().id())
                .passwordSecretId(oci_vault_secret.test_secret().id())
                .tableName(oci_nosql_table.test_table().name())
                .tnsnamesFileSecretId(oci_vault_secret.test_secret().id())
                .truststoreFileSecretId(oci_vault_secret.test_secret().id())
                .url(var_.data_asset_data_source_details_url())
                .userName(oci_identity_user.test_user().name())
                .versionSpecificDetails(DataAssetDataSourceDetailsVersionSpecificDetailsArgs.builder()
                    .influxVersion(var_.data_asset_data_source_details_version_specific_details_influx_version())
                    .bucket(var_.data_asset_data_source_details_version_specific_details_bucket())
                    .databaseName(oci_database_database.test_database().name())
                    .organizationName(var_.data_asset_data_source_details_version_specific_details_organization_name())
                    .retentionPolicyName(oci_identity_policy.test_policy().name())
                    .build())
                .walletPasswordSecretId(oci_vault_secret.test_secret().id())
                .build())
            .projectId(oci_ai_anomaly_detection_project.test_project().id())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(var_.data_asset_description())
            .displayName(var_.data_asset_display_name())
            .freeformTags(Map.of("bar-key", "value"))
            .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_data_asset = oci.ai_anomaly_detection.DataAsset("testDataAsset",
    compartment_id=var["compartment_id"],
    data_source_details=oci.ai_anomaly_detection.DataAssetDataSourceDetailsArgs(
        data_source_type=var["data_asset_data_source_details_data_source_type"],
        atp_password_secret_id=oci_vault_secret["test_secret"]["id"],
        atp_user_name=oci_identity_user["test_user"]["name"],
        bucket=var["data_asset_data_source_details_bucket"],
        cwallet_file_secret_id=oci_vault_secret["test_secret"]["id"],
        database_name=oci_database_database["test_database"]["name"],
        ewallet_file_secret_id=oci_vault_secret["test_secret"]["id"],
        key_store_file_secret_id=oci_vault_secret["test_secret"]["id"],
        measurement_name=var["data_asset_data_source_details_measurement_name"],
        namespace=var["data_asset_data_source_details_namespace"],
        object=var["data_asset_data_source_details_object"],
        ojdbc_file_secret_id=oci_vault_secret["test_secret"]["id"],
        password_secret_id=oci_vault_secret["test_secret"]["id"],
        table_name=oci_nosql_table["test_table"]["name"],
        tnsnames_file_secret_id=oci_vault_secret["test_secret"]["id"],
        truststore_file_secret_id=oci_vault_secret["test_secret"]["id"],
        url=var["data_asset_data_source_details_url"],
        user_name=oci_identity_user["test_user"]["name"],
        version_specific_details=oci.ai_anomaly_detection.DataAssetDataSourceDetailsVersionSpecificDetailsArgs(
            influx_version=var["data_asset_data_source_details_version_specific_details_influx_version"],
            bucket=var["data_asset_data_source_details_version_specific_details_bucket"],
            database_name=oci_database_database["test_database"]["name"],
            organization_name=var["data_asset_data_source_details_version_specific_details_organization_name"],
            retention_policy_name=oci_identity_policy["test_policy"]["name"],
        ),
        wallet_password_secret_id=oci_vault_secret["test_secret"]["id"],
    ),
    project_id=oci_ai_anomaly_detection_project["test_project"]["id"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["data_asset_description"],
    display_name=var["data_asset_display_name"],
    freeform_tags={
        "bar-key": "value",
    },
    private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDataAsset = new oci.aianomalydetection.DataAsset("testDataAsset", {
    compartmentId: _var.compartment_id,
    dataSourceDetails: {
        dataSourceType: _var.data_asset_data_source_details_data_source_type,
        atpPasswordSecretId: oci_vault_secret.test_secret.id,
        atpUserName: oci_identity_user.test_user.name,
        bucket: _var.data_asset_data_source_details_bucket,
        cwalletFileSecretId: oci_vault_secret.test_secret.id,
        databaseName: oci_database_database.test_database.name,
        ewalletFileSecretId: oci_vault_secret.test_secret.id,
        keyStoreFileSecretId: oci_vault_secret.test_secret.id,
        measurementName: _var.data_asset_data_source_details_measurement_name,
        namespace: _var.data_asset_data_source_details_namespace,
        object: _var.data_asset_data_source_details_object,
        ojdbcFileSecretId: oci_vault_secret.test_secret.id,
        passwordSecretId: oci_vault_secret.test_secret.id,
        tableName: oci_nosql_table.test_table.name,
        tnsnamesFileSecretId: oci_vault_secret.test_secret.id,
        truststoreFileSecretId: oci_vault_secret.test_secret.id,
        url: _var.data_asset_data_source_details_url,
        userName: oci_identity_user.test_user.name,
        versionSpecificDetails: {
            influxVersion: _var.data_asset_data_source_details_version_specific_details_influx_version,
            bucket: _var.data_asset_data_source_details_version_specific_details_bucket,
            databaseName: oci_database_database.test_database.name,
            organizationName: _var.data_asset_data_source_details_version_specific_details_organization_name,
            retentionPolicyName: oci_identity_policy.test_policy.name,
        },
        walletPasswordSecretId: oci_vault_secret.test_secret.id,
    },
    projectId: oci_ai_anomaly_detection_project.test_project.id,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.data_asset_description,
    displayName: _var.data_asset_display_name,
    freeformTags: {
        "bar-key": "value",
    },
    privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id,
});
resources:
  testDataAsset:
    type: oci:AiAnomalyDetection:DataAsset
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      dataSourceDetails:
        dataSourceType: ${var.data_asset_data_source_details_data_source_type}
        atpPasswordSecretId: ${oci_vault_secret.test_secret.id}
        atpUserName: ${oci_identity_user.test_user.name}
        bucket: ${var.data_asset_data_source_details_bucket}
        cwalletFileSecretId: ${oci_vault_secret.test_secret.id}
        databaseName: ${oci_database_database.test_database.name}
        ewalletFileSecretId: ${oci_vault_secret.test_secret.id}
        keyStoreFileSecretId: ${oci_vault_secret.test_secret.id}
        measurementName: ${var.data_asset_data_source_details_measurement_name}
        namespace: ${var.data_asset_data_source_details_namespace}
        object: ${var.data_asset_data_source_details_object}
        ojdbcFileSecretId: ${oci_vault_secret.test_secret.id}
        passwordSecretId: ${oci_vault_secret.test_secret.id}
        tableName: ${oci_nosql_table.test_table.name}
        tnsnamesFileSecretId: ${oci_vault_secret.test_secret.id}
        truststoreFileSecretId: ${oci_vault_secret.test_secret.id}
        url: ${var.data_asset_data_source_details_url}
        userName: ${oci_identity_user.test_user.name}
        versionSpecificDetails:
          influxVersion: ${var.data_asset_data_source_details_version_specific_details_influx_version}
          bucket: ${var.data_asset_data_source_details_version_specific_details_bucket}
          databaseName: ${oci_database_database.test_database.name}
          organizationName: ${var.data_asset_data_source_details_version_specific_details_organization_name}
          retentionPolicyName: ${oci_identity_policy.test_policy.name}
        walletPasswordSecretId: ${oci_vault_secret.test_secret.id}
      projectId: ${oci_ai_anomaly_detection_project.test_project.id}
      #Optional
      definedTags:
        foo-namespace.bar-key: value
      description: ${var.data_asset_description}
      displayName: ${var.data_asset_display_name}
      freeformTags:
        bar-key: value
      privateEndpointId: ${oci_dataflow_private_endpoint.test_private_endpoint.id}

Create DataAsset Resource

new DataAsset(name: string, args: DataAssetArgs, opts?: CustomResourceOptions);
@overload
def DataAsset(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              compartment_id: Optional[str] = None,
              data_source_details: Optional[_aianomalydetection.DataAssetDataSourceDetailsArgs] = None,
              defined_tags: Optional[Mapping[str, Any]] = None,
              description: Optional[str] = None,
              display_name: Optional[str] = None,
              freeform_tags: Optional[Mapping[str, Any]] = None,
              private_endpoint_id: Optional[str] = None,
              project_id: Optional[str] = None)
@overload
def DataAsset(resource_name: str,
              args: DataAssetArgs,
              opts: Optional[ResourceOptions] = None)
func NewDataAsset(ctx *Context, name string, args DataAssetArgs, opts ...ResourceOption) (*DataAsset, error)
public DataAsset(string name, DataAssetArgs args, CustomResourceOptions? opts = null)
public DataAsset(String name, DataAssetArgs args)
public DataAsset(String name, DataAssetArgs args, CustomResourceOptions options)
type: oci:AiAnomalyDetection:DataAsset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DataAssetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DataAssetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DataAssetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DataAssetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DataAssetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DataAsset Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DataAsset resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID for the data asset's compartment.

DataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

ProjectId string

The OCID of the project to associate with the data asset.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A short description of the Ai data asset

DisplayName string

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

PrivateEndpointId string

OCID of Private Endpoint.

CompartmentId string

(Updatable) The OCID for the data asset's compartment.

DataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

ProjectId string

The OCID of the project to associate with the data asset.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A short description of the Ai data asset

DisplayName string

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

PrivateEndpointId string

OCID of Private Endpoint.

compartmentId String

(Updatable) The OCID for the data asset's compartment.

dataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

projectId String

The OCID of the project to associate with the data asset.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A short description of the Ai data asset

displayName String

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

privateEndpointId String

OCID of Private Endpoint.

compartmentId string

(Updatable) The OCID for the data asset's compartment.

dataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

projectId string

The OCID of the project to associate with the data asset.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

(Updatable) A short description of the Ai data asset

displayName string

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

privateEndpointId string

OCID of Private Endpoint.

compartment_id str

(Updatable) The OCID for the data asset's compartment.

data_source_details DataAssetDataSourceDetailsArgs

Possible data sources

project_id str

The OCID of the project to associate with the data asset.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

(Updatable) A short description of the Ai data asset

display_name str

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

private_endpoint_id str

OCID of Private Endpoint.

compartmentId String

(Updatable) The OCID for the data asset's compartment.

dataSourceDetails Property Map

Possible data sources

projectId String

The OCID of the project to associate with the data asset.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A short description of the Ai data asset

displayName String

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

privateEndpointId String

OCID of Private Endpoint.

Outputs

All input properties are implicitly available as output properties. Additionally, the DataAsset resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

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

Id string

The provider-assigned unique ID for this managed resource.

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

id String

The provider-assigned unique ID for this managed resource.

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

id string

The provider-assigned unique ID for this managed resource.

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

id str

The provider-assigned unique ID for this managed resource.

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

id String

The provider-assigned unique ID for this managed resource.

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

Look up Existing DataAsset Resource

Get an existing DataAsset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DataAssetState, opts?: CustomResourceOptions): DataAsset
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        data_source_details: Optional[_aianomalydetection.DataAssetDataSourceDetailsArgs] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        private_endpoint_id: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> DataAsset
func GetDataAsset(ctx *Context, name string, id IDInput, state *DataAssetState, opts ...ResourceOption) (*DataAsset, error)
public static DataAsset Get(string name, Input<string> id, DataAssetState? state, CustomResourceOptions? opts = null)
public static DataAsset get(String name, Output<String> id, DataAssetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

(Updatable) The OCID for the data asset's compartment.

DataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A short description of the Ai data asset

DisplayName string

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

PrivateEndpointId string

OCID of Private Endpoint.

ProjectId string

The OCID of the project to associate with the data asset.

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

(Updatable) The OCID for the data asset's compartment.

DataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A short description of the Ai data asset

DisplayName string

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

PrivateEndpointId string

OCID of Private Endpoint.

ProjectId string

The OCID of the project to associate with the data asset.

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

(Updatable) The OCID for the data asset's compartment.

dataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A short description of the Ai data asset

displayName String

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

privateEndpointId String

OCID of Private Endpoint.

projectId String

The OCID of the project to associate with the data asset.

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

(Updatable) The OCID for the data asset's compartment.

dataSourceDetails DataAssetDataSourceDetailsArgs

Possible data sources

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

(Updatable) A short description of the Ai data asset

displayName string

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

privateEndpointId string

OCID of Private Endpoint.

projectId string

The OCID of the project to associate with the data asset.

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

(Updatable) The OCID for the data asset's compartment.

data_source_details DataAssetDataSourceDetailsArgs

Possible data sources

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

(Updatable) A short description of the Ai data asset

display_name str

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

private_endpoint_id str

OCID of Private Endpoint.

project_id str

The OCID of the project to associate with the data asset.

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

(Updatable) The OCID for the data asset's compartment.

dataSourceDetails Property Map

Possible data sources

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A short description of the Ai data asset

displayName String

(Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

privateEndpointId String

OCID of Private Endpoint.

projectId String

The OCID of the project to associate with the data asset.

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

DataAssetDataSourceDetails

DataSourceType string

Data source type where actually data asset is being stored

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

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 DataAssetDataSourceDetailsVersionSpecificDetails

Possible data sources

WalletPasswordSecretId string

wallet password Secret ID in String format

DataSourceType string

Data source type where actually data asset is being stored

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

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 DataAssetDataSourceDetailsVersionSpecificDetails

Possible data sources

WalletPasswordSecretId string

wallet password Secret ID in String format

dataSourceType String

Data source type where actually data asset is being stored

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

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 DataAssetDataSourceDetailsVersionSpecificDetails

Possible data sources

walletPasswordSecretId String

wallet password Secret ID in String format

dataSourceType string

Data source type where actually data asset is being stored

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

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 DataAssetDataSourceDetailsVersionSpecificDetails

Possible data sources

walletPasswordSecretId string

wallet password Secret ID in String format

data_source_type str

Data source type where actually data asset is being stored

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

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 DataAssetDataSourceDetailsVersionSpecificDetails

Possible data sources

wallet_password_secret_id str

wallet password Secret ID in String format

dataSourceType String

Data source type where actually data asset is being stored

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

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 Property Map

Possible data sources

walletPasswordSecretId String

wallet password Secret ID in String format

DataAssetDataSourceDetailsVersionSpecificDetails

InfluxVersion string

Data source type where actually data asset is being stored

Bucket string

Bucket Name for influx connection

DatabaseName string

DB Name for influx connection

OrganizationName string

Org name for the influx db

RetentionPolicyName string

retention policy is how long the bucket would last

InfluxVersion string

Data source type where actually data asset is being stored

Bucket string

Bucket Name for influx connection

DatabaseName string

DB Name for influx connection

OrganizationName string

Org name for the influx db

RetentionPolicyName string

retention policy is how long the bucket would last

influxVersion String

Data source type where actually data asset is being stored

bucket String

Bucket Name for influx connection

databaseName String

DB Name for influx connection

organizationName String

Org name for the influx db

retentionPolicyName String

retention policy is how long the bucket would last

influxVersion string

Data source type where actually data asset is being stored

bucket string

Bucket Name for influx connection

databaseName string

DB Name for influx connection

organizationName string

Org name for the influx db

retentionPolicyName string

retention policy is how long the bucket would last

influx_version str

Data source type where actually data asset is being stored

bucket str

Bucket Name for influx connection

database_name str

DB Name for influx connection

organization_name str

Org name for the influx db

retention_policy_name str

retention policy is how long the bucket would last

influxVersion String

Data source type where actually data asset is being stored

bucket String

Bucket Name for influx connection

databaseName String

DB Name for influx connection

organizationName String

Org name for the influx db

retentionPolicyName String

retention policy is how long the bucket would last

Import

DataAssets can be imported using the id, e.g.

 $ pulumi import oci:AiAnomalyDetection/dataAsset:DataAsset test_data_asset "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.