import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class FleetsV2 extends ClientSDK { /** * GetNodeShapes */ getNodeShapes(orgId?: string | undefined, options?: RequestOptions): Promise>; /** * GetFleets * * @remarks * Returns an array of [fleets](https://hathora.dev/docs/concepts/hathora-entities#fleet). */ getFleets(orgId?: string | undefined, options?: RequestOptions): Promise; /** * CreateFleet */ createFleet(createFleetV2: components.CreateFleetV2, orgId?: string | undefined, options?: RequestOptions): Promise; /** * GetFleet * * @remarks * Returns a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet). */ getFleet(fleetId: string, orgId?: string | undefined, options?: RequestOptions): Promise; /** * UpdateFleet * * @remarks * Updates a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet)'s configuration. */ updateFleet(fleetId: string, updateFleetV2: components.UpdateFleetV2, orgId?: string | undefined, options?: RequestOptions): Promise; /** * GetFleetRegion * * @remarks * Gets the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. */ getFleetRegion(fleetId: string, region: components.Region, orgId?: string | undefined, options?: RequestOptions): Promise; /** * DeprecatedUpdateFleetRegionV2 * * @remarks * Updates the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ deprecatedUpdateFleetRegionV2(fleetId: string, region: components.Region, fleetRegionConfig: components.FleetRegionConfig, orgId?: string | undefined, options?: RequestOptions): Promise; /** * UpdateFleetRegion * * @remarks * Updates the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. */ updateFleetRegion(fleetId: string, region: components.Region, fleetRegionConfigV2: components.FleetRegionConfigV2, orgId?: string | undefined, options?: RequestOptions): Promise; /** * GetFleetMetrics * * @remarks * Gets aggregate metrics for a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet). */ getFleetMetrics(request: operations.GetFleetMetricsRequest, options?: RequestOptions): Promise; /** * GetFleetRegionMetrics * * @remarks * Gets metrics for a region in a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet). */ getFleetRegionMetrics(request: operations.GetFleetRegionMetricsRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=fleetsv2.d.ts.map