pulumi-linode 5.3.0a1757052548__py3-none-any.whl → 5.4.0__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.

@@ -24,6 +24,7 @@ class NodeBalancerNodeArgs:
24
24
  label: pulumi.Input[_builtins.str],
25
25
  nodebalancer_id: pulumi.Input[_builtins.int],
26
26
  mode: Optional[pulumi.Input[_builtins.str]] = None,
27
+ subnet_id: Optional[pulumi.Input[_builtins.int]] = None,
27
28
  weight: Optional[pulumi.Input[_builtins.int]] = None):
28
29
  """
29
30
  The set of arguments for constructing a NodeBalancerNode resource.
@@ -34,6 +35,7 @@ class NodeBalancerNodeArgs:
34
35
  :param pulumi.Input[_builtins.str] label: The label of the Linode NodeBalancer Node. This is for display purposes only.
35
36
  :param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
36
37
  :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`)
38
+ :param pulumi.Input[_builtins.int] subnet_id: The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
37
39
  :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).
38
40
  """
39
41
  pulumi.set(__self__, "address", address)
@@ -42,6 +44,8 @@ class NodeBalancerNodeArgs:
42
44
  pulumi.set(__self__, "nodebalancer_id", nodebalancer_id)
43
45
  if mode is not None:
44
46
  pulumi.set(__self__, "mode", mode)
47
+ if subnet_id is not None:
48
+ pulumi.set(__self__, "subnet_id", subnet_id)
45
49
  if weight is not None:
46
50
  pulumi.set(__self__, "weight", weight)
47
51
 
@@ -107,6 +111,18 @@ class NodeBalancerNodeArgs:
107
111
  def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
108
112
  pulumi.set(self, "mode", value)
109
113
 
114
+ @_builtins.property
115
+ @pulumi.getter(name="subnetId")
116
+ def subnet_id(self) -> Optional[pulumi.Input[_builtins.int]]:
117
+ """
118
+ The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
119
+ """
120
+ return pulumi.get(self, "subnet_id")
121
+
122
+ @subnet_id.setter
123
+ def subnet_id(self, value: Optional[pulumi.Input[_builtins.int]]):
124
+ pulumi.set(self, "subnet_id", value)
125
+
110
126
  @_builtins.property
111
127
  @pulumi.getter
112
128
  def weight(self) -> Optional[pulumi.Input[_builtins.int]]:
@@ -129,6 +145,8 @@ class _NodeBalancerNodeState:
129
145
  mode: Optional[pulumi.Input[_builtins.str]] = None,
130
146
  nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
131
147
  status: Optional[pulumi.Input[_builtins.str]] = None,
148
+ subnet_id: Optional[pulumi.Input[_builtins.int]] = None,
149
+ vpc_config_id: Optional[pulumi.Input[_builtins.int]] = None,
132
150
  weight: Optional[pulumi.Input[_builtins.int]] = None):
133
151
  """
134
152
  Input properties used for looking up and filtering NodeBalancerNode resources.
@@ -140,6 +158,8 @@ class _NodeBalancerNodeState:
140
158
  :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
159
  :param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
142
160
  :param pulumi.Input[_builtins.str] status: The current status of this node, based on the configured checks of its NodeBalancer Config. (`unknown`, `UP`, `DOWN`).
161
+ :param pulumi.Input[_builtins.int] subnet_id: The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
162
+ :param pulumi.Input[_builtins.int] vpc_config_id: The ID of the related NodeBalancer-VPC configuration. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
143
163
  :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).
144
164
  """
145
165
  if address is not None:
@@ -154,6 +174,10 @@ class _NodeBalancerNodeState:
154
174
  pulumi.set(__self__, "nodebalancer_id", nodebalancer_id)
155
175
  if status is not None:
156
176
  pulumi.set(__self__, "status", status)
177
+ if subnet_id is not None:
178
+ pulumi.set(__self__, "subnet_id", subnet_id)
179
+ if vpc_config_id is not None:
180
+ pulumi.set(__self__, "vpc_config_id", vpc_config_id)
157
181
  if weight is not None:
158
182
  pulumi.set(__self__, "weight", weight)
159
183
 
@@ -231,6 +255,30 @@ class _NodeBalancerNodeState:
231
255
  def status(self, value: Optional[pulumi.Input[_builtins.str]]):
232
256
  pulumi.set(self, "status", value)
233
257
 
258
+ @_builtins.property
259
+ @pulumi.getter(name="subnetId")
260
+ def subnet_id(self) -> Optional[pulumi.Input[_builtins.int]]:
261
+ """
262
+ The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
263
+ """
264
+ return pulumi.get(self, "subnet_id")
265
+
266
+ @subnet_id.setter
267
+ def subnet_id(self, value: Optional[pulumi.Input[_builtins.int]]):
268
+ pulumi.set(self, "subnet_id", value)
269
+
270
+ @_builtins.property
271
+ @pulumi.getter(name="vpcConfigId")
272
+ def vpc_config_id(self) -> Optional[pulumi.Input[_builtins.int]]:
273
+ """
274
+ The ID of the related NodeBalancer-VPC configuration. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
275
+ """
276
+ return pulumi.get(self, "vpc_config_id")
277
+
278
+ @vpc_config_id.setter
279
+ def vpc_config_id(self, value: Optional[pulumi.Input[_builtins.int]]):
280
+ pulumi.set(self, "vpc_config_id", value)
281
+
234
282
  @_builtins.property
