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.

Files changed (205) hide show
  1. pulumiverse_scaleway/__init__.py +1065 -0
  2. pulumiverse_scaleway/_inputs.py +8688 -0
  3. pulumiverse_scaleway/_utilities.py +327 -0
  4. pulumiverse_scaleway/account_project.py +316 -0
  5. pulumiverse_scaleway/account_ssh_key.py +454 -0
  6. pulumiverse_scaleway/apple_silicon_server.py +564 -0
  7. pulumiverse_scaleway/baremetal_server.py +1579 -0
  8. pulumiverse_scaleway/block_snapshot.py +401 -0
  9. pulumiverse_scaleway/block_volume.py +527 -0
  10. pulumiverse_scaleway/cockpit.py +314 -0
  11. pulumiverse_scaleway/cockpit_alert_manager.py +401 -0
  12. pulumiverse_scaleway/cockpit_grafana_user.py +362 -0
  13. pulumiverse_scaleway/cockpit_source.py +567 -0
  14. pulumiverse_scaleway/cockpit_token.py +479 -0
  15. pulumiverse_scaleway/config/__init__.py +8 -0
  16. pulumiverse_scaleway/config/__init__.pyi +56 -0
  17. pulumiverse_scaleway/config/vars.py +78 -0
  18. pulumiverse_scaleway/container.py +1373 -0
  19. pulumiverse_scaleway/container_cron.py +458 -0
  20. pulumiverse_scaleway/container_domain.py +406 -0
  21. pulumiverse_scaleway/container_namespace.py +636 -0
  22. pulumiverse_scaleway/container_token.py +452 -0
  23. pulumiverse_scaleway/container_trigger.py +480 -0
  24. pulumiverse_scaleway/database.py +407 -0
  25. pulumiverse_scaleway/database_acl.py +332 -0
  26. pulumiverse_scaleway/database_backup.py +574 -0
  27. pulumiverse_scaleway/database_instance.py +1641 -0
  28. pulumiverse_scaleway/database_privilege.py +422 -0
  29. pulumiverse_scaleway/database_read_replica.py +528 -0
  30. pulumiverse_scaleway/database_user.py +446 -0
  31. pulumiverse_scaleway/domain_record.py +1116 -0
  32. pulumiverse_scaleway/domain_zone.py +430 -0
  33. pulumiverse_scaleway/flexible_ip.py +702 -0
  34. pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
  35. pulumiverse_scaleway/function.py +1103 -0
  36. pulumiverse_scaleway/function_cron.py +462 -0
  37. pulumiverse_scaleway/function_domain.py +370 -0
  38. pulumiverse_scaleway/function_namespace.py +580 -0
  39. pulumiverse_scaleway/function_token.py +460 -0
  40. pulumiverse_scaleway/function_trigger.py +480 -0
  41. pulumiverse_scaleway/get_account_project.py +170 -0
  42. pulumiverse_scaleway/get_account_ssh_key.py +205 -0
  43. pulumiverse_scaleway/get_availability_zones.py +139 -0
  44. pulumiverse_scaleway/get_baremetal_offer.py +245 -0
  45. pulumiverse_scaleway/get_baremetal_option.py +168 -0
  46. pulumiverse_scaleway/get_baremetal_os.py +174 -0
  47. pulumiverse_scaleway/get_baremetal_server.py +422 -0
  48. pulumiverse_scaleway/get_billing_consumptions.py +134 -0
  49. pulumiverse_scaleway/get_billing_invoices.py +154 -0
  50. pulumiverse_scaleway/get_block_snapshot.py +174 -0
  51. pulumiverse_scaleway/get_block_volume.py +188 -0
  52. pulumiverse_scaleway/get_cockpit.py +204 -0
  53. pulumiverse_scaleway/get_cockpit_plan.py +125 -0
  54. pulumiverse_scaleway/get_cockpit_source.py +262 -0
  55. pulumiverse_scaleway/get_config.py +180 -0
  56. pulumiverse_scaleway/get_container.py +522 -0
  57. pulumiverse_scaleway/get_container_namespace.py +283 -0
  58. pulumiverse_scaleway/get_database.py +187 -0
  59. pulumiverse_scaleway/get_database_acl.py +143 -0
  60. pulumiverse_scaleway/get_database_backup.py +253 -0
  61. pulumiverse_scaleway/get_database_instance.py +404 -0
  62. pulumiverse_scaleway/get_database_privilege.py +181 -0
  63. pulumiverse_scaleway/get_domain_record.py +340 -0
  64. pulumiverse_scaleway/get_domain_zone.py +201 -0
  65. pulumiverse_scaleway/get_flexible_ip.py +247 -0
  66. pulumiverse_scaleway/get_flexible_ips.py +240 -0
  67. pulumiverse_scaleway/get_function.py +365 -0
  68. pulumiverse_scaleway/get_function_namespace.py +238 -0
  69. pulumiverse_scaleway/get_iam_api_key.py +210 -0
  70. pulumiverse_scaleway/get_iam_application.py +210 -0
  71. pulumiverse_scaleway/get_iam_group.py +236 -0
  72. pulumiverse_scaleway/get_iam_ssh_key.py +212 -0
  73. pulumiverse_scaleway/get_iam_user.py +177 -0
  74. pulumiverse_scaleway/get_instance_image.py +305 -0
  75. pulumiverse_scaleway/get_instance_ip.py +204 -0
  76. pulumiverse_scaleway/get_instance_placement_group.py +212 -0
  77. pulumiverse_scaleway/get_instance_private_nic.py +226 -0
  78. pulumiverse_scaleway/get_instance_security_group.py +268 -0
  79. pulumiverse_scaleway/get_instance_server.py +502 -0
  80. pulumiverse_scaleway/get_instance_servers.py +187 -0
  81. pulumiverse_scaleway/get_instance_snapshot.py +248 -0
  82. pulumiverse_scaleway/get_instance_volume.py +215 -0
  83. pulumiverse_scaleway/get_iot_device.py +257 -0
  84. pulumiverse_scaleway/get_iot_hub.py +322 -0
  85. pulumiverse_scaleway/get_ipam_ip.py +419 -0
  86. pulumiverse_scaleway/get_ipam_ips.py +358 -0
  87. pulumiverse_scaleway/get_k8s_version.py +196 -0
  88. pulumiverse_scaleway/get_kubernetes_cluster.py +417 -0
  89. pulumiverse_scaleway/get_kubernetes_node_pool.py +436 -0
  90. pulumiverse_scaleway/get_lb_acls.py +198 -0
  91. pulumiverse_scaleway/get_lb_backend.py +486 -0
  92. pulumiverse_scaleway/get_lb_backends.py +196 -0
  93. pulumiverse_scaleway/get_lb_frontend.py +274 -0
  94. pulumiverse_scaleway/get_lb_frontends.py +196 -0
  95. pulumiverse_scaleway/get_lb_ips.py +198 -0
  96. pulumiverse_scaleway/get_lb_route.py +217 -0
  97. pulumiverse_scaleway/get_lb_routes.py +179 -0
  98. pulumiverse_scaleway/get_lbs.py +187 -0
  99. pulumiverse_scaleway/get_loadbalancer.py +339 -0
  100. pulumiverse_scaleway/get_loadbalancer_certificate.py +230 -0
  101. pulumiverse_scaleway/get_loadbalancer_ip.py +228 -0
  102. pulumiverse_scaleway/get_marketplace_image.py +147 -0
  103. pulumiverse_scaleway/get_mnq_sns.py +150 -0
  104. pulumiverse_scaleway/get_mnq_sqs.py +150 -0
  105. pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
  106. pulumiverse_scaleway/get_object_bucket.py +290 -0
  107. pulumiverse_scaleway/get_object_bucket_policy.py +163 -0
  108. pulumiverse_scaleway/get_redis_cluster.py +347 -0
  109. pulumiverse_scaleway/get_registry_image.py +239 -0
  110. pulumiverse_scaleway/get_registry_image_tag.py +229 -0
  111. pulumiverse_scaleway/get_registry_namespace.py +199 -0
  112. pulumiverse_scaleway/get_secret.py +338 -0
  113. pulumiverse_scaleway/get_secret_version.py +340 -0
  114. pulumiverse_scaleway/get_tem_domain.py +378 -0
  115. pulumiverse_scaleway/get_vpc.py +246 -0
  116. pulumiverse_scaleway/get_vpc_gateway_network.py +287 -0
  117. pulumiverse_scaleway/get_vpc_private_network.py +282 -0
  118. pulumiverse_scaleway/get_vpc_public_gateway.py +304 -0
  119. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +305 -0
  120. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +382 -0
  121. pulumiverse_scaleway/get_vpc_public_gateway_ip.py +199 -0
  122. pulumiverse_scaleway/get_vpc_public_pat_rule.py +313 -0
  123. pulumiverse_scaleway/get_vpc_routes.py +208 -0
  124. pulumiverse_scaleway/get_vpcs.py +174 -0
  125. pulumiverse_scaleway/get_web_host_offer.py +192 -0
  126. pulumiverse_scaleway/get_webhosting.py +332 -0
  127. pulumiverse_scaleway/iam_api_key.py +620 -0
  128. pulumiverse_scaleway/iam_application.py +417 -0
  129. pulumiverse_scaleway/iam_group.py +566 -0
  130. pulumiverse_scaleway/iam_group_membership.py +323 -0
  131. pulumiverse_scaleway/iam_policy.py +773 -0
  132. pulumiverse_scaleway/iam_ssh_key.py +455 -0
  133. pulumiverse_scaleway/iam_user.py +513 -0
  134. pulumiverse_scaleway/inference_deployment.py +822 -0
  135. pulumiverse_scaleway/instance_image.py +750 -0
  136. pulumiverse_scaleway/instance_ip.py +483 -0
  137. pulumiverse_scaleway/instance_ip_reverse_dns.py +308 -0
  138. pulumiverse_scaleway/instance_placement_group.py +479 -0
  139. pulumiverse_scaleway/instance_private_nic.py +555 -0
  140. pulumiverse_scaleway/instance_security_group.py +720 -0
  141. pulumiverse_scaleway/instance_security_group_rules.py +439 -0
  142. pulumiverse_scaleway/instance_server.py +2006 -0
  143. pulumiverse_scaleway/instance_snapshot.py +669 -0
  144. pulumiverse_scaleway/instance_user_data.py +435 -0
  145. pulumiverse_scaleway/instance_volume.py +535 -0
  146. pulumiverse_scaleway/iot_device.py +750 -0
  147. pulumiverse_scaleway/iot_hub.py +896 -0
  148. pulumiverse_scaleway/iot_network.py +472 -0
  149. pulumiverse_scaleway/iot_route.py +660 -0
  150. pulumiverse_scaleway/ipam_ip.py +757 -0
  151. pulumiverse_scaleway/ipam_ip_reverse_dns.py +318 -0
  152. pulumiverse_scaleway/job_definition.py +692 -0
  153. pulumiverse_scaleway/kubernetes_cluster.py +1538 -0
  154. pulumiverse_scaleway/kubernetes_node_pool.py +1255 -0
  155. pulumiverse_scaleway/loadbalancer.py +1061 -0
  156. pulumiverse_scaleway/loadbalancer_acl.py +520 -0
  157. pulumiverse_scaleway/loadbalancer_backend.py +1588 -0
  158. pulumiverse_scaleway/loadbalancer_certificate.py +460 -0
  159. pulumiverse_scaleway/loadbalancer_frontend.py +829 -0
  160. pulumiverse_scaleway/loadbalancer_ip.py +514 -0
  161. pulumiverse_scaleway/loadbalancer_route.py +523 -0
  162. pulumiverse_scaleway/mnq_nats_account.py +334 -0
  163. pulumiverse_scaleway/mnq_nats_credentials.py +330 -0
  164. pulumiverse_scaleway/mnq_sns.py +306 -0
  165. pulumiverse_scaleway/mnq_sns_credentials.py +413 -0
  166. pulumiverse_scaleway/mnq_sns_topic.py +659 -0
  167. pulumiverse_scaleway/mnq_sns_topic_subscription.py +699 -0
  168. pulumiverse_scaleway/mnq_sqs.py +304 -0
  169. pulumiverse_scaleway/mnq_sqs_credentials.py +413 -0
  170. pulumiverse_scaleway/mnq_sqs_queue.py +800 -0
  171. pulumiverse_scaleway/mongo_db_instance.py +907 -0
  172. pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
  173. pulumiverse_scaleway/object_bucket.py +874 -0
  174. pulumiverse_scaleway/object_bucket_acl.py +596 -0
  175. pulumiverse_scaleway/object_bucket_lock_configuration.py +395 -0
  176. pulumiverse_scaleway/object_bucket_policy.py +673 -0
  177. pulumiverse_scaleway/object_bucket_website_configuration.py +534 -0
  178. pulumiverse_scaleway/object_item.py +776 -0
  179. pulumiverse_scaleway/outputs.py +11808 -0
  180. pulumiverse_scaleway/provider.py +327 -0
  181. pulumiverse_scaleway/pulumi-plugin.json +6 -0
  182. pulumiverse_scaleway/py.typed +0 -0
  183. pulumiverse_scaleway/redis_cluster.py +1201 -0
  184. pulumiverse_scaleway/registry_namespace.py +458 -0
  185. pulumiverse_scaleway/sdb_database.py +432 -0
  186. pulumiverse_scaleway/secret.py +663 -0
  187. pulumiverse_scaleway/secret_version.py +487 -0
  188. pulumiverse_scaleway/tem_domain.py +1030 -0
  189. pulumiverse_scaleway/tem_domain_validation.py +303 -0
  190. pulumiverse_scaleway/tem_webhook.py +640 -0
  191. pulumiverse_scaleway/vpc.py +536 -0
  192. pulumiverse_scaleway/vpc_gateway_network.py +866 -0
  193. pulumiverse_scaleway/vpc_private_network.py +734 -0
  194. pulumiverse_scaleway/vpc_public_gateway.py +789 -0
  195. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +933 -0
  196. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +514 -0
  197. pulumiverse_scaleway/vpc_public_gateway_ip.py +457 -0
  198. pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +306 -0
  199. pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +591 -0
  200. pulumiverse_scaleway/vpc_route.py +577 -0
  201. pulumiverse_scaleway/webhosting.py +805 -0
  202. pulumiverse_scaleway-1.23.0a1736837529.dist-info/METADATA +77 -0
  203. pulumiverse_scaleway-1.23.0a1736837529.dist-info/RECORD +205 -0
  204. pulumiverse_scaleway-1.23.0a1736837529.dist-info/WHEEL +5 -0
  205. pulumiverse_scaleway-1.23.0a1736837529.dist-info/top_level.txt +1 -0
