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 Exadata Insights in Oracle Cloud Infrastructure Opsi service. * * Gets a list of Exadata 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 Exadata 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 testExadataInsights = oci.opsi.getExadataInsights({ * compartmentId: compartmentId, * compartmentIdInSubtree: exadataInsightCompartmentIdInSubtree === "true", * enterpriseManagerBridgeId: testEnterpriseManagerBridge.id, * exadataTypes: exadataInsightExadataType, * id: exadataInsightId, * states: exadataInsightState, * statuses: exadataInsightStatus, * }); * ``` */ export declare function getExadataInsights(args?: GetExadataInsightsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExadataInsights. */ export interface GetExadataInsightsArgs { /** * 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; /** * Filter by one or more Exadata types. Possible value are DBMACHINE, EXACS, and EXACC. */ exadataTypes?: string[]; filters?: inputs.Opsi.GetExadataInsightsFilter[]; /** * Optional list of Exadata 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 getExadataInsights. */ export interface GetExadataInsightsResult { /** * Compartment identifier of the Exadata insight resource */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; /** * OPSI Enterprise Manager Bridge OCID */ readonly enterpriseManagerBridgeId?: string; /** * The list of exadata_insight_summary_collection. */ readonly exadataInsightSummaryCollections: outputs.Opsi.GetExadataInsightsExadataInsightSummaryCollection[]; /** * Operations Insights internal representation of the the Exadata system type. */ readonly exadataTypes?: string[]; readonly filters?: outputs.Opsi.GetExadataInsightsFilter[]; /** * Exadata insight identifier */ readonly id?: string; /** * The current state of the Exadata insight. */ readonly states?: string[]; /** * Indicates the status of an Exadata insight in Operations Insights */ readonly statuses?: string[]; } /** * This data source provides the list of Exadata Insights in Oracle Cloud Infrastructure Opsi service. * * Gets a list of Exadata 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 Exadata 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 testExadataInsights = oci.opsi.getExadataInsights({ * compartmentId: compartmentId, * compartmentIdInSubtree: exadataInsightCompartmentIdInSubtree === "true", * enterpriseManagerBridgeId: testEnterpriseManagerBridge.id, * exadataTypes: exadataInsightExadataType, * id: exadataInsightId, * states: exadataInsightState, * statuses: exadataInsightStatus, * }); * ``` */ export declare function getExadataInsightsOutput(args?: GetExadataInsightsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExadataInsights. */ export interface GetExadataInsightsOutputArgs { /** * 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; /** * Filter by one or more Exadata types. Possible value are DBMACHINE, EXACS, and EXACC. */ exadataTypes?: pulumi.Input[] | undefined>; filters?: pulumi.Input[] | undefined>; /** * Optional list of Exadata 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=getExadataInsights.d.ts.map