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 Host Insights in Oracle Cloud Infrastructure Opsi service. * * Gets a list of host insights based on the query parameters specified. Either compartmentId or id query parameter must be specified. * When both compartmentId and compartmentIdInSubtree are specified, a list of host insights in that compartment and in all sub-compartments will be returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostInsights = oci.opsi.getHostInsights({ * compartmentId: compartmentId, * compartmentIdInSubtree: hostInsightCompartmentIdInSubtree === "true", * enterpriseManagerBridgeId: testEnterpriseManagerBridge.id, * exadataInsightId: testExadataInsight.id, * hostTypes: hostInsightHostType, * id: hostInsightId, * states: hostInsightState, * statuses: hostInsightStatus, * }); * ``` */ export declare function getHostInsights(args?: GetHostInsightsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostInsights. */ export interface GetHostInsightsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A flag to search all resources within a given compartment and all sub-compartments. */ compartmentIdInSubtree?: boolean; /** * Unique Enterprise Manager bridge identifier */ enterpriseManagerBridgeId?: string; /** * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource. */ exadataInsightId?: string; filters?: inputs.Opsi.GetHostInsightsFilter[]; /** * Filter by one or more host types. Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST, COMANAGED-EXACC-HOST */ hostTypes?: string[]; /** * Optional list of host insight resource [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ id?: string; /** * Lifecycle states */ states?: string[]; /** * Resource Status */ statuses?: string[]; } /** * A collection of values returned by getHostInsights. */ export interface GetHostInsightsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; /** * OPSI Enterprise Manager Bridge OCID */ readonly enterpriseManagerBridgeId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight. */ readonly exadataInsightId?: string; readonly filters?: outputs.Opsi.GetHostInsightsFilter[]; /** * The list of host_insight_summary_collection. */ readonly hostInsightSummaryCollections: outputs.Opsi.GetHostInsightsHostInsightSummaryCollection[]; /** * Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. */ readonly hostTypes?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. */ readonly id?: string; /** * The current state of the host. */ readonly states?: string[]; /** * Indicates the status of a host insight in Operations Insights */ readonly statuses?: string[]; } /** * This data source provides the list of Host Insights in Oracle Cloud Infrastructure Opsi service. * * Gets a list of host insights based on the query parameters specified. Either compartmentId or id query parameter must be specified. * When both compartmentId and compartmentIdInSubtree are specified, a list of host insights in that compartment and in all sub-compartments will be returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostInsights = oci.opsi.getHostInsights({ * compartmentId: compartmentId, * compartmentIdInSubtree: hostInsightCompartmentIdInSubtree === "true", * enterpriseManagerBridgeId: testEnterpriseManagerBridge.id, * exadataInsightId: testExadataInsight.id, * hostTypes: hostInsightHostType, * id: hostInsightId, * states: hostInsightState, * statuses: hostInsightStatus, * }); * ``` */ export declare function getHostInsightsOutput(args?: GetHostInsightsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostInsights. */ export interface GetHostInsightsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A flag to search all resources within a given compartment and all sub-compartments. */ compartmentIdInSubtree?: pulumi.Input; /** * Unique Enterprise Manager bridge identifier */ enterpriseManagerBridgeId?: pulumi.Input; /** * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource. */ exadataInsightId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter by one or more host types. Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST, COMANAGED-EXACC-HOST */ hostTypes?: pulumi.Input[] | undefined>; /** * Optional list of host insight resource [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ id?: pulumi.Input; /** * Lifecycle states */ states?: pulumi.Input[] | undefined>; /** * Resource Status */ statuses?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getHostInsights.d.ts.map