import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list of Importable Compute Entities in Oracle Cloud Infrastructure Opsi service. * * Gets a list of available compute intances running cloud agent to add a new hostInsight. An Compute entity is "available" * and will be shown if all the following conditions are true: * 1. Compute is running OCA * 2. Oracle Cloud Infrastructure Management Agent is not enabled or If Oracle Cloud Infrastructure Management Agent is enabled * 2.1 The agent OCID is not already being used for an existing hostInsight. * 2.2 The agent availabilityStatus = 'ACTIVE' * 2.3 The agent lifecycleState = 'ACTIVE' * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testImportableComputeEntities = oci.opsi.getImportableComputeEntities({ * compartmentId: compartmentId, * }); * ``` */ export declare function getImportableComputeEntities(args: GetImportableComputeEntitiesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getImportableComputeEntities. */ export interface GetImportableComputeEntitiesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; } /** * A collection of values returned by getImportableComputeEntities. */ export interface GetImportableComputeEntitiesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Array of importable compute entity objects. */ readonly items: outputs.Opsi.GetImportableComputeEntitiesItem[]; } /** * This data source provides the list of Importable Compute Entities in Oracle Cloud Infrastructure Opsi service. * * Gets a list of available compute intances running cloud agent to add a new hostInsight. An Compute entity is "available" * and will be shown if all the following conditions are true: * 1. Compute is running OCA * 2. Oracle Cloud Infrastructure Management Agent is not enabled or If Oracle Cloud Infrastructure Management Agent is enabled * 2.1 The agent OCID is not already being used for an existing hostInsight. * 2.2 The agent availabilityStatus = 'ACTIVE' * 2.3 The agent lifecycleState = 'ACTIVE' * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testImportableComputeEntities = oci.opsi.getImportableComputeEntities({ * compartmentId: compartmentId, * }); * ``` */ export declare function getImportableComputeEntitiesOutput(args: GetImportableComputeEntitiesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getImportableComputeEntities. */ export interface GetImportableComputeEntitiesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; } //# sourceMappingURL=getImportableComputeEntities.d.ts.map