import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * 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, * }); * ``` */ export declare function getComputeTargets(args: GetComputeTargetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getComputeTargets. */ export interface GetComputeTargetsArgs { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * Filter results by its user-friendly name. */ displayName?: string; filters?: inputs.DataScience.GetComputeTargetsFilter[]; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: string; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: string; } /** * A collection of values returned by getComputeTargets. */ export interface GetComputeTargetsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment associated with the compute target. */ readonly compartmentId: string; /** * The list of compute_targets. */ readonly computeTargets: outputs.DataScience.GetComputeTargetsComputeTarget[]; /** * A user-friendly display name for the resource. */ readonly displayName?: string; readonly filters?: outputs.DataScience.GetComputeTargetsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute target. */ readonly id?: string; /** * The state of the compute target. */ readonly state?: string; } /** * 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 * * ```typescript * 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, * }); * ``` */ export declare function getComputeTargetsOutput(args: GetComputeTargetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getComputeTargets. */ export interface GetComputeTargetsOutputArgs { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * Filter results by its user-friendly name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: pulumi.Input; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: pulumi.Input; } //# sourceMappingURL=getComputeTargets.d.ts.map