pulumi-linode 5.1.0a1752810302__py3-none-any.whl → 5.1.1a1753933550__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.1.0a1752810302.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/METADATA +1 -1
- pulumi_linode-5.1.1a1753933550.dist-info/RECORD +126 -0
- pulumi_linode-5.1.0a1752810302.dist-info/RECORD +0 -126
- {pulumi_linode-5.1.0a1752810302.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.1.0a1752810302.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/top_level.txt +0 -0
pulumi_linode/vpc.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
|
|
@@ -20,72 +19,72 @@ __all__ = ['VpcArgs', 'Vpc']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class VpcArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
label: pulumi.Input[
|
|
24
|
-
region: pulumi.Input[
|
|
25
|
-
description: Optional[pulumi.Input[
|
|
22
|
+
label: pulumi.Input[_builtins.str],
|
|
23
|
+
region: pulumi.Input[_builtins.str],
|
|
24
|
+
description: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
25
|
"""
|
|
27
26
|
The set of arguments for constructing a Vpc resource.
|
|
28
|
-
:param pulumi.Input[
|
|
29
|
-
:param pulumi.Input[
|
|
30
|
-
:param pulumi.Input[
|
|
27
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
28
|
+
:param pulumi.Input[_builtins.str] region: The region of the VPC.
|
|
29
|
+
:param pulumi.Input[_builtins.str] description: The user-defined description of this VPC.
|
|
31
30
|
"""
|
|
32
31
|
pulumi.set(__self__, "label", label)
|
|
33
32
|
pulumi.set(__self__, "region", region)
|
|
34
33
|
if description is not None:
|
|
35
34
|
pulumi.set(__self__, "description", description)
|
|
36
35
|
|
|
37
|
-
@property
|
|
36
|
+
@_builtins.property
|
|
38
37
|
@pulumi.getter
|
|
39
|
-
def label(self) -> pulumi.Input[
|
|
38
|
+
def label(self) -> pulumi.Input[_builtins.str]:
|
|
40
39
|
"""
|
|
41
40
|
The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
42
41
|
"""
|
|
43
42
|
return pulumi.get(self, "label")
|
|
44
43
|
|
|
45
44
|
@label.setter
|
|
46
|
-
def label(self, value: pulumi.Input[
|
|
45
|
+
def label(self, value: pulumi.Input[_builtins.str]):
|
|
47
46
|
pulumi.set(self, "label", value)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def region(self) -> pulumi.Input[
|
|
50
|
+
def region(self) -> pulumi.Input[_builtins.str]:
|
|
52
51
|
"""
|
|
53
52
|
The region of the VPC.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "region")
|
|
56
55
|
|
|
57
56
|
@region.setter
|
|
58
|
-
def region(self, value: pulumi.Input[
|
|
57
|
+
def region(self, value: pulumi.Input[_builtins.str]):
|
|
59
58
|
pulumi.set(self, "region", value)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def description(self) -> Optional[pulumi.Input[
|
|
62
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
64
63
|
"""
|
|
65
64
|
The user-defined description of this VPC.
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "description")
|
|
68
67
|
|
|
69
68
|
@description.setter
|
|
70
|
-
def description(self, value: Optional[pulumi.Input[
|
|
69
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
71
70
|
pulumi.set(self, "description", value)
|
|
72
71
|
|
|
73
72
|
|
|
74
73
|
@pulumi.input_type
|
|
75
74
|
class _VpcState:
|
|
76
75
|
def __init__(__self__, *,
|
|
77
|
-
created: Optional[pulumi.Input[
|
|
78
|
-
description: Optional[pulumi.Input[
|
|
79
|
-
label: Optional[pulumi.Input[
|
|
80
|
-
region: Optional[pulumi.Input[
|
|
81
|
-
updated: Optional[pulumi.Input[
|
|
76
|
+
created: Optional[pulumi.Input[_builtins.str]] = None,
|
|
77
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
78
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
|
+
updated: Optional[pulumi.Input[_builtins.str]] = None):
|
|
82
81
|
"""
|
|
83
82
|
Input properties used for looking up and filtering Vpc resources.
|
|
84
|
-
:param pulumi.Input[
|
|
85
|
-
:param pulumi.Input[
|
|
86
|
-
:param pulumi.Input[
|
|
87
|
-
:param pulumi.Input[
|
|
88
|
-
:param pulumi.Input[
|
|
83
|
+
:param pulumi.Input[_builtins.str] created: The date and time when the VPC was created.
|
|
84
|
+
:param pulumi.Input[_builtins.str] description: The user-defined description of this VPC.
|
|
85
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
86
|
+
:param pulumi.Input[_builtins.str] region: The region of the VPC.
|
|
87
|
+
:param pulumi.Input[_builtins.str] updated: The date and time when the VPC was last updated.
|
|
89
88
|
"""
|
|
90
89
|
if created is not None:
|
|
91
90
|
pulumi.set(__self__, "created", created)
|
|
@@ -98,64 +97,64 @@ class _VpcState:
|
|
|
98
97
|
if updated is not None:
|
|
99
98
|
pulumi.set(__self__, "updated", updated)
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter
|
|
103
|
-
def created(self) -> Optional[pulumi.Input[
|
|
102
|
+
def created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
104
103
|
"""
|
|
105
104
|
The date and time when the VPC was created.
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "created")
|
|
108
107
|
|
|
109
108
|
@created.setter
|
|
110
|
-
def created(self, value: Optional[pulumi.Input[
|
|
109
|
+
def created(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
111
110
|
pulumi.set(self, "created", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter
|
|
115
|
-
def description(self) -> Optional[pulumi.Input[
|
|
114
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
116
115
|
"""
|
|
117
116
|
The user-defined description of this VPC.
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "description")
|
|
120
119
|
|
|
121
120
|
@description.setter
|
|
122
|
-
def description(self, value: Optional[pulumi.Input[
|
|
121
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
123
122
|
pulumi.set(self, "description", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter
|
|
127
|
-
def label(self) -> Optional[pulumi.Input[
|
|
126
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
127
|
"""
|
|
129
128
|
The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "label")
|
|
132
131
|
|
|
133
132
|
@label.setter
|
|
134
|
-
def label(self, value: Optional[pulumi.Input[
|
|
133
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
134
|
pulumi.set(self, "label", value)
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter
|
|
139
|
-
def region(self) -> Optional[pulumi.Input[
|
|
138
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
140
139
|
"""
|
|
141
140
|
The region of the VPC.
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "region")
|
|
144
143
|
|
|
145
144
|
@region.setter
|
|
146
|
-
def region(self, value: Optional[pulumi.Input[
|
|
145
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
147
146
|
pulumi.set(self, "region", value)
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter
|
|
151
|
-
def updated(self) -> Optional[pulumi.Input[
|
|
150
|
+
def updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
151
|
"""
|
|
153
152
|
The date and time when the VPC was last updated.
|
|
154
153
|
"""
|
|
155
154
|
return pulumi.get(self, "updated")
|
|
156
155
|
|
|
157
156
|
@updated.setter
|
|
158
|
-
def updated(self, value: Optional[pulumi.Input[
|
|
157
|
+
def updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
159
158
|
pulumi.set(self, "updated", value)
|
|
160
159
|
|
|
161
160
|
|
|
@@ -165,9 +164,9 @@ class Vpc(pulumi.CustomResource):
|
|
|
165
164
|
def __init__(__self__,
|
|
166
165
|
resource_name: str,
|
|
167
166
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
168
|
-
description: Optional[pulumi.Input[
|
|
169
|
-
label: Optional[pulumi.Input[
|
|
170
|
-
region: Optional[pulumi.Input[
|
|
167
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
171
170
|
__props__=None):
|
|
172
171
|
"""
|
|
173
172
|
Manages a Linode VPC.
|
|
@@ -191,9 +190,9 @@ class Vpc(pulumi.CustomResource):
|
|
|
191
190
|
|
|
192
191
|
:param str resource_name: The name of the resource.
|
|
193
192
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
194
|
-
:param pulumi.Input[
|
|
195
|
-
:param pulumi.Input[
|
|
196
|
-
:param pulumi.Input[
|
|
193
|
+
:param pulumi.Input[_builtins.str] description: The user-defined description of this VPC.
|
|
194
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
195
|
+
:param pulumi.Input[_builtins.str] region: The region of the VPC.
|
|
197
196
|
"""
|
|
198
197
|
...
|
|
199
198
|
@overload
|
|
@@ -236,9 +235,9 @@ class Vpc(pulumi.CustomResource):
|
|
|
236
235
|
def _internal_init(__self__,
|
|
237
236
|
resource_name: str,
|
|
238
237
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
239
|
-
description: Optional[pulumi.Input[
|
|
240
|
-
label: Optional[pulumi.Input[
|
|
241
|
-
region: Optional[pulumi.Input[
|
|
238
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
239
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
242
241
|
__props__=None):
|
|
243
242
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
244
243
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -267,11 +266,11 @@ class Vpc(pulumi.CustomResource):
|
|
|
267
266
|
def get(resource_name: str,
|
|
268
267
|
id: pulumi.Input[str],
|
|
269
268
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
270
|
-
created: Optional[pulumi.Input[
|
|
271
|
-
description: Optional[pulumi.Input[
|
|
272
|
-
label: Optional[pulumi.Input[
|
|
273
|
-
region: Optional[pulumi.Input[
|
|
274
|
-
updated: Optional[pulumi.Input[
|
|
269
|
+
created: Optional[pulumi.Input[_builtins.str]] = None,
|
|
270
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
273
|
+
updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'Vpc':
|
|
275
274
|
"""
|
|
276
275
|
Get an existing Vpc resource's state with the given name, id, and optional extra
|
|
277
276
|
properties used to qualify the lookup.
|
|
@@ -279,11 +278,11 @@ class Vpc(pulumi.CustomResource):
|
|
|
279
278
|
:param str resource_name: The unique name of the resulting resource.
|
|
280
279
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
281
280
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
282
|
-
:param pulumi.Input[
|
|
283
|
-
:param pulumi.Input[
|
|
284
|
-
:param pulumi.Input[
|
|
285
|
-
:param pulumi.Input[
|
|
286
|
-
:param pulumi.Input[
|
|
281
|
+
:param pulumi.Input[_builtins.str] created: The date and time when the VPC was created.
|
|
282
|
+
:param pulumi.Input[_builtins.str] description: The user-defined description of this VPC.
|
|
283
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
284
|
+
:param pulumi.Input[_builtins.str] region: The region of the VPC.
|
|
285
|
+
:param pulumi.Input[_builtins.str] updated: The date and time when the VPC was last updated.
|
|
287
286
|
"""
|
|
288
287
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
289
288
|
|
|
@@ -296,41 +295,41 @@ class Vpc(pulumi.CustomResource):
|
|
|
296
295
|
__props__.__dict__["updated"] = updated
|
|
297
296
|
return Vpc(resource_name, opts=opts, __props__=__props__)
|
|
298
297
|
|
|
299
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
300
299
|
@pulumi.getter
|
|
301
|
-
def created(self) -> pulumi.Output[
|
|
300
|
+
def created(self) -> pulumi.Output[_builtins.str]:
|
|
302
301
|
"""
|
|
303
302
|
The date and time when the VPC was created.
|
|
304
303
|
"""
|
|
305
304
|
return pulumi.get(self, "created")
|
|
306
305
|
|
|
307
|
-
@property
|
|
306
|
+
@_builtins.property
|
|
308
307
|
@pulumi.getter
|
|
309
|
-
def description(self) -> pulumi.Output[
|
|
308
|
+
def description(self) -> pulumi.Output[_builtins.str]:
|
|
310
309
|
"""
|
|
311
310
|
The user-defined description of this VPC.
|
|
312
311
|
"""
|
|
313
312
|
return pulumi.get(self, "description")
|
|
314
313
|
|
|
315
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
316
315
|
@pulumi.getter
|
|
317
|
-
def label(self) -> pulumi.Output[
|
|
316
|
+
def label(self) -> pulumi.Output[_builtins.str]:
|
|
318
317
|
"""
|
|
319
318
|
The label of the VPC. This field can only contain ASCII letters, digits and dashes.
|
|
320
319
|
"""
|
|
321
320
|
return pulumi.get(self, "label")
|
|
322
321
|
|
|
323
|
-
@property
|
|
322
|
+
@_builtins.property
|
|
324
323
|
@pulumi.getter
|
|
325
|
-
def region(self) -> pulumi.Output[
|
|
324
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
326
325
|
"""
|
|
327
326
|
The region of the VPC.
|
|
328
327
|
"""
|
|
329
328
|
return pulumi.get(self, "region")
|
|
330
329
|
|
|
331
|
-
@property
|
|
330
|
+
@_builtins.property
|
|
332
331
|
@pulumi.getter
|
|
333
|
-
def updated(self) -> pulumi.Output[
|
|
332
|
+
def updated(self) -> pulumi.Output[_builtins.str]:
|
|
334
333
|
"""
|
|
335
334
|
The date and time when the VPC was last updated.
|
|
336
335
|
"""
|
pulumi_linode/vpc_subnet.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__ = ['VpcSubnetArgs', 'VpcSubnet']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class VpcSubnetArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
ipv4: pulumi.Input[
|
|
26
|
-
label: pulumi.Input[
|
|
27
|
-
vpc_id: pulumi.Input[
|
|
24
|
+
ipv4: pulumi.Input[_builtins.str],
|
|
25
|
+
label: pulumi.Input[_builtins.str],
|
|
26
|
+
vpc_id: pulumi.Input[_builtins.int]):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a VpcSubnet resource.
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] ipv4: The IPv4 range of this subnet in CIDR format.
|
|
30
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
31
|
+
:param pulumi.Input[_builtins.int] vpc_id: The id of the parent VPC for this VPC Subnet.
|
|
33
32
|
"""
|
|
34
33
|
pulumi.set(__self__, "ipv4", ipv4)
|
|
35
34
|
pulumi.set(__self__, "label", label)
|
|
36
35
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def ipv4(self) -> pulumi.Input[
|
|
39
|
+
def ipv4(self) -> pulumi.Input[_builtins.str]:
|
|
41
40
|
"""
|
|
42
41
|
The IPv4 range of this subnet in CIDR format.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "ipv4")
|
|
45
44
|
|
|
46
45
|
@ipv4.setter
|
|
47
|
-
def ipv4(self, value: pulumi.Input[
|
|
46
|
+
def ipv4(self, value: pulumi.Input[_builtins.str]):
|
|
48
47
|
pulumi.set(self, "ipv4", value)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter
|
|
52
|
-
def label(self) -> pulumi.Input[
|
|
51
|
+
def label(self) -> pulumi.Input[_builtins.str]:
|
|
53
52
|
"""
|
|
54
53
|
The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
55
54
|
"""
|
|
56
55
|
return pulumi.get(self, "label")
|
|
57
56
|
|
|
58
57
|
@label.setter
|
|
59
|
-
def label(self, value: pulumi.Input[
|
|
58
|
+
def label(self, value: pulumi.Input[_builtins.str]):
|
|
60
59
|
pulumi.set(self, "label", value)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="vpcId")
|
|
64
|
-
def vpc_id(self) -> pulumi.Input[
|
|
63
|
+
def vpc_id(self) -> pulumi.Input[_builtins.int]:
|
|
65
64
|
"""
|
|
66
65
|
The id of the parent VPC for this VPC Subnet.
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "vpc_id")
|
|
69
68
|
|
|
70
69
|
@vpc_id.setter
|
|
71
|
-
def vpc_id(self, value: pulumi.Input[
|
|
70
|
+
def vpc_id(self, value: pulumi.Input[_builtins.int]):
|
|
72
71
|
pulumi.set(self, "vpc_id", value)
|
|
73
72
|
|
|
74
73
|
|
|
75
74
|
@pulumi.input_type
|
|
76
75
|
class _VpcSubnetState:
|
|
77
76
|
def __init__(__self__, *,
|
|
78
|
-
created: Optional[pulumi.Input[
|
|
79
|
-
ipv4: Optional[pulumi.Input[
|
|
80
|
-
label: Optional[pulumi.Input[
|
|
77
|
+
created: Optional[pulumi.Input[_builtins.str]] = None,
|
|
78
|
+
ipv4: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
81
80
|
linodes: Optional[pulumi.Input[Sequence[pulumi.Input['VpcSubnetLinodeArgs']]]] = None,
|
|
82
|
-
updated: Optional[pulumi.Input[
|
|
83
|
-
vpc_id: Optional[pulumi.Input[
|
|
81
|
+
updated: Optional[pulumi.Input[_builtins.str]] = None,
|
|
82
|
+
vpc_id: Optional[pulumi.Input[_builtins.int]] = None):
|
|
84
83
|
"""
|
|
85
84
|
Input properties used for looking up and filtering VpcSubnet resources.
|
|
86
|
-
:param pulumi.Input[
|
|
87
|
-
:param pulumi.Input[
|
|
88
|
-
:param pulumi.Input[
|
|
85
|
+
:param pulumi.Input[_builtins.str] created: The date and time when the VPC was created.
|
|
86
|
+
:param pulumi.Input[_builtins.str] ipv4: The IPv4 range of this subnet in CIDR format.
|
|
87
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
89
88
|
:param pulumi.Input[Sequence[pulumi.Input['VpcSubnetLinodeArgs']]] linodes: A list of Linode IDs that added to this subnet.
|
|
90
|
-
:param pulumi.Input[
|
|
91
|
-
:param pulumi.Input[
|
|
89
|
+
:param pulumi.Input[_builtins.str] updated: The date and time when the VPC was last updated.
|
|
90
|
+
:param pulumi.Input[_builtins.int] vpc_id: The id of the parent VPC for this VPC Subnet.
|
|
92
91
|
"""
|
|
93
92
|
if created is not None:
|
|
94
93
|
pulumi.set(__self__, "created", created)
|
|
@@ -103,43 +102,43 @@ class _VpcSubnetState:
|
|
|
103
102
|
if vpc_id is not None:
|
|
104
103
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter
|
|
108
|
-
def created(self) -> Optional[pulumi.Input[
|
|
107
|
+
def created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
109
108
|
"""
|
|
110
109
|
The date and time when the VPC was created.
|
|
111
110
|
"""
|
|
112
111
|
return pulumi.get(self, "created")
|
|
113
112
|
|
|
114
113
|
@created.setter
|
|
115
|
-
def created(self, value: Optional[pulumi.Input[
|
|
114
|
+
def created(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
116
115
|
pulumi.set(self, "created", value)
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter
|
|
120
|
-
def ipv4(self) -> Optional[pulumi.Input[
|
|
119
|
+
def ipv4(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
121
120
|
"""
|
|
122
121
|
The IPv4 range of this subnet in CIDR format.
|
|
123
122
|
"""
|
|
124
123
|
return pulumi.get(self, "ipv4")
|
|
125
124
|
|
|
126
125
|
@ipv4.setter
|
|
127
|
-
def ipv4(self, value: Optional[pulumi.Input[
|
|
126
|
+
def ipv4(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
128
127
|
pulumi.set(self, "ipv4", value)
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter
|
|
132
|
-
def label(self) -> Optional[pulumi.Input[
|
|
131
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
133
132
|
"""
|
|
134
133
|
The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
135
134
|
"""
|
|
136
135
|
return pulumi.get(self, "label")
|
|
137
136
|
|
|
138
137
|
@label.setter
|
|
139
|
-
def label(self, value: Optional[pulumi.Input[
|
|
138
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
140
139
|
pulumi.set(self, "label", value)
|
|
141
140
|
|
|
142
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
143
142
|
@pulumi.getter
|
|
144
143
|
def linodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpcSubnetLinodeArgs']]]]:
|
|
145
144
|
"""
|
|
@@ -151,28 +150,28 @@ class _VpcSubnetState:
|
|
|
151
150
|
def linodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcSubnetLinodeArgs']]]]):
|
|
152
151
|
pulumi.set(self, "linodes", value)
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter
|
|
156
|
-
def updated(self) -> Optional[pulumi.Input[
|
|
155
|
+
def updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
156
|
"""
|
|
158
157
|
The date and time when the VPC was last updated.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "updated")
|
|
161
160
|
|
|
162
161
|
@updated.setter
|
|
163
|
-
def updated(self, value: Optional[pulumi.Input[
|
|
162
|
+
def updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
163
|
pulumi.set(self, "updated", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter(name="vpcId")
|
|
168
|
-
def vpc_id(self) -> Optional[pulumi.Input[
|
|
167
|
+
def vpc_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
169
168
|
"""
|
|
170
169
|
The id of the parent VPC for this VPC Subnet.
|
|
171
170
|
"""
|
|
172
171
|
return pulumi.get(self, "vpc_id")
|
|
173
172
|
|
|
174
173
|
@vpc_id.setter
|
|
175
|
-
def vpc_id(self, value: Optional[pulumi.Input[
|
|
174
|
+
def vpc_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
176
175
|
pulumi.set(self, "vpc_id", value)
|
|
177
176
|
|
|
178
177
|
|
|
@@ -182,9 +181,9 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
182
181
|
def __init__(__self__,
|
|
183
182
|
resource_name: str,
|
|
184
183
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
185
|
-
ipv4: Optional[pulumi.Input[
|
|
186
|
-
label: Optional[pulumi.Input[
|
|
187
|
-
vpc_id: Optional[pulumi.Input[
|
|
184
|
+
ipv4: Optional[pulumi.Input[_builtins.str]] = None,
|
|
185
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
|
+
vpc_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
188
187
|
__props__=None):
|
|
189
188
|
"""
|
|
190
189
|
Manages a Linode VPC subnet.
|
|
@@ -214,9 +213,9 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
214
213
|
|
|
215
214
|
:param str resource_name: The name of the resource.
|
|
216
215
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
217
|
-
:param pulumi.Input[
|
|
218
|
-
:param pulumi.Input[
|
|
219
|
-
:param pulumi.Input[
|
|
216
|
+
:param pulumi.Input[_builtins.str] ipv4: The IPv4 range of this subnet in CIDR format.
|
|
217
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
218
|
+
:param pulumi.Input[_builtins.int] vpc_id: The id of the parent VPC for this VPC Subnet.
|
|
220
219
|
"""
|
|
221
220
|
...
|
|
222
221
|
@overload
|
|
@@ -265,9 +264,9 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
265
264
|
def _internal_init(__self__,
|
|
266
265
|
resource_name: str,
|
|
267
266
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
268
|
-
ipv4: Optional[pulumi.Input[
|
|
269
|
-
label: Optional[pulumi.Input[
|
|
270
|
-
vpc_id: Optional[pulumi.Input[
|
|
267
|
+
ipv4: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
269
|
+
vpc_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
271
270
|
__props__=None):
|
|
272
271
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
273
272
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -299,12 +298,12 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
299
298
|
def get(resource_name: str,
|
|
300
299
|
id: pulumi.Input[str],
|
|
301
300
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
302
|
-
created: Optional[pulumi.Input[
|
|
303
|
-
ipv4: Optional[pulumi.Input[
|
|
304
|
-
label: Optional[pulumi.Input[
|
|
301
|
+
created: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
ipv4: Optional[pulumi.Input[_builtins.str]] = None,
|
|
303
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
304
|
linodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VpcSubnetLinodeArgs', 'VpcSubnetLinodeArgsDict']]]]] = None,
|
|
306
|
-
updated: Optional[pulumi.Input[
|
|
307
|
-
vpc_id: Optional[pulumi.Input[
|
|
305
|
+
updated: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
vpc_id: Optional[pulumi.Input[_builtins.int]] = None) -> 'VpcSubnet':
|
|
308
307
|
"""
|
|
309
308
|
Get an existing VpcSubnet resource's state with the given name, id, and optional extra
|
|
310
309
|
properties used to qualify the lookup.
|
|
@@ -312,12 +311,12 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
312
311
|
:param str resource_name: The unique name of the resulting resource.
|
|
313
312
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
314
313
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
315
|
-
:param pulumi.Input[
|
|
316
|
-
:param pulumi.Input[
|
|
317
|
-
:param pulumi.Input[
|
|
314
|
+
:param pulumi.Input[_builtins.str] created: The date and time when the VPC was created.
|
|
315
|
+
:param pulumi.Input[_builtins.str] ipv4: The IPv4 range of this subnet in CIDR format.
|
|
316
|
+
:param pulumi.Input[_builtins.str] label: The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
318
317
|
:param pulumi.Input[Sequence[pulumi.Input[Union['VpcSubnetLinodeArgs', 'VpcSubnetLinodeArgsDict']]]] linodes: A list of Linode IDs that added to this subnet.
|
|
319
|
-
:param pulumi.Input[
|
|
320
|
-
:param pulumi.Input[
|
|
318
|
+
:param pulumi.Input[_builtins.str] updated: The date and time when the VPC was last updated.
|
|
319
|
+
:param pulumi.Input[_builtins.int] vpc_id: The id of the parent VPC for this VPC Subnet.
|
|
321
320
|
"""
|
|
322
321
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
323
322
|
|
|
@@ -331,31 +330,31 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
331
330
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
332
331
|
return VpcSubnet(resource_name, opts=opts, __props__=__props__)
|
|
333
332
|
|
|
334
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
335
334
|
@pulumi.getter
|
|
336
|
-
def created(self) -> pulumi.Output[
|
|
335
|
+
def created(self) -> pulumi.Output[_builtins.str]:
|
|
337
336
|
"""
|
|
338
337
|
The date and time when the VPC was created.
|
|
339
338
|
"""
|
|
340
339
|
return pulumi.get(self, "created")
|
|
341
340
|
|
|
342
|
-
@property
|
|
341
|
+
@_builtins.property
|
|
343
342
|
@pulumi.getter
|
|
344
|
-
def ipv4(self) -> pulumi.Output[
|
|
343
|
+
def ipv4(self) -> pulumi.Output[_builtins.str]:
|
|
345
344
|
"""
|
|
346
345
|
The IPv4 range of this subnet in CIDR format.
|
|
347
346
|
"""
|
|
348
347
|
return pulumi.get(self, "ipv4")
|
|
349
348
|
|
|
350
|
-
@property
|
|
349
|
+
@_builtins.property
|
|
351
350
|
@pulumi.getter
|
|
352
|
-
def label(self) -> pulumi.Output[
|
|
351
|
+
def label(self) -> pulumi.Output[_builtins.str]:
|
|
353
352
|
"""
|
|
354
353
|
The label of the VPC. Only contains ASCII letters, digits and dashes.
|
|
355
354
|
"""
|
|
356
355
|
return pulumi.get(self, "label")
|
|
357
356
|
|
|
358
|
-
@property
|
|
357
|
+
@_builtins.property
|
|
359
358
|
@pulumi.getter
|
|
360
359
|
def linodes(self) -> pulumi.Output[Sequence['outputs.VpcSubnetLinode']]:
|
|
361
360
|
"""
|
|
@@ -363,17 +362,17 @@ class VpcSubnet(pulumi.CustomResource):
|
|
|
363
362
|
"""
|
|
364
363
|
return pulumi.get(self, "linodes")
|
|
365
364
|
|
|
366
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
367
366
|
@pulumi.getter
|
|
368
|
-
def updated(self) -> pulumi.Output[
|
|
367
|
+
def updated(self) -> pulumi.Output[_builtins.str]:
|
|
369
368
|
"""
|
|
370
369
|
The date and time when the VPC was last updated.
|
|
371
370
|
"""
|
|
372
371
|
return pulumi.get(self, "updated")
|
|
373
372
|
|
|
374
|
-
@property
|
|
373
|
+
@_builtins.property
|
|
375
374
|
@pulumi.getter(name="vpcId")
|
|
376
|
-
def vpc_id(self) -> pulumi.Output[
|
|
375
|
+
def vpc_id(self) -> pulumi.Output[_builtins.int]:
|
|
377
376
|
"""
|
|
378
377
|
The id of the parent VPC for this VPC Subnet.
|
|
379
378
|
"""
|