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