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

oci.AiAnomalyDetection.DetectAnomalyJob

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.

    Creates a job to perform anomaly detection.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.AiAnomalyDetection.DetectAnomalyJob;
    import com.pulumi.oci.AiAnomalyDetection.DetectAnomalyJobArgs;
    import com.pulumi.oci.AiAnomalyDetection.inputs.DetectAnomalyJobInputDetailsArgs;
    import com.pulumi.oci.AiAnomalyDetection.inputs.DetectAnomalyJobOutputDetailsArgs;
    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 testDetectAnomalyJob = new DetectAnomalyJob("testDetectAnomalyJob", DetectAnomalyJobArgs.builder()        
                .compartmentId(var_.compartment_id())
                .inputDetails(DetectAnomalyJobInputDetailsArgs.builder()
                    .inputType(var_.detect_anomaly_job_input_details_input_type())
                    .content(var_.detect_anomaly_job_input_details_content())
                    .contentType(var_.detect_anomaly_job_input_details_content_type())
                    .datas(DetectAnomalyJobInputDetailsDataArgs.builder()
                        .timestamp(var_.detect_anomaly_job_input_details_data_timestamp())
                        .values(var_.detect_anomaly_job_input_details_data_values())
                        .build())
                    .objectLocations(DetectAnomalyJobInputDetailsObjectLocationArgs.builder()
                        .bucket(var_.detect_anomaly_job_input_details_object_locations_bucket())
                        .namespace(var_.detect_anomaly_job_input_details_object_locations_namespace())
                        .object(var_.detect_anomaly_job_input_details_object_locations_object())
                        .build())
                    .signalNames(var_.detect_anomaly_job_input_details_signal_names())
                    .build())
                .modelId(oci_ai_anomaly_detection_model.test_model().id())
                .outputDetails(DetectAnomalyJobOutputDetailsArgs.builder()
                    .bucket(var_.detect_anomaly_job_output_details_bucket())
                    .namespace(var_.detect_anomaly_job_output_details_namespace())
                    .outputType(var_.detect_anomaly_job_output_details_output_type())
                    .prefix(var_.detect_anomaly_job_output_details_prefix())
                    .build())
                .areAllEstimatesRequired(var_.detect_anomaly_job_are_all_estimates_required())
                .description(var_.detect_anomaly_job_description())
                .displayName(var_.detect_anomaly_job_display_name())
                .sensitivity(var_.detect_anomaly_job_sensitivity())
                .build());
    
        }
    }
    
    resources:
      testDetectAnomalyJob:
        type: oci:AiAnomalyDetection:DetectAnomalyJob
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          inputDetails:
            inputType: ${var.detect_anomaly_job_input_details_input_type}
            content: ${var.detect_anomaly_job_input_details_content}
            contentType: ${var.detect_anomaly_job_input_details_content_type}
            datas:
              - timestamp: ${var.detect_anomaly_job_input_details_data_timestamp}
                values: ${var.detect_anomaly_job_input_details_data_values}
            objectLocations:
              - bucket: ${var.detect_anomaly_job_input_details_object_locations_bucket}
                namespace: ${var.detect_anomaly_job_input_details_object_locations_namespace}
                object: ${var.detect_anomaly_job_input_details_object_locations_object}
            signalNames: ${var.detect_anomaly_job_input_details_signal_names}
          modelId: ${oci_ai_anomaly_detection_model.test_model.id}
          outputDetails:
            bucket: ${var.detect_anomaly_job_output_details_bucket}
            namespace: ${var.detect_anomaly_job_output_details_namespace}
            outputType: ${var.detect_anomaly_job_output_details_output_type}
            prefix: ${var.detect_anomaly_job_output_details_prefix}
          #Optional
          areAllEstimatesRequired: ${var.detect_anomaly_job_are_all_estimates_required}
          description: ${var.detect_anomaly_job_description}
          displayName: ${var.detect_anomaly_job_display_name}
          sensitivity: ${var.detect_anomaly_job_sensitivity}
    

    Create DetectAnomalyJob Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DetectAnomalyJob(name: string, args: DetectAnomalyJobArgs, opts?: CustomResourceOptions);
    @overload
    def DetectAnomalyJob(resource_name: str,
                         args: DetectAnomalyJobArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DetectAnomalyJob(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         compartment_id: Optional[str] = None,
                         input_details: Optional[_aianomalydetection.DetectAnomalyJobInputDetailsArgs] = None,
                         model_id: Optional[str] = None,
                         output_details: Optional[_aianomalydetection.DetectAnomalyJobOutputDetailsArgs] = None,
                         description: Optional[str] = None,
                         display_name: Optional[str] = None,
                         sensitivity: Optional[float] = None)
    func NewDetectAnomalyJob(ctx *Context, name string, args DetectAnomalyJobArgs, opts ...ResourceOption) (*DetectAnomalyJob, error)
    public DetectAnomalyJob(string name, DetectAnomalyJobArgs args, CustomResourceOptions? opts = null)
    public DetectAnomalyJob(String name, DetectAnomalyJobArgs args)
    public DetectAnomalyJob(String name, DetectAnomalyJobArgs args, CustomResourceOptions options)
    
    type: oci:AiAnomalyDetection:DetectAnomalyJob
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DetectAnomalyJobArgs
    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 DetectAnomalyJobArgs
    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 DetectAnomalyJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DetectAnomalyJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DetectAnomalyJobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var detectAnomalyJobResource = new Oci.AiAnomalyDetection.DetectAnomalyJob("detectAnomalyJobResource", new()
    {
        CompartmentId = "string",
        InputDetails = new Oci.AiAnomalyDetection.Inputs.DetectAnomalyJobInputDetailsArgs
        {
            InputType = "string",
            Content = "string",
            ContentType = "string",
            Datas = new[]
            {
                new Oci.AiAnomalyDetection.Inputs.DetectAnomalyJobInputDetailsDataArgs
                {
                    Timestamp = "string",
                    Values = new[]
                    {
                        0,
                    },
                },
            },
            Message = "string",
            ObjectLocations = new[]
            {
                new Oci.AiAnomalyDetection.Inputs.DetectAnomalyJobInputDetailsObjectLocationArgs
                {
                    Bucket = "string",
                    Namespace = "string",
                    Object = "string",
                },
            },
            SignalNames = new[]
            {
                "string",
            },
        },
        ModelId = "string",
        OutputDetails = new Oci.AiAnomalyDetection.Inputs.DetectAnomalyJobOutputDetailsArgs
        {
            Bucket = "string",
            Namespace = "string",
            OutputType = "string",
            Prefix = "string",
        },
        Description = "string",
        DisplayName = "string",
        Sensitivity = 0,
    });
    
    example, err := AiAnomalyDetection.NewDetectAnomalyJob(ctx, "detectAnomalyJobResource", &AiAnomalyDetection.DetectAnomalyJobArgs{
    	CompartmentId: pulumi.String("string"),
    	InputDetails: &aianomalydetection.DetectAnomalyJobInputDetailsArgs{
    		InputType:   pulumi.String("string"),
    		Content:     pulumi.String("string"),
    		ContentType: pulumi.String("string"),
    		Datas: aianomalydetection.DetectAnomalyJobInputDetailsDataArray{
    			&aianomalydetection.DetectAnomalyJobInputDetailsDataArgs{
    				Timestamp: pulumi.String("string"),
    				Values: pulumi.Float64Array{
    					pulumi.Float64(0),
    				},
    			},
    		},
    		Message: pulumi.String("string"),
    		ObjectLocations: aianomalydetection.DetectAnomalyJobInputDetailsObjectLocationArray{
    			&aianomalydetection.DetectAnomalyJobInputDetailsObjectLocationArgs{
    				Bucket:    pulumi.String("string"),
    				Namespace: pulumi.String("string"),
    				Object:    pulumi.String("string"),
    			},
    		},
    		SignalNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	ModelId: pulumi.String("string"),
    	OutputDetails: &aianomalydetection.DetectAnomalyJobOutputDetailsArgs{
    		Bucket:     pulumi.String("string"),
    		Namespace:  pulumi.String("string"),
    		OutputType: pulumi.String("string"),
    		Prefix:     pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Sensitivity: pulumi.Float64(0),
    })
    
    var detectAnomalyJobResource = new DetectAnomalyJob("detectAnomalyJobResource", DetectAnomalyJobArgs.builder()        
        .compartmentId("string")
        .inputDetails(DetectAnomalyJobInputDetailsArgs.builder()
            .inputType("string")
            .content("string")
            .contentType("string")
            .datas(DetectAnomalyJobInputDetailsDataArgs.builder()
                .timestamp("string")
                .values(0)
                .build())
            .message("string")
            .objectLocations(DetectAnomalyJobInputDetailsObjectLocationArgs.builder()
                .bucket("string")
                .namespace("string")
                .object("string")
                .build())
            .signalNames("string")
            .build())
        .modelId("string")
        .outputDetails(DetectAnomalyJobOutputDetailsArgs.builder()
            .bucket("string")
            .namespace("string")
            .outputType("string")
            .prefix("string")
            .build())
        .description("string")
        .displayName("string")
        .sensitivity(0)
        .build());
    
    detect_anomaly_job_resource = oci.ai_anomaly_detection.DetectAnomalyJob("detectAnomalyJobResource",
        compartment_id="string",
        input_details=oci.ai_anomaly_detection.DetectAnomalyJobInputDetailsArgs(
            input_type="string",
            content="string",
            content_type="string",
            datas=[oci.ai_anomaly_detection.DetectAnomalyJobInputDetailsDataArgs(
                timestamp="string",
                values=[0],
            )],
            message="string",
            object_locations=[oci.ai_anomaly_detection.DetectAnomalyJobInputDetailsObjectLocationArgs(
                bucket="string",
                namespace="string",
                object="string",
            )],
            signal_names=["string"],
        ),
        model_id="string",
        output_details=oci.ai_anomaly_detection.DetectAnomalyJobOutputDetailsArgs(
            bucket="string",
            namespace="string",
            output_type="string",
            prefix="string",
        ),
        description="string",
        display_name="string",
        sensitivity=0)
    
    const detectAnomalyJobResource = new oci.aianomalydetection.DetectAnomalyJob("detectAnomalyJobResource", {
        compartmentId: "string",
        inputDetails: {
            inputType: "string",
            content: "string",
            contentType: "string",
            datas: [{
                timestamp: "string",
                values: [0],
            }],
            message: "string",
            objectLocations: [{
                bucket: "string",
                namespace: "string",
                object: "string",
            }],
            signalNames: ["string"],
        },
        modelId: "string",
        outputDetails: {
            bucket: "string",
            namespace: "string",
            outputType: "string",
            prefix: "string",
        },
        description: "string",
        displayName: "string",
        sensitivity: 0,
    });
    
    type: oci:AiAnomalyDetection:DetectAnomalyJob
    properties:
        compartmentId: string
        description: string
        displayName: string
        inputDetails:
            content: string
            contentType: string
            datas:
                - timestamp: string
                  values:
                    - 0
            inputType: string
            message: string
            objectLocations:
                - bucket: string
                  namespace: string
                  object: string
            signalNames:
                - string
        modelId: string
        outputDetails:
            bucket: string
            namespace: string
            outputType: string
            prefix: string
        sensitivity: 0
    

    DetectAnomalyJob 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 DetectAnomalyJob resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment that starts the job.
    InputDetails DetectAnomalyJobInputDetails
    Detect anomaly asynchronous job details.
    ModelId string
    The OCID of the trained model.
    OutputDetails DetectAnomalyJobOutputDetails
    Detect anomaly job output details.
    Description string
    (Updatable) A short description of the detect anomaly job.
    DisplayName string
    (Updatable) Detect anomaly job display name.
    Sensitivity double

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment that starts the job.
    InputDetails DetectAnomalyJobInputDetailsArgs
    Detect anomaly asynchronous job details.
    ModelId string
    The OCID of the trained model.
    OutputDetails DetectAnomalyJobOutputDetailsArgs
    Detect anomaly job output details.
    Description string
    (Updatable) A short description of the detect anomaly job.
    DisplayName string
    (Updatable) Detect anomaly job display name.
    Sensitivity float64

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment that starts the job.
    inputDetails DetectAnomalyJobInputDetails
    Detect anomaly asynchronous job details.
    modelId String
    The OCID of the trained model.
    outputDetails DetectAnomalyJobOutputDetails
    Detect anomaly job output details.
    description String
    (Updatable) A short description of the detect anomaly job.
    displayName String
    (Updatable) Detect anomaly job display name.
    sensitivity Double

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment that starts the job.
    inputDetails DetectAnomalyJobInputDetails
    Detect anomaly asynchronous job details.
    modelId string
    The OCID of the trained model.
    outputDetails DetectAnomalyJobOutputDetails
    Detect anomaly job output details.
    description string
    (Updatable) A short description of the detect anomaly job.
    displayName string
    (Updatable) Detect anomaly job display name.
    sensitivity number

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment that starts the job.
    input_details aianomalydetection.DetectAnomalyJobInputDetailsArgs
    Detect anomaly asynchronous job details.
    model_id str
    The OCID of the trained model.
    output_details aianomalydetection.DetectAnomalyJobOutputDetailsArgs
    Detect anomaly job output details.
    description str
    (Updatable) A short description of the detect anomaly job.
    display_name str
    (Updatable) Detect anomaly job display name.
    sensitivity float

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment that starts the job.
    inputDetails Property Map
    Detect anomaly asynchronous job details.
    modelId String
    The OCID of the trained model.
    outputDetails Property Map
    Detect anomaly job output details.
    description String
    (Updatable) A short description of the detect anomaly job.
    displayName String
    (Updatable) Detect anomaly job display name.
    sensitivity Number

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

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

    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    The current state details of the batch document job.
    ProjectId string
    The OCID of the project.
    State string
    The current state of the batch document job.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeAccepted string
    Job accepted time
    TimeFinished string
    Job finished time
    TimeStarted string
    Job started time
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    The current state details of the batch document job.
    ProjectId string
    The OCID of the project.
    State string
    The current state of the batch document job.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeAccepted string
    Job accepted time
    TimeFinished string
    Job finished time
    TimeStarted string
    Job started time
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    The current state details of the batch document job.
    projectId String
    The OCID of the project.
    state String
    The current state of the batch document job.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeAccepted String
    Job accepted time
    timeFinished String
    Job finished time
    timeStarted String
    Job started time
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails string
    The current state details of the batch document job.
    projectId string
    The OCID of the project.
    state string
    The current state of the batch document job.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeAccepted string
    Job accepted time
    timeFinished string
    Job finished time
    timeStarted string
    Job started time
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state_details str
    The current state details of the batch document job.
    project_id str
    The OCID of the project.
    state str
    The current state of the batch document job.
    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_accepted str
    Job accepted time
    time_finished str
    Job finished time
    time_started str
    Job started time
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    The current state details of the batch document job.
    projectId String
    The OCID of the project.
    state String
    The current state of the batch document job.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeAccepted String
    Job accepted time
    timeFinished String
    Job finished time
    timeStarted String
    Job started time

    Look up Existing DetectAnomalyJob Resource

    Get an existing DetectAnomalyJob 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?: DetectAnomalyJobState, opts?: CustomResourceOptions): DetectAnomalyJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            input_details: Optional[_aianomalydetection.DetectAnomalyJobInputDetailsArgs] = None,
            lifecycle_state_details: Optional[str] = None,
            model_id: Optional[str] = None,
            output_details: Optional[_aianomalydetection.DetectAnomalyJobOutputDetailsArgs] = None,
            project_id: Optional[str] = None,
            sensitivity: Optional[float] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_accepted: Optional[str] = None,
            time_finished: Optional[str] = None,
            time_started: Optional[str] = None) -> DetectAnomalyJob
    func GetDetectAnomalyJob(ctx *Context, name string, id IDInput, state *DetectAnomalyJobState, opts ...ResourceOption) (*DetectAnomalyJob, error)
    public static DetectAnomalyJob Get(string name, Input<string> id, DetectAnomalyJobState? state, CustomResourceOptions? opts = null)
    public static DetectAnomalyJob get(String name, Output<String> id, DetectAnomalyJobState 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 of the compartment that starts the job.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A short description of the detect anomaly job.
    DisplayName string
    (Updatable) Detect anomaly job display name.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InputDetails DetectAnomalyJobInputDetails
    Detect anomaly asynchronous job details.
    LifecycleStateDetails string
    The current state details of the batch document job.
    ModelId string
    The OCID of the trained model.
    OutputDetails DetectAnomalyJobOutputDetails
    Detect anomaly job output details.
    ProjectId string
    The OCID of the project.
    Sensitivity double

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the batch document job.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeAccepted string
    Job accepted time
    TimeFinished string
    Job finished time
    TimeStarted string
    Job started time
    CompartmentId string
    (Updatable) The OCID of the compartment that starts the job.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A short description of the detect anomaly job.
    DisplayName string
    (Updatable) Detect anomaly job display name.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InputDetails DetectAnomalyJobInputDetailsArgs
    Detect anomaly asynchronous job details.
    LifecycleStateDetails string
    The current state details of the batch document job.
    ModelId string
    The OCID of the trained model.
    OutputDetails DetectAnomalyJobOutputDetailsArgs
    Detect anomaly job output details.
    ProjectId string
    The OCID of the project.
    Sensitivity float64

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the batch document job.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeAccepted string
    Job accepted time
    TimeFinished string
    Job finished time
    TimeStarted string
    Job started time
    compartmentId String
    (Updatable) The OCID of the compartment that starts the job.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A short description of the detect anomaly job.
    displayName String
    (Updatable) Detect anomaly job display name.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inputDetails DetectAnomalyJobInputDetails
    Detect anomaly asynchronous job details.
    lifecycleStateDetails String
    The current state details of the batch document job.
    modelId String
    The OCID of the trained model.
    outputDetails DetectAnomalyJobOutputDetails
    Detect anomaly job output details.
    projectId String
    The OCID of the project.
    sensitivity Double

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the batch document job.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeAccepted String
    Job accepted time
    timeFinished String
    Job finished time
    timeStarted String
    Job started time
    compartmentId string
    (Updatable) The OCID of the compartment that starts the job.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A short description of the detect anomaly job.
    displayName string
    (Updatable) Detect anomaly job display name.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inputDetails DetectAnomalyJobInputDetails
    Detect anomaly asynchronous job details.
    lifecycleStateDetails string
    The current state details of the batch document job.
    modelId string
    The OCID of the trained model.
    outputDetails DetectAnomalyJobOutputDetails
    Detect anomaly job output details.
    projectId string
    The OCID of the project.
    sensitivity number

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of the batch document job.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeAccepted string
    Job accepted time
    timeFinished string
    Job finished time
    timeStarted string
    Job started time
    compartment_id str
    (Updatable) The OCID of the compartment that starts the job.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A short description of the detect anomaly job.
    display_name str
    (Updatable) Detect anomaly job display name.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    input_details aianomalydetection.DetectAnomalyJobInputDetailsArgs
    Detect anomaly asynchronous job details.
    lifecycle_state_details str
    The current state details of the batch document job.
    model_id str
    The OCID of the trained model.
    output_details aianomalydetection.DetectAnomalyJobOutputDetailsArgs
    Detect anomaly job output details.
    project_id str
    The OCID of the project.
    sensitivity float

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of the batch document job.
    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_accepted str
    Job accepted time
    time_finished str
    Job finished time
    time_started str
    Job started time
    compartmentId String
    (Updatable) The OCID of the compartment that starts the job.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A short description of the detect anomaly job.
    displayName String
    (Updatable) Detect anomaly job display name.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inputDetails Property Map
    Detect anomaly asynchronous job details.
    lifecycleStateDetails String
    The current state details of the batch document job.
    modelId String
    The OCID of the trained model.
    outputDetails Property Map
    Detect anomaly job output details.
    projectId String
    The OCID of the project.
    sensitivity Number

    The value that customer can adjust to control the sensitivity of anomaly detection

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the batch document job.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeAccepted String
    Job accepted time
    timeFinished String
    Job finished time
    timeStarted String
    Job started time

    Supporting Types

    DetectAnomalyJobInputDetails, DetectAnomalyJobInputDetailsArgs

    InputType string
    Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.
    Content string
    ContentType string
    Datas List<DetectAnomalyJobInputDetailsData>
    Array containing data.
    Message string
    Inline input details.
    ObjectLocations List<DetectAnomalyJobInputDetailsObjectLocation>
    List of ObjectLocations.
    SignalNames List<string>
    List of signal names.
    InputType string
    Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.
    Content string
    ContentType string
    Datas []DetectAnomalyJobInputDetailsData
    Array containing data.
    Message string
    Inline input details.
    ObjectLocations []DetectAnomalyJobInputDetailsObjectLocation
    List of ObjectLocations.
    SignalNames []string
    List of signal names.
    inputType String
    Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.
    content String
    contentType String
    datas List<DetectAnomalyJobInputDetailsData>
    Array containing data.
    message String
    Inline input details.
    objectLocations List<DetectAnomalyJobInputDetailsObjectLocation>
    List of ObjectLocations.
    signalNames List<String>
    List of signal names.
    inputType string
    Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.
    content string
    contentType string
    datas DetectAnomalyJobInputDetailsData[]
    Array containing data.
    message string
    Inline input details.
    objectLocations DetectAnomalyJobInputDetailsObjectLocation[]
    List of ObjectLocations.
    signalNames string[]
    List of signal names.
    input_type str
    Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.
    content str
    content_type str
    datas Sequence[aianomalydetection.DetectAnomalyJobInputDetailsData]
    Array containing data.
    message str
    Inline input details.
    object_locations Sequence[aianomalydetection.DetectAnomalyJobInputDetailsObjectLocation]
    List of ObjectLocations.
    signal_names Sequence[str]
    List of signal names.
    inputType String
    Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.
    content String
    contentType String
    datas List<Property Map>
    Array containing data.
    message String
    Inline input details.
    objectLocations List<Property Map>
    List of ObjectLocations.
    signalNames List<String>
    List of signal names.

    DetectAnomalyJobInputDetailsData, DetectAnomalyJobInputDetailsDataArgs

    Timestamp string
    Nullable string representing timestamp.
    Values List<double>
    Array of double precision values.
    Timestamp string
    Nullable string representing timestamp.
    Values []float64
    Array of double precision values.
    timestamp String
    Nullable string representing timestamp.
    values List<Double>
    Array of double precision values.
    timestamp string
    Nullable string representing timestamp.
    values number[]
    Array of double precision values.
    timestamp str
    Nullable string representing timestamp.
    values Sequence[float]
    Array of double precision values.
    timestamp String
    Nullable string representing timestamp.
    values List<Number>
    Array of double precision values.

    DetectAnomalyJobInputDetailsObjectLocation, DetectAnomalyJobInputDetailsObjectLocationArgs

    Bucket string
    Object Storage bucket name.
    Namespace string
    Object Storage namespace.
    Object string
    Object Storage object name.
    Bucket string
    Object Storage bucket name.
    Namespace string
    Object Storage namespace.
    Object string
    Object Storage object name.
    bucket String
    Object Storage bucket name.
    namespace String
    Object Storage namespace.
    object String
    Object Storage object name.
    bucket string
    Object Storage bucket name.
    namespace string
    Object Storage namespace.
    object string
    Object Storage object name.
    bucket str
    Object Storage bucket name.
    namespace str
    Object Storage namespace.
    object str
    Object Storage object name.
    bucket String
    Object Storage bucket name.
    namespace String
    Object Storage namespace.
    object String
    Object Storage object name.

    DetectAnomalyJobOutputDetails, DetectAnomalyJobOutputDetailsArgs

    Bucket string
    Object Storage bucket name.
    Namespace string
    Object Storage namespace.
    OutputType string
    The type of output location. Allowed values are:
    Prefix string
    Object Storage folder name.
    Bucket string
    Object Storage bucket name.
    Namespace string
    Object Storage namespace.
    OutputType string
    The type of output location. Allowed values are:
    Prefix string
    Object Storage folder name.
    bucket String
    Object Storage bucket name.
    namespace String
    Object Storage namespace.
    outputType String
    The type of output location. Allowed values are:
    prefix String
    Object Storage folder name.
    bucket string
    Object Storage bucket name.
    namespace string
    Object Storage namespace.
    outputType string
    The type of output location. Allowed values are:
    prefix string
    Object Storage folder name.
    bucket str
    Object Storage bucket name.
    namespace str
    Object Storage namespace.
    output_type str
    The type of output location. Allowed values are:
    prefix str
    Object Storage folder name.
    bucket String
    Object Storage bucket name.
    namespace String
    Object Storage namespace.
    outputType String
    The type of output location. Allowed values are:
    prefix String
    Object Storage folder name.

    Import

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

    $ pulumi import oci:AiAnomalyDetection/detectAnomalyJob:DetectAnomalyJob test_detect_anomaly_job "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi