import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Exadata Infrastructure Fleet Metric resource in Oracle Cloud Infrastructure Database Management service. * * Gets the health metrics for a fleet of Exadata infrastructure in a compartment. * The CompartmentId query parameters must be provided to retrieve the health metrics. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExadataInfrastructureFleetMetric = oci.databasemanagement.getExadataInfrastructureFleetMetric({ * compareBaselineTime: exadataInfrastructureFleetMetricCompareBaselineTime, * compareTargetTime: exadataInfrastructureFleetMetricCompareTargetTime, * compartmentId: compartmentId, * compareType: exadataInfrastructureFleetMetricCompareType, * filterByExadataInfrastructureDeploymentType: exadataInfrastructureFleetMetricFilterByExadataInfrastructureDeploymentType, * filterByExadataInfrastructureLifecycleState: exadataInfrastructureFleetMetricFilterByExadataInfrastructureLifecycleState, * }); * ``` */ export declare function getExadataInfrastructureFleetMetric(args: GetExadataInfrastructureFleetMetricArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExadataInfrastructureFleetMetric. */ export interface GetExadataInfrastructureFleetMetricArgs { /** * The baseline time for metrics comparison. */ compareBaselineTime: string; /** * The target time for metrics comparison. */ compareTargetTime: string; /** * The time window used for metrics comparison. */ compareType?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * The filter used to filter the Exadata infrastructures in the fleet by a specific deployment type. */ filterByExadataInfrastructureDeploymentType?: string; /** * The filter used to filter the Exadata infrastructure in the fleet by its lifecycle state. If the parameter is not provided, Exdata infrastructures in any state are returned. */ filterByExadataInfrastructureLifecycleState?: string; } /** * A collection of values returned by getExadataInfrastructureFleetMetric. */ export interface GetExadataInfrastructureFleetMetricResult { /** * The baseline date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". This is the date and time against which percentage change is calculated. */ readonly compareBaselineTime: string; /** * The target date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". All the metrics are returned for the target date and time and the percentage change is calculated against the baseline date and time. */ readonly compareTargetTime: string; /** * The time window used for metrics comparison. */ readonly compareType?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Exadata infrastructure resides. */ readonly compartmentId: string; /** * A summary of the inventory count grouped by Exadata infrastructure deployment type, and the metrics that describe the aggregated usage of CPU, storage, and so on of all Exadata infrastructures in the fleet. */ readonly exadataInfrastructureFleetSummaries: outputs.DatabaseManagement.GetExadataInfrastructureFleetMetricExadataInfrastructureFleetSummary[]; readonly filterByExadataInfrastructureDeploymentType?: string; readonly filterByExadataInfrastructureLifecycleState?: string; /** * A list of the Exadata infrastructures present in the fleet and their usage metrics. */ readonly fleetExadataInfrastructures: outputs.DatabaseManagement.GetExadataInfrastructureFleetMetricFleetExadataInfrastructure[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides details about a specific Exadata Infrastructure Fleet Metric resource in Oracle Cloud Infrastructure Database Management service. * * Gets the health metrics for a fleet of Exadata infrastructure in a compartment. * The CompartmentId query parameters must be provided to retrieve the health metrics. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExadataInfrastructureFleetMetric = oci.databasemanagement.getExadataInfrastructureFleetMetric({ * compareBaselineTime: exadataInfrastructureFleetMetricCompareBaselineTime, * compareTargetTime: exadataInfrastructureFleetMetricCompareTargetTime, * compartmentId: compartmentId, * compareType: exadataInfrastructureFleetMetricCompareType, * filterByExadataInfrastructureDeploymentType: exadataInfrastructureFleetMetricFilterByExadataInfrastructureDeploymentType, * filterByExadataInfrastructureLifecycleState: exadataInfrastructureFleetMetricFilterByExadataInfrastructureLifecycleState, * }); * ``` */ export declare function getExadataInfrastructureFleetMetricOutput(args: GetExadataInfrastructureFleetMetricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExadataInfrastructureFleetMetric. */ export interface GetExadataInfrastructureFleetMetricOutputArgs { /** * The baseline time for metrics comparison. */ compareBaselineTime: pulumi.Input; /** * The target time for metrics comparison. */ compareTargetTime: pulumi.Input; /** * The time window used for metrics comparison. */ compareType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The filter used to filter the Exadata infrastructures in the fleet by a specific deployment type. */ filterByExadataInfrastructureDeploymentType?: pulumi.Input; /** * The filter used to filter the Exadata infrastructure in the fleet by its lifecycle state. If the parameter is not provided, Exdata infrastructures in any state are returned. */ filterByExadataInfrastructureLifecycleState?: pulumi.Input; } //# sourceMappingURL=getExadataInfrastructureFleetMetric.d.ts.map