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 Fleets in Oracle Cloud Infrastructure Jms service. * * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` * is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleets = oci.jms.getFleets({ * compartmentId: compartmentId, * displayName: fleetDisplayName, * displayNameContains: fleetDisplayNameContains, * id: fleetId, * state: fleetState, * }); * ``` */ export declare function getFleets(args?: GetFleetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFleets. */ export interface GetFleetsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * The display name. */ displayName?: string; /** * Filter the list with displayName contains the given value. */ displayNameContains?: string; filters?: inputs.Jms.GetFleetsFilter[]; /** * The ID. */ id?: string; /** * The state of the lifecycle. */ state?: string; } /** * A collection of values returned by getFleets. */ export interface GetFleetsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. */ readonly compartmentId?: string; /** * The name of the Fleet. */ readonly displayName?: string; readonly displayNameContains?: string; readonly filters?: outputs.Jms.GetFleetsFilter[]; /** * The list of fleet_collection. */ readonly fleetCollections: outputs.Jms.GetFleetsFleetCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. */ readonly id?: string; /** * The lifecycle state of the Fleet. */ readonly state?: string; } /** * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. * * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` * is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleets = oci.jms.getFleets({ * compartmentId: compartmentId, * displayName: fleetDisplayName, * displayNameContains: fleetDisplayNameContains, * id: fleetId, * state: fleetState, * }); * ``` */ export declare function getFleetsOutput(args?: GetFleetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFleets. */ export interface GetFleetsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * The display name. */ displayName?: pulumi.Input; /** * Filter the list with displayName contains the given value. */ displayNameContains?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The ID. */ id?: pulumi.Input; /** * The state of the lifecycle. */ state?: pulumi.Input; } //# sourceMappingURL=getFleets.d.ts.map