1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataScience
  6. getComputeTargets
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 the list of Compute Targets in Oracle Cloud Infrastructure Data Science service.

    List all compute targets in the specified compartment. Supports queries on various other parameters in the query alongside compartmentId (must be included).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testComputeTargets = oci.datascience.getComputeTargets({
        compartmentId: compartmentId,
        displayName: computeTargetDisplayName,
        id: computeTargetId,
        state: computeTargetState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_compute_targets = oci.datascience.get_compute_targets(compartment_id=compartment_id,
        display_name=compute_target_display_name,
        id=compute_target_id,
        state=compute_target_state)
    
    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.GetComputeTargets(ctx, &datascience.GetComputeTargetsArgs{
    			CompartmentId: compartmentId,
    			DisplayName:   pulumi.StringRef(computeTargetDisplayName),
    			Id:            pulumi.StringRef(computeTargetId),
    			State:         pulumi.StringRef(computeTargetState),
    		}, 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 testComputeTargets = Oci.DataScience.GetComputeTargets.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = computeTargetDisplayName,
            Id = computeTargetId,
            State = computeTargetState,
        });
    
    });
    
    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.GetComputeTargetsArgs;
    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 testComputeTargets = DataScienceFunctions.getComputeTargets(GetComputeTargetsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(computeTargetDisplayName)
                .id(computeTargetId)
                .state(computeTargetState)
                .build());
    
        }
    }
    
    variables:
      testComputeTargets:
        fn::invoke:
          function: oci:DataScience:getComputeTargets
          arguments:
            compartmentId: ${compartmentId}
            displayName: ${computeTargetDisplayName}
            id: ${computeTargetId}
            state: ${computeTargetState}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_datascience_getcomputetargets" "testComputeTargets" {
      compartment_id = compartmentId
      display_name   = computeTargetDisplayName
      id             = computeTargetId
      state          = computeTargetState
    }
    

    Using getComputeTargets

    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 getComputeTargets(args: GetComputeTargetsArgs, opts?: InvokeOptions): Promise<GetComputeTargetsResult>
    function getComputeTargetsOutput(args: GetComputeTargetsOutputArgs, opts?: InvokeOptions): Output<GetComputeTargetsResult>
    def get_compute_targets(compartment_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            filters: Optional[Sequence[GetComputeTargetsFilter]] = None,
                            id: Optional[str] = None,
                            state: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetComputeTargetsResult
    def get_compute_targets_output(compartment_id: pulumi.Input[Optional[str]] = None,
                            display_name: pulumi.Input[Optional[str]] = None,
                            filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetComputeTargetsFilterArgs]]]] = None,
                            id: pulumi.Input[Optional[str]] = None,
                            state: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetComputeTargetsResult]
    func GetComputeTargets(ctx *Context, args *GetComputeTargetsArgs, opts ...InvokeOption) (*GetComputeTargetsResult, error)
    func GetComputeTargetsOutput(ctx *Context, args *GetComputeTargetsOutputArgs, opts ...InvokeOption) GetComputeTargetsResultOutput

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

    public static class GetComputeTargets 
    {
        public static Task<GetComputeTargetsResult> InvokeAsync(GetComputeTargetsArgs args, InvokeOptions? opts = null)
        public static Output<GetComputeTargetsResult> Invoke(GetComputeTargetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetComputeTargetsResult> getComputeTargets(GetComputeTargetsArgs args, InvokeOptions options)
    public static Output<GetComputeTargetsResult> getComputeTargets(GetComputeTargetsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DataScience/getComputeTargets:getComputeTargets
      arguments:
        # arguments dictionary
    data "oci_datascience_getcomputetargets" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    Filter results by the OCID of the compartment.
    DisplayName string
    Filter results by its user-friendly name.
    Filters List<GetComputeTargetsFilter>
    Id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    State string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    CompartmentId string
    Filter results by the OCID of the compartment.
    DisplayName string
    Filter results by its user-friendly name.
    Filters []GetComputeTargetsFilter
    Id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    State string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartment_id string
    Filter results by the OCID of the compartment.
    display_name string
    Filter results by its user-friendly name.
    filters list(object)
    id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    state string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartmentId String
    Filter results by the OCID of the compartment.
    displayName String
    Filter results by its user-friendly name.
    filters List<GetComputeTargetsFilter>
    id String
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    state String
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartmentId string
    Filter results by the OCID of the compartment.
    displayName string
    Filter results by its user-friendly name.
    filters GetComputeTargetsFilter[]
    id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    state string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartment_id str
    Filter results by the OCID of the compartment.
    display_name str
    Filter results by its user-friendly name.
    filters Sequence[GetComputeTargetsFilter]
    id str
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    state str
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartmentId String
    Filter results by the OCID of the compartment.
    displayName String
    Filter results by its user-friendly name.
    filters List<Property Map>
    id String
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    state String
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    getComputeTargets Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment associated with the compute target.
    ComputeTargets List<GetComputeTargetsComputeTarget>
    The list of compute_targets.
    DisplayName string
    A user-friendly display name for the resource.
    Filters List<GetComputeTargetsFilter>
    Id string
    The OCID of the compute target.
    State string
    The state of the compute target.
    CompartmentId string
    The OCID of the compartment associated with the compute target.
    ComputeTargets []GetComputeTargetsComputeTarget
    The list of compute_targets.
    DisplayName string
    A user-friendly display name for the resource.
    Filters []GetComputeTargetsFilter
    Id string
    The OCID of the compute target.
    State string
    The state of the compute target.
    compartment_id string
    The OCID of the compartment associated with the compute target.
    compute_targets list(object)
    The list of compute_targets.
    display_name string
    A user-friendly display name for the resource.
    filters list(object)
    id string
    The OCID of the compute target.
    state string
    The state of the compute target.
    compartmentId String
    The OCID of the compartment associated with the compute target.
    computeTargets List<GetComputeTargetsComputeTarget>
    The list of compute_targets.
    displayName String
    A user-friendly display name for the resource.
    filters List<GetComputeTargetsFilter>
    id String
    The OCID of the compute target.
    state String
    The state of the compute target.
    compartmentId string
    The OCID of the compartment associated with the compute target.
    computeTargets GetComputeTargetsComputeTarget[]
    The list of compute_targets.
    displayName string
    A user-friendly display name for the resource.
    filters GetComputeTargetsFilter[]
    id string
    The OCID of the compute target.
    state string
    The state of the compute target.
    compartment_id str
    The OCID of the compartment associated with the compute target.
    compute_targets Sequence[GetComputeTargetsComputeTarget]
    The list of compute_targets.
    display_name str
    A user-friendly display name for the resource.
    filters Sequence[GetComputeTargetsFilter]
    id str
    The OCID of the compute target.
    state str
    The state of the compute target.
    compartmentId String
    The OCID of the compartment associated with the compute target.
    computeTargets List<Property Map>
    The list of compute_targets.
    displayName String
    A user-friendly display name for the resource.
    filters List<Property Map>
    id String
    The OCID of the compute target.
    state String
    The state of the compute target.

    Supporting Types

    GetComputeTargetsComputeTarget

    CompartmentId string
    Filter results by the OCID of the compartment.
    ComputeConfigurationDetails List<GetComputeTargetsComputeTargetComputeConfigurationDetail>
    Configuration details of the targeted compute.
    ComputeTargetSystemDatas List<GetComputeTargetsComputeTargetComputeTargetSystemData>
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    ComputeConfigurationDetails []GetComputeTargetsComputeTargetComputeConfigurationDetail
    Configuration details of the targeted compute.
    ComputeTargetSystemDatas []GetComputeTargetsComputeTargetComputeTargetSystemData
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    compute_configuration_details list(object)
    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)
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    computeConfigurationDetails List<GetComputeTargetsComputeTargetComputeConfigurationDetail>
    Configuration details of the targeted compute.
    computeTargetSystemDatas List<GetComputeTargetsComputeTargetComputeTargetSystemData>
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    computeConfigurationDetails GetComputeTargetsComputeTargetComputeConfigurationDetail[]
    Configuration details of the targeted compute.
    computeTargetSystemDatas GetComputeTargetsComputeTargetComputeTargetSystemData[]
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    compute_configuration_details Sequence[GetComputeTargetsComputeTargetComputeConfigurationDetail]
    Configuration details of the targeted compute.
    compute_target_system_datas Sequence[GetComputeTargetsComputeTargetComputeTargetSystemData]
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    computeConfigurationDetails List<Property Map>
    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>
    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
    Filter results by its user-friendly name.
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    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
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z

    GetComputeTargetsComputeTargetComputeConfigurationDetail

    ComputeType string
    Type of compute target.
    InstanceConfigurations List<GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration>
    The compute target instance configuration details for managed compute cluster type compute target.
    ScalingPolicies List<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy>
    The scaling policy to apply to managed compute cluster type compute target.
    ComputeType string
    Type of compute target.
    InstanceConfigurations []GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration
    The compute target instance configuration details for managed compute cluster type compute target.
    ScalingPolicies []GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy
    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<GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration>
    The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicies List<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy>
    The scaling policy to apply to managed compute cluster type compute target.
    computeType string
    Type of compute target.
    instanceConfigurations GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration[]
    The compute target instance configuration details for managed compute cluster type compute target.
    scalingPolicies GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy[]
    The scaling policy to apply to managed compute cluster type compute target.
    compute_type str
    Type of compute target.
    instance_configurations Sequence[GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration]
    The compute target instance configuration details for managed compute cluster type compute target.
    scaling_policies Sequence[GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy]
    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration

    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<GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail>
    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 []GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail
    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<GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail>
    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 GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail[]
    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[GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail]
    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail

    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy

    AutoScalingPolicies List<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy>
    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 []GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy
    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<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy>
    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 GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy[]
    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[GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy]
    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy

    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<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule>
    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 []GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule
    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<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule>
    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 GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule[]
    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[GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule]
    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRule

    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<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration>
    The scaling configuration for the predefined metric expression rule.
    ScaleOutConfigurations List<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration>
    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 []GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
    The scaling configuration for the predefined metric expression rule.
    ScaleOutConfigurations []GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
    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<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration>
    The scaling configuration for the predefined metric expression rule.
    scaleOutConfigurations List<GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration>
    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 GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration[]
    The scaling configuration for the predefined metric expression rule.
    scaleOutConfigurations GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration[]
    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[GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration]
    The scaling configuration for the predefined metric expression rule.
    scale_out_configurations Sequence[GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration]
    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration

    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.

    GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration

    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.

    GetComputeTargetsComputeTargetComputeTargetSystemData

    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.

    GetComputeTargetsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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