GetDropletResult

data class GetDropletResult(val backups: Boolean, val createdAt: String, val disk: Int, val gpu: Boolean? = null, val id: Int, val image: String, val ipv4Address: String, val ipv4AddressPrivate: String, val ipv6: Boolean, val ipv6Address: String, val ipv6AddressPrivate: String, val locked: Boolean, val memory: Int, val monitoring: Boolean, val name: String, val priceHourly: Double, val priceMonthly: Double, val privateNetworking: Boolean, val region: String, val size: String, val status: String, val tag: String? = null, val tags: List<String>, val urn: String, val vcpus: Int, val volumeIds: List<String>, val vpcUuid: String)

A collection of values returned by getDroplet.

Constructors

Link copied to clipboard
constructor(backups: Boolean, createdAt: String, disk: Int, gpu: Boolean? = null, id: Int, image: String, ipv4Address: String, ipv4AddressPrivate: String, ipv6: Boolean, ipv6Address: String, ipv6AddressPrivate: String, locked: Boolean, memory: Int, monitoring: Boolean, name: String, priceHourly: Double, priceMonthly: Double, privateNetworking: Boolean, region: String, size: String, status: String, tag: String? = null, tags: List<String>, urn: String, vcpus: Int, volumeIds: List<String>, vpcUuid: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether backups are enabled.

Link copied to clipboard
Link copied to clipboard
val disk: Int

The size of the Droplets disk in GB.

Link copied to clipboard
val gpu: Boolean? = null
Link copied to clipboard
val id: Int

The ID of the Droplet.

Link copied to clipboard

The Droplet image ID or slug.

Link copied to clipboard

The Droplets public IPv4 address

Link copied to clipboard

The Droplets private IPv4 address

Link copied to clipboard

Whether IPv6 is enabled.

Link copied to clipboard

The Droplets public IPv6 address

Link copied to clipboard

The Droplets private IPv6 address

Link copied to clipboard

Whether the Droplet is locked.

Link copied to clipboard
val memory: Int

The amount of the Droplets memory in MB.

Link copied to clipboard

Whether monitoring agent is installed.

Link copied to clipboard
Link copied to clipboard

Droplet hourly price.

Link copied to clipboard

Droplet monthly price.

Link copied to clipboard

Whether private networks are enabled.

Link copied to clipboard

The region the Droplet is running in.

Link copied to clipboard

The unique slug that identifies the type of Droplet.

Link copied to clipboard

The status of the Droplet.

Link copied to clipboard
val tag: String? = null
Link copied to clipboard

A list of the tags associated to the Droplet.

Link copied to clipboard
val urn: String

The uniform resource name of the Droplet

Link copied to clipboard
val vcpus: Int

The number of the Droplets virtual CPUs.

Link copied to clipboard

List of the IDs of each volumes attached to the Droplet.

Link copied to clipboard

The ID of the VPC where the Droplet is located.