Class DeviceArgs
Inheritance
System.Object
DeviceArgs
Inherited Members
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()
Assembly: Pulumi.Packet.dll
Syntax
public sealed class DeviceArgs : ResourceArgs
Constructors
View Source
DeviceArgs()
Declaration
Properties
View Source
AlwaysPxe
If true, a device with OS custom_ipxe will
continue to boot via iPXE on reboots.
Declaration
public Input<bool> AlwaysPxe { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
BillingCycle
Declaration
public Input<string> BillingCycle { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Description
Description string for the device
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Facilities
List of facility codes with deployment preferences. Packet API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response.
Declaration
public InputList<string> Facilities { get; set; }
Property Value
View Source
ForceDetachVolumes
Delete device even if it has volumes attached. Only applies for destroy action.
Declaration
public Input<bool> ForceDetachVolumes { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
HardwareReservationId
The ID of hardware reservation which this device occupies
hostname- The hostname of the device
Declaration
public Input<string> HardwareReservationId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Hostname
Declaration
public Input<string> Hostname { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IpAddresses
A list of IP address types for the device (structure is documented below).
Declaration
public InputList<DeviceIpAddressArgs> IpAddresses { get; set; }
Property Value
View Source
IpxeScriptUrl
URL pointing to a hosted iPXE script. More
information is in the
Custom iPXE
doc.
Declaration
public Input<string> IpxeScriptUrl { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NetworkType
Declaration
public Input<string> NetworkType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
OperatingSystem
The operating system slug. To find the slug, or visit Operating Systems API docs, set your API auth token in the top of the page and see JSON from the API response.
Declaration
public Input<string> OperatingSystem { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Plan
The device plan slug. To find the plan slug, visit Device plans API docs, set your auth token in the top of the page and see JSON from the API response.
Declaration
public Input<string> Plan { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProjectId
The ID of the project in which to create the device
Declaration
public Input<string> ProjectId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProjectSshKeyIds
Declaration
public InputList<string> ProjectSshKeyIds { get; set; }
Property Value
View Source
Storage
JSON for custom partitioning. Only usable on reserved hardware. More information in in the Custom Partitioning and RAID doc.
- Please note that the disks.partitions.size attribute must be a string, not an integer. It can be a number string, or size notation string, e.g. "4G" or "8M" (for gigabytes and megabytes).
Declaration
public Input<string> Storage { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Tags attached to the device
Declaration
public InputList<string> Tags { get; set; }
Property Value
View Source
UserData
A string of the desired User Data for the device.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
WaitForReservationDeprovision
Only used for devices in reserved hardware. If set, the deletion of this device will block until the hardware reservation is marked provisionable (about 4 minutes in August 2019).
Declaration
public Input<bool> WaitForReservationDeprovision { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|