Class InstanceDisk
Inheritance
System.Object
InstanceDisk
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 InstanceDisk
Fields
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 readonly ImmutableArray<string> AuthorizedKeys
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
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 readonly ImmutableArray<string> AuthorizedUsers
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
View Source
Filesystem
The Disk filesystem can be one of: "raw", "swap", "ext3", "ext4", or "initrd" which has a max size of 32mb and can be used in the config initrd (not currently supported in this provider).
Declaration
public readonly string Filesystem
Field Value
| Type |
Description |
| System.String |
|
View Source
Id
The ID of the disk in the Linode API.
Declaration
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
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 readonly string Image
Field Value
| Type |
Description |
| System.String |
|
View Source
Label
The Config's label for display purposes. Also used by boot_config_label.
Declaration
public readonly string Label
Field Value
| Type |
Description |
| System.String |
|
View Source
ReadOnly
Declaration
public readonly bool? ReadOnly
Field Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
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 readonly string RootPass
Field Value
| Type |
Description |
| System.String |
|
View Source
Size
The size of the Disk in MB.
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
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 readonly ImmutableDictionary<string, object> StackscriptData
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableDictionary<System.String, 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 readonly int? StackscriptId
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|