235
283
  @pulumi.getter
236
284
  def weight(self) -> Optional[pulumi.Input[_builtins.int]]:
@@ -255,6 +303,7 @@ class NodeBalancerNode(pulumi.CustomResource):
255
303
  label: Optional[pulumi.Input[_builtins.str]] = None,
256
304
  mode: Optional[pulumi.Input[_builtins.str]] = None,
257
305
  nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
306
+ subnet_id: Optional[pulumi.Input[_builtins.int]] = None,
258
307
  weight: Optional[pulumi.Input[_builtins.int]] = None,
259
308
  __props__=None):
260
309
  """
@@ -278,6 +327,7 @@ class NodeBalancerNode(pulumi.CustomResource):
278
327
  :param pulumi.Input[_builtins.str] label: The label of the Linode NodeBalancer Node. This is for display purposes only.
279
328
  :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
329
  :param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
330
+ :param pulumi.Input[_builtins.int] subnet_id: The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
281
331
  :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).
282
332
  """
283
333
  ...
@@ -318,6 +368,7 @@ class NodeBalancerNode(pulumi.CustomResource):
318
368
  label: Optional[pulumi.Input[_builtins.str]] = None,
319
369
  mode: Optional[pulumi.Input[_builtins.str]] = None,
320
370
  nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
371
+ subnet_id: Optional[pulumi.Input[_builtins.int]] = None,
321
372
  weight: Optional[pulumi.Input[_builtins.int]] = None,
322
373
  __props__=None):
323
374
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -341,8 +392,10 @@ class NodeBalancerNode(pulumi.CustomResource):
341
392
  if nodebalancer_id is None and not opts.urn:
342
393
  raise TypeError("Missing required property 'nodebalancer_id'")
343
394
  __props__.__dict__["nodebalancer_id"] = nodebalancer_id
395
+ __props__.__dict__["subnet_id"] = subnet_id
344
396
  __props__.__dict__["weight"] = weight
345
397
  __props__.__dict__["status"] = None
398
+ __props__.__dict__["vpc_config_id"] = None
346
399
  super(NodeBalancerNode, __self__).__init__(
347
400
  'linode:index/nodeBalancerNode:NodeBalancerNode',
348
401
  resource_name,
@@ -359,6 +412,8 @@ class NodeBalancerNode(pulumi.CustomResource):
359
412
  mode: Optional[pulumi.Input[_builtins.str]] = None,
360
413
  nodebalancer_id: Optional[pulumi.Input[_builtins.int]] = None,
361
414
  status: Optional[pulumi.Input[_builtins.str]] = None,
415
+ subnet_id: Optional[pulumi.Input[_builtins.int]] = None,
416
+ vpc_config_id: Optional[pulumi.Input[_builtins.int]] = None,
362
417
  weight: Optional[pulumi.Input[_builtins.int]] = None) -> 'NodeBalancerNode':
363
418
  """
364
419
  Get an existing NodeBalancerNode resource's state with the given name, id, and optional extra
@@ -375,6 +430,8 @@ class NodeBalancerNode(pulumi.CustomResource):
375
430
  :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
431
  :param pulumi.Input[_builtins.int] nodebalancer_id: The ID of the NodeBalancer to access.
377
432
  :param pulumi.Input[_builtins.str] status: The current status of this node, based on the configured checks of its NodeBalancer Config. (`unknown`, `UP`, `DOWN`).
433
+ :param pulumi.Input[_builtins.int] subnet_id: The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
434
+ :param pulumi.Input[_builtins.int] vpc_config_id: The ID of the related NodeBalancer-VPC configuration. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
378
435
  :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).
379
436
  """
380
437
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -387,6 +444,8 @@ class NodeBalancerNode(pulumi.CustomResource):
387
444
  __props__.__dict__["mode"] = mode
388
445
  __props__.__dict__["nodebalancer_id"] = nodebalancer_id
389
446
  __props__.__dict__["status"] = status
447
+ __props__.__dict__["subnet_id"] = subnet_id
448
+ __props__.__dict__["vpc_config_id"] = vpc_config_id
390
449
  __props__.__dict__["weight"] = weight
391
450
  return NodeBalancerNode(resource_name, opts=opts, __props__=__props__)
392
451
 
@@ -440,6 +499,22 @@ class NodeBalancerNode(pulumi.CustomResource):
440
499
  """
441
500
  return pulumi.get(self, "status")
442
501
 
502
+ @_builtins.property
503
+ @pulumi.getter(name="subnetId")
504
+ def subnet_id(self) -> pulumi.Output[Optional[_builtins.int]]:
505
+ """
506
+ The ID of the related VPC subnet. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
507
+ """
508
+ return pulumi.get(self, "subnet_id")
509
+
510
+ @_builtins.property
511
+ @pulumi.getter(name="vpcConfigId")
512
+ def vpc_config_id(self) -> pulumi.Output[_builtins.int]:
513
+ """
514
+ The ID of the related NodeBalancer-VPC configuration. This is only set for VPC nodes. NOTE: VPC-attached NodeBalancers may not currently be available to all users and may require the `api_version` provider argument must be set to `v4beta`.
515
+ """
516
+ return pulumi.get(self, "vpc_config_id")
517
+
443
518
  @_builtins.property
444
519
  @pulumi.getter
445
520
  def weight(self) -> pulumi.Output[_builtins.int]: