pulumiverse-scaleway 1.23.0a1736837529__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 pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +1065 -0
- pulumiverse_scaleway/_inputs.py +8688 -0
- pulumiverse_scaleway/_utilities.py +327 -0
- pulumiverse_scaleway/account_project.py +316 -0
- pulumiverse_scaleway/account_ssh_key.py +454 -0
- pulumiverse_scaleway/apple_silicon_server.py +564 -0
- pulumiverse_scaleway/baremetal_server.py +1579 -0
- pulumiverse_scaleway/block_snapshot.py +401 -0
- pulumiverse_scaleway/block_volume.py +527 -0
- pulumiverse_scaleway/cockpit.py +314 -0
- pulumiverse_scaleway/cockpit_alert_manager.py +401 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +362 -0
- pulumiverse_scaleway/cockpit_source.py +567 -0
- pulumiverse_scaleway/cockpit_token.py +479 -0
- pulumiverse_scaleway/config/__init__.py +8 -0
- pulumiverse_scaleway/config/__init__.pyi +56 -0
- pulumiverse_scaleway/config/vars.py +78 -0
- pulumiverse_scaleway/container.py +1373 -0
- pulumiverse_scaleway/container_cron.py +458 -0
- pulumiverse_scaleway/container_domain.py +406 -0
- pulumiverse_scaleway/container_namespace.py +636 -0
- pulumiverse_scaleway/container_token.py +452 -0
- pulumiverse_scaleway/container_trigger.py +480 -0
- pulumiverse_scaleway/database.py +407 -0
- pulumiverse_scaleway/database_acl.py +332 -0
- pulumiverse_scaleway/database_backup.py +574 -0
- pulumiverse_scaleway/database_instance.py +1641 -0
- pulumiverse_scaleway/database_privilege.py +422 -0
- pulumiverse_scaleway/database_read_replica.py +528 -0
- pulumiverse_scaleway/database_user.py +446 -0
- pulumiverse_scaleway/domain_record.py +1116 -0
- pulumiverse_scaleway/domain_zone.py +430 -0
- pulumiverse_scaleway/flexible_ip.py +702 -0
- pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
- pulumiverse_scaleway/function.py +1103 -0
- pulumiverse_scaleway/function_cron.py +462 -0
- pulumiverse_scaleway/function_domain.py +370 -0
- pulumiverse_scaleway/function_namespace.py +580 -0
- pulumiverse_scaleway/function_token.py +460 -0
- pulumiverse_scaleway/function_trigger.py +480 -0
- pulumiverse_scaleway/get_account_project.py +170 -0
- pulumiverse_scaleway/get_account_ssh_key.py +205 -0
- pulumiverse_scaleway/get_availability_zones.py +139 -0
- pulumiverse_scaleway/get_baremetal_offer.py +245 -0
- pulumiverse_scaleway/get_baremetal_option.py +168 -0
- pulumiverse_scaleway/get_baremetal_os.py +174 -0
- pulumiverse_scaleway/get_baremetal_server.py +422 -0
- pulumiverse_scaleway/get_billing_consumptions.py +134 -0
- pulumiverse_scaleway/get_billing_invoices.py +154 -0
- pulumiverse_scaleway/get_block_snapshot.py +174 -0
- pulumiverse_scaleway/get_block_volume.py +188 -0
- pulumiverse_scaleway/get_cockpit.py +204 -0
- pulumiverse_scaleway/get_cockpit_plan.py +125 -0
- pulumiverse_scaleway/get_cockpit_source.py +262 -0
- pulumiverse_scaleway/get_config.py +180 -0
- pulumiverse_scaleway/get_container.py +522 -0
- pulumiverse_scaleway/get_container_namespace.py +283 -0
- pulumiverse_scaleway/get_database.py +187 -0
- pulumiverse_scaleway/get_database_acl.py +143 -0
- pulumiverse_scaleway/get_database_backup.py +253 -0
- pulumiverse_scaleway/get_database_instance.py +404 -0
- pulumiverse_scaleway/get_database_privilege.py +181 -0
- pulumiverse_scaleway/get_domain_record.py +340 -0
- pulumiverse_scaleway/get_domain_zone.py +201 -0
- pulumiverse_scaleway/get_flexible_ip.py +247 -0
- pulumiverse_scaleway/get_flexible_ips.py +240 -0
- pulumiverse_scaleway/get_function.py +365 -0
- pulumiverse_scaleway/get_function_namespace.py +238 -0
- pulumiverse_scaleway/get_iam_api_key.py +210 -0
- pulumiverse_scaleway/get_iam_application.py +210 -0
- pulumiverse_scaleway/get_iam_group.py +236 -0
- pulumiverse_scaleway/get_iam_ssh_key.py +212 -0
- pulumiverse_scaleway/get_iam_user.py +177 -0
- pulumiverse_scaleway/get_instance_image.py +305 -0
- pulumiverse_scaleway/get_instance_ip.py +204 -0
- pulumiverse_scaleway/get_instance_placement_group.py +212 -0
- pulumiverse_scaleway/get_instance_private_nic.py +226 -0
- pulumiverse_scaleway/get_instance_security_group.py +268 -0
- pulumiverse_scaleway/get_instance_server.py +502 -0
- pulumiverse_scaleway/get_instance_servers.py +187 -0
- pulumiverse_scaleway/get_instance_snapshot.py +248 -0
- pulumiverse_scaleway/get_instance_volume.py +215 -0
- pulumiverse_scaleway/get_iot_device.py +257 -0
- pulumiverse_scaleway/get_iot_hub.py +322 -0
- pulumiverse_scaleway/get_ipam_ip.py +419 -0
- pulumiverse_scaleway/get_ipam_ips.py +358 -0
- pulumiverse_scaleway/get_k8s_version.py +196 -0
- pulumiverse_scaleway/get_kubernetes_cluster.py +417 -0
- pulumiverse_scaleway/get_kubernetes_node_pool.py +436 -0
- pulumiverse_scaleway/get_lb_acls.py +198 -0
- pulumiverse_scaleway/get_lb_backend.py +486 -0
- pulumiverse_scaleway/get_lb_backends.py +196 -0
- pulumiverse_scaleway/get_lb_frontend.py +274 -0
- pulumiverse_scaleway/get_lb_frontends.py +196 -0
- pulumiverse_scaleway/get_lb_ips.py +198 -0
- pulumiverse_scaleway/get_lb_route.py +217 -0
- pulumiverse_scaleway/get_lb_routes.py +179 -0
- pulumiverse_scaleway/get_lbs.py +187 -0
- pulumiverse_scaleway/get_loadbalancer.py +339 -0
- pulumiverse_scaleway/get_loadbalancer_certificate.py +230 -0
- pulumiverse_scaleway/get_loadbalancer_ip.py +228 -0
- pulumiverse_scaleway/get_marketplace_image.py +147 -0
- pulumiverse_scaleway/get_mnq_sns.py +150 -0
- pulumiverse_scaleway/get_mnq_sqs.py +150 -0
- pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
- pulumiverse_scaleway/get_object_bucket.py +290 -0
- pulumiverse_scaleway/get_object_bucket_policy.py +163 -0
- pulumiverse_scaleway/get_redis_cluster.py +347 -0
- pulumiverse_scaleway/get_registry_image.py +239 -0
- pulumiverse_scaleway/get_registry_image_tag.py +229 -0
- pulumiverse_scaleway/get_registry_namespace.py +199 -0
- pulumiverse_scaleway/get_secret.py +338 -0
- pulumiverse_scaleway/get_secret_version.py +340 -0
- pulumiverse_scaleway/get_tem_domain.py +378 -0
- pulumiverse_scaleway/get_vpc.py +246 -0
- pulumiverse_scaleway/get_vpc_gateway_network.py +287 -0
- pulumiverse_scaleway/get_vpc_private_network.py +282 -0
- pulumiverse_scaleway/get_vpc_public_gateway.py +304 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +305 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +382 -0
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +199 -0
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +313 -0
- pulumiverse_scaleway/get_vpc_routes.py +208 -0
- pulumiverse_scaleway/get_vpcs.py +174 -0
- pulumiverse_scaleway/get_web_host_offer.py +192 -0
- pulumiverse_scaleway/get_webhosting.py +332 -0
- pulumiverse_scaleway/iam_api_key.py +620 -0
- pulumiverse_scaleway/iam_application.py +417 -0
- pulumiverse_scaleway/iam_group.py +566 -0
- pulumiverse_scaleway/iam_group_membership.py +323 -0
- pulumiverse_scaleway/iam_policy.py +773 -0
- pulumiverse_scaleway/iam_ssh_key.py +455 -0
- pulumiverse_scaleway/iam_user.py +513 -0
- pulumiverse_scaleway/inference_deployment.py +822 -0
- pulumiverse_scaleway/instance_image.py +750 -0
- pulumiverse_scaleway/instance_ip.py +483 -0
- pulumiverse_scaleway/instance_ip_reverse_dns.py +308 -0
- pulumiverse_scaleway/instance_placement_group.py +479 -0
- pulumiverse_scaleway/instance_private_nic.py +555 -0
- pulumiverse_scaleway/instance_security_group.py +720 -0
- pulumiverse_scaleway/instance_security_group_rules.py +439 -0
- pulumiverse_scaleway/instance_server.py +2006 -0
- pulumiverse_scaleway/instance_snapshot.py +669 -0
- pulumiverse_scaleway/instance_user_data.py +435 -0
- pulumiverse_scaleway/instance_volume.py +535 -0
- pulumiverse_scaleway/iot_device.py +750 -0
- pulumiverse_scaleway/iot_hub.py +896 -0
- pulumiverse_scaleway/iot_network.py +472 -0
- pulumiverse_scaleway/iot_route.py +660 -0
- pulumiverse_scaleway/ipam_ip.py +757 -0
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +318 -0
- pulumiverse_scaleway/job_definition.py +692 -0
- pulumiverse_scaleway/kubernetes_cluster.py +1538 -0
- pulumiverse_scaleway/kubernetes_node_pool.py +1255 -0
- pulumiverse_scaleway/loadbalancer.py +1061 -0
- pulumiverse_scaleway/loadbalancer_acl.py +520 -0
- pulumiverse_scaleway/loadbalancer_backend.py +1588 -0
- pulumiverse_scaleway/loadbalancer_certificate.py +460 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +829 -0
- pulumiverse_scaleway/loadbalancer_ip.py +514 -0
- pulumiverse_scaleway/loadbalancer_route.py +523 -0
- pulumiverse_scaleway/mnq_nats_account.py +334 -0
- pulumiverse_scaleway/mnq_nats_credentials.py +330 -0
- pulumiverse_scaleway/mnq_sns.py +306 -0
- pulumiverse_scaleway/mnq_sns_credentials.py +413 -0
- pulumiverse_scaleway/mnq_sns_topic.py +659 -0
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +699 -0
- pulumiverse_scaleway/mnq_sqs.py +304 -0
- pulumiverse_scaleway/mnq_sqs_credentials.py +413 -0
- pulumiverse_scaleway/mnq_sqs_queue.py +800 -0
- pulumiverse_scaleway/mongo_db_instance.py +907 -0
- pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
- pulumiverse_scaleway/object_bucket.py +874 -0
- pulumiverse_scaleway/object_bucket_acl.py +596 -0
- pulumiverse_scaleway/object_bucket_lock_configuration.py +395 -0
- pulumiverse_scaleway/object_bucket_policy.py +673 -0
- pulumiverse_scaleway/object_bucket_website_configuration.py +534 -0
- pulumiverse_scaleway/object_item.py +776 -0
- pulumiverse_scaleway/outputs.py +11808 -0
- pulumiverse_scaleway/provider.py +327 -0
- pulumiverse_scaleway/pulumi-plugin.json +6 -0
- pulumiverse_scaleway/py.typed +0 -0
- pulumiverse_scaleway/redis_cluster.py +1201 -0
- pulumiverse_scaleway/registry_namespace.py +458 -0
- pulumiverse_scaleway/sdb_database.py +432 -0
- pulumiverse_scaleway/secret.py +663 -0
- pulumiverse_scaleway/secret_version.py +487 -0
- pulumiverse_scaleway/tem_domain.py +1030 -0
- pulumiverse_scaleway/tem_domain_validation.py +303 -0
- pulumiverse_scaleway/tem_webhook.py +640 -0
- pulumiverse_scaleway/vpc.py +536 -0
- pulumiverse_scaleway/vpc_gateway_network.py +866 -0
- pulumiverse_scaleway/vpc_private_network.py +734 -0
- pulumiverse_scaleway/vpc_public_gateway.py +789 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +933 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +514 -0
- pulumiverse_scaleway/vpc_public_gateway_ip.py +457 -0
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +306 -0
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +591 -0
- pulumiverse_scaleway/vpc_route.py +577 -0
- pulumiverse_scaleway/webhosting.py +805 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/METADATA +77 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/WHEEL +5 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetKubernetesNodePoolResult',
|
|
20
|
+
'AwaitableGetKubernetesNodePoolResult',
|
|
21
|
+
'get_kubernetes_node_pool',
|
|
22
|
+
'get_kubernetes_node_pool_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetKubernetesNodePoolResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getKubernetesNodePool.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, autohealing=None, autoscaling=None, cluster_id=None, container_runtime=None, created_at=None, current_size=None, id=None, kubelet_args=None, max_size=None, min_size=None, name=None, node_type=None, nodes=None, placement_group_id=None, pool_id=None, public_ip_disabled=None, region=None, root_volume_size_in_gb=None, root_volume_type=None, size=None, status=None, tags=None, updated_at=None, upgrade_policies=None, version=None, wait_for_pool_ready=None, zone=None):
|
|
31
|
+
if autohealing and not isinstance(autohealing, bool):
|
|
32
|
+
raise TypeError("Expected argument 'autohealing' to be a bool")
|
|
33
|
+
pulumi.set(__self__, "autohealing", autohealing)
|
|
34
|
+
if autoscaling and not isinstance(autoscaling, bool):
|
|
35
|
+
raise TypeError("Expected argument 'autoscaling' to be a bool")
|
|
36
|
+
pulumi.set(__self__, "autoscaling", autoscaling)
|
|
37
|
+
if cluster_id and not isinstance(cluster_id, str):
|
|
38
|
+
raise TypeError("Expected argument 'cluster_id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
40
|
+
if container_runtime and not isinstance(container_runtime, str):
|
|
41
|
+
raise TypeError("Expected argument 'container_runtime' to be a str")
|
|
42
|
+
pulumi.set(__self__, "container_runtime", container_runtime)
|
|
43
|
+
if created_at and not isinstance(created_at, str):
|
|
44
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
45
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
46
|
+
if current_size and not isinstance(current_size, int):
|
|
47
|
+
raise TypeError("Expected argument 'current_size' to be a int")
|
|
48
|
+
pulumi.set(__self__, "current_size", current_size)
|
|
49
|
+
if id and not isinstance(id, str):
|
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
51
|
+
pulumi.set(__self__, "id", id)
|
|
52
|
+
if kubelet_args and not isinstance(kubelet_args, dict):
|
|
53
|
+
raise TypeError("Expected argument 'kubelet_args' to be a dict")
|
|
54
|
+
pulumi.set(__self__, "kubelet_args", kubelet_args)
|
|
55
|
+
if max_size and not isinstance(max_size, int):
|
|
56
|
+
raise TypeError("Expected argument 'max_size' to be a int")
|
|
57
|
+
pulumi.set(__self__, "max_size", max_size)
|
|
58
|
+
if min_size and not isinstance(min_size, int):
|
|
59
|
+
raise TypeError("Expected argument 'min_size' to be a int")
|
|
60
|
+
pulumi.set(__self__, "min_size", min_size)
|
|
61
|
+
if name and not isinstance(name, str):
|
|
62
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
63
|
+
pulumi.set(__self__, "name", name)
|
|
64
|
+
if node_type and not isinstance(node_type, str):
|
|
65
|
+
raise TypeError("Expected argument 'node_type' to be a str")
|
|
66
|
+
pulumi.set(__self__, "node_type", node_type)
|
|
67
|
+
if nodes and not isinstance(nodes, list):
|
|
68
|
+
raise TypeError("Expected argument 'nodes' to be a list")
|
|
69
|
+
pulumi.set(__self__, "nodes", nodes)
|
|
70
|
+
if placement_group_id and not isinstance(placement_group_id, str):
|
|
71
|
+
raise TypeError("Expected argument 'placement_group_id' to be a str")
|
|
72
|
+
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
|
73
|
+
if pool_id and not isinstance(pool_id, str):
|
|
74
|
+
raise TypeError("Expected argument 'pool_id' to be a str")
|
|
75
|
+
pulumi.set(__self__, "pool_id", pool_id)
|
|
76
|
+
if public_ip_disabled and not isinstance(public_ip_disabled, bool):
|
|
77
|
+
raise TypeError("Expected argument 'public_ip_disabled' to be a bool")
|
|
78
|
+
pulumi.set(__self__, "public_ip_disabled", public_ip_disabled)
|
|
79
|
+
if region and not isinstance(region, str):
|
|
80
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
81
|
+
pulumi.set(__self__, "region", region)
|
|
82
|
+
if root_volume_size_in_gb and not isinstance(root_volume_size_in_gb, int):
|
|
83
|
+
raise TypeError("Expected argument 'root_volume_size_in_gb' to be a int")
|
|
84
|
+
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
|
85
|
+
if root_volume_type and not isinstance(root_volume_type, str):
|
|
86
|
+
raise TypeError("Expected argument 'root_volume_type' to be a str")
|
|
87
|
+
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
|
88
|
+
if size and not isinstance(size, int):
|
|
89
|
+
raise TypeError("Expected argument 'size' to be a int")
|
|
90
|
+
pulumi.set(__self__, "size", size)
|
|
91
|
+
if status and not isinstance(status, str):
|
|
92
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
93
|
+
pulumi.set(__self__, "status", status)
|
|
94
|
+
if tags and not isinstance(tags, list):
|
|
95
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
96
|
+
pulumi.set(__self__, "tags", tags)
|
|
97
|
+
if updated_at and not isinstance(updated_at, str):
|
|
98
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
99
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
100
|
+
if upgrade_policies and not isinstance(upgrade_policies, list):
|
|
101
|
+
raise TypeError("Expected argument 'upgrade_policies' to be a list")
|
|
102
|
+
pulumi.set(__self__, "upgrade_policies", upgrade_policies)
|
|
103
|
+
if version and not isinstance(version, str):
|
|
104
|
+
raise TypeError("Expected argument 'version' to be a str")
|
|
105
|
+
pulumi.set(__self__, "version", version)
|
|
106
|
+
if wait_for_pool_ready and not isinstance(wait_for_pool_ready, bool):
|
|
107
|
+
raise TypeError("Expected argument 'wait_for_pool_ready' to be a bool")
|
|
108
|
+
pulumi.set(__self__, "wait_for_pool_ready", wait_for_pool_ready)
|
|
109
|
+
if zone and not isinstance(zone, str):
|
|
110
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
|
111
|
+
pulumi.set(__self__, "zone", zone)
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter
|
|
115
|
+
def autohealing(self) -> bool:
|
|
116
|
+
"""
|
|
117
|
+
True if the autohealing feature is enabled for this pool.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "autohealing")
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter
|
|
123
|
+
def autoscaling(self) -> bool:
|
|
124
|
+
"""
|
|
125
|
+
True if the autoscaling feature is enabled for this pool.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "autoscaling")
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter(name="clusterId")
|
|
131
|
+
def cluster_id(self) -> Optional[str]:
|
|
132
|
+
return pulumi.get(self, "cluster_id")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="containerRuntime")
|
|
136
|
+
def container_runtime(self) -> str:
|
|
137
|
+
"""
|
|
138
|
+
The container runtime of the pool.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "container_runtime")
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter(name="createdAt")
|
|
144
|
+
def created_at(self) -> str:
|
|
145
|
+
"""
|
|
146
|
+
The creation date of the pool.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "created_at")
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
@pulumi.getter(name="currentSize")
|
|
152
|
+
def current_size(self) -> int:
|
|
153
|
+
return pulumi.get(self, "current_size")
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter
|
|
157
|
+
def id(self) -> str:
|
|
158
|
+
"""
|
|
159
|
+
The provider-assigned unique ID for this managed resource.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "id")
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
@pulumi.getter(name="kubeletArgs")
|
|
165
|
+
def kubelet_args(self) -> Mapping[str, str]:
|
|
166
|
+
return pulumi.get(self, "kubelet_args")
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter(name="maxSize")
|
|
170
|
+
def max_size(self) -> int:
|
|
171
|
+
"""
|
|
172
|
+
The maximum size of the pool, used by the autoscaling feature.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "max_size")
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@pulumi.getter(name="minSize")
|
|
178
|
+
def min_size(self) -> int:
|
|
179
|
+
"""
|
|
180
|
+
The minimum size of the pool, used by the autoscaling feature.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "min_size")
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter
|
|
186
|
+
def name(self) -> Optional[str]:
|
|
187
|
+
"""
|
|
188
|
+
The name of the node.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "name")
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
@pulumi.getter(name="nodeType")
|
|
194
|
+
def node_type(self) -> str:
|
|
195
|
+
"""
|
|
196
|
+
The commercial type of the pool instances.
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "node_type")
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter
|
|
202
|
+
def nodes(self) -> Sequence['outputs.GetKubernetesNodePoolNodeResult']:
|
|
203
|
+
"""
|
|
204
|
+
(List of) The nodes in the default pool.
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "nodes")
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
@pulumi.getter(name="placementGroupId")
|
|
210
|
+
def placement_group_id(self) -> str:
|
|
211
|
+
"""
|
|
212
|
+
[placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool are attached to.
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "placement_group_id")
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="poolId")
|
|
218
|
+
def pool_id(self) -> Optional[str]:
|
|
219
|
+
return pulumi.get(self, "pool_id")
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
@pulumi.getter(name="publicIpDisabled")
|
|
223
|
+
def public_ip_disabled(self) -> bool:
|
|
224
|
+
return pulumi.get(self, "public_ip_disabled")
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter
|
|
228
|
+
def region(self) -> Optional[str]:
|
|
229
|
+
return pulumi.get(self, "region")
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
@pulumi.getter(name="rootVolumeSizeInGb")
|
|
233
|
+
def root_volume_size_in_gb(self) -> int:
|
|
234
|
+
return pulumi.get(self, "root_volume_size_in_gb")
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
@pulumi.getter(name="rootVolumeType")
|
|
238
|
+
def root_volume_type(self) -> str:
|
|
239
|
+
return pulumi.get(self, "root_volume_type")
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
@pulumi.getter
|
|
243
|
+
def size(self) -> Optional[int]:
|
|
244
|
+
"""
|
|
245
|
+
The size of the pool.
|
|
246
|
+
"""
|
|
247
|
+
return pulumi.get(self, "size")
|
|
248
|
+
|
|
249
|
+
@property
|
|
250
|
+
@pulumi.getter
|
|
251
|
+
def status(self) -> str:
|
|
252
|
+
"""
|
|
253
|
+
The status of the node.
|
|
254
|
+
"""
|
|
255
|
+
return pulumi.get(self, "status")
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
@pulumi.getter
|
|
259
|
+
def tags(self) -> Sequence[str]:
|
|
260
|
+
"""
|
|
261
|
+
The tags associated with the pool.
|
|
262
|
+
"""
|
|
263
|
+
return pulumi.get(self, "tags")
|
|
264
|
+
|
|
265
|
+
@property
|
|
266
|
+
@pulumi.getter(name="updatedAt")
|
|
267
|
+
def updated_at(self) -> str:
|
|
268
|
+
"""
|
|
269
|
+
The last update date of the pool.
|
|
270
|
+
"""
|
|
271
|
+
return pulumi.get(self, "updated_at")
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
@pulumi.getter(name="upgradePolicies")
|
|
275
|
+
def upgrade_policies(self) -> Sequence['outputs.GetKubernetesNodePoolUpgradePolicyResult']:
|
|
276
|
+
return pulumi.get(self, "upgrade_policies")
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter
|
|
280
|
+
def version(self) -> str:
|
|
281
|
+
"""
|
|
282
|
+
The version of the pool.
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "version")
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter(name="waitForPoolReady")
|
|
288
|
+
def wait_for_pool_ready(self) -> bool:
|
|
289
|
+
return pulumi.get(self, "wait_for_pool_ready")
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter
|
|
293
|
+
def zone(self) -> str:
|
|
294
|
+
return pulumi.get(self, "zone")
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class AwaitableGetKubernetesNodePoolResult(GetKubernetesNodePoolResult):
|
|
298
|
+
# pylint: disable=using-constant-test
|
|
299
|
+
def __await__(self):
|
|
300
|
+
if False:
|
|
301
|
+
yield self
|
|
302
|
+
return GetKubernetesNodePoolResult(
|
|
303
|
+
autohealing=self.autohealing,
|
|
304
|
+
autoscaling=self.autoscaling,
|
|
305
|
+
cluster_id=self.cluster_id,
|
|
306
|
+
container_runtime=self.container_runtime,
|
|
307
|
+
created_at=self.created_at,
|
|
308
|
+
current_size=self.current_size,
|
|
309
|
+
id=self.id,
|
|
310
|
+
kubelet_args=self.kubelet_args,
|
|
311
|
+
max_size=self.max_size,
|
|
312
|
+
min_size=self.min_size,
|
|
313
|
+
name=self.name,
|
|
314
|
+
node_type=self.node_type,
|
|
315
|
+
nodes=self.nodes,
|
|
316
|
+
placement_group_id=self.placement_group_id,
|
|
317
|
+
pool_id=self.pool_id,
|
|
318
|
+
public_ip_disabled=self.public_ip_disabled,
|
|
319
|
+
region=self.region,
|
|
320
|
+
root_volume_size_in_gb=self.root_volume_size_in_gb,
|
|
321
|
+
root_volume_type=self.root_volume_type,
|
|
322
|
+
size=self.size,
|
|
323
|
+
status=self.status,
|
|
324
|
+
tags=self.tags,
|
|
325
|
+
updated_at=self.updated_at,
|
|
326
|
+
upgrade_policies=self.upgrade_policies,
|
|
327
|
+
version=self.version,
|
|
328
|
+
wait_for_pool_ready=self.wait_for_pool_ready,
|
|
329
|
+
zone=self.zone)
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
def get_kubernetes_node_pool(cluster_id: Optional[str] = None,
|
|
333
|
+
name: Optional[str] = None,
|
|
334
|
+
pool_id: Optional[str] = None,
|
|
335
|
+
region: Optional[str] = None,
|
|
336
|
+
size: Optional[int] = None,
|
|
337
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKubernetesNodePoolResult:
|
|
338
|
+
"""
|
|
339
|
+
Gets information about a Kubernetes Cluster's Pool.
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
:param str cluster_id: The cluster ID. Required when `name` is set.
|
|
343
|
+
:param str name: The pool name. Only one of `name` and `pool_id` should be specified. `cluster_id` should be specified with `name`.
|
|
344
|
+
:param str pool_id: The pool's ID. Only one of `name` and `pool_id` should be specified.
|
|
345
|
+
:param str region: `region`) The region in which the pool exists.
|
|
346
|
+
:param int size: The size of the pool.
|
|
347
|
+
"""
|
|
348
|
+
__args__ = dict()
|
|
349
|
+
__args__['clusterId'] = cluster_id
|
|
350
|
+
__args__['name'] = name
|
|
351
|
+
__args__['poolId'] = pool_id
|
|
352
|
+
__args__['region'] = region
|
|
353
|
+
__args__['size'] = size
|
|
354
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
355
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getKubernetesNodePool:getKubernetesNodePool', __args__, opts=opts, typ=GetKubernetesNodePoolResult).value
|
|
356
|
+
|
|
357
|
+
return AwaitableGetKubernetesNodePoolResult(
|
|
358
|
+
autohealing=pulumi.get(__ret__, 'autohealing'),
|
|
359
|
+
autoscaling=pulumi.get(__ret__, 'autoscaling'),
|
|
360
|
+
cluster_id=pulumi.get(__ret__, 'cluster_id'),
|
|
361
|
+
container_runtime=pulumi.get(__ret__, 'container_runtime'),
|
|
362
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
363
|
+
current_size=pulumi.get(__ret__, 'current_size'),
|
|
364
|
+
id=pulumi.get(__ret__, 'id'),
|
|
365
|
+
kubelet_args=pulumi.get(__ret__, 'kubelet_args'),
|
|
366
|
+
max_size=pulumi.get(__ret__, 'max_size'),
|
|
367
|
+
min_size=pulumi.get(__ret__, 'min_size'),
|
|
368
|
+
name=pulumi.get(__ret__, 'name'),
|
|
369
|
+
node_type=pulumi.get(__ret__, 'node_type'),
|
|
370
|
+
nodes=pulumi.get(__ret__, 'nodes'),
|
|
371
|
+
placement_group_id=pulumi.get(__ret__, 'placement_group_id'),
|
|
372
|
+
pool_id=pulumi.get(__ret__, 'pool_id'),
|
|
373
|
+
public_ip_disabled=pulumi.get(__ret__, 'public_ip_disabled'),
|
|
374
|
+
region=pulumi.get(__ret__, 'region'),
|
|
375
|
+
root_volume_size_in_gb=pulumi.get(__ret__, 'root_volume_size_in_gb'),
|
|
376
|
+
root_volume_type=pulumi.get(__ret__, 'root_volume_type'),
|
|
377
|
+
size=pulumi.get(__ret__, 'size'),
|
|
378
|
+
status=pulumi.get(__ret__, 'status'),
|
|
379
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
380
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
381
|
+
upgrade_policies=pulumi.get(__ret__, 'upgrade_policies'),
|
|
382
|
+
version=pulumi.get(__ret__, 'version'),
|
|
383
|
+
wait_for_pool_ready=pulumi.get(__ret__, 'wait_for_pool_ready'),
|
|
384
|
+
zone=pulumi.get(__ret__, 'zone'))
|
|
385
|
+
def get_kubernetes_node_pool_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
386
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
387
|
+
pool_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
388
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
389
|
+
size: Optional[pulumi.Input[Optional[int]]] = None,
|
|
390
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKubernetesNodePoolResult]:
|
|
391
|
+
"""
|
|
392
|
+
Gets information about a Kubernetes Cluster's Pool.
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
:param str cluster_id: The cluster ID. Required when `name` is set.
|
|
396
|
+
:param str name: The pool name. Only one of `name` and `pool_id` should be specified. `cluster_id` should be specified with `name`.
|
|
397
|
+
:param str pool_id: The pool's ID. Only one of `name` and `pool_id` should be specified.
|
|
398
|
+
:param str region: `region`) The region in which the pool exists.
|
|
399
|
+
:param int size: The size of the pool.
|
|
400
|
+
"""
|
|
401
|
+
__args__ = dict()
|
|
402
|
+
__args__['clusterId'] = cluster_id
|
|
403
|
+
__args__['name'] = name
|
|
404
|
+
__args__['poolId'] = pool_id
|
|
405
|
+
__args__['region'] = region
|
|
406
|
+
__args__['size'] = size
|
|
407
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
408
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getKubernetesNodePool:getKubernetesNodePool', __args__, opts=opts, typ=GetKubernetesNodePoolResult)
|
|
409
|
+
return __ret__.apply(lambda __response__: GetKubernetesNodePoolResult(
|
|
410
|
+
autohealing=pulumi.get(__response__, 'autohealing'),
|
|
411
|
+
autoscaling=pulumi.get(__response__, 'autoscaling'),
|
|
412
|
+
cluster_id=pulumi.get(__response__, 'cluster_id'),
|
|
413
|
+
container_runtime=pulumi.get(__response__, 'container_runtime'),
|
|
414
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
415
|
+
current_size=pulumi.get(__response__, 'current_size'),
|
|
416
|
+
id=pulumi.get(__response__, 'id'),
|
|
417
|
+
kubelet_args=pulumi.get(__response__, 'kubelet_args'),
|
|
418
|
+
max_size=pulumi.get(__response__, 'max_size'),
|
|
419
|
+
min_size=pulumi.get(__response__, 'min_size'),
|
|
420
|
+
name=pulumi.get(__response__, 'name'),
|
|
421
|
+
node_type=pulumi.get(__response__, 'node_type'),
|
|
422
|
+
nodes=pulumi.get(__response__, 'nodes'),
|
|
423
|
+
placement_group_id=pulumi.get(__response__, 'placement_group_id'),
|
|
424
|
+
pool_id=pulumi.get(__response__, 'pool_id'),
|
|
425
|
+
public_ip_disabled=pulumi.get(__response__, 'public_ip_disabled'),
|
|
426
|
+
region=pulumi.get(__response__, 'region'),
|
|
427
|
+
root_volume_size_in_gb=pulumi.get(__response__, 'root_volume_size_in_gb'),
|
|
428
|
+
root_volume_type=pulumi.get(__response__, 'root_volume_type'),
|
|
429
|
+
size=pulumi.get(__response__, 'size'),
|
|
430
|
+
status=pulumi.get(__response__, 'status'),
|
|
431
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
432
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
433
|
+
upgrade_policies=pulumi.get(__response__, 'upgrade_policies'),
|
|
434
|
+
version=pulumi.get(__response__, 'version'),
|
|
435
|
+
wait_for_pool_ready=pulumi.get(__response__, 'wait_for_pool_ready'),
|
|
436
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetLbAclsResult',
|
|
20
|
+
'AwaitableGetLbAclsResult',
|
|
21
|
+
'get_lb_acls',
|
|
22
|
+
'get_lb_acls_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetLbAclsResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getLbAcls.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, acls=None, frontend_id=None, id=None, name=None, organization_id=None, project_id=None, zone=None):
|
|
31
|
+
if acls and not isinstance(acls, list):
|
|
32
|
+
raise TypeError("Expected argument 'acls' to be a list")
|
|
33
|
+
pulumi.set(__self__, "acls", acls)
|
|
34
|
+
if frontend_id and not isinstance(frontend_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'frontend_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "frontend_id", frontend_id)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if organization_id and not isinstance(organization_id, str):
|
|
44
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
46
|
+
if project_id and not isinstance(project_id, str):
|
|
47
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
49
|
+
if zone and not isinstance(zone, str):
|
|
50
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
|
51
|
+
pulumi.set(__self__, "zone", zone)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def acls(self) -> Sequence['outputs.GetLbAclsAclResult']:
|
|
56
|
+
"""
|
|
57
|
+
List of retrieved ACLs
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "acls")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter(name="frontendId")
|
|
63
|
+
def frontend_id(self) -> str:
|
|
64
|
+
return pulumi.get(self, "frontend_id")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def id(self) -> str:
|
|
69
|
+
"""
|
|
70
|
+
The provider-assigned unique ID for this managed resource.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "id")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def name(self) -> Optional[str]:
|
|
77
|
+
return pulumi.get(self, "name")
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="organizationId")
|
|
81
|
+
def organization_id(self) -> str:
|
|
82
|
+
return pulumi.get(self, "organization_id")
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
@pulumi.getter(name="projectId")
|
|
86
|
+
def project_id(self) -> str:
|
|
87
|
+
return pulumi.get(self, "project_id")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter
|
|
91
|
+
def zone(self) -> str:
|
|
92
|
+
return pulumi.get(self, "zone")
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class AwaitableGetLbAclsResult(GetLbAclsResult):
|
|
96
|
+
# pylint: disable=using-constant-test
|
|
97
|
+
def __await__(self):
|
|
98
|
+
if False:
|
|
99
|
+
yield self
|
|
100
|
+
return GetLbAclsResult(
|
|
101
|
+
acls=self.acls,
|
|
102
|
+
frontend_id=self.frontend_id,
|
|
103
|
+
id=self.id,
|
|
104
|
+
name=self.name,
|
|
105
|
+
organization_id=self.organization_id,
|
|
106
|
+
project_id=self.project_id,
|
|
107
|
+
zone=self.zone)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
def get_lb_acls(frontend_id: Optional[str] = None,
|
|
111
|
+
name: Optional[str] = None,
|
|
112
|
+
project_id: Optional[str] = None,
|
|
113
|
+
zone: Optional[str] = None,
|
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbAclsResult:
|
|
115
|
+
"""
|
|
116
|
+
Gets information about multiple Load Balancer ACLs.
|
|
117
|
+
|
|
118
|
+
For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).
|
|
119
|
+
|
|
120
|
+
## Example Usage
|
|
121
|
+
|
|
122
|
+
```python
|
|
123
|
+
import pulumi
|
|
124
|
+
import pulumi_scaleway as scaleway
|
|
125
|
+
|
|
126
|
+
# Find acls that share the same frontend ID
|
|
127
|
+
by_front_id = scaleway.get_lb_acls(frontend_id=frt01["id"])
|
|
128
|
+
# Find acls by frontend ID and name
|
|
129
|
+
by_front_id_and_name = scaleway.get_lb_acls(frontend_id=frt01["id"],
|
|
130
|
+
name="tf-acls-datasource")
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param str frontend_id: The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed.
|
|
135
|
+
> **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
|
|
136
|
+
:param str name: The ACL name to filter for. ACLs with a matching name are listed.
|
|
137
|
+
:param str zone: `zone`) The zone in which the ACLs exist.
|
|
138
|
+
"""
|
|
139
|
+
__args__ = dict()
|
|
140
|
+
__args__['frontendId'] = frontend_id
|
|
141
|
+
__args__['name'] = name
|
|
142
|
+
__args__['projectId'] = project_id
|
|
143
|
+
__args__['zone'] = zone
|
|
144
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
145
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getLbAcls:getLbAcls', __args__, opts=opts, typ=GetLbAclsResult).value
|
|
146
|
+
|
|
147
|
+
return AwaitableGetLbAclsResult(
|
|
148
|
+
acls=pulumi.get(__ret__, 'acls'),
|
|
149
|
+
frontend_id=pulumi.get(__ret__, 'frontend_id'),
|
|
150
|
+
id=pulumi.get(__ret__, 'id'),
|
|
151
|
+
name=pulumi.get(__ret__, 'name'),
|
|
152
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
153
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
154
|
+
zone=pulumi.get(__ret__, 'zone'))
|
|
155
|
+
def get_lb_acls_output(frontend_id: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
158
|
+
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLbAclsResult]:
|
|
160
|
+
"""
|
|
161
|
+
Gets information about multiple Load Balancer ACLs.
|
|
162
|
+
|
|
163
|
+
For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).
|
|
164
|
+
|
|
165
|
+
## Example Usage
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
import pulumi
|
|
169
|
+
import pulumi_scaleway as scaleway
|
|
170
|
+
|
|
171
|
+
# Find acls that share the same frontend ID
|
|
172
|
+
by_front_id = scaleway.get_lb_acls(frontend_id=frt01["id"])
|
|
173
|
+
# Find acls by frontend ID and name
|
|
174
|
+
by_front_id_and_name = scaleway.get_lb_acls(frontend_id=frt01["id"],
|
|
175
|
+
name="tf-acls-datasource")
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param str frontend_id: The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed.
|
|
180
|
+
> **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
|
|
181
|
+
:param str name: The ACL name to filter for. ACLs with a matching name are listed.
|
|
182
|
+
:param str zone: `zone`) The zone in which the ACLs exist.
|
|
183
|
+
"""
|
|
184
|
+
__args__ = dict()
|
|
185
|
+
__args__['frontendId'] = frontend_id
|
|
186
|
+
__args__['name'] = name
|
|
187
|
+
__args__['projectId'] = project_id
|
|
188
|
+
__args__['zone'] = zone
|
|
189
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
190
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getLbAcls:getLbAcls', __args__, opts=opts, typ=GetLbAclsResult)
|
|
191
|
+
return __ret__.apply(lambda __response__: GetLbAclsResult(
|
|
192
|
+
acls=pulumi.get(__response__, 'acls'),
|
|
193
|
+
frontend_id=pulumi.get(__response__, 'frontend_id'),
|
|
194
|
+
id=pulumi.get(__response__, 'id'),
|
|
195
|
+
name=pulumi.get(__response__, 'name'),
|
|
196
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
197
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
198
|
+
zone=pulumi.get(__response__, 'zone')))
|