UNPKG

@equinix-labs/pulumi-equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

70 lines (69 loc) 2.21 kB
import * as pulumi from "@pulumi/pulumi"; export declare function getSpotMarketRequest(args: GetSpotMarketRequestArgs, opts?: pulumi.InvokeOptions): Promise<GetSpotMarketRequestResult>; /** * A collection of arguments for invoking getSpotMarketRequest. */ export interface GetSpotMarketRequestArgs { /** * The id of the Spot Market Request. */ requestId: string; } /** * A collection of values returned by getSpotMarketRequest. */ export interface GetSpotMarketRequestResult { /** * List of IDs of devices spawned by the referenced Spot Market Request. */ readonly deviceIds: string[]; /** * Maximum number devices to be created. */ readonly devicesMax: number; /** * Miniumum number devices to be created. */ readonly devicesMin: number; /** * Date and time When the spot market request will be ended. */ readonly endAt: string; /** * (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ readonly facilities: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Maximum price user is willing to pay per hour per device. */ readonly maxBidPrice: number; /** * Metro where devices should be created. */ readonly metro: string; /** * The device plan slug. */ readonly plan: string; /** * Project ID. */ readonly projectId: string; readonly requestId: string; } export declare function getSpotMarketRequestOutput(args: GetSpotMarketRequestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSpotMarketRequestResult>; /** * A collection of arguments for invoking getSpotMarketRequest. */ export interface GetSpotMarketRequestOutputArgs { /** * The id of the Spot Market Request. */ requestId: pulumi.Input<string>; }