1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataScience
  6. ComputeTarget
Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi

    This resource provides the Compute Target resource in Oracle Cloud Infrastructure Data Science service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ComputeTarget

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience

    Creates a new compute target resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testComputeTarget = new oci.datascience.ComputeTarget("test_compute_target", {
        compartmentId: compartmentId,
        computeConfigurationDetails: {
            computeType: computeTargetComputeConfigurationDetailsComputeType,
            instanceConfiguration: {
                instanceShape: computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShape,
                bootVolumeSizeInGbs: Number(computeTargetComputeConfigurationDetailsInstanceConfigurationBootVolumeSizeInGbs),
                instanceShapeDetails: {
                    memoryInGbs: computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsMemoryInGbs,
                    ocpus: computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsOcpus,
                },
            },
            scalingPolicy: {
                policyType: computeTargetComputeConfigurationDetailsScalingPolicyPolicyType,
                autoScalingPolicies: [{
                    autoScalingPolicyType: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesAutoScalingPolicyType,
                    initialInstanceCount: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesInitialInstanceCount),
                    maximumInstanceCount: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMaximumInstanceCount),
                    minimumInstanceCount: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMinimumInstanceCount),
                    rules: [{
                        metricExpressionRuleType: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricExpressionRuleType,
                        scaleInConfiguration: {
                            instanceCountAdjustment: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationInstanceCountAdjustment),
                            pendingDuration: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationPendingDuration,
                            query: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationQuery,
                            scalingConfigurationType: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationScalingConfigurationType,
                            threshold: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationThreshold),
                        },
                        scaleOutConfiguration: {
                            instanceCountAdjustment: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationInstanceCountAdjustment),
                            pendingDuration: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationPendingDuration,
                            query: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationQuery,
                            scalingConfigurationType: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationScalingConfigurationType,
                            threshold: Number(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationThreshold),
                        },
                        metricType: computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricType,
                    }],
                }],
                coolDownInSeconds: Number(computeTargetComputeConfigurationDetailsScalingPolicyCoolDownInSeconds),
                instanceCount: Number(computeTargetComputeConfigurationDetailsScalingPolicyInstanceCount),
                isEnabled: computeTargetComputeConfigurationDetailsScalingPolicyIsEnabled === "true",
            },
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: computeTargetDescription,
        displayName: computeTargetDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        metadata: computeTargetMetadata,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_compute_target = oci.datascience.ComputeTarget("test_compute_target",
        compartment_id=compartment_id,
        compute_configuration_details={
            "compute_type": compute_target_compute_configuration_details_compute_type,
            "instance_configuration": {
                "instance_shape": compute_target_compute_configuration_details_instance_configuration_instance_shape,
                "boot_volume_size_in_gbs": int(compute_target_compute_configuration_details_instance_configuration_boot_volume_size_in_gbs),
                "instance_shape_details": {
                    "memory_in_gbs": compute_target_compute_configuration_details_instance_configuration_instance_shape_details_memory_in_gbs,
                    "ocpus": compute_target_compute_configuration_details_instance_configuration_instance_shape_details_ocpus,
                },
            },
            "scaling_policy": {
                "policy_type": compute_target_compute_configuration_details_scaling_policy_policy_type,
                "auto_scaling_policies": [{
                    "auto_scaling_policy_type": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_auto_scaling_policy_type,
                    "initial_instance_count": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_initial_instance_count),
                    "maximum_instance_count": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_maximum_instance_count),
                    "minimum_instance_count": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_minimum_instance_count),
                    "rules": [{
                        "metric_expression_rule_type": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_metric_expression_rule_type,
                        "scale_in_configuration": {
                            "instance_count_adjustment": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_in_configuration_instance_count_adjustment),
                            "pending_duration": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_in_configuration_pending_duration,
                            "query": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_in_configuration_query,
                            "scaling_configuration_type": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_in_configuration_scaling_configuration_type,
                            "threshold": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_in_configuration_threshold),
                        },
                        "scale_out_configuration": {
                            "instance_count_adjustment": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_out_configuration_instance_count_adjustment),
                            "pending_duration": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_out_configuration_pending_duration,
                            "query": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_out_configuration_query,
                            "scaling_configuration_type": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_out_configuration_scaling_configuration_type,
                            "threshold": int(compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_scale_out_configuration_threshold),
                        },
                        "metric_type": compute_target_compute_configuration_details_scaling_policy_auto_scaling_policies_rules_metric_type,
                    }],
                }],
                "cool_down_in_seconds": int(compute_target_compute_configuration_details_scaling_policy_cool_down_in_seconds),
                "instance_count": int(compute_target_compute_configuration_details_scaling_policy_instance_count),
                "is_enabled": compute_target_compute_configuration_details_scaling_policy_is_enabled == "true",
            },
        },
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=compute_target_description,
        display_name=compute_target_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        metadata=compute_target_metadata)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/datascience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datascience.NewComputeTarget(ctx, "test_compute_target", &datascience.ComputeTargetArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			ComputeConfigurationDetails: &datascience.ComputeTargetComputeConfigurationDetailsArgs{
    				ComputeType: pulumi.Any(computeTargetComputeConfigurationDetailsComputeType),
    				InstanceConfiguration: &datascience.ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs{
    					InstanceShape:       pulumi.Any(computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShape),
    					BootVolumeSizeInGbs: pulumi.Any(computeTargetComputeConfigurationDetailsInstanceConfigurationBootVolumeSizeInGbs),
    					InstanceShapeDetails: &datascience.ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs{
    						MemoryInGbs: pulumi.Any(computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsMemoryInGbs),
    						Ocpus:       pulumi.Any(computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsOcpus),
    					},
    				},
    				ScalingPolicy: &datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyArgs{
    					PolicyType: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyPolicyType),
    					AutoScalingPolicies: datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArray{
    						&datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs{
    							AutoScalingPolicyType: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesAutoScalingPolicyType),
    							InitialInstanceCount:  pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesInitialInstanceCount),
    							MaximumInstanceCount:  pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMaximumInstanceCount),
    							MinimumInstanceCount:  pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMinimumInstanceCount),
    							Rules: datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArray{
    								&datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs{
    									MetricExpressionRuleType: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricExpressionRuleType),
    									ScaleInConfiguration: &datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs{
    										InstanceCountAdjustment:  pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationInstanceCountAdjustment),
    										PendingDuration:          pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationPendingDuration),
    										Query:                    pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationQuery),
    										ScalingConfigurationType: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationScalingConfigurationType),
    										Threshold:                pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationThreshold),
    									},
    									ScaleOutConfiguration: &datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs{
    										InstanceCountAdjustment:  pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationInstanceCountAdjustment),
    										PendingDuration:          pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationPendingDuration),
    										Query:                    pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationQuery),
    										ScalingConfigurationType: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationScalingConfigurationType),
    										Threshold:                pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationThreshold),
    									},
    									MetricType: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricType),
    								},
    							},
    						},
    					},
    					CoolDownInSeconds: pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyCoolDownInSeconds),
    					InstanceCount:     pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyInstanceCount),
    					IsEnabled:         pulumi.Any(computeTargetComputeConfigurationDetailsScalingPolicyIsEnabled),
    				},
    			},
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(computeTargetDescription),
    			DisplayName: pulumi.Any(computeTargetDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			Metadata: pulumi.Any(computeTargetMetadata),
    		})
    		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 testComputeTarget = new Oci.DataScience.ComputeTarget("test_compute_target", new()
        {
            CompartmentId = compartmentId,
            ComputeConfigurationDetails = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsArgs
            {
                ComputeType = computeTargetComputeConfigurationDetailsComputeType,
                InstanceConfiguration = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs
                {
                    InstanceShape = computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShape,
                    BootVolumeSizeInGbs = computeTargetComputeConfigurationDetailsInstanceConfigurationBootVolumeSizeInGbs,
                    InstanceShapeDetails = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs
                    {
                        MemoryInGbs = computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsMemoryInGbs,
                        Ocpus = computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsOcpus,
                    },
                },
                ScalingPolicy = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyArgs
                {
                    PolicyType = computeTargetComputeConfigurationDetailsScalingPolicyPolicyType,
                    AutoScalingPolicies = new[]
                    {
                        new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs
                        {
                            AutoScalingPolicyType = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesAutoScalingPolicyType,
                            InitialInstanceCount = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesInitialInstanceCount,
                            MaximumInstanceCount = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMaximumInstanceCount,
                            MinimumInstanceCount = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMinimumInstanceCount,
                            Rules = new[]
                            {
                                new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs
                                {
                                    MetricExpressionRuleType = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricExpressionRuleType,
                                    ScaleInConfiguration = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs
                                    {
                                        InstanceCountAdjustment = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationInstanceCountAdjustment,
                                        PendingDuration = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationPendingDuration,
                                        Query = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationQuery,
                                        ScalingConfigurationType = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationScalingConfigurationType,
                                        Threshold = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationThreshold,
                                    },
                                    ScaleOutConfiguration = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs
                                    {
                                        InstanceCountAdjustment = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationInstanceCountAdjustment,
                                        PendingDuration = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationPendingDuration,
                                        Query = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationQuery,
                                        ScalingConfigurationType = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationScalingConfigurationType,
                                        Threshold = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationThreshold,
                                    },
                                    MetricType = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricType,
                                },
                            },
                        },
                    },
                    CoolDownInSeconds = computeTargetComputeConfigurationDetailsScalingPolicyCoolDownInSeconds,
                    InstanceCount = computeTargetComputeConfigurationDetailsScalingPolicyInstanceCount,
                    IsEnabled = computeTargetComputeConfigurationDetailsScalingPolicyIsEnabled,
                },
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = computeTargetDescription,
            DisplayName = computeTargetDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            Metadata = computeTargetMetadata,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.ComputeTarget;
    import com.pulumi.oci.DataScience.ComputeTargetArgs;
    import com.pulumi.oci.DataScience.inputs.ComputeTargetComputeConfigurationDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs;
    import com.pulumi.oci.DataScience.inputs.ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testComputeTarget = new ComputeTarget("testComputeTarget", ComputeTargetArgs.builder()
                .compartmentId(compartmentId)
                .computeConfigurationDetails(ComputeTargetComputeConfigurationDetailsArgs.builder()
                    .computeType(computeTargetComputeConfigurationDetailsComputeType)
                    .instanceConfiguration(ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs.builder()
                        .instanceShape(computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShape)
                        .bootVolumeSizeInGbs(computeTargetComputeConfigurationDetailsInstanceConfigurationBootVolumeSizeInGbs)
                        .instanceShapeDetails(ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs.builder()
                            .memoryInGbs(computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsMemoryInGbs)
                            .ocpus(computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsOcpus)
                            .build())
                        .build())
                    .scalingPolicy(ComputeTargetComputeConfigurationDetailsScalingPolicyArgs.builder()
                        .policyType(computeTargetComputeConfigurationDetailsScalingPolicyPolicyType)
                        .autoScalingPolicies(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs.builder()
                            .autoScalingPolicyType(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesAutoScalingPolicyType)
                            .initialInstanceCount(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesInitialInstanceCount)
                            .maximumInstanceCount(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMaximumInstanceCount)
                            .minimumInstanceCount(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMinimumInstanceCount)
                            .rules(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs.builder()
                                .metricExpressionRuleType(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricExpressionRuleType)
                                .scaleInConfiguration(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs.builder()
                                    .instanceCountAdjustment(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationInstanceCountAdjustment)
                                    .pendingDuration(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationPendingDuration)
                                    .query(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationQuery)
                                    .scalingConfigurationType(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationScalingConfigurationType)
                                    .threshold(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationThreshold)
                                    .build())
                                .scaleOutConfiguration(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs.builder()
                                    .instanceCountAdjustment(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationInstanceCountAdjustment)
                                    .pendingDuration(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationPendingDuration)
                                    .query(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationQuery)
                                    .scalingConfigurationType(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationScalingConfigurationType)
                                    .threshold(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationThreshold)
                                    .build())
                                .metricType(computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricType)
                                .build())
                            .build())
                        .coolDownInSeconds(computeTargetComputeConfigurationDetailsScalingPolicyCoolDownInSeconds)
                        .instanceCount(computeTargetComputeConfigurationDetailsScalingPolicyInstanceCount)
                        .isEnabled(computeTargetComputeConfigurationDetailsScalingPolicyIsEnabled)
                        .build())
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(computeTargetDescription)
                .displayName(computeTargetDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .metadata(computeTargetMetadata)
                .build());
    
        }
    }
    
    resources:
      testComputeTarget:
        type: oci:DataScience:ComputeTarget
        name: test_compute_target
        properties:
          compartmentId: ${compartmentId}
          computeConfigurationDetails:
            computeType: ${computeTargetComputeConfigurationDetailsComputeType}
            instanceConfiguration:
              instanceShape: ${computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShape}
              bootVolumeSizeInGbs: ${computeTargetComputeConfigurationDetailsInstanceConfigurationBootVolumeSizeInGbs}
              instanceShapeDetails:
                memoryInGbs: ${computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsMemoryInGbs}
                ocpus: ${computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsOcpus}
            scalingPolicy:
              policyType: ${computeTargetComputeConfigurationDetailsScalingPolicyPolicyType}
              autoScalingPolicies:
                - autoScalingPolicyType: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesAutoScalingPolicyType}
                  initialInstanceCount: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesInitialInstanceCount}
                  maximumInstanceCount: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMaximumInstanceCount}
                  minimumInstanceCount: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMinimumInstanceCount}
                  rules:
                    - metricExpressionRuleType: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricExpressionRuleType}
                      scaleInConfiguration:
                        instanceCountAdjustment: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationInstanceCountAdjustment}
                        pendingDuration: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationPendingDuration}
                        query: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationQuery}
                        scalingConfigurationType: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationScalingConfigurationType}
                        threshold: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationThreshold}
                      scaleOutConfiguration:
                        instanceCountAdjustment: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationInstanceCountAdjustment}
                        pendingDuration: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationPendingDuration}
                        query: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationQuery}
                        scalingConfigurationType: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationScalingConfigurationType}
                        threshold: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationThreshold}
                      metricType: ${computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricType}
              coolDownInSeconds: ${computeTargetComputeConfigurationDetailsScalingPolicyCoolDownInSeconds}
              instanceCount: ${computeTargetComputeConfigurationDetailsScalingPolicyInstanceCount}
              isEnabled: ${computeTargetComputeConfigurationDetailsScalingPolicyIsEnabled}
          definedTags:
            Operations.CostCenter: '42'
          description: ${computeTargetDescription}
          displayName: ${computeTargetDisplayName}
          freeformTags:
            Department: Finance
          metadata: ${computeTargetMetadata}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_datascience_computetarget" "test_compute_target" {
      compartment_id = compartmentId
      compute_configuration_details = {
        compute_type = computeTargetComputeConfigurationDetailsComputeType
        instance_configuration = {
          instance_shape          = computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShape
          boot_volume_size_in_gbs = computeTargetComputeConfigurationDetailsInstanceConfigurationBootVolumeSizeInGbs
          instance_shape_details = {
            memory_in_gbs = computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsMemoryInGbs
            ocpus         = computeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsOcpus
          }
        }
        scaling_policy = {
          policy_type = computeTargetComputeConfigurationDetailsScalingPolicyPolicyType
          auto_scaling_policies = [{
            "autoScalingPolicyType" = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesAutoScalingPolicyType
            "initialInstanceCount"  = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesInitialInstanceCount
            "maximumInstanceCount"  = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMaximumInstanceCount
            "minimumInstanceCount"  = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesMinimumInstanceCount
            "rules" = [{
              "metricExpressionRuleType" = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricExpressionRuleType
              "scaleInConfiguration" = {
                "instanceCountAdjustment"  = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationInstanceCountAdjustment
                "pendingDuration"          = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationPendingDuration
                "query"                    = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationQuery
                "scalingConfigurationType" = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationScalingConfigurationType
                "threshold"                = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleInConfigurationThreshold
              }
              "scaleOutConfiguration" = {
                "instanceCountAdjustment"  = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationInstanceCountAdjustment
                "pendingDuration"          = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationPendingDuration
                "query"                    = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationQuery
                "scalingConfigurationType" = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationScalingConfigurationType
                "threshold"                = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesScaleOutConfigurationThreshold
              }
              "metricType" = computeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPoliciesRulesMetricType
            }]
          }]
          cool_down_in_seconds = computeTargetComputeConfigurationDetailsScalingPolicyCoolDownInSeconds
          instance_count       = computeTargetComputeConfigurationDetailsScalingPolicyInstanceCount
          is_enabled           = computeTargetComputeConfigurationDetailsScalingPolicyIsEnabled
        }
      }
      #Required
      #Required
      #Optional
      #Optional
      #Required
      #Required
      #Required
      #Optional
      #Optional
      #Optional
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      description  = computeTargetDescription
      display_name = computeTargetDisplayName
      freeform_tags = {
        "Department" = "Finance"
      }
      metadata = computeTargetMetadata
    }
    

    Create ComputeTarget Resource

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

    Constructor syntax

    new ComputeTarget(name: string, args: ComputeTargetArgs, opts?: CustomResourceOptions);
    @overload
    def ComputeTarget(resource_name: str,
                      args: ComputeTargetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComputeTarget(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      compartment_id: Optional[str] = None,
                      compute_configuration_details: Optional[ComputeTargetComputeConfigurationDetailsArgs] = None,
                      defined_tags: Optional[Mapping[str, str]] = None,
                      description: Optional[str] = None,
                      display_name: Optional[str] = None,
                      freeform_tags: Optional[Mapping[str, str]] = None,
                      metadata: Optional[Mapping[str, str]] = None)
    func NewComputeTarget(ctx *Context, name string, args ComputeTargetArgs, opts ...ResourceOption) (*ComputeTarget, error)
    public ComputeTarget(string name, ComputeTargetArgs args, CustomResourceOptions? opts = null)
    public ComputeTarget(String name, ComputeTargetArgs args)
    public ComputeTarget(String name, ComputeTargetArgs args, CustomResourceOptions options)
    
    type: oci:DataScience:ComputeTarget
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_datascience_computetarget" "name" {
        # resource properties
    }

    Parameters

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

    Constructor example

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

    var computeTargetResource = new Oci.DataScience.ComputeTarget("computeTargetResource", new()
    {
        CompartmentId = "string",
        ComputeConfigurationDetails = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsArgs
        {
            ComputeType = "string",
            InstanceConfiguration = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs
            {
                InstanceShape = "string",
                BootVolumeSizeInGbs = 0,
                InstanceShapeDetails = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs
                {
                    MemoryInGbs = 0,
                    Ocpus = 0,
                },
            },
            ScalingPolicy = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyArgs
            {
                PolicyType = "string",
                AutoScalingPolicies = new[]
                {
                    new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs
                    {
                        AutoScalingPolicyType = "string",
                        InitialInstanceCount = 0,
                        MaximumInstanceCount = 0,
                        MinimumInstanceCount = 0,
                        Rules = new[]
                        {
                            new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs
                            {
                                MetricExpressionRuleType = "string",
                                ScaleInConfiguration = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs
                                {
                                    InstanceCountAdjustment = 0,
                                    PendingDuration = "string",
                                    Query = "string",
                                    ScalingConfigurationType = "string",
                                    Threshold = 0,
                                },
                                ScaleOutConfiguration = new Oci.DataScience.Inputs.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs
                                {
                                    InstanceCountAdjustment = 0,
                                    PendingDuration = "string",
                                    Query = "string",
                                    ScalingConfigurationType = "string",
                                    Threshold = 0,
                                },
                                MetricType = "string",
                            },
                        },
                    },
                },
                CoolDownInSeconds = 0,
                InstanceCount = 0,
                IsEnabled = false,
            },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Metadata = 
        {
            { "string", "string" },
        },
    });
    
    example, err := datascience.NewComputeTarget(ctx, "computeTargetResource", &datascience.ComputeTargetArgs{
    	CompartmentId: pulumi.String("string"),
    	ComputeConfigurationDetails: &datascience.ComputeTargetComputeConfigurationDetailsArgs{
    		ComputeType: pulumi.String("string"),
    		InstanceConfiguration: &datascience.ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs{
    			InstanceShape:       pulumi.String("string"),
    			BootVolumeSizeInGbs: pulumi.Int(0),
    			InstanceShapeDetails: &datascience.ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs{
    				MemoryInGbs: pulumi.Float64(0),
    				Ocpus:       pulumi.Float64(0),
    			},
    		},
    		ScalingPolicy: &datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyArgs{
    			PolicyType: pulumi.String("string"),
    			AutoScalingPolicies: datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArray{
    				&datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs{
    					AutoScalingPolicyType: pulumi.String("string"),
    					InitialInstanceCount:  pulumi.Int(0),
    					MaximumInstanceCount:  pulumi.Int(0),
    					MinimumInstanceCount:  pulumi.Int(0),
    					Rules: datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArray{
    						&datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs{
    							MetricExpressionRuleType: pulumi.String("string"),
    							ScaleInConfiguration: &datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs{
    								InstanceCountAdjustment:  pulumi.Int(0),
    								PendingDuration:          pulumi.String("string"),
    								Query:                    pulumi.String("string"),
    								ScalingConfigurationType: pulumi.String("string"),
    								Threshold:                pulumi.Int(0),
    							},
    							ScaleOutConfiguration: &datascience.ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs{
    								InstanceCountAdjustment:  pulumi.Int(0),
    								PendingDuration:          pulumi.String("string"),
    								Query:                    pulumi.String("string"),
    								ScalingConfigurationType: pulumi.String("string"),
    								Threshold:                pulumi.Int(0),
    							},
    							MetricType: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			CoolDownInSeconds: pulumi.Int(0),
    			InstanceCount:     pulumi.Int(0),
    			IsEnabled:         pulumi.Bool(false),
    		},
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "oci_datascience_computetarget" "computeTargetResource" {
      compartment_id = "string"
      compute_configuration_details = {
        compute_type = "string"
        instance_configuration = {
          instance_shape          = "string"
          boot_volume_size_in_gbs = 0
          instance_shape_details = {
            memory_in_gbs = 0
            ocpus         = 0
          }
        }
        scaling_policy = {
          policy_type = "string"
          auto_scaling_policies = [{
            "autoScalingPolicyType" = "string"
            "initialInstanceCount"  = 0
            "maximumInstanceCount"  = 0
            "minimumInstanceCount"  = 0
            "rules" = [{
              "metricExpressionRuleType" = "string"
              "scaleInConfiguration" = {
                "instanceCountAdjustment"  = 0
                "pendingDuration"          = "string"
                "query"                    = "string"
                "scalingConfigurationType" = "string"
                "threshold"                = 0
              }
              "scaleOutConfiguration" = {
                "instanceCountAdjustment"  = 0
                "pendingDuration"          = "string"
                "query"                    = "string"
                "scalingConfigurationType" = "string"
                "threshold"                = 0
              }
              "metricType" = "string"
            }]
          }]
          cool_down_in_seconds = 0
          instance_count       = 0
          is_enabled           = false
        }
      }
      defined_tags = {
        "string" = "string"
      }
      description  = "string"
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
      metadata = {
        "string" = "string"
      }
    }
    
    var computeTargetResource = new ComputeTarget("computeTargetResource", ComputeTargetArgs.builder()
        .compartmentId("string")
        .computeConfigurationDetails(ComputeTargetComputeConfigurationDetailsArgs.builder()
            .computeType("string")
            .instanceConfiguration(ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs.builder()
                .instanceShape("string")
                .bootVolumeSizeInGbs(0)
                .instanceShapeDetails(ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs.builder()
                    .memoryInGbs(0.0)
                    .ocpus(0.0)
                    .build())
                .build())
            .scalingPolicy(ComputeTargetComputeConfigurationDetailsScalingPolicyArgs.builder()
                .policyType("string")
                .autoScalingPolicies(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs.builder()
                    .autoScalingPolicyType("string")
                    .initialInstanceCount(0)
                    .maximumInstanceCount(0)
                    .minimumInstanceCount(0)
                    .rules(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs.builder()
                        .metricExpressionRuleType("string")
                        .scaleInConfiguration(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs.builder()
                            .instanceCountAdjustment(0)
                            .pendingDuration("string")
                            .query("string")
                            .scalingConfigurationType("string")
                            .threshold(0)
                            .build())
                        .scaleOutConfiguration(ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs.builder()
                            .instanceCountAdjustment(0)
                            .pendingDuration("string")
                            .query("string")
                            .scalingConfigurationType("string")
                            .threshold(0)
                            .build())
                        .metricType("string")
                        .build())
                    .build())
                .coolDownInSeconds(0)
                .instanceCount(0)
                .isEnabled(false)
                .build())
            .build())
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .metadata(Map.of("string", "string"))
        .build());
    
    compute_target_resource = oci.datascience.ComputeTarget("computeTargetResource",
        compartment_id="string",
        compute_configuration_details={
            "compute_type": "string",
            "instance_configuration": {
                "instance_shape": "string",
                "boot_volume_size_in_gbs": 0,
                "instance_shape_details": {
                    "memory_in_gbs": float(0),
                    "ocpus": float(0),
                },
            },
            "scaling_policy": {
                "policy_type": "string",
                "auto_scaling_policies": [{
                    "auto_scaling_policy_type": "string",
                    "initial_instance_count": 0,
                    "maximum_instance_count": 0,
                    "minimum_instance_count": 0,
                    "rules": [{
                        "metric_expression_rule_type": "string",
                        "scale_in_configuration": {
                            "instance_count_adjustment": 0,
                            "pending_duration": "string",
                            "query": "string",
                            "scaling_configuration_type": "string",
                            "threshold": 0,
                        },
                        "scale_out_configuration": {
                            "instance_count_adjustment": 0,
                            "pending_duration": "string",
                            "query": "string",
                            "scaling_configuration_type": "string",
                            "threshold": 0,
                        },
                        "metric_type": "string",
                    }],
                }],
                "cool_down_in_seconds": 0,
                "instance_count": 0,
                "is_enabled": False,
            },
        },
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        metadata={
            "string": "string",
        })
    
    const computeTargetResource = new oci.datascience.ComputeTarget("computeTargetResource", {
        compartmentId: "string",
        computeConfigurationDetails: {
            computeType: "string",
            instanceConfiguration: {
                instanceShape: "string",
                bootVolumeSizeInGbs: 0,
                instanceShapeDetails: {
                    memoryInGbs: 0,
                    ocpus: 0,
                },
            },
            scalingPolicy: {
                policyType: "string",
                autoScalingPolicies: [{
                    autoScalingPolicyType: "string",
                    initialInstanceCount: 0,
                    maximumInstanceCount: 0,
                    minimumInstanceCount: 0,
                    rules: [{
                        metricExpressionRuleType: "string",
                        scaleInConfiguration: {
                            instanceCountAdjustment: 0,
                            pendingDuration: "string",
                            query: "string",
                            scalingConfigurationType: "string",
                            threshold: 0,
                        },
                        scaleOutConfiguration: {
                            instanceCountAdjustment: 0,
                            pendingDuration: "string",
                            query: "string",
                            scalingConfigurationType: "string",
                            threshold: 0,
                        },
                        metricType: "string",
                    }],
                }],
                coolDownInSeconds: 0,
                instanceCount: 0,
                isEnabled: false,
            },
        },
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        metadata: {
            string: "string",
        },
    });
    
    type: oci:DataScience:ComputeTarget
    properties:
        compartmentId: string
        computeConfigurationDetails:
            computeType: string
            instanceConfiguration:
                bootVolumeSizeInGbs: 0
                instanceShape: string
                instanceShapeDetails:
                    memoryInGbs: 0
                    ocpus: 0
            scalingPolicy:
                autoScalingPolicies:
                    - autoScalingPolicyType: string
                      initialInstanceCount: 0
                      maximumInstanceCount: 0
                      minimumInstanceCount: 0
                      rules:
                        - metricExpressionRuleType: string
                          metricType: string
                          scaleInConfiguration:
                            instanceCountAdjustment: 0
                            pendingDuration: string
                            query: string
                            scalingConfigurationType: string
                            threshold: 0
                          scaleOutConfiguration:
                            instanceCountAdjustment: 0
                            pendingDuration: string
                            query: string
                            scalingConfigurationType: string
                            threshold: 0
                coolDownInSeconds: 0
                instanceCount: 0
                isEnabled: false
                policyType: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        metadata:
            string: string
    

    ComputeTarget Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ComputeTarget resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the compute target.
    ComputeConfigurationDetails ComputeTargetComputeConfigurationDetails
    (Updatable) Configuration details of the targeted compute.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the compute target.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    Metadata Dictionary<string, string>

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 where you want to create the compute target.
    ComputeConfigurationDetails ComputeTargetComputeConfigurationDetailsArgs
    (Updatable) Configuration details of the targeted compute.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the compute target.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    Metadata map[string]string

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 string
    (Updatable) The OCID of the compartment where you want to create the compute target.
    compute_configuration_details object
    (Updatable) Configuration details of the targeted compute.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) A short description of the compute target.
    display_name string
    (Updatable) A user-friendly display name for the resource.
    freeform_tags map(string)
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    metadata map(string)

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 where you want to create the compute target.
    computeConfigurationDetails ComputeTargetComputeConfigurationDetails
    (Updatable) Configuration details of the targeted compute.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the compute target.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    metadata Map<String,String>

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 where you want to create the compute target.
    computeConfigurationDetails ComputeTargetComputeConfigurationDetails
    (Updatable) Configuration details of the targeted compute.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) A short description of the compute target.
    displayName string
    (Updatable) A user-friendly display name for the resource.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    metadata {[key: string]: string}

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 where you want to create the compute target.
    compute_configuration_details ComputeTargetComputeConfigurationDetailsArgs
    (Updatable) Configuration details of the targeted compute.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) A short description of the compute target.
    display_name str
    (Updatable) A user-friendly display name for the resource.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    metadata Mapping[str, str]

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 where you want to create the compute target.
    computeConfigurationDetails Property Map
    (Updatable) Configuration details of the targeted compute.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the compute target.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    metadata Map<String>

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 ComputeTarget resource produces the following output properties:

    ComputeTargetSystemDatas List<ComputeTargetComputeTargetSystemData>
    System data of the compute target.
    CreatedBy string
    The OCID of the user who created the compute target.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the state of the compute target.
    State string
    The state of the compute target.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    ComputeTargetSystemDatas []ComputeTargetComputeTargetSystemData
    System data of the compute target.
    CreatedBy string
    The OCID of the user who created the compute target.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the state of the compute target.
    State string
    The state of the compute target.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compute_target_system_datas list(object)
    System data of the compute target.
    created_by string
    The OCID of the user who created the compute target.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_details string
    Details about the state of the compute target.
    state string
    The state of the compute target.
    time_created string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    computeTargetSystemDatas List<ComputeTargetComputeTargetSystemData>
    System data of the compute target.
    createdBy String
    The OCID of the user who created the compute target.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the state of the compute target.
    state String
    The state of the compute target.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    computeTargetSystemDatas ComputeTargetComputeTargetSystemData[]
    System data of the compute target.
    createdBy string
    The OCID of the user who created the compute target.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Details about the state of the compute target.
    state string
    The state of the compute target.
    timeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compute_target_system_datas Sequence[ComputeTargetComputeTargetSystemData]
    System data of the compute target.
    created_by str
    The OCID of the user who created the compute target.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Details about the state of the compute target.
    state str
    The state of the compute target.
    time_created str
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    computeTargetSystemDatas List<Property Map>
    System data of the compute target.
    createdBy String
    The OCID of the user who created the compute target.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the state of the compute target.
    state String
    The state of the compute target.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z

    Look up Existing ComputeTarget Resource

    Get an existing ComputeTarget 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?: ComputeTargetState, opts?: CustomResourceOptions): ComputeTarget
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            compute_configuration_details: Optional[ComputeTargetComputeConfigurationDetailsArgs] = None,
            compute_target_system_datas: Optional[Sequence[ComputeTargetComputeTargetSystemDataArgs]] = None,
            created_by: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            metadata: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> ComputeTarget
    func GetComputeTarget(ctx *Context, name string, id IDInput, state *ComputeTargetState, opts ...ResourceOption) (*ComputeTarget, error)
    public static ComputeTarget Get(string name, Input<string> id, ComputeTargetState? state, CustomResourceOptions? opts = null)
    public static ComputeTarget get(String name, Output<String> id, ComputeTargetState state, CustomResourceOptions options)
    resources:  _:    type: oci:DataScience:ComputeTarget    get:      id: ${id}
    import {
      to = oci_datascience_computetarget.example
      id = "${id}"
    }
    
    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 where you want to create the compute target.
    ComputeConfigurationDetails ComputeTargetComputeConfigurationDetails
    (Updatable) Configuration details of the targeted compute.
    ComputeTargetSystemDatas List<ComputeTargetComputeTargetSystemData>
    System data of the compute target.
    CreatedBy string
    The OCID of the user who created the compute target.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the compute target.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    LifecycleDetails string
    Details about the state of the compute target.
    Metadata Dictionary<string, string>

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the compute target.
    ComputeConfigurationDetails ComputeTargetComputeConfigurationDetailsArgs
    (Updatable) Configuration details of the targeted compute.
    ComputeTargetSystemDatas []ComputeTargetComputeTargetSystemDataArgs
    System data of the compute target.
    CreatedBy string
    The OCID of the user who created the compute target.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the compute target.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    LifecycleDetails string
    Details about the state of the compute target.
    Metadata map[string]string

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compartment_id string
    (Updatable) The OCID of the compartment where you want to create the compute target.
    compute_configuration_details object
    (Updatable) Configuration details of the targeted compute.
    compute_target_system_datas list(object)
    System data of the compute target.
    created_by string
    The OCID of the user who created the compute target.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) A short description of the compute target.
    display_name string
    (Updatable) A user-friendly display name for the resource.
    freeform_tags map(string)
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    lifecycle_details string
    Details about the state of the compute target.
    metadata map(string)

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    time_created string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the compute target.
    computeConfigurationDetails ComputeTargetComputeConfigurationDetails
    (Updatable) Configuration details of the targeted compute.
    computeTargetSystemDatas List<ComputeTargetComputeTargetSystemData>
    System data of the compute target.
    createdBy String
    The OCID of the user who created the compute target.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the compute target.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails String
    Details about the state of the compute target.
    metadata Map<String,String>

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compartmentId string
    (Updatable) The OCID of the compartment where you want to create the compute target.
    computeConfigurationDetails ComputeTargetComputeConfigurationDetails
    (Updatable) Configuration details of the targeted compute.
    computeTargetSystemDatas ComputeTargetComputeTargetSystemData[]
    System data of the compute target.
    createdBy string
    The OCID of the user who created the compute target.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) A short description of the compute target.
    displayName string
    (Updatable) A user-friendly display name for the resource.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails string
    Details about the state of the compute target.
    metadata {[key: string]: string}

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    timeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compartment_id str
    (Updatable) The OCID of the compartment where you want to create the compute target.
    compute_configuration_details ComputeTargetComputeConfigurationDetailsArgs
    (Updatable) Configuration details of the targeted compute.
    compute_target_system_datas Sequence[ComputeTargetComputeTargetSystemDataArgs]
    System data of the compute target.
    created_by str
    The OCID of the user who created the compute target.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) A short description of the compute target.
    display_name str
    (Updatable) A user-friendly display name for the resource.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    lifecycle_details str
    Details about the state of the compute target.
    metadata Mapping[str, str]

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    time_created str
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the compute target.
    computeConfigurationDetails Property Map
    (Updatable) Configuration details of the targeted compute.
    computeTargetSystemDatas List<Property Map>
    System data of the compute target.
    createdBy String
    The OCID of the user who created the compute target.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the compute target.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails String
    Details about the state of the compute target.
    metadata Map<String>

    (Updatable) Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be reserved Compute Target metadata.

    ** 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 state of the compute target.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z

    Supporting Types

    ComputeTargetComputeConfigurationDetails, ComputeTargetComputeConfigurationDetailsArgs

    ComputeType string
    (Updatable) The type of compute.
    InstanceConfiguration ComputeTargetComputeConfigurationDetailsInstanceConfiguration
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    ScalingPolicy ComputeTargetComputeConfigurationDetailsScalingPolicy
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.
    ComputeType string
    (Updatable) The type of compute.
    InstanceConfiguration ComputeTargetComputeConfigurationDetailsInstanceConfiguration
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    ScalingPolicy ComputeTargetComputeConfigurationDetailsScalingPolicy
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.
    compute_type string
    (Updatable) The type of compute.
    instance_configuration object
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    scaling_policy object
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.
    computeType String
    (Updatable) The type of compute.
    instanceConfiguration ComputeTargetComputeConfigurationDetailsInstanceConfiguration
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicy ComputeTargetComputeConfigurationDetailsScalingPolicy
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.
    computeType string
    (Updatable) The type of compute.
    instanceConfiguration ComputeTargetComputeConfigurationDetailsInstanceConfiguration
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicy ComputeTargetComputeConfigurationDetailsScalingPolicy
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.
    compute_type str
    (Updatable) The type of compute.
    instance_configuration ComputeTargetComputeConfigurationDetailsInstanceConfiguration
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    scaling_policy ComputeTargetComputeConfigurationDetailsScalingPolicy
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.
    computeType String
    (Updatable) The type of compute.
    instanceConfiguration Property Map
    (Updatable) The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicy Property Map
    (Updatable) The scaling policy to apply to managed compute cluster type compute target.

    ComputeTargetComputeConfigurationDetailsInstanceConfiguration, ComputeTargetComputeConfigurationDetailsInstanceConfigurationArgs

    InstanceShape string
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    BootVolumeSizeInGbs int
    (Updatable) The size of the boot volume to attach to the instance.
    InstanceShapeDetails ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetails
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
    InstanceShape string
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    BootVolumeSizeInGbs int
    (Updatable) The size of the boot volume to attach to the instance.
    InstanceShapeDetails ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetails
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
    instance_shape string
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    boot_volume_size_in_gbs number
    (Updatable) The size of the boot volume to attach to the instance.
    instance_shape_details object
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
    instanceShape String
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    bootVolumeSizeInGbs Integer
    (Updatable) The size of the boot volume to attach to the instance.
    instanceShapeDetails ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetails
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
    instanceShape string
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    bootVolumeSizeInGbs number
    (Updatable) The size of the boot volume to attach to the instance.
    instanceShapeDetails ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetails
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
    instance_shape str
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    boot_volume_size_in_gbs int
    (Updatable) The size of the boot volume to attach to the instance.
    instance_shape_details ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetails
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
    instanceShape String
    (Updatable) The shape used to launch the instances in compute target. Supported shapes can be retrieved using compute target shapes api.
    bootVolumeSizeInGbs Number
    (Updatable) The size of the boot volume to attach to the instance.
    instanceShapeDetails Property Map
    (Updatable) Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.

    ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetails, ComputeTargetComputeConfigurationDetailsInstanceConfigurationInstanceShapeDetailsArgs

    MemoryInGbs double
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    Ocpus double
    (Updatable) The total number of OCPUs allocated to the instance.
    MemoryInGbs float64
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    Ocpus float64
    (Updatable) The total number of OCPUs allocated to the instance.
    memory_in_gbs number
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    ocpus number
    (Updatable) The total number of OCPUs allocated to the instance.
    memoryInGbs Double
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    ocpus Double
    (Updatable) The total number of OCPUs allocated to the instance.
    memoryInGbs number
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    ocpus number
    (Updatable) The total number of OCPUs allocated to the instance.
    memory_in_gbs float
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    ocpus float
    (Updatable) The total number of OCPUs allocated to the instance.
    memoryInGbs Number
    (Updatable) The total amount of memory allocated to the instance, in gigabytes.
    ocpus Number
    (Updatable) The total number of OCPUs allocated to the instance.

    ComputeTargetComputeConfigurationDetailsScalingPolicy, ComputeTargetComputeConfigurationDetailsScalingPolicyArgs

    PolicyType string
    (Updatable) The type of scaling policy.
    AutoScalingPolicies List<ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicy>
    (Updatable) The list of autoscaling policy details.
    CoolDownInSeconds int
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    InstanceCount int
    (Updatable) The number of instances for the managed compute cluster type compute target.
    IsEnabled bool
    (Updatable) Whether the autoscaling policy is enabled.
    PolicyType string
    (Updatable) The type of scaling policy.
    AutoScalingPolicies []ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicy
    (Updatable) The list of autoscaling policy details.
    CoolDownInSeconds int
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    InstanceCount int
    (Updatable) The number of instances for the managed compute cluster type compute target.
    IsEnabled bool
    (Updatable) Whether the autoscaling policy is enabled.
    policy_type string
    (Updatable) The type of scaling policy.
    auto_scaling_policies list(object)
    (Updatable) The list of autoscaling policy details.
    cool_down_in_seconds number
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    instance_count number
    (Updatable) The number of instances for the managed compute cluster type compute target.
    is_enabled bool
    (Updatable) Whether the autoscaling policy is enabled.
    policyType String
    (Updatable) The type of scaling policy.
    autoScalingPolicies List<ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicy>
    (Updatable) The list of autoscaling policy details.
    coolDownInSeconds Integer
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    instanceCount Integer
    (Updatable) The number of instances for the managed compute cluster type compute target.
    isEnabled Boolean
    (Updatable) Whether the autoscaling policy is enabled.
    policyType string
    (Updatable) The type of scaling policy.
    autoScalingPolicies ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicy[]
    (Updatable) The list of autoscaling policy details.
    coolDownInSeconds number
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    instanceCount number
    (Updatable) The number of instances for the managed compute cluster type compute target.
    isEnabled boolean
    (Updatable) Whether the autoscaling policy is enabled.
    policy_type str
    (Updatable) The type of scaling policy.
    auto_scaling_policies Sequence[ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicy]
    (Updatable) The list of autoscaling policy details.
    cool_down_in_seconds int
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    instance_count int
    (Updatable) The number of instances for the managed compute cluster type compute target.
    is_enabled bool
    (Updatable) Whether the autoscaling policy is enabled.
    policyType String
    (Updatable) The type of scaling policy.
    autoScalingPolicies List<Property Map>
    (Updatable) The list of autoscaling policy details.
    coolDownInSeconds Number
    (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the managed compute cluster type compute target becomes ACTIVE after the scaling operation.
    instanceCount Number
    (Updatable) The number of instances for the managed compute cluster type compute target.
    isEnabled Boolean
    (Updatable) Whether the autoscaling policy is enabled.

    ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicy, ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyArgs

    AutoScalingPolicyType string
    (Updatable) The type of autoscaling policy.
    InitialInstanceCount int
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    MaximumInstanceCount int
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    MinimumInstanceCount int
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    Rules List<ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRule>
    (Updatable) The list of autoscaling policy rules.
    AutoScalingPolicyType string
    (Updatable) The type of autoscaling policy.
    InitialInstanceCount int
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    MaximumInstanceCount int
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    MinimumInstanceCount int
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    Rules []ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRule
    (Updatable) The list of autoscaling policy rules.
    auto_scaling_policy_type string
    (Updatable) The type of autoscaling policy.
    initial_instance_count number
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    maximum_instance_count number
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    minimum_instance_count number
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    rules list(object)
    (Updatable) The list of autoscaling policy rules.
    autoScalingPolicyType String
    (Updatable) The type of autoscaling policy.
    initialInstanceCount Integer
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    maximumInstanceCount Integer
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    minimumInstanceCount Integer
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    rules List<ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRule>
    (Updatable) The list of autoscaling policy rules.
    autoScalingPolicyType string
    (Updatable) The type of autoscaling policy.
    initialInstanceCount number
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    maximumInstanceCount number
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    minimumInstanceCount number
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    rules ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRule[]
    (Updatable) The list of autoscaling policy rules.
    auto_scaling_policy_type str
    (Updatable) The type of autoscaling policy.
    initial_instance_count int
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    maximum_instance_count int
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    minimum_instance_count int
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    rules Sequence[ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRule]
    (Updatable) The list of autoscaling policy rules.
    autoScalingPolicyType String
    (Updatable) The type of autoscaling policy.
    initialInstanceCount Number
    (Updatable) For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    maximumInstanceCount Number
    (Updatable) For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out).
    minimumInstanceCount Number
    (Updatable) For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in).
    rules List<Property Map>
    (Updatable) The list of autoscaling policy rules.

    ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRule, ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleArgs

    MetricExpressionRuleType string
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    ScaleInConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    ScaleOutConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    MetricType string
    (Updatable) Metric type
    MetricExpressionRuleType string
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    ScaleInConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    ScaleOutConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    MetricType string
    (Updatable) Metric type
    metric_expression_rule_type string
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    scale_in_configuration object
    (Updatable) The scaling configuration for the predefined metric expression rule.
    scale_out_configuration object
    (Updatable) The scaling configuration for the predefined metric expression rule.
    metric_type string
    (Updatable) Metric type
    metricExpressionRuleType String
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    scaleInConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    scaleOutConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    metricType String
    (Updatable) Metric type
    metricExpressionRuleType string
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    scaleInConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    scaleOutConfiguration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    metricType string
    (Updatable) Metric type
    metric_expression_rule_type str
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    scale_in_configuration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    scale_out_configuration ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    (Updatable) The scaling configuration for the predefined metric expression rule.
    metric_type str
    (Updatable) Metric type
    metricExpressionRuleType String
    (Updatable) The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    scaleInConfiguration Property Map
    (Updatable) The scaling configuration for the predefined metric expression rule.
    scaleOutConfiguration Property Map
    (Updatable) The scaling configuration for the predefined metric expression rule.
    metricType String
    (Updatable) Metric type

    ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfiguration, ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleInConfigurationArgs

    InstanceCountAdjustment int
    (Updatable) The value is used for adjusting the count of instances by.
    PendingDuration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    Query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    ScalingConfigurationType string
    (Updatable) The type of scaling configuration.
    Threshold int
    (Updatable) A metric value at which the scaling operation will be triggered.
    InstanceCountAdjustment int
    (Updatable) The value is used for adjusting the count of instances by.
    PendingDuration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    Query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    ScalingConfigurationType string
    (Updatable) The type of scaling configuration.
    Threshold int
    (Updatable) A metric value at which the scaling operation will be triggered.
    instance_count_adjustment number
    (Updatable) The value is used for adjusting the count of instances by.
    pending_duration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scaling_configuration_type string
    (Updatable) The type of scaling configuration.
    threshold number
    (Updatable) A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Integer
    (Updatable) The value is used for adjusting the count of instances by.
    pendingDuration String
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query String
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scalingConfigurationType String
    (Updatable) The type of scaling configuration.
    threshold Integer
    (Updatable) A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment number
    (Updatable) The value is used for adjusting the count of instances by.
    pendingDuration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scalingConfigurationType string
    (Updatable) The type of scaling configuration.
    threshold number
    (Updatable) A metric value at which the scaling operation will be triggered.
    instance_count_adjustment int
    (Updatable) The value is used for adjusting the count of instances by.
    pending_duration str
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query str
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scaling_configuration_type str
    (Updatable) The type of scaling configuration.
    threshold int
    (Updatable) A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Number
    (Updatable) The value is used for adjusting the count of instances by.
    pendingDuration String
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query String
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scalingConfigurationType String
    (Updatable) The type of scaling configuration.
    threshold Number
    (Updatable) A metric value at which the scaling operation will be triggered.

    ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration, ComputeTargetComputeConfigurationDetailsScalingPolicyAutoScalingPolicyRuleScaleOutConfigurationArgs

    InstanceCountAdjustment int
    (Updatable) The value is used for adjusting the count of instances by.
    PendingDuration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    Query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    ScalingConfigurationType string
    (Updatable) The type of scaling configuration.
    Threshold int
    (Updatable) A metric value at which the scaling operation will be triggered.
    InstanceCountAdjustment int
    (Updatable) The value is used for adjusting the count of instances by.
    PendingDuration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    Query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    ScalingConfigurationType string
    (Updatable) The type of scaling configuration.
    Threshold int
    (Updatable) A metric value at which the scaling operation will be triggered.
    instance_count_adjustment number
    (Updatable) The value is used for adjusting the count of instances by.
    pending_duration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scaling_configuration_type string
    (Updatable) The type of scaling configuration.
    threshold number
    (Updatable) A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Integer
    (Updatable) The value is used for adjusting the count of instances by.
    pendingDuration String
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query String
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scalingConfigurationType String
    (Updatable) The type of scaling configuration.
    threshold Integer
    (Updatable) A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment number
    (Updatable) The value is used for adjusting the count of instances by.
    pendingDuration string
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query string
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scalingConfigurationType string
    (Updatable) The type of scaling configuration.
    threshold number
    (Updatable) A metric value at which the scaling operation will be triggered.
    instance_count_adjustment int
    (Updatable) The value is used for adjusting the count of instances by.
    pending_duration str
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query str
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scaling_configuration_type str
    (Updatable) The type of scaling configuration.
    threshold int
    (Updatable) A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Number
    (Updatable) The value is used for adjusting the count of instances by.
    pendingDuration String
    (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK." The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
    query String
    (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy(). Example of threshold alarm: CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75
    scalingConfigurationType String
    (Updatable) The type of scaling configuration.
    threshold Number
    (Updatable) A metric value at which the scaling operation will be triggered.

    ComputeTargetComputeTargetSystemData, ComputeTargetComputeTargetSystemDataArgs

    ComputeType string
    Type of compute target.
    CurrentInstanceCount int
    Current count of the instances in managed compute cluster type compute target.
    ComputeType string
    Type of compute target.
    CurrentInstanceCount int
    Current count of the instances in managed compute cluster type compute target.
    compute_type string
    Type of compute target.
    current_instance_count number
    Current count of the instances in managed compute cluster type compute target.
    computeType String
    Type of compute target.
    currentInstanceCount Integer
    Current count of the instances in managed compute cluster type compute target.
    computeType string
    Type of compute target.
    currentInstanceCount number
    Current count of the instances in managed compute cluster type compute target.
    compute_type str
    Type of compute target.
    current_instance_count int
    Current count of the instances in managed compute cluster type compute target.
    computeType String
    Type of compute target.
    currentInstanceCount Number
    Current count of the instances in managed compute cluster type compute target.

    Import

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

    $ pulumi import oci:DataScience/computeTarget:ComputeTarget test_compute_target "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
    Viewing docs for Oracle Cloud Infrastructure v4.13.0
    published on Thursday, May 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial