import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the details of a fleet. */ export declare function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetFleetArgs { fleetId: string; location: string; project?: string; } export interface GetFleetResult { /** * When the Fleet was created. */ readonly createTime: string; /** * Optional. The default cluster configurations to apply across the fleet. */ readonly defaultClusterConfig: outputs.gkehub.v1.DefaultClusterConfigResponse; /** * When the Fleet was deleted. */ readonly deleteTime: string; /** * Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet` */ readonly displayName: string; /** * Optional. Labels for this Fleet. */ readonly labels: { [key: string]: string; }; /** * The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named "default". */ readonly name: string; /** * State of the namespace resource. */ readonly state: outputs.gkehub.v1.FleetLifecycleStateResponse; /** * Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid. */ readonly uid: string; /** * When the Fleet was last updated. */ readonly updateTime: string; } /** * Returns the details of a fleet. */ export declare function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetFleetOutputArgs { fleetId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }