Class GetDeviceResult
Inheritance
System.Object
GetDeviceResult
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 GetDeviceResult
Fields
View Source
AccessPrivateIpv4
The ipv4 private IP assigned to the device
Declaration
public readonly string AccessPrivateIpv4
Field Value
| Type |
Description |
| System.String |
|
View Source
AccessPublicIpv4
The ipv4 management IP assigned to the device
Declaration
public readonly string AccessPublicIpv4
Field Value
| Type |
Description |
| System.String |
|
View Source
AccessPublicIpv6
The ipv6 management IP assigned to the device
Declaration
public readonly string AccessPublicIpv6
Field Value
| Type |
Description |
| System.String |
|
View Source
AlwaysPxe
Declaration
public readonly bool AlwaysPxe
Field Value
| Type |
Description |
| System.Boolean |
|
View Source
BillingCycle
The billing cycle of the device (monthly or hourly)
Declaration
public readonly string BillingCycle
Field Value
| Type |
Description |
| System.String |
|
View Source
Description
Description string for the device
Declaration
public readonly string Description
Field Value
| Type |
Description |
| System.String |
|
View Source
DeviceId
Declaration
public readonly string DeviceId
Field Value
| Type |
Description |
| System.String |
|
View Source
Facility
The facility where the device is deployed.
Declaration
public readonly string Facility
Field Value
| Type |
Description |
| System.String |
|
View Source
HardwareReservationId
The id of hardware reservation which this device occupies
Declaration
public readonly string HardwareReservationId
Field Value
| Type |
Description |
| System.String |
|
View Source
Hostname
Declaration
public readonly string Hostname
Field Value
| Type |
Description |
| System.String |
|
View Source
Id
The provider-assigned unique ID for this managed resource.
Declaration
public readonly string Id
Field Value
| Type |
Description |
| System.String |
|
View Source
IpxeScriptUrl
Declaration
public readonly string IpxeScriptUrl
Field Value
| Type |
Description |
| System.String |
|
View Source
Networks
The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks:
- Public IPv4 at
packet_device.name.network.0
- IPv6 at
packet_device.name.network.1
- Private IPv4 at
packet_device.name.network.2
Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
The fields of the network attributes are:
Declaration
public readonly ImmutableArray<GetDeviceNetworkResult> Networks
Field Value
View Source
NetworkType
L2 network type of the device, one of "layer3", "layer2-bonded", "layer2-individual", "hybrid"
Declaration
public readonly string NetworkType
Field Value
| Type |
Description |
| System.String |
|
View Source
OperatingSystem
The operating system running on the device
Declaration
public readonly string OperatingSystem
Field Value
| Type |
Description |
| System.String |
|
View Source
Plan
The hardware config of the device
Declaration
public readonly string Plan
Field Value
| Type |
Description |
| System.String |
|
View Source
Ports
Ports assigned to the device
Declaration
public readonly ImmutableArray<GetDevicePortResult> Ports
Field Value
View Source
ProjectId
Declaration
public readonly string ProjectId
Field Value
| Type |
Description |
| System.String |
|
View Source
RootPassword
Root password to the server (if still available)
Declaration
public readonly string RootPassword
Field Value
| Type |
Description |
| System.String |
|
View Source
SshKeyIds
List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
Declaration
public readonly ImmutableArray<string> SshKeyIds
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
View Source
State
Declaration
public readonly string State
Field Value
| Type |
Description |
| System.String |
|
View Source
Storage
Declaration
public readonly string Storage
Field Value
| Type |
Description |
| System.String |
|
View Source
Tags attached to the device
Declaration
public readonly ImmutableArray<string> Tags
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|