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 Awr Hubs in Oracle Cloud Infrastructure Opsi service. * * Gets a list of AWR hubs. Either compartmentId or id must be specified. All these resources are expected to be in root compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAwrHubs = oci.opsi.getAwrHubs({ * operationsInsightsWarehouseId: testOperationsInsightsWarehouse.id, * compartmentId: compartmentId, * displayName: awrHubDisplayName, * id: awrHubId, * states: awrHubState, * }); * ``` */ export declare function getAwrHubs(args: GetAwrHubsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAwrHubs. */ export interface GetAwrHubsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name. */ displayName?: string; filters?: inputs.Opsi.GetAwrHubsFilter[]; /** * Unique Awr Hub identifier */ id?: string; /** * Unique Operations Insights Warehouse identifier */ operationsInsightsWarehouseId: string; /** * Lifecycle states */ states?: string[]; } /** * A collection of values returned by getAwrHubs. */ export interface GetAwrHubsResult { /** * The list of awr_hub_summary_collection. */ readonly awrHubSummaryCollections: outputs.Opsi.GetAwrHubsAwrHubSummaryCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; /** * User-friedly name of AWR Hub that does not have to be unique. */ readonly displayName?: string; readonly filters?: outputs.Opsi.GetAwrHubsFilter[]; /** * AWR Hub OCID */ readonly id?: string; /** * OPSI Warehouse OCID */ readonly operationsInsightsWarehouseId: string; /** * Possible lifecycle states */ readonly states?: string[]; } /** * This data source provides the list of Awr Hubs in Oracle Cloud Infrastructure Opsi service. * * Gets a list of AWR hubs. Either compartmentId or id must be specified. All these resources are expected to be in root compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAwrHubs = oci.opsi.getAwrHubs({ * operationsInsightsWarehouseId: testOperationsInsightsWarehouse.id, * compartmentId: compartmentId, * displayName: awrHubDisplayName, * id: awrHubId, * states: awrHubState, * }); * ``` */ export declare function getAwrHubsOutput(args: GetAwrHubsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAwrHubs. */ export interface GetAwrHubsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique Awr Hub identifier */ id?: pulumi.Input; /** * Unique Operations Insights Warehouse identifier */ operationsInsightsWarehouseId: pulumi.Input; /** * Lifecycle states */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getAwrHubs.d.ts.map