Equinix v0.18.0 published on Monday, Sep 23, 2024 by Equinix
equinix.metal.getSpotMarketRequest
Explore with Pulumi AI
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/getSpotMarketRequest:getSpotMarketRequest
arguments:
# arguments dictionary
The following arguments are supported:
- Request
Id string - The id of the Spot Market Request.
- Request
Id string - The id of the Spot Market Request.
- request
Id String - The id of the Spot Market Request.
- request
Id string - The id of the Spot Market Request.
- request_
id str - The id of the Spot Market Request.
- request
Id String - The id of the Spot Market Request.
getSpotMarketRequest Result
The following output properties are available:
- Device
Ids List<string> - 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 string - Date and time When the spot market request will be ended.
- Facilities List<string>
- (Deprecated) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Bid doublePrice - 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.
- Project
Id string - Project ID.
- Request
Id string
- Device
Ids []string - 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 string - Date and time When the spot market request will be ended.
- Facilities []string
- (Deprecated) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Bid float64Price - 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.
- Project
Id string - Project ID.
- Request
Id string
- device
Ids List<String> - List of IDs of devices spawned by the referenced Spot Market Request.
- devices
Max Integer - Maximum number devices to be created.
- devices
Min Integer - Miniumum number devices to be created.
- end
At String - Date and time When the spot market request will be ended.
- facilities List<String>
- (Deprecated) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide
- id String
- The provider-assigned unique ID for this managed resource.
- max
Bid DoublePrice - 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.
- project
Id String - Project ID.
- request
Id String
- device
Ids string[] - List of IDs of devices spawned by the referenced Spot Market Request.
- devices
Max number - Maximum number devices to be created.
- devices
Min number - Miniumum number devices to be created.
- end
At string - Date and time When the spot market request will be ended.
- facilities string[]
- (Deprecated) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide
- id string
- The provider-assigned unique ID for this managed resource.
- max
Bid numberPrice - 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.
- project
Id string - Project ID.
- request
Id 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]
- (Deprecated) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide
- id str
- The provider-assigned unique ID for this managed resource.
- max_
bid_ floatprice - 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
- device
Ids List<String> - List of IDs of devices spawned by the referenced Spot Market Request.
- devices
Max Number - Maximum number devices to be created.
- devices
Min Number - Miniumum number devices to be created.
- end
At String - Date and time When the spot market request will be ended.
- facilities List<String>
- (Deprecated) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide
- id String
- The provider-assigned unique ID for this managed resource.
- max
Bid NumberPrice - 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.
- project
Id String - Project ID.
- request
Id String
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinix
Terraform Provider.