linode

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package linode exports types, functions, subpackages for provisioning linode resources.// A Pulumi package for creating and managing linode cloud resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-linode) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-linode` repo](https://github.com/pulumi/pulumi-linode/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-linode` repo](https://github.com/terraform-providers/terraform-provider-linode/issues).

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	pulumi.CustomResourceState

	// The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
	AxfrIps pulumi.StringArrayOutput `pulumi:"axfrIps"`
	// A description for this Domain. This is for display purposes only.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	ExpireSec pulumi.IntPtrOutput `pulumi:"expireSec"`
	// The group this Domain belongs to. This is for display purposes only.
	Group pulumi.StringPtrOutput `pulumi:"group"`
	// The IP addresses representing the master DNS for this Domain.
	MasterIps pulumi.StringArrayOutput `pulumi:"masterIps"`
	// The amount of time in seconds before this Domain should be refreshed. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RefreshSec pulumi.IntPtrOutput `pulumi:"refreshSec"`
	// The interval, in seconds, at which a failed refresh should be retried. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RetrySec pulumi.IntPtrOutput `pulumi:"retrySec"`
	// Start of Authority email address. This is required for master Domains.
	SoaEmail pulumi.StringPtrOutput `pulumi:"soaEmail"`
	// Used to control whether this Domain is currently being rendered (defaults to "active").
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TtlSec pulumi.IntPtrOutput `pulumi:"ttlSec"`
	// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
	Type pulumi.StringOutput `pulumi:"type"`
}

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainState, opts ...pulumi.ResourceOption) (*Domain, error)

GetDomain gets an existing Domain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOption) (*Domain, error)

NewDomain registers a new resource with the given unique name, arguments, and options.

type DomainArgs

type DomainArgs struct {
	// The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
	AxfrIps pulumi.StringArrayInput
	// A description for this Domain. This is for display purposes only.
	Description pulumi.StringPtrInput
	// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
	Domain pulumi.StringInput
	// The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	ExpireSec pulumi.IntPtrInput
	// The group this Domain belongs to. This is for display purposes only.
	Group pulumi.StringPtrInput
	// The IP addresses representing the master DNS for this Domain.
	MasterIps pulumi.StringArrayInput
	// The amount of time in seconds before this Domain should be refreshed. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RefreshSec pulumi.IntPtrInput
	// The interval, in seconds, at which a failed refresh should be retried. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RetrySec pulumi.IntPtrInput
	// Start of Authority email address. This is required for master Domains.
	SoaEmail pulumi.StringPtrInput
	// Used to control whether this Domain is currently being rendered (defaults to "active").
	Status pulumi.StringPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TtlSec pulumi.IntPtrInput
	// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
	Type pulumi.StringInput
}

The set of arguments for constructing a Domain resource.

func (DomainArgs) ElementType added in v1.4.0

func (DomainArgs) ElementType() reflect.Type

type DomainRecord

type DomainRecord struct {
	pulumi.CustomResourceState

	// The ID of the Domain to access.  *Changing `domainId` forces the creation of a new Linode Domain Record.*.
	DomainId pulumi.IntOutput `pulumi:"domainId"`
	// The name of this Record. Required for non-`SRV` records. Setting this is invalid for `SRV` records as it is generated by the API. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address.
	Name pulumi.StringOutput `pulumi:"name"`
	// The port this Record points to.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The priority of the target host. Lower values are preferred.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The protocol this Record's service communicates with. Only valid for SRV records.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. *Changing `recordType` forces the creation of a new Linode Domain Record.*.
	RecordType pulumi.StringOutput `pulumi:"recordType"`
	// The service this Record identified. Only valid for SRV records.
	Service pulumi.StringPtrOutput `pulumi:"service"`
	// The tag portion of a CAA record. It is invalid to set this on other record types.
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// - - -
	Target pulumi.StringOutput `pulumi:"target"`
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TtlSec pulumi.IntPtrOutput `pulumi:"ttlSec"`
	// The relative weight of this Record. Higher values are preferred.
	Weight pulumi.IntPtrOutput `pulumi:"weight"`
}

Provides a Linode Domain Record resource. This can be used to create, modify, and delete Linodes Domain Records. For more information, see [DNS Manager](https://www.linode.com/docs/platform/manager/dns-manager/) and the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/createDomainRecord).

## Attributes

This resource exports no additional attributes.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/domain_record.html.md.

func GetDomainRecord

func GetDomainRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainRecordState, opts ...pulumi.ResourceOption) (*DomainRecord, error)

GetDomainRecord gets an existing DomainRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainRecord

func NewDomainRecord(ctx *pulumi.Context,
	name string, args *DomainRecordArgs, opts ...pulumi.ResourceOption) (*DomainRecord, error)

NewDomainRecord registers a new resource with the given unique name, arguments, and options.

type DomainRecordArgs

