1. Packages
  2. Equinix
  3. API Docs
  4. metal
  5. getSpotMarketRequest
Equinix v0.19.0 published on Thursday, Oct 24, 2024 by Equinix

equinix.metal.getSpotMarketRequest

Explore with Pulumi AI

equinix logo
Equinix v0.19.0 published on Thursday, Oct 24, 2024 by Equinix

    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:

    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>
    (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

    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
    (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

    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>
    (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

    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[]
    (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

    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]
    (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

    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>
    (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

    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 equinix/pulumi-equinix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the equinix Terraform Provider.
    equinix logo
    Equinix v0.19.0 published on Thursday, Oct 24, 2024 by Equinix