1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataScience
  6. getComputeTarget
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 data source provides details about a specific Compute Target resource in Oracle Cloud Infrastructure Data Science service.

    Retrieves the compute target for the specified computeTargetId.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testComputeTarget = oci.datascience.getComputeTarget({
        computeTargetId: testComputeTargetOciDatascienceComputeTarget.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_compute_target = oci.datascience.get_compute_target(compute_target_id=test_compute_target_oci_datascience_compute_target["id"])
    
    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.GetComputeTarget(ctx, &datascience.GetComputeTargetArgs{
    			ComputeTargetId: testComputeTargetOciDatascienceComputeTarget.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testComputeTarget = Oci.DataScience.GetComputeTarget.Invoke(new()
        {
            ComputeTargetId = testComputeTargetOciDatascienceComputeTarget.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.DataScienceFunctions;
    import com.pulumi.oci.DataScience.inputs.GetComputeTargetArgs;
    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) {
            final var testComputeTarget = DataScienceFunctions.getComputeTarget(GetComputeTargetArgs.builder()
                .computeTargetId(testComputeTargetOciDatascienceComputeTarget.id())
                .build());
    
        }
    }
    
    variables:
      testComputeTarget:
        fn::invoke:
          function: oci:DataScience:getComputeTarget
          arguments:
            computeTargetId: ${testComputeTargetOciDatascienceComputeTarget.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_datascience_getcomputetarget" "testComputeTarget" {
      compute_target_id = testComputeTargetOciDatascienceComputeTarget.id
    }
    

    Using getComputeTarget

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getComputeTarget(args: GetComputeTargetArgs, opts?: InvokeOptions): Promise<GetComputeTargetResult>
    function getComputeTargetOutput(args: GetComputeTargetOutputArgs, opts?: InvokeOptions): Output<GetComputeTargetResult>
    def get_compute_target(compute_target_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetComputeTargetResult
    def get_compute_target_output(compute_target_id: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetComputeTargetResult]
    func LookupComputeTarget(ctx *Context, args *LookupComputeTargetArgs, opts ...InvokeOption) (*LookupComputeTargetResult, error)
    func LookupComputeTargetOutput(ctx *Context, args *LookupComputeTargetOutputArgs, opts ...InvokeOption) LookupComputeTargetResultOutput

    > Note: This function is named LookupComputeTarget in the Go SDK.

    public static class GetComputeTarget 
    {
        public static Task<GetComputeTargetResult> InvokeAsync(GetComputeTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetComputeTargetResult> Invoke(GetComputeTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetComputeTargetResult> getComputeTarget(GetComputeTargetArgs args, InvokeOptions options)
    public static Output<GetComputeTargetResult> getComputeTarget(GetComputeTargetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DataScience/getComputeTarget:getComputeTarget
      arguments:
        # arguments dictionary
    data "oci_datascience_getcomputetarget" "name" {
        # arguments
    }

    The following arguments are supported:

    ComputeTargetId string
    The OCID of the compute target.
    ComputeTargetId string
    The OCID of the compute target.
    compute_target_id string
    The OCID of the compute target.
    computeTargetId String
    The OCID of the compute target.
    computeTargetId string
    The OCID of the compute target.
    compute_target_id str
    The OCID of the compute target.
    computeTargetId String
    The OCID of the compute target.

    getComputeTarget Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment associated with the compute target.
    ComputeConfigurationDetails List<GetComputeTargetComputeConfigurationDetail>
    Configuration details of the targeted compute.
    ComputeTargetId string
    ComputeTargetSystemDatas List<GetComputeTargetComputeTargetSystemData>
    System data of the compute target.
    CreatedBy string
    The OCID of the user who created the compute target.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    A short description of the compute target.
    DisplayName string
    A user-friendly display name for the resource.
    FreeformTags Dictionary<string, string>
    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"}
    Id string
    The OCID of the compute target.
    LifecycleDetails string
    Details about the state of the compute target.
    Metadata Dictionary<string, string>
    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.
    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
    The OCID of the compartment associated with the compute target.
    ComputeConfigurationDetails []GetComputeTargetComputeConfigurationDetail
    Configuration details of the targeted compute.
    ComputeTargetId string
    ComputeTargetSystemDatas []GetComputeTargetComputeTargetSystemData
    System data of the compute target.
    CreatedBy string
    The OCID of the user who created the compute target.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    A short description of the compute target.
    DisplayName string
    A user-friendly display name for the resource.
    FreeformTags map[string]string
    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"}
    Id string
    The OCID of the compute target.
    LifecycleDetails string
    Details about the state of the compute target.
    Metadata map[string]string
    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.
    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
    The OCID of the compartment associated with the compute target.
    compute_configuration_details list(object)
    Configuration details of the targeted compute.
    compute_target_id string
    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)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    A short description of the compute target.
    display_name string
    A user-friendly display name for the resource.
    freeform_tags map(string)
    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"}
    id string
    The OCID of the compute target.
    lifecycle_details string
    Details about the state of the compute target.
    metadata map(string)
    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.
    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
    The OCID of the compartment associated with the compute target.
    computeConfigurationDetails List<GetComputeTargetComputeConfigurationDetail>
    Configuration details of the targeted compute.
    computeTargetId String
    computeTargetSystemDatas List<GetComputeTargetComputeTargetSystemData>
    System data of the compute target.
    createdBy String
    The OCID of the user who created the compute target.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    A short description of the compute target.
    displayName String
    A user-friendly display name for the resource.
    freeformTags Map<String,String>
    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"}
    id String
    The OCID of the compute target.
    lifecycleDetails String
    Details about the state of the compute target.
    metadata Map<String,String>
    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.
    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
    The OCID of the compartment associated with the compute target.
    computeConfigurationDetails GetComputeTargetComputeConfigurationDetail[]
    Configuration details of the targeted compute.
    computeTargetId string
    computeTargetSystemDatas GetComputeTargetComputeTargetSystemData[]
    System data of the compute target.
    createdBy string
    The OCID of the user who created the compute target.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    A short description of the compute target.
    displayName string
    A user-friendly display name for the resource.
    freeformTags {[key: string]: string}
    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"}
    id string
    The OCID of the compute target.
    lifecycleDetails string
    Details about the state of the compute target.
    metadata {[key: string]: string}
    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.
    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
    The OCID of the compartment associated with the compute target.
    compute_configuration_details Sequence[GetComputeTargetComputeConfigurationDetail]
    Configuration details of the targeted compute.
    compute_target_id str
    compute_target_system_datas Sequence[GetComputeTargetComputeTargetSystemData]
    System data of the compute target.
    created_by str
    The OCID of the user who created the compute target.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    A short description of the compute target.
    display_name str
    A user-friendly display name for the resource.
    freeform_tags Mapping[str, str]
    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"}
    id str
    The OCID of the compute target.
    lifecycle_details str
    Details about the state of the compute target.
    metadata Mapping[str, str]
    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.
    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
    The OCID of the compartment associated with the compute target.
    computeConfigurationDetails List<Property Map>
    Configuration details of the targeted compute.
    computeTargetId String
    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>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    A short description of the compute target.
    displayName String
    A user-friendly display name for the resource.
    freeformTags Map<String>
    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"}
    id String
    The OCID of the compute target.
    lifecycleDetails String
    Details about the state of the compute target.
    metadata Map<String>
    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.
    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

    GetComputeTargetComputeConfigurationDetail

    ComputeType string
    Type of compute target.
    InstanceConfigurations List<GetComputeTargetComputeConfigurationDetailInstanceConfiguration>
    The compute target instance configuration details for managed compute cluster type compute target.
    ScalingPolicies List<GetComputeTargetComputeConfigurationDetailScalingPolicy>
    The scaling policy to apply to managed compute cluster type compute target.
    ComputeType string
    Type of compute target.
    InstanceConfigurations []GetComputeTargetComputeConfigurationDetailInstanceConfiguration
    The compute target instance configuration details for managed compute cluster type compute target.
    ScalingPolicies []GetComputeTargetComputeConfigurationDetailScalingPolicy
    The scaling policy to apply to managed compute cluster type compute target.
    compute_type string
    Type of compute target.
    instance_configurations list(object)
    The compute target instance configuration details for managed compute cluster type compute target.
    scaling_policies list(object)
    The scaling policy to apply to managed compute cluster type compute target.
    computeType String
    Type of compute target.
    instanceConfigurations List<GetComputeTargetComputeConfigurationDetailInstanceConfiguration>
    The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicies List<GetComputeTargetComputeConfigurationDetailScalingPolicy>
    The scaling policy to apply to managed compute cluster type compute target.
    computeType string
    Type of compute target.
    instanceConfigurations GetComputeTargetComputeConfigurationDetailInstanceConfiguration[]
    The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicies GetComputeTargetComputeConfigurationDetailScalingPolicy[]
    The scaling policy to apply to managed compute cluster type compute target.
    compute_type str
    Type of compute target.
    instance_configurations Sequence[GetComputeTargetComputeConfigurationDetailInstanceConfiguration]
    The compute target instance configuration details for managed compute cluster type compute target.
    scaling_policies Sequence[GetComputeTargetComputeConfigurationDetailScalingPolicy]
    The scaling policy to apply to managed compute cluster type compute target.
    computeType String
    Type of compute target.
    instanceConfigurations List<Property Map>
    The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicies List<Property Map>
    The scaling policy to apply to managed compute cluster type compute target.

    GetComputeTargetComputeConfigurationDetailInstanceConfiguration

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

    GetComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail

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

    GetComputeTargetComputeConfigurationDetailScalingPolicy

    AutoScalingPolicies List<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy>
    The list of autoscaling policy details.
    CoolDownInSeconds int
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    IsEnabled bool
    Whether the autoscaling policy is enabled.
    PolicyType string
    The type of scaling policy.
    AutoScalingPolicies []GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy
    The list of autoscaling policy details.
    CoolDownInSeconds int
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    IsEnabled bool
    Whether the autoscaling policy is enabled.
    PolicyType string
    The type of scaling policy.
    auto_scaling_policies list(object)
    The list of autoscaling policy details.
    cool_down_in_seconds number
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    is_enabled bool
    Whether the autoscaling policy is enabled.
    policy_type string
    The type of scaling policy.
    autoScalingPolicies List<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy>
    The list of autoscaling policy details.
    coolDownInSeconds Integer
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    isEnabled Boolean
    Whether the autoscaling policy is enabled.
    policyType String
    The type of scaling policy.
    autoScalingPolicies GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy[]
    The list of autoscaling policy details.
    coolDownInSeconds number
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    isEnabled boolean
    Whether the autoscaling policy is enabled.
    policyType string
    The type of scaling policy.
    auto_scaling_policies Sequence[GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy]
    The list of autoscaling policy details.
    cool_down_in_seconds int
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    is_enabled bool
    Whether the autoscaling policy is enabled.
    policy_type str
    The type of scaling policy.
    autoScalingPolicies List<Property Map>
    The list of autoscaling policy details.
    coolDownInSeconds Number
    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 600 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
    The number of instances for the managed compute cluster type compute target.
    isEnabled Boolean
    Whether the autoscaling policy is enabled.
    policyType String
    The type of scaling policy.

    GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy

    AutoScalingPolicyType string
    The type of autoscaling policy.
    InitialInstanceCount int
    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
    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
    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<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule>
    The list of autoscaling policy rules.
    AutoScalingPolicyType string
    The type of autoscaling policy.
    InitialInstanceCount int
    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
    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
    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 []GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule
    The list of autoscaling policy rules.
    auto_scaling_policy_type string
    The type of autoscaling policy.
    initial_instance_count number
    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
    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
    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)
    The list of autoscaling policy rules.
    autoScalingPolicyType String
    The type of autoscaling policy.
    initialInstanceCount Integer
    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
    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
    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<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule>
    The list of autoscaling policy rules.
    autoScalingPolicyType string
    The type of autoscaling policy.
    initialInstanceCount number
    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
    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
    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 GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule[]
    The list of autoscaling policy rules.
    auto_scaling_policy_type str
    The type of autoscaling policy.
    initial_instance_count int
    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
    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
    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[GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule]
    The list of autoscaling policy rules.
    autoScalingPolicyType String
    The type of autoscaling policy.
    initialInstanceCount Number
    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
    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
    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>
    The list of autoscaling policy rules.

    GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule

    MetricExpressionRuleType string
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    MetricType string
    Metric type
    ScaleInConfigurations List<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration>
    The scaling configuration for the predefined metric expression rule.
    ScaleOutConfigurations List<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration>
    The scaling configuration for the predefined metric expression rule.
    MetricExpressionRuleType string
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    MetricType string
    Metric type
    ScaleInConfigurations []GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    The scaling configuration for the predefined metric expression rule.
    ScaleOutConfigurations []GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    The scaling configuration for the predefined metric expression rule.
    metric_expression_rule_type string
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    metric_type string
    Metric type
    scale_in_configurations list(object)
    The scaling configuration for the predefined metric expression rule.
    scale_out_configurations list(object)
    The scaling configuration for the predefined metric expression rule.
    metricExpressionRuleType String
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    metricType String
    Metric type
    scaleInConfigurations List<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration>
    The scaling configuration for the predefined metric expression rule.
    scaleOutConfigurations List<GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration>
    The scaling configuration for the predefined metric expression rule.
    metricExpressionRuleType string
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    metricType string
    Metric type
    scaleInConfigurations GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration[]
    The scaling configuration for the predefined metric expression rule.
    scaleOutConfigurations GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration[]
    The scaling configuration for the predefined metric expression rule.
    metric_expression_rule_type str
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    metric_type str
    Metric type
    scale_in_configurations Sequence[GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration]
    The scaling configuration for the predefined metric expression rule.
    scale_out_configurations Sequence[GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration]
    The scaling configuration for the predefined metric expression rule.
    metricExpressionRuleType String
    The metric expression for creating the alarm used to trigger autoscaling actions on the managed compute cluster type compute target .
    metricType String
    Metric type
    scaleInConfigurations List<Property Map>
    The scaling configuration for the predefined metric expression rule.
    scaleOutConfigurations List<Property Map>
    The scaling configuration for the predefined metric expression rule.

    GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration

    InstanceCountAdjustment int
    The value is used for adjusting the count of instances by.
    PendingDuration string
    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
    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
    The type of scaling configuration.
    Threshold int
    A metric value at which the scaling operation will be triggered.
    InstanceCountAdjustment int
    The value is used for adjusting the count of instances by.
    PendingDuration string
    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
    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
    The type of scaling configuration.
    Threshold int
    A metric value at which the scaling operation will be triggered.
    instance_count_adjustment number
    The value is used for adjusting the count of instances by.
    pending_duration string
    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
    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
    The type of scaling configuration.
    threshold number
    A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Integer
    The value is used for adjusting the count of instances by.
    pendingDuration String
    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
    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
    The type of scaling configuration.
    threshold Integer
    A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment number
    The value is used for adjusting the count of instances by.
    pendingDuration string
    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
    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
    The type of scaling configuration.
    threshold number
    A metric value at which the scaling operation will be triggered.
    instance_count_adjustment int
    The value is used for adjusting the count of instances by.
    pending_duration str
    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
    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
    The type of scaling configuration.
    threshold int
    A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Number
    The value is used for adjusting the count of instances by.
    pendingDuration String
    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
    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
    The type of scaling configuration.
    threshold Number
    A metric value at which the scaling operation will be triggered.

    GetComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration

    InstanceCountAdjustment int
    The value is used for adjusting the count of instances by.
    PendingDuration string
    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
    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
    The type of scaling configuration.
    Threshold int
    A metric value at which the scaling operation will be triggered.
    InstanceCountAdjustment int
    The value is used for adjusting the count of instances by.
    PendingDuration string
    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
    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
    The type of scaling configuration.
    Threshold int
    A metric value at which the scaling operation will be triggered.
    instance_count_adjustment number
    The value is used for adjusting the count of instances by.
    pending_duration string
    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
    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
    The type of scaling configuration.
    threshold number
    A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Integer
    The value is used for adjusting the count of instances by.
    pendingDuration String
    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
    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
    The type of scaling configuration.
    threshold Integer
    A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment number
    The value is used for adjusting the count of instances by.
    pendingDuration string
    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
    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
    The type of scaling configuration.
    threshold number
    A metric value at which the scaling operation will be triggered.
    instance_count_adjustment int
    The value is used for adjusting the count of instances by.
    pending_duration str
    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
    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
    The type of scaling configuration.
    threshold int
    A metric value at which the scaling operation will be triggered.
    instanceCountAdjustment Number
    The value is used for adjusting the count of instances by.
    pendingDuration String
    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
    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
    The type of scaling configuration.
    threshold Number
    A metric value at which the scaling operation will be triggered.

    GetComputeTargetComputeTargetSystemData

    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.

    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