1. Packages
  2. Equinix Metal (Deprecated)
  3. API Docs
  4. getSpotMarketRequest

This package is deprecated. We recommend using the new Equinix package.

Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED

equinix-metal.getSpotMarketRequest

Explore with Pulumi AI

equinix-metal logo

This package is deprecated. We recommend using the new Equinix package.

Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED

    Using getSpotMarketRequest

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSpotMarketRequest(args: GetSpotMarketRequestArgs, opts?: InvokeOptions): Promise<GetSpotMarketRequestResult>
    function getSpotMarketRequestOutput(args: GetSpotMarketRequestOutputArgs, opts?: InvokeOptions): Output<GetSpotMarketRequestResult>
    def get_spot_market_request(request_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSpotMarketRequestResult
    def get_spot_market_request_output(request_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSpotMarketRequestResult]
    func LookupSpotMarketRequest(ctx *Context, args *LookupSpotMarketRequestArgs, opts ...InvokeOption) (*LookupSpotMarketRequestResult, error)
    func LookupSpotMarketRequestOutput(ctx *Context, args *LookupSpotMarketRequestOutputArgs, opts ...InvokeOption) LookupSpotMarketRequestResultOutput

    > Note: This function is named LookupSpotMarketRequest in the Go SDK.

    public static class GetSpotMarketRequest 
    {
        public static Task<GetSpotMarketRequestResult> InvokeAsync(GetSpotMarketRequestArgs args, InvokeOptions? opts = null)
        public static Output<GetSpotMarketRequestResult> Invoke(GetSpotMarketRequestInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSpotMarketRequestResult> getSpotMarketRequest(GetSpotMarketRequestArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: equinix-metal:index/getSpotMarketRequest:getSpotMarketRequest
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RequestId string
    The id of the Spot Market Request
    RequestId string
    The id of the Spot Market Request
    requestId String
    The id of the Spot Market Request
    requestId string
    The id of the Spot Market Request
    request_id str
    The id of the Spot Market Request
    requestId String
    The id of the Spot Market Request

    getSpotMarketRequest Result

    The following output properties are available:

    DeviceIds List<string>
    List of IDs of devices spawned by the referenced Spot Market Request
    DevicesMax int
    Maximum number devices to be created
    DevicesMin int
    Miniumum number devices to be created
    EndAt string
    Date and time When the spot market request will be ended.
    Facilities List<string>
    Facility IDs where devices should be created
    Id string
    The provider-assigned unique ID for this managed resource.
    MaxBidPrice double
    Maximum price user is willing to pay per hour per device
    Metro string
    Metro where devices should be created.
    Plan string
    The device plan slug.
    ProjectId string
    Project ID
    RequestId string
    DeviceIds []string
    List of IDs of devices spawned by the referenced Spot Market Request
    DevicesMax int
    Maximum number devices to be created
    DevicesMin int
    Miniumum number devices to be created
    EndAt string
    Date and time When the spot market request will be ended.
    Facilities []string
    Facility IDs where devices should be created
    Id string
    The provider-assigned unique ID for this managed resource.
    MaxBidPrice float64
    Maximum price user is willing to pay per hour per device
    Metro string
    Metro where devices should be created.
    Plan string
    The device plan slug.
    ProjectId string
    Project ID
    RequestId string
    deviceIds List<String>
    List of IDs of devices spawned by the referenced Spot Market Request
    devicesMax Integer
    Maximum number devices to be created
    devicesMin Integer
    Miniumum number devices to be created
    endAt String
    Date and time When the spot market request will be ended.
    facilities List<String>
    Facility IDs where devices should be created
    id String
    The provider-assigned unique ID for this managed resource.
    maxBidPrice Double
    Maximum price user is willing to pay per hour per device
    metro String
    Metro where devices should be created.
    plan String
    The device plan slug.
    projectId String
    Project ID
    requestId String
    deviceIds string[]
    List of IDs of devices spawned by the referenced Spot Market Request
    devicesMax number
    Maximum number devices to be created
    devicesMin number
    Miniumum number devices to be created
    endAt string
    Date and time When the spot market request will be ended.
    facilities string[]
    Facility IDs where devices should be created
    id string
    The provider-assigned unique ID for this managed resource.
    maxBidPrice number
    Maximum price user is willing to pay per hour per device
    metro string
    Metro where devices should be created.
    plan string
    The device plan slug.
    projectId string
    Project ID
    requestId string
    device_ids Sequence[str]
    List of IDs of devices spawned by the referenced Spot Market Request
    devices_max int
    Maximum number devices to be created
    devices_min int
    Miniumum number devices to be created
    end_at str
    Date and time When the spot market request will be ended.
    facilities Sequence[str]
    Facility IDs where devices should be created
    id str
    The provider-assigned unique ID for this managed resource.
    max_bid_price float
    Maximum price user is willing to pay per hour per device
    metro str
    Metro where devices should be created.
    plan str
    The device plan slug.
    project_id str
    Project ID
    request_id str
    deviceIds List<String>
    List of IDs of devices spawned by the referenced Spot Market Request
    devicesMax Number
    Maximum number devices to be created
    devicesMin Number
    Miniumum number devices to be created
    endAt String
    Date and time When the spot market request will be ended.
    facilities List<String>
    Facility IDs where devices should be created
    id String
    The provider-assigned unique ID for this managed resource.
    maxBidPrice Number
    Maximum price user is willing to pay per hour per device
    metro String
    Metro where devices should be created.
    plan String
    The device plan slug.
    projectId String
    Project ID
    requestId String

    Package Details

    Repository
    Equinix Metal pulumi/pulumi-equinix-metal
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the metal Terraform Provider.
    equinix-metal logo

    This package is deprecated. We recommend using the new Equinix package.

    Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED