Class InstanceState
Inheritance
System.Object
InstanceState
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.Linode.dll
Syntax
public sealed class InstanceState : ResourceArgs
Constructors
View Source
InstanceState()
Declaration
Properties
View Source
Alerts
Declaration
public Input<InstanceAlertsGetArgs> Alerts { get; set; }
Property Value
View Source
AuthorizedKeys
A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if image is provided. This value can not be imported. Changing authorized_keys forces the creation of a new Linode Instance.
Declaration
public InputList<string> AuthorizedKeys { get; set; }
Property Value
View Source
AuthorizedUsers
A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the root user's ~/.ssh/authorized_keys file automatically. This value can not be imported. Changing authorized_users forces the creation of a new Linode Instance.
Declaration
public InputList<string> AuthorizedUsers { get; set; }
Property Value
View Source
BackupId
A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup must have a status of successful, and the Linode must be deployed to the same region as the Backup. See /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually exclusive. This value can not be imported. Changing backup_id forces the creation of a new Linode Instance.
Declaration
public Input<int> BackupId { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Backups
Information about this Linode's backups status.
Declaration
public Input<InstanceBackupsGetArgs> Backups { get; set; }
Property Value
View Source
BackupsEnabled
If this field is set to true, the created Linode will automatically be enrolled in the Linode Backup service. This will incur an additional charge. The cost for the Backup service is dependent on the Type of Linode deployed.
Declaration
public Input<bool> BackupsEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
BootConfigLabel
The Label of the Instance Config that should be used to boot the Linode instance. If there is only one config, the label of that config will be used as the boot_config_label. This value can not be imported.
Declaration
public Input<string> BootConfigLabel { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Configs
Configuration profiles define the VM settings and boot behavior of the Linode Instance.
Declaration
public InputList<InstanceConfigGetArgs> Configs { get; set; }
Property Value
View Source
Disks
Declaration
public InputList<InstanceDiskGetArgs> Disks { get; set; }
Property Value
View Source
Group
The display group of the Linode instance.
Declaration
public Input<string> Group { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Image
An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here. Changing image forces the creation of a new Linode Instance.
Declaration
public Input<string> Image { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IpAddress
This Linode's Public IPv4 Address. If there are multiple public IPv4 addresses on this Instance, an arbitrary address
will be used for this field.
Declaration
public Input<string> IpAddress { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Ipv4s
This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single
private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.
Declaration
public InputList<string> Ipv4s { get; set; }
Property Value
View Source
Ipv6
This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared.
Declaration
public Input<string> Ipv6 { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Label
The Config's label for display purposes. Also used by boot_config_label.
Declaration
public Input<string> Label { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PrivateIp
If true, the created Linode will have private networking enabled, allowing use of the 192.168.128.0/17 network within the Linode's region. It can be enabled on an existing Linode but it can't be disabled.
Declaration
public Input<bool> PrivateIp { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PrivateIpAddress
This Linode's Private IPv4 Address. The regional private IP address range is 192.168.128/17 address shared by all Linode
Instances in a region.
Declaration
public Input<string> PrivateIpAddress { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Region
This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here. Changing region forces the creation of a new Linode Instance..
Declaration
public Input<string> Region { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RootPass
The initial password for the root user account. This value can not be imported. Changing root_pass forces the creation of a new Linode Instance. If omitted, a random password will be generated but will not be stored in state.
Declaration
public Input<string> RootPass { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Specs
Declaration
public Input<InstanceSpecsGetArgs> Specs { get; set; }
Property Value
View Source
StackscriptData
An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed. This value can not be imported. Changing stackscript_data forces the creation of a new Linode Instance.
Declaration
public InputMap<object> StackscriptData { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
StackscriptId
The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image that is compatible with this StackScript. This value can not be imported. Changing stackscript_id forces the creation of a new Linode Instance.
Declaration
public Input<int> StackscriptId { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Status
The status of the instance, indicating the current readiness state.
Declaration
public Input<string> Status { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SwapSize
When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.
Declaration
public Input<int> SwapSize { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
A list of tags applied to this object. Tags are for organizational purposes only.
Declaration
public InputList<string> Tags { get; set; }
Property Value
View Source
Type
The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
WatchdogEnabled
The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.
Declaration
public Input<bool> WatchdogEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|