SpotMarketRequest

Provides a Packet Spot Market Request resource to allow you to manage spot market requests on your account. For more detail on Spot Market, see this article in Packet documentaion.

Create a SpotMarketRequest Resource

def SpotMarketRequest(resource_name, opts=None, devices_max=None, devices_min=None, facilities=None, instance_parameters=None, max_bid_price=None, project_id=None, wait_for_devices=None, __props__=None);
name string
The unique name of the resource.
args SpotMarketRequestArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SpotMarketRequestArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SpotMarketRequestArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SpotMarketRequest Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SpotMarketRequest resource accepts the following input properties:

DevicesMax int

Maximum number devices to be created

DevicesMin int

Miniumum number devices to be created

Facilities List<string>

Facility IDs where devices should be created

InstanceParameters SpotMarketRequestInstanceParametersArgs

Device parameters. See device resource for details

MaxBidPrice double

Maximum price user is willing to pay per hour per device

ProjectId string

Project ID

WaitForDevices bool

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

DevicesMax int

Maximum number devices to be created

DevicesMin int

Miniumum number devices to be created

Facilities []string

Facility IDs where devices should be created

InstanceParameters SpotMarketRequestInstanceParameters

Device parameters. See device resource for details

MaxBidPrice float64

Maximum price user is willing to pay per hour per device

ProjectId string

Project ID

WaitForDevices bool

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

devicesMax number

Maximum number devices to be created

devicesMin number

Miniumum number devices to be created

facilities string[]

Facility IDs where devices should be created

instanceParameters SpotMarketRequestInstanceParameters

Device parameters. See device resource for details

maxBidPrice number

Maximum price user is willing to pay per hour per device

projectId string

Project ID

waitForDevices boolean

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

devices_max float

Maximum number devices to be created

devices_min float

Miniumum number devices to be created

facilities List[str]

Facility IDs where devices should be created

instance_parameters Dict[SpotMarketRequestInstanceParameters]

Device parameters. See device resource for details

max_bid_price float

Maximum price user is willing to pay per hour per device

project_id str

Project ID

wait_for_devices bool

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

Outputs

All input properties are implicitly available as output properties. Additionally, the SpotMarketRequest resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing SpotMarketRequest Resource

Get an existing SpotMarketRequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SpotMarketRequestState, opts?: CustomResourceOptions): SpotMarketRequest
static get(resource_name, id, opts=None, devices_max=None, devices_min=None, facilities=None, instance_parameters=None, max_bid_price=None, project_id=None, wait_for_devices=None, __props__=None);
func GetSpotMarketRequest(ctx *Context, name string, id IDInput, state *SpotMarketRequestState, opts ...ResourceOption) (*SpotMarketRequest, error)
public static SpotMarketRequest Get(string name, Input<string> id, SpotMarketRequestState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DevicesMax int

Maximum number devices to be created

DevicesMin int

Miniumum number devices to be created

Facilities List<string>

Facility IDs where devices should be created

InstanceParameters SpotMarketRequestInstanceParametersArgs

Device parameters. See device resource for details

MaxBidPrice double

Maximum price user is willing to pay per hour per device

ProjectId string

Project ID

WaitForDevices bool

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

DevicesMax int

Maximum number devices to be created

DevicesMin int

Miniumum number devices to be created

Facilities []string

Facility IDs where devices should be created

InstanceParameters SpotMarketRequestInstanceParameters

Device parameters. See device resource for details

MaxBidPrice float64

Maximum price user is willing to pay per hour per device

ProjectId string

Project ID

WaitForDevices bool

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

devicesMax number

Maximum number devices to be created

devicesMin number

Miniumum number devices to be created

facilities string[]

Facility IDs where devices should be created

instanceParameters SpotMarketRequestInstanceParameters

Device parameters. See device resource for details

maxBidPrice number

Maximum price user is willing to pay per hour per device

projectId string

Project ID

waitForDevices boolean

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

devices_max float

Maximum number devices to be created

devices_min float

Miniumum number devices to be created

facilities List[str]

Facility IDs where devices should be created

instance_parameters Dict[SpotMarketRequestInstanceParameters]

Device parameters. See device resource for details

max_bid_price float

Maximum price user is willing to pay per hour per device

project_id str

Project ID

wait_for_devices bool

On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed

Supporting Types

SpotMarketRequestInstanceParameters

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

BillingCycle string
Hostname string
OperatingSystem string
Plan string
AlwaysPxe string
Description string
Features List<string>
Locked string
ProjectSshKeys List<string>
TermintationTime string
UserSshKeys List<string>
Userdata string
BillingCycle string
Hostname string
OperatingSystem string
Plan string
AlwaysPxe string
Description string
Features []string
Locked string
ProjectSshKeys []string
TermintationTime string
UserSshKeys []string
Userdata string
billingCycle string
hostname string
operatingSystem string
plan string
alwaysPxe string
description string
features string[]
locked string
projectSshKeys string[]
termintationTime string
userSshKeys string[]
userdata string
billing_cycle str
hostname str
operating_system str
plan str
always_pxe str
description str
features List[str]
locked str
projectSshKeys List[str]
termintationTime str
userSshKeys List[str]
userdata str

Package Details

Repository
https://github.com/pulumi/pulumi-packet
License
Apache-2.0
Notes
This Pulumi package is based on the packet Terraform Provider.