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 Fleet Apps Management service. * * Returns a list of all the Fleets in the specified 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.fleetappsmanagement.getFleets({ * applicationType: fleetApplicationType, * compartmentId: compartmentId, * displayName: fleetDisplayName, * environmentType: fleetEnvironmentType, * fleetType: fleetFleetType, * id: fleetId, * product: fleetProduct, * state: fleetState, * }); * ``` */ export declare function getFleets(args?: GetFleetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFleets. */ export interface GetFleetsArgs { /** * A filter to return resources that match the Application Type/Product Stack given.. */ applicationType?: string; /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; /** * A filter to return resources that match the Environment Type given. */ environmentType?: string; filters?: inputs.FleetAppsManagement.GetFleetsFilter[]; /** * A filter to return fleets whose fleetType matches the given fleetType. */ fleetType?: string; /** * Unique identifier or OCID for listing a single fleet by id. Either compartmentId or id must be provided. */ id?: string; /** * A filter to return resources that match the Product/Product Stack given. */ product?: string; /** * A filter to return fleets whose lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getFleets. */ export interface GetFleetsResult { readonly applicationType?: string; /** * Compartment Identifier[OCID]. */ readonly compartmentId?: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName?: string; /** * Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types. */ readonly environmentType?: string; readonly filters?: outputs.FleetAppsManagement.GetFleetsFilter[]; /** * The list of fleet_collection. */ readonly fleetCollections: outputs.FleetAppsManagement.GetFleetsFleetCollection[]; /** * Type of the Fleet. PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes */ readonly fleetType?: string; /** * The OCID of the resource. */ readonly id?: string; readonly product?: string; /** * The lifecycle state of the Fleet. */ readonly state?: string; } /** * This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Fleets in the specified 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.fleetappsmanagement.getFleets({ * applicationType: fleetApplicationType, * compartmentId: compartmentId, * displayName: fleetDisplayName, * environmentType: fleetEnvironmentType, * fleetType: fleetFleetType, * id: fleetId, * product: fleetProduct, * state: fleetState, * }); * ``` */ export declare function getFleetsOutput(args?: GetFleetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFleets. */ export interface GetFleetsOutputArgs { /** * A filter to return resources that match the Application Type/Product Stack given.. */ applicationType?: pulumi.Input; /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; /** * A filter to return resources that match the Environment Type given. */ environmentType?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return fleets whose fleetType matches the given fleetType. */ fleetType?: pulumi.Input; /** * Unique identifier or OCID for listing a single fleet by id. Either compartmentId or id must be provided. */ id?: pulumi.Input; /** * A filter to return resources that match the Product/Product Stack given. */ product?: pulumi.Input; /** * A filter to return fleets whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getFleets.d.ts.map