pulumi-linode 5.2.0a1753337355__py3-none-any.whl → 5.2.0a1753397983__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-linode might be problematic. Click here for more details.
- pulumi_linode/__init__.py +1 -1
- pulumi_linode/_inputs.py +5169 -5170
- pulumi_linode/account_settings.py +70 -71
- pulumi_linode/config/__init__.py +1 -1
- pulumi_linode/config/__init__.pyi +1 -2
- pulumi_linode/config/vars.py +21 -22
- pulumi_linode/database_access_controls.py +52 -53
- pulumi_linode/database_mysql.py +247 -248
- pulumi_linode/database_mysql_v2.py +782 -783
- pulumi_linode/database_postgresql.py +273 -274
- pulumi_linode/database_postgresql_v2.py +1105 -1106
- pulumi_linode/domain.py +222 -223
- pulumi_linode/domain_record.py +188 -189
- pulumi_linode/firewall.py +155 -156
- pulumi_linode/firewall_device.py +70 -71
- pulumi_linode/get_account.py +33 -34
- pulumi_linode/get_account_availabilities.py +5 -6
- pulumi_linode/get_account_availability.py +13 -14
- pulumi_linode/get_account_login.py +17 -18
- pulumi_linode/get_account_logins.py +5 -6
- pulumi_linode/get_account_settings.py +13 -14
- pulumi_linode/get_child_account.py +37 -38
- pulumi_linode/get_child_accounts.py +5 -6
- pulumi_linode/get_database_backups.py +35 -36
- pulumi_linode/get_database_engines.py +23 -24
- pulumi_linode/get_database_mysql.py +52 -53
- pulumi_linode/get_database_mysql_backups.py +29 -30
- pulumi_linode/get_database_mysql_config.py +5 -6
- pulumi_linode/get_database_mysql_v2.py +115 -116
- pulumi_linode/get_database_postgresql.py +56 -57
- pulumi_linode/get_database_postgresql_config.py +7 -8
- pulumi_linode/get_database_postgresql_v2.py +153 -154
- pulumi_linode/get_databases.py +17 -18
- pulumi_linode/get_domain.py +37 -38
- pulumi_linode/get_domain_record.py +37 -38
- pulumi_linode/get_domain_zonefile.py +11 -12
- pulumi_linode/get_domains.py +17 -18
- pulumi_linode/get_firewall.py +30 -31
- pulumi_linode/get_firewalls.py +17 -18
- pulumi_linode/get_image.py +36 -37
- pulumi_linode/get_images.py +23 -24
- pulumi_linode/get_instance_backups.py +12 -13
- pulumi_linode/get_instance_networking.py +11 -12
- pulumi_linode/get_instance_type.py +30 -31
- pulumi_linode/get_instance_types.py +17 -18
- pulumi_linode/get_instances.py +17 -18
- pulumi_linode/get_ipv6_range.py +17 -18
- pulumi_linode/get_ipv6_ranges.py +5 -6
- pulumi_linode/get_kernel.py +23 -24
- pulumi_linode/get_kernels.py +17 -18
- pulumi_linode/get_linode_object_storage_bucket.py +33 -34
- pulumi_linode/get_lke_cluster.py +33 -34
- pulumi_linode/get_lke_clusters.py +17 -18
- pulumi_linode/get_lke_types.py +17 -18
- pulumi_linode/get_lke_version.py +13 -14
- pulumi_linode/get_lke_versions.py +10 -11
- pulumi_linode/get_nb_types.py +13 -14
- pulumi_linode/get_network_transfer_prices.py +17 -18
- pulumi_linode/get_networking_ip.py +28 -29
- pulumi_linode/get_networking_ips.py +17 -18
- pulumi_linode/get_node_balancer.py +29 -30
- pulumi_linode/get_node_balancer_config.py +48 -49
- pulumi_linode/get_node_balancer_node.py +29 -30
- pulumi_linode/get_nodebalancer_configs.py +23 -24
- pulumi_linode/get_nodebalancers.py +17 -18
- pulumi_linode/get_object_storage_cluster.py +15 -16
- pulumi_linode/get_object_storage_endpoints.py +17 -18
- pulumi_linode/get_object_storage_quota.py +22 -23
- pulumi_linode/get_object_storage_quotas.py +5 -6
- pulumi_linode/get_placement_group.py +19 -20
- pulumi_linode/get_placement_groups.py +13 -14
- pulumi_linode/get_profile.py +22 -23
- pulumi_linode/get_region.py +19 -20
- pulumi_linode/get_regions.py +5 -6
- pulumi_linode/get_ssh_key.py +17 -18
- pulumi_linode/get_sshkeys.py +17 -18
- pulumi_linode/get_stack_script.py +32 -33
- pulumi_linode/get_stack_scripts.py +23 -24
- pulumi_linode/get_user.py +35 -36
- pulumi_linode/get_users.py +17 -18
- pulumi_linode/get_vlans.py +17 -18
- pulumi_linode/get_volume.py +27 -28
- pulumi_linode/get_volume_types.py +17 -18
- pulumi_linode/get_volumes.py +17 -18
- pulumi_linode/get_vpc.py +17 -18
- pulumi_linode/get_vpc_ips.py +11 -12
- pulumi_linode/get_vpc_subnet.py +22 -23
- pulumi_linode/get_vpc_subnets.py +11 -12
- pulumi_linode/get_vpcs.py +5 -6
- pulumi_linode/image.py +292 -293
- pulumi_linode/instance.py +520 -521
- pulumi_linode/instance_config.py +166 -167
- pulumi_linode/instance_disk.py +210 -211
- pulumi_linode/instance_ip.py +125 -126
- pulumi_linode/instance_shared_ips.py +35 -36
- pulumi_linode/ipv6_range.py +88 -89
- pulumi_linode/lke_cluster.py +162 -163
- pulumi_linode/lke_node_pool.py +137 -138
- pulumi_linode/networking_ip.py +133 -134
- pulumi_linode/networking_ip_assignment.py +21 -22
- pulumi_linode/node_balancer.py +152 -153
- pulumi_linode/node_balancer_config.py +319 -320
- pulumi_linode/node_balancer_node.py +112 -113
- pulumi_linode/object_storage_bucket.py +195 -196
- pulumi_linode/object_storage_key.py +67 -68
- pulumi_linode/object_storage_object.py +350 -351
- pulumi_linode/outputs.py +5305 -5306
- pulumi_linode/placement_group.py +80 -81
- pulumi_linode/placement_group_assignment.py +48 -49
- pulumi_linode/provider.py +180 -181
- pulumi_linode/pulumi-plugin.json +1 -1
- pulumi_linode/rdns.py +55 -56
- pulumi_linode/reserved_ip_assignment.py +142 -143
- pulumi_linode/ssh_key.py +44 -45
- pulumi_linode/stack_script.py +159 -160
- pulumi_linode/token.py +70 -71
- pulumi_linode/user.py +112 -113
- pulumi_linode/volume.py +141 -142
- pulumi_linode/vpc.py +70 -71
- pulumi_linode/vpc_subnet.py +72 -73
- {pulumi_linode-5.2.0a1753337355.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/METADATA +1 -1
- pulumi_linode-5.2.0a1753397983.dist-info/RECORD +126 -0
- pulumi_linode-5.2.0a1753337355.dist-info/RECORD +0 -126
- {pulumi_linode-5.2.0a1753337355.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.2.0a1753337355.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/top_level.txt +0 -0
pulumi_linode/instance.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,73 +21,73 @@ __all__ = ['InstanceArgs', 'Instance']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class InstanceArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
region: pulumi.Input[
|
|
24
|
+
region: pulumi.Input[_builtins.str],
|
|
26
25
|
alerts: Optional[pulumi.Input['InstanceAlertsArgs']] = None,
|
|
27
|
-
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
28
|
-
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
29
|
-
backup_id: Optional[pulumi.Input[
|
|
30
|
-
backups_enabled: Optional[pulumi.Input[
|
|
31
|
-
boot_config_label: Optional[pulumi.Input[
|
|
32
|
-
booted: Optional[pulumi.Input[
|
|
26
|
+
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
27
|
+
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
28
|
+
backup_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
29
|
+
backups_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
boot_config_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
booted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
33
32
|
configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]]] = None,
|
|
34
|
-
disk_encryption: Optional[pulumi.Input[
|
|
33
|
+
disk_encryption: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
34
|
disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgs']]]] = None,
|
|
36
|
-
firewall_id: Optional[pulumi.Input[
|
|
37
|
-
group: Optional[pulumi.Input[
|
|
38
|
-
image: Optional[pulumi.Input[
|
|
35
|
+
firewall_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
36
|
+
group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
37
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
39
38
|
interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]]] = None,
|
|
40
|
-
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
41
|
-
label: Optional[pulumi.Input[
|
|
39
|
+
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
40
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
42
41
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]]] = None,
|
|
43
|
-
migration_type: Optional[pulumi.Input[
|
|
42
|
+
migration_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
44
43
|
placement_group: Optional[pulumi.Input['InstancePlacementGroupArgs']] = None,
|
|
45
|
-
placement_group_externally_managed: Optional[pulumi.Input[
|
|
46
|
-
private_ip: Optional[pulumi.Input[
|
|
47
|
-
resize_disk: Optional[pulumi.Input[
|
|
48
|
-
root_pass: Optional[pulumi.Input[
|
|
49
|
-
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
50
|
-
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
51
|
-
stackscript_id: Optional[pulumi.Input[
|
|
52
|
-
swap_size: Optional[pulumi.Input[
|
|
53
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
-
type: Optional[pulumi.Input[
|
|
55
|
-
watchdog_enabled: Optional[pulumi.Input[
|
|
44
|
+
placement_group_externally_managed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
45
|
+
private_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
46
|
+
resize_disk: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
47
|
+
root_pass: Optional[pulumi.Input[_builtins.str]] = None,
|
|
48
|
+
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
49
|
+
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
50
|
+
stackscript_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
51
|
+
swap_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
52
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
53
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
54
|
+
watchdog_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
56
55
|
"""
|
|
57
56
|
The set of arguments for constructing a Instance resource.
|
|
58
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[_builtins.str] region: This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
59
58
|
:param pulumi.Input['InstanceAlertsArgs'] alerts: Configuration options for alert triggers on this Linode.
|
|
60
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
61
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
59
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_keys: A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
60
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_users: A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
62
61
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
63
|
-
:param pulumi.Input[
|
|
62
|
+
:param pulumi.Input[_builtins.int] backup_id: A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
64
63
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
65
64
|
/linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
66
65
|
exclusive.
|
|
67
|
-
:param pulumi.Input[
|
|
68
|
-
:param pulumi.Input[
|
|
69
|
-
:param pulumi.Input[
|
|
66
|
+
:param pulumi.Input[_builtins.bool] backups_enabled: 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.
|
|
67
|
+
:param pulumi.Input[_builtins.str] boot_config_label: The Label of the Instance Config that should be used to boot the Linode instance.
|
|
68
|
+
:param pulumi.Input[_builtins.bool] booted: If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
70
69
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]] configs: Configuration profiles define the VM settings and boot behavior of the Linode Instance.
|
|
71
|
-
:param pulumi.Input[
|
|
70
|
+
:param pulumi.Input[_builtins.str] disk_encryption: The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
72
71
|
|
|
73
72
|
* **NOTE: Disk encryption may not currently be available to all users.**
|
|
74
|
-
:param pulumi.Input[
|
|
75
|
-
:param pulumi.Input[
|
|
76
|
-
:param pulumi.Input[
|
|
73
|
+
:param pulumi.Input[_builtins.int] firewall_id: The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
74
|
+
:param pulumi.Input[_builtins.str] group: A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
75
|
+
:param pulumi.Input[_builtins.str] image: An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
77
76
|
See /images for more information on the Images available for you to use.
|
|
78
77
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]] interfaces: An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
79
78
|
must be declared in the config block.
|
|
80
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
79
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4s: A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
81
80
|
|
|
82
81
|
* **NOTE: IP reservation is not currently available to all users.**
|
|
83
|
-
:param pulumi.Input[
|
|
82
|
+
:param pulumi.Input[_builtins.str] label: The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
84
83
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]] metadatas: Various fields related to the Linode Metadata service.
|
|
85
|
-
:param pulumi.Input[
|
|
84
|
+
:param pulumi.Input[_builtins.str] migration_type: The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
86
85
|
|
|
87
86
|
* `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
88
87
|
:param pulumi.Input['InstancePlacementGroupArgs'] placement_group: Information about the Placement Group this Linode is assigned to.
|
|
89
|
-
:param pulumi.Input[
|
|
90
|
-
:param pulumi.Input[
|
|
91
|
-
:param pulumi.Input[
|
|
88
|
+
:param pulumi.Input[_builtins.bool] placement_group_externally_managed: If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
89
|
+
:param pulumi.Input[_builtins.bool] private_ip: 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.
|
|
90
|
+
:param pulumi.Input[_builtins.bool] resize_disk: If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
92
91
|
|
|
93
92
|
* `alerts.0.cpu` - (Optional) The percentage of CPU usage required to trigger an alert. If the average CPU usage over two hours exceeds this value, we'll send you an alert. If this is set to 0, the alert is disabled.
|
|
94
93
|
|
|
@@ -99,23 +98,23 @@ class InstanceArgs:
|
|
|
99
98
|
* `alerts.0.transfer_quota` - (Optional) The percentage of network transfer that may be used before an alert is triggered. When this value is exceeded, we'll alert you. If this is set to 0 (zero), the alert is disabled.
|
|
100
99
|
|
|
101
100
|
* `alerts.0.io` - (Optional) The amount of disk IO operation per second required to trigger an alert. If the average disk IO over two hours exceeds this value, we'll send you an alert. If set to 0, this alert is disabled.
|
|
102
|
-
:param pulumi.Input[
|
|
103
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
101
|
+
:param pulumi.Input[_builtins.str] root_pass: The password that will be initially assigned to the 'root' user account.
|
|
102
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] shared_ipv4s: A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
104
103
|
|
|
105
104
|
* `metadata.0.user_data` - (Optional) The base64-encoded user-defined data exposed to this instance through the Linode Metadata service. Refer to the base64encode(...) function for information on encoding content for this field.
|
|
106
105
|
|
|
107
106
|
* `placement_group.0.id` - (Optional) The ID of the Placement Group to assign this Linode to.
|
|
108
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
107
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] stackscript_data: An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
109
108
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
110
|
-
:param pulumi.Input[
|
|
109
|
+
:param pulumi.Input[_builtins.int] stackscript_id: The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
111
110
|
that is compatible with this StackScript.
|
|
112
|
-
:param pulumi.Input[
|
|
111
|
+
:param pulumi.Input[_builtins.int] swap_size: When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
113
112
|
is used to set the swap disk size for the newly-created Linode.
|
|
114
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
115
|
-
:param pulumi.Input[
|
|
113
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
114
|
+
:param pulumi.Input[_builtins.str] type: The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
116
115
|
|
|
117
116
|
- - -
|
|
118
|
-
:param pulumi.Input[
|
|
117
|
+
:param pulumi.Input[_builtins.bool] watchdog_enabled: 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.
|
|
119
118
|
"""
|
|
120
119
|
pulumi.set(__self__, "region", region)
|
|
121
120
|
if alerts is not None:
|
|
@@ -188,19 +187,19 @@ class InstanceArgs:
|
|
|
188
187
|
if watchdog_enabled is not None:
|
|
189
188
|
pulumi.set(__self__, "watchdog_enabled", watchdog_enabled)
|
|
190
189
|
|
|
191
|
-
@property
|
|
190
|
+
@_builtins.property
|
|
192
191
|
@pulumi.getter
|
|
193
|
-
def region(self) -> pulumi.Input[
|
|
192
|
+
def region(self) -> pulumi.Input[_builtins.str]:
|
|
194
193
|
"""
|
|
195
194
|
This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
196
195
|
"""
|
|
197
196
|
return pulumi.get(self, "region")
|
|
198
197
|
|
|
199
198
|
@region.setter
|
|
200
|
-
def region(self, value: pulumi.Input[
|
|
199
|
+
def region(self, value: pulumi.Input[_builtins.str]):
|
|
201
200
|
pulumi.set(self, "region", value)
|
|
202
201
|
|
|
203
|
-
@property
|
|
202
|
+
@_builtins.property
|
|
204
203
|
@pulumi.getter
|
|
205
204
|
def alerts(self) -> Optional[pulumi.Input['InstanceAlertsArgs']]:
|
|
206
205
|
"""
|
|
@@ -212,21 +211,21 @@ class InstanceArgs:
|
|
|
212
211
|
def alerts(self, value: Optional[pulumi.Input['InstanceAlertsArgs']]):
|
|
213
212
|
pulumi.set(self, "alerts", value)
|
|
214
213
|
|
|
215
|
-
@property
|
|
214
|
+
@_builtins.property
|
|
216
215
|
@pulumi.getter(name="authorizedKeys")
|
|
217
|
-
def authorized_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
216
|
+
def authorized_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
218
217
|
"""
|
|
219
218
|
A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
220
219
|
"""
|
|
221
220
|
return pulumi.get(self, "authorized_keys")
|
|
222
221
|
|
|
223
222
|
@authorized_keys.setter
|
|
224
|
-
def authorized_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
223
|
+
def authorized_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
225
224
|
pulumi.set(self, "authorized_keys", value)
|
|
226
225
|
|
|
227
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
228
227
|
@pulumi.getter(name="authorizedUsers")
|
|
229
|
-
def authorized_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
228
|
+
def authorized_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
230
229
|
"""
|
|
231
230
|
A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
232
231
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
@@ -234,12 +233,12 @@ class InstanceArgs:
|
|
|
234
233
|
return pulumi.get(self, "authorized_users")
|
|
235
234
|
|
|
236
235
|
@authorized_users.setter
|
|
237
|
-
def authorized_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
236
|
+
def authorized_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
238
237
|
pulumi.set(self, "authorized_users", value)
|
|
239
238
|
|
|
240
|
-
@property
|
|
239
|
+
@_builtins.property
|
|
241
240
|
@pulumi.getter(name="backupId")
|
|
242
|
-
def backup_id(self) -> Optional[pulumi.Input[
|
|
241
|
+
def backup_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
243
242
|
"""
|
|
244
243
|
A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
245
244
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
@@ -249,46 +248,46 @@ class InstanceArgs:
|
|
|
249
248
|
return pulumi.get(self, "backup_id")
|
|
250
249
|
|
|
251
250
|
@backup_id.setter
|
|
252
|
-
def backup_id(self, value: Optional[pulumi.Input[
|
|
251
|
+
def backup_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
253
252
|
pulumi.set(self, "backup_id", value)
|
|
254
253
|
|
|
255
|
-
@property
|
|
254
|
+
@_builtins.property
|
|
256
255
|
@pulumi.getter(name="backupsEnabled")
|
|
257
|
-
def backups_enabled(self) -> Optional[pulumi.Input[
|
|
256
|
+
def backups_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
258
257
|
"""
|
|
259
258
|
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.
|
|
260
259
|
"""
|
|
261
260
|
return pulumi.get(self, "backups_enabled")
|
|
262
261
|
|
|
263
262
|
@backups_enabled.setter
|
|
264
|
-
def backups_enabled(self, value: Optional[pulumi.Input[
|
|
263
|
+
def backups_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
265
264
|
pulumi.set(self, "backups_enabled", value)
|
|
266
265
|
|
|
267
|
-
@property
|
|
266
|
+
@_builtins.property
|
|
268
267
|
@pulumi.getter(name="bootConfigLabel")
|
|
269
|
-
def boot_config_label(self) -> Optional[pulumi.Input[
|
|
268
|
+
def boot_config_label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
270
269
|
"""
|
|
271
270
|
The Label of the Instance Config that should be used to boot the Linode instance.
|
|
272
271
|
"""
|
|
273
272
|
return pulumi.get(self, "boot_config_label")
|
|
274
273
|
|
|
275
274
|
@boot_config_label.setter
|
|
276
|
-
def boot_config_label(self, value: Optional[pulumi.Input[
|
|
275
|
+
def boot_config_label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
277
276
|
pulumi.set(self, "boot_config_label", value)
|
|
278
277
|
|
|
279
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
280
279
|
@pulumi.getter
|
|
281
|
-
def booted(self) -> Optional[pulumi.Input[
|
|
280
|
+
def booted(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
282
281
|
"""
|
|
283
282
|
If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
284
283
|
"""
|
|
285
284
|
return pulumi.get(self, "booted")
|
|
286
285
|
|
|
287
286
|
@booted.setter
|
|
288
|
-
def booted(self, value: Optional[pulumi.Input[
|
|
287
|
+
def booted(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
289
288
|
pulumi.set(self, "booted", value)
|
|
290
289
|
|
|
291
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
292
291
|
@pulumi.getter
|
|
293
292
|
@_utilities.deprecated("""The embedded config is deprecated and scheduled to be removed in the next major version.Please consider migrating it to InstanceConfig resource.""")
|
|
294
293
|
def configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]]]:
|
|
@@ -301,9 +300,9 @@ class InstanceArgs:
|
|
|
301
300
|
def configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]]]):
|
|
302
301
|
pulumi.set(self, "configs", value)
|
|
303
302
|
|
|
304
|
-
@property
|
|
303
|
+
@_builtins.property
|
|
305
304
|
@pulumi.getter(name="diskEncryption")
|
|
306
|
-
def disk_encryption(self) -> Optional[pulumi.Input[
|
|
305
|
+
def disk_encryption(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
307
306
|
"""
|
|
308
307
|
The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
309
308
|
|
|
@@ -312,10 +311,10 @@ class InstanceArgs:
|
|
|
312
311
|
return pulumi.get(self, "disk_encryption")
|
|
313
312
|
|
|
314
313
|
@disk_encryption.setter
|
|
315
|
-
def disk_encryption(self, value: Optional[pulumi.Input[
|
|
314
|
+
def disk_encryption(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
316
315
|
pulumi.set(self, "disk_encryption", value)
|
|
317
316
|
|
|
318
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
319
318
|
@pulumi.getter
|
|
320
319
|
@_utilities.deprecated("""The embedded disk block in Instance resource is deprecated and scheduled to be removed in the next major version. Please consider migrating it to be the InstanceDisk resource.""")
|
|
321
320
|
def disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgs']]]]:
|
|
@@ -325,34 +324,34 @@ class InstanceArgs:
|
|
|
325
324
|
def disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgs']]]]):
|
|
326
325
|
pulumi.set(self, "disks", value)
|
|
327
326
|
|
|
328
|
-
@property
|
|
327
|
+
@_builtins.property
|
|
329
328
|
@pulumi.getter(name="firewallId")
|
|
330
|
-
def firewall_id(self) -> Optional[pulumi.Input[
|
|
329
|
+
def firewall_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
331
330
|
"""
|
|
332
331
|
The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
333
332
|
"""
|
|
334
333
|
return pulumi.get(self, "firewall_id")
|
|
335
334
|
|
|
336
335
|
@firewall_id.setter
|
|
337
|
-
def firewall_id(self, value: Optional[pulumi.Input[
|
|
336
|
+
def firewall_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
338
337
|
pulumi.set(self, "firewall_id", value)
|
|
339
338
|
|
|
340
|
-
@property
|
|
339
|
+
@_builtins.property
|
|
341
340
|
@pulumi.getter
|
|
342
341
|
@_utilities.deprecated("""Group label is deprecated. We recommend using tags instead.""")
|
|
343
|
-
def group(self) -> Optional[pulumi.Input[
|
|
342
|
+
def group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
344
343
|
"""
|
|
345
344
|
A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
346
345
|
"""
|
|
347
346
|
return pulumi.get(self, "group")
|
|
348
347
|
|
|
349
348
|
@group.setter
|
|
350
|
-
def group(self, value: Optional[pulumi.Input[
|
|
349
|
+
def group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
351
350
|
pulumi.set(self, "group", value)
|
|
352
351
|
|
|
353
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
354
353
|
@pulumi.getter
|
|
355
|
-
def image(self) -> Optional[pulumi.Input[
|
|
354
|
+
def image(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
356
355
|
"""
|
|
357
356
|
An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
358
357
|
See /images for more information on the Images available for you to use.
|
|
@@ -360,10 +359,10 @@ class InstanceArgs:
|
|
|
360
359
|
return pulumi.get(self, "image")
|
|
361
360
|
|
|
362
361
|
@image.setter
|
|
363
|
-
def image(self, value: Optional[pulumi.Input[
|
|
362
|
+
def image(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
364
363
|
pulumi.set(self, "image", value)
|
|
365
364
|
|
|
366
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
367
366
|
@pulumi.getter
|
|
368
367
|
def interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]]]:
|
|
369
368
|
"""
|
|
@@ -376,9 +375,9 @@ class InstanceArgs:
|
|
|
376
375
|
def interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]]]):
|
|
377
376
|
pulumi.set(self, "interfaces", value)
|
|
378
377
|
|
|
379
|
-
@property
|
|
378
|
+
@_builtins.property
|
|
380
379
|
@pulumi.getter
|
|
381
|
-
def ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
380
|
+
def ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
382
381
|
"""
|
|
383
382
|
A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
384
383
|
|
|
@@ -387,22 +386,22 @@ class InstanceArgs:
|
|
|
387
386
|
return pulumi.get(self, "ipv4s")
|
|
388
387
|
|
|
389
388
|
@ipv4s.setter
|
|
390
|
-
def ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
389
|
+
def ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
391
390
|
pulumi.set(self, "ipv4s", value)
|
|
392
391
|
|
|
393
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
394
393
|
@pulumi.getter
|
|
395
|
-
def label(self) -> Optional[pulumi.Input[
|
|
394
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
396
395
|
"""
|
|
397
396
|
The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
398
397
|
"""
|
|
399
398
|
return pulumi.get(self, "label")
|
|
400
399
|
|
|
401
400
|
@label.setter
|
|
402
|
-
def label(self, value: Optional[pulumi.Input[
|
|
401
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
403
402
|
pulumi.set(self, "label", value)
|
|
404
403
|
|
|
405
|
-
@property
|
|
404
|
+
@_builtins.property
|
|
406
405
|
@pulumi.getter
|
|
407
406
|
def metadatas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]]]:
|
|
408
407
|
"""
|
|
@@ -414,9 +413,9 @@ class InstanceArgs:
|
|
|
414
413
|
def metadatas(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]]]):
|
|
415
414
|
pulumi.set(self, "metadatas", value)
|
|
416
415
|
|
|
417
|
-
@property
|
|
416
|
+
@_builtins.property
|
|
418
417
|
@pulumi.getter(name="migrationType")
|
|
419
|
-
def migration_type(self) -> Optional[pulumi.Input[
|
|
418
|
+
def migration_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
420
419
|
"""
|
|
421
420
|
The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
422
421
|
|
|
@@ -425,10 +424,10 @@ class InstanceArgs:
|
|
|
425
424
|
return pulumi.get(self, "migration_type")
|
|
426
425
|
|
|
427
426
|
@migration_type.setter
|
|
428
|
-
def migration_type(self, value: Optional[pulumi.Input[
|
|
427
|
+
def migration_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
429
428
|
pulumi.set(self, "migration_type", value)
|
|
430
429
|
|
|
431
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
432
431
|
@pulumi.getter(name="placementGroup")
|
|
433
432
|
def placement_group(self) -> Optional[pulumi.Input['InstancePlacementGroupArgs']]:
|
|
434
433
|
"""
|
|
@@ -440,33 +439,33 @@ class InstanceArgs:
|
|
|
440
439
|
def placement_group(self, value: Optional[pulumi.Input['InstancePlacementGroupArgs']]):
|
|
441
440
|
pulumi.set(self, "placement_group", value)
|
|
442
441
|
|
|
443
|
-
@property
|
|
442
|
+
@_builtins.property
|
|
444
443
|
@pulumi.getter(name="placementGroupExternallyManaged")
|
|
445
|
-
def placement_group_externally_managed(self) -> Optional[pulumi.Input[
|
|
444
|
+
def placement_group_externally_managed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
446
445
|
"""
|
|
447
446
|
If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
448
447
|
"""
|
|
449
448
|
return pulumi.get(self, "placement_group_externally_managed")
|
|
450
449
|
|
|
451
450
|
@placement_group_externally_managed.setter
|
|
452
|
-
def placement_group_externally_managed(self, value: Optional[pulumi.Input[
|
|
451
|
+
def placement_group_externally_managed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
453
452
|
pulumi.set(self, "placement_group_externally_managed", value)
|
|
454
453
|
|
|
455
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
456
455
|
@pulumi.getter(name="privateIp")
|
|
457
|
-
def private_ip(self) -> Optional[pulumi.Input[
|
|
456
|
+
def private_ip(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
458
457
|
"""
|
|
459
458
|
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.
|
|
460
459
|
"""
|
|
461
460
|
return pulumi.get(self, "private_ip")
|
|
462
461
|
|
|
463
462
|
@private_ip.setter
|
|
464
|
-
def private_ip(self, value: Optional[pulumi.Input[
|
|
463
|
+
def private_ip(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
465
464
|
pulumi.set(self, "private_ip", value)
|
|
466
465
|
|
|
467
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
468
467
|
@pulumi.getter(name="resizeDisk")
|
|
469
|
-
def resize_disk(self) -> Optional[pulumi.Input[
|
|
468
|
+
def resize_disk(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
470
469
|
"""
|
|
471
470
|
If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
472
471
|
|
|
@@ -483,24 +482,24 @@ class InstanceArgs:
|
|
|
483
482
|
return pulumi.get(self, "resize_disk")
|
|
484
483
|
|
|
485
484
|
@resize_disk.setter
|
|
486
|
-
def resize_disk(self, value: Optional[pulumi.Input[
|
|
485
|
+
def resize_disk(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
487
486
|
pulumi.set(self, "resize_disk", value)
|
|
488
487
|
|
|
489
|
-
@property
|
|
488
|
+
@_builtins.property
|
|
490
489
|
@pulumi.getter(name="rootPass")
|
|
491
|
-
def root_pass(self) -> Optional[pulumi.Input[
|
|
490
|
+
def root_pass(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
492
491
|
"""
|
|
493
492
|
The password that will be initially assigned to the 'root' user account.
|
|
494
493
|
"""
|
|
495
494
|
return pulumi.get(self, "root_pass")
|
|
496
495
|
|
|
497
496
|
@root_pass.setter
|
|
498
|
-
def root_pass(self, value: Optional[pulumi.Input[
|
|
497
|
+
def root_pass(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
499
498
|
pulumi.set(self, "root_pass", value)
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter(name="sharedIpv4s")
|
|
503
|
-
def shared_ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
502
|
+
def shared_ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
504
503
|
"""
|
|
505
504
|
A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
506
505
|
|
|
@@ -511,12 +510,12 @@ class InstanceArgs:
|
|
|
511
510
|
return pulumi.get(self, "shared_ipv4s")
|
|
512
511
|
|
|
513
512
|
@shared_ipv4s.setter
|
|
514
|
-
def shared_ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
513
|
+
def shared_ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
515
514
|
pulumi.set(self, "shared_ipv4s", value)
|
|
516
515
|
|
|
517
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
518
517
|
@pulumi.getter(name="stackscriptData")
|
|
519
|
-
def stackscript_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
518
|
+
def stackscript_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
520
519
|
"""
|
|
521
520
|
An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
522
521
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
@@ -524,12 +523,12 @@ class InstanceArgs:
|
|
|
524
523
|
return pulumi.get(self, "stackscript_data")
|
|
525
524
|
|
|
526
525
|
@stackscript_data.setter
|
|
527
|
-
def stackscript_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
526
|
+
def stackscript_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
528
527
|
pulumi.set(self, "stackscript_data", value)
|
|
529
528
|
|
|
530
|
-
@property
|
|
529
|
+
@_builtins.property
|
|
531
530
|
@pulumi.getter(name="stackscriptId")
|
|
532
|
-
def stackscript_id(self) -> Optional[pulumi.Input[
|
|
531
|
+
def stackscript_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
533
532
|
"""
|
|
534
533
|
The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
535
534
|
that is compatible with this StackScript.
|
|
@@ -537,12 +536,12 @@ class InstanceArgs:
|
|
|
537
536
|
return pulumi.get(self, "stackscript_id")
|
|
538
537
|
|
|
539
538
|
@stackscript_id.setter
|
|
540
|
-
def stackscript_id(self, value: Optional[pulumi.Input[
|
|
539
|
+
def stackscript_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
541
540
|
pulumi.set(self, "stackscript_id", value)
|
|
542
541
|
|
|
543
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
544
543
|
@pulumi.getter(name="swapSize")
|
|
545
|
-
def swap_size(self) -> Optional[pulumi.Input[
|
|
544
|
+
def swap_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
546
545
|
"""
|
|
547
546
|
When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
548
547
|
is used to set the swap disk size for the newly-created Linode.
|
|
@@ -550,24 +549,24 @@ class InstanceArgs:
|
|
|
550
549
|
return pulumi.get(self, "swap_size")
|
|
551
550
|
|
|
552
551
|
@swap_size.setter
|
|
553
|
-
def swap_size(self, value: Optional[pulumi.Input[
|
|
552
|
+
def swap_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
554
553
|
pulumi.set(self, "swap_size", value)
|
|
555
554
|
|
|
556
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
557
556
|
@pulumi.getter
|
|
558
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
557
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
559
558
|
"""
|
|
560
559
|
A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
561
560
|
"""
|
|
562
561
|
return pulumi.get(self, "tags")
|
|
563
562
|
|
|
564
563
|
@tags.setter
|
|
565
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
564
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
566
565
|
pulumi.set(self, "tags", value)
|
|
567
566
|
|
|
568
|
-
@property
|
|
567
|
+
@_builtins.property
|
|
569
568
|
@pulumi.getter
|
|
570
|
-
def type(self) -> Optional[pulumi.Input[
|
|
569
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
571
570
|
"""
|
|
572
571
|
The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
573
572
|
|
|
@@ -576,19 +575,19 @@ class InstanceArgs:
|
|
|
576
575
|
return pulumi.get(self, "type")
|
|
577
576
|
|
|
578
577
|
@type.setter
|
|
579
|
-
def type(self, value: Optional[pulumi.Input[
|
|
578
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
580
579
|
pulumi.set(self, "type", value)
|
|
581
580
|
|
|
582
|
-
@property
|
|
581
|
+
@_builtins.property
|
|
583
582
|
@pulumi.getter(name="watchdogEnabled")
|
|
584
|
-
def watchdog_enabled(self) -> Optional[pulumi.Input[
|
|
583
|
+
def watchdog_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
585
584
|
"""
|
|
586
585
|
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.
|
|
587
586
|
"""
|
|
588
587
|
return pulumi.get(self, "watchdog_enabled")
|
|
589
588
|
|
|
590
589
|
@watchdog_enabled.setter
|
|
591
|
-
def watchdog_enabled(self, value: Optional[pulumi.Input[
|
|
590
|
+
def watchdog_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
592
591
|
pulumi.set(self, "watchdog_enabled", value)
|
|
593
592
|
|
|
594
593
|
|
|
@@ -596,90 +595,90 @@ class InstanceArgs:
|
|
|
596
595
|
class _InstanceState:
|
|
597
596
|
def __init__(__self__, *,
|
|
598
597
|
alerts: Optional[pulumi.Input['InstanceAlertsArgs']] = None,
|
|
599
|
-
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
600
|
-
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
601
|
-
backup_id: Optional[pulumi.Input[
|
|
598
|
+
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
599
|
+
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
600
|
+
backup_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
602
601
|
backups: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBackupArgs']]]] = None,
|
|
603
|
-
backups_enabled: Optional[pulumi.Input[
|
|
604
|
-
boot_config_label: Optional[pulumi.Input[
|
|
605
|
-
booted: Optional[pulumi.Input[
|
|
606
|
-
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
602
|
+
backups_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
603
|
+
boot_config_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
604
|
+
booted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
605
|
+
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
607
606
|
configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]]] = None,
|
|
608
|
-
disk_encryption: Optional[pulumi.Input[
|
|
607
|
+
disk_encryption: Optional[pulumi.Input[_builtins.str]] = None,
|
|
609
608
|
disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgs']]]] = None,
|
|
610
|
-
firewall_id: Optional[pulumi.Input[
|
|
611
|
-
group: Optional[pulumi.Input[
|
|
612
|
-
has_user_data: Optional[pulumi.Input[
|
|
613
|
-
host_uuid: Optional[pulumi.Input[
|
|
614
|
-
image: Optional[pulumi.Input[
|
|
609
|
+
firewall_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
610
|
+
group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
611
|
+
has_user_data: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
612
|
+
host_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
613
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
615
614
|
interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]]] = None,
|
|
616
|
-
ip_address: Optional[pulumi.Input[
|
|
617
|
-
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
618
|
-
ipv6: Optional[pulumi.Input[
|
|
619
|
-
label: Optional[pulumi.Input[
|
|
620
|
-
lke_cluster_id: Optional[pulumi.Input[
|
|
615
|
+
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
616
|
+
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
617
|
+
ipv6: Optional[pulumi.Input[_builtins.str]] = None,
|
|
618
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
619
|
+
lke_cluster_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
621
620
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]]] = None,
|
|
622
|
-
migration_type: Optional[pulumi.Input[
|
|
621
|
+
migration_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
623
622
|
placement_group: Optional[pulumi.Input['InstancePlacementGroupArgs']] = None,
|
|
624
|
-
placement_group_externally_managed: Optional[pulumi.Input[
|
|
625
|
-
private_ip: Optional[pulumi.Input[
|
|
626
|
-
private_ip_address: Optional[pulumi.Input[
|
|
627
|
-
region: Optional[pulumi.Input[
|
|
628
|
-
resize_disk: Optional[pulumi.Input[
|
|
629
|
-
root_pass: Optional[pulumi.Input[
|
|
630
|
-
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
623
|
+
placement_group_externally_managed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
624
|
+
private_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
625
|
+
private_ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
626
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
627
|
+
resize_disk: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
628
|
+
root_pass: Optional[pulumi.Input[_builtins.str]] = None,
|
|
629
|
+
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
631
630
|
specs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceSpecArgs']]]] = None,
|
|
632
|
-
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
633
|
-
stackscript_id: Optional[pulumi.Input[
|
|
634
|
-
status: Optional[pulumi.Input[
|
|
635
|
-
swap_size: Optional[pulumi.Input[
|
|
636
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
637
|
-
type: Optional[pulumi.Input[
|
|
638
|
-
watchdog_enabled: Optional[pulumi.Input[
|
|
631
|
+
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
632
|
+
stackscript_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
633
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
634
|
+
swap_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
635
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
636
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
637
|
+
watchdog_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
639
638
|
"""
|
|
640
639
|
Input properties used for looking up and filtering Instance resources.
|
|
641
640
|
:param pulumi.Input['InstanceAlertsArgs'] alerts: Configuration options for alert triggers on this Linode.
|
|
642
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
643
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
641
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_keys: A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
642
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_users: A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
644
643
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
645
|
-
:param pulumi.Input[
|
|
644
|
+
:param pulumi.Input[_builtins.int] backup_id: A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
646
645
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
647
646
|
/linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
648
647
|
exclusive.
|
|
649
648
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceBackupArgs']]] backups: Information about this Linode's backups status.
|
|
650
|
-
:param pulumi.Input[
|
|
651
|
-
:param pulumi.Input[
|
|
652
|
-
:param pulumi.Input[
|
|
653
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
649
|
+
:param pulumi.Input[_builtins.bool] backups_enabled: 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.
|
|
650
|
+
:param pulumi.Input[_builtins.str] boot_config_label: The Label of the Instance Config that should be used to boot the Linode instance.
|
|
651
|
+
:param pulumi.Input[_builtins.bool] booted: If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
652
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] capabilities: A list of capabilities of this Linode instance.
|
|
654
653
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]] configs: Configuration profiles define the VM settings and boot behavior of the Linode Instance.
|
|
655
|
-
:param pulumi.Input[
|
|
654
|
+
:param pulumi.Input[_builtins.str] disk_encryption: The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
656
655
|
|
|
657
656
|
* **NOTE: Disk encryption may not currently be available to all users.**
|
|
658
|
-
:param pulumi.Input[
|
|
659
|
-
:param pulumi.Input[
|
|
660
|
-
:param pulumi.Input[
|
|
661
|
-
:param pulumi.Input[
|
|
662
|
-
:param pulumi.Input[
|
|
657
|
+
:param pulumi.Input[_builtins.int] firewall_id: The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
658
|
+
:param pulumi.Input[_builtins.str] group: A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
659
|
+
:param pulumi.Input[_builtins.bool] has_user_data: Whether this Instance was created with user-data.
|
|
660
|
+
:param pulumi.Input[_builtins.str] host_uuid: The Linode’s host machine, as a UUID.
|
|
661
|
+
:param pulumi.Input[_builtins.str] image: An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
663
662
|
See /images for more information on the Images available for you to use.
|
|
664
663
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]] interfaces: An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
665
664
|
must be declared in the config block.
|
|
666
|
-
:param pulumi.Input[
|
|
667
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
665
|
+
:param pulumi.Input[_builtins.str] ip_address: A string containing the Linode's public IP address.
|
|
666
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4s: A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
668
667
|
|
|
669
668
|
* **NOTE: IP reservation is not currently available to all users.**
|
|
670
|
-
:param pulumi.Input[
|
|
671
|
-
:param pulumi.Input[
|
|
672
|
-
:param pulumi.Input[
|
|
669
|
+
:param pulumi.Input[_builtins.str] ipv6: This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (`/128`) is included in this attribute.
|
|
670
|
+
:param pulumi.Input[_builtins.str] label: The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
671
|
+
:param pulumi.Input[_builtins.int] lke_cluster_id: If applicable, the ID of the LKE cluster this instance is a part of.
|
|
673
672
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]] metadatas: Various fields related to the Linode Metadata service.
|
|
674
|
-
:param pulumi.Input[
|
|
673
|
+
:param pulumi.Input[_builtins.str] migration_type: The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
675
674
|
|
|
676
675
|
* `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
677
676
|
:param pulumi.Input['InstancePlacementGroupArgs'] placement_group: Information about the Placement Group this Linode is assigned to.
|
|
678
|
-
:param pulumi.Input[
|
|
679
|
-
:param pulumi.Input[
|
|
680
|
-
:param pulumi.Input[
|
|
681
|
-
:param pulumi.Input[
|
|
682
|
-
:param pulumi.Input[
|
|
677
|
+
:param pulumi.Input[_builtins.bool] placement_group_externally_managed: If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
678
|
+
:param pulumi.Input[_builtins.bool] private_ip: 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.
|
|
679
|
+
:param pulumi.Input[_builtins.str] private_ip_address: This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.
|
|
680
|
+
:param pulumi.Input[_builtins.str] region: This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
681
|
+
:param pulumi.Input[_builtins.bool] resize_disk: If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
683
682
|
|
|
684
683
|
* `alerts.0.cpu` - (Optional) The percentage of CPU usage required to trigger an alert. If the average CPU usage over two hours exceeds this value, we'll send you an alert. If this is set to 0, the alert is disabled.
|
|
685
684
|
|
|
@@ -690,25 +689,25 @@ class _InstanceState:
|
|
|
690
689
|
* `alerts.0.transfer_quota` - (Optional) The percentage of network transfer that may be used before an alert is triggered. When this value is exceeded, we'll alert you. If this is set to 0 (zero), the alert is disabled.
|
|
691
690
|
|
|
692
691
|
* `alerts.0.io` - (Optional) The amount of disk IO operation per second required to trigger an alert. If the average disk IO over two hours exceeds this value, we'll send you an alert. If set to 0, this alert is disabled.
|
|
693
|
-
:param pulumi.Input[
|
|
694
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
692
|
+
:param pulumi.Input[_builtins.str] root_pass: The password that will be initially assigned to the 'root' user account.
|
|
693
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] shared_ipv4s: A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
695
694
|
|
|
696
695
|
* `metadata.0.user_data` - (Optional) The base64-encoded user-defined data exposed to this instance through the Linode Metadata service. Refer to the base64encode(...) function for information on encoding content for this field.
|
|
697
696
|
|
|
698
697
|
* `placement_group.0.id` - (Optional) The ID of the Placement Group to assign this Linode to.
|
|
699
698
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceSpecArgs']]] specs: Information about the resources available to this Linode.
|
|
700
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
699
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] stackscript_data: An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
701
700
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
702
|
-
:param pulumi.Input[
|
|
701
|
+
:param pulumi.Input[_builtins.int] stackscript_id: The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
703
702
|
that is compatible with this StackScript.
|
|
704
|
-
:param pulumi.Input[
|
|
705
|
-
:param pulumi.Input[
|
|
703
|
+
:param pulumi.Input[_builtins.str] status: The status of the instance, indicating the current readiness state. (`running`, `offline`, ...)
|
|
704
|
+
:param pulumi.Input[_builtins.int] swap_size: When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
706
705
|
is used to set the swap disk size for the newly-created Linode.
|
|
707
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
708
|
-
:param pulumi.Input[
|
|
706
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
707
|
+
:param pulumi.Input[_builtins.str] type: The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
709
708
|
|
|
710
709
|
- - -
|
|
711
|
-
:param pulumi.Input[
|
|
710
|
+
:param pulumi.Input[_builtins.bool] watchdog_enabled: 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.
|
|
712
711
|
"""
|
|
713
712
|
if alerts is not None:
|
|
714
713
|
pulumi.set(__self__, "alerts", alerts)
|
|
@@ -805,7 +804,7 @@ class _InstanceState:
|
|
|
805
804
|
if watchdog_enabled is not None:
|
|
806
805
|
pulumi.set(__self__, "watchdog_enabled", watchdog_enabled)
|
|
807
806
|
|
|
808
|
-
@property
|
|
807
|
+
@_builtins.property
|
|
809
808
|
@pulumi.getter
|
|
810
809
|
def alerts(self) -> Optional[pulumi.Input['InstanceAlertsArgs']]:
|
|
811
810
|
"""
|
|
@@ -817,21 +816,21 @@ class _InstanceState:
|
|
|
817
816
|
def alerts(self, value: Optional[pulumi.Input['InstanceAlertsArgs']]):
|
|
818
817
|
pulumi.set(self, "alerts", value)
|
|
819
818
|
|
|
820
|
-
@property
|
|
819
|
+
@_builtins.property
|
|
821
820
|
@pulumi.getter(name="authorizedKeys")
|
|
822
|
-
def authorized_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
821
|
+
def authorized_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
823
822
|
"""
|
|
824
823
|
A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
825
824
|
"""
|
|
826
825
|
return pulumi.get(self, "authorized_keys")
|
|
827
826
|
|
|
828
827
|
@authorized_keys.setter
|
|
829
|
-
def authorized_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
828
|
+
def authorized_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
830
829
|
pulumi.set(self, "authorized_keys", value)
|
|
831
830
|
|
|
832
|
-
@property
|
|
831
|
+
@_builtins.property
|
|
833
832
|
@pulumi.getter(name="authorizedUsers")
|
|
834
|
-
def authorized_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
833
|
+
def authorized_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
835
834
|
"""
|
|
836
835
|
A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
837
836
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
@@ -839,12 +838,12 @@ class _InstanceState:
|
|
|
839
838
|
return pulumi.get(self, "authorized_users")
|
|
840
839
|
|
|
841
840
|
@authorized_users.setter
|
|
842
|
-
def authorized_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
841
|
+
def authorized_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
843
842
|
pulumi.set(self, "authorized_users", value)
|
|
844
843
|
|
|
845
|
-
@property
|
|
844
|
+
@_builtins.property
|
|
846
845
|
@pulumi.getter(name="backupId")
|
|
847
|
-
def backup_id(self) -> Optional[pulumi.Input[
|
|
846
|
+
def backup_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
848
847
|
"""
|
|
849
848
|
A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
850
849
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
@@ -854,10 +853,10 @@ class _InstanceState:
|
|
|
854
853
|
return pulumi.get(self, "backup_id")
|
|
855
854
|
|
|
856
855
|
@backup_id.setter
|
|
857
|
-
def backup_id(self, value: Optional[pulumi.Input[
|
|
856
|
+
def backup_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
858
857
|
pulumi.set(self, "backup_id", value)
|
|
859
858
|
|
|
860
|
-
@property
|
|
859
|
+
@_builtins.property
|
|
861
860
|
@pulumi.getter
|
|
862
861
|
def backups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBackupArgs']]]]:
|
|
863
862
|
"""
|
|
@@ -869,55 +868,55 @@ class _InstanceState:
|
|
|
869
868
|
def backups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBackupArgs']]]]):
|
|
870
869
|
pulumi.set(self, "backups", value)
|
|
871
870
|
|
|
872
|
-
@property
|
|
871
|
+
@_builtins.property
|
|
873
872
|
@pulumi.getter(name="backupsEnabled")
|
|
874
|
-
def backups_enabled(self) -> Optional[pulumi.Input[
|
|
873
|
+
def backups_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
875
874
|
"""
|
|
876
875
|
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.
|
|
877
876
|
"""
|
|
878
877
|
return pulumi.get(self, "backups_enabled")
|
|
879
878
|
|
|
880
879
|
@backups_enabled.setter
|
|
881
|
-
def backups_enabled(self, value: Optional[pulumi.Input[
|
|
880
|
+
def backups_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
882
881
|
pulumi.set(self, "backups_enabled", value)
|
|
883
882
|
|
|
884
|
-
@property
|
|
883
|
+
@_builtins.property
|
|
885
884
|
@pulumi.getter(name="bootConfigLabel")
|
|
886
|
-
def boot_config_label(self) -> Optional[pulumi.Input[
|
|
885
|
+
def boot_config_label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
887
886
|
"""
|
|
888
887
|
The Label of the Instance Config that should be used to boot the Linode instance.
|
|
889
888
|
"""
|
|
890
889
|
return pulumi.get(self, "boot_config_label")
|
|
891
890
|
|
|
892
891
|
@boot_config_label.setter
|
|
893
|
-
def boot_config_label(self, value: Optional[pulumi.Input[
|
|
892
|
+
def boot_config_label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
894
893
|
pulumi.set(self, "boot_config_label", value)
|
|
895
894
|
|
|
896
|
-
@property
|
|
895
|
+
@_builtins.property
|
|
897
896
|
@pulumi.getter
|
|
898
|
-
def booted(self) -> Optional[pulumi.Input[
|
|
897
|
+
def booted(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
899
898
|
"""
|
|
900
899
|
If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
901
900
|
"""
|
|
902
901
|
return pulumi.get(self, "booted")
|
|
903
902
|
|
|
904
903
|
@booted.setter
|
|
905
|
-
def booted(self, value: Optional[pulumi.Input[
|
|
904
|
+
def booted(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
906
905
|
pulumi.set(self, "booted", value)
|
|
907
906
|
|
|
908
|
-
@property
|
|
907
|
+
@_builtins.property
|
|
909
908
|
@pulumi.getter
|
|
910
|
-
def capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
909
|
+
def capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
911
910
|
"""
|
|
912
911
|
A list of capabilities of this Linode instance.
|
|
913
912
|
"""
|
|
914
913
|
return pulumi.get(self, "capabilities")
|
|
915
914
|
|
|
916
915
|
@capabilities.setter
|
|
917
|
-
def capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
916
|
+
def capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
918
917
|
pulumi.set(self, "capabilities", value)
|
|
919
918
|
|
|
920
|
-
@property
|
|
919
|
+
@_builtins.property
|
|
921
920
|
@pulumi.getter
|
|
922
921
|
@_utilities.deprecated("""The embedded config is deprecated and scheduled to be removed in the next major version.Please consider migrating it to InstanceConfig resource.""")
|
|
923
922
|
def configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]]]:
|
|
@@ -930,9 +929,9 @@ class _InstanceState:
|
|
|
930
929
|
def configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigArgs']]]]):
|
|
931
930
|
pulumi.set(self, "configs", value)
|
|
932
931
|
|
|
933
|
-
@property
|
|
932
|
+
@_builtins.property
|
|
934
933
|
@pulumi.getter(name="diskEncryption")
|
|
935
|
-
def disk_encryption(self) -> Optional[pulumi.Input[
|
|
934
|
+
def disk_encryption(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
936
935
|
"""
|
|
937
936
|
The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
938
937
|
|
|
@@ -941,10 +940,10 @@ class _InstanceState:
|
|
|
941
940
|
return pulumi.get(self, "disk_encryption")
|
|
942
941
|
|
|
943
942
|
@disk_encryption.setter
|
|
944
|
-
def disk_encryption(self, value: Optional[pulumi.Input[
|
|
943
|
+
def disk_encryption(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
945
944
|
pulumi.set(self, "disk_encryption", value)
|
|
946
945
|
|
|
947
|
-
@property
|
|
946
|
+
@_builtins.property
|
|
948
947
|
@pulumi.getter
|
|
949
948
|
@_utilities.deprecated("""The embedded disk block in Instance resource is deprecated and scheduled to be removed in the next major version. Please consider migrating it to be the InstanceDisk resource.""")
|
|
950
949
|
def disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgs']]]]:
|
|
@@ -954,58 +953,58 @@ class _InstanceState:
|
|
|
954
953
|
def disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgs']]]]):
|
|
955
954
|
pulumi.set(self, "disks", value)
|
|
956
955
|
|
|
957
|
-
@property
|
|
956
|
+
@_builtins.property
|
|
958
957
|
@pulumi.getter(name="firewallId")
|
|
959
|
-
def firewall_id(self) -> Optional[pulumi.Input[
|
|
958
|
+
def firewall_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
960
959
|
"""
|
|
961
960
|
The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
962
961
|
"""
|
|
963
962
|
return pulumi.get(self, "firewall_id")
|
|
964
963
|
|
|
965
964
|
@firewall_id.setter
|
|
966
|
-
def firewall_id(self, value: Optional[pulumi.Input[
|
|
965
|
+
def firewall_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
967
966
|
pulumi.set(self, "firewall_id", value)
|
|
968
967
|
|
|
969
|
-
@property
|
|
968
|
+
@_builtins.property
|
|
970
969
|
@pulumi.getter
|
|
971
970
|
@_utilities.deprecated("""Group label is deprecated. We recommend using tags instead.""")
|
|
972
|
-
def group(self) -> Optional[pulumi.Input[
|
|
971
|
+
def group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
973
972
|
"""
|
|
974
973
|
A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
975
974
|
"""
|
|
976
975
|
return pulumi.get(self, "group")
|
|
977
976
|
|
|
978
977
|
@group.setter
|
|
979
|
-
def group(self, value: Optional[pulumi.Input[
|
|
978
|
+
def group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
980
979
|
pulumi.set(self, "group", value)
|
|
981
980
|
|
|
982
|
-
@property
|
|
981
|
+
@_builtins.property
|
|
983
982
|
@pulumi.getter(name="hasUserData")
|
|
984
|
-
def has_user_data(self) -> Optional[pulumi.Input[
|
|
983
|
+
def has_user_data(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
985
984
|
"""
|
|
986
985
|
Whether this Instance was created with user-data.
|
|
987
986
|
"""
|
|
988
987
|
return pulumi.get(self, "has_user_data")
|
|
989
988
|
|
|
990
989
|
@has_user_data.setter
|
|
991
|
-
def has_user_data(self, value: Optional[pulumi.Input[
|
|
990
|
+
def has_user_data(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
992
991
|
pulumi.set(self, "has_user_data", value)
|
|
993
992
|
|
|
994
|
-
@property
|
|
993
|
+
@_builtins.property
|
|
995
994
|
@pulumi.getter(name="hostUuid")
|
|
996
|
-
def host_uuid(self) -> Optional[pulumi.Input[
|
|
995
|
+
def host_uuid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
997
996
|
"""
|
|
998
997
|
The Linode’s host machine, as a UUID.
|
|
999
998
|
"""
|
|
1000
999
|
return pulumi.get(self, "host_uuid")
|
|
1001
1000
|
|
|
1002
1001
|
@host_uuid.setter
|
|
1003
|
-
def host_uuid(self, value: Optional[pulumi.Input[
|
|
1002
|
+
def host_uuid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1004
1003
|
pulumi.set(self, "host_uuid", value)
|
|
1005
1004
|
|
|
1006
|
-
@property
|
|
1005
|
+
@_builtins.property
|
|
1007
1006
|
@pulumi.getter
|
|
1008
|
-
def image(self) -> Optional[pulumi.Input[
|
|
1007
|
+
def image(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1009
1008
|
"""
|
|
1010
1009
|
An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
1011
1010
|
See /images for more information on the Images available for you to use.
|
|
@@ -1013,10 +1012,10 @@ class _InstanceState:
|
|
|
1013
1012
|
return pulumi.get(self, "image")
|
|
1014
1013
|
|
|
1015
1014
|
@image.setter
|
|
1016
|
-
def image(self, value: Optional[pulumi.Input[
|
|
1015
|
+
def image(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1017
1016
|
pulumi.set(self, "image", value)
|
|
1018
1017
|
|
|
1019
|
-
@property
|
|
1018
|
+
@_builtins.property
|
|
1020
1019
|
@pulumi.getter
|
|
1021
1020
|
def interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]]]:
|
|
1022
1021
|
"""
|
|
@@ -1029,22 +1028,22 @@ class _InstanceState:
|
|
|
1029
1028
|
def interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceInterfaceArgs']]]]):
|
|
1030
1029
|
pulumi.set(self, "interfaces", value)
|
|
1031
1030
|
|
|
1032
|
-
@property
|
|
1031
|
+
@_builtins.property
|
|
1033
1032
|
@pulumi.getter(name="ipAddress")
|
|
1034
1033
|
@_utilities.deprecated("""The `ip_address` attribute in Instance resource is deprecated. Please consider using the `ipv4` set attribute in the same resource or a `get_instance_networking` data source instead.""")
|
|
1035
|
-
def ip_address(self) -> Optional[pulumi.Input[
|
|
1034
|
+
def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1036
1035
|
"""
|
|
1037
1036
|
A string containing the Linode's public IP address.
|
|
1038
1037
|
"""
|
|
1039
1038
|
return pulumi.get(self, "ip_address")
|
|
1040
1039
|
|
|
1041
1040
|
@ip_address.setter
|
|
1042
|
-
def ip_address(self, value: Optional[pulumi.Input[
|
|
1041
|
+
def ip_address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1043
1042
|
pulumi.set(self, "ip_address", value)
|
|
1044
1043
|
|
|
1045
|
-
@property
|
|
1044
|
+
@_builtins.property
|
|
1046
1045
|
@pulumi.getter
|
|
1047
|
-
def ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1046
|
+
def ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1048
1047
|
"""
|
|
1049
1048
|
A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
1050
1049
|
|
|
@@ -1053,46 +1052,46 @@ class _InstanceState:
|
|
|
1053
1052
|
return pulumi.get(self, "ipv4s")
|
|
1054
1053
|
|
|
1055
1054
|
@ipv4s.setter
|
|
1056
|
-
def ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1055
|
+
def ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1057
1056
|
pulumi.set(self, "ipv4s", value)
|
|
1058
1057
|
|
|
1059
|
-
@property
|
|
1058
|
+
@_builtins.property
|
|
1060
1059
|
@pulumi.getter
|
|
1061
|
-
def ipv6(self) -> Optional[pulumi.Input[
|
|
1060
|
+
def ipv6(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1062
1061
|
"""
|
|
1063
1062
|
This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (`/128`) is included in this attribute.
|
|
1064
1063
|
"""
|
|
1065
1064
|
return pulumi.get(self, "ipv6")
|
|
1066
1065
|
|
|
1067
1066
|
@ipv6.setter
|
|
1068
|
-
def ipv6(self, value: Optional[pulumi.Input[
|
|
1067
|
+
def ipv6(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1069
1068
|
pulumi.set(self, "ipv6", value)
|
|
1070
1069
|
|
|
1071
|
-
@property
|
|
1070
|
+
@_builtins.property
|
|
1072
1071
|
@pulumi.getter
|
|
1073
|
-
def label(self) -> Optional[pulumi.Input[
|
|
1072
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1074
1073
|
"""
|
|
1075
1074
|
The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
1076
1075
|
"""
|
|
1077
1076
|
return pulumi.get(self, "label")
|
|
1078
1077
|
|
|
1079
1078
|
@label.setter
|
|
1080
|
-
def label(self, value: Optional[pulumi.Input[
|
|
1079
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1081
1080
|
pulumi.set(self, "label", value)
|
|
1082
1081
|
|
|
1083
|
-
@property
|
|
1082
|
+
@_builtins.property
|
|
1084
1083
|
@pulumi.getter(name="lkeClusterId")
|
|
1085
|
-
def lke_cluster_id(self) -> Optional[pulumi.Input[
|
|
1084
|
+
def lke_cluster_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1086
1085
|
"""
|
|
1087
1086
|
If applicable, the ID of the LKE cluster this instance is a part of.
|
|
1088
1087
|
"""
|
|
1089
1088
|
return pulumi.get(self, "lke_cluster_id")
|
|
1090
1089
|
|
|
1091
1090
|
@lke_cluster_id.setter
|
|
1092
|
-
def lke_cluster_id(self, value: Optional[pulumi.Input[
|
|
1091
|
+
def lke_cluster_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1093
1092
|
pulumi.set(self, "lke_cluster_id", value)
|
|
1094
1093
|
|
|
1095
|
-
@property
|
|
1094
|
+
@_builtins.property
|
|
1096
1095
|
@pulumi.getter
|
|
1097
1096
|
def metadatas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]]]:
|
|
1098
1097
|
"""
|
|
@@ -1104,9 +1103,9 @@ class _InstanceState:
|
|
|
1104
1103
|
def metadatas(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceMetadataArgs']]]]):
|
|
1105
1104
|
pulumi.set(self, "metadatas", value)
|
|
1106
1105
|
|
|
1107
|
-
@property
|
|
1106
|
+
@_builtins.property
|
|
1108
1107
|
@pulumi.getter(name="migrationType")
|
|
1109
|
-
def migration_type(self) -> Optional[pulumi.Input[
|
|
1108
|
+
def migration_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1110
1109
|
"""
|
|
1111
1110
|
The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
1112
1111
|
|
|
@@ -1115,10 +1114,10 @@ class _InstanceState:
|
|
|
1115
1114
|
return pulumi.get(self, "migration_type")
|
|
1116
1115
|
|
|
1117
1116
|
@migration_type.setter
|
|
1118
|
-
def migration_type(self, value: Optional[pulumi.Input[
|
|
1117
|
+
def migration_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1119
1118
|
pulumi.set(self, "migration_type", value)
|
|
1120
1119
|
|
|
1121
|
-
@property
|
|
1120
|
+
@_builtins.property
|
|
1122
1121
|
@pulumi.getter(name="placementGroup")
|
|
1123
1122
|
def placement_group(self) -> Optional[pulumi.Input['InstancePlacementGroupArgs']]:
|
|
1124
1123
|
"""
|
|
@@ -1130,57 +1129,57 @@ class _InstanceState:
|
|
|
1130
1129
|
def placement_group(self, value: Optional[pulumi.Input['InstancePlacementGroupArgs']]):
|
|
1131
1130
|
pulumi.set(self, "placement_group", value)
|
|
1132
1131
|
|
|
1133
|
-
@property
|
|
1132
|
+
@_builtins.property
|
|
1134
1133
|
@pulumi.getter(name="placementGroupExternallyManaged")
|
|
1135
|
-
def placement_group_externally_managed(self) -> Optional[pulumi.Input[
|
|
1134
|
+
def placement_group_externally_managed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1136
1135
|
"""
|
|
1137
1136
|
If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
1138
1137
|
"""
|
|
1139
1138
|
return pulumi.get(self, "placement_group_externally_managed")
|
|
1140
1139
|
|
|
1141
1140
|
@placement_group_externally_managed.setter
|
|
1142
|
-
def placement_group_externally_managed(self, value: Optional[pulumi.Input[
|
|
1141
|
+
def placement_group_externally_managed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1143
1142
|
pulumi.set(self, "placement_group_externally_managed", value)
|
|
1144
1143
|
|
|
1145
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
1146
1145
|
@pulumi.getter(name="privateIp")
|
|
1147
|
-
def private_ip(self) -> Optional[pulumi.Input[
|
|
1146
|
+
def private_ip(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1148
1147
|
"""
|
|
1149
1148
|
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.
|
|
1150
1149
|
"""
|
|
1151
1150
|
return pulumi.get(self, "private_ip")
|
|
1152
1151
|
|
|
1153
1152
|
@private_ip.setter
|
|
1154
|
-
def private_ip(self, value: Optional[pulumi.Input[
|
|
1153
|
+
def private_ip(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1155
1154
|
pulumi.set(self, "private_ip", value)
|
|
1156
1155
|
|
|
1157
|
-
@property
|
|
1156
|
+
@_builtins.property
|
|
1158
1157
|
@pulumi.getter(name="privateIpAddress")
|
|
1159
|
-
def private_ip_address(self) -> Optional[pulumi.Input[
|
|
1158
|
+
def private_ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1160
1159
|
"""
|
|
1161
1160
|
This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.
|
|
1162
1161
|
"""
|
|
1163
1162
|
return pulumi.get(self, "private_ip_address")
|
|
1164
1163
|
|
|
1165
1164
|
@private_ip_address.setter
|
|
1166
|
-
def private_ip_address(self, value: Optional[pulumi.Input[
|
|
1165
|
+
def private_ip_address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1167
1166
|
pulumi.set(self, "private_ip_address", value)
|
|
1168
1167
|
|
|
1169
|
-
@property
|
|
1168
|
+
@_builtins.property
|
|
1170
1169
|
@pulumi.getter
|
|
1171
|
-
def region(self) -> Optional[pulumi.Input[
|
|
1170
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1172
1171
|
"""
|
|
1173
1172
|
This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
1174
1173
|
"""
|
|
1175
1174
|
return pulumi.get(self, "region")
|
|
1176
1175
|
|
|
1177
1176
|
@region.setter
|
|
1178
|
-
def region(self, value: Optional[pulumi.Input[
|
|
1177
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1179
1178
|
pulumi.set(self, "region", value)
|
|
1180
1179
|
|
|
1181
|
-
@property
|
|
1180
|
+
@_builtins.property
|
|
1182
1181
|
@pulumi.getter(name="resizeDisk")
|
|
1183
|
-
def resize_disk(self) -> Optional[pulumi.Input[
|
|
1182
|
+
def resize_disk(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1184
1183
|
"""
|
|
1185
1184
|
If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
1186
1185
|
|
|
@@ -1197,24 +1196,24 @@ class _InstanceState:
|
|
|
1197
1196
|
return pulumi.get(self, "resize_disk")
|
|
1198
1197
|
|
|
1199
1198
|
@resize_disk.setter
|
|
1200
|
-
def resize_disk(self, value: Optional[pulumi.Input[
|
|
1199
|
+
def resize_disk(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1201
1200
|
pulumi.set(self, "resize_disk", value)
|
|
1202
1201
|
|
|
1203
|
-
@property
|
|
1202
|
+
@_builtins.property
|
|
1204
1203
|
@pulumi.getter(name="rootPass")
|
|
1205
|
-
def root_pass(self) -> Optional[pulumi.Input[
|
|
1204
|
+
def root_pass(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1206
1205
|
"""
|
|
1207
1206
|
The password that will be initially assigned to the 'root' user account.
|
|
1208
1207
|
"""
|
|
1209
1208
|
return pulumi.get(self, "root_pass")
|
|
1210
1209
|
|
|
1211
1210
|
@root_pass.setter
|
|
1212
|
-
def root_pass(self, value: Optional[pulumi.Input[
|
|
1211
|
+
def root_pass(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1213
1212
|
pulumi.set(self, "root_pass", value)
|
|
1214
1213
|
|
|
1215
|
-
@property
|
|
1214
|
+
@_builtins.property
|
|
1216
1215
|
@pulumi.getter(name="sharedIpv4s")
|
|
1217
|
-
def shared_ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1216
|
+
def shared_ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1218
1217
|
"""
|
|
1219
1218
|
A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
1220
1219
|
|
|
@@ -1225,10 +1224,10 @@ class _InstanceState:
|
|
|
1225
1224
|
return pulumi.get(self, "shared_ipv4s")
|
|
1226
1225
|
|
|
1227
1226
|
@shared_ipv4s.setter
|
|
1228
|
-
def shared_ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1227
|
+
def shared_ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1229
1228
|
pulumi.set(self, "shared_ipv4s", value)
|
|
1230
1229
|
|
|
1231
|
-
@property
|
|
1230
|
+
@_builtins.property
|
|
1232
1231
|
@pulumi.getter
|
|
1233
1232
|
def specs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceSpecArgs']]]]:
|
|
1234
1233
|
"""
|
|
@@ -1240,9 +1239,9 @@ class _InstanceState:
|
|
|
1240
1239
|
def specs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceSpecArgs']]]]):
|
|
1241
1240
|
pulumi.set(self, "specs", value)
|
|
1242
1241
|
|
|
1243
|
-
@property
|
|
1242
|
+
@_builtins.property
|
|
1244
1243
|
@pulumi.getter(name="stackscriptData")
|
|
1245
|
-
def stackscript_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1244
|
+
def stackscript_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
1246
1245
|
"""
|
|
1247
1246
|
An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
1248
1247
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
@@ -1250,12 +1249,12 @@ class _InstanceState:
|
|
|
1250
1249
|
return pulumi.get(self, "stackscript_data")
|
|
1251
1250
|
|
|
1252
1251
|
@stackscript_data.setter
|
|
1253
|
-
def stackscript_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1252
|
+
def stackscript_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
1254
1253
|
pulumi.set(self, "stackscript_data", value)
|
|
1255
1254
|
|
|
1256
|
-
@property
|
|
1255
|
+
@_builtins.property
|
|
1257
1256
|
@pulumi.getter(name="stackscriptId")
|
|
1258
|
-
def stackscript_id(self) -> Optional[pulumi.Input[
|
|
1257
|
+
def stackscript_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1259
1258
|
"""
|
|
1260
1259
|
The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
1261
1260
|
that is compatible with this StackScript.
|
|
@@ -1263,24 +1262,24 @@ class _InstanceState:
|
|
|
1263
1262
|
return pulumi.get(self, "stackscript_id")
|
|
1264
1263
|
|
|
1265
1264
|
@stackscript_id.setter
|
|
1266
|
-
def stackscript_id(self, value: Optional[pulumi.Input[
|
|
1265
|
+
def stackscript_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1267
1266
|
pulumi.set(self, "stackscript_id", value)
|
|
1268
1267
|
|
|
1269
|
-
@property
|
|
1268
|
+
@_builtins.property
|
|
1270
1269
|
@pulumi.getter
|
|
1271
|
-
def status(self) -> Optional[pulumi.Input[
|
|
1270
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1272
1271
|
"""
|
|
1273
1272
|
The status of the instance, indicating the current readiness state. (`running`, `offline`, ...)
|
|
1274
1273
|
"""
|
|
1275
1274
|
return pulumi.get(self, "status")
|
|
1276
1275
|
|
|
1277
1276
|
@status.setter
|
|
1278
|
-
def status(self, value: Optional[pulumi.Input[
|
|
1277
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1279
1278
|
pulumi.set(self, "status", value)
|
|
1280
1279
|
|
|
1281
|
-
@property
|
|
1280
|
+
@_builtins.property
|
|
1282
1281
|
@pulumi.getter(name="swapSize")
|
|
1283
|
-
def swap_size(self) -> Optional[pulumi.Input[
|
|
1282
|
+
def swap_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1284
1283
|
"""
|
|
1285
1284
|
When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
1286
1285
|
is used to set the swap disk size for the newly-created Linode.
|
|
@@ -1288,24 +1287,24 @@ class _InstanceState:
|
|
|
1288
1287
|
return pulumi.get(self, "swap_size")
|
|
1289
1288
|
|
|
1290
1289
|
@swap_size.setter
|
|
1291
|
-
def swap_size(self, value: Optional[pulumi.Input[
|
|
1290
|
+
def swap_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1292
1291
|
pulumi.set(self, "swap_size", value)
|
|
1293
1292
|
|
|
1294
|
-
@property
|
|
1293
|
+
@_builtins.property
|
|
1295
1294
|
@pulumi.getter
|
|
1296
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1295
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1297
1296
|
"""
|
|
1298
1297
|
A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
1299
1298
|
"""
|
|
1300
1299
|
return pulumi.get(self, "tags")
|
|
1301
1300
|
|
|
1302
1301
|
@tags.setter
|
|
1303
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1302
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1304
1303
|
pulumi.set(self, "tags", value)
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter
|
|
1308
|
-
def type(self) -> Optional[pulumi.Input[
|
|
1307
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1309
1308
|
"""
|
|
1310
1309
|
The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
1311
1310
|
|
|
@@ -1314,19 +1313,19 @@ class _InstanceState:
|
|
|
1314
1313
|
return pulumi.get(self, "type")
|
|
1315
1314
|
|
|
1316
1315
|
@type.setter
|
|
1317
|
-
def type(self, value: Optional[pulumi.Input[
|
|
1316
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1318
1317
|
pulumi.set(self, "type", value)
|
|
1319
1318
|
|
|
1320
|
-
@property
|
|
1319
|
+
@_builtins.property
|
|
1321
1320
|
@pulumi.getter(name="watchdogEnabled")
|
|
1322
|
-
def watchdog_enabled(self) -> Optional[pulumi.Input[
|
|
1321
|
+
def watchdog_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1323
1322
|
"""
|
|
1324
1323
|
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.
|
|
1325
1324
|
"""
|
|
1326
1325
|
return pulumi.get(self, "watchdog_enabled")
|
|
1327
1326
|
|
|
1328
1327
|
@watchdog_enabled.setter
|
|
1329
|
-
def watchdog_enabled(self, value: Optional[pulumi.Input[
|
|
1328
|
+
def watchdog_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1330
1329
|
pulumi.set(self, "watchdog_enabled", value)
|
|
1331
1330
|
|
|
1332
1331
|
|
|
@@ -1337,36 +1336,36 @@ class Instance(pulumi.CustomResource):
|
|
|
1337
1336
|
resource_name: str,
|
|
1338
1337
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1339
1338
|
alerts: Optional[pulumi.Input[Union['InstanceAlertsArgs', 'InstanceAlertsArgsDict']]] = None,
|
|
1340
|
-
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1341
|
-
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1342
|
-
backup_id: Optional[pulumi.Input[
|
|
1343
|
-
backups_enabled: Optional[pulumi.Input[
|
|
1344
|
-
boot_config_label: Optional[pulumi.Input[
|
|
1345
|
-
booted: Optional[pulumi.Input[
|
|
1339
|
+
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1340
|
+
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1341
|
+
backup_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1342
|
+
backups_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1343
|
+
boot_config_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1344
|
+
booted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1346
1345
|
configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceConfigArgs', 'InstanceConfigArgsDict']]]]] = None,
|
|
1347
|
-
disk_encryption: Optional[pulumi.Input[
|
|
1346
|
+
disk_encryption: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1348
1347
|
disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDiskArgs', 'InstanceDiskArgsDict']]]]] = None,
|
|
1349
|
-
firewall_id: Optional[pulumi.Input[
|
|
1350
|
-
group: Optional[pulumi.Input[
|
|
1351
|
-
image: Optional[pulumi.Input[
|
|
1348
|
+
firewall_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1349
|
+
group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1350
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1352
1351
|
interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceInterfaceArgs', 'InstanceInterfaceArgsDict']]]]] = None,
|
|
1353
|
-
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1354
|
-
label: Optional[pulumi.Input[
|
|
1352
|
+
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1353
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1355
1354
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceMetadataArgs', 'InstanceMetadataArgsDict']]]]] = None,
|
|
1356
|
-
migration_type: Optional[pulumi.Input[
|
|
1355
|
+
migration_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1357
1356
|
placement_group: Optional[pulumi.Input[Union['InstancePlacementGroupArgs', 'InstancePlacementGroupArgsDict']]] = None,
|
|
1358
|
-
placement_group_externally_managed: Optional[pulumi.Input[
|
|
1359
|
-
private_ip: Optional[pulumi.Input[
|
|
1360
|
-
region: Optional[pulumi.Input[
|
|
1361
|
-
resize_disk: Optional[pulumi.Input[
|
|
1362
|
-
root_pass: Optional[pulumi.Input[
|
|
1363
|
-
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1364
|
-
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1365
|
-
stackscript_id: Optional[pulumi.Input[
|
|
1366
|
-
swap_size: Optional[pulumi.Input[
|
|
1367
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1368
|
-
type: Optional[pulumi.Input[
|
|
1369
|
-
watchdog_enabled: Optional[pulumi.Input[
|
|
1357
|
+
placement_group_externally_managed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1358
|
+
private_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1359
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1360
|
+
resize_disk: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1361
|
+
root_pass: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1362
|
+
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1363
|
+
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1364
|
+
stackscript_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1365
|
+
swap_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1366
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1367
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1368
|
+
watchdog_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1370
1369
|
__props__=None):
|
|
1371
1370
|
"""
|
|
1372
1371
|
Provides a Linode Instance resource. This can be used to create, modify, and delete Linodes.
|
|
@@ -1461,39 +1460,39 @@ class Instance(pulumi.CustomResource):
|
|
|
1461
1460
|
:param str resource_name: The name of the resource.
|
|
1462
1461
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1463
1462
|
:param pulumi.Input[Union['InstanceAlertsArgs', 'InstanceAlertsArgsDict']] alerts: Configuration options for alert triggers on this Linode.
|
|
1464
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1465
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1463
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_keys: A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
1464
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_users: A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
1466
1465
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
1467
|
-
:param pulumi.Input[
|
|
1466
|
+
:param pulumi.Input[_builtins.int] backup_id: A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
1468
1467
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
1469
1468
|
/linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
1470
1469
|
exclusive.
|
|
1471
|
-
:param pulumi.Input[
|
|
1472
|
-
:param pulumi.Input[
|
|
1473
|
-
:param pulumi.Input[
|
|
1470
|
+
:param pulumi.Input[_builtins.bool] backups_enabled: 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.
|
|
1471
|
+
:param pulumi.Input[_builtins.str] boot_config_label: The Label of the Instance Config that should be used to boot the Linode instance.
|
|
1472
|
+
:param pulumi.Input[_builtins.bool] booted: If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
1474
1473
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceConfigArgs', 'InstanceConfigArgsDict']]]] configs: Configuration profiles define the VM settings and boot behavior of the Linode Instance.
|
|
1475
|
-
:param pulumi.Input[
|
|
1474
|
+
:param pulumi.Input[_builtins.str] disk_encryption: The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
1476
1475
|
|
|
1477
1476
|
* **NOTE: Disk encryption may not currently be available to all users.**
|
|
1478
|
-
:param pulumi.Input[
|
|
1479
|
-
:param pulumi.Input[
|
|
1480
|
-
:param pulumi.Input[
|
|
1477
|
+
:param pulumi.Input[_builtins.int] firewall_id: The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
1478
|
+
:param pulumi.Input[_builtins.str] group: A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
1479
|
+
:param pulumi.Input[_builtins.str] image: An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
1481
1480
|
See /images for more information on the Images available for you to use.
|
|
1482
1481
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceInterfaceArgs', 'InstanceInterfaceArgsDict']]]] interfaces: An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
1483
1482
|
must be declared in the config block.
|
|
1484
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1483
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4s: A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
1485
1484
|
|
|
1486
1485
|
* **NOTE: IP reservation is not currently available to all users.**
|
|
1487
|
-
:param pulumi.Input[
|
|
1486
|
+
:param pulumi.Input[_builtins.str] label: The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
1488
1487
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceMetadataArgs', 'InstanceMetadataArgsDict']]]] metadatas: Various fields related to the Linode Metadata service.
|
|
1489
|
-
:param pulumi.Input[
|
|
1488
|
+
:param pulumi.Input[_builtins.str] migration_type: The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
1490
1489
|
|
|
1491
1490
|
* `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
1492
1491
|
:param pulumi.Input[Union['InstancePlacementGroupArgs', 'InstancePlacementGroupArgsDict']] placement_group: Information about the Placement Group this Linode is assigned to.
|
|
1493
|
-
:param pulumi.Input[
|
|
1494
|
-
:param pulumi.Input[
|
|
1495
|
-
:param pulumi.Input[
|
|
1496
|
-
:param pulumi.Input[
|
|
1492
|
+
:param pulumi.Input[_builtins.bool] placement_group_externally_managed: If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
1493
|
+
:param pulumi.Input[_builtins.bool] private_ip: 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.
|
|
1494
|
+
:param pulumi.Input[_builtins.str] region: This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
1495
|
+
:param pulumi.Input[_builtins.bool] resize_disk: If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
1497
1496
|
|
|
1498
1497
|
* `alerts.0.cpu` - (Optional) The percentage of CPU usage required to trigger an alert. If the average CPU usage over two hours exceeds this value, we'll send you an alert. If this is set to 0, the alert is disabled.
|
|
1499
1498
|
|
|
@@ -1504,23 +1503,23 @@ class Instance(pulumi.CustomResource):
|
|
|
1504
1503
|
* `alerts.0.transfer_quota` - (Optional) The percentage of network transfer that may be used before an alert is triggered. When this value is exceeded, we'll alert you. If this is set to 0 (zero), the alert is disabled.
|
|
1505
1504
|
|
|
1506
1505
|
* `alerts.0.io` - (Optional) The amount of disk IO operation per second required to trigger an alert. If the average disk IO over two hours exceeds this value, we'll send you an alert. If set to 0, this alert is disabled.
|
|
1507
|
-
:param pulumi.Input[
|
|
1508
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1506
|
+
:param pulumi.Input[_builtins.str] root_pass: The password that will be initially assigned to the 'root' user account.
|
|
1507
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] shared_ipv4s: A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
1509
1508
|
|
|
1510
1509
|
* `metadata.0.user_data` - (Optional) The base64-encoded user-defined data exposed to this instance through the Linode Metadata service. Refer to the base64encode(...) function for information on encoding content for this field.
|
|
1511
1510
|
|
|
1512
1511
|
* `placement_group.0.id` - (Optional) The ID of the Placement Group to assign this Linode to.
|
|
1513
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
1512
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] stackscript_data: An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
1514
1513
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
1515
|
-
:param pulumi.Input[
|
|
1514
|
+
:param pulumi.Input[_builtins.int] stackscript_id: The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
1516
1515
|
that is compatible with this StackScript.
|
|
1517
|
-
:param pulumi.Input[
|
|
1516
|
+
:param pulumi.Input[_builtins.int] swap_size: When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
1518
1517
|
is used to set the swap disk size for the newly-created Linode.
|
|
1519
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1520
|
-
:param pulumi.Input[
|
|
1518
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
1519
|
+
:param pulumi.Input[_builtins.str] type: The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
1521
1520
|
|
|
1522
1521
|
- - -
|
|
1523
|
-
:param pulumi.Input[
|
|
1522
|
+
:param pulumi.Input[_builtins.bool] watchdog_enabled: 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.
|
|
1524
1523
|
"""
|
|
1525
1524
|
...
|
|
1526
1525
|
@overload
|
|
@@ -1634,36 +1633,36 @@ class Instance(pulumi.CustomResource):
|
|
|
1634
1633
|
resource_name: str,
|
|
1635
1634
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1636
1635
|
alerts: Optional[pulumi.Input[Union['InstanceAlertsArgs', 'InstanceAlertsArgsDict']]] = None,
|
|
1637
|
-
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1638
|
-
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1639
|
-
backup_id: Optional[pulumi.Input[
|
|
1640
|
-
backups_enabled: Optional[pulumi.Input[
|
|
1641
|
-
boot_config_label: Optional[pulumi.Input[
|
|
1642
|
-
booted: Optional[pulumi.Input[
|
|
1636
|
+
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1637
|
+
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1638
|
+
backup_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1639
|
+
backups_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1640
|
+
boot_config_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1641
|
+
booted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1643
1642
|
configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceConfigArgs', 'InstanceConfigArgsDict']]]]] = None,
|
|
1644
|
-
disk_encryption: Optional[pulumi.Input[
|
|
1643
|
+
disk_encryption: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1645
1644
|
disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDiskArgs', 'InstanceDiskArgsDict']]]]] = None,
|
|
1646
|
-
firewall_id: Optional[pulumi.Input[
|
|
1647
|
-
group: Optional[pulumi.Input[
|
|
1648
|
-
image: Optional[pulumi.Input[
|
|
1645
|
+
firewall_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1646
|
+
group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1647
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1649
1648
|
interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceInterfaceArgs', 'InstanceInterfaceArgsDict']]]]] = None,
|
|
1650
|
-
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1651
|
-
label: Optional[pulumi.Input[
|
|
1649
|
+
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1650
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1652
1651
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceMetadataArgs', 'InstanceMetadataArgsDict']]]]] = None,
|
|
1653
|
-
migration_type: Optional[pulumi.Input[
|
|
1652
|
+
migration_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1654
1653
|
placement_group: Optional[pulumi.Input[Union['InstancePlacementGroupArgs', 'InstancePlacementGroupArgsDict']]] = None,
|
|
1655
|
-
placement_group_externally_managed: Optional[pulumi.Input[
|
|
1656
|
-
private_ip: Optional[pulumi.Input[
|
|
1657
|
-
region: Optional[pulumi.Input[
|
|
1658
|
-
resize_disk: Optional[pulumi.Input[
|
|
1659
|
-
root_pass: Optional[pulumi.Input[
|
|
1660
|
-
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1661
|
-
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1662
|
-
stackscript_id: Optional[pulumi.Input[
|
|
1663
|
-
swap_size: Optional[pulumi.Input[
|
|
1664
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1665
|
-
type: Optional[pulumi.Input[
|
|
1666
|
-
watchdog_enabled: Optional[pulumi.Input[
|
|
1654
|
+
placement_group_externally_managed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1655
|
+
private_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1656
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1657
|
+
resize_disk: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1658
|
+
root_pass: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1659
|
+
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1660
|
+
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1661
|
+
stackscript_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1662
|
+
swap_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1663
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1664
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1665
|
+
watchdog_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1667
1666
|
__props__=None):
|
|
1668
1667
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1669
1668
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1729,46 +1728,46 @@ class Instance(pulumi.CustomResource):
|
|
|
1729
1728
|
id: pulumi.Input[str],
|
|
1730
1729
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1731
1730
|
alerts: Optional[pulumi.Input[Union['InstanceAlertsArgs', 'InstanceAlertsArgsDict']]] = None,
|
|
1732
|
-
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1733
|
-
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1734
|
-
backup_id: Optional[pulumi.Input[
|
|
1731
|
+
authorized_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1732
|
+
authorized_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1733
|
+
backup_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1735
1734
|
backups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceBackupArgs', 'InstanceBackupArgsDict']]]]] = None,
|
|
1736
|
-
backups_enabled: Optional[pulumi.Input[
|
|
1737
|
-
boot_config_label: Optional[pulumi.Input[
|
|
1738
|
-
booted: Optional[pulumi.Input[
|
|
1739
|
-
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1735
|
+
backups_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1736
|
+
boot_config_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1737
|
+
booted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1738
|
+
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1740
1739
|
configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceConfigArgs', 'InstanceConfigArgsDict']]]]] = None,
|
|
1741
|
-
disk_encryption: Optional[pulumi.Input[
|
|
1740
|
+
disk_encryption: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1742
1741
|
disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDiskArgs', 'InstanceDiskArgsDict']]]]] = None,
|
|
1743
|
-
firewall_id: Optional[pulumi.Input[
|
|
1744
|
-
group: Optional[pulumi.Input[
|
|
1745
|
-
has_user_data: Optional[pulumi.Input[
|
|
1746
|
-
host_uuid: Optional[pulumi.Input[
|
|
1747
|
-
image: Optional[pulumi.Input[
|
|
1742
|
+
firewall_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1743
|
+
group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1744
|
+
has_user_data: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1745
|
+
host_uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1746
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1748
1747
|
interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceInterfaceArgs', 'InstanceInterfaceArgsDict']]]]] = None,
|
|
1749
|
-
ip_address: Optional[pulumi.Input[
|
|
1750
|
-
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1751
|
-
ipv6: Optional[pulumi.Input[
|
|
1752
|
-
label: Optional[pulumi.Input[
|
|
1753
|
-
lke_cluster_id: Optional[pulumi.Input[
|
|
1748
|
+
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1749
|
+
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1750
|
+
ipv6: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1751
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1752
|
+
lke_cluster_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1754
1753
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceMetadataArgs', 'InstanceMetadataArgsDict']]]]] = None,
|
|
1755
|
-
migration_type: Optional[pulumi.Input[
|
|
1754
|
+
migration_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1756
1755
|
placement_group: Optional[pulumi.Input[Union['InstancePlacementGroupArgs', 'InstancePlacementGroupArgsDict']]] = None,
|
|
1757
|
-
placement_group_externally_managed: Optional[pulumi.Input[
|
|
1758
|
-
private_ip: Optional[pulumi.Input[
|
|
1759
|
-
private_ip_address: Optional[pulumi.Input[
|
|
1760
|
-
region: Optional[pulumi.Input[
|
|
1761
|
-
resize_disk: Optional[pulumi.Input[
|
|
1762
|
-
root_pass: Optional[pulumi.Input[
|
|
1763
|
-
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1756
|
+
placement_group_externally_managed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1757
|
+
private_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1758
|
+
private_ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1759
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1760
|
+
resize_disk: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1761
|
+
root_pass: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1762
|
+
shared_ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1764
1763
|
specs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceSpecArgs', 'InstanceSpecArgsDict']]]]] = None,
|
|
1765
|
-
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
1766
|
-
stackscript_id: Optional[pulumi.Input[
|
|
1767
|
-
status: Optional[pulumi.Input[
|
|
1768
|
-
swap_size: Optional[pulumi.Input[
|
|
1769
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1770
|
-
type: Optional[pulumi.Input[
|
|
1771
|
-
watchdog_enabled: Optional[pulumi.Input[
|
|
1764
|
+
stackscript_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1765
|
+
stackscript_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1766
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1767
|
+
swap_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1768
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1769
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1770
|
+
watchdog_enabled: Optional[pulumi.Input[_builtins.bool]] = None) -> 'Instance':
|
|
1772
1771
|
"""
|
|
1773
1772
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
1774
1773
|
properties used to qualify the lookup.
|
|
@@ -1777,47 +1776,47 @@ class Instance(pulumi.CustomResource):
|
|
|
1777
1776
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1778
1777
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1779
1778
|
:param pulumi.Input[Union['InstanceAlertsArgs', 'InstanceAlertsArgsDict']] alerts: Configuration options for alert triggers on this Linode.
|
|
1780
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1781
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1779
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_keys: A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
1780
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] authorized_users: A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
1782
1781
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
1783
|
-
:param pulumi.Input[
|
|
1782
|
+
:param pulumi.Input[_builtins.int] backup_id: A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
1784
1783
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
1785
1784
|
/linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
1786
1785
|
exclusive.
|
|
1787
1786
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceBackupArgs', 'InstanceBackupArgsDict']]]] backups: Information about this Linode's backups status.
|
|
1788
|
-
:param pulumi.Input[
|
|
1789
|
-
:param pulumi.Input[
|
|
1790
|
-
:param pulumi.Input[
|
|
1791
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1787
|
+
:param pulumi.Input[_builtins.bool] backups_enabled: 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.
|
|
1788
|
+
:param pulumi.Input[_builtins.str] boot_config_label: The Label of the Instance Config that should be used to boot the Linode instance.
|
|
1789
|
+
:param pulumi.Input[_builtins.bool] booted: If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
1790
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] capabilities: A list of capabilities of this Linode instance.
|
|
1792
1791
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceConfigArgs', 'InstanceConfigArgsDict']]]] configs: Configuration profiles define the VM settings and boot behavior of the Linode Instance.
|
|
1793
|
-
:param pulumi.Input[
|
|
1792
|
+
:param pulumi.Input[_builtins.str] disk_encryption: The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
1794
1793
|
|
|
1795
1794
|
* **NOTE: Disk encryption may not currently be available to all users.**
|
|
1796
|
-
:param pulumi.Input[
|
|
1797
|
-
:param pulumi.Input[
|
|
1798
|
-
:param pulumi.Input[
|
|
1799
|
-
:param pulumi.Input[
|
|
1800
|
-
:param pulumi.Input[
|
|
1795
|
+
:param pulumi.Input[_builtins.int] firewall_id: The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
1796
|
+
:param pulumi.Input[_builtins.str] group: A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
1797
|
+
:param pulumi.Input[_builtins.bool] has_user_data: Whether this Instance was created with user-data.
|
|
1798
|
+
:param pulumi.Input[_builtins.str] host_uuid: The Linode’s host machine, as a UUID.
|
|
1799
|
+
:param pulumi.Input[_builtins.str] image: An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
1801
1800
|
See /images for more information on the Images available for you to use.
|
|
1802
1801
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceInterfaceArgs', 'InstanceInterfaceArgsDict']]]] interfaces: An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
1803
1802
|
must be declared in the config block.
|
|
1804
|
-
:param pulumi.Input[
|
|
1805
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1803
|
+
:param pulumi.Input[_builtins.str] ip_address: A string containing the Linode's public IP address.
|
|
1804
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4s: A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
1806
1805
|
|
|
1807
1806
|
* **NOTE: IP reservation is not currently available to all users.**
|
|
1808
|
-
:param pulumi.Input[
|
|
1809
|
-
:param pulumi.Input[
|
|
1810
|
-
:param pulumi.Input[
|
|
1807
|
+
:param pulumi.Input[_builtins.str] ipv6: This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (`/128`) is included in this attribute.
|
|
1808
|
+
:param pulumi.Input[_builtins.str] label: The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
1809
|
+
:param pulumi.Input[_builtins.int] lke_cluster_id: If applicable, the ID of the LKE cluster this instance is a part of.
|
|
1811
1810
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceMetadataArgs', 'InstanceMetadataArgsDict']]]] metadatas: Various fields related to the Linode Metadata service.
|
|
1812
|
-
:param pulumi.Input[
|
|
1811
|
+
:param pulumi.Input[_builtins.str] migration_type: The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
1813
1812
|
|
|
1814
1813
|
* `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
1815
1814
|
:param pulumi.Input[Union['InstancePlacementGroupArgs', 'InstancePlacementGroupArgsDict']] placement_group: Information about the Placement Group this Linode is assigned to.
|
|
1816
|
-
:param pulumi.Input[
|
|
1817
|
-
:param pulumi.Input[
|
|
1818
|
-
:param pulumi.Input[
|
|
1819
|
-
:param pulumi.Input[
|
|
1820
|
-
:param pulumi.Input[
|
|
1815
|
+
:param pulumi.Input[_builtins.bool] placement_group_externally_managed: If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
1816
|
+
:param pulumi.Input[_builtins.bool] private_ip: 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.
|
|
1817
|
+
:param pulumi.Input[_builtins.str] private_ip_address: This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.
|
|
1818
|
+
:param pulumi.Input[_builtins.str] region: This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
1819
|
+
:param pulumi.Input[_builtins.bool] resize_disk: If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
1821
1820
|
|
|
1822
1821
|
* `alerts.0.cpu` - (Optional) The percentage of CPU usage required to trigger an alert. If the average CPU usage over two hours exceeds this value, we'll send you an alert. If this is set to 0, the alert is disabled.
|
|
1823
1822
|
|
|
@@ -1828,25 +1827,25 @@ class Instance(pulumi.CustomResource):
|
|
|
1828
1827
|
* `alerts.0.transfer_quota` - (Optional) The percentage of network transfer that may be used before an alert is triggered. When this value is exceeded, we'll alert you. If this is set to 0 (zero), the alert is disabled.
|
|
1829
1828
|
|
|
1830
1829
|
* `alerts.0.io` - (Optional) The amount of disk IO operation per second required to trigger an alert. If the average disk IO over two hours exceeds this value, we'll send you an alert. If set to 0, this alert is disabled.
|
|
1831
|
-
:param pulumi.Input[
|
|
1832
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1830
|
+
:param pulumi.Input[_builtins.str] root_pass: The password that will be initially assigned to the 'root' user account.
|
|
1831
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] shared_ipv4s: A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
1833
1832
|
|
|
1834
1833
|
* `metadata.0.user_data` - (Optional) The base64-encoded user-defined data exposed to this instance through the Linode Metadata service. Refer to the base64encode(...) function for information on encoding content for this field.
|
|
1835
1834
|
|
|
1836
1835
|
* `placement_group.0.id` - (Optional) The ID of the Placement Group to assign this Linode to.
|
|
1837
1836
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceSpecArgs', 'InstanceSpecArgsDict']]]] specs: Information about the resources available to this Linode.
|
|
1838
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
1837
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] stackscript_data: An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
1839
1838
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
1840
|
-
:param pulumi.Input[
|
|
1839
|
+
:param pulumi.Input[_builtins.int] stackscript_id: The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
1841
1840
|
that is compatible with this StackScript.
|
|
1842
|
-
:param pulumi.Input[
|
|
1843
|
-
:param pulumi.Input[
|
|
1841
|
+
:param pulumi.Input[_builtins.str] status: The status of the instance, indicating the current readiness state. (`running`, `offline`, ...)
|
|
1842
|
+
:param pulumi.Input[_builtins.int] swap_size: When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
1844
1843
|
is used to set the swap disk size for the newly-created Linode.
|
|
1845
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1846
|
-
:param pulumi.Input[
|
|
1844
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
1845
|
+
:param pulumi.Input[_builtins.str] type: The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
1847
1846
|
|
|
1848
1847
|
- - -
|
|
1849
|
-
:param pulumi.Input[
|
|
1848
|
+
:param pulumi.Input[_builtins.bool] watchdog_enabled: 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.
|
|
1850
1849
|
"""
|
|
1851
1850
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1852
1851
|
|
|
@@ -1895,7 +1894,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1895
1894
|
__props__.__dict__["watchdog_enabled"] = watchdog_enabled
|
|
1896
1895
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
1897
1896
|
|
|
1898
|
-
@property
|
|
1897
|
+
@_builtins.property
|
|
1899
1898
|
@pulumi.getter
|
|
1900
1899
|
def alerts(self) -> pulumi.Output['outputs.InstanceAlerts']:
|
|
1901
1900
|
"""
|
|
@@ -1903,26 +1902,26 @@ class Instance(pulumi.CustomResource):
|
|
|
1903
1902
|
"""
|
|
1904
1903
|
return pulumi.get(self, "alerts")
|
|
1905
1904
|
|
|
1906
|
-
@property
|
|
1905
|
+
@_builtins.property
|
|
1907
1906
|
@pulumi.getter(name="authorizedKeys")
|
|
1908
|
-
def authorized_keys(self) -> pulumi.Output[Optional[Sequence[
|
|
1907
|
+
def authorized_keys(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1909
1908
|
"""
|
|
1910
1909
|
A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if 'image' is provided.
|
|
1911
1910
|
"""
|
|
1912
1911
|
return pulumi.get(self, "authorized_keys")
|
|
1913
1912
|
|
|
1914
|
-
@property
|
|
1913
|
+
@_builtins.property
|
|
1915
1914
|
@pulumi.getter(name="authorizedUsers")
|
|
1916
|
-
def authorized_users(self) -> pulumi.Output[Optional[Sequence[
|
|
1915
|
+
def authorized_users(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1917
1916
|
"""
|
|
1918
1917
|
A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
1919
1918
|
`~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
1920
1919
|
"""
|
|
1921
1920
|
return pulumi.get(self, "authorized_users")
|
|
1922
1921
|
|
|
1923
|
-
@property
|
|
1922
|
+
@_builtins.property
|
|
1924
1923
|
@pulumi.getter(name="backupId")
|
|
1925
|
-
def backup_id(self) -> pulumi.Output[Optional[
|
|
1924
|
+
def backup_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1926
1925
|
"""
|
|
1927
1926
|
A Backup ID from another Linode's available backups. Your User must have read_write access to that Linode, the Backup
|
|
1928
1927
|
must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
@@ -1931,7 +1930,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1931
1930
|
"""
|
|
1932
1931
|
return pulumi.get(self, "backup_id")
|
|
1933
1932
|
|
|
1934
|
-
@property
|
|
1933
|
+
@_builtins.property
|
|
1935
1934
|
@pulumi.getter
|
|
1936
1935
|
def backups(self) -> pulumi.Output[Sequence['outputs.InstanceBackup']]:
|
|
1937
1936
|
"""
|
|
@@ -1939,39 +1938,39 @@ class Instance(pulumi.CustomResource):
|
|
|
1939
1938
|
"""
|
|
1940
1939
|
return pulumi.get(self, "backups")
|
|
1941
1940
|
|
|
1942
|
-
@property
|
|
1941
|
+
@_builtins.property
|
|
1943
1942
|
@pulumi.getter(name="backupsEnabled")
|
|
1944
|
-
def backups_enabled(self) -> pulumi.Output[
|
|
1943
|
+
def backups_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1945
1944
|
"""
|
|
1946
1945
|
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.
|
|
1947
1946
|
"""
|
|
1948
1947
|
return pulumi.get(self, "backups_enabled")
|
|
1949
1948
|
|
|
1950
|
-
@property
|
|
1949
|
+
@_builtins.property
|
|
1951
1950
|
@pulumi.getter(name="bootConfigLabel")
|
|
1952
|
-
def boot_config_label(self) -> pulumi.Output[
|
|
1951
|
+
def boot_config_label(self) -> pulumi.Output[_builtins.str]:
|
|
1953
1952
|
"""
|
|
1954
1953
|
The Label of the Instance Config that should be used to boot the Linode instance.
|
|
1955
1954
|
"""
|
|
1956
1955
|
return pulumi.get(self, "boot_config_label")
|
|
1957
1956
|
|
|
1958
|
-
@property
|
|
1957
|
+
@_builtins.property
|
|
1959
1958
|
@pulumi.getter
|
|
1960
|
-
def booted(self) -> pulumi.Output[
|
|
1959
|
+
def booted(self) -> pulumi.Output[_builtins.bool]:
|
|
1961
1960
|
"""
|
|
1962
1961
|
If true, then the instance is kept or converted into in a running state. If false, the instance will be shutdown. If unspecified, the Linode's power status will not be managed by the Provider.
|
|
1963
1962
|
"""
|
|
1964
1963
|
return pulumi.get(self, "booted")
|
|
1965
1964
|
|
|
1966
|
-
@property
|
|
1965
|
+
@_builtins.property
|
|
1967
1966
|
@pulumi.getter
|
|
1968
|
-
def capabilities(self) -> pulumi.Output[Sequence[
|
|
1967
|
+
def capabilities(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
1969
1968
|
"""
|
|
1970
1969
|
A list of capabilities of this Linode instance.
|
|
1971
1970
|
"""
|
|
1972
1971
|
return pulumi.get(self, "capabilities")
|
|
1973
1972
|
|
|
1974
|
-
@property
|
|
1973
|
+
@_builtins.property
|
|
1975
1974
|
@pulumi.getter
|
|
1976
1975
|
@_utilities.deprecated("""The embedded config is deprecated and scheduled to be removed in the next major version.Please consider migrating it to InstanceConfig resource.""")
|
|
1977
1976
|
def configs(self) -> pulumi.Output[Sequence['outputs.InstanceConfig']]:
|
|
@@ -1980,9 +1979,9 @@ class Instance(pulumi.CustomResource):
|
|
|
1980
1979
|
"""
|
|
1981
1980
|
return pulumi.get(self, "configs")
|
|
1982
1981
|
|
|
1983
|
-
@property
|
|
1982
|
+
@_builtins.property
|
|
1984
1983
|
@pulumi.getter(name="diskEncryption")
|
|
1985
|
-
def disk_encryption(self) -> pulumi.Output[
|
|
1984
|
+
def disk_encryption(self) -> pulumi.Output[_builtins.str]:
|
|
1986
1985
|
"""
|
|
1987
1986
|
The disk encryption policy for this instance. (`enabled`, `disabled`; default `enabled` in supported regions)
|
|
1988
1987
|
|
|
@@ -1990,55 +1989,55 @@ class Instance(pulumi.CustomResource):
|
|
|
1990
1989
|
"""
|
|
1991
1990
|
return pulumi.get(self, "disk_encryption")
|
|
1992
1991
|
|
|
1993
|
-
@property
|
|
1992
|
+
@_builtins.property
|
|
1994
1993
|
@pulumi.getter
|
|
1995
1994
|
@_utilities.deprecated("""The embedded disk block in Instance resource is deprecated and scheduled to be removed in the next major version. Please consider migrating it to be the InstanceDisk resource.""")
|
|
1996
1995
|
def disks(self) -> pulumi.Output[Sequence['outputs.InstanceDisk']]:
|
|
1997
1996
|
return pulumi.get(self, "disks")
|
|
1998
1997
|
|
|
1999
|
-
@property
|
|
1998
|
+
@_builtins.property
|
|
2000
1999
|
@pulumi.getter(name="firewallId")
|
|
2001
|
-
def firewall_id(self) -> pulumi.Output[Optional[
|
|
2000
|
+
def firewall_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
2002
2001
|
"""
|
|
2003
2002
|
The ID of the Firewall to attach to the instance upon creation. *Changing `firewall_id` forces the creation of a new Linode Instance.*
|
|
2004
2003
|
"""
|
|
2005
2004
|
return pulumi.get(self, "firewall_id")
|
|
2006
2005
|
|
|
2007
|
-
@property
|
|
2006
|
+
@_builtins.property
|
|
2008
2007
|
@pulumi.getter
|
|
2009
2008
|
@_utilities.deprecated("""Group label is deprecated. We recommend using tags instead.""")
|
|
2010
|
-
def group(self) -> pulumi.Output[Optional[
|
|
2009
|
+
def group(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2011
2010
|
"""
|
|
2012
2011
|
A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
2013
2012
|
"""
|
|
2014
2013
|
return pulumi.get(self, "group")
|
|
2015
2014
|
|
|
2016
|
-
@property
|
|
2015
|
+
@_builtins.property
|
|
2017
2016
|
@pulumi.getter(name="hasUserData")
|
|
2018
|
-
def has_user_data(self) -> pulumi.Output[
|
|
2017
|
+
def has_user_data(self) -> pulumi.Output[_builtins.bool]:
|
|
2019
2018
|
"""
|
|
2020
2019
|
Whether this Instance was created with user-data.
|
|
2021
2020
|
"""
|
|
2022
2021
|
return pulumi.get(self, "has_user_data")
|
|
2023
2022
|
|
|
2024
|
-
@property
|
|
2023
|
+
@_builtins.property
|
|
2025
2024
|
@pulumi.getter(name="hostUuid")
|
|
2026
|
-
def host_uuid(self) -> pulumi.Output[
|
|
2025
|
+
def host_uuid(self) -> pulumi.Output[_builtins.str]:
|
|
2027
2026
|
"""
|
|
2028
2027
|
The Linode’s host machine, as a UUID.
|
|
2029
2028
|
"""
|
|
2030
2029
|
return pulumi.get(self, "host_uuid")
|
|
2031
2030
|
|
|
2032
|
-
@property
|
|
2031
|
+
@_builtins.property
|
|
2033
2032
|
@pulumi.getter
|
|
2034
|
-
def image(self) -> pulumi.Output[Optional[
|
|
2033
|
+
def image(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2035
2034
|
"""
|
|
2036
2035
|
An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
2037
2036
|
See /images for more information on the Images available for you to use.
|
|
2038
2037
|
"""
|
|
2039
2038
|
return pulumi.get(self, "image")
|
|
2040
2039
|
|
|
2041
|
-
@property
|
|
2040
|
+
@_builtins.property
|
|
2042
2041
|
@pulumi.getter
|
|
2043
2042
|
def interfaces(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceInterface']]]:
|
|
2044
2043
|
"""
|
|
@@ -2047,18 +2046,18 @@ class Instance(pulumi.CustomResource):
|
|
|
2047
2046
|
"""
|
|
2048
2047
|
return pulumi.get(self, "interfaces")
|
|
2049
2048
|
|
|
2050
|
-
@property
|
|
2049
|
+
@_builtins.property
|
|
2051
2050
|
@pulumi.getter(name="ipAddress")
|
|
2052
2051
|
@_utilities.deprecated("""The `ip_address` attribute in Instance resource is deprecated. Please consider using the `ipv4` set attribute in the same resource or a `get_instance_networking` data source instead.""")
|
|
2053
|
-
def ip_address(self) -> pulumi.Output[
|
|
2052
|
+
def ip_address(self) -> pulumi.Output[_builtins.str]:
|
|
2054
2053
|
"""
|
|
2055
2054
|
A string containing the Linode's public IP address.
|
|
2056
2055
|
"""
|
|
2057
2056
|
return pulumi.get(self, "ip_address")
|
|
2058
2057
|
|
|
2059
|
-
@property
|
|
2058
|
+
@_builtins.property
|
|
2060
2059
|
@pulumi.getter
|
|
2061
|
-
def ipv4s(self) -> pulumi.Output[Sequence[
|
|
2060
|
+
def ipv4s(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
2062
2061
|
"""
|
|
2063
2062
|
A set of reserved IPv4 addresses to assign to this Linode on creation.
|
|
2064
2063
|
|
|
@@ -2066,31 +2065,31 @@ class Instance(pulumi.CustomResource):
|
|
|
2066
2065
|
"""
|
|
2067
2066
|
return pulumi.get(self, "ipv4s")
|
|
2068
2067
|
|
|
2069
|
-
@property
|
|
2068
|
+
@_builtins.property
|
|
2070
2069
|
@pulumi.getter
|
|
2071
|
-
def ipv6(self) -> pulumi.Output[
|
|
2070
|
+
def ipv6(self) -> pulumi.Output[_builtins.str]:
|
|
2072
2071
|
"""
|
|
2073
2072
|
This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (`/128`) is included in this attribute.
|
|
2074
2073
|
"""
|
|
2075
2074
|
return pulumi.get(self, "ipv6")
|
|
2076
2075
|
|
|
2077
|
-
@property
|
|
2076
|
+
@_builtins.property
|
|
2078
2077
|
@pulumi.getter
|
|
2079
|
-
def label(self) -> pulumi.Output[
|
|
2078
|
+
def label(self) -> pulumi.Output[_builtins.str]:
|
|
2080
2079
|
"""
|
|
2081
2080
|
The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
2082
2081
|
"""
|
|
2083
2082
|
return pulumi.get(self, "label")
|
|
2084
2083
|
|
|
2085
|
-
@property
|
|
2084
|
+
@_builtins.property
|
|
2086
2085
|
@pulumi.getter(name="lkeClusterId")
|
|
2087
|
-
def lke_cluster_id(self) -> pulumi.Output[
|
|
2086
|
+
def lke_cluster_id(self) -> pulumi.Output[_builtins.int]:
|
|
2088
2087
|
"""
|
|
2089
2088
|
If applicable, the ID of the LKE cluster this instance is a part of.
|
|
2090
2089
|
"""
|
|
2091
2090
|
return pulumi.get(self, "lke_cluster_id")
|
|
2092
2091
|
|
|
2093
|
-
@property
|
|
2092
|
+
@_builtins.property
|
|
2094
2093
|
@pulumi.getter
|
|
2095
2094
|
def metadatas(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceMetadata']]]:
|
|
2096
2095
|
"""
|
|
@@ -2098,9 +2097,9 @@ class Instance(pulumi.CustomResource):
|
|
|
2098
2097
|
"""
|
|
2099
2098
|
return pulumi.get(self, "metadatas")
|
|
2100
2099
|
|
|
2101
|
-
@property
|
|
2100
|
+
@_builtins.property
|
|
2102
2101
|
@pulumi.getter(name="migrationType")
|
|
2103
|
-
def migration_type(self) -> pulumi.Output[Optional[
|
|
2102
|
+
def migration_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2104
2103
|
"""
|
|
2105
2104
|
The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
2106
2105
|
|
|
@@ -2108,7 +2107,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2108
2107
|
"""
|
|
2109
2108
|
return pulumi.get(self, "migration_type")
|
|
2110
2109
|
|
|
2111
|
-
@property
|
|
2110
|
+
@_builtins.property
|
|
2112
2111
|
@pulumi.getter(name="placementGroup")
|
|
2113
2112
|
def placement_group(self) -> pulumi.Output[Optional['outputs.InstancePlacementGroup']]:
|
|
2114
2113
|
"""
|
|
@@ -2116,41 +2115,41 @@ class Instance(pulumi.CustomResource):
|
|
|
2116
2115
|
"""
|
|
2117
2116
|
return pulumi.get(self, "placement_group")
|
|
2118
2117
|
|
|
2119
|
-
@property
|
|
2118
|
+
@_builtins.property
|
|
2120
2119
|
@pulumi.getter(name="placementGroupExternallyManaged")
|
|
2121
|
-
def placement_group_externally_managed(self) -> pulumi.Output[Optional[
|
|
2120
|
+
def placement_group_externally_managed(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
2122
2121
|
"""
|
|
2123
2122
|
If true, changes to the Linode's assigned Placement Group will be ignored. This is necessary when using this resource in conjunction with the PlacementGroupAssignment resource.
|
|
2124
2123
|
"""
|
|
2125
2124
|
return pulumi.get(self, "placement_group_externally_managed")
|
|
2126
2125
|
|
|
2127
|
-
@property
|
|
2126
|
+
@_builtins.property
|
|
2128
2127
|
@pulumi.getter(name="privateIp")
|
|
2129
|
-
def private_ip(self) -> pulumi.Output[Optional[
|
|
2128
|
+
def private_ip(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
2130
2129
|
"""
|
|
2131
2130
|
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.
|
|
2132
2131
|
"""
|
|
2133
2132
|
return pulumi.get(self, "private_ip")
|
|
2134
2133
|
|
|
2135
|
-
@property
|
|
2134
|
+
@_builtins.property
|
|
2136
2135
|
@pulumi.getter(name="privateIpAddress")
|
|
2137
|
-
def private_ip_address(self) -> pulumi.Output[
|
|
2136
|
+
def private_ip_address(self) -> pulumi.Output[_builtins.str]:
|
|
2138
2137
|
"""
|
|
2139
2138
|
This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.
|
|
2140
2139
|
"""
|
|
2141
2140
|
return pulumi.get(self, "private_ip_address")
|
|
2142
2141
|
|
|
2143
|
-
@property
|
|
2142
|
+
@_builtins.property
|
|
2144
2143
|
@pulumi.getter
|
|
2145
|
-
def region(self) -> pulumi.Output[
|
|
2144
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
2146
2145
|
"""
|
|
2147
2146
|
This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` will trigger a migration of this Linode. Migration operations are typically long-running operations, so the update timeout should be adjusted accordingly.*.
|
|
2148
2147
|
"""
|
|
2149
2148
|
return pulumi.get(self, "region")
|
|
2150
2149
|
|
|
2151
|
-
@property
|
|
2150
|
+
@_builtins.property
|
|
2152
2151
|
@pulumi.getter(name="resizeDisk")
|
|
2153
|
-
def resize_disk(self) -> pulumi.Output[Optional[
|
|
2152
|
+
def resize_disk(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
2154
2153
|
"""
|
|
2155
2154
|
If true, changes in Linode type will attempt to upsize or downsize implicitly created disks. This must be false if explicit disks are defined. *This is an irreversible action as Linode disks cannot be automatically downsized.*
|
|
2156
2155
|
|
|
@@ -2166,17 +2165,17 @@ class Instance(pulumi.CustomResource):
|
|
|
2166
2165
|
"""
|
|
2167
2166
|
return pulumi.get(self, "resize_disk")
|
|
2168
2167
|
|
|
2169
|
-
@property
|
|
2168
|
+
@_builtins.property
|
|
2170
2169
|
@pulumi.getter(name="rootPass")
|
|
2171
|
-
def root_pass(self) -> pulumi.Output[Optional[
|
|
2170
|
+
def root_pass(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2172
2171
|
"""
|
|
2173
2172
|
The password that will be initially assigned to the 'root' user account.
|
|
2174
2173
|
"""
|
|
2175
2174
|
return pulumi.get(self, "root_pass")
|
|
2176
2175
|
|
|
2177
|
-
@property
|
|
2176
|
+
@_builtins.property
|
|
2178
2177
|
@pulumi.getter(name="sharedIpv4s")
|
|
2179
|
-
def shared_ipv4s(self) -> pulumi.Output[Sequence[
|
|
2178
|
+
def shared_ipv4s(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
2180
2179
|
"""
|
|
2181
2180
|
A set of IPv4 addresses to be shared with the Instance. These IP addresses can be both private and public, but must be in the same region as the instance.
|
|
2182
2181
|
|
|
@@ -2186,7 +2185,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2186
2185
|
"""
|
|
2187
2186
|
return pulumi.get(self, "shared_ipv4s")
|
|
2188
2187
|
|
|
2189
|
-
@property
|
|
2188
|
+
@_builtins.property
|
|
2190
2189
|
@pulumi.getter
|
|
2191
2190
|
def specs(self) -> pulumi.Output[Sequence['outputs.InstanceSpec']]:
|
|
2192
2191
|
"""
|
|
@@ -2194,52 +2193,52 @@ class Instance(pulumi.CustomResource):
|
|
|
2194
2193
|
"""
|
|
2195
2194
|
return pulumi.get(self, "specs")
|
|
2196
2195
|
|
|
2197
|
-
@property
|
|
2196
|
+
@_builtins.property
|
|
2198
2197
|
@pulumi.getter(name="stackscriptData")
|
|
2199
|
-
def stackscript_data(self) -> pulumi.Output[Optional[Mapping[str,
|
|
2198
|
+
def stackscript_data(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
2200
2199
|
"""
|
|
2201
2200
|
An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
2202
2201
|
accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
2203
2202
|
"""
|
|
2204
2203
|
return pulumi.get(self, "stackscript_data")
|
|
2205
2204
|
|
|
2206
|
-
@property
|
|
2205
|
+
@_builtins.property
|
|
2207
2206
|
@pulumi.getter(name="stackscriptId")
|
|
2208
|
-
def stackscript_id(self) -> pulumi.Output[Optional[
|
|
2207
|
+
def stackscript_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
2209
2208
|
"""
|
|
2210
2209
|
The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
2211
2210
|
that is compatible with this StackScript.
|
|
2212
2211
|
"""
|
|
2213
2212
|
return pulumi.get(self, "stackscript_id")
|
|
2214
2213
|
|
|
2215
|
-
@property
|
|
2214
|
+
@_builtins.property
|
|
2216
2215
|
@pulumi.getter
|
|
2217
|
-
def status(self) -> pulumi.Output[
|
|
2216
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
2218
2217
|
"""
|
|
2219
2218
|
The status of the instance, indicating the current readiness state. (`running`, `offline`, ...)
|
|
2220
2219
|
"""
|
|
2221
2220
|
return pulumi.get(self, "status")
|
|
2222
2221
|
|
|
2223
|
-
@property
|
|
2222
|
+
@_builtins.property
|
|
2224
2223
|
@pulumi.getter(name="swapSize")
|
|
2225
|
-
def swap_size(self) -> pulumi.Output[
|
|
2224
|
+
def swap_size(self) -> pulumi.Output[_builtins.int]:
|
|
2226
2225
|
"""
|
|
2227
2226
|
When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
2228
2227
|
is used to set the swap disk size for the newly-created Linode.
|
|
2229
2228
|
"""
|
|
2230
2229
|
return pulumi.get(self, "swap_size")
|
|
2231
2230
|
|
|
2232
|
-
@property
|
|
2231
|
+
@_builtins.property
|
|
2233
2232
|
@pulumi.getter
|
|
2234
|
-
def tags(self) -> pulumi.Output[Sequence[
|
|
2233
|
+
def tags(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
2235
2234
|
"""
|
|
2236
2235
|
A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
|
|
2237
2236
|
"""
|
|
2238
2237
|
return pulumi.get(self, "tags")
|
|
2239
2238
|
|
|
2240
|
-
@property
|
|
2239
|
+
@_builtins.property
|
|
2241
2240
|
@pulumi.getter
|
|
2242
|
-
def type(self) -> pulumi.Output[Optional[
|
|
2241
|
+
def type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2243
2242
|
"""
|
|
2244
2243
|
The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
2245
2244
|
|
|
@@ -2247,9 +2246,9 @@ class Instance(pulumi.CustomResource):
|
|
|
2247
2246
|
"""
|
|
2248
2247
|
return pulumi.get(self, "type")
|
|
2249
2248
|
|
|
2250
|
-
@property
|
|
2249
|
+
@_builtins.property
|
|
2251
2250
|
@pulumi.getter(name="watchdogEnabled")
|
|
2252
|
-
def watchdog_enabled(self) -> pulumi.Output[Optional[
|
|
2251
|
+
def watchdog_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
2253
2252
|
"""
|
|
2254
2253
|
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.
|
|
2255
2254
|
"""
|