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 Fleet Errors in Oracle Cloud Infrastructure Jms service. * * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleetErrors = oci.jms.getFleetErrors({ * compartmentId: compartmentId, * compartmentIdInSubtree: fleetErrorCompartmentIdInSubtree === "true", * fleetId: testFleet.id, * timeFirstSeenGreaterThanOrEqualTo: fleetErrorTimeFirstSeenGreaterThanOrEqualTo, * timeFirstSeenLessThanOrEqualTo: fleetErrorTimeFirstSeenLessThanOrEqualTo, * timeLastSeenGreaterThanOrEqualTo: fleetErrorTimeLastSeenGreaterThanOrEqualTo, * timeLastSeenLessThanOrEqualTo: fleetErrorTimeLastSeenLessThanOrEqualTo, * }); * ``` */ export declare function getFleetErrors(args?: GetFleetErrorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFleetErrors. */ export interface GetFleetErrorsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. */ compartmentIdInSubtree?: boolean; filters?: inputs.Jms.GetFleetErrorsFilter[]; /** * The ID of the Fleet. */ fleetId?: string; /** * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). */ timeFirstSeenGreaterThanOrEqualTo?: string; /** * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). */ timeFirstSeenLessThanOrEqualTo?: string; /** * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). */ timeLastSeenGreaterThanOrEqualTo?: string; /** * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). */ timeLastSeenLessThanOrEqualTo?: string; } /** * A collection of values returned by getFleetErrors. */ export interface GetFleetErrorsResult { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.Jms.GetFleetErrorsFilter[]; /** * The list of fleet_error_collection. */ readonly fleetErrorCollections: outputs.Jms.GetFleetErrorsFleetErrorCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. */ readonly fleetId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly timeFirstSeenGreaterThanOrEqualTo?: string; readonly timeFirstSeenLessThanOrEqualTo?: string; readonly timeLastSeenGreaterThanOrEqualTo?: string; readonly timeLastSeenLessThanOrEqualTo?: string; } /** * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleetErrors = oci.jms.getFleetErrors({ * compartmentId: compartmentId, * compartmentIdInSubtree: fleetErrorCompartmentIdInSubtree === "true", * fleetId: testFleet.id, * timeFirstSeenGreaterThanOrEqualTo: fleetErrorTimeFirstSeenGreaterThanOrEqualTo, * timeFirstSeenLessThanOrEqualTo: fleetErrorTimeFirstSeenLessThanOrEqualTo, * timeLastSeenGreaterThanOrEqualTo: fleetErrorTimeLastSeenGreaterThanOrEqualTo, * timeLastSeenLessThanOrEqualTo: fleetErrorTimeLastSeenLessThanOrEqualTo, * }); * ``` */ export declare function getFleetErrorsOutput(args?: GetFleetErrorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFleetErrors. */ export interface GetFleetErrorsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. */ compartmentIdInSubtree?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The ID of the Fleet. */ fleetId?: pulumi.Input; /** * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). */ timeFirstSeenGreaterThanOrEqualTo?: pulumi.Input; /** * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). */ timeFirstSeenLessThanOrEqualTo?: pulumi.Input; /** * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). */ timeLastSeenGreaterThanOrEqualTo?: pulumi.Input; /** * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). */ timeLastSeenLessThanOrEqualTo?: pulumi.Input; } //# sourceMappingURL=getFleetErrors.d.ts.map