Class DropletArgs
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class DropletArgs : ResourceArgs
Constructors
View SourceDropletArgs()
Declaration
public DropletArgs()
Properties
View SourceBackups
Boolean controlling if backups are made. Defaults to false.
Declaration
public Input<bool> Backups { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Image
The Droplet image ID or slug.
Declaration
public Input<string> Image { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ipv6
Boolean controlling if IPv6 is enabled. Defaults to false.
Declaration
public Input<bool> Ipv6 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Monitoring
Boolean controlling whether monitoring agent is installed. Defaults to false.
Declaration
public Input<bool> Monitoring { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The Droplet name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateNetworking
Boolean controlling if private networking
is enabled. When VPC is enabled on an account, this will provision the
Droplet inside of your account's default VPC for the region. Use the
vpc_uuid attribute to specify a different VPC.
Declaration
public Input<bool> PrivateNetworking { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Region
The region to start in.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResizeDisk
Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to true. When set to false,
only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk
size is a permanent change. Increasing only RAM and CPU is reversible.
Declaration
public Input<bool> ResizeDisk { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Size
The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
Declaration
public Input<string> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SshKeys
A list of SSH IDs or fingerprints to enable in
the format [12345, 123456]. To retrieve this info, use a tool such
as curl with the DigitalOcean API,
to retrieve them.
Declaration
public InputList<string> SshKeys { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
A list of the tags to be applied to this Droplet.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
UserData
A string of the desired User Data for the Droplet.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VolumeIds
A list of the IDs of each block storage volume to be attached to the Droplet.
Declaration
public InputList<string> VolumeIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
VpcUuid
The ID of the VPC where the Droplet will be located.
Declaration
public Input<string> VpcUuid { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |