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

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>
Copy
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]
Copy
func LookupSpotMarketRequest(ctx *Context, args *LookupSpotMarketRequestArgs, opts ...InvokeOption) (*LookupSpotMarketRequestResult, error)
func LookupSpotMarketRequestOutput(ctx *Context, args *LookupSpotMarketRequestOutputArgs, opts ...InvokeOption) LookupSpotMarketRequestResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSpotMarketRequestResult> getSpotMarketRequest(GetSpotMarketRequestArgs args, InvokeOptions options)
public static Output<GetSpotMarketRequestResult> getSpotMarketRequest(GetSpotMarketRequestArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: equinix-metal:index/getSpotMarketRequest:getSpotMarketRequest
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RequestId This property is required. string
The id of the Spot Market Request
RequestId This property is required. string
The id of the Spot Market Request
requestId This property is required. String
The id of the Spot Market Request
requestId This property is required. string
The id of the Spot Market Request
request_id This property is required. str
The id of the Spot Market Request
requestId This property is required. 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.

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

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