Show / Hide Table of Contents

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.

Inheritance
System.Object
Resource
CustomResource
SpotMarketRequest
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Packet
Assembly: Pulumi.Packet.dll
Syntax
public class SpotMarketRequest : CustomResource

Constructors

View Source

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

DevicesMax

Maximum number devices to be created

Declaration
public Output<int> DevicesMax { get; }
Property Value
Type Description
Output<System.Int32>
View Source

DevicesMin

Miniumum number devices to be created

Declaration
public Output<int> DevicesMin { get; }
Property Value
Type Description
Output<System.Int32>
View Source

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>>
View Source

InstanceParameters

Device parameters. See device resource for details

Declaration
public Output<SpotMarketRequestInstanceParameters> InstanceParameters { get; }
Property Value
Type Description
Output<SpotMarketRequestInstanceParameters>
View Source

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>
View Source

ProjectId

Project ID

Declaration
public Output<string> ProjectId { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.