@@ -0,0 +1,522 @@
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
+
17
+ __all__ = [
18
+ 'GetContainerResult',
19
+ 'AwaitableGetContainerResult',
20
+ 'get_container',
21
+ 'get_container_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetContainerResult:
26
+ """
27
+ A collection of values returned by getContainer.
28
+ """
29
+ def __init__(__self__, container_id=None, cpu_limit=None, cron_status=None, deploy=None, description=None, domain_name=None, environment_variables=None, error_message=None, http_option=None, id=None, max_concurrency=None, max_scale=None, memory_limit=None, min_scale=None, name=None, namespace_id=None, port=None, privacy=None, project_id=None, protocol=None, region=None, registry_image=None, registry_sha256=None, sandbox=None, secret_environment_variables=None, status=None, timeout=None):
30
+ if container_id and not isinstance(container_id, str):
31
+ raise TypeError("Expected argument 'container_id' to be a str")
32
+ pulumi.set(__self__, "container_id", container_id)
33
+ if cpu_limit and not isinstance(cpu_limit, int):
34
+ raise TypeError("Expected argument 'cpu_limit' to be a int")
35
+ pulumi.set(__self__, "cpu_limit", cpu_limit)
36
+ if cron_status and not isinstance(cron_status, str):
37
+ raise TypeError("Expected argument 'cron_status' to be a str")
38
+ pulumi.set(__self__, "cron_status", cron_status)
39
+ if deploy and not isinstance(deploy, bool):
40
+ raise TypeError("Expected argument 'deploy' to be a bool")
41
+ pulumi.set(__self__, "deploy", deploy)
42
+ if description and not isinstance(description, str):
43
+ raise TypeError("Expected argument 'description' to be a str")
44
+ pulumi.set(__self__, "description", description)
45
+ if domain_name and not isinstance(domain_name, str):
46
+ raise TypeError("Expected argument 'domain_name' to be a str")
47
+ pulumi.set(__self__, "domain_name", domain_name)
48
+ if environment_variables and not isinstance(environment_variables, dict):
49
+ raise TypeError("Expected argument 'environment_variables' to be a dict")
50
+ pulumi.set(__self__, "environment_variables", environment_variables)
51
+ if error_message and not isinstance(error_message, str):
52
+ raise TypeError("Expected argument 'error_message' to be a str")
53
+ pulumi.set(__self__, "error_message", error_message)
54
+ if http_option and not isinstance(http_option, str):
55
+ raise TypeError("Expected argument 'http_option' to be a str")
56
+ pulumi.set(__self__, "http_option", http_option)
57
+ if id and not isinstance(id, str):
58
+ raise TypeError("Expected argument 'id' to be a str")
59
+ pulumi.set(__self__, "id", id)
60
+ if max_concurrency and not isinstance(max_concurrency, int):
61
+ raise TypeError("Expected argument 'max_concurrency' to be a int")
62
+ pulumi.set(__self__, "max_concurrency", max_concurrency)
63
+ if max_scale and not isinstance(max_scale, int):
64
+ raise TypeError("Expected argument 'max_scale' to be a int")
65
+ pulumi.set(__self__, "max_scale", max_scale)
66
+ if memory_limit and not isinstance(memory_limit, int):
67
+ raise TypeError("Expected argument 'memory_limit' to be a int")
68
+ pulumi.set(__self__, "memory_limit", memory_limit)
69
+ if min_scale and not isinstance(min_scale, int):
70
+ raise TypeError("Expected argument 'min_scale' to be a int")
71
+ pulumi.set(__self__, "min_scale", min_scale)
72
+ if name and not isinstance(name, str):
73
+ raise TypeError("Expected argument 'name' to be a str")
74
+ pulumi.set(__self__, "name", name)
75
+ if namespace_id and not isinstance(namespace_id, str):
76
+ raise TypeError("Expected argument 'namespace_id' to be a str")
77
+ pulumi.set(__self__, "namespace_id", namespace_id)
78
+ if port and not isinstance(port, int):
79
+ raise TypeError("Expected argument 'port' to be a int")
80
+ pulumi.set(__self__, "port", port)
81
+ if privacy and not isinstance(privacy, str):
82
+ raise TypeError("Expected argument 'privacy' to be a str")
83
+ pulumi.set(__self__, "privacy", privacy)
84
+ if project_id and not isinstance(project_id, str):
85
+ raise TypeError("Expected argument 'project_id' to be a str")
86
+ pulumi.set(__self__, "project_id", project_id)
87
+ if protocol and not isinstance(protocol, str):
88
+ raise TypeError("Expected argument 'protocol' to be a str")
89
+ pulumi.set(__self__, "protocol", protocol)
90
+ if region and not isinstance(region, str):
91
+ raise TypeError("Expected argument 'region' to be a str")
92
+ pulumi.set(__self__, "region", region)
93
+ if registry_image and not isinstance(registry_image, str):
94
+ raise TypeError("Expected argument 'registry_image' to be a str")
95
+ pulumi.set(__self__, "registry_image", registry_image)
96
+ if registry_sha256 and not isinstance(registry_sha256, str):
97
+ raise TypeError("Expected argument 'registry_sha256' to be a str")
98
+ pulumi.set(__self__, "registry_sha256", registry_sha256)
99
+ if sandbox and not isinstance(sandbox, str):
100
+ raise TypeError("Expected argument 'sandbox' to be a str")
101
+ pulumi.set(__self__, "sandbox", sandbox)
102
+ if secret_environment_variables and not isinstance(secret_environment_variables, dict):
103
+ raise TypeError("Expected argument 'secret_environment_variables' to be a dict")
104
+ pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
105
+ if status and not isinstance(status, str):
106
+ raise TypeError("Expected argument 'status' to be a str")
107
+ pulumi.set(__self__, "status", status)
108
+ if timeout and not isinstance(timeout, int):
109
+ raise TypeError("Expected argument 'timeout' to be a int")
110
+ pulumi.set(__self__, "timeout", timeout)
111
+
112
+ @property
113
+ @pulumi.getter(name="containerId")
114
+ def container_id(self) -> Optional[str]:
115
+ return pulumi.get(self, "container_id")
116
+
117
+ @property
118
+ @pulumi.getter(name="cpuLimit")
119
+ def cpu_limit(self) -> int:
120
+ """
121
+ The amount of vCPU computing resources to allocate to each container.
122
+ """
123
+ return pulumi.get(self, "cpu_limit")
124
+
125
+ @property
126
+ @pulumi.getter(name="cronStatus")
127
+ def cron_status(self) -> str:
128
+ """
129
+ The cron status of the container.
130
+ """
131
+ return pulumi.get(self, "cron_status")
132
+
133
+ @property
134
+ @pulumi.getter
135
+ def deploy(self) -> bool:
136
+ """
137
+ Boolean indicating whether the container is on a production environment.
138
+ """
139
+ return pulumi.get(self, "deploy")
140
+
141
+ @property
142
+ @pulumi.getter
143
+ def description(self) -> str:
144
+ """
145
+ The description of the container.
146
+ """
147
+ return pulumi.get(self, "description")
148
+
149
+ @property
150
+ @pulumi.getter(name="domainName")
151
+ def domain_name(self) -> str:
152
+ """
153
+ The container domain name.
154
+ """
155
+ return pulumi.get(self, "domain_name")
156
+
157
+ @property
158
+ @pulumi.getter(name="environmentVariables")
159
+ def environment_variables(self) -> Mapping[str, str]:
160
+ """
161
+ The [environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#environment-variables) variables of the container.
162
+ """
163
+ return pulumi.get(self, "environment_variables")
164
+
165
+ @property
166
+ @pulumi.getter(name="errorMessage")
167
+ def error_message(self) -> str:
168
+ """
169
+ The error message of the container.
170
+ """
171
+ return pulumi.get(self, "error_message")
172
+
173
+ @property
174
+ @pulumi.getter(name="httpOption")
175
+ def http_option(self) -> str:
176
+ return pulumi.get(self, "http_option")
177
+
178
+ @property
179
+ @pulumi.getter
180
+ def id(self) -> str:
181
+ """
182
+ The provider-assigned unique ID for this managed resource.
183
+ """
184
+ return pulumi.get(self, "id")
185
+
186
+ @property
187
+ @pulumi.getter(name="maxConcurrency")
188
+ def max_concurrency(self) -> int:
189
+ """
190
+ The maximum number of simultaneous requests your container can handle at the same time.
191
+ """
192
+ return pulumi.get(self, "max_concurrency")
193
+
194
+ @property
195
+ @pulumi.getter(name="maxScale")
196
+ def max_scale(self) -> int:
197
+ """
198
+ The maximum number of instances the container can scale to.
199
+ """
200
+ return pulumi.get(self, "max_scale")
201
+
202
+ @property
203
+ @pulumi.getter(name="memoryLimit")
204
+ def memory_limit(self) -> int:
205
+ """
206
+ The memory resources in MB to allocate to each container.
207
+ """
208
+ return pulumi.get(self, "memory_limit")
209
+
210
+ @property
211
+ @pulumi.getter(name="minScale")
212
+ def min_scale(self) -> int:
213
+ """
214
+ The minimum number of container instances running continuously.
215
+ """
216
+ return pulumi.get(self, "min_scale")
217
+
218
+ @property
219
+ @pulumi.getter
220
+ def name(self) -> Optional[str]:
221
+ return pulumi.get(self, "name")
222
+
223
+ @property
224
+ @pulumi.getter(name="namespaceId")
225
+ def namespace_id(self) -> str:
226
+ return pulumi.get(self, "namespace_id")
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def port(self) -> int:
231
+ """
232
+ The port to expose the container.
233
+ """
234
+ return pulumi.get(self, "port")
235
+
236
+ @property
237
+ @pulumi.getter
238
+ def privacy(self) -> str:
239
+ """
240
+ The privacy type define the way to authenticate to your container. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) for more information.
241
+ """
242
+ return pulumi.get(self, "privacy")
243
+
244
+ @property
245
+ @pulumi.getter(name="projectId")
246
+ def project_id(self) -> Optional[str]:
247
+ return pulumi.get(self, "project_id")
248
+
249
+ @property
250
+ @pulumi.getter
251
+ def protocol(self) -> str:
252
+ """
253
+ The communication [protocol](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) `http1` or `h2c`. Defaults to `http1`.
254
+ """
255
+ return pulumi.get(self, "protocol")
256
+
257
+ @property
258
+ @pulumi.getter
259
+ def region(self) -> Optional[str]:
260
+ """
261
+ (Defaults to provider `region`) The region in which the container was created.
262
+ """
263
+ return pulumi.get(self, "region")
264
+
265
+ @property
266
+ @pulumi.getter(name="registryImage")
267
+ def registry_image(self) -> str:
268
+ """
269
+ The registry image address (e.g. `rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE`).
270
+ """
271
+ return pulumi.get(self, "registry_image")
272
+
273
+ @property
274
+ @pulumi.getter(name="registrySha256")
275
+ def registry_sha256(self) -> str:
276
+ """
277
+ The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
278
+ """
279
+ return pulumi.get(self, "registry_sha256")
280
+
281
+ @property
282
+ @pulumi.getter
283
+ def sandbox(self) -> str:
284
+ """
285
+ (Optional) Execution environment of the container.
286
+ """
287
+ return pulumi.get(self, "sandbox")
288
+
289
+ @property
290
+ @pulumi.getter(name="secretEnvironmentVariables")
291
+ def secret_environment_variables(self) -> Mapping[str, str]:
292
+ return pulumi.get(self, "secret_environment_variables")
293
+
294
+ @property
295
+ @pulumi.getter
296
+ def status(self) -> str:
297
+ """
298
+ The container status.
299
+ """
300
+ return pulumi.get(self, "status")
301
+
302
+ @property
303
+ @pulumi.getter
304
+ def timeout(self) -> int:
305
+ """
306
+ The maximum amount of time your container can spend processing a request before being stopped.
307
+ """
308
+ return pulumi.get(self, "timeout")
309
+
310
+
311
+ class AwaitableGetContainerResult(GetContainerResult):
312
+ # pylint: disable=using-constant-test
313
+ def __await__(self):
314
+ if False:
315
+ yield self
316
+ return GetContainerResult(
317
+ container_id=self.container_id,
318
+ cpu_limit=self.cpu_limit,
319
+ cron_status=self.cron_status,
320
+ deploy=self.deploy,
321
+ description=self.description,
322
+ domain_name=self.domain_name,
323
+ environment_variables=self.environment_variables,
324
+ error_message=self.error_message,
325
+ http_option=self.http_option,
326
+ id=self.id,
327
+ max_concurrency=self.max_concurrency,
328
+ max_scale=self.max_scale,
329
+ memory_limit=self.memory_limit,
330
+ min_scale=self.min_scale,
331
+ name=self.name,
332
+ namespace_id=self.namespace_id,
333
+ port=self.port,
334
+ privacy=self.privacy,
335
+ project_id=self.project_id,
336
+ protocol=self.protocol,
337
+ region=self.region,
338
+ registry_image=self.registry_image,
339
+ registry_sha256=self.registry_sha256,
340
+ sandbox=self.sandbox,
341
+ secret_environment_variables=self.secret_environment_variables,
342
+ status=self.status,
343
+ timeout=self.timeout)
344
+
345
+
346
+ def get_container(container_id: Optional[str] = None,
347
+ name: Optional[str] = None,
348
+ namespace_id: Optional[str] = None,
349
+ project_id: Optional[str] = None,
350
+ region: Optional[str] = None,
351
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContainerResult:
352
+ """
353
+ The `Container` data source is used to retrieve information about a Serverless Container.
354
+
355
+ Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
356
+
357
+ For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
358
+
359
+ ## Retrieve a Serverless Container
360
+
361
+ The following commands allow you to:
362
+
363
+ - retrieve a container by its name
364
+ - retrieve a container by its ID
365
+
366
+ ```python
367
+ import pulumi
368
+ import pulumi_scaleway as scaleway
369
+ import pulumiverse_scaleway as scaleway
370
+
371
+ main = scaleway.ContainerNamespace("main")
372
+ main_container = scaleway.Container("main",
373
+ name="test-container-data",
374
+ namespace_id=main.id)
375
+ # Get info by container name
376
+ by_name = scaleway.get_container_output(namespace_id=main.id,
377
+ name=main_container.name)
378
+ # Get info by container ID
379
+ by_id = scaleway.get_container_output(namespace_id=main.id,
380
+ container_id=main_container.id)
381
+ ```
382
+
383
+ ## Arguments reference
384
+
385
+ This section lists the arguments that you can provide to the `Container` data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
386
+
387
+ - `name` - (Required) The unique name of the container.
388
+
389
+ - `namespace_id` - (Required) The container namespace ID of the container.
390
+
391
+ - `project_id` - (Optional) The unique identifier of the project with which the container is associated.
392
+
393
+ > **Important** Updating the `name` argument will recreate the container.
394
+
395
+
396
+ :param str region: (Defaults to provider `region`) The region in which the container was created.
397
+ """
398
+ __args__ = dict()
399
+ __args__['containerId'] = container_id
400
+ __args__['name'] = name
401
+ __args__['namespaceId'] = namespace_id
402
+ __args__['projectId'] = project_id
403
+ __args__['region'] = region
404
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
405
+ __ret__ = pulumi.runtime.invoke('scaleway:index/getContainer:getContainer', __args__, opts=opts, typ=GetContainerResult).value
406
+
407
+ return AwaitableGetContainerResult(
408
+ container_id=pulumi.get(__ret__, 'container_id'),
409
+ cpu_limit=pulumi.get(__ret__, 'cpu_limit'),
410
+ cron_status=pulumi.get(__ret__, 'cron_status'),
411
+ deploy=pulumi.get(__ret__, 'deploy'),
412
+ description=pulumi.get(__ret__, 'description'),
413
+ domain_name=pulumi.get(__ret__, 'domain_name'),
414
+ environment_variables=pulumi.get(__ret__, 'environment_variables'),
415
+ error_message=pulumi.get(__ret__, 'error_message'),
416
+ http_option=pulumi.get(__ret__, 'http_option'),
417
+ id=pulumi.get(__ret__, 'id'),
418
+ max_concurrency=pulumi.get(__ret__, 'max_concurrency'),
419
+ max_scale=pulumi.get(__ret__, 'max_scale'),
420
+ memory_limit=pulumi.get(__ret__, 'memory_limit'),
421
+ min_scale=pulumi.get(__ret__, 'min_scale'),
422
+ name=pulumi.get(__ret__, 'name'),
423
+ namespace_id=pulumi.get(__ret__, 'namespace_id'),
424
+ port=pulumi.get(__ret__, 'port'),
425
+ privacy=pulumi.get(__ret__, 'privacy'),
426
+ project_id=pulumi.get(__ret__, 'project_id'),
427
+ protocol=pulumi.get(__ret__, 'protocol'),
428
+ region=pulumi.get(__ret__, 'region'),
429
+ registry_image=pulumi.get(__ret__, 'registry_image'),
430
+ registry_sha256=pulumi.get(__ret__, 'registry_sha256'),
431
+ sandbox=pulumi.get(__ret__, 'sandbox'),
432
+ secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'),
433
+ status=pulumi.get(__ret__, 'status'),
434
+ timeout=pulumi.get(__ret__, 'timeout'))
435
+ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = None,
436
+ name: Optional[pulumi.Input[Optional[str]]] = None,
437
+ namespace_id: Optional[pulumi.Input[str]] = None,
438
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
439
+ region: Optional[pulumi.Input[Optional[str]]] = None,
440
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainerResult]:
441
+ """
442
+ The `Container` data source is used to retrieve information about a Serverless Container.
443
+
444
+ Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
445
+
446
+ For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
447
+
448
+ ## Retrieve a Serverless Container
449
+
450
+ The following commands allow you to:
451
+
452
+ - retrieve a container by its name
453
+ - retrieve a container by its ID
454
+
455
+ ```python
456
+ import pulumi
457
+ import pulumi_scaleway as scaleway
458
+ import pulumiverse_scaleway as scaleway
459
+
460
+ main = scaleway.ContainerNamespace("main")
461
+ main_container = scaleway.Container("main",
462
+ name="test-container-data",
463
+ namespace_id=main.id)
464
+ # Get info by container name
465
+ by_name = scaleway.get_container_output(namespace_id=main.id,
466
+ name=main_container.name)
467
+ # Get info by container ID
468
+ by_id = scaleway.get_container_output(namespace_id=main.id,
469
+ container_id=main_container.id)
470
+ ```
471
+
472
+ ## Arguments reference
473
+
474
+ This section lists the arguments that you can provide to the `Container` data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
475
+
476
+ - `name` - (Required) The unique name of the container.
477
+
478
+ - `namespace_id` - (Required) The container namespace ID of the container.
479
+
480
+ - `project_id` - (Optional) The unique identifier of the project with which the container is associated.
481
+
482
+ > **Important** Updating the `name` argument will recreate the container.
483
+
484
+
485
+ :param str region: (Defaults to provider `region`) The region in which the container was created.
486
+ """
487
+ __args__ = dict()
488
+ __args__['containerId'] = container_id
489
+ __args__['name'] = name
490
+ __args__['namespaceId'] = namespace_id
491
+ __args__['projectId'] = project_id
492
+ __args__['region'] = region
493
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
494
+ __ret__ = pulumi.runtime.invoke_output('scaleway:index/getContainer:getContainer', __args__, opts=opts, typ=GetContainerResult)
495
+ return __ret__.apply(lambda __response__: GetContainerResult(
496
+ container_id=pulumi.get(__response__, 'container_id'),
497
+ cpu_limit=pulumi.get(__response__, 'cpu_limit'),
498
+ cron_status=pulumi.get(__response__, 'cron_status'),
499
+ deploy=pulumi.get(__response__, 'deploy'),
500
+ description=pulumi.get(__response__, 'description'),
501
+ domain_name=pulumi.get(__response__, 'domain_name'),
502
+ environment_variables=pulumi.get(__response__, 'environment_variables'),
503
+ error_message=pulumi.get(__response__, 'error_message'),
504
+ http_option=pulumi.get(__response__, 'http_option'),
505
+ id=pulumi.get(__response__, 'id'),
506
+ max_concurrency=pulumi.get(__response__, 'max_concurrency'),
507
+ max_scale=pulumi.get(__response__, 'max_scale'),
508
+ memory_limit=pulumi.get(__response__, 'memory_limit'),
509
+ min_scale=pulumi.get(__response__, 'min_scale'),
510
+ name=pulumi.get(__response__, 'name'),
511
+ namespace_id=pulumi.get(__response__, 'namespace_id'),
512
+ port=pulumi.get(__response__, 'port'),
513
+ privacy=pulumi.get(__response__, 'privacy'),
514
+ project_id=pulumi.get(__response__, 'project_id'),
515
+ protocol=pulumi.get(__response__, 'protocol'),
516
+ region=pulumi.get(__response__, 'region'),
517
+ registry_image=pulumi.get(__response__, 'registry_image'),
518
+ registry_sha256=pulumi.get(__response__, 'registry_sha256'),
519
+ sandbox=pulumi.get(__response__, 'sandbox'),
520
+ secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables'),
521
+ status=pulumi.get(__response__, 'status'),
522
+ timeout=pulumi.get(__response__, 'timeout')))