pulumi-linode 5.1.0a1752772340__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 +5224 -5147
- 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 +34 -35
- 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 +5340 -5291
- 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.0a1752772340.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.0a1752772340.dist-info/RECORD +0 -126
- {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/top_level.txt +0 -0
|
@@ -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,22 +19,22 @@ __all__ = ['NodeBalancerNodeArgs', 'NodeBalancerNode']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class NodeBalancerNodeArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
address: pulumi.Input[
|
|
24
|
-
config_id: pulumi.Input[
|
|
25
|
-
label: pulumi.Input[
|
|
26
|
-
nodebalancer_id: pulumi.Input[
|
|
27
|
-
mode: Optional[pulumi.Input[
|
|
28
|
-
weight: Optional[pulumi.Input[
|
|
22
|
+
address: pulumi.Input[_builtins.str],
|
|
23
|
+
config_id: pulumi.Input[_builtins.int],
|
|
24
|
+
label: pulumi.Input[_builtins.str],
|
|
25
|
+
nodebalancer_id: pulumi.Input[_builtins.int],
|
|
26
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
weight: Optional[pulumi.Input[_builtins.int]] = None):
|
|
29
28
|
"""
|
|
30
29
|
The set of arguments for constructing a NodeBalancerNode resource.
|
|
31
|
-
:param pulumi.Input[
|
|
30
|
+
:param pulumi.Input[_builtins.str] address: The private IP Address where this backend can be reached. This must be a private IP address.
|
|
32
31
|
|
|
33
32
|
- - -
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
33
|
+
:param pulumi.Input[_builtins.int] config_id: The ID of the NodeBalancerConfig to access.
|
|
34
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
35
|
+
:param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
|
|
36
|
+
:param pulumi.Input[_builtins.str] mode: The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
37
|
+
:param pulumi.Input[_builtins.int] weight: Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
39
38
|
"""
|
|
40
39
|
pulumi.set(__self__, "address", address)
|
|
41
40
|
pulumi.set(__self__, "config_id", config_id)
|
|
@@ -46,9 +45,9 @@ class NodeBalancerNodeArgs:
|
|
|
46
45
|
if weight is not None:
|
|
47
46
|
pulumi.set(__self__, "weight", weight)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def address(self) -> pulumi.Input[
|
|
50
|
+
def address(self) -> pulumi.Input[_builtins.str]:
|
|
52
51
|
"""
|
|
53
52
|
The private IP Address where this backend can be reached. This must be a private IP address.
|
|
54
53
|
|
|
@@ -57,91 +56,91 @@ class NodeBalancerNodeArgs:
|
|
|
57
56
|
return pulumi.get(self, "address")
|
|
58
57
|
|
|
59
58
|
@address.setter
|
|
60
|
-
def address(self, value: pulumi.Input[
|
|
59
|
+
def address(self, value: pulumi.Input[_builtins.str]):
|
|
61
60
|
pulumi.set(self, "address", value)
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter(name="configId")
|
|
65
|
-
def config_id(self) -> pulumi.Input[
|
|
64
|
+
def config_id(self) -> pulumi.Input[_builtins.int]:
|
|
66
65
|
"""
|
|
67
66
|
The ID of the NodeBalancerConfig to access.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "config_id")
|
|
70
69
|
|
|
71
70
|
@config_id.setter
|
|
72
|
-
def config_id(self, value: pulumi.Input[
|
|
71
|
+
def config_id(self, value: pulumi.Input[_builtins.int]):
|
|
73
72
|
pulumi.set(self, "config_id", value)
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter
|
|
77
|
-
def label(self) -> pulumi.Input[
|
|
76
|
+
def label(self) -> pulumi.Input[_builtins.str]:
|
|
78
77
|
"""
|
|
79
78
|
The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
80
79
|
"""
|
|
81
80
|
return pulumi.get(self, "label")
|
|
82
81
|
|
|
83
82
|
@label.setter
|
|
84
|
-
def label(self, value: pulumi.Input[
|
|
83
|
+
def label(self, value: pulumi.Input[_builtins.str]):
|
|
85
84
|
pulumi.set(self, "label", value)
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter(name="nodebalancerId")
|
|
89
|
-
def nodebalancer_id(self) -> pulumi.Input[
|
|
88
|
+
def nodebalancer_id(self) -> pulumi.Input[_builtins.int]:
|
|
90
89
|
"""
|
|
91
90
|
The ID of the NodeBalancer to access.
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "nodebalancer_id")
|
|
94
93
|
|
|
95
94
|
@nodebalancer_id.setter
|
|
96
|
-
def nodebalancer_id(self, value: pulumi.Input[
|
|
95
|
+
def nodebalancer_id(self, value: pulumi.Input[_builtins.int]):
|
|
97
96
|
pulumi.set(self, "nodebalancer_id", value)
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter
|
|
101
|
-
def mode(self) -> Optional[pulumi.Input[
|
|
100
|
+
def mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
102
101
|
"""
|
|
103
102
|
The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
104
103
|
"""
|
|
105
104
|
return pulumi.get(self, "mode")
|
|
106
105
|
|
|
107
106
|
@mode.setter
|
|
108
|
-
def mode(self, value: Optional[pulumi.Input[
|
|
107
|
+
def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
109
108
|
pulumi.set(self, "mode", value)
|
|
110
109
|
|
|
111
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
112
111
|
@pulumi.getter
|
|
113
|
-
def weight(self) -> Optional[pulumi.Input[
|
|
112
|
+
def weight(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
114
113
|
"""
|
|
115
114
|
Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
116
115
|
"""
|
|
117
116
|
return pulumi.get(self, "weight")
|
|
118
117
|
|
|
119
118
|
@weight.setter
|
|
120
|
-
def weight(self, value: Optional[pulumi.Input[
|
|
119
|
+
def weight(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
121
120
|
pulumi.set(self, "weight", value)
|
|
122
121
|
|
|
123
122
|
|
|
124
123
|
@pulumi.input_type
|
|
125
124
|
class _NodeBalancerNodeState:
|
|
126
125
|
def __init__(__self__, *,
|
|
127
|
-
address: Optional[pulumi.Input[
|
|
128
|
-
config_id: Optional[pulumi.Input[
|
|
129
|
-
label: Optional[pulumi.Input[
|
|
130
|
-
mode: Optional[pulumi.Input[
|
|
131
|
-
nodebalancer_id: Optional[pulumi.Input[
|
|
132
|
-
status: Optional[pulumi.Input[
|
|
133
|
-
weight: Optional[pulumi.Input[
|
|
126
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
config_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
128
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
+
nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
131
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
weight: Optional[pulumi.Input[_builtins.int]] = None):
|
|
134
133
|
"""
|
|
135
134
|
Input properties used for looking up and filtering NodeBalancerNode resources.
|
|
136
|
-
:param pulumi.Input[
|
|
135
|
+
:param pulumi.Input[_builtins.str] address: The private IP Address where this backend can be reached. This must be a private IP address.
|
|
137
136
|
|
|
138
137
|
- - -
|
|
139
|
-
:param pulumi.Input[
|
|
140
|
-
:param pulumi.Input[
|
|
141
|
-
:param pulumi.Input[
|
|
142
|
-
:param pulumi.Input[
|
|
143
|
-
:param pulumi.Input[
|
|
144
|
-
:param pulumi.Input[
|
|
138
|
+
:param pulumi.Input[_builtins.int] config_id: The ID of the NodeBalancerConfig to access.
|
|
139
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
140
|
+
:param pulumi.Input[_builtins.str] mode: The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
141
|
+
:param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
|
|
142
|
+
:param pulumi.Input[_builtins.str] status: The current status of this node, based on the configured checks of its NodeBalancer Config. (`unknown`, `UP`, `DOWN`).
|
|
143
|
+
:param pulumi.Input[_builtins.int] weight: Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
145
144
|
"""
|
|
146
145
|
if address is not None:
|
|
147
146
|
pulumi.set(__self__, "address", address)
|
|
@@ -158,9 +157,9 @@ class _NodeBalancerNodeState:
|
|
|
158
157
|
if weight is not None:
|
|
159
158
|
pulumi.set(__self__, "weight", weight)
|
|
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 private IP Address where this backend can be reached. This must be a private IP address.
|
|
166
165
|
|
|
@@ -169,79 +168,79 @@ class _NodeBalancerNodeState:
|
|
|
169
168
|
return pulumi.get(self, "address")
|
|
170
169
|
|
|
171
170
|
@address.setter
|
|
172
|
-
def address(self, value: Optional[pulumi.Input[
|
|
171
|
+
def address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
173
172
|
pulumi.set(self, "address", value)
|
|
174
173
|
|
|
175
|
-
@property
|
|
174
|
+
@_builtins.property
|
|
176
175
|
@pulumi.getter(name="configId")
|
|
177
|
-
def config_id(self) -> Optional[pulumi.Input[
|
|
176
|
+
def config_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
178
177
|
"""
|
|
179
178
|
The ID of the NodeBalancerConfig to access.
|
|
180
179
|
"""
|
|
181
180
|
return pulumi.get(self, "config_id")
|
|
182
181
|
|
|
183
182
|
@config_id.setter
|
|
184
|
-
def config_id(self, value: Optional[pulumi.Input[
|
|
183
|
+
def config_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
185
184
|
pulumi.set(self, "config_id", value)
|
|
186
185
|
|
|
187
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
188
187
|
@pulumi.getter
|
|
189
|
-
def label(self) -> Optional[pulumi.Input[
|
|
188
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
190
189
|
"""
|
|
191
190
|
The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
192
191
|
"""
|
|
193
192
|
return pulumi.get(self, "label")
|
|
194
193
|
|
|
195
194
|
@label.setter
|
|
196
|
-
def label(self, value: Optional[pulumi.Input[
|
|
195
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
197
196
|
pulumi.set(self, "label", value)
|
|
198
197
|
|
|
199
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
200
199
|
@pulumi.getter
|
|
201
|
-
def mode(self) -> Optional[pulumi.Input[
|
|
200
|
+
def mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
202
201
|
"""
|
|
203
202
|
The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
204
203
|
"""
|
|
205
204
|
return pulumi.get(self, "mode")
|
|
206
205
|
|
|
207
206
|
@mode.setter
|
|
208
|
-
def mode(self, value: Optional[pulumi.Input[
|
|
207
|
+
def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
209
208
|
pulumi.set(self, "mode", value)
|
|
210
209
|
|
|
211
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
212
211
|
@pulumi.getter(name="nodebalancerId")
|
|
213
|
-
def nodebalancer_id(self) -> Optional[pulumi.Input[
|
|
212
|
+
def nodebalancer_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
214
213
|
"""
|
|
215
214
|
The ID of the NodeBalancer to access.
|
|
216
215
|
"""
|
|
217
216
|
return pulumi.get(self, "nodebalancer_id")
|
|
218
217
|
|
|
219
218
|
@nodebalancer_id.setter
|
|
220
|
-
def nodebalancer_id(self, value: Optional[pulumi.Input[
|
|
219
|
+
def nodebalancer_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
221
220
|
pulumi.set(self, "nodebalancer_id", value)
|
|
222
221
|
|
|
223
|
-
@property
|
|
222
|
+
@_builtins.property
|
|
224
223
|
@pulumi.getter
|
|
225
|
-
def status(self) -> Optional[pulumi.Input[
|
|
224
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
226
225
|
"""
|
|
227
226
|
The current status of this node, based on the configured checks of its NodeBalancer Config. (`unknown`, `UP`, `DOWN`).
|
|
228
227
|
"""
|
|
229
228
|
return pulumi.get(self, "status")
|
|
230
229
|
|
|
231
230
|
@status.setter
|
|
232
|
-
def status(self, value: Optional[pulumi.Input[
|
|
231
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
233
232
|
pulumi.set(self, "status", value)
|
|
234
233
|
|
|
235
|
-
@property
|
|
234
|
+
@_builtins.property
|
|
236
235
|
@pulumi.getter
|
|
237
|
-
def weight(self) -> Optional[pulumi.Input[
|
|
236
|
+
def weight(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
238
237
|
"""
|
|
239
238
|
Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
240
239
|
"""
|
|
241
240
|
return pulumi.get(self, "weight")
|
|
242
241
|
|
|
243
242
|
@weight.setter
|
|
244
|
-
def weight(self, value: Optional[pulumi.Input[
|
|
243
|
+
def weight(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
245
244
|
pulumi.set(self, "weight", value)
|
|
246
245
|
|
|
247
246
|
|
|
@@ -251,12 +250,12 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
251
250
|
def __init__(__self__,
|
|
252
251
|
resource_name: str,
|
|
253
252
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
254
|
-
address: Optional[pulumi.Input[
|
|
255
|
-
config_id: Optional[pulumi.Input[
|
|
256
|
-
label: Optional[pulumi.Input[
|
|
257
|
-
mode: Optional[pulumi.Input[
|
|
258
|
-
nodebalancer_id: Optional[pulumi.Input[
|
|
259
|
-
weight: Optional[pulumi.Input[
|
|
253
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
|
+
config_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
255
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
|
+
nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
258
|
+
weight: Optional[pulumi.Input[_builtins.int]] = None,
|
|
260
259
|
__props__=None):
|
|
261
260
|
"""
|
|
262
261
|
Provides a Linode NodeBalancer Node resource. This can be used to create, modify, and delete Linodes NodeBalancer Nodes.
|
|
@@ -272,14 +271,14 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
272
271
|
|
|
273
272
|
:param str resource_name: The name of the resource.
|
|
274
273
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
275
|
-
:param pulumi.Input[
|
|
274
|
+
:param pulumi.Input[_builtins.str] address: The private IP Address where this backend can be reached. This must be a private IP address.
|
|
276
275
|
|
|
277
276
|
- - -
|
|
278
|
-
:param pulumi.Input[
|
|
279
|
-
:param pulumi.Input[
|
|
280
|
-
:param pulumi.Input[
|
|
281
|
-
:param pulumi.Input[
|
|
282
|
-
:param pulumi.Input[
|
|
277
|
+
:param pulumi.Input[_builtins.int] config_id: The ID of the NodeBalancerConfig to access.
|
|
278
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
279
|
+
:param pulumi.Input[_builtins.str] mode: The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
280
|
+
:param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
|
|
281
|
+
:param pulumi.Input[_builtins.int] weight: Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
283
282
|
"""
|
|
284
283
|
...
|
|
285
284
|
@overload
|
|
@@ -314,12 +313,12 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
314
313
|
def _internal_init(__self__,
|
|
315
314
|
resource_name: str,
|
|
316
315
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
317
|
-
address: Optional[pulumi.Input[
|
|
318
|
-
config_id: Optional[pulumi.Input[
|
|
319
|
-
label: Optional[pulumi.Input[
|
|
320
|
-
mode: Optional[pulumi.Input[
|
|
321
|
-
nodebalancer_id: Optional[pulumi.Input[
|
|
322
|
-
weight: Optional[pulumi.Input[
|
|
316
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
config_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
318
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
319
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
|
+
nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
321
|
+
weight: Optional[pulumi.Input[_builtins.int]] = None,
|
|
323
322
|
__props__=None):
|
|
324
323
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
325
324
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -354,13 +353,13 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
354
353
|
def get(resource_name: str,
|
|
355
354
|
id: pulumi.Input[str],
|
|
356
355
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
357
|
-
address: Optional[pulumi.Input[
|
|
358
|
-
config_id: Optional[pulumi.Input[
|
|
359
|
-
label: Optional[pulumi.Input[
|
|
360
|
-
mode: Optional[pulumi.Input[
|
|
361
|
-
nodebalancer_id: Optional[pulumi.Input[
|
|
362
|
-
status: Optional[pulumi.Input[
|
|
363
|
-
weight: Optional[pulumi.Input[
|
|
356
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
357
|
+
config_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
358
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
359
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
360
|
+
nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
361
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
362
|
+
weight: Optional[pulumi.Input[_builtins.int]] = None) -> 'NodeBalancerNode':
|
|
364
363
|
"""
|
|
365
364
|
Get an existing NodeBalancerNode resource's state with the given name, id, and optional extra
|
|
366
365
|
properties used to qualify the lookup.
|
|
@@ -368,15 +367,15 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
368
367
|
:param str resource_name: The unique name of the resulting resource.
|
|
369
368
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
370
369
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
371
|
-
:param pulumi.Input[
|
|
370
|
+
:param pulumi.Input[_builtins.str] address: The private IP Address where this backend can be reached. This must be a private IP address.
|
|
372
371
|
|
|
373
372
|
- - -
|
|
374
|
-
:param pulumi.Input[
|
|
375
|
-
:param pulumi.Input[
|
|
376
|
-
:param pulumi.Input[
|
|
377
|
-
:param pulumi.Input[
|
|
378
|
-
:param pulumi.Input[
|
|
379
|
-
:param pulumi.Input[
|
|
373
|
+
:param pulumi.Input[_builtins.int] config_id: The ID of the NodeBalancerConfig to access.
|
|
374
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
375
|
+
:param pulumi.Input[_builtins.str] mode: The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
376
|
+
:param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
|
|
377
|
+
:param pulumi.Input[_builtins.str] status: The current status of this node, based on the configured checks of its NodeBalancer Config. (`unknown`, `UP`, `DOWN`).
|
|
378
|
+
:param pulumi.Input[_builtins.int] weight: Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
380
379
|
"""
|
|
381
380
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
382
381
|
|
|
@@ -391,9 +390,9 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
391
390
|
__props__.__dict__["weight"] = weight
|
|
392
391
|
return NodeBalancerNode(resource_name, opts=opts, __props__=__props__)
|
|
393
392
|
|
|
394
|
-
@property
|
|
393
|
+
@_builtins.property
|
|
395
394
|
@pulumi.getter
|
|
396
|
-
def address(self) -> pulumi.Output[
|
|
395
|
+
def address(self) -> pulumi.Output[_builtins.str]:
|
|
397
396
|
"""
|
|
398
397
|
The private IP Address where this backend can be reached. This must be a private IP address.
|
|
399
398
|
|
|
@@ -401,49 +400,49 @@ class NodeBalancerNode(pulumi.CustomResource):
|
|
|
401
400
|
"""
|
|
402
401
|
return pulumi.get(self, "address")
|
|
403
402
|
|
|
404
|
-
@property
|
|
403
|
+
@_builtins.property
|
|
405
404
|
@pulumi.getter(name="configId")
|
|
406
|
-
def config_id(self) -> pulumi.Output[
|
|
405
|
+
def config_id(self) -> pulumi.Output[_builtins.int]:
|
|
407
406
|
"""
|
|
408
407
|
The ID of the NodeBalancerConfig to access.
|
|
409
408
|
"""
|
|
410
409
|
return pulumi.get(self, "config_id")
|
|
411
410
|
|
|
412
|
-
@property
|
|
411
|
+
@_builtins.property
|
|
413
412
|
@pulumi.getter
|
|
414
|
-
def label(self) -> pulumi.Output[
|
|
413
|
+
def label(self) -> pulumi.Output[_builtins.str]:
|
|
415
414
|
"""
|
|
416
415
|
The label of the Linode NodeBalancer Node. This is for display purposes only.
|
|
417
416
|
"""
|
|
418
417
|
return pulumi.get(self, "label")
|
|
419
418
|
|
|
420
|
-
@property
|
|
419
|
+
@_builtins.property
|
|
421
420
|
@pulumi.getter
|
|
422
|
-
def mode(self) -> pulumi.Output[
|
|
421
|
+
def mode(self) -> pulumi.Output[_builtins.str]:
|
|
423
422
|
"""
|
|
424
423
|
The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (`accept`, `reject`, `drain`, `backup`)
|
|
425
424
|
"""
|
|
426
425
|
return pulumi.get(self, "mode")
|
|
427
426
|
|
|
428
|
-
@property
|
|
427
|
+
@_builtins.property
|
|
429
428
|
@pulumi.getter(name="nodebalancerId")
|
|
430
|
-
def nodebalancer_id(self) -> pulumi.Output[
|
|
429
|
+
def nodebalancer_id(self) -> pulumi.Output[_builtins.int]:
|
|
431
430
|
"""
|
|
432
431
|
The ID of the NodeBalancer to access.
|
|
433
432
|
"""
|
|
434
433
|
return pulumi.get(self, "nodebalancer_id")
|
|
435
434
|
|
|
436
|
-
@property
|
|
435
|
+
@_builtins.property
|
|
437
436
|
@pulumi.getter
|
|
438
|
-
def status(self) -> pulumi.Output[
|
|
437
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
439
438
|
"""
|
|
440
439
|
The current status of this node, based on the configured checks of its NodeBalancer Config. (`unknown`, `UP`, `DOWN`).
|
|
441
440
|
"""
|
|
442
441
|
return pulumi.get(self, "status")
|
|
443
442
|
|
|
444
|
-
@property
|
|
443
|
+
@_builtins.property
|
|
445
444
|
@pulumi.getter
|
|
446
|
-
def weight(self) -> pulumi.Output[
|
|
445
|
+
def weight(self) -> pulumi.Output[_builtins.int]:
|
|
447
446
|
"""
|
|
448
447
|
Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255).
|
|
449
448
|
"""
|