Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi
published on Thursday, May 28, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi
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 dictionarydata "oci_datascience_getcomputetargets" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - Filter results by the OCID of the compartment.
- Display
Name string - Filter results by its user-friendly name.
- Filters
List<Get
Compute Targets Filter> - 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
[]Get
Compute Targets Filter - 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.
- compartment
Id String - Filter results by the OCID of the compartment.
- display
Name String - Filter results by its user-friendly name.
- filters
List<Get
Compute Targets Filter> - 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
Get
Compute Targets Filter[] - 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[Get
Compute Targets Filter] - 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.
- compartment
Id String - Filter results by the OCID of the compartment.
- display
Name 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:
- Compartment
Id string - The OCID of the compartment associated with the compute target.
- Compute
Targets List<GetCompute Targets Compute Target> - The list of compute_targets.
- Display
Name string - A user-friendly display name for the resource.
- Filters
List<Get
Compute Targets Filter> - 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 []GetCompute Targets Compute Target - The list of compute_targets.
- Display
Name string - A user-friendly display name for the resource.
- Filters
[]Get
Compute Targets Filter - 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.
- compartment
Id String - The OCID of the compartment associated with the compute target.
- compute
Targets List<GetCompute Targets Compute Target> - The list of compute_targets.
- display
Name String - A user-friendly display name for the resource.
- filters
List<Get
Compute Targets Filter> - 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 GetCompute Targets Compute Target[] - The list of compute_targets.
- display
Name string - A user-friendly display name for the resource.
- filters
Get
Compute Targets Filter[] - 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[GetCompute Targets Compute Target] - The list of compute_targets.
- display_
name str - A user-friendly display name for the resource.
- filters
Sequence[Get
Compute Targets Filter] - id str
- The OCID of the compute target.
- state str
- The state of the compute target.
- compartment
Id String - The OCID of the compartment associated with the compute target.
- compute
Targets List<Property Map> - The list of compute_targets.
- display
Name 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
- Compartment
Id string - Filter results by the OCID of the compartment.
- Compute
Configuration List<GetDetails Compute Targets Compute Target Compute Configuration Detail> - Configuration details of the targeted compute.
- Compute
Target List<GetSystem Datas Compute Targets Compute Target Compute Target System Data> - System data of the compute target.
- Created
By string - The OCID of the user who created the compute target.
- 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.
- Display
Name string - Filter results by its user-friendly name.
- 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.
- Lifecycle
Details 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.
- 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
- Compartment
Id string - Filter results by the OCID of the compartment.
- Compute
Configuration []GetDetails Compute Targets Compute Target Compute Configuration Detail - Configuration details of the targeted compute.
- Compute
Target []GetSystem Datas Compute Targets Compute Target Compute Target System Data - System data of the compute target.
- Created
By string - The OCID of the user who created the compute target.
- 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.
- Display
Name string - Filter results by its user-friendly name.
- 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.
- Lifecycle
Details 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.
- 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
- compartment_
id string - Filter results by the OCID of the compartment.
- compute_
configuration_ list(object)details - Configuration details of the targeted compute.
- compute_
target_ list(object)system_ datas - System data of the compute target.
- created_
by string - The OCID of the user who created the compute target.
- 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.
- 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
- compartment
Id String - Filter results by the OCID of the compartment.
- compute
Configuration List<GetDetails Compute Targets Compute Target Compute Configuration Detail> - Configuration details of the targeted compute.
- compute
Target List<GetSystem Datas Compute Targets Compute Target Compute Target System Data> - System data of the compute target.
- created
By String - The OCID of the user who created the compute target.
- 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.
- display
Name String - Filter results by its user-friendly name.
- 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.
- lifecycle
Details 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.
- 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
- compartment
Id string - Filter results by the OCID of the compartment.
- compute
Configuration GetDetails Compute Targets Compute Target Compute Configuration Detail[] - Configuration details of the targeted compute.
- compute
Target GetSystem Datas Compute Targets Compute Target Compute Target System Data[] - System data of the compute target.
- created
By string - The OCID of the user who created the compute target.
- {[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.
- display
Name string - Filter results by its user-friendly name.
- {[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.
- lifecycle
Details 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.
- 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
- compartment_
id str - Filter results by the OCID of the compartment.
- compute_
configuration_ Sequence[Getdetails Compute Targets Compute Target Compute Configuration Detail] - Configuration details of the targeted compute.
- compute_
target_ Sequence[Getsystem_ datas Compute Targets Compute Target Compute Target System Data] - System data of the compute target.
- created_
by str - The OCID of the user who created the compute target.
- 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.
- 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
- compartment
Id String - Filter results by the OCID of the compartment.
- compute
Configuration List<Property Map>Details - Configuration details of the targeted compute.
- compute
Target List<Property Map>System Datas - System data of the compute target.
- created
By String - The OCID of the user who created the compute target.
- 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.
- 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
GetComputeTargetsComputeTargetComputeConfigurationDetail
- Compute
Type string - Type of compute target.
- Instance
Configurations List<GetCompute Targets Compute Target Compute Configuration Detail Instance Configuration> - The compute target instance configuration details for managed compute cluster type compute target.
- Scaling
Policies List<GetCompute Targets Compute Target Compute Configuration Detail Scaling Policy> - The scaling policy to apply to managed compute cluster type compute target.
- Compute
Type string - Type of compute target.
- Instance
Configurations []GetCompute Targets Compute Target Compute Configuration Detail Instance Configuration - The compute target instance configuration details for managed compute cluster type compute target.
- Scaling
Policies []GetCompute Targets Compute Target Compute Configuration Detail Scaling Policy - 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.
- compute
Type String - Type of compute target.
- instance
Configurations List<GetCompute Targets Compute Target Compute Configuration Detail Instance Configuration> - The compute target instance configuration details for managed compute cluster type compute target.
- scaling
Policies List<GetCompute Targets Compute Target Compute Configuration Detail Scaling Policy> - The scaling policy to apply to managed compute cluster type compute target.
- compute
Type string - Type of compute target.
- instance
Configurations GetCompute Targets Compute Target Compute Configuration Detail Instance Configuration[] - The compute target instance configuration details for managed compute cluster type compute target.
- scaling
Policies GetCompute Targets Compute Target Compute Configuration Detail Scaling Policy[] - The scaling policy to apply to managed compute cluster type compute target.
- compute_
type str - Type of compute target.
- instance_
configurations Sequence[GetCompute Targets Compute Target Compute Configuration Detail Instance Configuration] - The compute target instance configuration details for managed compute cluster type compute target.
- scaling_
policies Sequence[GetCompute Targets Compute Target Compute Configuration Detail Scaling Policy] - The scaling policy to apply to managed compute cluster type compute target.
- compute
Type String - Type of compute target.
- instance
Configurations List<Property Map> - The compute target instance configuration details for managed compute cluster type compute target.
- scaling
Policies List<Property Map> - The scaling policy to apply to managed compute cluster type compute target.
GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfiguration
- Boot
Volume intSize In Gbs - 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 List<GetDetails Compute Targets Compute Target Compute Configuration Detail Instance Configuration Instance Shape Detail> - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
- Boot
Volume intSize In Gbs - 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 []GetDetails Compute Targets Compute Target Compute Configuration Detail Instance Configuration Instance Shape Detail - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
- boot_
volume_ numbersize_ in_ gbs - 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_ list(object)details - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
- boot
Volume IntegerSize In Gbs - 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 List<GetDetails Compute Targets Compute Target Compute Configuration Detail Instance Configuration Instance Shape Detail> - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
- boot
Volume numberSize In Gbs - 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 GetDetails Compute Targets Compute Target Compute Configuration Detail Instance Configuration Instance Shape Detail[] - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
- boot_
volume_ intsize_ in_ gbs - 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_ Sequence[Getdetails Compute Targets Compute Target Compute Configuration Detail Instance Configuration Instance Shape Detail] - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
- boot
Volume NumberSize In Gbs - 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 List<Property Map>Details - Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.
GetComputeTargetsComputeTargetComputeConfigurationDetailInstanceConfigurationInstanceShapeDetail
- Memory
In doubleGbs - The total amount of memory allocated to the instance, in gigabytes.
- Ocpus double
- The total number of OCPUs allocated to the instance.
- Memory
In float64Gbs - The total amount of memory allocated to the instance, in gigabytes.
- Ocpus float64
- The total number of OCPUs allocated to the instance.
- memory_
in_ numbergbs - The total amount of memory allocated to the instance, in gigabytes.
- ocpus number
- The total number of OCPUs allocated to the instance.
- memory
In DoubleGbs - The total amount of memory allocated to the instance, in gigabytes.
- ocpus Double
- The total number of OCPUs allocated to the instance.
- memory
In numberGbs - The total amount of memory allocated to the instance, in gigabytes.
- ocpus number
- The total number of OCPUs allocated to the instance.
- memory_
in_ floatgbs - The total amount of memory allocated to the instance, in gigabytes.
- ocpus float
- The total number of OCPUs allocated to the instance.
- memory
In NumberGbs - The total amount of memory allocated to the instance, in gigabytes.
- ocpus Number
- The total number of OCPUs allocated to the instance.
GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicy
- Auto
Scaling List<GetPolicies Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy> - The list of autoscaling policy details.
- Cool
Down intIn Seconds - 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 string - The type of scaling policy.
- Auto
Scaling []GetPolicies Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy - The list of autoscaling policy details.
- Cool
Down intIn Seconds - 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 string - The type of scaling policy.
- auto_
scaling_ list(object)policies - The list of autoscaling policy details.
- cool_
down_ numberin_ seconds - 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.
- auto
Scaling List<GetPolicies Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy> - The list of autoscaling policy details.
- cool
Down IntegerIn Seconds - 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 Integer - The number of instances for the managed compute cluster type compute target.
- is
Enabled Boolean - Whether the autoscaling policy is enabled.
- policy
Type String - The type of scaling policy.
- auto
Scaling GetPolicies Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy[] - The list of autoscaling policy details.
- cool
Down numberIn Seconds - 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 boolean - Whether the autoscaling policy is enabled.
- policy
Type string - The type of scaling policy.
- auto_
scaling_ Sequence[Getpolicies Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy] - The list of autoscaling policy details.
- cool_
down_ intin_ seconds - 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.
- auto
Scaling List<Property Map>Policies - The list of autoscaling policy details.
- cool
Down NumberIn Seconds - 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 Boolean - Whether the autoscaling policy is enabled.
- policy
Type String - The type of scaling policy.
GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicy
- Auto
Scaling stringPolicy Type - The type of autoscaling policy.
- Initial
Instance intCount - 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 intCount - 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 intCount - 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<Get
Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule> - The list of autoscaling policy rules.
- Auto
Scaling stringPolicy Type - The type of autoscaling policy.
- Initial
Instance intCount - 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 intCount - 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 intCount - 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
[]Get
Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule - The list of autoscaling policy rules.
- auto_
scaling_ stringpolicy_ type - The type of autoscaling policy.
- initial_
instance_ numbercount - 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_ numbercount - 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_ numbercount - 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.
- auto
Scaling StringPolicy Type - The type of autoscaling policy.
- initial
Instance IntegerCount - 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 IntegerCount - 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 IntegerCount - 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<Get
Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule> - The list of autoscaling policy rules.
- auto
Scaling stringPolicy Type - The type of autoscaling policy.
- initial
Instance numberCount - 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 numberCount - 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 numberCount - 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
Get
Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule[] - The list of autoscaling policy rules.
- auto_
scaling_ strpolicy_ type - The type of autoscaling policy.
- initial_
instance_ intcount - 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_ intcount - 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_ intcount - 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[Get
Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule] - The list of autoscaling policy rules.
- auto
Scaling StringPolicy Type - The type of autoscaling policy.
- initial
Instance NumberCount - 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 NumberCount - 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 NumberCount - 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
- Metric
Expression stringRule Type - 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 List<GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale In Configuration> - The scaling configuration for the predefined metric expression rule.
- Scale
Out List<GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale Out Configuration> - The scaling configuration for the predefined metric expression rule.
- Metric
Expression stringRule Type - 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 []GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale In Configuration - The scaling configuration for the predefined metric expression rule.
- Scale
Out []GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale Out Configuration - The scaling configuration for the predefined metric expression rule.
- metric_
expression_ stringrule_ type - 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_ list(object)configurations - The scaling configuration for the predefined metric expression rule.
- scale_
out_ list(object)configurations - The scaling configuration for the predefined metric expression rule.
- metric
Expression StringRule Type - 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 List<GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale In Configuration> - The scaling configuration for the predefined metric expression rule.
- scale
Out List<GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale Out Configuration> - The scaling configuration for the predefined metric expression rule.
- metric
Expression stringRule Type - 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 GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale In Configuration[] - The scaling configuration for the predefined metric expression rule.
- scale
Out GetConfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale Out Configuration[] - The scaling configuration for the predefined metric expression rule.
- metric_
expression_ strrule_ type - 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_ Sequence[Getconfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale In Configuration] - The scaling configuration for the predefined metric expression rule.
- scale_
out_ Sequence[Getconfigurations Compute Targets Compute Target Compute Configuration Detail Scaling Policy Auto Scaling Policy Rule Scale Out Configuration] - The scaling configuration for the predefined metric expression rule.
- metric
Expression StringRule Type - 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 List<Property Map>Configurations - The scaling configuration for the predefined metric expression rule.
- scale
Out List<Property Map>Configurations - The scaling configuration for the predefined metric expression rule.
GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleInConfiguration
- Instance
Count intAdjustment - 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 stringType - The type of scaling configuration.
- Threshold int
- A metric value at which the scaling operation will be triggered.
- Instance
Count intAdjustment - 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 stringType - The type of scaling configuration.
- Threshold int
- A metric value at which the scaling operation will be triggered.
- instance_
count_ numberadjustment - 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_ stringtype - The type of scaling configuration.
- threshold number
- A metric value at which the scaling operation will be triggered.
- instance
Count IntegerAdjustment - 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 StringType - The type of scaling configuration.
- threshold Integer
- A metric value at which the scaling operation will be triggered.
- instance
Count numberAdjustment - 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 stringType - The type of scaling configuration.
- threshold number
- A metric value at which the scaling operation will be triggered.
- instance_
count_ intadjustment - 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_ strtype - The type of scaling configuration.
- threshold int
- A metric value at which the scaling operation will be triggered.
- instance
Count NumberAdjustment - 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 StringType - The type of scaling configuration.
- threshold Number
- A metric value at which the scaling operation will be triggered.
GetComputeTargetsComputeTargetComputeConfigurationDetailScalingPolicyAutoScalingPolicyRuleScaleOutConfiguration
- Instance
Count intAdjustment - 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 stringType - The type of scaling configuration.
- Threshold int
- A metric value at which the scaling operation will be triggered.
- Instance
Count intAdjustment - 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 stringType - The type of scaling configuration.
- Threshold int
- A metric value at which the scaling operation will be triggered.
- instance_
count_ numberadjustment - 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_ stringtype - The type of scaling configuration.
- threshold number
- A metric value at which the scaling operation will be triggered.
- instance
Count IntegerAdjustment - 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 StringType - The type of scaling configuration.
- threshold Integer
- A metric value at which the scaling operation will be triggered.
- instance
Count numberAdjustment - 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 stringType - The type of scaling configuration.
- threshold number
- A metric value at which the scaling operation will be triggered.
- instance_
count_ intadjustment - 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_ strtype - The type of scaling configuration.
- threshold int
- A metric value at which the scaling operation will be triggered.
- instance
Count NumberAdjustment - 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 StringType - The type of scaling configuration.
- threshold Number
- A metric value at which the scaling operation will be triggered.
GetComputeTargetsComputeTargetComputeTargetSystemData
- Compute
Type string - Type of compute target.
- Current
Instance intCount - Current count of the instances in managed compute cluster type compute target.
- Compute
Type string - Type of compute target.
- Current
Instance intCount - Current count of the instances in managed compute cluster type compute target.
- compute_
type string - Type of compute target.
- current_
instance_ numbercount - Current count of the instances in managed compute cluster type compute target.
- compute
Type String - Type of compute target.
- current
Instance IntegerCount - Current count of the instances in managed compute cluster type compute target.
- compute
Type string - Type of compute target.
- current
Instance numberCount - Current count of the instances in managed compute cluster type compute target.
- compute_
type str - Type of compute target.
- current_
instance_ intcount - Current count of the instances in managed compute cluster type compute target.
- compute
Type String - Type of compute target.
- current
Instance NumberCount - Current count of the instances in managed compute cluster type compute target.
GetComputeTargetsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi
published on Thursday, May 28, 2026 by Pulumi