type DomainRecordArgs struct {
	// The ID of the Domain to access.  *Changing `domainId` forces the creation of a new Linode Domain Record.*.
	DomainId pulumi.IntInput
	// The name of this Record. Required for non-`SRV` records. Setting this is invalid for `SRV` records as it is generated by the API. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address.
	Name pulumi.StringPtrInput
	// The port this Record points to.
	Port pulumi.IntPtrInput
	// The priority of the target host. Lower values are preferred.
	Priority pulumi.IntPtrInput
	// The protocol this Record's service communicates with. Only valid for SRV records.
	Protocol pulumi.StringPtrInput
	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. *Changing `recordType` forces the creation of a new Linode Domain Record.*.
	RecordType pulumi.StringInput
	// The service this Record identified. Only valid for SRV records.
	Service pulumi.StringPtrInput
	// The tag portion of a CAA record. It is invalid to set this on other record types.
	Tag pulumi.StringPtrInput
	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// - - -
	Target pulumi.StringInput
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TtlSec pulumi.IntPtrInput
	// The relative weight of this Record. Higher values are preferred.
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a DomainRecord resource.

func (DomainRecordArgs) ElementType added in v1.4.0

func (DomainRecordArgs) ElementType() reflect.Type

type DomainRecordState

type DomainRecordState struct {
	// The ID of the Domain to access.  *Changing `domainId` forces the creation of a new Linode Domain Record.*.
	DomainId pulumi.IntPtrInput
	// The name of this Record. Required for non-`SRV` records. Setting this is invalid for `SRV` records as it is generated by the API. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address.
	Name pulumi.StringPtrInput
	// The port this Record points to.
	Port pulumi.IntPtrInput
	// The priority of the target host. Lower values are preferred.
	Priority pulumi.IntPtrInput
	// The protocol this Record's service communicates with. Only valid for SRV records.
	Protocol pulumi.StringPtrInput
	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. *Changing `recordType` forces the creation of a new Linode Domain Record.*.
	RecordType pulumi.StringPtrInput
	// The service this Record identified. Only valid for SRV records.
	Service pulumi.StringPtrInput
	// The tag portion of a CAA record. It is invalid to set this on other record types.
	Tag pulumi.StringPtrInput
	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// - - -
	Target pulumi.StringPtrInput
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TtlSec pulumi.IntPtrInput
	// The relative weight of this Record. Higher values are preferred.
	Weight pulumi.IntPtrInput
}

func (DomainRecordState) ElementType added in v1.4.0

func (DomainRecordState) ElementType() reflect.Type

type DomainState

type DomainState struct {
	// The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
	AxfrIps pulumi.StringArrayInput
	// A description for this Domain. This is for display purposes only.
	Description pulumi.StringPtrInput
	// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
	Domain pulumi.StringPtrInput
	// The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	ExpireSec pulumi.IntPtrInput
	// The group this Domain belongs to. This is for display purposes only.
	Group pulumi.StringPtrInput
	// The IP addresses representing the master DNS for this Domain.
	MasterIps pulumi.StringArrayInput
	// The amount of time in seconds before this Domain should be refreshed. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RefreshSec pulumi.IntPtrInput
	// The interval, in seconds, at which a failed refresh should be retried. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RetrySec pulumi.IntPtrInput
	// Start of Authority email address. This is required for master Domains.
	SoaEmail pulumi.StringPtrInput
	// Used to control whether this Domain is currently being rendered (defaults to "active").
	Status pulumi.StringPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TtlSec pulumi.IntPtrInput
	// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
	Type pulumi.StringPtrInput
}

func (DomainState) ElementType added in v1.4.0

func (DomainState) ElementType() reflect.Type

type GetAccountResult

type GetAccountResult struct {
	Address1  string `pulumi:"address1"`
	Address2  string `pulumi:"address2"`
	Balance   int    `pulumi:"balance"`
	City      string `pulumi:"city"`
	Company   string `pulumi:"company"`
	Country   string `pulumi:"country"`
	Email     string `pulumi:"email"`
	FirstName string `pulumi:"firstName"`
	// id is the provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	LastName string `pulumi:"lastName"`
	Phone    string `pulumi:"phone"`
	State    string `pulumi:"state"`
	Zip      string `pulumi:"zip"`
}

A collection of values returned by getAccount.

func GetAccount added in v1.4.0

func GetAccount(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAccountResult, error)

Provides information about a Linode account.

This data source should not be used in conjuction with the `LINODE_DEBUG` option. See the [debugging notes](https://www.terraform.io/docs/providers/linode/index.html#debugging) for more details.

## Attributes

The Linode Account resource exports the following attributes:

* `email` - The email address for this Account, for account management communications, and may be used for other communications as configured.

* `firstName` - The first name of the person associated with this Account.

* `lastName` - The last name of the person associated with this Account.

* `company` - The company name associated with this Account.

* `address1` - First line of this Account's billing address.

* `address2` - Second line of this Account's billing address.

* `phone` - The phone number associated with this Account.

* `city` - The city for this Account's billing address.

* `state` - If billing address is in the United States, this is the State portion of the Account's billing address. If the address is outside the US, this is the Province associated with the Account's billing address.

* `country` - The two-letter country code of this Account's billing address.

* `zip` - The zip code of this Account's billing address.

* `balance` - This Account's balance, in US dollars.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/account.html.md.

type GetInstanceTypeAddons added in v1.4.0

type GetInstanceTypeAddons struct {
	Backups GetInstanceTypeAddonsBackups `pulumi:"backups"`
}

type GetInstanceTypeAddonsArgs added in v1.4.0

type GetInstanceTypeAddonsArgs struct {
	Backups GetInstanceTypeAddonsBackupsInput `pulumi:"backups"`
}

func (GetInstanceTypeAddonsArgs) ElementType added in v1.4.0

func (GetInstanceTypeAddonsArgs) ElementType() reflect.Type

func (GetInstanceTypeAddonsArgs) ToGetInstanceTypeAddonsOutput added in v1.4.0

func (i GetInstanceTypeAddonsArgs) ToGetInstanceTypeAddonsOutput() GetInstanceTypeAddonsOutput

func (GetInstanceTypeAddonsArgs) ToGetInstanceTypeAddonsOutputWithContext added in v1.4.0

func (i GetInstanceTypeAddonsArgs) ToGetInstanceTypeAddonsOutputWithContext(ctx context.Context) GetInstanceTypeAddonsOutput

type GetInstanceTypeAddonsBackups added in v1.4.0

type GetInstanceTypeAddonsBackups struct {
	Price GetInstanceTypeAddonsBackupsPrice `pulumi:"price"`
}

type GetInstanceTypeAddonsBackupsArgs added in v1.4.0

type GetInstanceTypeAddonsBackupsArgs struct {
	Price GetInstanceTypeAddonsBackupsPriceInput `pulumi:"price"`
}

func (GetInstanceTypeAddonsBackupsArgs) ElementType added in v1.4.0

func (GetInstanceTypeAddonsBackupsArgs) ToGetInstanceTypeAddonsBackupsOutput added in v1.4.0

func (i GetInstanceTypeAddonsBackupsArgs) ToGetInstanceTypeAddonsBackupsOutput() GetInstanceTypeAddonsBackupsOutput

func (GetInstanceTypeAddonsBackupsArgs) ToGetInstanceTypeAddonsBackupsOutputWithContext added in v1.4.0

func (i GetInstanceTypeAddonsBackupsArgs) ToGetInstanceTypeAddonsBackupsOutputWithContext(ctx context.Context) GetInstanceTypeAddonsBackupsOutput

type GetInstanceTypeAddonsBackupsInput added in v1.4.0

type GetInstanceTypeAddonsBackupsInput interface {
	pulumi.Input

	ToGetInstanceTypeAddonsBackupsOutput() GetInstanceTypeAddonsBackupsOutput
	ToGetInstanceTypeAddonsBackupsOutputWithContext(context.Context) GetInstanceTypeAddonsBackupsOutput
}

type GetInstanceTypeAddonsBackupsOutput added in v1.4.0

type GetInstanceTypeAddonsBackupsOutput struct{ *pulumi.OutputState }

func (GetInstanceTypeAddonsBackupsOutput) ElementType added in v1.4.0

func (GetInstanceTypeAddonsBackupsOutput) Price added in v1.4.0

func (GetInstanceTypeAddonsBackupsOutput) ToGetInstanceTypeAddonsBackupsOutput added in v1.4.0

func (o GetInstanceTypeAddonsBackupsOutput) ToGetInstanceTypeAddonsBackupsOutput() GetInstanceTypeAddonsBackupsOutput

func (GetInstanceTypeAddonsBackupsOutput) ToGetInstanceTypeAddonsBackupsOutputWithContext added in v1.4.0

func (o GetInstanceTypeAddonsBackupsOutput) ToGetInstanceTypeAddonsBackupsOutputWithContext(ctx context.Context) GetInstanceTypeAddonsBackupsOutput

type GetInstanceTypeAddonsBackupsPrice added in v1.4.0

type GetInstanceTypeAddonsBackupsPrice struct {
	Hourly  float64 `pulumi:"hourly"`
	Monthly float64 `pulumi:"monthly"`
}

type GetInstanceTypeAddonsBackupsPriceArgs added in v1.4.0

type GetInstanceTypeAddonsBackupsPriceArgs struct {
	Hourly  pulumi.Float64Input `pulumi:"hourly"`
	Monthly pulumi.Float64Input `pulumi:"monthly"`
}

func (GetInstanceTypeAddonsBackupsPriceArgs) ElementType added in v1.4.0

func (GetInstanceTypeAddonsBackupsPriceArgs) ToGetInstanceTypeAddonsBackupsPriceOutput added in v1.4.0

func (i GetInstanceTypeAddonsBackupsPriceArgs) ToGetInstanceTypeAddonsBackupsPriceOutput() GetInstanceTypeAddonsBackupsPriceOutput

func (GetInstanceTypeAddonsBackupsPriceArgs) ToGetInstanceTypeAddonsBackupsPriceOutputWithContext added in v1.4.0

func (i GetInstanceTypeAddonsBackupsPriceArgs) ToGetInstanceTypeAddonsBackupsPriceOutputWithContext(ctx context.Context) GetInstanceTypeAddonsBackupsPriceOutput

type GetInstanceTypeAddonsBackupsPriceInput added in v1.4.0

type GetInstanceTypeAddonsBackupsPriceInput interface {
	pulumi.Input

	ToGetInstanceTypeAddonsBackupsPriceOutput() GetInstanceTypeAddonsBackupsPriceOutput
	ToGetInstanceTypeAddonsBackupsPriceOutputWithContext(context.Context) GetInstanceTypeAddonsBackupsPriceOutput
}

type GetInstanceTypeAddonsBackupsPriceOutput added in v1.4.0

type GetInstanceTypeAddonsBackupsPriceOutput struct{ *pulumi.OutputState }

func (GetInstanceTypeAddonsBackupsPriceOutput) ElementType added in v1.4.0

func (GetInstanceTypeAddonsBackupsPriceOutput) Hourly added in v1.4.0

func (GetInstanceTypeAddonsBackupsPriceOutput) Monthly added in v1.4.0

func (GetInstanceTypeAddonsBackupsPriceOutput) ToGetInstanceTypeAddonsBackupsPriceOutput added in v1.4.0

func (o GetInstanceTypeAddonsBackupsPriceOutput) ToGetInstanceTypeAddonsBackupsPriceOutput() GetInstanceTypeAddonsBackupsPriceOutput

func (GetInstanceTypeAddonsBackupsPriceOutput) ToGetInstanceTypeAddonsBackupsPriceOutputWithContext added in v1.4.0

func (o GetInstanceTypeAddonsBackupsPriceOutput) ToGetInstanceTypeAddonsBackupsPriceOutputWithContext(ctx context.Context) GetInstanceTypeAddonsBackupsPriceOutput

type GetInstanceTypeAddonsInput added in v1.4.0

type GetInstanceTypeAddonsInput interface {
	pulumi.Input

	ToGetInstanceTypeAddonsOutput() GetInstanceTypeAddonsOutput
	ToGetInstanceTypeAddonsOutputWithContext(context.Context) GetInstanceTypeAddonsOutput
}

type GetInstanceTypeAddonsOutput added in v1.4.0

type GetInstanceTypeAddonsOutput struct{ *pulumi.OutputState }

func (GetInstanceTypeAddonsOutput) Backups added in v1.4.0

func (GetInstanceTypeAddonsOutput) ElementType added in v1.4.0

func (GetInstanceTypeAddonsOutput) ToGetInstanceTypeAddonsOutput added in v1.4.0

func (o GetInstanceTypeAddonsOutput) ToGetInstanceTypeAddonsOutput() GetInstanceTypeAddonsOutput

func (GetInstanceTypeAddonsOutput) ToGetInstanceTypeAddonsOutputWithContext added in v1.4.0

func (o GetInstanceTypeAddonsOutput) ToGetInstanceTypeAddonsOutputWithContext(ctx context.Context) GetInstanceTypeAddonsOutput

type GetInstanceTypeArgs

type GetInstanceTypeArgs struct {
	// Label used to identify instance type
	Id    string  `pulumi:"id"`
	Label *string `pulumi:"label"`
}

A collection of arguments for invoking getInstanceType.

type GetInstanceTypePrice added in v1.4.0

type GetInstanceTypePrice struct {
	Hourly  float64 `pulumi:"hourly"`
	Monthly float64 `pulumi:"monthly"`
}

type GetInstanceTypePriceArgs added in v1.4.0

type GetInstanceTypePriceArgs struct {
	Hourly  pulumi.Float64Input `pulumi:"hourly"`
	Monthly pulumi.Float64Input `pulumi:"monthly"`
}

func (GetInstanceTypePriceArgs) ElementType added in v1.4.0

func (GetInstanceTypePriceArgs) ElementType() reflect.Type

func (GetInstanceTypePriceArgs) ToGetInstanceTypePriceOutput added in v1.4.0

func (i GetInstanceTypePriceArgs) ToGetInstanceTypePriceOutput() GetInstanceTypePriceOutput

func (GetInstanceTypePriceArgs) ToGetInstanceTypePriceOutputWithContext added in v1.4.0

func (i GetInstanceTypePriceArgs) ToGetInstanceTypePriceOutputWithContext(ctx context.Context) GetInstanceTypePriceOutput

type GetInstanceTypePriceInput added in v1.4.0

type GetInstanceTypePriceInput interface {
	pulumi.Input

	ToGetInstanceTypePriceOutput() GetInstanceTypePriceOutput
	ToGetInstanceTypePriceOutputWithContext(context.Context) GetInstanceTypePriceOutput
}

type GetInstanceTypePriceOutput added in v1.4.0

type GetInstanceTypePriceOutput struct{ *pulumi.OutputState }

func (GetInstanceTypePriceOutput) ElementType added in v1.4.0

func (GetInstanceTypePriceOutput) ElementType() reflect.Type

func (GetInstanceTypePriceOutput) Hourly added in v1.4.0

func (GetInstanceTypePriceOutput) Monthly added in v1.4.0

func (GetInstanceTypePriceOutput) ToGetInstanceTypePriceOutput added in v1.4.0

func (o GetInstanceTypePriceOutput) ToGetInstanceTypePriceOutput() GetInstanceTypePriceOutput

func (GetInstanceTypePriceOutput) ToGetInstanceTypePriceOutputWithContext added in v1.4.0

func (o GetInstanceTypePriceOutput) ToGetInstanceTypePriceOutputWithContext(ctx context.Context) GetInstanceTypePriceOutput

type GetInstanceTypeResult

type GetInstanceTypeResult struct {
	Addons     GetInstanceTypeAddons `pulumi:"addons"`
	Class      string                `pulumi:"class"`
	Disk       int                   `pulumi:"disk"`
	Id         string                `pulumi:"id"`
	Label      string                `pulumi:"label"`
	Memory     int                   `pulumi:"memory"`
	NetworkOut int                   `pulumi:"networkOut"`
	Price      GetInstanceTypePrice  `pulumi:"price"`
	Transfer   int                   `pulumi:"transfer"`
	Vcpus      int                   `pulumi:"vcpus"`
}

A collection of values returned by getInstanceType.

func GetInstanceType added in v1.4.0

func GetInstanceType(ctx *pulumi.Context, args *GetInstanceTypeArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypeResult, error)

Provides information about a Linode instance type

## Attributes

The Linode Instance Type resource exports the following attributes:

* `id` - The ID representing the Linode Type

* `label` - The Linode Type's label is for display purposes only

* `class` - The class of the Linode Type

* `disk` - The Disk size, in MB, of the Linode Type

* `price.0.hourly` - Cost (in US dollars) per hour.

* `price.0.monthly` - Cost (in US dollars) per month.

* `addons.0.backups.0.price.0.hourly` - The cost (in US dollars) per hour to add Backups service.

* `addons.0.backups.0.price.0.monthly` - The cost (in US dollars) per month to add Backups service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/instance_type.html.md.

type GetNetworkingIpArgs

type GetNetworkingIpArgs struct {
	// The IP Address to access.  The address must be associated with the account and a resource that the user has access to view.
	Address string `pulumi:"address"`
}

A collection of arguments for invoking getNetworkingIp.

type GetNetworkingIpResult

type GetNetworkingIpResult struct {
	Address string `pulumi:"address"`
	Gateway string `pulumi:"gateway"`
	// id is the provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	LinodeId   int    `pulumi:"linodeId"`
	Prefix     int    `pulumi:"prefix"`
	Public     bool   `pulumi:"public"`
	Rdns       string `pulumi:"rdns"`
	Region     string `pulumi:"region"`
	SubnetMask string `pulumi:"subnetMask"`
	Type       string `pulumi:"type"`
}

A collection of values returned by getNetworkingIp.

func GetNetworkingIp added in v1.4.0

func GetNetworkingIp(ctx *pulumi.Context, args *GetNetworkingIpArgs, opts ...pulumi.InvokeOption) (*GetNetworkingIpResult, error)

Provides information about a Linode Networking IP Address

## Attributes

The Linode Network IP Address resource exports the following attributes:

* `address` - The IP address.

* `gateway` - The default gateway for this address.

* `subnetMask` - The mask that separates host bits from network bits for this address.

* `prefix` - The number of bits set in the subnet mask.

* `type` - The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).

* `public` - Whether this is a public or private IP address.

* `rdns` - The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.

* `linodeId` - The ID of the Linode this address currently belongs to.

* `region` - The Region this IP address resides in.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/networking_ip.html.md.

type GetObjectStorageClusterArgs added in v1.1.0

type GetObjectStorageClusterArgs struct {
	Domain *string `pulumi:"domain"`
	// The unique ID of this cluster.
	Id               string  `pulumi:"id"`
	Region           *string `pulumi:"region"`
	StaticSiteDomain *string `pulumi:"staticSiteDomain"`
	Status           *string `pulumi:"status"`
}

A collection of arguments for invoking getObjectStorageCluster.

type GetObjectStorageClusterResult added in v1.1.0

type GetObjectStorageClusterResult struct {
	Domain           string `pulumi:"domain"`
	Id               string `pulumi:"id"`
	Region           string `pulumi:"region"`
	StaticSiteDomain string `pulumi:"staticSiteDomain"`
	Status           string `pulumi:"status"`
}

A collection of values returned by getObjectStorageCluster.

func GetObjectStorageCluster added in v1.4.0

func GetObjectStorageCluster(ctx *pulumi.Context, args *GetObjectStorageClusterArgs, opts ...pulumi.InvokeOption) (*GetObjectStorageClusterResult, error)

Provides information about a Linode Object Storage Cluster

## Attributes

The Linode Object Storage Cluster resource exports the following attributes:

* `domain` - The base URL for this cluster.

* `status` - This cluster's status.

* `region` - The region this cluster is located in.

* `staticSiteDomain` - The base URL for this cluster used when hosting static sites.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/object_storage_cluster.html.md.

type GetProfileReferrals added in v1.4.0

type GetProfileReferrals struct {
	Code      string  `pulumi:"code"`
	Completed int     `pulumi:"completed"`
	Credit    float64 `pulumi:"credit"`
	Pending   int     `pulumi:"pending"`
	Total     int     `pulumi:"total"`
	Url       string  `pulumi:"url"`
}

type GetProfileReferralsArgs added in v1.4.0

type GetProfileReferralsArgs struct {
	Code      pulumi.StringInput  `pulumi:"code"`
	Completed pulumi.IntInput     `pulumi:"completed"`
	Credit    pulumi.Float64Input `pulumi:"credit"`
	Pending   pulumi.IntInput     `pulumi:"pending"`
	Total     pulumi.IntInput     `pulumi:"total"`
	Url       pulumi.StringInput  `pulumi:"url"`
}

func (GetProfileReferralsArgs) ElementType added in v1.4.0

func (GetProfileReferralsArgs) ElementType() reflect.Type

func (GetProfileReferralsArgs) ToGetProfileReferralsOutput added in v1.4.0

func (i GetProfileReferralsArgs) ToGetProfileReferralsOutput() GetProfileReferralsOutput

func (GetProfileReferralsArgs) ToGetProfileReferralsOutputWithContext added in v1.4.0

func (i GetProfileReferralsArgs) ToGetProfileReferralsOutputWithContext(ctx context.Context) GetProfileReferralsOutput

type GetProfileReferralsInput added in v1.4.0

type GetProfileReferralsInput interface {
	pulumi.Input

	ToGetProfileReferralsOutput() GetProfileReferralsOutput
	ToGetProfileReferralsOutputWithContext(context.Context) GetProfileReferralsOutput
}

type GetProfileReferralsOutput added in v1.4.0

type GetProfileReferralsOutput struct{ *pulumi.OutputState }

func (GetProfileReferralsOutput) Code added in v1.4.0

func (GetProfileReferralsOutput) Completed added in v1.4.0

func (GetProfileReferralsOutput) Credit added in v1.4.0

func (GetProfileReferralsOutput) ElementType added in v1.4.0

func (GetProfileReferralsOutput) ElementType() reflect.Type

func (GetProfileReferralsOutput) Pending added in v1.4.0

func (GetProfileReferralsOutput) ToGetProfileReferralsOutput added in v1.4.0

func (o GetProfileReferralsOutput) ToGetProfileReferralsOutput() GetProfileReferralsOutput

func (GetProfileReferralsOutput) ToGetProfileReferralsOutputWithContext added in v1.4.0

func (o GetProfileReferralsOutput) ToGetProfileReferralsOutputWithContext(ctx context.Context) GetProfileReferralsOutput

func (GetProfileReferralsOutput) Total added in v1.4.0

func (GetProfileReferralsOutput) Url added in v1.4.0

type GetProfileResult

type GetProfileResult struct {
	AuthorizedKeys     []string `pulumi:"authorizedKeys"`
	Email              string   `pulumi:"email"`
	EmailNotifications bool     `pulumi:"emailNotifications"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                 string              `pulumi:"id"`
	IpWhitelistEnabled bool                `pulumi:"ipWhitelistEnabled"`
	LishAuthMethod     string              `pulumi:"lishAuthMethod"`
	Referrals          GetProfileReferrals `pulumi:"referrals"`
	Restricted         bool                `pulumi:"restricted"`
	Timezone           string              `pulumi:"timezone"`
	TwoFactorAuth      bool                `pulumi:"twoFactorAuth"`
	Username           string              `pulumi:"username"`
}

A collection of values returned by getProfile.

func GetProfile added in v1.4.0

func GetProfile(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetProfileResult, error)

Provides information about a Linode profile.

## Attributes

The Linode Profile resource exports the following attributes:

* `email` - The profile email address. This address will be used for communication with Linode as necessary.

* `timezone` - The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.

* `emailNotifications` - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.

* `username` - The username for logging in to Linode services.

* `ipWhitelistEnabled` - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.

* `lishAuthMethod` - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.

* `authorizedKeys` - The list of SSH Keys authorized to use Lish for this user. This value is ignored if lishAuthMethod is 'disabled'.

* `twoFactorAuth` - If true, logins from untrusted computers will require Two Factor Authentication.

* `restricted` - If true, the user has restrictions on what can be accessed on the Account.

* `referrals` - Credit Card information associated with this Account.

* `referrals.0.total` - The number of users who have signed up with the referral code.

* `referrals.0.credit` - The amount of account credit in US Dollars issued to the account through the referral program.

* `referrals.0.completed` - The number of completed signups with the referral code.

* `referrals.0.pending` - The number of pending signups for the referral code. To receive credit the signups must be completed.

* `referrals.0.code` - The Profile referral code. If new accounts use this when signing up for Linode, referring account will receive credit.

* `referrals.0.url` - The referral URL.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/profile.html.md.

type GetRegionArgs

type GetRegionArgs struct {
	Country *string `pulumi:"country"`
	Id      string  `pulumi:"id"`
}

A collection of arguments for invoking getRegion.

type GetRegionResult

type GetRegionResult struct {
	Country string `pulumi:"country"`
	Id      string `pulumi:"id"`
}

A collection of values returned by getRegion.

func GetRegion added in v1.4.0

func GetRegion(ctx *pulumi.Context, args *GetRegionArgs, opts ...pulumi.InvokeOption) (*GetRegionResult, error)

`.getRegion` provides details about a specific Linode region.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/region.html.md.

type GetStackScriptUserDefinedField added in v1.5.0

type GetStackScriptUserDefinedField struct {
	Default string `pulumi:"default"`
	Example string `pulumi:"example"`
	Label   string `pulumi:"label"`
	ManyOf  string `pulumi:"manyOf"`
	Name    string `pulumi:"name"`
	OneOf   string `pulumi:"oneOf"`
}

type GetStackScriptUserDefinedFieldArgs added in v1.5.0

type GetStackScriptUserDefinedFieldArgs struct {
	Default pulumi.StringInput `pulumi:"default"`
	Example pulumi.StringInput `pulumi:"example"`
	Label   pulumi.StringInput `pulumi:"label"`
	ManyOf  pulumi.StringInput `pulumi:"manyOf"`
	Name    pulumi.StringInput `pulumi:"name"`
	OneOf   pulumi.StringInput `pulumi:"oneOf"`
}

func (GetStackScriptUserDefinedFieldArgs) ElementType added in v1.5.0

func (GetStackScriptUserDefinedFieldArgs) ToGetStackScriptUserDefinedFieldOutput added in v1.5.0

func (i GetStackScriptUserDefinedFieldArgs) ToGetStackScriptUserDefinedFieldOutput() GetStackScriptUserDefinedFieldOutput

func (GetStackScriptUserDefinedFieldArgs) ToGetStackScriptUserDefinedFieldOutputWithContext added in v1.5.0

func (i GetStackScriptUserDefinedFieldArgs) ToGetStackScriptUserDefinedFieldOutputWithContext(ctx context.Context) GetStackScriptUserDefinedFieldOutput

type GetStackScriptUserDefinedFieldArray added in v1.5.0

type GetStackScriptUserDefinedFieldArray []GetStackScriptUserDefinedFieldInput

func (GetStackScriptUserDefinedFieldArray) ElementType added in v1.5.0

func (GetStackScriptUserDefinedFieldArray) ToGetStackScriptUserDefinedFieldArrayOutput added in v1.5.0

func (i GetStackScriptUserDefinedFieldArray) ToGetStackScriptUserDefinedFieldArrayOutput() GetStackScriptUserDefinedFieldArrayOutput

func (GetStackScriptUserDefinedFieldArray) ToGetStackScriptUserDefinedFieldArrayOutputWithContext added in v1.5.0

func (i GetStackScriptUserDefinedFieldArray) ToGetStackScriptUserDefinedFieldArrayOutputWithContext(ctx context.Context) GetStackScriptUserDefinedFieldArrayOutput

type GetStackScriptUserDefinedFieldArrayInput added in v1.5.0

type GetStackScriptUserDefinedFieldArrayInput interface {
	pulumi.Input

	ToGetStackScriptUserDefinedFieldArrayOutput() GetStackScriptUserDefinedFieldArrayOutput
	ToGetStackScriptUserDefinedFieldArrayOutputWithContext(context.Context) GetStackScriptUserDefinedFieldArrayOutput
}

type GetStackScriptUserDefinedFieldArrayOutput added in v1.5.0

type GetStackScriptUserDefinedFieldArrayOutput struct{ *pulumi.OutputState }

func (GetStackScriptUserDefinedFieldArrayOutput) ElementType added in v1.5.0

func (GetStackScriptUserDefinedFieldArrayOutput) Index added in v1.5.0

func (GetStackScriptUserDefinedFieldArrayOutput) ToGetStackScriptUserDefinedFieldArrayOutput added in v1.5.0

func (o GetStackScriptUserDefinedFieldArrayOutput) ToGetStackScriptUserDefinedFieldArrayOutput() GetStackScriptUserDefinedFieldArrayOutput

func (GetStackScriptUserDefinedFieldArrayOutput) ToGetStackScriptUserDefinedFieldArrayOutputWithContext added in v1.5.0

func (o GetStackScriptUserDefinedFieldArrayOutput) ToGetStackScriptUserDefinedFieldArrayOutputWithContext(ctx context.Context) GetStackScriptUserDefinedFieldArrayOutput

type GetStackScriptUserDefinedFieldInput added in v1.5.0

type GetStackScriptUserDefinedFieldInput interface {
	pulumi.Input

	ToGetStackScriptUserDefinedFieldOutput() GetStackScriptUserDefinedFieldOutput
	ToGetStackScriptUserDefinedFieldOutputWithContext(context.Context) GetStackScriptUserDefinedFieldOutput
}

type GetStackScriptUserDefinedFieldOutput added in v1.5.0

type GetStackScriptUserDefinedFieldOutput struct{ *pulumi.OutputState }

func (GetStackScriptUserDefinedFieldOutput) Default added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) ElementType added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) Example added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) Label added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) ManyOf added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) Name added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) OneOf added in v1.5.0

func (GetStackScriptUserDefinedFieldOutput) ToGetStackScriptUserDefinedFieldOutput added in v1.5.0

func (o GetStackScriptUserDefinedFieldOutput) ToGetStackScriptUserDefinedFieldOutput() GetStackScriptUserDefinedFieldOutput

func (GetStackScriptUserDefinedFieldOutput) ToGetStackScriptUserDefinedFieldOutputWithContext added in v1.5.0

func (o GetStackScriptUserDefinedFieldOutput) ToGetStackScriptUserDefinedFieldOutputWithContext(ctx context.Context) GetStackScriptUserDefinedFieldOutput

type GetUserArgs

type GetUserArgs struct {
	// The unique username of this User.
	Username string `pulumi:"username"`
}

A collection of arguments for invoking getUser.

type GetUserResult

type GetUserResult struct {
	Email string `pulumi:"email"`
	// id is the provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Restricted bool     `pulumi:"restricted"`
	SshKeys    []string `pulumi:"sshKeys"`
	Username   string   `pulumi:"username"`
}

A collection of values returned by getUser.

func GetUser added in v1.4.0

func GetUser(ctx *pulumi.Context, args *GetUserArgs, opts ...pulumi.InvokeOption) (*GetUserResult, error)

Provides information about a Linode user

## Attributes

The Linode User resource exports the following attributes:

* `sshKeys` - A list of SSH Key labels added by this User. These are the keys that will be deployed if this User is included in the authorizedUsers field of a create Linode, rebuild Linode, or create Disk request.

* `email` - The email address for this User, for account management communications, and may be used for other communications as configured.

* `restricted` - If true, this User must be granted access to perform actions or access entities on this Account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/user.html.md.

type Image

type Image struct {
	pulumi.CustomResourceState

	// When this Image was created.
	Created pulumi.StringOutput `pulumi:"created"`
	// The name of the User who created this Image.
	CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
	// Whether or not this Image is deprecated. Will only be True for deprecated public Images.
	Deprecated pulumi.BoolOutput `pulumi:"deprecated"`
	// A detailed description of this Image.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the Linode Disk that this Image will be created from.
	DiskId pulumi.IntOutput `pulumi:"diskId"`
	// Only Images created automatically (from a deleted Linode; type=automatic) will expire.
	Expiry pulumi.StringOutput `pulumi:"expiry"`
	// True if the Image is public.
	IsPublic pulumi.BoolOutput `pulumi:"isPublic"`
	// A short description of the Image. Labels cannot contain special characters.
	Label pulumi.StringOutput `pulumi:"label"`
	// The ID of the Linode that this Image will be created from.
	LinodeId pulumi.IntOutput `pulumi:"linodeId"`
	// The minimum size this Image needs to deploy. Size is in MB.
	Size pulumi.IntOutput `pulumi:"size"`
	// How the Image was created. 'Manual' Images can be created at any time. 'Automatic' images are created automatically from
	// a deleted Linode.
	Type pulumi.StringOutput `pulumi:"type"`
	// The upstream distribution vendor. Nil for private Images.
	Vendor pulumi.StringOutput `pulumi:"vendor"`
}

Provides a Linode Image resource. This can be used to create, modify, and delete Linodes Images. Linode Images are snapshots of a Linode Instance Disk which can then be used to provision more Linode Instances. Images can be used across regions.

For more information, see [Linode's documentation on Images](https://www.linode.com/docs/platform/disk-images/linode-images/) and the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/createImage).

## Attributes

This resource exports the following attributes:

* `id` - The unique ID of this Image. The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.

* `created` - When this Image was created.

* `createdBy` - The name of the User who created this Image.

* `deprecated` - Whether or not this Image is deprecated. Will only be True for deprecated public Images.

* `isPublic` - True if the Image is public.

* `size` - The minimum size this Image needs to deploy. Size is in MB.

* `type` - How the Image was created. 'Manual' Images can be created at any time. 'Automatic' images are created automatically from a deleted Linode.

* `expiry` - Only Images created automatically (from a deleted Linode; type=automatic) will expire.

* `vendor` - The upstream distribution vendor. Nil for private Images.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/image.html.md.

func GetImage

func GetImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImageState, opts ...pulumi.ResourceOption) (*Image, error)

GetImage gets an existing Image resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewImage

func NewImage(ctx *pulumi.Context,
	name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error)

NewImage registers a new resource with the given unique name, arguments, and options.

type ImageArgs

type ImageArgs struct {
	// A detailed description of this Image.
	Description pulumi.StringPtrInput
	// The ID of the Linode Disk that this Image will be created from.
	DiskId pulumi.IntInput
	// A short description of the Image. Labels cannot contain special characters.
	Label pulumi.StringInput
	// The ID of the Linode that this Image will be created from.
	LinodeId pulumi.IntInput
}

The set of arguments for constructing a Image resource.

func (ImageArgs) ElementType added in v1.4.0

func (ImageArgs) ElementType() reflect.Type

type ImageState

type ImageState struct {
	// When this Image was created.
	Created pulumi.StringPtrInput
	// The name of the User who created this Image.
	CreatedBy pulumi.StringPtrInput
	// Whether or not this Image is deprecated. Will only be True for deprecated public Images.
	Deprecated pulumi.BoolPtrInput
	// A detailed description of this Image.
	Description pulumi.StringPtrInput
	// The ID of the Linode Disk that this Image will be created from.
	DiskId pulumi.IntPtrInput
	// Only Images created automatically (from a deleted Linode; type=automatic) will expire.
	Expiry pulumi.StringPtrInput
	// True if the Image is public.
	IsPublic pulumi.BoolPtrInput
	// A short description of the Image. Labels cannot contain special characters.
	Label pulumi.StringPtrInput
	// The ID of the Linode that this Image will be created from.
	LinodeId pulumi.IntPtrInput
	// The minimum size this Image needs to deploy. Size is in MB.
	Size pulumi.IntPtrInput
	// How the Image was created. 'Manual' Images can be created at any time. 'Automatic' images are created automatically from
	// a deleted Linode.
	Type pulumi.StringPtrInput
	// The upstream distribution vendor. Nil for private Images.
	Vendor pulumi.StringPtrInput
}

func (ImageState) ElementType added in v1.4.0

func (ImageState) ElementType() reflect.Type

type Instance

type Instance struct {
	pulumi.CustomResourceState

	Alerts InstanceAlertsOutput `pulumi:"alerts"`
	// 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 `authorizedKeys` forces the creation of a new Linode Instance.*
	AuthorizedKeys pulumi.StringArrayOutput `pulumi:"authorizedKeys"`
	// 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 `authorizedUsers` forces the creation of a new Linode Instance.*
	AuthorizedUsers pulumi.StringArrayOutput `pulumi:"authorizedUsers"`
	// A Backup ID from another Linode's available backups. Your User must have readWrite 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 `backupId` forces the creation of a new Linode Instance.*
	BackupId pulumi.IntPtrOutput `pulumi:"backupId"`
	// Information about this Linode's backups status.
	Backups InstanceBackupsOutput `pulumi:"backups"`
	// 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.
	BackupsEnabled pulumi.BoolOutput `pulumi:"backupsEnabled"`
	// 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 `bootConfigLabel`. *This value can not be imported.*
	BootConfigLabel pulumi.StringOutput `pulumi:"bootConfigLabel"`
	// Configuration profiles define the VM settings and boot behavior of the Linode Instance.
	Configs InstanceConfigArrayOutput `pulumi:"configs"`
	Disks   InstanceDiskArrayOutput   `pulumi:"disks"`
	// The display group of the Linode instance.
	Group pulumi.StringPtrOutput `pulumi:"group"`
	// 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`. *Changing `image` forces the creation of a new Linode Instance.*
	Image pulumi.StringPtrOutput `pulumi:"image"`
	// 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.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// 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.
	Ipv4s pulumi.StringArrayOutput `pulumi:"ipv4s"`
	// This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared.
	Ipv6 pulumi.StringOutput `pulumi:"ipv6"`
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label pulumi.StringOutput `pulumi:"label"`
	// 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.
	PrivateIp pulumi.BoolPtrOutput `pulumi:"privateIp"`
	// 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.
	PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"`
	// This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode Instance.*.
	Region pulumi.StringOutput `pulumi:"region"`
	// The password that will be initialially assigned to the 'root' user account.
	RootPass pulumi.StringPtrOutput `pulumi:"rootPass"`
	Specs    InstanceSpecsOutput    `pulumi:"specs"`
	// 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 `stackscriptData` forces the creation of a new Linode Instance.*
	StackscriptData pulumi.StringMapOutput `pulumi:"stackscriptData"`
	// 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 `stackscriptId` forces the creation of a new Linode Instance.*
	StackscriptId pulumi.IntPtrOutput `pulumi:"stackscriptId"`
	// The status of the instance, indicating the current readiness state.
	Status pulumi.StringOutput `pulumi:"status"`
	// 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.
	SwapSize pulumi.IntOutput `pulumi:"swapSize"`
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// 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.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// 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.
	WatchdogEnabled pulumi.BoolPtrOutput `pulumi:"watchdogEnabled"`
}

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

type InstanceAlerts added in v1.4.0

type InstanceAlerts struct {
	Cpu           *int `pulumi:"cpu"`
	Io            *int `pulumi:"io"`
	NetworkIn     *int `pulumi:"networkIn"`
	NetworkOut    *int `pulumi:"networkOut"`
	TransferQuota *int `pulumi:"transferQuota"`
}

type InstanceAlertsArgs added in v1.4.0

type InstanceAlertsArgs struct {
	Cpu           pulumi.IntPtrInput `pulumi:"cpu"`
	Io            pulumi.IntPtrInput `pulumi:"io"`
	NetworkIn     pulumi.IntPtrInput `pulumi:"networkIn"`
	NetworkOut    pulumi.IntPtrInput `pulumi:"networkOut"`
	TransferQuota pulumi.IntPtrInput `pulumi:"transferQuota"`
}

func (InstanceAlertsArgs) ElementType added in v1.4.0

func (InstanceAlertsArgs) ElementType() reflect.Type

func (InstanceAlertsArgs) ToInstanceAlertsOutput added in v1.4.0

func (i InstanceAlertsArgs) ToInstanceAlertsOutput() InstanceAlertsOutput

func (InstanceAlertsArgs) ToInstanceAlertsOutputWithContext added in v1.4.0

func (i InstanceAlertsArgs) ToInstanceAlertsOutputWithContext(ctx context.Context) InstanceAlertsOutput

func (InstanceAlertsArgs) ToInstanceAlertsPtrOutput added in v1.4.0

func (i InstanceAlertsArgs) ToInstanceAlertsPtrOutput() InstanceAlertsPtrOutput

func (InstanceAlertsArgs) ToInstanceAlertsPtrOutputWithContext added in v1.4.0

func (i InstanceAlertsArgs) ToInstanceAlertsPtrOutputWithContext(ctx context.Context) InstanceAlertsPtrOutput

type InstanceAlertsInput added in v1.4.0

type InstanceAlertsInput interface {
	pulumi.Input

	ToInstanceAlertsOutput() InstanceAlertsOutput
	ToInstanceAlertsOutputWithContext(context.Context) InstanceAlertsOutput
}

type InstanceAlertsOutput added in v1.4.0

type InstanceAlertsOutput struct{ *pulumi.OutputState }

func (InstanceAlertsOutput) Cpu added in v1.4.0

func (InstanceAlertsOutput) ElementType added in v1.4.0

func (InstanceAlertsOutput) ElementType() reflect.Type

func (InstanceAlertsOutput) Io added in v1.4.0

func (InstanceAlertsOutput) NetworkIn added in v1.4.0

func (InstanceAlertsOutput) NetworkOut added in v1.4.0

func (o InstanceAlertsOutput) NetworkOut() pulumi.IntPtrOutput

func (InstanceAlertsOutput) ToInstanceAlertsOutput added in v1.4.0

func (o InstanceAlertsOutput) ToInstanceAlertsOutput() InstanceAlertsOutput

func (InstanceAlertsOutput) ToInstanceAlertsOutputWithContext added in v1.4.0

func (o InstanceAlertsOutput) ToInstanceAlertsOutputWithContext(ctx context.Context) InstanceAlertsOutput

func (InstanceAlertsOutput) ToInstanceAlertsPtrOutput added in v1.4.0

func (o InstanceAlertsOutput) ToInstanceAlertsPtrOutput() InstanceAlertsPtrOutput

func (InstanceAlertsOutput) ToInstanceAlertsPtrOutputWithContext added in v1.4.0

func (o InstanceAlertsOutput) ToInstanceAlertsPtrOutputWithContext(ctx context.Context) InstanceAlertsPtrOutput

func (InstanceAlertsOutput) TransferQuota added in v1.4.0

func (o InstanceAlertsOutput) TransferQuota() pulumi.IntPtrOutput

type InstanceAlertsPtrInput added in v1.4.0

type InstanceAlertsPtrInput interface {
	pulumi.Input

	ToInstanceAlertsPtrOutput() InstanceAlertsPtrOutput
	ToInstanceAlertsPtrOutputWithContext(context.Context) InstanceAlertsPtrOutput
}

func InstanceAlertsPtr added in v1.4.0

func InstanceAlertsPtr(v *InstanceAlertsArgs) InstanceAlertsPtrInput

type InstanceAlertsPtrOutput added in v1.4.0

type InstanceAlertsPtrOutput struct{ *pulumi.OutputState }

func (InstanceAlertsPtrOutput) Cpu added in v1.4.0

func (InstanceAlertsPtrOutput) Elem added in v1.4.0

func (InstanceAlertsPtrOutput) ElementType added in v1.4.0

func (InstanceAlertsPtrOutput) ElementType() reflect.Type

func (InstanceAlertsPtrOutput) Io added in v1.4.0

func (InstanceAlertsPtrOutput) NetworkIn added in v1.4.0

func (InstanceAlertsPtrOutput) NetworkOut added in v1.4.0

func (InstanceAlertsPtrOutput) ToInstanceAlertsPtrOutput added in v1.4.0

func (o InstanceAlertsPtrOutput) ToInstanceAlertsPtrOutput() InstanceAlertsPtrOutput

func (InstanceAlertsPtrOutput) ToInstanceAlertsPtrOutputWithContext added in v1.4.0

func (o InstanceAlertsPtrOutput) ToInstanceAlertsPtrOutputWithContext(ctx context.Context) InstanceAlertsPtrOutput

func (InstanceAlertsPtrOutput) TransferQuota added in v1.4.0

func (o InstanceAlertsPtrOutput) TransferQuota() pulumi.IntPtrOutput

type InstanceArgs

type InstanceArgs struct {
	Alerts InstanceAlertsPtrInput
	// 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 `authorizedKeys` forces the creation of a new Linode Instance.*
	AuthorizedKeys pulumi.StringArrayInput
	// 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 `authorizedUsers` forces the creation of a new Linode Instance.*
	AuthorizedUsers pulumi.StringArrayInput
	// A Backup ID from another Linode's available backups. Your User must have readWrite 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 `backupId` forces the creation of a new Linode Instance.*
	BackupId pulumi.IntPtrInput
	// 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.
	BackupsEnabled pulumi.BoolPtrInput
	// 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 `bootConfigLabel`. *This value can not be imported.*
	BootConfigLabel pulumi.StringPtrInput
	// Configuration profiles define the VM settings and boot behavior of the Linode Instance.
	Configs InstanceConfigArrayInput
	Disks   InstanceDiskArrayInput
	// The display group of the Linode instance.
	Group pulumi.StringPtrInput
	// 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`. *Changing `image` forces the creation of a new Linode Instance.*
	Image pulumi.StringPtrInput
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label pulumi.StringPtrInput
	// 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.
	PrivateIp pulumi.BoolPtrInput
	// This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode Instance.*.
	Region pulumi.StringInput
	// The password that will be initialially assigned to the 'root' user account.
	RootPass pulumi.StringPtrInput
	// 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 `stackscriptData` forces the creation of a new Linode Instance.*
	StackscriptData pulumi.StringMapInput
	// 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 `stackscriptId` forces the creation of a new Linode Instance.*
	StackscriptId pulumi.IntPtrInput
	// 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.
	SwapSize pulumi.IntPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
	// 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.
	Type pulumi.StringPtrInput
	// 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.
	WatchdogEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v1.4.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceBackups added in v1.4.0

type InstanceBackups struct {
	Enabled  *bool                    `pulumi:"enabled"`
	Schedule *InstanceBackupsSchedule `pulumi:"schedule"`
}

type InstanceBackupsArgs added in v1.4.0

type InstanceBackupsArgs struct {
	Enabled  pulumi.BoolPtrInput             `pulumi:"enabled"`
	Schedule InstanceBackupsSchedulePtrInput `pulumi:"schedule"`
}

func (InstanceBackupsArgs) ElementType added in v1.4.0

func (InstanceBackupsArgs) ElementType() reflect.Type

func (InstanceBackupsArgs) ToInstanceBackupsOutput added in v1.4.0

func (i InstanceBackupsArgs) ToInstanceBackupsOutput() InstanceBackupsOutput

func (InstanceBackupsArgs) ToInstanceBackupsOutputWithContext added in v1.4.0

func (i InstanceBackupsArgs) ToInstanceBackupsOutputWithContext(ctx context.Context) InstanceBackupsOutput

func (InstanceBackupsArgs) ToInstanceBackupsPtrOutput added in v1.4.0

func (i InstanceBackupsArgs) ToInstanceBackupsPtrOutput() InstanceBackupsPtrOutput

func (InstanceBackupsArgs) ToInstanceBackupsPtrOutputWithContext added in v1.4.0

func (i InstanceBackupsArgs) ToInstanceBackupsPtrOutputWithContext(ctx context.Context) InstanceBackupsPtrOutput

type InstanceBackupsInput added in v1.4.0

type InstanceBackupsInput interface {
	pulumi.Input

	ToInstanceBackupsOutput() InstanceBackupsOutput
	ToInstanceBackupsOutputWithContext(context.Context) InstanceBackupsOutput
}

type InstanceBackupsOutput added in v1.4.0

type InstanceBackupsOutput struct{ *pulumi.OutputState }

func (InstanceBackupsOutput) ElementType added in v1.4.0

func (InstanceBackupsOutput) ElementType() reflect.Type

func (InstanceBackupsOutput) Enabled added in v1.4.0

func (InstanceBackupsOutput) Schedule added in v1.4.0

func (InstanceBackupsOutput) ToInstanceBackupsOutput added in v1.4.0

func (o InstanceBackupsOutput) ToInstanceBackupsOutput() InstanceBackupsOutput

func (InstanceBackupsOutput) ToInstanceBackupsOutputWithContext added in v1.4.0

func (o InstanceBackupsOutput) ToInstanceBackupsOutputWithContext(ctx context.Context) InstanceBackupsOutput

func (InstanceBackupsOutput) ToInstanceBackupsPtrOutput added in v1.4.0

func (o InstanceBackupsOutput) ToInstanceBackupsPtrOutput() InstanceBackupsPtrOutput

func (InstanceBackupsOutput) ToInstanceBackupsPtrOutputWithContext added in v1.4.0

func (o InstanceBackupsOutput) ToInstanceBackupsPtrOutputWithContext(ctx context.Context) InstanceBackupsPtrOutput

type InstanceBackupsPtrInput added in v1.4.0

type InstanceBackupsPtrInput interface {
	pulumi.Input

	ToInstanceBackupsPtrOutput() InstanceBackupsPtrOutput
	ToInstanceBackupsPtrOutputWithContext(context.Context) InstanceBackupsPtrOutput
}

func InstanceBackupsPtr added in v1.4.0

func InstanceBackupsPtr(v *InstanceBackupsArgs) InstanceBackupsPtrInput

type InstanceBackupsPtrOutput added in v1.4.0

type InstanceBackupsPtrOutput struct{ *pulumi.OutputState }

func (InstanceBackupsPtrOutput) Elem added in v1.4.0

func (InstanceBackupsPtrOutput) ElementType added in v1.4.0

func (InstanceBackupsPtrOutput) ElementType() reflect.Type

func (InstanceBackupsPtrOutput) Enabled added in v1.4.0

func (InstanceBackupsPtrOutput) Schedule added in v1.4.0

func (InstanceBackupsPtrOutput) ToInstanceBackupsPtrOutput added in v1.4.0

func (o InstanceBackupsPtrOutput) ToInstanceBackupsPtrOutput() InstanceBackupsPtrOutput

func (InstanceBackupsPtrOutput) ToInstanceBackupsPtrOutputWithContext added in v1.4.0

func (o InstanceBackupsPtrOutput) ToInstanceBackupsPtrOutputWithContext(ctx context.Context) InstanceBackupsPtrOutput

type InstanceBackupsSchedule added in v1.4.0

type InstanceBackupsSchedule struct {
	Day    *string `pulumi:"day"`
	Window *string `pulumi:"window"`
}

type InstanceBackupsScheduleArgs added in v1.4.0

type InstanceBackupsScheduleArgs struct {
	Day    pulumi.StringPtrInput `pulumi:"day"`
	Window pulumi.StringPtrInput `pulumi:"window"`
}

func (InstanceBackupsScheduleArgs) ElementType added in v1.4.0

func (InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutput added in v1.4.0

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutput() InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutputWithContext added in v1.4.0

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutputWithContext(ctx context.Context) InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutput added in v1.4.0

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput

func (InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutputWithContext added in v1.4.0

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutputWithContext(ctx context.Context) InstanceBackupsSchedulePtrOutput

type InstanceBackupsScheduleInput added in v1.4.0

type InstanceBackupsScheduleInput interface {
	pulumi.Input

	ToInstanceBackupsScheduleOutput() InstanceBackupsScheduleOutput
	ToInstanceBackupsScheduleOutputWithContext(context.Context) InstanceBackupsScheduleOutput
}

type InstanceBackupsScheduleOutput added in v1.4.0

type InstanceBackupsScheduleOutput struct{ *pulumi.OutputState }

func (InstanceBackupsScheduleOutput) Day added in v1.4.0

func (InstanceBackupsScheduleOutput) ElementType added in v1.4.0

func (InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutput added in v1.4.0

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutput() InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutputWithContext added in v1.4.0

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutputWithContext(ctx context.Context) InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutput added in v1.4.0

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput

func (InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutputWithContext added in v1.4.0

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutputWithContext(ctx context.Context) InstanceBackupsSchedulePtrOutput

func (InstanceBackupsScheduleOutput) Window added in v1.4.0

type InstanceBackupsSchedulePtrInput added in v1.4.0

type InstanceBackupsSchedulePtrInput interface {
	pulumi.Input

	ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput
	ToInstanceBackupsSchedulePtrOutputWithContext(context.Context) InstanceBackupsSchedulePtrOutput
}

func InstanceBackupsSchedulePtr added in v1.4.0

func InstanceBackupsSchedulePtr(v *InstanceBackupsScheduleArgs) InstanceBackupsSchedulePtrInput

type InstanceBackupsSchedulePtrOutput added in v1.4.0

type InstanceBackupsSchedulePtrOutput struct{ *pulumi.OutputState }

func (InstanceBackupsSchedulePtrOutput) Day added in v1.4.0

func (InstanceBackupsSchedulePtrOutput) Elem added in v1.4.0

func (InstanceBackupsSchedulePtrOutput) ElementType added in v1.4.0

func (InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutput added in v1.4.0

func (o InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput

func (InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutputWithContext added in v1.4.0

func (o InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutputWithContext(ctx context.Context) InstanceBackupsSchedulePtrOutput

func (InstanceBackupsSchedulePtrOutput) Window added in v1.4.0

type InstanceConfig added in v1.4.0

type InstanceConfig struct {
	// - Arbitrary user comments about this `config`.
	Comments *string `pulumi:"comments"`
	// A list of `disk` or `volume` attachments for this `config`.  If the `bootConfigLabel` omits a `devices` block, the Linode will not be booted.
	Devices *InstanceConfigDevices `pulumi:"devices"`
	// Helpers enabled when booting to this Linode Config.
	Helpers *InstanceConfigHelpers `pulumi:"helpers"`
	// - A Kernel ID to boot a Linode with. Default is based on image choice. (examples: linode/latest-64bit, linode/grub2, linode/direct-disk)
	Kernel *string `pulumi:"kernel"`
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label string `pulumi:"label"`
	// - Defaults to the total RAM of the Linode
	MemoryLimit *int `pulumi:"memoryLimit"`
	// - The root device to boot. The corresponding disk must be attached to a `device` slot.  Example: `"/dev/sda"`
	RootDevice *string `pulumi:"rootDevice"`
	// - Defines the state of your Linode after booting. Defaults to `"default"`.
	RunLevel *string `pulumi:"runLevel"`
	// - Controls the virtualization mode. Defaults to `"paravirt"`.
	VirtMode *string `pulumi:"virtMode"`
}

type InstanceConfigArgs added in v1.4.0

type InstanceConfigArgs struct {
	// - Arbitrary user comments about this `config`.
	Comments pulumi.StringPtrInput `pulumi:"comments"`
	// A list of `disk` or `volume` attachments for this `config`.  If the `bootConfigLabel` omits a `devices` block, the Linode will not be booted.
	Devices InstanceConfigDevicesPtrInput `pulumi:"devices"`
	// Helpers enabled when booting to this Linode Config.
	Helpers InstanceConfigHelpersPtrInput `pulumi:"helpers"`
	// - A Kernel ID to boot a Linode with. Default is based on image choice. (examples: linode/latest-64bit, linode/grub2, linode/direct-disk)
	Kernel pulumi.StringPtrInput `pulumi:"kernel"`
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label pulumi.StringInput `pulumi:"label"`
	// - Defaults to the total RAM of the Linode
	MemoryLimit pulumi.IntPtrInput `pulumi:"memoryLimit"`
	// - The root device to boot. The corresponding disk must be attached to a `device` slot.  Example: `"/dev/sda"`
	RootDevice pulumi.StringPtrInput `pulumi:"rootDevice"`
	// - Defines the state of your Linode after booting. Defaults to `"default"`.
	RunLevel pulumi.StringPtrInput `pulumi:"runLevel"`
	// - Controls the virtualization mode. Defaults to `"paravirt"`.
	VirtMode pulumi.StringPtrInput `pulumi:"virtMode"`
}

func (InstanceConfigArgs) ElementType added in v1.4.0

func (InstanceConfigArgs) ElementType() reflect.Type

func (InstanceConfigArgs) ToInstanceConfigOutput added in v1.4.0

func (i InstanceConfigArgs) ToInstanceConfigOutput() InstanceConfigOutput

func (InstanceConfigArgs) ToInstanceConfigOutputWithContext added in v1.4.0

func (i InstanceConfigArgs) ToInstanceConfigOutputWithContext(ctx context.Context) InstanceConfigOutput

type InstanceConfigArray added in v1.4.0

type InstanceConfigArray []InstanceConfigInput

func (InstanceConfigArray) ElementType added in v1.4.0

func (InstanceConfigArray) ElementType() reflect.Type

func (InstanceConfigArray) ToInstanceConfigArrayOutput added in v1.4.0

func (i InstanceConfigArray) ToInstanceConfigArrayOutput() InstanceConfigArrayOutput

func (InstanceConfigArray) ToInstanceConfigArrayOutputWithContext added in v1.4.0

func (i InstanceConfigArray) ToInstanceConfigArrayOutputWithContext(ctx context.Context) InstanceConfigArrayOutput

type InstanceConfigArrayInput added in v1.4.0

type InstanceConfigArrayInput interface {
	pulumi.Input

	ToInstanceConfigArrayOutput() InstanceConfigArrayOutput
	ToInstanceConfigArrayOutputWithContext(context.Context) InstanceConfigArrayOutput
}

type InstanceConfigArrayOutput added in v1.4.0

type InstanceConfigArrayOutput struct{ *pulumi.OutputState }

func (InstanceConfigArrayOutput) ElementType added in v1.4.0

func (InstanceConfigArrayOutput) ElementType() reflect.Type

func (InstanceConfigArrayOutput) Index added in v1.4.0

func (InstanceConfigArrayOutput) ToInstanceConfigArrayOutput added in v1.4.0

func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutput() InstanceConfigArrayOutput

func (InstanceConfigArrayOutput) ToInstanceConfigArrayOutputWithContext added in v1.4.0

func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutputWithContext(ctx context.Context) InstanceConfigArrayOutput

type InstanceConfigDevices added in v1.4.0

type InstanceConfigDevices struct {
	Sda *InstanceConfigDevicesSda `pulumi:"sda"`
	Sdb *InstanceConfigDevicesSdb `pulumi:"sdb"`
	Sdc *InstanceConfigDevicesSdc `pulumi:"sdc"`
	Sdd *InstanceConfigDevicesSdd `pulumi:"sdd"`
	Sde *InstanceConfigDevicesSde `pulumi:"sde"`
	Sdf *InstanceConfigDevicesSdf `pulumi:"sdf"`
	Sdg *InstanceConfigDevicesSdg `pulumi:"sdg"`
	Sdh *InstanceConfigDevicesSdh `pulumi:"sdh"`
}

type InstanceConfigDevicesArgs added in v1.4.0

type InstanceConfigDevicesArgs struct {
	Sda InstanceConfigDevicesSdaPtrInput `pulumi:"sda"`
	Sdb InstanceConfigDevicesSdbPtrInput `pulumi:"sdb"`
	Sdc InstanceConfigDevicesSdcPtrInput `pulumi:"sdc"`
	Sdd InstanceConfigDevicesSddPtrInput `pulumi:"sdd"`
	Sde InstanceConfigDevicesSdePtrInput `pulumi:"sde"`
	Sdf InstanceConfigDevicesSdfPtrInput `pulumi:"sdf"`
	Sdg InstanceConfigDevicesSdgPtrInput `pulumi:"sdg"`
	Sdh InstanceConfigDevicesSdhPtrInput `pulumi:"sdh"`
}

func (InstanceConfigDevicesArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesArgs) ElementType() reflect.Type

func (InstanceConfigDevicesArgs) ToInstanceConfigDevicesOutput added in v1.4.0

func (i InstanceConfigDevicesArgs) ToInstanceConfigDevicesOutput() InstanceConfigDevicesOutput

func (InstanceConfigDevicesArgs) ToInstanceConfigDevicesOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesArgs) ToInstanceConfigDevicesOutputWithContext(ctx context.Context) InstanceConfigDevicesOutput

func (InstanceConfigDevicesArgs) ToInstanceConfigDevicesPtrOutput added in v1.4.0

func (i InstanceConfigDevicesArgs) ToInstanceConfigDevicesPtrOutput() InstanceConfigDevicesPtrOutput

func (InstanceConfigDevicesArgs) ToInstanceConfigDevicesPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesArgs) ToInstanceConfigDevicesPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesPtrOutput

type InstanceConfigDevicesInput added in v1.4.0

type InstanceConfigDevicesInput interface {
	pulumi.Input

	ToInstanceConfigDevicesOutput() InstanceConfigDevicesOutput
	ToInstanceConfigDevicesOutputWithContext(context.Context) InstanceConfigDevicesOutput
}

type InstanceConfigDevicesOutput added in v1.4.0

type InstanceConfigDevicesOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesOutput) Sda added in v1.4.0

func (InstanceConfigDevicesOutput) Sdb added in v1.4.0

func (InstanceConfigDevicesOutput) Sdc added in v1.4.0

func (InstanceConfigDevicesOutput) Sdd added in v1.4.0

func (InstanceConfigDevicesOutput) Sde added in v1.4.0

func (InstanceConfigDevicesOutput) Sdf added in v1.4.0

func (InstanceConfigDevicesOutput) Sdg added in v1.4.0

func (InstanceConfigDevicesOutput) Sdh added in v1.4.0

func (InstanceConfigDevicesOutput) ToInstanceConfigDevicesOutput added in v1.4.0

func (o InstanceConfigDevicesOutput) ToInstanceConfigDevicesOutput() InstanceConfigDevicesOutput

func (InstanceConfigDevicesOutput) ToInstanceConfigDevicesOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesOutput) ToInstanceConfigDevicesOutputWithContext(ctx context.Context) InstanceConfigDevicesOutput

func (InstanceConfigDevicesOutput) ToInstanceConfigDevicesPtrOutput added in v1.4.0

func (o InstanceConfigDevicesOutput) ToInstanceConfigDevicesPtrOutput() InstanceConfigDevicesPtrOutput

func (InstanceConfigDevicesOutput) ToInstanceConfigDevicesPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesOutput) ToInstanceConfigDevicesPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesPtrOutput

type InstanceConfigDevicesPtrInput added in v1.4.0

type InstanceConfigDevicesPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesPtrOutput() InstanceConfigDevicesPtrOutput
	ToInstanceConfigDevicesPtrOutputWithContext(context.Context) InstanceConfigDevicesPtrOutput
}

func InstanceConfigDevicesPtr added in v1.4.0

func InstanceConfigDevicesPtr(v *InstanceConfigDevicesArgs) InstanceConfigDevicesPtrInput

type InstanceConfigDevicesPtrOutput added in v1.4.0

type InstanceConfigDevicesPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sda added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sdb added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sdc added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sdd added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sde added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sdf added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sdg added in v1.4.0

func (InstanceConfigDevicesPtrOutput) Sdh added in v1.4.0

func (InstanceConfigDevicesPtrOutput) ToInstanceConfigDevicesPtrOutput added in v1.4.0

func (o InstanceConfigDevicesPtrOutput) ToInstanceConfigDevicesPtrOutput() InstanceConfigDevicesPtrOutput

func (InstanceConfigDevicesPtrOutput) ToInstanceConfigDevicesPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesPtrOutput) ToInstanceConfigDevicesPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesPtrOutput

type InstanceConfigDevicesSda added in v1.4.0

type InstanceConfigDevicesSda struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdaArgs added in v1.4.0

type InstanceConfigDevicesSdaArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdaArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaOutput added in v1.4.0

func (i InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaOutput() InstanceConfigDevicesSdaOutput

func (InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaOutputWithContext(ctx context.Context) InstanceConfigDevicesSdaOutput

func (InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaPtrOutput() InstanceConfigDevicesSdaPtrOutput

func (InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdaArgs) ToInstanceConfigDevicesSdaPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdaPtrOutput

type InstanceConfigDevicesSdaInput added in v1.4.0

type InstanceConfigDevicesSdaInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdaOutput() InstanceConfigDevicesSdaOutput
	ToInstanceConfigDevicesSdaOutputWithContext(context.Context) InstanceConfigDevicesSdaOutput
}

type InstanceConfigDevicesSdaOutput added in v1.4.0

type InstanceConfigDevicesSdaOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdaOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdaOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdaOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaOutput added in v1.4.0

func (o InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaOutput() InstanceConfigDevicesSdaOutput

func (InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaOutputWithContext(ctx context.Context) InstanceConfigDevicesSdaOutput

func (InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaPtrOutput() InstanceConfigDevicesSdaPtrOutput

func (InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdaOutput) ToInstanceConfigDevicesSdaPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdaPtrOutput

func (InstanceConfigDevicesSdaOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdaPtrInput added in v1.4.0

type InstanceConfigDevicesSdaPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdaPtrOutput() InstanceConfigDevicesSdaPtrOutput
	ToInstanceConfigDevicesSdaPtrOutputWithContext(context.Context) InstanceConfigDevicesSdaPtrOutput
}

func InstanceConfigDevicesSdaPtr added in v1.4.0

func InstanceConfigDevicesSdaPtr(v *InstanceConfigDevicesSdaArgs) InstanceConfigDevicesSdaPtrInput

type InstanceConfigDevicesSdaPtrOutput added in v1.4.0

type InstanceConfigDevicesSdaPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdaPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdaPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdaPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdaPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdaPtrOutput) ToInstanceConfigDevicesSdaPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdaPtrOutput) ToInstanceConfigDevicesSdaPtrOutput() InstanceConfigDevicesSdaPtrOutput

func (InstanceConfigDevicesSdaPtrOutput) ToInstanceConfigDevicesSdaPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdaPtrOutput) ToInstanceConfigDevicesSdaPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdaPtrOutput

func (InstanceConfigDevicesSdaPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdb added in v1.4.0

type InstanceConfigDevicesSdb struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdbArgs added in v1.4.0

type InstanceConfigDevicesSdbArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdbArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbOutput added in v1.4.0

func (i InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbOutput() InstanceConfigDevicesSdbOutput

func (InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbOutputWithContext(ctx context.Context) InstanceConfigDevicesSdbOutput

func (InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbPtrOutput() InstanceConfigDevicesSdbPtrOutput

func (InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdbArgs) ToInstanceConfigDevicesSdbPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdbPtrOutput

type InstanceConfigDevicesSdbInput added in v1.4.0

type InstanceConfigDevicesSdbInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdbOutput() InstanceConfigDevicesSdbOutput
	ToInstanceConfigDevicesSdbOutputWithContext(context.Context) InstanceConfigDevicesSdbOutput
}

type InstanceConfigDevicesSdbOutput added in v1.4.0

type InstanceConfigDevicesSdbOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdbOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdbOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdbOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbOutput added in v1.4.0

func (o InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbOutput() InstanceConfigDevicesSdbOutput

func (InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbOutputWithContext(ctx context.Context) InstanceConfigDevicesSdbOutput

func (InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbPtrOutput() InstanceConfigDevicesSdbPtrOutput

func (InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdbOutput) ToInstanceConfigDevicesSdbPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdbPtrOutput

func (InstanceConfigDevicesSdbOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdbPtrInput added in v1.4.0

type InstanceConfigDevicesSdbPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdbPtrOutput() InstanceConfigDevicesSdbPtrOutput
	ToInstanceConfigDevicesSdbPtrOutputWithContext(context.Context) InstanceConfigDevicesSdbPtrOutput
}

func InstanceConfigDevicesSdbPtr added in v1.4.0

func InstanceConfigDevicesSdbPtr(v *InstanceConfigDevicesSdbArgs) InstanceConfigDevicesSdbPtrInput

type InstanceConfigDevicesSdbPtrOutput added in v1.4.0

type InstanceConfigDevicesSdbPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdbPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdbPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdbPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdbPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdbPtrOutput) ToInstanceConfigDevicesSdbPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdbPtrOutput) ToInstanceConfigDevicesSdbPtrOutput() InstanceConfigDevicesSdbPtrOutput

func (InstanceConfigDevicesSdbPtrOutput) ToInstanceConfigDevicesSdbPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdbPtrOutput) ToInstanceConfigDevicesSdbPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdbPtrOutput

func (InstanceConfigDevicesSdbPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdc added in v1.4.0

type InstanceConfigDevicesSdc struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdcArgs added in v1.4.0

type InstanceConfigDevicesSdcArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdcArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcOutput added in v1.4.0

func (i InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcOutput() InstanceConfigDevicesSdcOutput

func (InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcOutputWithContext(ctx context.Context) InstanceConfigDevicesSdcOutput

func (InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcPtrOutput() InstanceConfigDevicesSdcPtrOutput

func (InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdcArgs) ToInstanceConfigDevicesSdcPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdcPtrOutput

type InstanceConfigDevicesSdcInput added in v1.4.0

type InstanceConfigDevicesSdcInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdcOutput() InstanceConfigDevicesSdcOutput
	ToInstanceConfigDevicesSdcOutputWithContext(context.Context) InstanceConfigDevicesSdcOutput
}

type InstanceConfigDevicesSdcOutput added in v1.4.0

type InstanceConfigDevicesSdcOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdcOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdcOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdcOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcOutput added in v1.4.0

func (o InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcOutput() InstanceConfigDevicesSdcOutput

func (InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcOutputWithContext(ctx context.Context) InstanceConfigDevicesSdcOutput

func (InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcPtrOutput() InstanceConfigDevicesSdcPtrOutput

func (InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdcOutput) ToInstanceConfigDevicesSdcPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdcPtrOutput

func (InstanceConfigDevicesSdcOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdcPtrInput added in v1.4.0

type InstanceConfigDevicesSdcPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdcPtrOutput() InstanceConfigDevicesSdcPtrOutput
	ToInstanceConfigDevicesSdcPtrOutputWithContext(context.Context) InstanceConfigDevicesSdcPtrOutput
}

func InstanceConfigDevicesSdcPtr added in v1.4.0

func InstanceConfigDevicesSdcPtr(v *InstanceConfigDevicesSdcArgs) InstanceConfigDevicesSdcPtrInput

type InstanceConfigDevicesSdcPtrOutput added in v1.4.0

type InstanceConfigDevicesSdcPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdcPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdcPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdcPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdcPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdcPtrOutput) ToInstanceConfigDevicesSdcPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdcPtrOutput) ToInstanceConfigDevicesSdcPtrOutput() InstanceConfigDevicesSdcPtrOutput

func (InstanceConfigDevicesSdcPtrOutput) ToInstanceConfigDevicesSdcPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdcPtrOutput) ToInstanceConfigDevicesSdcPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdcPtrOutput

func (InstanceConfigDevicesSdcPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdd added in v1.4.0

type InstanceConfigDevicesSdd struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSddArgs added in v1.4.0

type InstanceConfigDevicesSddArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSddArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddOutput added in v1.4.0

func (i InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddOutput() InstanceConfigDevicesSddOutput

func (InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddOutputWithContext(ctx context.Context) InstanceConfigDevicesSddOutput

func (InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddPtrOutput() InstanceConfigDevicesSddPtrOutput

func (InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSddArgs) ToInstanceConfigDevicesSddPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSddPtrOutput

type InstanceConfigDevicesSddInput added in v1.4.0

type InstanceConfigDevicesSddInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSddOutput() InstanceConfigDevicesSddOutput
	ToInstanceConfigDevicesSddOutputWithContext(context.Context) InstanceConfigDevicesSddOutput
}

type InstanceConfigDevicesSddOutput added in v1.4.0

type InstanceConfigDevicesSddOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSddOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSddOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSddOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddOutput added in v1.4.0

func (o InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddOutput() InstanceConfigDevicesSddOutput

func (InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddOutputWithContext(ctx context.Context) InstanceConfigDevicesSddOutput

func (InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddPtrOutput() InstanceConfigDevicesSddPtrOutput

func (InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSddOutput) ToInstanceConfigDevicesSddPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSddPtrOutput

func (InstanceConfigDevicesSddOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSddPtrInput added in v1.4.0

type InstanceConfigDevicesSddPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSddPtrOutput() InstanceConfigDevicesSddPtrOutput
	ToInstanceConfigDevicesSddPtrOutputWithContext(context.Context) InstanceConfigDevicesSddPtrOutput
}

func InstanceConfigDevicesSddPtr added in v1.4.0

func InstanceConfigDevicesSddPtr(v *InstanceConfigDevicesSddArgs) InstanceConfigDevicesSddPtrInput

type InstanceConfigDevicesSddPtrOutput added in v1.4.0

type InstanceConfigDevicesSddPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSddPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSddPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSddPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSddPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSddPtrOutput) ToInstanceConfigDevicesSddPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSddPtrOutput) ToInstanceConfigDevicesSddPtrOutput() InstanceConfigDevicesSddPtrOutput

func (InstanceConfigDevicesSddPtrOutput) ToInstanceConfigDevicesSddPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSddPtrOutput) ToInstanceConfigDevicesSddPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSddPtrOutput

func (InstanceConfigDevicesSddPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSde added in v1.4.0

type InstanceConfigDevicesSde struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdeArgs added in v1.4.0

type InstanceConfigDevicesSdeArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdeArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdeOutput added in v1.4.0

func (i InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdeOutput() InstanceConfigDevicesSdeOutput

func (InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdeOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdeOutputWithContext(ctx context.Context) InstanceConfigDevicesSdeOutput

func (InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdePtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdePtrOutput() InstanceConfigDevicesSdePtrOutput

func (InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdePtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdeArgs) ToInstanceConfigDevicesSdePtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdePtrOutput

type InstanceConfigDevicesSdeInput added in v1.4.0

type InstanceConfigDevicesSdeInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdeOutput() InstanceConfigDevicesSdeOutput
	ToInstanceConfigDevicesSdeOutputWithContext(context.Context) InstanceConfigDevicesSdeOutput
}

type InstanceConfigDevicesSdeOutput added in v1.4.0

type InstanceConfigDevicesSdeOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdeOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdeOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdeOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdeOutput added in v1.4.0

func (o InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdeOutput() InstanceConfigDevicesSdeOutput

func (InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdeOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdeOutputWithContext(ctx context.Context) InstanceConfigDevicesSdeOutput

func (InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdePtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdePtrOutput() InstanceConfigDevicesSdePtrOutput

func (InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdePtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdeOutput) ToInstanceConfigDevicesSdePtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdePtrOutput

func (InstanceConfigDevicesSdeOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdePtrInput added in v1.4.0

type InstanceConfigDevicesSdePtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdePtrOutput() InstanceConfigDevicesSdePtrOutput
	ToInstanceConfigDevicesSdePtrOutputWithContext(context.Context) InstanceConfigDevicesSdePtrOutput
}

func InstanceConfigDevicesSdePtr added in v1.4.0

func InstanceConfigDevicesSdePtr(v *InstanceConfigDevicesSdeArgs) InstanceConfigDevicesSdePtrInput

type InstanceConfigDevicesSdePtrOutput added in v1.4.0

type InstanceConfigDevicesSdePtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdePtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdePtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdePtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdePtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdePtrOutput) ToInstanceConfigDevicesSdePtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdePtrOutput) ToInstanceConfigDevicesSdePtrOutput() InstanceConfigDevicesSdePtrOutput

func (InstanceConfigDevicesSdePtrOutput) ToInstanceConfigDevicesSdePtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdePtrOutput) ToInstanceConfigDevicesSdePtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdePtrOutput

func (InstanceConfigDevicesSdePtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdf added in v1.4.0

type InstanceConfigDevicesSdf struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdfArgs added in v1.4.0

type InstanceConfigDevicesSdfArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdfArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfOutput added in v1.4.0

func (i InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfOutput() InstanceConfigDevicesSdfOutput

func (InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfOutputWithContext(ctx context.Context) InstanceConfigDevicesSdfOutput

func (InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfPtrOutput() InstanceConfigDevicesSdfPtrOutput

func (InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdfArgs) ToInstanceConfigDevicesSdfPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdfPtrOutput

type InstanceConfigDevicesSdfInput added in v1.4.0

type InstanceConfigDevicesSdfInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdfOutput() InstanceConfigDevicesSdfOutput
	ToInstanceConfigDevicesSdfOutputWithContext(context.Context) InstanceConfigDevicesSdfOutput
}

type InstanceConfigDevicesSdfOutput added in v1.4.0

type InstanceConfigDevicesSdfOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdfOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdfOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdfOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfOutput added in v1.4.0

func (o InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfOutput() InstanceConfigDevicesSdfOutput

func (InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfOutputWithContext(ctx context.Context) InstanceConfigDevicesSdfOutput

func (InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfPtrOutput() InstanceConfigDevicesSdfPtrOutput

func (InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdfOutput) ToInstanceConfigDevicesSdfPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdfPtrOutput

func (InstanceConfigDevicesSdfOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdfPtrInput added in v1.4.0

type InstanceConfigDevicesSdfPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdfPtrOutput() InstanceConfigDevicesSdfPtrOutput
	ToInstanceConfigDevicesSdfPtrOutputWithContext(context.Context) InstanceConfigDevicesSdfPtrOutput
}

func InstanceConfigDevicesSdfPtr added in v1.4.0

func InstanceConfigDevicesSdfPtr(v *InstanceConfigDevicesSdfArgs) InstanceConfigDevicesSdfPtrInput

type InstanceConfigDevicesSdfPtrOutput added in v1.4.0

type InstanceConfigDevicesSdfPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdfPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdfPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdfPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdfPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdfPtrOutput) ToInstanceConfigDevicesSdfPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdfPtrOutput) ToInstanceConfigDevicesSdfPtrOutput() InstanceConfigDevicesSdfPtrOutput

func (InstanceConfigDevicesSdfPtrOutput) ToInstanceConfigDevicesSdfPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdfPtrOutput) ToInstanceConfigDevicesSdfPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdfPtrOutput

func (InstanceConfigDevicesSdfPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdg added in v1.4.0

type InstanceConfigDevicesSdg struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdgArgs added in v1.4.0

type InstanceConfigDevicesSdgArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdgArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgOutput added in v1.4.0

func (i InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgOutput() InstanceConfigDevicesSdgOutput

func (InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgOutputWithContext(ctx context.Context) InstanceConfigDevicesSdgOutput

func (InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgPtrOutput() InstanceConfigDevicesSdgPtrOutput

func (InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdgArgs) ToInstanceConfigDevicesSdgPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdgPtrOutput

type InstanceConfigDevicesSdgInput added in v1.4.0

type InstanceConfigDevicesSdgInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdgOutput() InstanceConfigDevicesSdgOutput
	ToInstanceConfigDevicesSdgOutputWithContext(context.Context) InstanceConfigDevicesSdgOutput
}

type InstanceConfigDevicesSdgOutput added in v1.4.0

type InstanceConfigDevicesSdgOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdgOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdgOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdgOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgOutput added in v1.4.0

func (o InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgOutput() InstanceConfigDevicesSdgOutput

func (InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgOutputWithContext(ctx context.Context) InstanceConfigDevicesSdgOutput

func (InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgPtrOutput() InstanceConfigDevicesSdgPtrOutput

func (InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdgOutput) ToInstanceConfigDevicesSdgPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdgPtrOutput

func (InstanceConfigDevicesSdgOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdgPtrInput added in v1.4.0

type InstanceConfigDevicesSdgPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdgPtrOutput() InstanceConfigDevicesSdgPtrOutput
	ToInstanceConfigDevicesSdgPtrOutputWithContext(context.Context) InstanceConfigDevicesSdgPtrOutput
}

func InstanceConfigDevicesSdgPtr added in v1.4.0

func InstanceConfigDevicesSdgPtr(v *InstanceConfigDevicesSdgArgs) InstanceConfigDevicesSdgPtrInput

type InstanceConfigDevicesSdgPtrOutput added in v1.4.0

type InstanceConfigDevicesSdgPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdgPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdgPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdgPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdgPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdgPtrOutput) ToInstanceConfigDevicesSdgPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdgPtrOutput) ToInstanceConfigDevicesSdgPtrOutput() InstanceConfigDevicesSdgPtrOutput

func (InstanceConfigDevicesSdgPtrOutput) ToInstanceConfigDevicesSdgPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdgPtrOutput) ToInstanceConfigDevicesSdgPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdgPtrOutput

func (InstanceConfigDevicesSdgPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdh added in v1.4.0

type InstanceConfigDevicesSdh struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId *int `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel *string `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId *int `pulumi:"volumeId"`
}

type InstanceConfigDevicesSdhArgs added in v1.4.0

type InstanceConfigDevicesSdhArgs struct {
	// The Disk ID of the associated `diskLabel`, if used.
	DiskId pulumi.IntPtrInput `pulumi:"diskId"`
	// The `label` of the `disk` to map to this `device` slot.
	DiskLabel pulumi.StringPtrInput `pulumi:"diskLabel"`
	// The Volume ID to map to this `device` slot.
	VolumeId pulumi.IntPtrInput `pulumi:"volumeId"`
}

func (InstanceConfigDevicesSdhArgs) ElementType added in v1.4.0

func (InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhOutput added in v1.4.0

func (i InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhOutput() InstanceConfigDevicesSdhOutput

func (InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhOutputWithContext(ctx context.Context) InstanceConfigDevicesSdhOutput

func (InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhPtrOutput added in v1.4.0

func (i InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhPtrOutput() InstanceConfigDevicesSdhPtrOutput

func (InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhPtrOutputWithContext added in v1.4.0

func (i InstanceConfigDevicesSdhArgs) ToInstanceConfigDevicesSdhPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdhPtrOutput

type InstanceConfigDevicesSdhInput added in v1.4.0

type InstanceConfigDevicesSdhInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdhOutput() InstanceConfigDevicesSdhOutput
	ToInstanceConfigDevicesSdhOutputWithContext(context.Context) InstanceConfigDevicesSdhOutput
}

type InstanceConfigDevicesSdhOutput added in v1.4.0

type InstanceConfigDevicesSdhOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdhOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdhOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdhOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhOutput added in v1.4.0

func (o InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhOutput() InstanceConfigDevicesSdhOutput

func (InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhOutputWithContext(ctx context.Context) InstanceConfigDevicesSdhOutput

func (InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhPtrOutput() InstanceConfigDevicesSdhPtrOutput

func (InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdhOutput) ToInstanceConfigDevicesSdhPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdhPtrOutput

func (InstanceConfigDevicesSdhOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigDevicesSdhPtrInput added in v1.4.0

type InstanceConfigDevicesSdhPtrInput interface {
	pulumi.Input

	ToInstanceConfigDevicesSdhPtrOutput() InstanceConfigDevicesSdhPtrOutput
	ToInstanceConfigDevicesSdhPtrOutputWithContext(context.Context) InstanceConfigDevicesSdhPtrOutput
}

func InstanceConfigDevicesSdhPtr added in v1.4.0

func InstanceConfigDevicesSdhPtr(v *InstanceConfigDevicesSdhArgs) InstanceConfigDevicesSdhPtrInput

type InstanceConfigDevicesSdhPtrOutput added in v1.4.0

type InstanceConfigDevicesSdhPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigDevicesSdhPtrOutput) DiskId added in v1.4.0

The Disk ID of the associated `diskLabel`, if used.

func (InstanceConfigDevicesSdhPtrOutput) DiskLabel added in v1.4.0

The `label` of the `disk` to map to this `device` slot.

func (InstanceConfigDevicesSdhPtrOutput) Elem added in v1.4.0

func (InstanceConfigDevicesSdhPtrOutput) ElementType added in v1.4.0

func (InstanceConfigDevicesSdhPtrOutput) ToInstanceConfigDevicesSdhPtrOutput added in v1.4.0

func (o InstanceConfigDevicesSdhPtrOutput) ToInstanceConfigDevicesSdhPtrOutput() InstanceConfigDevicesSdhPtrOutput

func (InstanceConfigDevicesSdhPtrOutput) ToInstanceConfigDevicesSdhPtrOutputWithContext added in v1.4.0

func (o InstanceConfigDevicesSdhPtrOutput) ToInstanceConfigDevicesSdhPtrOutputWithContext(ctx context.Context) InstanceConfigDevicesSdhPtrOutput

func (InstanceConfigDevicesSdhPtrOutput) VolumeId added in v1.4.0

The Volume ID to map to this `device` slot.

type InstanceConfigHelpers added in v1.4.0

type InstanceConfigHelpers struct {
	DevtmpfsAutomount *bool `pulumi:"devtmpfsAutomount"`
	// Controls the behavior of the Linode Config's Distribution Helper setting.
	Distro *bool `pulumi:"distro"`
	// Creates a modules dependency file for the Kernel you run.
	ModulesDep *bool `pulumi:"modulesDep"`
	// Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.
	Network *bool `pulumi:"network"`
	// Disables updatedb cron job to avoid disk thrashing.
	UpdatedbDisabled *bool `pulumi:"updatedbDisabled"`
}

type InstanceConfigHelpersArgs added in v1.4.0

type InstanceConfigHelpersArgs struct {
	DevtmpfsAutomount pulumi.BoolPtrInput `pulumi:"devtmpfsAutomount"`
	// Controls the behavior of the Linode Config's Distribution Helper setting.
	Distro pulumi.BoolPtrInput `pulumi:"distro"`
	// Creates a modules dependency file for the Kernel you run.
	ModulesDep pulumi.BoolPtrInput `pulumi:"modulesDep"`
	// Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.
	Network pulumi.BoolPtrInput `pulumi:"network"`
	// Disables updatedb cron job to avoid disk thrashing.
	UpdatedbDisabled pulumi.BoolPtrInput `pulumi:"updatedbDisabled"`
}

func (InstanceConfigHelpersArgs) ElementType added in v1.4.0

func (InstanceConfigHelpersArgs) ElementType() reflect.Type

func (InstanceConfigHelpersArgs) ToInstanceConfigHelpersOutput added in v1.4.0

func (i InstanceConfigHelpersArgs) ToInstanceConfigHelpersOutput() InstanceConfigHelpersOutput

func (InstanceConfigHelpersArgs) ToInstanceConfigHelpersOutputWithContext added in v1.4.0

func (i InstanceConfigHelpersArgs) ToInstanceConfigHelpersOutputWithContext(ctx context.Context) InstanceConfigHelpersOutput

func (InstanceConfigHelpersArgs) ToInstanceConfigHelpersPtrOutput added in v1.4.0

func (i InstanceConfigHelpersArgs) ToInstanceConfigHelpersPtrOutput() InstanceConfigHelpersPtrOutput

func (InstanceConfigHelpersArgs) ToInstanceConfigHelpersPtrOutputWithContext added in v1.4.0

func (i InstanceConfigHelpersArgs) ToInstanceConfigHelpersPtrOutputWithContext(ctx context.Context) InstanceConfigHelpersPtrOutput

type InstanceConfigHelpersInput added in v1.4.0

type InstanceConfigHelpersInput interface {
	pulumi.Input

	ToInstanceConfigHelpersOutput() InstanceConfigHelpersOutput
	ToInstanceConfigHelpersOutputWithContext(context.Context) InstanceConfigHelpersOutput
}

type InstanceConfigHelpersOutput added in v1.4.0

type InstanceConfigHelpersOutput struct{ *pulumi.OutputState }

func (InstanceConfigHelpersOutput) DevtmpfsAutomount added in v1.4.0

func (o InstanceConfigHelpersOutput) DevtmpfsAutomount() pulumi.BoolPtrOutput

func (InstanceConfigHelpersOutput) Distro added in v1.4.0

Controls the behavior of the Linode Config's Distribution Helper setting.

func (InstanceConfigHelpersOutput) ElementType added in v1.4.0

func (InstanceConfigHelpersOutput) ModulesDep added in v1.4.0

Creates a modules dependency file for the Kernel you run.

func (InstanceConfigHelpersOutput) Network added in v1.4.0

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

func (InstanceConfigHelpersOutput) ToInstanceConfigHelpersOutput added in v1.4.0

func (o InstanceConfigHelpersOutput) ToInstanceConfigHelpersOutput() InstanceConfigHelpersOutput

func (InstanceConfigHelpersOutput) ToInstanceConfigHelpersOutputWithContext added in v1.4.0

func (o InstanceConfigHelpersOutput) ToInstanceConfigHelpersOutputWithContext(ctx context.Context) InstanceConfigHelpersOutput

func (InstanceConfigHelpersOutput) ToInstanceConfigHelpersPtrOutput added in v1.4.0

func (o InstanceConfigHelpersOutput) ToInstanceConfigHelpersPtrOutput() InstanceConfigHelpersPtrOutput

func (InstanceConfigHelpersOutput) ToInstanceConfigHelpersPtrOutputWithContext added in v1.4.0

func (o InstanceConfigHelpersOutput) ToInstanceConfigHelpersPtrOutputWithContext(ctx context.Context) InstanceConfigHelpersPtrOutput

func (InstanceConfigHelpersOutput) UpdatedbDisabled added in v1.4.0

func (o InstanceConfigHelpersOutput) UpdatedbDisabled() pulumi.BoolPtrOutput

Disables updatedb cron job to avoid disk thrashing.

type InstanceConfigHelpersPtrInput added in v1.4.0

type InstanceConfigHelpersPtrInput interface {
	pulumi.Input

	ToInstanceConfigHelpersPtrOutput() InstanceConfigHelpersPtrOutput
	ToInstanceConfigHelpersPtrOutputWithContext(context.Context) InstanceConfigHelpersPtrOutput
}

func InstanceConfigHelpersPtr added in v1.4.0

func InstanceConfigHelpersPtr(v *InstanceConfigHelpersArgs) InstanceConfigHelpersPtrInput

type InstanceConfigHelpersPtrOutput added in v1.4.0

type InstanceConfigHelpersPtrOutput struct{ *pulumi.OutputState }

func (InstanceConfigHelpersPtrOutput) DevtmpfsAutomount added in v1.4.0

func (o InstanceConfigHelpersPtrOutput) DevtmpfsAutomount() pulumi.BoolPtrOutput

func (InstanceConfigHelpersPtrOutput) Distro added in v1.4.0

Controls the behavior of the Linode Config's Distribution Helper setting.

func (InstanceConfigHelpersPtrOutput) Elem added in v1.4.0

func (InstanceConfigHelpersPtrOutput) ElementType added in v1.4.0

func (InstanceConfigHelpersPtrOutput) ModulesDep added in v1.4.0

Creates a modules dependency file for the Kernel you run.

func (InstanceConfigHelpersPtrOutput) Network added in v1.4.0

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

func (InstanceConfigHelpersPtrOutput) ToInstanceConfigHelpersPtrOutput added in v1.4.0

func (o InstanceConfigHelpersPtrOutput) ToInstanceConfigHelpersPtrOutput() InstanceConfigHelpersPtrOutput

func (InstanceConfigHelpersPtrOutput) ToInstanceConfigHelpersPtrOutputWithContext added in v1.4.0

func (o InstanceConfigHelpersPtrOutput) ToInstanceConfigHelpersPtrOutputWithContext(ctx context.Context) InstanceConfigHelpersPtrOutput

func (InstanceConfigHelpersPtrOutput) UpdatedbDisabled added in v1.4.0

Disables updatedb cron job to avoid disk thrashing.

type InstanceConfigInput added in v1.4.0

type InstanceConfigInput interface {
	pulumi.Input

	ToInstanceConfigOutput() InstanceConfigOutput
	ToInstanceConfigOutputWithContext(context.Context) InstanceConfigOutput
}

type InstanceConfigOutput added in v1.4.0

type InstanceConfigOutput struct{ *pulumi.OutputState }

func (InstanceConfigOutput) Comments added in v1.4.0

- Arbitrary user comments about this `config`.

func (InstanceConfigOutput) Devices added in v1.4.0

A list of `disk` or `volume` attachments for this `config`. If the `bootConfigLabel` omits a `devices` block, the Linode will not be booted.

func (InstanceConfigOutput) ElementType added in v1.4.0

func (InstanceConfigOutput) ElementType() reflect.Type

func (InstanceConfigOutput) Helpers added in v1.4.0

Helpers enabled when booting to this Linode Config.

func (InstanceConfigOutput) Kernel added in v1.4.0

- A Kernel ID to boot a Linode with. Default is based on image choice. (examples: linode/latest-64bit, linode/grub2, linode/direct-disk)

func (InstanceConfigOutput) Label added in v1.4.0

The Config's label for display purposes. Also used by `bootConfigLabel`.

func (InstanceConfigOutput) MemoryLimit added in v1.4.0

func (o InstanceConfigOutput) MemoryLimit() pulumi.IntPtrOutput

- Defaults to the total RAM of the Linode

func (InstanceConfigOutput) RootDevice added in v1.4.0

- The root device to boot. The corresponding disk must be attached to a `device` slot. Example: `"/dev/sda"`

func (InstanceConfigOutput) RunLevel added in v1.4.0

- Defines the state of your Linode after booting. Defaults to `"default"`.

func (InstanceConfigOutput) ToInstanceConfigOutput added in v1.4.0

func (o InstanceConfigOutput) ToInstanceConfigOutput() InstanceConfigOutput

func (InstanceConfigOutput) ToInstanceConfigOutputWithContext added in v1.4.0

func (o InstanceConfigOutput) ToInstanceConfigOutputWithContext(ctx context.Context) InstanceConfigOutput

func (InstanceConfigOutput) VirtMode added in v1.4.0

- Controls the virtualization mode. Defaults to `"paravirt"`.

type InstanceDisk added in v1.4.0

type InstanceDisk struct {
	// 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 `authorizedKeys` forces the creation of a new Linode Instance.*
	AuthorizedKeys []string `pulumi:"authorizedKeys"`
	// 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 `authorizedUsers` forces the creation of a new Linode Instance.*
	AuthorizedUsers []string `pulumi:"authorizedUsers"`
	Filesystem      *string  `pulumi:"filesystem"`
	// The ID of the disk in the Linode API.
	Id *int `pulumi:"id"`
	// 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`. *Changing `image` forces the creation of a new Linode Instance.*
	Image *string `pulumi:"image"`
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label    string  `pulumi:"label"`
	ReadOnly *bool   `pulumi:"readOnly"`
	RootPass *string `pulumi:"rootPass"`
	// The size of the Disk in MB.
	Size int `pulumi:"size"`
	// 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 `stackscriptData` forces the creation of a new Linode Instance.*
	StackscriptData map[string]interface{} `pulumi:"stackscriptData"`
	// 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 `stackscriptId` forces the creation of a new Linode Instance.*
	StackscriptId *int `pulumi:"stackscriptId"`
}

type InstanceDiskArgs added in v1.4.0

type InstanceDiskArgs struct {
	// 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 `authorizedKeys` forces the creation of a new Linode Instance.*
	AuthorizedKeys pulumi.StringArrayInput `pulumi:"authorizedKeys"`
	// 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 `authorizedUsers` forces the creation of a new Linode Instance.*
	AuthorizedUsers pulumi.StringArrayInput `pulumi:"authorizedUsers"`
	Filesystem      pulumi.StringPtrInput   `pulumi:"filesystem"`
	// The ID of the disk in the Linode API.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// 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`. *Changing `image` forces the creation of a new Linode Instance.*
	Image pulumi.StringPtrInput `pulumi:"image"`
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label    pulumi.StringInput    `pulumi:"label"`
	ReadOnly pulumi.BoolPtrInput   `pulumi:"readOnly"`
	RootPass pulumi.StringPtrInput `pulumi:"rootPass"`
	// The size of the Disk in MB.
	Size pulumi.IntInput `pulumi:"size"`
	// 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 `stackscriptData` forces the creation of a new Linode Instance.*
	StackscriptData pulumi.MapInput `pulumi:"stackscriptData"`
	// 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 `stackscriptId` forces the creation of a new Linode Instance.*
	StackscriptId pulumi.IntPtrInput `pulumi:"stackscriptId"`
}

func (InstanceDiskArgs) ElementType added in v1.4.0

func (InstanceDiskArgs) ElementType() reflect.Type

func (InstanceDiskArgs) ToInstanceDiskOutput added in v1.4.0

func (i InstanceDiskArgs) ToInstanceDiskOutput() InstanceDiskOutput

func (InstanceDiskArgs) ToInstanceDiskOutputWithContext added in v1.4.0

func (i InstanceDiskArgs) ToInstanceDiskOutputWithContext(ctx context.Context) InstanceDiskOutput

type InstanceDiskArray added in v1.4.0

type InstanceDiskArray []InstanceDiskInput

func (InstanceDiskArray) ElementType added in v1.4.0

func (InstanceDiskArray) ElementType() reflect.Type

func (InstanceDiskArray) ToInstanceDiskArrayOutput added in v1.4.0

func (i InstanceDiskArray) ToInstanceDiskArrayOutput() InstanceDiskArrayOutput

func (InstanceDiskArray) ToInstanceDiskArrayOutputWithContext added in v1.4.0

func (i InstanceDiskArray) ToInstanceDiskArrayOutputWithContext(ctx context.Context) InstanceDiskArrayOutput

type InstanceDiskArrayInput added in v1.4.0

type InstanceDiskArrayInput interface {
	pulumi.Input

	ToInstanceDiskArrayOutput() InstanceDiskArrayOutput
	ToInstanceDiskArrayOutputWithContext(context.Context) InstanceDiskArrayOutput
}

type InstanceDiskArrayOutput added in v1.4.0

type InstanceDiskArrayOutput struct{ *pulumi.OutputState }

func (InstanceDiskArrayOutput) ElementType added in v1.4.0

func (InstanceDiskArrayOutput) ElementType() reflect.Type

func (InstanceDiskArrayOutput) Index added in v1.4.0

func (InstanceDiskArrayOutput) ToInstanceDiskArrayOutput added in v1.4.0

func (o InstanceDiskArrayOutput) ToInstanceDiskArrayOutput() InstanceDiskArrayOutput

func (InstanceDiskArrayOutput) ToInstanceDiskArrayOutputWithContext added in v1.4.0

func (o InstanceDiskArrayOutput) ToInstanceDiskArrayOutputWithContext(ctx context.Context) InstanceDiskArrayOutput

type InstanceDiskInput added in v1.4.0

type InstanceDiskInput interface {
	pulumi.Input

	ToInstanceDiskOutput() InstanceDiskOutput
	ToInstanceDiskOutputWithContext(context.Context) InstanceDiskOutput
}

type InstanceDiskOutput added in v1.4.0

type InstanceDiskOutput struct{ *pulumi.OutputState }

func (InstanceDiskOutput) AuthorizedKeys added in v1.4.0

func (o InstanceDiskOutput) AuthorizedKeys() pulumi.StringArrayOutput

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 `authorizedKeys` forces the creation of a new Linode Instance.*

func (InstanceDiskOutput) AuthorizedUsers added in v1.4.0

func (o InstanceDiskOutput) AuthorizedUsers() pulumi.StringArrayOutput

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 `authorizedUsers` forces the creation of a new Linode Instance.*

func (InstanceDiskOutput) ElementType added in v1.4.0

func (InstanceDiskOutput) ElementType() reflect.Type

func (InstanceDiskOutput) Filesystem added in v1.4.0

func (o InstanceDiskOutput) Filesystem() pulumi.StringPtrOutput

func (InstanceDiskOutput) Id added in v1.4.0

The ID of the disk in the Linode API.

func (InstanceDiskOutput) Image added in v1.4.0

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`. *Changing `image` forces the creation of a new Linode Instance.*

func (InstanceDiskOutput) Label added in v1.4.0

The Config's label for display purposes. Also used by `bootConfigLabel`.

func (InstanceDiskOutput) ReadOnly added in v1.4.0

func (InstanceDiskOutput) RootPass added in v1.4.0

func (InstanceDiskOutput) Size added in v1.4.0

The size of the Disk in MB.

func (InstanceDiskOutput) StackscriptData added in v1.4.0

func (o InstanceDiskOutput) StackscriptData() pulumi.MapOutput

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 `stackscriptData` forces the creation of a new Linode Instance.*

func (InstanceDiskOutput) StackscriptId added in v1.4.0

func (o InstanceDiskOutput) StackscriptId() pulumi.IntPtrOutput

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 `stackscriptId` forces the creation of a new Linode Instance.*

func (InstanceDiskOutput) ToInstanceDiskOutput added in v1.4.0

func (o InstanceDiskOutput) ToInstanceDiskOutput() InstanceDiskOutput

func (InstanceDiskOutput) ToInstanceDiskOutputWithContext added in v1.4.0

func (o InstanceDiskOutput) ToInstanceDiskOutputWithContext(ctx context.Context) InstanceDiskOutput

type InstanceSpecs added in v1.4.0

type InstanceSpecs struct {
	Disk     *int `pulumi:"disk"`
	Memory   *int `pulumi:"memory"`
	Transfer *int `pulumi:"transfer"`
	Vcpus    *int `pulumi:"vcpus"`
}

type InstanceSpecsArgs added in v1.4.0

type InstanceSpecsArgs struct {
	Disk     pulumi.IntPtrInput `pulumi:"disk"`
	Memory   pulumi.IntPtrInput `pulumi:"memory"`
	Transfer pulumi.IntPtrInput `pulumi:"transfer"`
	Vcpus    pulumi.IntPtrInput `pulumi:"vcpus"`
}

func (InstanceSpecsArgs) ElementType added in v1.4.0

func (InstanceSpecsArgs) ElementType() reflect.Type

func (InstanceSpecsArgs) ToInstanceSpecsOutput added in v1.4.0

func (i InstanceSpecsArgs) ToInstanceSpecsOutput() InstanceSpecsOutput

func (InstanceSpecsArgs) ToInstanceSpecsOutputWithContext added in v1.4.0

func (i InstanceSpecsArgs) ToInstanceSpecsOutputWithContext(ctx context.Context) InstanceSpecsOutput

func (InstanceSpecsArgs) ToInstanceSpecsPtrOutput added in v1.4.0

func (i InstanceSpecsArgs) ToInstanceSpecsPtrOutput() InstanceSpecsPtrOutput

func (InstanceSpecsArgs) ToInstanceSpecsPtrOutputWithContext added in v1.4.0

func (i InstanceSpecsArgs) ToInstanceSpecsPtrOutputWithContext(ctx context.Context) InstanceSpecsPtrOutput

type InstanceSpecsInput added in v1.4.0

type InstanceSpecsInput interface {
	pulumi.Input

	ToInstanceSpecsOutput() InstanceSpecsOutput
	ToInstanceSpecsOutputWithContext(context.Context) InstanceSpecsOutput
}

type InstanceSpecsOutput added in v1.4.0

type InstanceSpecsOutput struct{ *pulumi.OutputState }

func (InstanceSpecsOutput) Disk added in v1.4.0

func (InstanceSpecsOutput) ElementType added in v1.4.0

func (InstanceSpecsOutput) ElementType() reflect.Type

func (InstanceSpecsOutput) Memory added in v1.4.0

func (InstanceSpecsOutput) ToInstanceSpecsOutput added in v1.4.0

func (o InstanceSpecsOutput) ToInstanceSpecsOutput() InstanceSpecsOutput

func (InstanceSpecsOutput) ToInstanceSpecsOutputWithContext added in v1.4.0

func (o InstanceSpecsOutput) ToInstanceSpecsOutputWithContext(ctx context.Context) InstanceSpecsOutput

func (InstanceSpecsOutput) ToInstanceSpecsPtrOutput added in v1.4.0

func (o InstanceSpecsOutput) ToInstanceSpecsPtrOutput() InstanceSpecsPtrOutput

func (InstanceSpecsOutput) ToInstanceSpecsPtrOutputWithContext added in v1.4.0

func (o InstanceSpecsOutput) ToInstanceSpecsPtrOutputWithContext(ctx context.Context) InstanceSpecsPtrOutput

func (InstanceSpecsOutput) Transfer added in v1.4.0

func (InstanceSpecsOutput) Vcpus added in v1.4.0

type InstanceSpecsPtrInput added in v1.4.0

type InstanceSpecsPtrInput interface {
	pulumi.Input

	ToInstanceSpecsPtrOutput() InstanceSpecsPtrOutput
	ToInstanceSpecsPtrOutputWithContext(context.Context) InstanceSpecsPtrOutput
}

func InstanceSpecsPtr added in v1.4.0

func InstanceSpecsPtr(v *InstanceSpecsArgs) InstanceSpecsPtrInput

type InstanceSpecsPtrOutput added in v1.4.0

type InstanceSpecsPtrOutput struct{ *pulumi.OutputState }

func (InstanceSpecsPtrOutput) Disk added in v1.4.0

func (InstanceSpecsPtrOutput) Elem added in v1.4.0

func (InstanceSpecsPtrOutput) ElementType added in v1.4.0

func (InstanceSpecsPtrOutput) ElementType() reflect.Type

func (InstanceSpecsPtrOutput) Memory added in v1.4.0

func (InstanceSpecsPtrOutput) ToInstanceSpecsPtrOutput added in v1.4.0

func (o InstanceSpecsPtrOutput) ToInstanceSpecsPtrOutput() InstanceSpecsPtrOutput

func (InstanceSpecsPtrOutput) ToInstanceSpecsPtrOutputWithContext added in v1.4.0

func (o InstanceSpecsPtrOutput) ToInstanceSpecsPtrOutputWithContext(ctx context.Context) InstanceSpecsPtrOutput

func (InstanceSpecsPtrOutput) Transfer added in v1.4.0

func (InstanceSpecsPtrOutput) Vcpus added in v1.4.0

type InstanceState

type InstanceState struct {
	Alerts InstanceAlertsPtrInput
	// 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 `authorizedKeys` forces the creation of a new Linode Instance.*
	AuthorizedKeys pulumi.StringArrayInput
	// 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 `authorizedUsers` forces the creation of a new Linode Instance.*
	AuthorizedUsers pulumi.StringArrayInput
	// A Backup ID from another Linode's available backups. Your User must have readWrite 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 `backupId` forces the creation of a new Linode Instance.*
	BackupId pulumi.IntPtrInput
	// Information about this Linode's backups status.
	Backups InstanceBackupsPtrInput
	// 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.
	BackupsEnabled pulumi.BoolPtrInput
	// 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 `bootConfigLabel`. *This value can not be imported.*
	BootConfigLabel pulumi.StringPtrInput
	// Configuration profiles define the VM settings and boot behavior of the Linode Instance.
	Configs InstanceConfigArrayInput
	Disks   InstanceDiskArrayInput
	// The display group of the Linode instance.
	Group pulumi.StringPtrInput
	// 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`. *Changing `image` forces the creation of a new Linode Instance.*
	Image pulumi.StringPtrInput
	// 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.
	IpAddress pulumi.StringPtrInput
	// 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.
	Ipv4s pulumi.StringArrayInput
	// This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared.
	Ipv6 pulumi.StringPtrInput
	// The Config's label for display purposes.  Also used by `bootConfigLabel`.
	Label pulumi.StringPtrInput
	// 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.
	PrivateIp pulumi.BoolPtrInput
	// 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.
	PrivateIpAddress pulumi.StringPtrInput
	// This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode Instance.*.
	Region pulumi.StringPtrInput
	// The password that will be initialially assigned to the 'root' user account.
	RootPass pulumi.StringPtrInput
	Specs    InstanceSpecsPtrInput
	// 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 `stackscriptData` forces the creation of a new Linode Instance.*
	StackscriptData pulumi.StringMapInput
	// 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 `stackscriptId` forces the creation of a new Linode Instance.*
	StackscriptId pulumi.IntPtrInput
	// The status of the instance, indicating the current readiness state.
	Status pulumi.StringPtrInput
	// 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.
	SwapSize pulumi.IntPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
	// 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.
	Type pulumi.StringPtrInput
	// 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.
	WatchdogEnabled pulumi.BoolPtrInput
}

func (InstanceState) ElementType added in v1.4.0

func (InstanceState) ElementType() reflect.Type

type LookupDomainArgs added in v1.4.0

type LookupDomainArgs struct {
	// The unique domain name of the Domain record to query.
	Domain *string `pulumi:"domain"`
	// The unique numeric ID of the Domain record to query.
	Id *string `pulumi:"id"`
}

A collection of arguments for invoking getDomain.

type LookupDomainRecordArgs added in v1.5.0

type LookupDomainRecordArgs struct {
	DomainId int     `pulumi:"domainId"`
	Id       *int    `pulumi:"id"`
	Name     *string `pulumi:"name"`
}

A collection of arguments for invoking getDomainRecord.

type LookupDomainRecordResult added in v1.5.0

type LookupDomainRecordResult struct {
	DomainId int     `pulumi:"domainId"`
	Id       *int    `pulumi:"id"`
	Name     *string `pulumi:"name"`
	Port     int     `pulumi:"port"`
	Priority int     `pulumi:"priority"`
	Protocol string  `pulumi:"protocol"`
	Service  string  `pulumi:"service"`
	Tag      string  `pulumi:"tag"`
	Target   string  `pulumi:"target"`
	TtlSec   int     `pulumi:"ttlSec"`
	Type     string  `pulumi:"type"`
	Weight   int     `pulumi:"weight"`
}

A collection of values returned by getDomainRecord.

func LookupDomainRecord added in v1.5.0

func LookupDomainRecord(ctx *pulumi.Context, args *LookupDomainRecordArgs, opts ...pulumi.InvokeOption) (*LookupDomainRecordResult, error)

Provides information about a Linode Domain Record.

## Attributes

The Linode Volume resource exports the following attributes:

- `id` - The unique ID of the Domain Record.

- `name` - The name of the Record.

- `domainId` - The associated domain's unique ID.

- `type` - The type of Record this is in the DNS system.

- `ttlSec` - The amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers.

- `target` - The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.

- `priority` - The priority of the target host. Lower values are preferred.

- `weight` - The relative weight of this Record. Higher values are preferred.

- `port` - The port this Record points to.

- `protocol` - The protocol this Record's service communicates with. Only valid for SRV records.

- `service` - The service this Record identified. Only valid for SRV records.

- `tag` - The tag portion of a CAA record.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/domain_record.html.md.

type LookupDomainResult added in v1.4.0

type LookupDomainResult struct {
	AxfrIps     []string `pulumi:"axfrIps"`
	Description string   `pulumi:"description"`
	Domain      *string  `pulumi:"domain"`
	ExpireSec   int      `pulumi:"expireSec"`
	Group       string   `pulumi:"group"`
	Id          *string  `pulumi:"id"`
	MasterIps   []string `pulumi:"masterIps"`
	RefreshSec  int      `pulumi:"refreshSec"`
	RetrySec    int      `pulumi:"retrySec"`
	SoaEmail    string   `pulumi:"soaEmail"`
	Status      string   `pulumi:"status"`
	Tags        []string `pulumi:"tags"`
	TtlSec      int      `pulumi:"ttlSec"`
	Type        string   `pulumi:"type"`
}

A collection of values returned by getDomain.

func LookupDomain

func LookupDomain(ctx *pulumi.Context, args *LookupDomainArgs, opts ...pulumi.InvokeOption) (*LookupDomainResult, error)

Provides information about a Linode domain.

## Attributes

The Linode Domain resource exports the following attributes:

* `id` - The unique ID of this Domain.

* `domain` - The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain

* `type` - If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave)

* `group` - The group this Domain belongs to.

* `status` - Used to control whether this Domain is currently being rendered.

* `description` - A description for this Domain.

* `masterIps` - The IP addresses representing the master DNS for this Domain.

* `axfrIps` - The list of IPs that may perform a zone transfer for this Domain.

* `ttlSec` - 'Time to Live'-the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers.

* `retrySec` - The interval, in seconds, at which a failed refresh should be retried. * * `expireSec` - The amount of time in seconds that may pass before this Domain is no longer authoritative.

* `refreshSec` - The amount of time in seconds before this Domain should be refreshed.

* `soaEmail` - Start of Authority email address.

* `tags` - An array of tags applied to this object.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/domain.html.md.

type LookupImageArgs added in v1.4.0

type LookupImageArgs struct {
	// The unique ID of this Image.  The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getImage.

type LookupImageResult added in v1.4.0

type LookupImageResult struct {
	Created     string `pulumi:"created"`
	CreatedBy   string `pulumi:"createdBy"`
	Deprecated  bool   `pulumi:"deprecated"`
	Description string `pulumi:"description"`
	Expiry      string `pulumi:"expiry"`
	Id          string `pulumi:"id"`
	IsPublic    bool   `pulumi:"isPublic"`
	Label       string `pulumi:"label"`
	Size        int    `pulumi:"size"`
	Type        string `pulumi:"type"`
	Vendor      string `pulumi:"vendor"`
}

A collection of values returned by getImage.

func LookupImage

func LookupImage(ctx *pulumi.Context, args *LookupImageArgs, opts ...pulumi.InvokeOption) (*LookupImageResult, error)

Provides information about a Linode image

## Attributes

The Linode Image resource exports the following attributes:

* `label` - A short description of the Image.

* `created` - When this Image was created.

* `createdBy` - The name of the User who created this Image, or "linode" for official Images.

* `deprecated` - Whether or not this Image is deprecated. Will only be true for deprecated public Images.

* `description` - A detailed description of this Image.

* `isPublic` - True if the Image is public.

* `size` - The minimum size this Image needs to deploy. Size is in MB. example: 2500

* `type` - How the Image was created. Manual Images can be created at any time. image"Automatic" Images are created automatically from a deleted Linode.

* `vendor` - The upstream distribution vendor. `None` for private Images.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/image.html.md.

type LookupSshKeyArgs added in v1.4.0

type LookupSshKeyArgs struct {
	Label string `pulumi:"label"`
}

A collection of arguments for invoking getSshKey.

type LookupSshKeyResult added in v1.4.0

type LookupSshKeyResult struct {
	Created string `pulumi:"created"`
	// id is the provider-assigned unique ID for this managed resource.
	Id     string `pulumi:"id"`
	Label  string `pulumi:"label"`
	SshKey string `pulumi:"sshKey"`
}

A collection of values returned by getSshKey.

func LookupSshKey

func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error)

`.SshKey` provides access to a specifically labeled SSH Key in the Profile of the User identified by the access token.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/sshkey.html.md.

type LookupStackScriptArgs added in v1.5.0

type LookupStackScriptArgs struct {
	// The unique numeric ID of the StackScript to query.
	Id                int                              `pulumi:"id"`
	UserDefinedFields []GetStackScriptUserDefinedField `pulumi:"userDefinedFields"`
}

A collection of arguments for invoking getStackScript.

type LookupStackScriptResult added in v1.5.0

type LookupStackScriptResult struct {
	Created           string                           `pulumi:"created"`
	DeploymentsActive int                              `pulumi:"deploymentsActive"`
	DeploymentsTotal  int                              `pulumi:"deploymentsTotal"`
	Description       string                           `pulumi:"description"`
	Id                int                              `pulumi:"id"`
	Images            []string                         `pulumi:"images"`
	IsPublic          bool                             `pulumi:"isPublic"`
	Label             string                           `pulumi:"label"`
	RevNote           string                           `pulumi:"revNote"`
	Script            string                           `pulumi:"script"`
	Updated           string                           `pulumi:"updated"`
	UserDefinedFields []GetStackScriptUserDefinedField `pulumi:"userDefinedFields"`
	UserGravatarId    string                           `pulumi:"userGravatarId"`
	Username          string                           `pulumi:"username"`
}

A collection of values returned by getStackScript.

func LookupStackScript added in v1.5.0

func LookupStackScript(ctx *pulumi.Context, args *LookupStackScriptArgs, opts ...pulumi.InvokeOption) (*LookupStackScriptResult, error)

Provides details about a specific Linode StackScript.

## Attributes

This resource exports the following attributes:

* `label` - The StackScript's label is for display purposes only.

* `script` - The script to execute when provisioning a new Linode with this StackScript.

* `description` - A description for the StackScript.

* `revNote` - This field allows you to add notes for the set of revisions made to this StackScript.

* `isPublic` - This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private.

* `images` - An array of Image IDs representing the Images that this StackScript is compatible for deploying with.

* `deploymentsActive` - Count of currently active, deployed Linodes created from this StackScript.

* `userGravatarId` - The Gravatar ID for the User who created the StackScript.

* `deploymentsTotal` - The total number of times this StackScript has been deployed.

* `username` - The User who created the StackScript.

* `created` - The date this StackScript was created.

* `updated` - The date this StackScript was updated.

* `userDefinedFields` - This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.

  • `label` - A human-readable label for the field that will serve as the input prompt for entering the value during deployment.

  • `name` - The name of the field.

  • `example` - An example value for the field.

  • `oneOf` - A list of acceptable single values for the field.

  • `manyOf` - A list of acceptable values for the field in any quantity, combination or order.

  • `default` - The default value. If not specified, this value will be used.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/stackscript.html.md.

type LookupVolumeArgs added in v1.5.0

type LookupVolumeArgs struct {
	Id int `pulumi:"id"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeResult added in v1.5.0

type LookupVolumeResult struct {
	Created        string   `pulumi:"created"`
	FilesystemPath string   `pulumi:"filesystemPath"`
	Id             int      `pulumi:"id"`
	Label          string   `pulumi:"label"`
	LinodeId       int      `pulumi:"linodeId"`
	Region         string   `pulumi:"region"`
	Size           int      `pulumi:"size"`
	Status         string   `pulumi:"status"`
	Tags           []string `pulumi:"tags"`
	Updated        string   `pulumi:"updated"`
}

A collection of values returned by getVolume.

func LookupVolume added in v1.5.0

func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)

Provides information about a Linode Volume.

## Attributes

The Linode Volume resource exports the following attributes:

- `id` - The unique ID of this Volume.

- `created` - When this Volume was created.

- `status` - The current status of the Volume. Can be one of "creating", "active", "resizing", or "contactSupport".

- `label` - This Volume's label is for display purposes only.

- `tags` - An array of tags applied to this object.

- `size` - The Volume's size, in GiB.

- `region` - The datacenter in which this Volume is located.

- `updated` - When this Volume was last updated.

- `linodeId` - If a Volume is attached to a specific Linode, the ID of that Linode will be displayed here. If the Volume is unattached, this value will be null.

- `filesystemPath` - The full filesystem path for the Volume based on the Volume's label. Path is /dev/disk/by-id/scsi-0LinodeVolume + Volume label.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/d/volume.html.md.

type NodeBalancer

type NodeBalancer struct {
	pulumi.CustomResourceState

	// Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
	ClientConnThrottle pulumi.IntPtrOutput `pulumi:"clientConnThrottle"`
	Created            pulumi.StringOutput `pulumi:"created"`
	// This NodeBalancer's hostname, ending with .nodebalancer.linode.com
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// The Public IPv4 Address of this NodeBalancer
	Ipv4 pulumi.StringOutput `pulumi:"ipv4"`
	// The Public IPv6 Address of this NodeBalancer
	Ipv6 pulumi.StringOutput `pulumi:"ipv6"`
	// The label of the Linode NodeBalancer
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// The region where this NodeBalancer will be deployed.  Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode NodeBalancer.*.
	Region pulumi.StringOutput `pulumi:"region"`
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags     pulumi.StringArrayOutput   `pulumi:"tags"`
	Transfer NodeBalancerTransferOutput `pulumi:"transfer"`
	Updated  pulumi.StringOutput        `pulumi:"updated"`
}

func GetNodeBalancer

func GetNodeBalancer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeBalancerState, opts ...pulumi.ResourceOption) (*NodeBalancer, error)

GetNodeBalancer gets an existing NodeBalancer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNodeBalancer

func NewNodeBalancer(ctx *pulumi.Context,
	name string, args *NodeBalancerArgs, opts ...pulumi.ResourceOption) (*NodeBalancer, error)

NewNodeBalancer registers a new resource with the given unique name, arguments, and options.

type NodeBalancerArgs

type NodeBalancerArgs struct {
	// Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
	ClientConnThrottle pulumi.IntPtrInput
	// The label of the Linode NodeBalancer
	Label pulumi.StringPtrInput
	// The region where this NodeBalancer will be deployed.  Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode NodeBalancer.*.
	Region pulumi.StringInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a NodeBalancer resource.

func (NodeBalancerArgs) ElementType added in v1.4.0

func (NodeBalancerArgs) ElementType() reflect.Type

type NodeBalancerConfig

type NodeBalancerConfig struct {
	pulumi.CustomResourceState

	// What algorithm this NodeBalancer should use for routing traffic to backends: roundrobin, leastconn, source
	Algorithm pulumi.StringOutput `pulumi:"algorithm"`
	// The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and httpBody rely on the backend serving HTTP, and that the response returned matches what is expected.
	Check pulumi.StringOutput `pulumi:"check"`
	// How many times to attempt a check before considering a backend to be down. (1-30)
	CheckAttempts pulumi.IntOutput `pulumi:"checkAttempts"`
	// This value must be present in the response body of the check in order for it to pass. If this value is not present in
	// the response body of a check request, the backend is considered to be down
	CheckBody pulumi.StringOutput `pulumi:"checkBody"`
	// How often, in seconds, to check that backends are up and serving requests.
	CheckInterval pulumi.IntOutput `pulumi:"checkInterval"`
	// If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
	CheckPassive pulumi.BoolOutput `pulumi:"checkPassive"`
	// The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
	CheckPath pulumi.StringOutput `pulumi:"checkPath"`
	// How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
	CheckTimeout pulumi.IntOutput `pulumi:"checkTimeout"`
	// What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary.
	CipherSuite pulumi.StringOutput                `pulumi:"cipherSuite"`
	NodeStatus  NodeBalancerConfigNodeStatusOutput `pulumi:"nodeStatus"`
	// The ID of the NodeBalancer to access.
	NodebalancerId pulumi.IntOutput `pulumi:"nodebalancerId"`
	// The TCP port this Config is for. These values must be unique across configs on a single NodeBalancer (you can't have two configs for port 80, for example). While some ports imply some protocols, no enforcement is done and you may configure your NodeBalancer however is useful to you. For example, while port 443 is generally used for HTTPS, you do not need SSL configured to have a NodeBalancer listening on port 443. (Defaults to 80)
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The protocol this port is configured to serve. If this is set to https you must include an sslCert and an ssl_key. (Defaults to "http")
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// The certificate this port is serving. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the sslCommonname and sslFingerprint to identify the certificate.
	SslCert pulumi.StringPtrOutput `pulumi:"sslCert"`
	// The common name for the SSL certification this port is serving if this port is not configured to use SSL.
	SslCommonname pulumi.StringOutput `pulumi:"sslCommonname"`
	// The fingerprint for the SSL certification this port is serving if this port is not configured to use SSL.
	SslFingerprint pulumi.StringOutput `pulumi:"sslFingerprint"`
	// The private key corresponding to this port's certificate. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the sslCommonname and sslFingerprint to identify the certificate.
	SslKey pulumi.StringPtrOutput `pulumi:"sslKey"`
	// Controls how session stickiness is handled on this port: 'none', 'table', 'http_cookie'
	Stickiness pulumi.StringOutput `pulumi:"stickiness"`
}

func GetNodeBalancerConfig

func GetNodeBalancerConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeBalancerConfigState, opts ...pulumi.ResourceOption) (*NodeBalancerConfig, error)

GetNodeBalancerConfig gets an existing NodeBalancerConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNodeBalancerConfig

func NewNodeBalancerConfig(ctx *pulumi.Context,
	name string, args *NodeBalancerConfigArgs, opts ...pulumi.ResourceOption) (*NodeBalancerConfig, error)

NewNodeBalancerConfig registers a new resource with the given unique name, arguments, and options.

type NodeBalancerConfigArgs

type NodeBalancerConfigArgs struct {
	// What algorithm this NodeBalancer should use for routing traffic to backends: roundrobin, leastconn, source
	Algorithm pulumi.StringPtrInput
	// The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and httpBody rely on the backend serving HTTP, and that the response returned matches what is expected.
	Check pulumi.StringPtrInput
	// How many times to attempt a check before considering a backend to be down. (1-30)
	CheckAttempts pulumi.IntPtrInput
	// This value must be present in the response body of the check in order for it to pass. If this value is not present in
	// the response body of a check request, the backend is considered to be down
	CheckBody pulumi.StringPtrInput
	// How often, in seconds, to check that backends are up and serving requests.
	CheckInterval pulumi.IntPtrInput
	// If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
	CheckPassive pulumi.BoolPtrInput
	// The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
	CheckPath pulumi.StringPtrInput
	// How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
	CheckTimeout pulumi.IntPtrInput
	// What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary.
	CipherSuite pulumi.StringPtrInput
	// The ID of the NodeBalancer to access.
	NodebalancerId pulumi.IntInput
	// The TCP port this Config is for. These values must be unique across configs on a single NodeBalancer (you can't have two configs for port 80, for example). While some ports imply some protocols, no enforcement is done and you may configure your NodeBalancer however is useful to you. For example, while port 443 is generally used for HTTPS, you do not need SSL configured to have a NodeBalancer listening on port 443. (Defaults to 80)
	Port pulumi.IntPtrInput
	// The protocol this port is configured to serve. If this is set to https you must include an sslCert and an ssl_key. (Defaults to "http")
	Protocol pulumi.StringPtrInput
	// The certificate this port is serving. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the sslCommonname and sslFingerprint to identify the certificate.
	SslCert pulumi.StringPtrInput
	// The private key corresponding to this port's certificate. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the sslCommonname and sslFingerprint to identify the certificate.
	SslKey pulumi.StringPtrInput
	// Controls how session stickiness is handled on this port: 'none', 'table', 'http_cookie'
	Stickiness pulumi.StringPtrInput
}

The set of arguments for constructing a NodeBalancerConfig resource.

func (NodeBalancerConfigArgs) ElementType added in v1.4.0

func (NodeBalancerConfigArgs) ElementType() reflect.Type

type NodeBalancerConfigNodeStatus added in v1.4.0

type NodeBalancerConfigNodeStatus struct {
	StatusDown *int `pulumi:"statusDown"`
	StatusUp   *int `pulumi:"statusUp"`
}

type NodeBalancerConfigNodeStatusArgs added in v1.4.0

type NodeBalancerConfigNodeStatusArgs struct {
	StatusDown pulumi.IntPtrInput `pulumi:"statusDown"`
	StatusUp   pulumi.IntPtrInput `pulumi:"statusUp"`
}

func (NodeBalancerConfigNodeStatusArgs) ElementType added in v1.4.0

func (NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusOutput added in v1.4.0

func (i NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusOutput() NodeBalancerConfigNodeStatusOutput

func (NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusOutputWithContext added in v1.4.0

func (i NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusOutputWithContext(ctx context.Context) NodeBalancerConfigNodeStatusOutput

func (NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusPtrOutput added in v1.4.0

func (i NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusPtrOutput() NodeBalancerConfigNodeStatusPtrOutput

func (NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusPtrOutputWithContext added in v1.4.0

func (i NodeBalancerConfigNodeStatusArgs) ToNodeBalancerConfigNodeStatusPtrOutputWithContext(ctx context.Context) NodeBalancerConfigNodeStatusPtrOutput

type NodeBalancerConfigNodeStatusInput added in v1.4.0

type NodeBalancerConfigNodeStatusInput interface {
	pulumi.Input

	ToNodeBalancerConfigNodeStatusOutput() NodeBalancerConfigNodeStatusOutput
	ToNodeBalancerConfigNodeStatusOutputWithContext(context.Context) NodeBalancerConfigNodeStatusOutput
}

type NodeBalancerConfigNodeStatusOutput added in v1.4.0

type NodeBalancerConfigNodeStatusOutput struct{ *pulumi.OutputState }

func (NodeBalancerConfigNodeStatusOutput) ElementType added in v1.4.0

func (NodeBalancerConfigNodeStatusOutput) StatusDown added in v1.4.0

func (NodeBalancerConfigNodeStatusOutput) StatusUp added in v1.4.0

func (NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusOutput added in v1.4.0

func (o NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusOutput() NodeBalancerConfigNodeStatusOutput

func (NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusOutputWithContext added in v1.4.0

func (o NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusOutputWithContext(ctx context.Context) NodeBalancerConfigNodeStatusOutput

func (NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusPtrOutput added in v1.4.0

func (o NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusPtrOutput() NodeBalancerConfigNodeStatusPtrOutput

func (NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusPtrOutputWithContext added in v1.4.0

func (o NodeBalancerConfigNodeStatusOutput) ToNodeBalancerConfigNodeStatusPtrOutputWithContext(ctx context.Context) NodeBalancerConfigNodeStatusPtrOutput

type NodeBalancerConfigNodeStatusPtrInput added in v1.4.0

type NodeBalancerConfigNodeStatusPtrInput interface {
	pulumi.Input

	ToNodeBalancerConfigNodeStatusPtrOutput() NodeBalancerConfigNodeStatusPtrOutput
	ToNodeBalancerConfigNodeStatusPtrOutputWithContext(context.Context) NodeBalancerConfigNodeStatusPtrOutput
}

type NodeBalancerConfigNodeStatusPtrOutput added in v1.4.0

type NodeBalancerConfigNodeStatusPtrOutput struct{ *pulumi.OutputState }

func (NodeBalancerConfigNodeStatusPtrOutput) Elem added in v1.4.0

func (NodeBalancerConfigNodeStatusPtrOutput) ElementType added in v1.4.0

func (NodeBalancerConfigNodeStatusPtrOutput) StatusDown added in v1.4.0

func (NodeBalancerConfigNodeStatusPtrOutput) StatusUp added in v1.4.0

func (NodeBalancerConfigNodeStatusPtrOutput) ToNodeBalancerConfigNodeStatusPtrOutput added in v1.4.0

func (o NodeBalancerConfigNodeStatusPtrOutput) ToNodeBalancerConfigNodeStatusPtrOutput() NodeBalancerConfigNodeStatusPtrOutput

func (NodeBalancerConfigNodeStatusPtrOutput) ToNodeBalancerConfigNodeStatusPtrOutputWithContext added in v1.4.0

func (o NodeBalancerConfigNodeStatusPtrOutput) ToNodeBalancerConfigNodeStatusPtrOutputWithContext(ctx context.Context) NodeBalancerConfigNodeStatusPtrOutput

type NodeBalancerConfigState

type NodeBalancerConfigState struct {
	// What algorithm this NodeBalancer should use for routing traffic to backends: roundrobin, leastconn, source
	Algorithm pulumi.StringPtrInput
	// The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and httpBody rely on the backend serving HTTP, and that the response returned matches what is expected.
	Check pulumi.StringPtrInput
	// How many times to attempt a check before considering a backend to be down. (1-30)
	CheckAttempts pulumi.IntPtrInput
	// This value must be present in the response body of the check in order for it to pass. If this value is not present in
	// the response body of a check request, the backend is considered to be down
	CheckBody pulumi.StringPtrInput
	// How often, in seconds, to check that backends are up and serving requests.
	CheckInterval pulumi.IntPtrInput
	// If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
	CheckPassive pulumi.BoolPtrInput
	// The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
	CheckPath pulumi.StringPtrInput
	// How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
	CheckTimeout pulumi.IntPtrInput
	// What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary.
	CipherSuite pulumi.StringPtrInput
	NodeStatus  NodeBalancerConfigNodeStatusPtrInput
	// The ID of the NodeBalancer to access.
	NodebalancerId pulumi.IntPtrInput
	// The TCP port this Config is for. These values must be unique across configs on a single NodeBalancer (you can't have two configs for port 80, for example). While some ports imply some protocols, no enforcement is done and you may configure your NodeBalancer however is useful to you. For example, while port 443 is generally used for HTTPS, you do not need SSL configured to have a NodeBalancer listening on port 443. (Defaults to 80)
	Port pulumi.IntPtrInput
	// The protocol this port is configured to serve. If this is set to https you must include an sslCert and an ssl_key. (Defaults to "http")
	Protocol pulumi.StringPtrInput
	// The certificate this port is serving. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the sslCommonname and sslFingerprint to identify the certificate.
	SslCert pulumi.StringPtrInput
	// The common name for the SSL certification this port is serving if this port is not configured to use SSL.
	SslCommonname pulumi.StringPtrInput
	// The fingerprint for the SSL certification this port is serving if this port is not configured to use SSL.
	SslFingerprint pulumi.StringPtrInput
	// The private key corresponding to this port's certificate. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the sslCommonname and sslFingerprint to identify the certificate.
	SslKey pulumi.StringPtrInput
	// Controls how session stickiness is handled on this port: 'none', 'table', 'http_cookie'
	Stickiness pulumi.StringPtrInput
}

func (NodeBalancerConfigState) ElementType added in v1.4.0

func (NodeBalancerConfigState) ElementType() reflect.Type

type NodeBalancerNode

type NodeBalancerNode struct {
	pulumi.CustomResourceState

	// The private IP Address where this backend can be reached. This must be a private IP address.
	Address pulumi.StringOutput `pulumi:"address"`
	// The ID of the NodeBalancerConfig to access.
	ConfigId pulumi.IntOutput `pulumi:"configId"`
	// The label of the Linode NodeBalancer Node. This is for display purposes only.
	Label pulumi.StringOutput `pulumi:"label"`
	// The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it
	Mode pulumi.StringOutput `pulumi:"mode"`
	// The ID of the NodeBalancer to access.
	NodebalancerId pulumi.IntOutput `pulumi:"nodebalancerId"`
	// The current status of this node, based on the configured checks of its NodeBalancer Config. (unknown, UP, DOWN)
	Status pulumi.StringOutput `pulumi:"status"`
	// Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
	Weight pulumi.IntOutput `pulumi:"weight"`
}

func GetNodeBalancerNode

func GetNodeBalancerNode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeBalancerNodeState, opts ...pulumi.ResourceOption) (*NodeBalancerNode, error)

GetNodeBalancerNode gets an existing NodeBalancerNode resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNodeBalancerNode

func NewNodeBalancerNode(ctx *pulumi.Context,
	name string, args *NodeBalancerNodeArgs, opts ...pulumi.ResourceOption) (*NodeBalancerNode, error)

NewNodeBalancerNode registers a new resource with the given unique name, arguments, and options.

type NodeBalancerNodeArgs

type NodeBalancerNodeArgs struct {
	// The private IP Address where this backend can be reached. This must be a private IP address.
	Address pulumi.StringInput
	// The ID of the NodeBalancerConfig to access.
	ConfigId pulumi.IntInput
	// The label of the Linode NodeBalancer Node. This is for display purposes only.
	Label pulumi.StringInput
	// The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it
	Mode pulumi.StringPtrInput
	// The ID of the NodeBalancer to access.
	NodebalancerId pulumi.IntInput
	// Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a NodeBalancerNode resource.

func (NodeBalancerNodeArgs) ElementType added in v1.4.0

func (NodeBalancerNodeArgs) ElementType() reflect.Type

type NodeBalancerNodeState

type NodeBalancerNodeState struct {
	// The private IP Address where this backend can be reached. This must be a private IP address.
	Address pulumi.StringPtrInput
	// The ID of the NodeBalancerConfig to access.
	ConfigId pulumi.IntPtrInput
	// The label of the Linode NodeBalancer Node. This is for display purposes only.
	Label pulumi.StringPtrInput
	// The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it
	Mode pulumi.StringPtrInput
	// The ID of the NodeBalancer to access.
	NodebalancerId pulumi.IntPtrInput
	// The current status of this node, based on the configured checks of its NodeBalancer Config. (unknown, UP, DOWN)
	Status pulumi.StringPtrInput
	// Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
	Weight pulumi.IntPtrInput
}

func (NodeBalancerNodeState) ElementType added in v1.4.0

func (NodeBalancerNodeState) ElementType() reflect.Type

type NodeBalancerState

type NodeBalancerState struct {
	// Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
	ClientConnThrottle pulumi.IntPtrInput
	Created            pulumi.StringPtrInput
	// This NodeBalancer's hostname, ending with .nodebalancer.linode.com
	Hostname pulumi.StringPtrInput
	// The Public IPv4 Address of this NodeBalancer
	Ipv4 pulumi.StringPtrInput
	// The Public IPv6 Address of this NodeBalancer
	Ipv6 pulumi.StringPtrInput
	// The label of the Linode NodeBalancer
	Label pulumi.StringPtrInput
	// The region where this NodeBalancer will be deployed.  Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode NodeBalancer.*.
	Region pulumi.StringPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags     pulumi.StringArrayInput
	Transfer NodeBalancerTransferPtrInput
	Updated  pulumi.StringPtrInput
}

func (NodeBalancerState) ElementType added in v1.4.0

func (NodeBalancerState) ElementType() reflect.Type

type NodeBalancerTransfer added in v1.4.0

type NodeBalancerTransfer struct {
	In    *float64 `pulumi:"in"`
	Out   *float64 `pulumi:"out"`
	Total *float64 `pulumi:"total"`
}

type NodeBalancerTransferArgs added in v1.4.0

type NodeBalancerTransferArgs struct {
	In    pulumi.Float64PtrInput `pulumi:"in"`
	Out   pulumi.Float64PtrInput `pulumi:"out"`
	Total pulumi.Float64PtrInput `pulumi:"total"`
}

func (NodeBalancerTransferArgs) ElementType added in v1.4.0

func (NodeBalancerTransferArgs) ElementType() reflect.Type

func (NodeBalancerTransferArgs) ToNodeBalancerTransferOutput added in v1.4.0

func (i NodeBalancerTransferArgs) ToNodeBalancerTransferOutput() NodeBalancerTransferOutput

func (NodeBalancerTransferArgs) ToNodeBalancerTransferOutputWithContext added in v1.4.0

func (i NodeBalancerTransferArgs) ToNodeBalancerTransferOutputWithContext(ctx context.Context) NodeBalancerTransferOutput

func (NodeBalancerTransferArgs) ToNodeBalancerTransferPtrOutput added in v1.4.0

func (i NodeBalancerTransferArgs) ToNodeBalancerTransferPtrOutput() NodeBalancerTransferPtrOutput

func (NodeBalancerTransferArgs) ToNodeBalancerTransferPtrOutputWithContext added in v1.4.0

func (i NodeBalancerTransferArgs) ToNodeBalancerTransferPtrOutputWithContext(ctx context.Context) NodeBalancerTransferPtrOutput

type NodeBalancerTransferInput added in v1.4.0

type NodeBalancerTransferInput interface {
	pulumi.Input

	ToNodeBalancerTransferOutput() NodeBalancerTransferOutput
	ToNodeBalancerTransferOutputWithContext(context.Context) NodeBalancerTransferOutput
}

type NodeBalancerTransferOutput added in v1.4.0

type NodeBalancerTransferOutput struct{ *pulumi.OutputState }

func (NodeBalancerTransferOutput) ElementType added in v1.4.0

func (NodeBalancerTransferOutput) ElementType() reflect.Type

func (NodeBalancerTransferOutput) In added in v1.4.0

func (NodeBalancerTransferOutput) Out added in v1.4.0

func (NodeBalancerTransferOutput) ToNodeBalancerTransferOutput added in v1.4.0

func (o NodeBalancerTransferOutput) ToNodeBalancerTransferOutput() NodeBalancerTransferOutput

func (NodeBalancerTransferOutput) ToNodeBalancerTransferOutputWithContext added in v1.4.0

func (o NodeBalancerTransferOutput) ToNodeBalancerTransferOutputWithContext(ctx context.Context) NodeBalancerTransferOutput

func (NodeBalancerTransferOutput) ToNodeBalancerTransferPtrOutput added in v1.4.0

func (o NodeBalancerTransferOutput) ToNodeBalancerTransferPtrOutput() NodeBalancerTransferPtrOutput

func (NodeBalancerTransferOutput) ToNodeBalancerTransferPtrOutputWithContext added in v1.4.0

func (o NodeBalancerTransferOutput) ToNodeBalancerTransferPtrOutputWithContext(ctx context.Context) NodeBalancerTransferPtrOutput

func (NodeBalancerTransferOutput) Total added in v1.4.0

type NodeBalancerTransferPtrInput added in v1.4.0

type NodeBalancerTransferPtrInput interface {
	pulumi.Input

	ToNodeBalancerTransferPtrOutput() NodeBalancerTransferPtrOutput
	ToNodeBalancerTransferPtrOutputWithContext(context.Context) NodeBalancerTransferPtrOutput
}

func NodeBalancerTransferPtr added in v1.4.0

func NodeBalancerTransferPtr(v *NodeBalancerTransferArgs) NodeBalancerTransferPtrInput

type NodeBalancerTransferPtrOutput added in v1.4.0

type NodeBalancerTransferPtrOutput struct{ *pulumi.OutputState }

func (NodeBalancerTransferPtrOutput) Elem added in v1.4.0

func (NodeBalancerTransferPtrOutput) ElementType added in v1.4.0

func (NodeBalancerTransferPtrOutput) In added in v1.4.0

func (NodeBalancerTransferPtrOutput) Out added in v1.4.0

func (NodeBalancerTransferPtrOutput) ToNodeBalancerTransferPtrOutput added in v1.4.0

func (o NodeBalancerTransferPtrOutput) ToNodeBalancerTransferPtrOutput() NodeBalancerTransferPtrOutput

func (NodeBalancerTransferPtrOutput) ToNodeBalancerTransferPtrOutputWithContext added in v1.4.0

func (o NodeBalancerTransferPtrOutput) ToNodeBalancerTransferPtrOutputWithContext(ctx context.Context) NodeBalancerTransferPtrOutput

func (NodeBalancerTransferPtrOutput) Total added in v1.4.0

type ObjectStorageBucket added in v1.1.0

type ObjectStorageBucket struct {
	pulumi.CustomResourceState

	// The cluster of the Linode Object Storage Bucket.
	Cluster pulumi.StringOutput `pulumi:"cluster"`
	// The label of the Linode Object Storage Bucket.
	Label pulumi.StringOutput `pulumi:"label"`
}

Provides a Linode Object Storage Bucket resource. This can be used to create, modify, and delete Linodes Object Storage Buckets.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/object_storage_bucket.html.md.

func GetObjectStorageBucket added in v1.1.0

func GetObjectStorageBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectStorageBucketState, opts ...pulumi.ResourceOption) (*ObjectStorageBucket, error)

GetObjectStorageBucket gets an existing ObjectStorageBucket resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectStorageBucket added in v1.1.0

func NewObjectStorageBucket(ctx *pulumi.Context,
	name string, args *ObjectStorageBucketArgs, opts ...pulumi.ResourceOption) (*ObjectStorageBucket, error)

NewObjectStorageBucket registers a new resource with the given unique name, arguments, and options.

type ObjectStorageBucketArgs added in v1.1.0

type ObjectStorageBucketArgs struct {
	// The cluster of the Linode Object Storage Bucket.
	Cluster pulumi.StringInput
	// The label of the Linode Object Storage Bucket.
	Label pulumi.StringInput
}

The set of arguments for constructing a ObjectStorageBucket resource.

func (ObjectStorageBucketArgs) ElementType added in v1.4.0

func (ObjectStorageBucketArgs) ElementType() reflect.Type

type ObjectStorageBucketState added in v1.1.0

type ObjectStorageBucketState struct {
	// The cluster of the Linode Object Storage Bucket.
	Cluster pulumi.StringPtrInput
	// The label of the Linode Object Storage Bucket.
	Label pulumi.StringPtrInput
}

func (ObjectStorageBucketState) ElementType added in v1.4.0

func (ObjectStorageBucketState) ElementType() reflect.Type

type ObjectStorageKey added in v1.1.0

type ObjectStorageKey struct {
	pulumi.CustomResourceState

	// This keypair's access key. This is not secret.
	AccessKey pulumi.StringOutput `pulumi:"accessKey"`
	// The label given to this key. For display purposes only.
	Label pulumi.StringOutput `pulumi:"label"`
	// This keypair's secret key.
	SecretKey pulumi.StringOutput `pulumi:"secretKey"`
}

Provides a Linode Object Storage Key resource. This can be used to create, modify, and delete Linodes Object Storage Keys.

## Attributes

This resource exports the following attributes:

* `accessKey` - This keypair's access key. This is not secret.

* `secretKey` - This keypair's secret key.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/object_storage_key.html.md.

func GetObjectStorageKey added in v1.1.0

func GetObjectStorageKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectStorageKeyState, opts ...pulumi.ResourceOption) (*ObjectStorageKey, error)

GetObjectStorageKey gets an existing ObjectStorageKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectStorageKey added in v1.1.0

func NewObjectStorageKey(ctx *pulumi.Context,
	name string, args *ObjectStorageKeyArgs, opts ...pulumi.ResourceOption) (*ObjectStorageKey, error)

NewObjectStorageKey registers a new resource with the given unique name, arguments, and options.

type ObjectStorageKeyArgs added in v1.1.0

type ObjectStorageKeyArgs struct {
	// The label given to this key. For display purposes only.
	Label pulumi.StringInput
}

The set of arguments for constructing a ObjectStorageKey resource.

func (ObjectStorageKeyArgs) ElementType added in v1.4.0

func (ObjectStorageKeyArgs) ElementType() reflect.Type

type ObjectStorageKeyState added in v1.1.0

type ObjectStorageKeyState struct {
	// This keypair's access key. This is not secret.
	AccessKey pulumi.StringPtrInput
	// The label given to this key. For display purposes only.
	Label pulumi.StringPtrInput
	// This keypair's secret key.
	SecretKey pulumi.StringPtrInput
}

func (ObjectStorageKeyState) ElementType added in v1.4.0

func (ObjectStorageKeyState) ElementType() reflect.Type

type Provider added in v1.4.0

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the linode package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/index.html.markdown.

func NewProvider added in v1.4.0

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

type ProviderArgs added in v1.4.0

type ProviderArgs struct {
	// An HTTP User-Agent Prefix to prepend in API requests.
	ApiVersion pulumi.StringPtrInput
	// The token that allows you access to your Linode account
	Token pulumi.StringPtrInput
	// An HTTP User-Agent Prefix to prepend in API requests.
	UaPrefix pulumi.StringPtrInput
	// The HTTP(S) API address of the Linode API to use.
	Url pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType added in v1.4.0

func (ProviderArgs) ElementType() reflect.Type

type Rdns

type Rdns struct {
	pulumi.CustomResourceState

	// The Public IPv4 or IPv6 address that will receive the `PTR` record.  A matching `A` or `AAAA` record must exist.
	Address pulumi.StringOutput `pulumi:"address"`
	// The name of the RDNS address.
	Rdns pulumi.StringOutput `pulumi:"rdns"`
}

Provides a Linode RDNS resource. This can be used to create and modify RDNS records.

Linode RDNS names must have a matching address value in an A or AAAA record. This A or AAAA name must be resolvable at the time the RDNS resource is being associated.

For more information, see the [Linode APIv4 docs](https://developers.linode.com/api/docs/v4#operation/updateIP) and the [Configure your Linode for Reverse DNS](https://www.linode.com/docs/networking/dns/configure-your-linode-for-reverse-dns-classic-manager/) guide.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/rdns.html.md.

func GetRdns

func GetRdns(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RdnsState, opts ...pulumi.ResourceOption) (*Rdns, error)

GetRdns gets an existing Rdns resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRdns

func NewRdns(ctx *pulumi.Context,
	name string, args *RdnsArgs, opts ...pulumi.ResourceOption) (*Rdns, error)

NewRdns registers a new resource with the given unique name, arguments, and options.

type RdnsArgs

type RdnsArgs struct {
	// The Public IPv4 or IPv6 address that will receive the `PTR` record.  A matching `A` or `AAAA` record must exist.
	Address pulumi.StringInput
	// The name of the RDNS address.
	Rdns pulumi.StringInput
}

The set of arguments for constructing a Rdns resource.

func (RdnsArgs) ElementType added in v1.4.0

func (RdnsArgs) ElementType() reflect.Type

type RdnsState

type RdnsState struct {
	// The Public IPv4 or IPv6 address that will receive the `PTR` record.  A matching `A` or `AAAA` record must exist.
	Address pulumi.StringPtrInput
	// The name of the RDNS address.
	Rdns pulumi.StringPtrInput
}

func (RdnsState) ElementType added in v1.4.0

func (RdnsState) ElementType() reflect.Type

type SshKey

type SshKey struct {
	pulumi.CustomResourceState

	// The date this key was added.
	Created pulumi.StringOutput `pulumi:"created"`
	// A label for the SSH Key.
	Label pulumi.StringOutput `pulumi:"label"`
	// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
	SshKey pulumi.StringOutput `pulumi:"sshKey"`
}

Provides a Linode SSH Key resource. This can be used to create, modify, and delete Linodes SSH Keys. Managed SSH Keys allow instances to be created with a list of Linode usernames, whose SSH keys will be automatically applied to the root account's `~/.ssh/authorized_keys` file. For more information, see the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/getSSHKeys).

## Attributes

This resource exports the following attributes:

* `created` - The date this SSH Key was created.

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/sshkey.html.md.

func GetSshKey

func GetSshKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SshKeyState, opts ...pulumi.ResourceOption) (*SshKey, error)

GetSshKey gets an existing SshKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSshKey

func NewSshKey(ctx *pulumi.Context,
	name string, args *SshKeyArgs, opts ...pulumi.ResourceOption) (*SshKey, error)

NewSshKey registers a new resource with the given unique name, arguments, and options.

type SshKeyArgs

type SshKeyArgs struct {
	// A label for the SSH Key.
	Label pulumi.StringInput
	// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
	SshKey pulumi.StringInput
}

The set of arguments for constructing a SshKey resource.

func (SshKeyArgs) ElementType added in v1.4.0

func (SshKeyArgs) ElementType() reflect.Type

type SshKeyState

type SshKeyState struct {
	// The date this key was added.
	Created pulumi.StringPtrInput
	// A label for the SSH Key.
	Label pulumi.StringPtrInput
	// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
	SshKey pulumi.StringPtrInput
}

func (SshKeyState) ElementType added in v1.4.0

func (SshKeyState) ElementType() reflect.Type

type StackScript

type StackScript struct {
	pulumi.CustomResourceState

	// The date this StackScript was created.
	Created pulumi.StringOutput `pulumi:"created"`
	// Count of currently active, deployed Linodes created from this StackScript.
	DeploymentsActive pulumi.IntOutput `pulumi:"deploymentsActive"`
	// The total number of times this StackScript has been deployed.
	DeploymentsTotal pulumi.IntOutput `pulumi:"deploymentsTotal"`
	// A description for the StackScript.
	Description pulumi.StringOutput `pulumi:"description"`
	// An array of Image IDs representing the Images that this StackScript is compatible for deploying with.
	Images pulumi.StringArrayOutput `pulumi:"images"`
	// This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. *Changing `isPublic` forces the creation of a new StackScript*
	IsPublic pulumi.BoolPtrOutput `pulumi:"isPublic"`
	// The StackScript's label is for display purposes only.
	Label pulumi.StringOutput `pulumi:"label"`
	// This field allows you to add notes for the set of revisions made to this StackScript.
	RevNote pulumi.StringPtrOutput `pulumi:"revNote"`
	// The script to execute when provisioning a new Linode with this StackScript.
	Script pulumi.StringOutput `pulumi:"script"`
	// The date this StackScript was updated.
	Updated pulumi.StringOutput `pulumi:"updated"`
	// This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized
	// parameters during deployment.
	UserDefinedFields StackScriptUserDefinedFieldArrayOutput `pulumi:"userDefinedFields"`
	// The Gravatar ID for the User who created the StackScript.
	UserGravatarId pulumi.StringOutput `pulumi:"userGravatarId"`
	// The User who created the StackScript.
	Username pulumi.StringOutput `pulumi:"username"`
}

func GetStackScript

func GetStackScript(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackScriptState, opts ...pulumi.ResourceOption) (*StackScript, error)

GetStackScript gets an existing StackScript resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStackScript

func NewStackScript(ctx *pulumi.Context,
	name string, args *StackScriptArgs, opts ...pulumi.ResourceOption) (*StackScript, error)

NewStackScript registers a new resource with the given unique name, arguments, and options.

type StackScriptArgs

type StackScriptArgs struct {
	// A description for the StackScript.
	Description pulumi.StringInput
	// An array of Image IDs representing the Images that this StackScript is compatible for deploying with.
	Images pulumi.StringArrayInput
	// This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. *Changing `isPublic` forces the creation of a new StackScript*
	IsPublic pulumi.BoolPtrInput
	// The StackScript's label is for display purposes only.
	Label pulumi.StringInput
	// This field allows you to add notes for the set of revisions made to this StackScript.
	RevNote pulumi.StringPtrInput
	// The script to execute when provisioning a new Linode with this StackScript.
	Script pulumi.StringInput
	// This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized
	// parameters during deployment.
	UserDefinedFields StackScriptUserDefinedFieldArrayInput
}

The set of arguments for constructing a StackScript resource.

func (StackScriptArgs) ElementType added in v1.4.0

func (StackScriptArgs) ElementType() reflect.Type

type StackScriptState

type StackScriptState struct {
	// The date this StackScript was created.
	Created pulumi.StringPtrInput
	// Count of currently active, deployed Linodes created from this StackScript.
	DeploymentsActive pulumi.IntPtrInput
	// The total number of times this StackScript has been deployed.
	DeploymentsTotal pulumi.IntPtrInput
	// A description for the StackScript.
	Description pulumi.StringPtrInput
	// An array of Image IDs representing the Images that this StackScript is compatible for deploying with.
	Images pulumi.StringArrayInput
	// This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. *Changing `isPublic` forces the creation of a new StackScript*
	IsPublic pulumi.BoolPtrInput
	// The StackScript's label is for display purposes only.
	Label pulumi.StringPtrInput
	// This field allows you to add notes for the set of revisions made to this StackScript.
	RevNote pulumi.StringPtrInput
	// The script to execute when provisioning a new Linode with this StackScript.
	Script pulumi.StringPtrInput
	// The date this StackScript was updated.
	Updated pulumi.StringPtrInput
	// This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized
	// parameters during deployment.
	UserDefinedFields StackScriptUserDefinedFieldArrayInput
	// The Gravatar ID for the User who created the StackScript.
	UserGravatarId pulumi.StringPtrInput
	// The User who created the StackScript.
	Username pulumi.StringPtrInput
}

func (StackScriptState) ElementType added in v1.4.0

func (StackScriptState) ElementType() reflect.Type

type StackScriptUserDefinedField added in v1.4.0

type StackScriptUserDefinedField struct {
	Default *string `pulumi:"default"`
	Example *string `pulumi:"example"`
	// The StackScript's label is for display purposes only.
	Label  *string `pulumi:"label"`
	ManyOf *string `pulumi:"manyOf"`
	Name   *string `pulumi:"name"`
	OneOf  *string `pulumi:"oneOf"`
}

type StackScriptUserDefinedFieldArgs added in v1.4.0

type StackScriptUserDefinedFieldArgs struct {
	Default pulumi.StringPtrInput `pulumi:"default"`
	Example pulumi.StringPtrInput `pulumi:"example"`
	// The StackScript's label is for display purposes only.
	Label  pulumi.StringPtrInput `pulumi:"label"`
	ManyOf pulumi.StringPtrInput `pulumi:"manyOf"`
	Name   pulumi.StringPtrInput `pulumi:"name"`
	OneOf  pulumi.StringPtrInput `pulumi:"oneOf"`
}

func (StackScriptUserDefinedFieldArgs) ElementType added in v1.4.0

func (StackScriptUserDefinedFieldArgs) ToStackScriptUserDefinedFieldOutput added in v1.4.0

func (i StackScriptUserDefinedFieldArgs) ToStackScriptUserDefinedFieldOutput() StackScriptUserDefinedFieldOutput

func (StackScriptUserDefinedFieldArgs) ToStackScriptUserDefinedFieldOutputWithContext added in v1.4.0

func (i StackScriptUserDefinedFieldArgs) ToStackScriptUserDefinedFieldOutputWithContext(ctx context.Context) StackScriptUserDefinedFieldOutput

type StackScriptUserDefinedFieldArray added in v1.4.0

type StackScriptUserDefinedFieldArray []StackScriptUserDefinedFieldInput

func (StackScriptUserDefinedFieldArray) ElementType added in v1.4.0

func (StackScriptUserDefinedFieldArray) ToStackScriptUserDefinedFieldArrayOutput added in v1.4.0

func (i StackScriptUserDefinedFieldArray) ToStackScriptUserDefinedFieldArrayOutput() StackScriptUserDefinedFieldArrayOutput

func (StackScriptUserDefinedFieldArray) ToStackScriptUserDefinedFieldArrayOutputWithContext added in v1.4.0

func (i StackScriptUserDefinedFieldArray) ToStackScriptUserDefinedFieldArrayOutputWithContext(ctx context.Context) StackScriptUserDefinedFieldArrayOutput

type StackScriptUserDefinedFieldArrayInput added in v1.4.0

type StackScriptUserDefinedFieldArrayInput interface {
	pulumi.Input

	ToStackScriptUserDefinedFieldArrayOutput() StackScriptUserDefinedFieldArrayOutput
	ToStackScriptUserDefinedFieldArrayOutputWithContext(context.Context) StackScriptUserDefinedFieldArrayOutput
}

type StackScriptUserDefinedFieldArrayOutput added in v1.4.0

type StackScriptUserDefinedFieldArrayOutput struct{ *pulumi.OutputState }

func (StackScriptUserDefinedFieldArrayOutput) ElementType added in v1.4.0

func (StackScriptUserDefinedFieldArrayOutput) Index added in v1.4.0

func (StackScriptUserDefinedFieldArrayOutput) ToStackScriptUserDefinedFieldArrayOutput added in v1.4.0

func (o StackScriptUserDefinedFieldArrayOutput) ToStackScriptUserDefinedFieldArrayOutput() StackScriptUserDefinedFieldArrayOutput

func (StackScriptUserDefinedFieldArrayOutput) ToStackScriptUserDefinedFieldArrayOutputWithContext added in v1.4.0

func (o StackScriptUserDefinedFieldArrayOutput) ToStackScriptUserDefinedFieldArrayOutputWithContext(ctx context.Context) StackScriptUserDefinedFieldArrayOutput

type StackScriptUserDefinedFieldInput added in v1.4.0

type StackScriptUserDefinedFieldInput interface {
	pulumi.Input

	ToStackScriptUserDefinedFieldOutput() StackScriptUserDefinedFieldOutput
	ToStackScriptUserDefinedFieldOutputWithContext(context.Context) StackScriptUserDefinedFieldOutput
}

type StackScriptUserDefinedFieldOutput added in v1.4.0

type StackScriptUserDefinedFieldOutput struct{ *pulumi.OutputState }

func (StackScriptUserDefinedFieldOutput) Default added in v1.4.0

func (StackScriptUserDefinedFieldOutput) ElementType added in v1.4.0

func (StackScriptUserDefinedFieldOutput) Example added in v1.4.0

func (StackScriptUserDefinedFieldOutput) Label added in v1.4.0

The StackScript's label is for display purposes only.

func (StackScriptUserDefinedFieldOutput) ManyOf added in v1.4.0

func (StackScriptUserDefinedFieldOutput) Name added in v1.4.0

func (StackScriptUserDefinedFieldOutput) OneOf added in v1.4.0

func (StackScriptUserDefinedFieldOutput) ToStackScriptUserDefinedFieldOutput added in v1.4.0

func (o StackScriptUserDefinedFieldOutput) ToStackScriptUserDefinedFieldOutput() StackScriptUserDefinedFieldOutput

func (StackScriptUserDefinedFieldOutput) ToStackScriptUserDefinedFieldOutputWithContext added in v1.4.0

func (o StackScriptUserDefinedFieldOutput) ToStackScriptUserDefinedFieldOutputWithContext(ctx context.Context) StackScriptUserDefinedFieldOutput

type Token

type Token struct {
	pulumi.CustomResourceState

	// The date and time this token was created.
	Created pulumi.StringOutput `pulumi:"created"`
	// When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
	Expiry pulumi.StringPtrOutput `pulumi:"expiry"`
	// A label for the Token.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure.
	Scopes pulumi.StringOutput `pulumi:"scopes"`
	// The token used to access the API.
	Token pulumi.StringOutput `pulumi:"token"`
}

func GetToken

func GetToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TokenState, opts ...pulumi.ResourceOption) (*Token, error)

GetToken gets an existing Token resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewToken

func NewToken(ctx *pulumi.Context,
	name string, args *TokenArgs, opts ...pulumi.ResourceOption) (*Token, error)

NewToken registers a new resource with the given unique name, arguments, and options.

type TokenArgs

type TokenArgs struct {
	// When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
	Expiry pulumi.StringPtrInput
	// A label for the Token.
	Label pulumi.StringPtrInput
	// The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure.
	Scopes pulumi.StringInput
}

The set of arguments for constructing a Token resource.

func (TokenArgs) ElementType added in v1.4.0

func (TokenArgs) ElementType() reflect.Type

type TokenState

type TokenState struct {
	// The date and time this token was created.
	Created pulumi.StringPtrInput
	// When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
	Expiry pulumi.StringPtrInput
	// A label for the Token.
	Label pulumi.StringPtrInput
	// The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure.
	Scopes pulumi.StringPtrInput
	// The token used to access the API.
	Token pulumi.StringPtrInput
}

func (TokenState) ElementType added in v1.4.0

func (TokenState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// The full filesystem path for the Volume based on the Volume's label. Path is /dev/disk/by-id/scsi-0Linode_Volume_ +
	// Volume label.
	FilesystemPath pulumi.StringOutput `pulumi:"filesystemPath"`
	// The label of the Linode Volume
	Label pulumi.StringOutput `pulumi:"label"`
	// The ID of a Linode Instance where the the Volume should be attached.
	LinodeId pulumi.IntOutput `pulumi:"linodeId"`
	// The region where this volume will be deployed.  Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode Volume.*.
	Region pulumi.StringOutput `pulumi:"region"`
	// Size of the Volume in GB.
	Size pulumi.IntOutput `pulumi:"size"`
	// The status of the volume, indicating the current readiness state.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Provides a Linode Volume resource. This can be used to create, modify, and delete Linodes Block Storage Volumes. Block Storage Volumes are removable storage disks that persist outside the life-cycle of Linode Instances. These volumes can be attached to and detached from Linode instances throughout a region.

For more information, see [How to Use Block Storage with Your Linode](https://www.linode.com/docs/platform/block-storage/how-to-use-block-storage-with-your-linode/) and the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/createVolume).

## Attributes

This resource exports the following attributes:

* `status` - The label of the Linode Volume.

* `filesystemPath` - The full filesystem path for the Volume based on the Volume's label. The path is "/dev/disk/by-id/scsi-0Linode_Volume_" + the Volume label

> This content is derived from https://github.com/terraform-providers/terraform-provider-linode/blob/master/website/docs/r/volume.html.md.

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

NewVolume registers a new resource with the given unique name, arguments, and options.

type VolumeArgs

type VolumeArgs struct {
	// The label of the Linode Volume
	Label pulumi.StringInput
	// The ID of a Linode Instance where the the Volume should be attached.
	LinodeId pulumi.IntPtrInput
	// The region where this volume will be deployed.  Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode Volume.*.
	Region pulumi.StringInput
	// Size of the Volume in GB.
	Size pulumi.IntPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType added in v1.4.0

func (VolumeArgs) ElementType() reflect.Type

type VolumeState

type VolumeState struct {
	// The full filesystem path for the Volume based on the Volume's label. Path is /dev/disk/by-id/scsi-0Linode_Volume_ +
	// Volume label.
	FilesystemPath pulumi.StringPtrInput
	// The label of the Linode Volume
	Label pulumi.StringPtrInput
	// The ID of a Linode Instance where the the Volume should be attached.
	LinodeId pulumi.IntPtrInput
	// The region where this volume will be deployed.  Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc.  *Changing `region` forces the creation of a new Linode Volume.*.
	Region pulumi.StringPtrInput
	// Size of the Volume in GB.
	Size pulumi.IntPtrInput
	// The status of the volume, indicating the current readiness state.
	Status pulumi.StringPtrInput
	// A list of tags applied to this object. Tags are for organizational purposes only.
	Tags pulumi.StringArrayInput
}

func (VolumeState) ElementType added in v1.4.0

func (VolumeState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL