Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 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 dictionary
The following arguments are supported:
- Data
Asset Id This property is required. string - The OCID of the Data Asset.
- Data
Asset Id This property is required. string - The OCID of the Data Asset.
- data
Asset Id This property is required. String - The OCID of the Data Asset.
- data
Asset Id This property is required. string - The OCID of the Data Asset.
- data_
asset_ id This property is required. str - The OCID of the Data Asset.
- data
Asset Id This property is required. String - The OCID of the Data Asset.
getDetectionDataAsset Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the DataAsset.
- Data
Asset stringId - Data
Source 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.
- Display
Name 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.
- Private
Endpoint stringId - OCID of Private Endpoint.
- Project
Id 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"}
- Time
Created string - The time the the DataAsset was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the the DataAsset was updated. An RFC3339 formatted datetime string
- Compartment
Id string - The OCID of the compartment containing the DataAsset.
- Data
Asset stringId - Data
Source []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.
- Display
Name 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.
- Private
Endpoint stringId - OCID of Private Endpoint.
- Project
Id 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"}
- Time
Created string - The time the the DataAsset was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the the DataAsset was updated. An RFC3339 formatted datetime string
- compartment
Id String - The OCID of the compartment containing the DataAsset.
- data
Asset StringId - data
Source 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.
- display
Name 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.
- private
Endpoint StringId - OCID of Private Endpoint.
- project
Id 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"}
- time
Created String - The time the the DataAsset was created. An RFC3339 formatted datetime string
- time
Updated String - The time the the DataAsset was updated. An RFC3339 formatted datetime string
- compartment
Id string - The OCID of the compartment containing the DataAsset.
- data
Asset stringId - data
Source 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.
- display
Name 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.
- private
Endpoint stringId - OCID of Private Endpoint.
- project
Id 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"}
- time
Created string - The time the the DataAsset was created. An RFC3339 formatted datetime string
- time
Updated 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[aianomalydetection.details Get 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
- compartment
Id String - The OCID of the compartment containing the DataAsset.
- data
Asset StringId - data
Source 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.
- display
Name 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.
- private
Endpoint StringId - OCID of Private Endpoint.
- project
Id 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"}
- time
Created String - The time the the DataAsset was created. An RFC3339 formatted datetime string
- time
Updated String - The time the the DataAsset was updated. An RFC3339 formatted datetime string
Supporting Types
GetDetectionDataAssetDataSourceDetail
- Atp
Password Secret Id This property is required. string - atp db password Secret Id
- Atp
User Name This property is required. string - atp db user name
- Bucket
This property is required. string - Bucket Name for influx connection
- Cwallet
File Secret Id This property is required. string - OCID of the secret containing the containers certificates of ATP wallet
- Data
Source Type This property is required. string - Data source type where actually data asset is being stored
- Database
Name This property is required. string - DB Name for influx connection
- Ewallet
File Secret Id This property is required. string - OCID of the secret containing the PDB'S certificates of ATP wallet
- Key
Store File Secret Id This property is required. string - OCID of the secret containing Keystore.jks file of the ATP wallet
- Measurement
Name This property is required. string - Measurement name for influx
- Namespace
This property is required. string - Object storage namespace
- Object
This property is required. string - File name
- Ojdbc
File Secret Id This property is required. string - OCID of the secret that contains jdbc properties file of ATP wallet
- Password
Secret Id This property is required. string - Password Secret Id for the influx connection
- Table
Name This property is required. string - atp database table name
- Tnsnames
File Secret Id This property is required. string - OCID of the secret that contains the tnsnames file of ATP wallet
- Truststore
File Secret Id This property is required. string - OCID of the secret containing truststore.jks file of the ATP wallet
- Url
This property is required. string - public IP address and port to influx DB
- User
Name This property is required. string - Username for connection to Influx
- Version
Specific Details This property is required. List<GetDetection Data Asset Data Source Detail Version Specific Detail> - Possible data sources
- Wallet
Password Secret Id This property is required. string - wallet password Secret ID in String format
- Atp
Password Secret Id This property is required. string - atp db password Secret Id
- Atp
User Name This property is required. string - atp db user name
- Bucket
This property is required. string - Bucket Name for influx connection
- Cwallet
File Secret Id This property is required. string - OCID of the secret containing the containers certificates of ATP wallet
- Data
Source Type This property is required. string - Data source type where actually data asset is being stored
- Database
Name This property is required. string - DB Name for influx connection
- Ewallet
File Secret Id This property is required. string - OCID of the secret containing the PDB'S certificates of ATP wallet
- Key
Store File Secret Id This property is required. string - OCID of the secret containing Keystore.jks file of the ATP wallet
- Measurement
Name This property is required. string - Measurement name for influx
- Namespace
This property is required. string - Object storage namespace
- Object
This property is required. string - File name
- Ojdbc
File Secret Id This property is required. string - OCID of the secret that contains jdbc properties file of ATP wallet
- Password
Secret Id This property is required. string - Password Secret Id for the influx connection
- Table
Name This property is required. string - atp database table name
- Tnsnames
File Secret Id This property is required. string - OCID of the secret that contains the tnsnames file of ATP wallet
- Truststore
File Secret Id This property is required. string - OCID of the secret containing truststore.jks file of the ATP wallet
- Url
This property is required. string - public IP address and port to influx DB
- User
Name This property is required. string - Username for connection to Influx
- Version
Specific Details This property is required. []GetDetection Data Asset Data Source Detail Version Specific Detail - Possible data sources
- Wallet
Password Secret Id This property is required. string - wallet password Secret ID in String format
- atp
Password Secret Id This property is required. String - atp db password Secret Id
- atp
User Name This property is required. String - atp db user name
- bucket
This property is required. String - Bucket Name for influx connection
- cwallet
File Secret Id This property is required. String - OCID of the secret containing the containers certificates of ATP wallet
- data
Source Type This property is required. String - Data source type where actually data asset is being stored
- database
Name This property is required. String - DB Name for influx connection
- ewallet
File Secret Id This property is required. String - OCID of the secret containing the PDB'S certificates of ATP wallet
- key
Store File Secret Id This property is required. String - OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement
Name This property is required. String - Measurement name for influx
- namespace
This property is required. String - Object storage namespace
- object
This property is required. String - File name
- ojdbc
File Secret Id This property is required. String - OCID of the secret that contains jdbc properties file of ATP wallet
- password
Secret Id This property is required. String - Password Secret Id for the influx connection
- table
Name This property is required. String - atp database table name
- tnsnames
File Secret Id This property is required. String - OCID of the secret that contains the tnsnames file of ATP wallet
- truststore
File Secret Id This property is required. String - OCID of the secret containing truststore.jks file of the ATP wallet
- url
This property is required. String - public IP address and port to influx DB
- user
Name This property is required. String - Username for connection to Influx
- version
Specific Details This property is required. List<GetDetection Data Asset Data Source Detail Version Specific Detail> - Possible data sources
- wallet
Password Secret Id This property is required. String - wallet password Secret ID in String format
- atp
Password Secret Id This property is required. string - atp db password Secret Id
- atp
User Name This property is required. string - atp db user name
- bucket
This property is required. string - Bucket Name for influx connection
- cwallet
File Secret Id This property is required. string - OCID of the secret containing the containers certificates of ATP wallet
- data
Source Type This property is required. string - Data source type where actually data asset is being stored
- database
Name This property is required. string - DB Name for influx connection
- ewallet
File Secret Id This property is required. string - OCID of the secret containing the PDB'S certificates of ATP wallet
- key
Store File Secret Id This property is required. string - OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement
Name This property is required. string - Measurement name for influx
- namespace
This property is required. string - Object storage namespace
- object
This property is required. string - File name
- ojdbc
File Secret Id This property is required. string - OCID of the secret that contains jdbc properties file of ATP wallet
- password
Secret Id This property is required. string - Password Secret Id for the influx connection
- table
Name This property is required. string - atp database table name
- tnsnames
File Secret Id This property is required. string - OCID of the secret that contains the tnsnames file of ATP wallet
- truststore
File Secret Id This property is required. string - OCID of the secret containing truststore.jks file of the ATP wallet
- url
This property is required. string - public IP address and port to influx DB
- user
Name This property is required. string - Username for connection to Influx
- version
Specific Details This property is required. GetDetection Data Asset Data Source Detail Version Specific Detail[] - Possible data sources
- wallet
Password Secret Id This property is required. string - wallet password Secret ID in String format
- atp_
password_ secret_ id This property is required. str - atp db password Secret Id
- atp_
user_ name This property is required. str - atp db user name
- bucket
This property is required. str - Bucket Name for influx connection
- cwallet_
file_ secret_ id This property is required. str - OCID of the secret containing the containers certificates of ATP wallet
- data_
source_ type This property is required. str - Data source type where actually data asset is being stored
- database_
name This property is required. str - DB Name for influx connection
- ewallet_
file_ secret_ id This property is required. str - OCID of the secret containing the PDB'S certificates of ATP wallet
- key_
store_ file_ secret_ id This property is required. str - OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement_
name This property is required. str - Measurement name for influx
- namespace
This property is required. str - Object storage namespace
- object
This property is required. str - File name
- ojdbc_
file_ secret_ id This property is required. str - OCID of the secret that contains jdbc properties file of ATP wallet
- password_
secret_ id This property is required. str - Password Secret Id for the influx connection
- table_
name This property is required. str - atp database table name
- tnsnames_
file_ secret_ id This property is required. str - OCID of the secret that contains the tnsnames file of ATP wallet
- truststore_
file_ secret_ id This property is required. str - OCID of the secret containing truststore.jks file of the ATP wallet
- url
This property is required. str - public IP address and port to influx DB
- user_
name This property is required. str - Username for connection to Influx
- version_
specific_ details This property is required. Sequence[aianomalydetection.Get Detection Data Asset Data Source Detail Version Specific Detail] - Possible data sources
- wallet_
password_ secret_ id This property is required. str - wallet password Secret ID in String format
- atp
Password Secret Id This property is required. String - atp db password Secret Id
- atp
User Name This property is required. String - atp db user name
- bucket
This property is required. String - Bucket Name for influx connection
- cwallet
File Secret Id This property is required. String - OCID of the secret containing the containers certificates of ATP wallet
- data
Source Type This property is required. String - Data source type where actually data asset is being stored
- database
Name This property is required. String - DB Name for influx connection
- ewallet
File Secret Id This property is required. String - OCID of the secret containing the PDB'S certificates of ATP wallet
- key
Store File Secret Id This property is required. String - OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement
Name This property is required. String - Measurement name for influx
- namespace
This property is required. String - Object storage namespace
- object
This property is required. String - File name
- ojdbc
File Secret Id This property is required. String - OCID of the secret that contains jdbc properties file of ATP wallet
- password
Secret Id This property is required. String - Password Secret Id for the influx connection
- table
Name This property is required. String - atp database table name
- tnsnames
File Secret Id This property is required. String - OCID of the secret that contains the tnsnames file of ATP wallet
- truststore
File Secret Id This property is required. String - OCID of the secret containing truststore.jks file of the ATP wallet
- url
This property is required. String - public IP address and port to influx DB
- user
Name This property is required. String - Username for connection to Influx
- version
Specific Details This property is required. List<Property Map> - Possible data sources
- wallet
Password Secret Id This property is required. String - wallet password Secret ID in String format
GetDetectionDataAssetDataSourceDetailVersionSpecificDetail
- Bucket
This property is required. string - Bucket Name for influx connection
- Database
Name This property is required. string - DB Name for influx connection
- Influx
Version This property is required. string - Data source type where actually data asset is being stored
- Organization
Name This property is required. string - Org name for the influx db
- Retention
Policy Name This property is required. string - retention policy is how long the bucket would last
- Bucket
This property is required. string - Bucket Name for influx connection
- Database
Name This property is required. string - DB Name for influx connection
- Influx
Version This property is required. string - Data source type where actually data asset is being stored
- Organization
Name This property is required. string - Org name for the influx db
- Retention
Policy Name This property is required. string - retention policy is how long the bucket would last
- bucket
This property is required. String - Bucket Name for influx connection
- database
Name This property is required. String - DB Name for influx connection
- influx
Version This property is required. String - Data source type where actually data asset is being stored
- organization
Name This property is required. String - Org name for the influx db
- retention
Policy Name This property is required. String - retention policy is how long the bucket would last
- bucket
This property is required. string - Bucket Name for influx connection
- database
Name This property is required. string - DB Name for influx connection
- influx
Version This property is required. string - Data source type where actually data asset is being stored
- organization
Name This property is required. string - Org name for the influx db
- retention
Policy Name This property is required. string - retention policy is how long the bucket would last
- bucket
This property is required. str - Bucket Name for influx connection
- database_
name This property is required. str - DB Name for influx connection
- influx_
version This property is required. str - Data source type where actually data asset is being stored
- organization_
name This property is required. str - Org name for the influx db
- retention_
policy_ name This property is required. str - retention policy is how long the bucket would last
- bucket
This property is required. String - Bucket Name for influx connection
- database
Name This property is required. String - DB Name for influx connection
- influx
Version This property is required. String - Data source type where actually data asset is being stored
- organization
Name This property is required. String - Org name for the influx db
- retention
Policy Name This property is required. String - retention policy is how long the bucket would last
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.