pulumi-linode 5.2.0a1752905257__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.0a1752905257.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.0a1752905257.dist-info/RECORD +0 -126
- {pulumi_linode-5.2.0a1752905257.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.2.0a1752905257.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/top_level.txt +0 -0
pulumi_linode/networking_ip.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,18 +21,18 @@ __all__ = ['NetworkingIpArgs', 'NetworkingIp']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class NetworkingIpArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
linode_id: Optional[pulumi.Input[
|
|
26
|
-
public: Optional[pulumi.Input[
|
|
27
|
-
region: Optional[pulumi.Input[
|
|
28
|
-
reserved: Optional[pulumi.Input[
|
|
29
|
-
type: Optional[pulumi.Input[
|
|
24
|
+
linode_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
25
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
reserved: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
30
29
|
"""
|
|
31
30
|
The set of arguments for constructing a NetworkingIp resource.
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
31
|
+
:param pulumi.Input[_builtins.int] linode_id: The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
32
|
+
:param pulumi.Input[_builtins.bool] public: Whether the IP address is public. Defaults to true.
|
|
33
|
+
:param pulumi.Input[_builtins.str] region: The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
34
|
+
:param pulumi.Input[_builtins.bool] reserved: Whether the IPv4 address should be reserved.
|
|
35
|
+
:param pulumi.Input[_builtins.str] type: The type of IP address. (ipv4, ipv6, etc.)
|
|
37
36
|
"""
|
|
38
37
|
if linode_id is not None:
|
|
39
38
|
pulumi.set(__self__, "linode_id", linode_id)
|
|
@@ -46,93 +45,93 @@ class NetworkingIpArgs:
|
|
|
46
45
|
if type is not None:
|
|
47
46
|
pulumi.set(__self__, "type", type)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter(name="linodeId")
|
|
51
|
-
def linode_id(self) -> Optional[pulumi.Input[
|
|
50
|
+
def linode_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
52
51
|
"""
|
|
53
52
|
The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "linode_id")
|
|
56
55
|
|
|
57
56
|
@linode_id.setter
|
|
58
|
-
def linode_id(self, value: Optional[pulumi.Input[
|
|
57
|
+
def linode_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
59
58
|
pulumi.set(self, "linode_id", value)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def public(self) -> Optional[pulumi.Input[
|
|
62
|
+
def public(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
64
63
|
"""
|
|
65
64
|
Whether the IP address is public. Defaults to true.
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "public")
|
|
68
67
|
|
|
69
68
|
@public.setter
|
|
70
|
-
def public(self, value: Optional[pulumi.Input[
|
|
69
|
+
def public(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
71
70
|
pulumi.set(self, "public", value)
|
|
72
71
|
|
|
73
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
74
73
|
@pulumi.getter
|
|
75
|
-
def region(self) -> Optional[pulumi.Input[
|
|
74
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
76
75
|
"""
|
|
77
76
|
The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "region")
|
|
80
79
|
|
|
81
80
|
@region.setter
|
|
82
|
-
def region(self, value: Optional[pulumi.Input[
|
|
81
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
82
|
pulumi.set(self, "region", value)
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter
|
|
87
|
-
def reserved(self) -> Optional[pulumi.Input[
|
|
86
|
+
def reserved(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
88
87
|
"""
|
|
89
88
|
Whether the IPv4 address should be reserved.
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "reserved")
|
|
92
91
|
|
|
93
92
|
@reserved.setter
|
|
94
|
-
def reserved(self, value: Optional[pulumi.Input[
|
|
93
|
+
def reserved(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
95
94
|
pulumi.set(self, "reserved", value)
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter
|
|
99
|
-
def type(self) -> Optional[pulumi.Input[
|
|
98
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
100
99
|
"""
|
|
101
100
|
The type of IP address. (ipv4, ipv6, etc.)
|
|
102
101
|
"""
|
|
103
102
|
return pulumi.get(self, "type")
|
|
104
103
|
|
|
105
104
|
@type.setter
|
|
106
|
-
def type(self, value: Optional[pulumi.Input[
|
|
105
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
107
106
|
pulumi.set(self, "type", value)
|
|
108
107
|
|
|
109
108
|
|
|
110
109
|
@pulumi.input_type
|
|
111
110
|
class _NetworkingIpState:
|
|
112
111
|
def __init__(__self__, *,
|
|
113
|
-
address: Optional[pulumi.Input[
|
|
114
|
-
gateway: Optional[pulumi.Input[
|
|
115
|
-
linode_id: Optional[pulumi.Input[
|
|
116
|
-
prefix: Optional[pulumi.Input[
|
|
117
|
-
public: Optional[pulumi.Input[
|
|
118
|
-
rdns: Optional[pulumi.Input[
|
|
119
|
-
region: Optional[pulumi.Input[
|
|
120
|
-
reserved: Optional[pulumi.Input[
|
|
121
|
-
subnet_mask: Optional[pulumi.Input[
|
|
122
|
-
type: Optional[pulumi.Input[
|
|
112
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
113
|
+
gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
linode_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
115
|
+
prefix: Optional[pulumi.Input[_builtins.int]] = None,
|
|
116
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
117
|
+
rdns: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
reserved: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
120
|
+
subnet_mask: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
122
|
vpc_nat11: Optional[pulumi.Input['NetworkingIpVpcNat11Args']] = None):
|
|
124
123
|
"""
|
|
125
124
|
Input properties used for looking up and filtering NetworkingIp resources.
|
|
126
|
-
:param pulumi.Input[
|
|
127
|
-
:param pulumi.Input[
|
|
128
|
-
:param pulumi.Input[
|
|
129
|
-
:param pulumi.Input[
|
|
130
|
-
:param pulumi.Input[
|
|
131
|
-
:param pulumi.Input[
|
|
132
|
-
:param pulumi.Input[
|
|
133
|
-
:param pulumi.Input[
|
|
134
|
-
:param pulumi.Input[
|
|
135
|
-
:param pulumi.Input[
|
|
125
|
+
:param pulumi.Input[_builtins.str] address: The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
|
|
126
|
+
:param pulumi.Input[_builtins.str] gateway: The default gateway for this address.
|
|
127
|
+
:param pulumi.Input[_builtins.int] linode_id: The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
128
|
+
:param pulumi.Input[_builtins.int] prefix: The number of bits set in the subnet mask.
|
|
129
|
+
:param pulumi.Input[_builtins.bool] public: Whether the IP address is public. Defaults to true.
|
|
130
|
+
:param pulumi.Input[_builtins.str] rdns: The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
|
|
131
|
+
:param pulumi.Input[_builtins.str] region: The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
132
|
+
:param pulumi.Input[_builtins.bool] reserved: Whether the IPv4 address should be reserved.
|
|
133
|
+
:param pulumi.Input[_builtins.str] subnet_mask: The mask that separates host bits from network bits for this address.
|
|
134
|
+
:param pulumi.Input[_builtins.str] type: The type of IP address. (ipv4, ipv6, etc.)
|
|
136
135
|
:param pulumi.Input['NetworkingIpVpcNat11Args'] vpc_nat11: Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
|
|
137
136
|
"""
|
|
138
137
|
if address is not None:
|
|
@@ -158,127 +157,127 @@ class _NetworkingIpState:
|
|
|
158
157
|
if vpc_nat11 is not None:
|
|
159
158
|
pulumi.set(__self__, "vpc_nat11", vpc_nat11)
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter
|
|
163
|
-
def address(self) -> Optional[pulumi.Input[
|
|
162
|
+
def address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
164
163
|
"""
|
|
165
164
|
The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
|
|
166
165
|
"""
|
|
167
166
|
return pulumi.get(self, "address")
|
|
168
167
|
|
|
169
168
|
@address.setter
|
|
170
|
-
def address(self, value: Optional[pulumi.Input[
|
|
169
|
+
def address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
171
170
|
pulumi.set(self, "address", value)
|
|
172
171
|
|
|
173
|
-
@property
|
|
172
|
+
@_builtins.property
|
|
174
173
|
@pulumi.getter
|
|
175
|
-
def gateway(self) -> Optional[pulumi.Input[
|
|
174
|
+
def gateway(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
176
175
|
"""
|
|
177
176
|
The default gateway for this address.
|
|
178
177
|
"""
|
|
179
178
|
return pulumi.get(self, "gateway")
|
|
180
179
|
|
|
181
180
|
@gateway.setter
|
|
182
|
-
def gateway(self, value: Optional[pulumi.Input[
|
|
181
|
+
def gateway(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
183
182
|
pulumi.set(self, "gateway", value)
|
|
184
183
|
|
|
185
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
186
185
|
@pulumi.getter(name="linodeId")
|
|
187
|
-
def linode_id(self) -> Optional[pulumi.Input[
|
|
186
|
+
def linode_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
188
187
|
"""
|
|
189
188
|
The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
190
189
|
"""
|
|
191
190
|
return pulumi.get(self, "linode_id")
|
|
192
191
|
|
|
193
192
|
@linode_id.setter
|
|
194
|
-
def linode_id(self, value: Optional[pulumi.Input[
|
|
193
|
+
def linode_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
195
194
|
pulumi.set(self, "linode_id", value)
|
|
196
195
|
|
|
197
|
-
@property
|
|
196
|
+
@_builtins.property
|
|
198
197
|
@pulumi.getter
|
|
199
|
-
def prefix(self) -> Optional[pulumi.Input[
|
|
198
|
+
def prefix(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
200
199
|
"""
|
|
201
200
|
The number of bits set in the subnet mask.
|
|
202
201
|
"""
|
|
203
202
|
return pulumi.get(self, "prefix")
|
|
204
203
|
|
|
205
204
|
@prefix.setter
|
|
206
|
-
def prefix(self, value: Optional[pulumi.Input[
|
|
205
|
+
def prefix(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
207
206
|
pulumi.set(self, "prefix", value)
|
|
208
207
|
|
|
209
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
210
209
|
@pulumi.getter
|
|
211
|
-
def public(self) -> Optional[pulumi.Input[
|
|
210
|
+
def public(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
212
211
|
"""
|
|
213
212
|
Whether the IP address is public. Defaults to true.
|
|
214
213
|
"""
|
|
215
214
|
return pulumi.get(self, "public")
|
|
216
215
|
|
|
217
216
|
@public.setter
|
|
218
|
-
def public(self, value: Optional[pulumi.Input[
|
|
217
|
+
def public(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
219
218
|
pulumi.set(self, "public", value)
|
|
220
219
|
|
|
221
|
-
@property
|
|
220
|
+
@_builtins.property
|
|
222
221
|
@pulumi.getter
|
|
223
|
-
def rdns(self) -> Optional[pulumi.Input[
|
|
222
|
+
def rdns(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
224
223
|
"""
|
|
225
224
|
The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
|
|
226
225
|
"""
|
|
227
226
|
return pulumi.get(self, "rdns")
|
|
228
227
|
|
|
229
228
|
@rdns.setter
|
|
230
|
-
def rdns(self, value: Optional[pulumi.Input[
|
|
229
|
+
def rdns(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
231
230
|
pulumi.set(self, "rdns", value)
|
|
232
231
|
|
|
233
|
-
@property
|
|
232
|
+
@_builtins.property
|
|
234
233
|
@pulumi.getter
|
|
235
|
-
def region(self) -> Optional[pulumi.Input[
|
|
234
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
236
235
|
"""
|
|
237
236
|
The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
238
237
|
"""
|
|
239
238
|
return pulumi.get(self, "region")
|
|
240
239
|
|
|
241
240
|
@region.setter
|
|
242
|
-
def region(self, value: Optional[pulumi.Input[
|
|
241
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
243
242
|
pulumi.set(self, "region", value)
|
|
244
243
|
|
|
245
|
-
@property
|
|
244
|
+
@_builtins.property
|
|
246
245
|
@pulumi.getter
|
|
247
|
-
def reserved(self) -> Optional[pulumi.Input[
|
|
246
|
+
def reserved(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
248
247
|
"""
|
|
249
248
|
Whether the IPv4 address should be reserved.
|
|
250
249
|
"""
|
|
251
250
|
return pulumi.get(self, "reserved")
|
|
252
251
|
|
|
253
252
|
@reserved.setter
|
|
254
|
-
def reserved(self, value: Optional[pulumi.Input[
|
|
253
|
+
def reserved(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
255
254
|
pulumi.set(self, "reserved", value)
|
|
256
255
|
|
|
257
|
-
@property
|
|
256
|
+
@_builtins.property
|
|
258
257
|
@pulumi.getter(name="subnetMask")
|
|
259
|
-
def subnet_mask(self) -> Optional[pulumi.Input[
|
|
258
|
+
def subnet_mask(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
260
259
|
"""
|
|
261
260
|
The mask that separates host bits from network bits for this address.
|
|
262
261
|
"""
|
|
263
262
|
return pulumi.get(self, "subnet_mask")
|
|
264
263
|
|
|
265
264
|
@subnet_mask.setter
|
|
266
|
-
def subnet_mask(self, value: Optional[pulumi.Input[
|
|
265
|
+
def subnet_mask(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
267
266
|
pulumi.set(self, "subnet_mask", value)
|
|
268
267
|
|
|
269
|
-
@property
|
|
268
|
+
@_builtins.property
|
|
270
269
|
@pulumi.getter
|
|
271
|
-
def type(self) -> Optional[pulumi.Input[
|
|
270
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
272
271
|
"""
|
|
273
272
|
The type of IP address. (ipv4, ipv6, etc.)
|
|
274
273
|
"""
|
|
275
274
|
return pulumi.get(self, "type")
|
|
276
275
|
|
|
277
276
|
@type.setter
|
|
278
|
-
def type(self, value: Optional[pulumi.Input[
|
|
277
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
279
278
|
pulumi.set(self, "type", value)
|
|
280
279
|
|
|
281
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
282
281
|
@pulumi.getter(name="vpcNat11")
|
|
283
282
|
def vpc_nat11(self) -> Optional[pulumi.Input['NetworkingIpVpcNat11Args']]:
|
|
284
283
|
"""
|
|
@@ -297,11 +296,11 @@ class NetworkingIp(pulumi.CustomResource):
|
|
|
297
296
|
def __init__(__self__,
|
|
298
297
|
resource_name: str,
|
|
299
298
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
300
|
-
linode_id: Optional[pulumi.Input[
|
|
301
|
-
public: Optional[pulumi.Input[
|
|
302
|
-
region: Optional[pulumi.Input[
|
|
303
|
-
reserved: Optional[pulumi.Input[
|
|
304
|
-
type: Optional[pulumi.Input[
|
|
299
|
+
linode_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
300
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
301
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
reserved: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
303
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
304
|
__props__=None):
|
|
306
305
|
"""
|
|
307
306
|
Manages allocation of reserved IPv4 address in a region and optionally assigning the reserved address to a Linode instance.
|
|
@@ -330,11 +329,11 @@ class NetworkingIp(pulumi.CustomResource):
|
|
|
330
329
|
|
|
331
330
|
:param str resource_name: The name of the resource.
|
|
332
331
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
333
|
-
:param pulumi.Input[
|
|
334
|
-
:param pulumi.Input[
|
|
335
|
-
:param pulumi.Input[
|
|
336
|
-
:param pulumi.Input[
|
|
337
|
-
:param pulumi.Input[
|
|
332
|
+
:param pulumi.Input[_builtins.int] linode_id: The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
333
|
+
:param pulumi.Input[_builtins.bool] public: Whether the IP address is public. Defaults to true.
|
|
334
|
+
:param pulumi.Input[_builtins.str] region: The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
335
|
+
:param pulumi.Input[_builtins.bool] reserved: Whether the IPv4 address should be reserved.
|
|
336
|
+
:param pulumi.Input[_builtins.str] type: The type of IP address. (ipv4, ipv6, etc.)
|
|
338
337
|
"""
|
|
339
338
|
...
|
|
340
339
|
@overload
|
|
@@ -382,11 +381,11 @@ class NetworkingIp(pulumi.CustomResource):
|
|
|
382
381
|
def _internal_init(__self__,
|
|
383
382
|
resource_name: str,
|
|
384
383
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
385
|
-
linode_id: Optional[pulumi.Input[
|
|
386
|
-
public: Optional[pulumi.Input[
|
|
387
|
-
region: Optional[pulumi.Input[
|
|
388
|
-
reserved: Optional[pulumi.Input[
|
|
389
|
-
type: Optional[pulumi.Input[
|
|
384
|
+
linode_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
385
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
386
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
387
|
+
reserved: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
388
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
390
389
|
__props__=None):
|
|
391
390
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
392
391
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -417,16 +416,16 @@ class NetworkingIp(pulumi.CustomResource):
|
|
|
417
416
|
def get(resource_name: str,
|
|
418
417
|
id: pulumi.Input[str],
|
|
419
418
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
420
|
-
address: Optional[pulumi.Input[
|
|
421
|
-
gateway: Optional[pulumi.Input[
|
|
422
|
-
linode_id: Optional[pulumi.Input[
|
|
423
|
-
prefix: Optional[pulumi.Input[
|
|
424
|
-
public: Optional[pulumi.Input[
|
|
425
|
-
rdns: Optional[pulumi.Input[
|
|
426
|
-
region: Optional[pulumi.Input[
|
|
427
|
-
reserved: Optional[pulumi.Input[
|
|
428
|
-
subnet_mask: Optional[pulumi.Input[
|
|
429
|
-
type: Optional[pulumi.Input[
|
|
419
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
420
|
+
gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
|
421
|
+
linode_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
422
|
+
prefix: Optional[pulumi.Input[_builtins.int]] = None,
|
|
423
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
424
|
+
rdns: Optional[pulumi.Input[_builtins.str]] = None,
|
|
425
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
426
|
+
reserved: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
427
|
+
subnet_mask: Optional[pulumi.Input[_builtins.str]] = None,
|
|
428
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
430
429
|
vpc_nat11: Optional[pulumi.Input[Union['NetworkingIpVpcNat11Args', 'NetworkingIpVpcNat11ArgsDict']]] = None) -> 'NetworkingIp':
|
|
431
430
|
"""
|
|
432
431
|
Get an existing NetworkingIp resource's state with the given name, id, and optional extra
|
|
@@ -435,16 +434,16 @@ class NetworkingIp(pulumi.CustomResource):
|
|
|
435
434
|
:param str resource_name: The unique name of the resulting resource.
|
|
436
435
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
437
436
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
438
|
-
:param pulumi.Input[
|
|
439
|
-
:param pulumi.Input[
|
|
440
|
-
:param pulumi.Input[
|
|
441
|
-
:param pulumi.Input[
|
|
442
|
-
:param pulumi.Input[
|
|
443
|
-
:param pulumi.Input[
|
|
444
|
-
:param pulumi.Input[
|
|
445
|
-
:param pulumi.Input[
|
|
446
|
-
:param pulumi.Input[
|
|
447
|
-
:param pulumi.Input[
|
|
437
|
+
:param pulumi.Input[_builtins.str] address: The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
|
|
438
|
+
:param pulumi.Input[_builtins.str] gateway: The default gateway for this address.
|
|
439
|
+
:param pulumi.Input[_builtins.int] linode_id: The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
440
|
+
:param pulumi.Input[_builtins.int] prefix: The number of bits set in the subnet mask.
|
|
441
|
+
:param pulumi.Input[_builtins.bool] public: Whether the IP address is public. Defaults to true.
|
|
442
|
+
:param pulumi.Input[_builtins.str] rdns: The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
|
|
443
|
+
:param pulumi.Input[_builtins.str] region: The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
444
|
+
:param pulumi.Input[_builtins.bool] reserved: Whether the IPv4 address should be reserved.
|
|
445
|
+
:param pulumi.Input[_builtins.str] subnet_mask: The mask that separates host bits from network bits for this address.
|
|
446
|
+
:param pulumi.Input[_builtins.str] type: The type of IP address. (ipv4, ipv6, etc.)
|
|
448
447
|
:param pulumi.Input[Union['NetworkingIpVpcNat11Args', 'NetworkingIpVpcNat11ArgsDict']] vpc_nat11: Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
|
|
449
448
|
"""
|
|
450
449
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -464,87 +463,87 @@ class NetworkingIp(pulumi.CustomResource):
|
|
|
464
463
|
__props__.__dict__["vpc_nat11"] = vpc_nat11
|
|
465
464
|
return NetworkingIp(resource_name, opts=opts, __props__=__props__)
|
|
466
465
|
|
|
467
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
468
467
|
@pulumi.getter
|
|
469
|
-
def address(self) -> pulumi.Output[
|
|
468
|
+
def address(self) -> pulumi.Output[_builtins.str]:
|
|
470
469
|
"""
|
|
471
470
|
The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
|
|
472
471
|
"""
|
|
473
472
|
return pulumi.get(self, "address")
|
|
474
473
|
|
|
475
|
-
@property
|
|
474
|
+
@_builtins.property
|
|
476
475
|
@pulumi.getter
|
|
477
|
-
def gateway(self) -> pulumi.Output[
|
|
476
|
+
def gateway(self) -> pulumi.Output[_builtins.str]:
|
|
478
477
|
"""
|
|
479
478
|
The default gateway for this address.
|
|
480
479
|
"""
|
|
481
480
|
return pulumi.get(self, "gateway")
|
|
482
481
|
|
|
483
|
-
@property
|
|
482
|
+
@_builtins.property
|
|
484
483
|
@pulumi.getter(name="linodeId")
|
|
485
|
-
def linode_id(self) -> pulumi.Output[
|
|
484
|
+
def linode_id(self) -> pulumi.Output[_builtins.int]:
|
|
486
485
|
"""
|
|
487
486
|
The ID of the Linode to which the IP address will be assigned. Updating this field on an ephemeral IP will trigger a recreation. Conflicts with `region`.
|
|
488
487
|
"""
|
|
489
488
|
return pulumi.get(self, "linode_id")
|
|
490
489
|
|
|
491
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
492
491
|
@pulumi.getter
|
|
493
|
-
def prefix(self) -> pulumi.Output[
|
|
492
|
+
def prefix(self) -> pulumi.Output[_builtins.int]:
|
|
494
493
|
"""
|
|
495
494
|
The number of bits set in the subnet mask.
|
|
496
495
|
"""
|
|
497
496
|
return pulumi.get(self, "prefix")
|
|
498
497
|
|
|
499
|
-
@property
|
|
498
|
+
@_builtins.property
|
|
500
499
|
@pulumi.getter
|
|
501
|
-
def public(self) -> pulumi.Output[
|
|
500
|
+
def public(self) -> pulumi.Output[_builtins.bool]:
|
|
502
501
|
"""
|
|
503
502
|
Whether the IP address is public. Defaults to true.
|
|
504
503
|
"""
|
|
505
504
|
return pulumi.get(self, "public")
|
|
506
505
|
|
|
507
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
508
507
|
@pulumi.getter
|
|
509
|
-
def rdns(self) -> pulumi.Output[
|
|
508
|
+
def rdns(self) -> pulumi.Output[_builtins.str]:
|
|
510
509
|
"""
|
|
511
510
|
The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
|
|
512
511
|
"""
|
|
513
512
|
return pulumi.get(self, "rdns")
|
|
514
513
|
|
|
515
|
-
@property
|
|
514
|
+
@_builtins.property
|
|
516
515
|
@pulumi.getter
|
|
517
|
-
def region(self) -> pulumi.Output[
|
|
516
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
518
517
|
"""
|
|
519
518
|
The region for the reserved IPv4 address. Required when reserved is true and linode_id is not set.
|
|
520
519
|
"""
|
|
521
520
|
return pulumi.get(self, "region")
|
|
522
521
|
|
|
523
|
-
@property
|
|
522
|
+
@_builtins.property
|
|
524
523
|
@pulumi.getter
|
|
525
|
-
def reserved(self) -> pulumi.Output[
|
|
524
|
+
def reserved(self) -> pulumi.Output[_builtins.bool]:
|
|
526
525
|
"""
|
|
527
526
|
Whether the IPv4 address should be reserved.
|
|
528
527
|
"""
|
|
529
528
|
return pulumi.get(self, "reserved")
|
|
530
529
|
|
|
531
|
-
@property
|
|
530
|
+
@_builtins.property
|
|
532
531
|
@pulumi.getter(name="subnetMask")
|
|
533
|
-
def subnet_mask(self) -> pulumi.Output[
|
|
532
|
+
def subnet_mask(self) -> pulumi.Output[_builtins.str]:
|
|
534
533
|
"""
|
|
535
534
|
The mask that separates host bits from network bits for this address.
|
|
536
535
|
"""
|
|
537
536
|
return pulumi.get(self, "subnet_mask")
|
|
538
537
|
|
|
539
|
-
@property
|
|
538
|
+
@_builtins.property
|
|
540
539
|
@pulumi.getter
|
|
541
|
-
def type(self) -> pulumi.Output[
|
|
540
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
|
542
541
|
"""
|
|
543
542
|
The type of IP address. (ipv4, ipv6, etc.)
|
|
544
543
|
"""
|
|
545
544
|
return pulumi.get(self, "type")
|
|
546
545
|
|
|
547
|
-
@property
|
|
546
|
+
@_builtins.property
|
|
548
547
|
@pulumi.getter(name="vpcNat11")
|
|
549
548
|
def vpc_nat11(self) -> pulumi.Output['outputs.NetworkingIpVpcNat11']:
|
|
550
549
|
"""
|