Class 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.
Inherited Members
Namespace: Pulumi.Packet
Assembly: Pulumi.Packet.dll
Syntax
public class SpotMarketRequest : CustomResource
Constructors
View SourceSpotMarketRequest(String, SpotMarketRequestArgs, CustomResourceOptions)
Create a SpotMarketRequest resource with the given unique name, arguments, and options.
Declaration
public SpotMarketRequest(string name, SpotMarketRequestArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SpotMarketRequestArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDevicesMax
Maximum number devices to be created
Declaration
public Output<int> DevicesMax { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
DevicesMin
Miniumum number devices to be created
Declaration
public Output<int> DevicesMin { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Facilities
Facility IDs where devices should be created
Declaration
public Output<ImmutableArray<string>> Facilities { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
InstanceParameters
Device parameters. See device resource for details
Declaration
public Output<SpotMarketRequestInstanceParameters> InstanceParameters { get; }
Property Value
| Type | Description |
|---|---|
| Output<SpotMarketRequestInstanceParameters> |
MaxBidPrice
Maximum price user is willing to pay per hour per device
Declaration
public Output<double> MaxBidPrice { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Double> |
ProjectId
Project ID
Declaration
public Output<string> ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
WaitForDevices
On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed
Declaration
public Output<bool?> WaitForDevices { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Methods
View SourceGet(String, Input<String>, SpotMarketRequestState, CustomResourceOptions)
Get an existing SpotMarketRequest resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SpotMarketRequest Get(string name, Input<string> id, SpotMarketRequestState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SpotMarketRequestState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SpotMarketRequest |