pulumiverse-scaleway 1.35.0a1761031391__py3-none-any.whl → 1.39.0a1764841480__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.
- pulumiverse_scaleway/__init__.py +38 -0
- pulumiverse_scaleway/_inputs.py +271 -166
- pulumiverse_scaleway/audittrail/__init__.py +10 -0
- pulumiverse_scaleway/audittrail/get_event.py +410 -0
- pulumiverse_scaleway/audittrail/outputs.py +234 -0
- pulumiverse_scaleway/baremetal_server.py +159 -0
- pulumiverse_scaleway/billing/get_consumptions.py +4 -0
- pulumiverse_scaleway/block/snapshot.py +78 -0
- pulumiverse_scaleway/block_snapshot.py +78 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +0 -42
- pulumiverse_scaleway/database_instance.py +105 -55
- pulumiverse_scaleway/database_user.py +6 -6
- pulumiverse_scaleway/databases/_inputs.py +97 -3
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +105 -55
- pulumiverse_scaleway/databases/outputs.py +127 -2
- pulumiverse_scaleway/databases/user.py +6 -6
- pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
- pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
- pulumiverse_scaleway/datawarehouse/database.py +338 -0
- pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
- pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
- pulumiverse_scaleway/datawarehouse/user.py +451 -0
- pulumiverse_scaleway/domain/record.py +4 -4
- pulumiverse_scaleway/domain_record.py +4 -4
- pulumiverse_scaleway/edge_services_cache_stage.py +30 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +28 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/server.py +159 -0
- pulumiverse_scaleway/file_filesystem.py +39 -35
- pulumiverse_scaleway/get_baremetal_offer.py +2 -0
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_ip.py +14 -2
- pulumiverse_scaleway/get_instance_server.py +13 -83
- pulumiverse_scaleway/get_k8s_version.py +12 -1
- pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_loadbalancer_certificate.py +60 -0
- pulumiverse_scaleway/iam/__init__.py +1 -0
- pulumiverse_scaleway/iam/get_policy.py +293 -0
- pulumiverse_scaleway/iam/outputs.py +52 -0
- pulumiverse_scaleway/inference/deployment.py +36 -0
- pulumiverse_scaleway/inference/model.py +7 -7
- pulumiverse_scaleway/inference_deployment.py +36 -0
- pulumiverse_scaleway/instance/_inputs.py +155 -144
- pulumiverse_scaleway/instance/get_ip.py +14 -2
- pulumiverse_scaleway/instance/get_server.py +13 -83
- pulumiverse_scaleway/instance/image.py +94 -40
- pulumiverse_scaleway/instance/outputs.py +164 -167
- pulumiverse_scaleway/instance/server.py +116 -244
- pulumiverse_scaleway/instance/user_data.py +4 -4
- pulumiverse_scaleway/instance/volume.py +14 -0
- pulumiverse_scaleway/instance_image.py +94 -40
- pulumiverse_scaleway/instance_server.py +116 -244
- pulumiverse_scaleway/instance_user_data.py +4 -4
- pulumiverse_scaleway/instance_volume.py +14 -0
- pulumiverse_scaleway/iot/device.py +0 -38
- pulumiverse_scaleway/iot/hub.py +11 -11
- pulumiverse_scaleway/iot/route.py +20 -20
- pulumiverse_scaleway/iot_device.py +0 -38
- pulumiverse_scaleway/iot_hub.py +11 -11
- pulumiverse_scaleway/iot_route.py +20 -20
- pulumiverse_scaleway/ipam/_inputs.py +6 -6
- pulumiverse_scaleway/ipam/ip.py +35 -7
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/ipam/outputs.py +4 -4
- pulumiverse_scaleway/ipam_ip.py +35 -7
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/key_manager_key.py +134 -25
- pulumiverse_scaleway/kubernetes/cluster.py +290 -4
- pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
- pulumiverse_scaleway/kubernetes/get_version.py +12 -1
- pulumiverse_scaleway/kubernetes/pool.py +7 -7
- pulumiverse_scaleway/kubernetes_cluster.py +290 -4
- pulumiverse_scaleway/kubernetes_node_pool.py +7 -7
- pulumiverse_scaleway/loadbalancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +13 -13
- pulumiverse_scaleway/loadbalancers/get_certificate.py +60 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/outputs.py +9 -9
- pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
- pulumiverse_scaleway/mongo_db_instance.py +14 -14
- pulumiverse_scaleway/mongodb/instance.py +14 -14
- pulumiverse_scaleway/network/gateway_network.py +7 -7
- pulumiverse_scaleway/object/__init__.py +1 -0
- pulumiverse_scaleway/object/bucket_policy.py +0 -64
- pulumiverse_scaleway/object/get.py +290 -0
- pulumiverse_scaleway/object/item.py +37 -7
- pulumiverse_scaleway/object_bucket_policy.py +0 -64
- pulumiverse_scaleway/object_item.py +37 -7
- pulumiverse_scaleway/observability/__init__.py +1 -0
- pulumiverse_scaleway/observability/get_grafana.py +103 -0
- pulumiverse_scaleway/observability/get_sources.py +6 -6
- pulumiverse_scaleway/observability/grafana_user.py +0 -42
- pulumiverse_scaleway/observability/outputs.py +2 -2
- pulumiverse_scaleway/outputs.py +304 -182
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/tem/domain.py +42 -0
- pulumiverse_scaleway/tem_domain.py +42 -0
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/RECORD +109 -96
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
|
@@ -77,7 +77,7 @@ class KubernetesNodePoolArgs:
|
|
|
77
77
|
> **Important:** Updates to this field will recreate a new resource.
|
|
78
78
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
79
79
|
|
|
80
|
-
> Note: As
|
|
80
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
81
81
|
:param pulumi.Input['KubernetesNodePoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
|
|
82
82
|
:param pulumi.Input[_builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
|
83
83
|
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the pool should be created.
|
|
@@ -336,7 +336,7 @@ class KubernetesNodePoolArgs:
|
|
|
336
336
|
"""
|
|
337
337
|
The tags associated with the pool.
|
|
338
338
|
|
|
339
|
-
> Note: As
|
|
339
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
340
340
|
"""
|
|
341
341
|
return pulumi.get(self, "tags")
|
|
342
342
|
|
|
@@ -452,7 +452,7 @@ class _KubernetesNodePoolState:
|
|
|
452
452
|
:param pulumi.Input[_builtins.str] status: The status of the node.
|
|
453
453
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
454
454
|
|
|
455
|
-
> Note: As
|
|
455
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
456
456
|
:param pulumi.Input[_builtins.str] updated_at: The last update date of the pool.
|
|
457
457
|
:param pulumi.Input['KubernetesNodePoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
|
|
458
458
|
:param pulumi.Input[_builtins.str] version: The version of the pool.
|
|
@@ -776,7 +776,7 @@ class _KubernetesNodePoolState:
|
|
|
776
776
|
"""
|
|
777
777
|
The tags associated with the pool.
|
|
778
778
|
|
|
779
|
-
> Note: As
|
|
779
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
780
780
|
"""
|
|
781
781
|
return pulumi.get(self, "tags")
|
|
782
782
|
|
|
@@ -926,7 +926,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
926
926
|
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
|
927
927
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
928
928
|
|
|
929
|
-
> Note: As
|
|
929
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
930
930
|
:param pulumi.Input[Union['KubernetesNodePoolUpgradePolicyArgs', 'KubernetesNodePoolUpgradePolicyArgsDict']] upgrade_policy: The Pool upgrade policy
|
|
931
931
|
:param pulumi.Input[_builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
|
932
932
|
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the pool should be created.
|
|
@@ -1108,7 +1108,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
1108
1108
|
:param pulumi.Input[_builtins.str] status: The status of the node.
|
|
1109
1109
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
1110
1110
|
|
|
1111
|
-
> Note: As
|
|
1111
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
1112
1112
|
:param pulumi.Input[_builtins.str] updated_at: The last update date of the pool.
|
|
1113
1113
|
:param pulumi.Input[Union['KubernetesNodePoolUpgradePolicyArgs', 'KubernetesNodePoolUpgradePolicyArgsDict']] upgrade_policy: The Pool upgrade policy
|
|
1114
1114
|
:param pulumi.Input[_builtins.str] version: The version of the pool.
|
|
@@ -1331,7 +1331,7 @@ class KubernetesNodePool(pulumi.CustomResource):
|
|
|
1331
1331
|
"""
|
|
1332
1332
|
The tags associated with the pool.
|
|
1333
1333
|
|
|
1334
|
-
> Note: As
|
|
1334
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
1335
1335
|
"""
|
|
1336
1336
|
return pulumi.get(self, "tags")
|
|
1337
1337
|
|
|
@@ -25,6 +25,7 @@ class LoadbalancerArgs:
|
|
|
25
25
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
26
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
27
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
29
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
30
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
30
31
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -40,6 +41,8 @@ class LoadbalancerArgs:
|
|
|
40
41
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
41
42
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
42
43
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
44
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
45
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
43
46
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
44
47
|
|
|
45
48
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
@@ -61,6 +64,8 @@ class LoadbalancerArgs:
|
|
|
61
64
|
pulumi.set(__self__, "assign_flexible_ipv6", assign_flexible_ipv6)
|
|
62
65
|
if description is not None:
|
|
63
66
|
pulumi.set(__self__, "description", description)
|
|
67
|
+
if external_private_networks is not None:
|
|
68
|
+
pulumi.set(__self__, "external_private_networks", external_private_networks)
|
|
64
69
|
if ip_id is not None:
|
|
65
70
|
warnings.warn("""Please use ip_ids""", DeprecationWarning)
|
|
66
71
|
pulumi.log.warn("""ip_id is deprecated: Please use ip_ids""")
|
|
@@ -134,6 +139,19 @@ class LoadbalancerArgs:
|
|
|
134
139
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
140
|
pulumi.set(self, "description", value)
|
|
136
141
|
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
144
|
+
def external_private_networks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
145
|
+
"""
|
|
146
|
+
A boolean to specify whether to use lb_private_network.
|
|
147
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "external_private_networks")
|
|
150
|
+
|
|
151
|
+
@external_private_networks.setter
|
|
152
|
+
def external_private_networks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
153
|
+
pulumi.set(self, "external_private_networks", value)
|
|
154
|
+
|
|
137
155
|
@_builtins.property
|
|
138
156
|
@pulumi.getter(name="ipId")
|
|
139
157
|
@_utilities.deprecated("""Please use ip_ids""")
|
|
@@ -255,6 +273,7 @@ class _LoadbalancerState:
|
|
|
255
273
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
256
274
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
257
275
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
258
277
|
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
259
278
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
260
279
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -275,6 +294,8 @@ class _LoadbalancerState:
|
|
|
275
294
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
276
295
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
277
296
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
297
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
298
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
278
299
|
:param pulumi.Input[_builtins.str] ip_address: The Load Balancer public IPv4 address.
|
|
279
300
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
280
301
|
|
|
@@ -301,6 +322,8 @@ class _LoadbalancerState:
|
|
|
301
322
|
pulumi.set(__self__, "assign_flexible_ipv6", assign_flexible_ipv6)
|
|
302
323
|
if description is not None:
|
|
303
324
|
pulumi.set(__self__, "description", description)
|
|
325
|
+
if external_private_networks is not None:
|
|
326
|
+
pulumi.set(__self__, "external_private_networks", external_private_networks)
|
|
304
327
|
if ip_address is not None:
|
|
305
328
|
pulumi.set(__self__, "ip_address", ip_address)
|
|
306
329
|
if ip_id is not None:
|
|
@@ -374,6 +397,19 @@ class _LoadbalancerState:
|
|
|
374
397
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
375
398
|
pulumi.set(self, "description", value)
|
|
376
399
|
|
|
400
|
+
@_builtins.property
|
|
401
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
402
|
+
def external_private_networks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
403
|
+
"""
|
|
404
|
+
A boolean to specify whether to use lb_private_network.
|
|
405
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
406
|
+
"""
|
|
407
|
+
return pulumi.get(self, "external_private_networks")
|
|
408
|
+
|
|
409
|
+
@external_private_networks.setter
|
|
410
|
+
def external_private_networks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
411
|
+
pulumi.set(self, "external_private_networks", value)
|
|
412
|
+
|
|
377
413
|
@_builtins.property
|
|
378
414
|
@pulumi.getter(name="ipAddress")
|
|
379
415
|
def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -575,6 +611,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
575
611
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
576
612
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
577
613
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
614
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
578
615
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
579
616
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
580
617
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -687,6 +724,8 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
687
724
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
688
725
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
689
726
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
727
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
728
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
690
729
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
691
730
|
|
|
692
731
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
@@ -822,6 +861,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
822
861
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
823
862
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
824
863
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
864
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
825
865
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
826
866
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
827
867
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -845,6 +885,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
845
885
|
__props__.__dict__["assign_flexible_ip"] = assign_flexible_ip
|
|
846
886
|
__props__.__dict__["assign_flexible_ipv6"] = assign_flexible_ipv6
|
|
847
887
|
__props__.__dict__["description"] = description
|
|
888
|
+
__props__.__dict__["external_private_networks"] = external_private_networks
|
|
848
889
|
__props__.__dict__["ip_id"] = ip_id
|
|
849
890
|
__props__.__dict__["ip_ids"] = ip_ids
|
|
850
891
|
__props__.__dict__["name"] = name
|
|
@@ -875,6 +916,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
875
916
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
876
917
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
877
918
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
919
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
878
920
|
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
879
921
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
880
922
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -900,6 +942,8 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
900
942
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
901
943
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
902
944
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
945
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
946
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
903
947
|
:param pulumi.Input[_builtins.str] ip_address: The Load Balancer public IPv4 address.
|
|
904
948
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
905
949
|
|
|
@@ -927,6 +971,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
927
971
|
__props__.__dict__["assign_flexible_ip"] = assign_flexible_ip
|
|
928
972
|
__props__.__dict__["assign_flexible_ipv6"] = assign_flexible_ipv6
|
|
929
973
|
__props__.__dict__["description"] = description
|
|
974
|
+
__props__.__dict__["external_private_networks"] = external_private_networks
|
|
930
975
|
__props__.__dict__["ip_address"] = ip_address
|
|
931
976
|
__props__.__dict__["ip_id"] = ip_id
|
|
932
977
|
__props__.__dict__["ip_ids"] = ip_ids
|
|
@@ -968,6 +1013,15 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
968
1013
|
"""
|
|
969
1014
|
return pulumi.get(self, "description")
|
|
970
1015
|
|
|
1016
|
+
@_builtins.property
|
|
1017
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
1018
|
+
def external_private_networks(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1019
|
+
"""
|
|
1020
|
+
A boolean to specify whether to use lb_private_network.
|
|
1021
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
1022
|
+
"""
|
|
1023
|
+
return pulumi.get(self, "external_private_networks")
|
|
1024
|
+
|
|
971
1025
|
@_builtins.property
|
|
972
1026
|
@pulumi.getter(name="ipAddress")
|
|
973
1027
|
def ip_address(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -1031,7 +1085,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
1031
1085
|
|
|
1032
1086
|
@_builtins.property
|
|
1033
1087
|
@pulumi.getter(name="privateNetworks")
|
|
1034
|
-
def private_networks(self) -> pulumi.Output[
|
|
1088
|
+
def private_networks(self) -> pulumi.Output[Sequence['outputs.LoadbalancerPrivateNetwork']]:
|
|
1035
1089
|
"""
|
|
1036
1090
|
List of private network to connect with your load balancer.
|
|
1037
1091
|
"""
|
|
@@ -1068,7 +1068,7 @@ if not MYPY:
|
|
|
1068
1068
|
"""
|
|
1069
1069
|
IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network.
|
|
1070
1070
|
"""
|
|
1071
|
-
|
|
1071
|
+
static_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1072
1072
|
"""
|
|
1073
1073
|
Define an IP address in the subnet of your private network that will be assigned to your load balancer instance
|
|
1074
1074
|
"""
|
|
@@ -1089,7 +1089,7 @@ class LoadBalancerPrivateNetworkArgs:
|
|
|
1089
1089
|
private_network_id: pulumi.Input[_builtins.str],
|
|
1090
1090
|
dhcp_config: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1091
1091
|
ipam_ids: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1092
|
-
|
|
1092
|
+
static_configs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1093
1093
|
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1094
1094
|
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1095
1095
|
"""
|
|
@@ -1097,7 +1097,7 @@ class LoadBalancerPrivateNetworkArgs:
|
|
|
1097
1097
|
- > **Important:** Updates to `private_network` will recreate the attachment.
|
|
1098
1098
|
:param pulumi.Input[_builtins.bool] dhcp_config: Set to true if you want to let DHCP assign IP addresses
|
|
1099
1099
|
:param pulumi.Input[_builtins.str] ipam_ids: IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network.
|
|
1100
|
-
:param pulumi.Input[_builtins.str]
|
|
1100
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_configs: Define an IP address in the subnet of your private network that will be assigned to your load balancer instance
|
|
1101
1101
|
:param pulumi.Input[_builtins.str] status: The status of the private network connection.
|
|
1102
1102
|
:param pulumi.Input[_builtins.str] zone: `zone`) The zone of the Load Balancer.
|
|
1103
1103
|
"""
|
|
@@ -1109,11 +1109,11 @@ class LoadBalancerPrivateNetworkArgs:
|
|
|
1109
1109
|
pulumi.set(__self__, "dhcp_config", dhcp_config)
|
|
1110
1110
|
if ipam_ids is not None:
|
|
1111
1111
|
pulumi.set(__self__, "ipam_ids", ipam_ids)
|
|
1112
|
-
if
|
|
1112
|
+
if static_configs is not None:
|
|
1113
1113
|
warnings.warn("""static_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""", DeprecationWarning)
|
|
1114
|
-
pulumi.log.warn("""
|
|
1115
|
-
if
|
|
1116
|
-
pulumi.set(__self__, "
|
|
1114
|
+
pulumi.log.warn("""static_configs is deprecated: static_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""")
|
|
1115
|
+
if static_configs is not None:
|
|
1116
|
+
pulumi.set(__self__, "static_configs", static_configs)
|
|
1117
1117
|
if status is not None:
|
|
1118
1118
|
pulumi.set(__self__, "status", status)
|
|
1119
1119
|
if zone is not None:
|
|
@@ -1158,17 +1158,17 @@ class LoadBalancerPrivateNetworkArgs:
|
|
|
1158
1158
|
pulumi.set(self, "ipam_ids", value)
|
|
1159
1159
|
|
|
1160
1160
|
@_builtins.property
|
|
1161
|
-
@pulumi.getter(name="
|
|
1161
|
+
@pulumi.getter(name="staticConfigs")
|
|
1162
1162
|
@_utilities.deprecated("""static_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""")
|
|
1163
|
-
def
|
|
1163
|
+
def static_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1164
1164
|
"""
|
|
1165
1165
|
Define an IP address in the subnet of your private network that will be assigned to your load balancer instance
|
|
1166
1166
|
"""
|
|
1167
|
-
return pulumi.get(self, "
|
|
1167
|
+
return pulumi.get(self, "static_configs")
|
|
1168
1168
|
|
|
1169
|
-
@
|
|
1170
|
-
def
|
|
1171
|
-
pulumi.set(self, "
|
|
1169
|
+
@static_configs.setter
|
|
1170
|
+
def static_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1171
|
+
pulumi.set(self, "static_configs", value)
|
|
1172
1172
|
|
|
1173
1173
|
@_builtins.property
|
|
1174
1174
|
@pulumi.getter
|
|
@@ -162,6 +162,36 @@ def get_certificate(certificate_id: Optional[_builtins.str] = None,
|
|
|
162
162
|
|
|
163
163
|
## Examples
|
|
164
164
|
|
|
165
|
+
### Let's Encrypt
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
import pulumi
|
|
169
|
+
import pulumi_scaleway as scaleway
|
|
170
|
+
import pulumi_std as std
|
|
171
|
+
import pulumiverse_scaleway as scaleway
|
|
172
|
+
|
|
173
|
+
main = scaleway.loadbalancers.Ip("main")
|
|
174
|
+
main_load_balancer = scaleway.loadbalancers.LoadBalancer("main",
|
|
175
|
+
ip_id=main.id,
|
|
176
|
+
name="data-test-lb-cert",
|
|
177
|
+
type="LB-S")
|
|
178
|
+
main_certificate = scaleway.loadbalancers.Certificate("main",
|
|
179
|
+
lb_id=main_load_balancer.id,
|
|
180
|
+
name="data-test-lb-cert",
|
|
181
|
+
letsencrypt={
|
|
182
|
+
"common_name": pulumi.Output.all(
|
|
183
|
+
ip_address=main_load_balancer.ip_address,
|
|
184
|
+
region=main_load_balancer.region
|
|
185
|
+
).apply(lambda resolved_outputs: f"{std.index.replace(text=resolved_outputs['ip_address'],
|
|
186
|
+
search='.',
|
|
187
|
+
replace='-')['result']}.lb.{resolved_outputs['region']}.scw.cloud")
|
|
188
|
+
,
|
|
189
|
+
})
|
|
190
|
+
by_id = scaleway.loadbalancers.get_certificate_output(certificate_id=main_certificate.id)
|
|
191
|
+
by_name = scaleway.loadbalancers.get_certificate_output(name=main_certificate.name,
|
|
192
|
+
lb_id=main_load_balancer.id)
|
|
193
|
+
```
|
|
194
|
+
|
|
165
195
|
|
|
166
196
|
:param _builtins.str certificate_id: The certificate ID.
|
|
167
197
|
- Only one of `name` and `certificate_id` should be specified.
|
|
@@ -202,6 +232,36 @@ def get_certificate_output(certificate_id: Optional[pulumi.Input[Optional[_built
|
|
|
202
232
|
|
|
203
233
|
## Examples
|
|
204
234
|
|
|
235
|
+
### Let's Encrypt
|
|
236
|
+
|
|
237
|
+
```python
|
|
238
|
+
import pulumi
|
|
239
|
+
import pulumi_scaleway as scaleway
|
|
240
|
+
import pulumi_std as std
|
|
241
|
+
import pulumiverse_scaleway as scaleway
|
|
242
|
+
|
|
243
|
+
main = scaleway.loadbalancers.Ip("main")
|
|
244
|
+
main_load_balancer = scaleway.loadbalancers.LoadBalancer("main",
|
|
245
|
+
ip_id=main.id,
|
|
246
|
+
name="data-test-lb-cert",
|
|
247
|
+
type="LB-S")
|
|
248
|
+
main_certificate = scaleway.loadbalancers.Certificate("main",
|
|
249
|
+
lb_id=main_load_balancer.id,
|
|
250
|
+
name="data-test-lb-cert",
|
|
251
|
+
letsencrypt={
|
|
252
|
+
"common_name": pulumi.Output.all(
|
|
253
|
+
ip_address=main_load_balancer.ip_address,
|
|
254
|
+
region=main_load_balancer.region
|
|
255
|
+
).apply(lambda resolved_outputs: f"{std.index.replace(text=resolved_outputs['ip_address'],
|
|
256
|
+
search='.',
|
|
257
|
+
replace='-')['result']}.lb.{resolved_outputs['region']}.scw.cloud")
|
|
258
|
+
,
|
|
259
|
+
})
|
|
260
|
+
by_id = scaleway.loadbalancers.get_certificate_output(certificate_id=main_certificate.id)
|
|
261
|
+
by_name = scaleway.loadbalancers.get_certificate_output(name=main_certificate.name,
|
|
262
|
+
lb_id=main_load_balancer.id)
|
|
263
|
+
```
|
|
264
|
+
|
|
205
265
|
|
|
206
266
|
:param _builtins.str certificate_id: The certificate ID.
|
|
207
267
|
- Only one of `name` and `certificate_id` should be specified.
|
|
@@ -27,7 +27,7 @@ class GetLoadBalancerResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getLoadBalancer.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, assign_flexible_ip=None, assign_flexible_ipv6=None, description=None, id=None, ip_address=None, ip_id=None, ip_ids=None, ipv6_address=None, lb_id=None, name=None, organization_id=None, private_ips=None, private_networks=None, project_id=None, region=None, release_ip=None, ssl_compatibility_level=None, tags=None, type=None, zone=None):
|
|
30
|
+
def __init__(__self__, assign_flexible_ip=None, assign_flexible_ipv6=None, description=None, external_private_networks=None, id=None, ip_address=None, ip_id=None, ip_ids=None, ipv6_address=None, lb_id=None, name=None, organization_id=None, private_ips=None, private_networks=None, project_id=None, region=None, release_ip=None, ssl_compatibility_level=None, tags=None, type=None, zone=None):
|
|
31
31
|
if assign_flexible_ip and not isinstance(assign_flexible_ip, bool):
|
|
32
32
|
raise TypeError("Expected argument 'assign_flexible_ip' to be a bool")
|
|
33
33
|
pulumi.set(__self__, "assign_flexible_ip", assign_flexible_ip)
|
|
@@ -37,6 +37,9 @@ class GetLoadBalancerResult:
|
|
|
37
37
|
if description and not isinstance(description, str):
|
|
38
38
|
raise TypeError("Expected argument 'description' to be a str")
|
|
39
39
|
pulumi.set(__self__, "description", description)
|
|
40
|
+
if external_private_networks and not isinstance(external_private_networks, bool):
|
|
41
|
+
raise TypeError("Expected argument 'external_private_networks' to be a bool")
|
|
42
|
+
pulumi.set(__self__, "external_private_networks", external_private_networks)
|
|
40
43
|
if id and not isinstance(id, str):
|
|
41
44
|
raise TypeError("Expected argument 'id' to be a str")
|
|
42
45
|
pulumi.set(__self__, "id", id)
|
|
@@ -104,6 +107,11 @@ class GetLoadBalancerResult:
|
|
|
104
107
|
def description(self) -> _builtins.str:
|
|
105
108
|
return pulumi.get(self, "description")
|
|
106
109
|
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
112
|
+
def external_private_networks(self) -> _builtins.bool:
|
|
113
|
+
return pulumi.get(self, "external_private_networks")
|
|
114
|
+
|
|
107
115
|
@_builtins.property
|
|
108
116
|
@pulumi.getter
|
|
109
117
|
def id(self) -> _builtins.str:
|
|
@@ -214,6 +222,7 @@ class AwaitableGetLoadBalancerResult(GetLoadBalancerResult):
|
|
|
214
222
|
assign_flexible_ip=self.assign_flexible_ip,
|
|
215
223
|
assign_flexible_ipv6=self.assign_flexible_ipv6,
|
|
216
224
|
description=self.description,
|
|
225
|
+
external_private_networks=self.external_private_networks,
|
|
217
226
|
id=self.id,
|
|
218
227
|
ip_address=self.ip_address,
|
|
219
228
|
ip_id=self.ip_id,
|
|
@@ -274,6 +283,7 @@ def get_load_balancer(lb_id: Optional[_builtins.str] = None,
|
|
|
274
283
|
assign_flexible_ip=pulumi.get(__ret__, 'assign_flexible_ip'),
|
|
275
284
|
assign_flexible_ipv6=pulumi.get(__ret__, 'assign_flexible_ipv6'),
|
|
276
285
|
description=pulumi.get(__ret__, 'description'),
|
|
286
|
+
external_private_networks=pulumi.get(__ret__, 'external_private_networks'),
|
|
277
287
|
id=pulumi.get(__ret__, 'id'),
|
|
278
288
|
ip_address=pulumi.get(__ret__, 'ip_address'),
|
|
279
289
|
ip_id=pulumi.get(__ret__, 'ip_id'),
|
|
@@ -331,6 +341,7 @@ def get_load_balancer_output(lb_id: Optional[pulumi.Input[Optional[_builtins.str
|
|
|
331
341
|
assign_flexible_ip=pulumi.get(__response__, 'assign_flexible_ip'),
|
|
332
342
|
assign_flexible_ipv6=pulumi.get(__response__, 'assign_flexible_ipv6'),
|
|
333
343
|
description=pulumi.get(__response__, 'description'),
|
|
344
|
+
external_private_networks=pulumi.get(__response__, 'external_private_networks'),
|
|
334
345
|
id=pulumi.get(__response__, 'id'),
|
|
335
346
|
ip_address=pulumi.get(__response__, 'ip_address'),
|
|
336
347
|
ip_id=pulumi.get(__response__, 'ip_id'),
|
|
@@ -25,6 +25,7 @@ class LoadBalancerArgs:
|
|
|
25
25
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
26
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
27
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
29
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
30
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
30
31
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -40,6 +41,8 @@ class LoadBalancerArgs:
|
|
|
40
41
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
41
42
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
42
43
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
44
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
45
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
43
46
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
44
47
|
|
|
45
48
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
@@ -61,6 +64,8 @@ class LoadBalancerArgs:
|
|
|
61
64
|
pulumi.set(__self__, "assign_flexible_ipv6", assign_flexible_ipv6)
|
|
62
65
|
if description is not None:
|
|
63
66
|
pulumi.set(__self__, "description", description)
|
|
67
|
+
if external_private_networks is not None:
|
|
68
|
+
pulumi.set(__self__, "external_private_networks", external_private_networks)
|
|
64
69
|
if ip_id is not None:
|
|
65
70
|
warnings.warn("""Please use ip_ids""", DeprecationWarning)
|
|
66
71
|
pulumi.log.warn("""ip_id is deprecated: Please use ip_ids""")
|
|
@@ -134,6 +139,19 @@ class LoadBalancerArgs:
|
|
|
134
139
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
140
|
pulumi.set(self, "description", value)
|
|
136
141
|
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
144
|
+
def external_private_networks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
145
|
+
"""
|
|
146
|
+
A boolean to specify whether to use lb_private_network.
|
|
147
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "external_private_networks")
|
|
150
|
+
|
|
151
|
+
@external_private_networks.setter
|
|
152
|
+
def external_private_networks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
153
|
+
pulumi.set(self, "external_private_networks", value)
|
|
154
|
+
|
|
137
155
|
@_builtins.property
|
|
138
156
|
@pulumi.getter(name="ipId")
|
|
139
157
|
@_utilities.deprecated("""Please use ip_ids""")
|
|
@@ -255,6 +273,7 @@ class _LoadBalancerState:
|
|
|
255
273
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
256
274
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
257
275
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
258
277
|
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
259
278
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
260
279
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -275,6 +294,8 @@ class _LoadBalancerState:
|
|
|
275
294
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
276
295
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
277
296
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
297
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
298
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
278
299
|
:param pulumi.Input[_builtins.str] ip_address: The Load Balancer public IPv4 address.
|
|
279
300
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
280
301
|
|
|
@@ -301,6 +322,8 @@ class _LoadBalancerState:
|
|
|
301
322
|
pulumi.set(__self__, "assign_flexible_ipv6", assign_flexible_ipv6)
|
|
302
323
|
if description is not None:
|
|
303
324
|
pulumi.set(__self__, "description", description)
|
|
325
|
+
if external_private_networks is not None:
|
|
326
|
+
pulumi.set(__self__, "external_private_networks", external_private_networks)
|
|
304
327
|
if ip_address is not None:
|
|
305
328
|
pulumi.set(__self__, "ip_address", ip_address)
|
|
306
329
|
if ip_id is not None:
|
|
@@ -374,6 +397,19 @@ class _LoadBalancerState:
|
|
|
374
397
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
375
398
|
pulumi.set(self, "description", value)
|
|
376
399
|
|
|
400
|
+
@_builtins.property
|
|
401
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
402
|
+
def external_private_networks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
403
|
+
"""
|
|
404
|
+
A boolean to specify whether to use lb_private_network.
|
|
405
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
406
|
+
"""
|
|
407
|
+
return pulumi.get(self, "external_private_networks")
|
|
408
|
+
|
|
409
|
+
@external_private_networks.setter
|
|
410
|
+
def external_private_networks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
411
|
+
pulumi.set(self, "external_private_networks", value)
|
|
412
|
+
|
|
377
413
|
@_builtins.property
|
|
378
414
|
@pulumi.getter(name="ipAddress")
|
|
379
415
|
def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -570,6 +606,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
570
606
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
571
607
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
572
608
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
609
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
573
610
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
574
611
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
575
612
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -682,6 +719,8 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
682
719
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
683
720
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
684
721
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
722
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
723
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
685
724
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
686
725
|
|
|
687
726
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
@@ -817,6 +856,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
817
856
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
818
857
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
819
858
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
859
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
820
860
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
821
861
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
822
862
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -839,6 +879,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
839
879
|
__props__.__dict__["assign_flexible_ip"] = assign_flexible_ip
|
|
840
880
|
__props__.__dict__["assign_flexible_ipv6"] = assign_flexible_ipv6
|
|
841
881
|
__props__.__dict__["description"] = description
|
|
882
|
+
__props__.__dict__["external_private_networks"] = external_private_networks
|
|
842
883
|
__props__.__dict__["ip_id"] = ip_id
|
|
843
884
|
__props__.__dict__["ip_ids"] = ip_ids
|
|
844
885
|
__props__.__dict__["name"] = name
|
|
@@ -871,6 +912,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
871
912
|
assign_flexible_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
872
913
|
assign_flexible_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
873
914
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
915
|
+
external_private_networks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
874
916
|
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
875
917
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
876
918
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -896,6 +938,8 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
896
938
|
:param pulumi.Input[_builtins.bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
897
939
|
:param pulumi.Input[_builtins.bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
898
940
|
:param pulumi.Input[_builtins.str] description: The description of the Load Balancer.
|
|
941
|
+
:param pulumi.Input[_builtins.bool] external_private_networks: A boolean to specify whether to use lb_private_network.
|
|
942
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
899
943
|
:param pulumi.Input[_builtins.str] ip_address: The Load Balancer public IPv4 address.
|
|
900
944
|
:param pulumi.Input[_builtins.str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
901
945
|
|
|
@@ -923,6 +967,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
923
967
|
__props__.__dict__["assign_flexible_ip"] = assign_flexible_ip
|
|
924
968
|
__props__.__dict__["assign_flexible_ipv6"] = assign_flexible_ipv6
|
|
925
969
|
__props__.__dict__["description"] = description
|
|
970
|
+
__props__.__dict__["external_private_networks"] = external_private_networks
|
|
926
971
|
__props__.__dict__["ip_address"] = ip_address
|
|
927
972
|
__props__.__dict__["ip_id"] = ip_id
|
|
928
973
|
__props__.__dict__["ip_ids"] = ip_ids
|
|
@@ -964,6 +1009,15 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
964
1009
|
"""
|
|
965
1010
|
return pulumi.get(self, "description")
|
|
966
1011
|
|
|
1012
|
+
@_builtins.property
|
|
1013
|
+
@pulumi.getter(name="externalPrivateNetworks")
|
|
1014
|
+
def external_private_networks(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1015
|
+
"""
|
|
1016
|
+
A boolean to specify whether to use lb_private_network.
|
|
1017
|
+
If `external_private_networks` is set to `true`, `private_network` can not be set directly in the Load Balancer.
|
|
1018
|
+
"""
|
|
1019
|
+
return pulumi.get(self, "external_private_networks")
|
|
1020
|
+
|
|
967
1021
|
@_builtins.property
|
|
968
1022
|
@pulumi.getter(name="ipAddress")
|
|
969
1023
|
def ip_address(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -1027,7 +1081,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1027
1081
|
|
|
1028
1082
|
@_builtins.property
|
|
1029
1083
|
@pulumi.getter(name="privateNetworks")
|
|
1030
|
-
def private_networks(self) -> pulumi.Output[
|
|
1084
|
+
def private_networks(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPrivateNetwork']]:
|
|
1031
1085
|
"""
|
|
1032
1086
|
List of private network to connect with your load balancer.
|
|
1033
1087
|
"""
|