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
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 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
})
}
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());
}
}
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"])
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,
});
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:
- Data
Asset stringId The OCID of the Data Asset.
- Data
Asset stringId The OCID of the Data Asset.
- data
Asset StringId The OCID of the Data Asset.
- data
Asset stringId The OCID of the Data Asset.
- data_
asset_ strid The OCID of the Data Asset.
- data
Asset StringId 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, 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.
- Display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- 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, object>
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]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.
- Display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- 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]interface{}
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,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.
- display
Name String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- 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,Object>
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]: 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.
- display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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.
- 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]: any}
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_ Getdetails Detection Data Asset Data Source Detail] Possible data sources
- 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.
- 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_ 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, 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
- compartment
Id String The OCID of the compartment containing the DataAsset.
- data
Asset StringId - data
Source List<Property Map>Details Possible data sources
- 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.
- display
Name String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- 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<Any>
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 stringSecret Id atp db password Secret Id
- Atp
User stringName atp db user name
- Bucket string
Bucket Name for influx connection
- Cwallet
File stringSecret Id OCID of the secret containing the containers certificates of ATP wallet
- Data
Source stringType Data source type where actually data asset is being stored
- Database
Name string DB Name for influx connection
- Ewallet
File stringSecret Id OCID of the secret containing the PDB'S certificates of ATP wallet
- Key
Store stringFile Secret Id OCID of the secret containing Keystore.jks file of the ATP wallet
- Measurement
Name string Measurement name for influx
- Namespace string
Object storage namespace
- Object string
File name
- Ojdbc
File stringSecret Id OCID of the secret that contains jdbc properties file of ATP wallet
- Password
Secret stringId Password Secret Id for the influx connection
- Table
Name string atp database table name
- Tnsnames
File stringSecret Id OCID of the secret that contains the tnsnames file of ATP wallet
- Truststore
File stringSecret Id OCID of the secret containing truststore.jks file of the ATP wallet
- Url string
public IP address and port to influx DB
- User
Name string Username for connection to Influx
- Version
Specific List<GetDetails Detection Data Asset Data Source Detail Version Specific Detail> Possible data sources
- Wallet
Password stringSecret Id wallet password Secret ID in String format
- Atp
Password stringSecret Id atp db password Secret Id
- Atp
User stringName atp db user name
- Bucket string
Bucket Name for influx connection
- Cwallet
File stringSecret Id OCID of the secret containing the containers certificates of ATP wallet
- Data
Source stringType Data source type where actually data asset is being stored
- Database
Name string DB Name for influx connection
- Ewallet
File stringSecret Id OCID of the secret containing the PDB'S certificates of ATP wallet
- Key
Store stringFile Secret Id OCID of the secret containing Keystore.jks file of the ATP wallet
- Measurement
Name string Measurement name for influx
- Namespace string
Object storage namespace
- Object string
File name
- Ojdbc
File stringSecret Id OCID of the secret that contains jdbc properties file of ATP wallet
- Password
Secret stringId Password Secret Id for the influx connection
- Table
Name string atp database table name
- Tnsnames
File stringSecret Id OCID of the secret that contains the tnsnames file of ATP wallet
- Truststore
File stringSecret Id OCID of the secret containing truststore.jks file of the ATP wallet
- Url string
public IP address and port to influx DB
- User
Name string Username for connection to Influx
- Version
Specific []GetDetails Detection Data Asset Data Source Detail Version Specific Detail Possible data sources
- Wallet
Password stringSecret Id wallet password Secret ID in String format
- atp
Password StringSecret Id atp db password Secret Id
- atp
User StringName atp db user name
- bucket String
Bucket Name for influx connection
- cwallet
File StringSecret Id OCID of the secret containing the containers certificates of ATP wallet
- data
Source StringType Data source type where actually data asset is being stored
- database
Name String DB Name for influx connection
- ewallet
File StringSecret Id OCID of the secret containing the PDB'S certificates of ATP wallet
- key
Store StringFile Secret Id OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement
Name String Measurement name for influx
- namespace String
Object storage namespace
- object String
File name
- ojdbc
File StringSecret Id OCID of the secret that contains jdbc properties file of ATP wallet
- password
Secret StringId Password Secret Id for the influx connection
- table
Name String atp database table name
- tnsnames
File StringSecret Id OCID of the secret that contains the tnsnames file of ATP wallet
- truststore
File StringSecret Id OCID of the secret containing truststore.jks file of the ATP wallet
- url String
public IP address and port to influx DB
- user
Name String Username for connection to Influx
- version
Specific List<GetDetails Detection Data Asset Data Source Detail Version Specific Detail> Possible data sources
- wallet
Password StringSecret Id wallet password Secret ID in String format
- atp
Password stringSecret Id atp db password Secret Id
- atp
User stringName atp db user name
- bucket string
Bucket Name for influx connection
- cwallet
File stringSecret Id OCID of the secret containing the containers certificates of ATP wallet
- data
Source stringType Data source type where actually data asset is being stored
- database
Name string DB Name for influx connection
- ewallet
File stringSecret Id OCID of the secret containing the PDB'S certificates of ATP wallet
- key
Store stringFile Secret Id OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement
Name string Measurement name for influx
- namespace string
Object storage namespace
- object string
File name
- ojdbc
File stringSecret Id OCID of the secret that contains jdbc properties file of ATP wallet
- password
Secret stringId Password Secret Id for the influx connection
- table
Name string atp database table name
- tnsnames
File stringSecret Id OCID of the secret that contains the tnsnames file of ATP wallet
- truststore
File stringSecret Id OCID of the secret containing truststore.jks file of the ATP wallet
- url string
public IP address and port to influx DB
- user
Name string Username for connection to Influx
- version
Specific GetDetails Detection Data Asset Data Source Detail Version Specific Detail[] Possible data sources
- wallet
Password stringSecret Id wallet password Secret ID in String format
- atp_
password_ strsecret_ id atp db password Secret Id
- atp_
user_ strname atp db user name
- bucket str
Bucket Name for influx connection
- cwallet_
file_ strsecret_ id OCID of the secret containing the containers certificates of ATP wallet
- data_
source_ strtype Data source type where actually data asset is being stored
- database_
name str DB Name for influx connection
- ewallet_
file_ strsecret_ id OCID of the secret containing the PDB'S certificates of ATP wallet
- key_
store_ strfile_ secret_ id OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement_
name str Measurement name for influx
- namespace str
Object storage namespace
- object str
File name
- ojdbc_
file_ strsecret_ id OCID of the secret that contains jdbc properties file of ATP wallet
- password_
secret_ strid Password Secret Id for the influx connection
- table_
name str atp database table name
- tnsnames_
file_ strsecret_ id OCID of the secret that contains the tnsnames file of ATP wallet
- truststore_
file_ strsecret_ id OCID of the secret containing truststore.jks file of the ATP wallet
- url str
public IP address and port to influx DB
- user_
name str Username for connection to Influx
- version_
specific_ Getdetails Detection Data Asset Data Source Detail Version Specific Detail] Possible data sources
- wallet_
password_ strsecret_ id wallet password Secret ID in String format
- atp
Password StringSecret Id atp db password Secret Id
- atp
User StringName atp db user name
- bucket String
Bucket Name for influx connection
- cwallet
File StringSecret Id OCID of the secret containing the containers certificates of ATP wallet
- data
Source StringType Data source type where actually data asset is being stored
- database
Name String DB Name for influx connection
- ewallet
File StringSecret Id OCID of the secret containing the PDB'S certificates of ATP wallet
- key
Store StringFile Secret Id OCID of the secret containing Keystore.jks file of the ATP wallet
- measurement
Name String Measurement name for influx
- namespace String
Object storage namespace
- object String
File name
- ojdbc
File StringSecret Id OCID of the secret that contains jdbc properties file of ATP wallet
- password
Secret StringId Password Secret Id for the influx connection
- table
Name String atp database table name
- tnsnames
File StringSecret Id OCID of the secret that contains the tnsnames file of ATP wallet
- truststore
File StringSecret Id OCID of the secret containing truststore.jks file of the ATP wallet
- url String
public IP address and port to influx DB
- user
Name String Username for connection to Influx
- version
Specific List<Property Map>Details Possible data sources
- wallet
Password StringSecret Id wallet password Secret ID in String format
GetDetectionDataAssetDataSourceDetailVersionSpecificDetail
- Bucket string
Bucket Name for influx connection
- Database
Name string DB Name for influx connection
- Influx
Version string Data source type where actually data asset is being stored
- Organization
Name string Org name for the influx db
- Retention
Policy stringName retention policy is how long the bucket would last
- Bucket string
Bucket Name for influx connection
- Database
Name string DB Name for influx connection
- Influx
Version string Data source type where actually data asset is being stored
- Organization
Name string Org name for the influx db
- Retention
Policy stringName retention policy is how long the bucket would last
- bucket String
Bucket Name for influx connection
- database
Name String DB Name for influx connection
- influx
Version String Data source type where actually data asset is being stored
- organization
Name String Org name for the influx db
- retention
Policy StringName retention policy is how long the bucket would last
- bucket string
Bucket Name for influx connection
- database
Name string DB Name for influx connection
- influx
Version string Data source type where actually data asset is being stored
- organization
Name string Org name for the influx db
- retention
Policy stringName retention policy is how long the bucket would last
- bucket str
Bucket Name for influx connection
- database_
name str DB Name for influx connection
- influx_
version str Data source type where actually data asset is being stored
- organization_
name str Org name for the influx db
- retention_
policy_ strname retention policy is how long the bucket would last
- bucket String
Bucket Name for influx connection
- database
Name String DB Name for influx connection
- influx
Version String Data source type where actually data asset is being stored
- organization
Name String Org name for the influx db
- retention
Policy StringName retention policy is how long the bucket would last
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.