pulumiverse-scaleway 1.30.0a1752168858__py3-none-any.whl → 1.31.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +27 -0
- pulumiverse_scaleway/_inputs.py +94 -32
- pulumiverse_scaleway/apple_silicon_server.py +47 -0
- pulumiverse_scaleway/applesilicon/server.py +47 -0
- pulumiverse_scaleway/autoscaling/__init__.py +13 -0
- pulumiverse_scaleway/autoscaling/_inputs.py +559 -0
- pulumiverse_scaleway/autoscaling/instance_group.py +808 -0
- pulumiverse_scaleway/autoscaling/instance_policy.py +635 -0
- pulumiverse_scaleway/autoscaling/instance_template.py +879 -0
- pulumiverse_scaleway/autoscaling/outputs.py +439 -0
- pulumiverse_scaleway/edge_services_cache_stage.py +47 -0
- pulumiverse_scaleway/get_cockpit_source.py +50 -7
- pulumiverse_scaleway/get_kubernetes_node_pool.py +12 -1
- pulumiverse_scaleway/get_vpc.py +12 -1
- pulumiverse_scaleway/get_vpc_private_network.py +12 -1
- pulumiverse_scaleway/kubernetes/get_pool.py +12 -1
- pulumiverse_scaleway/kubernetes/pool.py +61 -0
- pulumiverse_scaleway/kubernetes_node_pool.py +61 -0
- pulumiverse_scaleway/loadbalancer_acl.py +7 -7
- pulumiverse_scaleway/loadbalancers/_inputs.py +51 -11
- pulumiverse_scaleway/loadbalancers/acl.py +7 -7
- pulumiverse_scaleway/loadbalancers/outputs.py +60 -10
- pulumiverse_scaleway/network/get_private_network.py +12 -1
- pulumiverse_scaleway/network/get_vpc.py +12 -1
- pulumiverse_scaleway/network/private_network.py +47 -0
- pulumiverse_scaleway/network/vpc.py +47 -0
- pulumiverse_scaleway/object/_inputs.py +43 -21
- pulumiverse_scaleway/object/bucket_acl.py +6 -4
- pulumiverse_scaleway/object/outputs.py +26 -12
- pulumiverse_scaleway/object_bucket_acl.py +6 -4
- pulumiverse_scaleway/observability/get_source.py +50 -7
- pulumiverse_scaleway/outputs.py +86 -22
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/vpc.py +47 -0
- pulumiverse_scaleway/vpc_private_network.py +47 -0
- {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/RECORD +39 -36
- pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +0 -177
- pulumiverse_scaleway/get_cockpit_plan.py +0 -94
- pulumiverse_scaleway/observability/get_plan.py +0 -90
- {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,7 @@ class GetCockpitSourceResult:
|
|
29
29
|
"""
|
30
30
|
A collection of values returned by getCockpitSource.
|
31
31
|
"""
|
32
|
-
def __init__(__self__, created_at=None, id=None, name=None, origin=None, project_id=None, region=None, retention_days=None, synchronized_with_grafana=None, type=None, updated_at=None, url=None):
|
32
|
+
def __init__(__self__, created_at=None, id=None, name=None, origin=None, project_id=None, push_url=None, region=None, retention_days=None, synchronized_with_grafana=None, type=None, updated_at=None, url=None):
|
33
33
|
if created_at and not isinstance(created_at, str):
|
34
34
|
raise TypeError("Expected argument 'created_at' to be a str")
|
35
35
|
pulumi.set(__self__, "created_at", created_at)
|
@@ -45,6 +45,9 @@ class GetCockpitSourceResult:
|
|
45
45
|
if project_id and not isinstance(project_id, str):
|
46
46
|
raise TypeError("Expected argument 'project_id' to be a str")
|
47
47
|
pulumi.set(__self__, "project_id", project_id)
|
48
|
+
if push_url and not isinstance(push_url, str):
|
49
|
+
raise TypeError("Expected argument 'push_url' to be a str")
|
50
|
+
pulumi.set(__self__, "push_url", push_url)
|
48
51
|
if region and not isinstance(region, str):
|
49
52
|
raise TypeError("Expected argument 'region' to be a str")
|
50
53
|
pulumi.set(__self__, "region", region)
|
@@ -74,7 +77,7 @@ class GetCockpitSourceResult:
|
|
74
77
|
|
75
78
|
@property
|
76
79
|
@pulumi.getter
|
77
|
-
def id(self) -> builtins.str:
|
80
|
+
def id(self) -> Optional[builtins.str]:
|
78
81
|
"""
|
79
82
|
The unique identifier of the data source in the `{region}/{id}` format.
|
80
83
|
"""
|
@@ -82,12 +85,12 @@ class GetCockpitSourceResult:
|
|
82
85
|
|
83
86
|
@property
|
84
87
|
@pulumi.getter
|
85
|
-
def name(self) -> builtins.str:
|
88
|
+
def name(self) -> Optional[builtins.str]:
|
86
89
|
return pulumi.get(self, "name")
|
87
90
|
|
88
91
|
@property
|
89
92
|
@pulumi.getter
|
90
|
-
def origin(self) -> builtins.str:
|
93
|
+
def origin(self) -> Optional[builtins.str]:
|
91
94
|
"""
|
92
95
|
The origin of the data source.
|
93
96
|
"""
|
@@ -95,12 +98,17 @@ class GetCockpitSourceResult:
|
|
95
98
|
|
96
99
|
@property
|
97
100
|
@pulumi.getter(name="projectId")
|
98
|
-
def project_id(self) -> builtins.str:
|
101
|
+
def project_id(self) -> Optional[builtins.str]:
|
99
102
|
return pulumi.get(self, "project_id")
|
100
103
|
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="pushUrl")
|
106
|
+
def push_url(self) -> builtins.str:
|
107
|
+
return pulumi.get(self, "push_url")
|
108
|
+
|
101
109
|
@property
|
102
110
|
@pulumi.getter
|
103
|
-
def region(self) -> builtins.str:
|
111
|
+
def region(self) -> Optional[builtins.str]:
|
104
112
|
return pulumi.get(self, "region")
|
105
113
|
|
106
114
|
@property
|
@@ -121,7 +129,7 @@ class GetCockpitSourceResult:
|
|
121
129
|
|
122
130
|
@property
|
123
131
|
@pulumi.getter
|
124
|
-
def type(self) -> builtins.str:
|
132
|
+
def type(self) -> Optional[builtins.str]:
|
125
133
|
return pulumi.get(self, "type")
|
126
134
|
|
127
135
|
@property
|
@@ -152,6 +160,7 @@ class AwaitableGetCockpitSourceResult(GetCockpitSourceResult):
|
|
152
160
|
name=self.name,
|
153
161
|
origin=self.origin,
|
154
162
|
project_id=self.project_id,
|
163
|
+
push_url=self.push_url,
|
155
164
|
region=self.region,
|
156
165
|
retention_days=self.retention_days,
|
157
166
|
synchronized_with_grafana=self.synchronized_with_grafana,
|
@@ -164,6 +173,7 @@ def get_cockpit_source(id: Optional[builtins.str] = None,
|
|
164
173
|
name: Optional[builtins.str] = None,
|
165
174
|
origin: Optional[builtins.str] = None,
|
166
175
|
project_id: Optional[builtins.str] = None,
|
176
|
+
region: Optional[builtins.str] = None,
|
167
177
|
type: Optional[builtins.str] = None,
|
168
178
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCockpitSourceResult:
|
169
179
|
"""
|
@@ -184,11 +194,25 @@ def get_cockpit_source(id: Optional[builtins.str] = None,
|
|
184
194
|
example = scaleway.observability.get_source(id="fr-par/11111111-1111-1111-1111-111111111111")
|
185
195
|
```
|
186
196
|
|
197
|
+
### Retrieve a data source by filters
|
198
|
+
|
199
|
+
You can also retrieve a data source by specifying filtering criteria such as `name`, `type`, and `origin`.
|
200
|
+
|
201
|
+
```python
|
202
|
+
import pulumi
|
203
|
+
import pulumi_scaleway as scaleway
|
204
|
+
|
205
|
+
filtered = scaleway.observability.get_source(project_id="11111111-1111-1111-1111-111111111111",
|
206
|
+
region="fr-par",
|
207
|
+
name="my-data-source")
|
208
|
+
```
|
209
|
+
|
187
210
|
|
188
211
|
:param builtins.str id: The unique identifier of the Cockpit data source in the `{region}/{id}` format. If specified, other filters are ignored.
|
189
212
|
:param builtins.str name: The name of the data source.
|
190
213
|
:param builtins.str origin: The origin of the data source. Possible values are:
|
191
214
|
:param builtins.str project_id: The ID of the Project the data source is associated with. Defaults to the Project ID specified in the provider configuration.
|
215
|
+
:param builtins.str region: The region where the data source is located. Defaults to the region specified in the provider configuration.
|
192
216
|
:param builtins.str type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
|
193
217
|
"""
|
194
218
|
pulumi.log.warn("""get_cockpit_source is deprecated: scaleway.index/getcockpitsource.getCockpitSource has been deprecated in favor of scaleway.observability/getsource.getSource""")
|
@@ -197,6 +221,7 @@ def get_cockpit_source(id: Optional[builtins.str] = None,
|
|
197
221
|
__args__['name'] = name
|
198
222
|
__args__['origin'] = origin
|
199
223
|
__args__['projectId'] = project_id
|
224
|
+
__args__['region'] = region
|
200
225
|
__args__['type'] = type
|
201
226
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
202
227
|
__ret__ = pulumi.runtime.invoke('scaleway:index/getCockpitSource:getCockpitSource', __args__, opts=opts, typ=GetCockpitSourceResult).value
|
@@ -207,6 +232,7 @@ def get_cockpit_source(id: Optional[builtins.str] = None,
|
|
207
232
|
name=pulumi.get(__ret__, 'name'),
|
208
233
|
origin=pulumi.get(__ret__, 'origin'),
|
209
234
|
project_id=pulumi.get(__ret__, 'project_id'),
|
235
|
+
push_url=pulumi.get(__ret__, 'push_url'),
|
210
236
|
region=pulumi.get(__ret__, 'region'),
|
211
237
|
retention_days=pulumi.get(__ret__, 'retention_days'),
|
212
238
|
synchronized_with_grafana=pulumi.get(__ret__, 'synchronized_with_grafana'),
|
@@ -217,6 +243,7 @@ def get_cockpit_source_output(id: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
217
243
|
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
218
244
|
origin: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
219
245
|
project_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
246
|
+
region: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
220
247
|
type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
221
248
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitSourceResult]:
|
222
249
|
"""
|
@@ -237,11 +264,25 @@ def get_cockpit_source_output(id: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
237
264
|
example = scaleway.observability.get_source(id="fr-par/11111111-1111-1111-1111-111111111111")
|
238
265
|
```
|
239
266
|
|
267
|
+
### Retrieve a data source by filters
|
268
|
+
|
269
|
+
You can also retrieve a data source by specifying filtering criteria such as `name`, `type`, and `origin`.
|
270
|
+
|
271
|
+
```python
|
272
|
+
import pulumi
|
273
|
+
import pulumi_scaleway as scaleway
|
274
|
+
|
275
|
+
filtered = scaleway.observability.get_source(project_id="11111111-1111-1111-1111-111111111111",
|
276
|
+
region="fr-par",
|
277
|
+
name="my-data-source")
|
278
|
+
```
|
279
|
+
|
240
280
|
|
241
281
|
:param builtins.str id: The unique identifier of the Cockpit data source in the `{region}/{id}` format. If specified, other filters are ignored.
|
242
282
|
:param builtins.str name: The name of the data source.
|
243
283
|
:param builtins.str origin: The origin of the data source. Possible values are:
|
244
284
|
:param builtins.str project_id: The ID of the Project the data source is associated with. Defaults to the Project ID specified in the provider configuration.
|
285
|
+
:param builtins.str region: The region where the data source is located. Defaults to the region specified in the provider configuration.
|
245
286
|
:param builtins.str type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
|
246
287
|
"""
|
247
288
|
pulumi.log.warn("""get_cockpit_source is deprecated: scaleway.index/getcockpitsource.getCockpitSource has been deprecated in favor of scaleway.observability/getsource.getSource""")
|
@@ -250,6 +291,7 @@ def get_cockpit_source_output(id: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
250
291
|
__args__['name'] = name
|
251
292
|
__args__['origin'] = origin
|
252
293
|
__args__['projectId'] = project_id
|
294
|
+
__args__['region'] = region
|
253
295
|
__args__['type'] = type
|
254
296
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
255
297
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpitSource:getCockpitSource', __args__, opts=opts, typ=GetCockpitSourceResult)
|
@@ -259,6 +301,7 @@ def get_cockpit_source_output(id: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
259
301
|
name=pulumi.get(__response__, 'name'),
|
260
302
|
origin=pulumi.get(__response__, 'origin'),
|
261
303
|
project_id=pulumi.get(__response__, 'project_id'),
|
304
|
+
push_url=pulumi.get(__response__, 'push_url'),
|
262
305
|
region=pulumi.get(__response__, 'region'),
|
263
306
|
retention_days=pulumi.get(__response__, 'retention_days'),
|
264
307
|
synchronized_with_grafana=pulumi.get(__response__, 'synchronized_with_grafana'),
|
@@ -30,7 +30,7 @@ class GetKubernetesNodePoolResult:
|
|
30
30
|
"""
|
31
31
|
A collection of values returned by getKubernetesNodePool.
|
32
32
|
"""
|
33
|
-
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):
|
33
|
+
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, security_group_id=None, size=None, status=None, tags=None, updated_at=None, upgrade_policies=None, version=None, wait_for_pool_ready=None, zone=None):
|
34
34
|
if autohealing and not isinstance(autohealing, bool):
|
35
35
|
raise TypeError("Expected argument 'autohealing' to be a bool")
|
36
36
|
pulumi.set(__self__, "autohealing", autohealing)
|
@@ -88,6 +88,9 @@ class GetKubernetesNodePoolResult:
|
|
88
88
|
if root_volume_type and not isinstance(root_volume_type, str):
|
89
89
|
raise TypeError("Expected argument 'root_volume_type' to be a str")
|
90
90
|
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
91
|
+
if security_group_id and not isinstance(security_group_id, str):
|
92
|
+
raise TypeError("Expected argument 'security_group_id' to be a str")
|
93
|
+
pulumi.set(__self__, "security_group_id", security_group_id)
|
91
94
|
if size and not isinstance(size, int):
|
92
95
|
raise TypeError("Expected argument 'size' to be a int")
|
93
96
|
pulumi.set(__self__, "size", size)
|
@@ -241,6 +244,11 @@ class GetKubernetesNodePoolResult:
|
|
241
244
|
def root_volume_type(self) -> builtins.str:
|
242
245
|
return pulumi.get(self, "root_volume_type")
|
243
246
|
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="securityGroupId")
|
249
|
+
def security_group_id(self) -> builtins.str:
|
250
|
+
return pulumi.get(self, "security_group_id")
|
251
|
+
|
244
252
|
@property
|
245
253
|
@pulumi.getter
|
246
254
|
def size(self) -> Optional[builtins.int]:
|
@@ -322,6 +330,7 @@ class AwaitableGetKubernetesNodePoolResult(GetKubernetesNodePoolResult):
|
|
322
330
|
region=self.region,
|
323
331
|
root_volume_size_in_gb=self.root_volume_size_in_gb,
|
324
332
|
root_volume_type=self.root_volume_type,
|
333
|
+
security_group_id=self.security_group_id,
|
325
334
|
size=self.size,
|
326
335
|
status=self.status,
|
327
336
|
tags=self.tags,
|
@@ -378,6 +387,7 @@ def get_kubernetes_node_pool(cluster_id: Optional[builtins.str] = None,
|
|
378
387
|
region=pulumi.get(__ret__, 'region'),
|
379
388
|
root_volume_size_in_gb=pulumi.get(__ret__, 'root_volume_size_in_gb'),
|
380
389
|
root_volume_type=pulumi.get(__ret__, 'root_volume_type'),
|
390
|
+
security_group_id=pulumi.get(__ret__, 'security_group_id'),
|
381
391
|
size=pulumi.get(__ret__, 'size'),
|
382
392
|
status=pulumi.get(__ret__, 'status'),
|
383
393
|
tags=pulumi.get(__ret__, 'tags'),
|
@@ -431,6 +441,7 @@ def get_kubernetes_node_pool_output(cluster_id: Optional[pulumi.Input[Optional[b
|
|
431
441
|
region=pulumi.get(__response__, 'region'),
|
432
442
|
root_volume_size_in_gb=pulumi.get(__response__, 'root_volume_size_in_gb'),
|
433
443
|
root_volume_type=pulumi.get(__response__, 'root_volume_type'),
|
444
|
+
security_group_id=pulumi.get(__response__, 'security_group_id'),
|
434
445
|
size=pulumi.get(__response__, 'size'),
|
435
446
|
status=pulumi.get(__response__, 'status'),
|
436
447
|
tags=pulumi.get(__response__, 'tags'),
|
pulumiverse_scaleway/get_vpc.py
CHANGED
@@ -29,10 +29,13 @@ class GetVpcResult:
|
|
29
29
|
"""
|
30
30
|
A collection of values returned by getVpc.
|
31
31
|
"""
|
32
|
-
def __init__(__self__, created_at=None, enable_routing=None, id=None, is_default=None, name=None, organization_id=None, project_id=None, region=None, tags=None, updated_at=None, vpc_id=None):
|
32
|
+
def __init__(__self__, created_at=None, enable_custom_routes_propagation=None, enable_routing=None, id=None, is_default=None, name=None, organization_id=None, project_id=None, region=None, tags=None, updated_at=None, vpc_id=None):
|
33
33
|
if created_at and not isinstance(created_at, str):
|
34
34
|
raise TypeError("Expected argument 'created_at' to be a str")
|
35
35
|
pulumi.set(__self__, "created_at", created_at)
|
36
|
+
if enable_custom_routes_propagation and not isinstance(enable_custom_routes_propagation, bool):
|
37
|
+
raise TypeError("Expected argument 'enable_custom_routes_propagation' to be a bool")
|
38
|
+
pulumi.set(__self__, "enable_custom_routes_propagation", enable_custom_routes_propagation)
|
36
39
|
if enable_routing and not isinstance(enable_routing, bool):
|
37
40
|
raise TypeError("Expected argument 'enable_routing' to be a bool")
|
38
41
|
pulumi.set(__self__, "enable_routing", enable_routing)
|
@@ -69,6 +72,11 @@ class GetVpcResult:
|
|
69
72
|
def created_at(self) -> builtins.str:
|
70
73
|
return pulumi.get(self, "created_at")
|
71
74
|
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="enableCustomRoutesPropagation")
|
77
|
+
def enable_custom_routes_propagation(self) -> builtins.bool:
|
78
|
+
return pulumi.get(self, "enable_custom_routes_propagation")
|
79
|
+
|
72
80
|
@property
|
73
81
|
@pulumi.getter(name="enableRouting")
|
74
82
|
def enable_routing(self) -> builtins.bool:
|
@@ -130,6 +138,7 @@ class AwaitableGetVpcResult(GetVpcResult):
|
|
130
138
|
yield self
|
131
139
|
return GetVpcResult(
|
132
140
|
created_at=self.created_at,
|
141
|
+
enable_custom_routes_propagation=self.enable_custom_routes_propagation,
|
133
142
|
enable_routing=self.enable_routing,
|
134
143
|
id=self.id,
|
135
144
|
is_default=self.is_default,
|
@@ -186,6 +195,7 @@ def get_vpc(is_default: Optional[builtins.bool] = None,
|
|
186
195
|
|
187
196
|
return AwaitableGetVpcResult(
|
188
197
|
created_at=pulumi.get(__ret__, 'created_at'),
|
198
|
+
enable_custom_routes_propagation=pulumi.get(__ret__, 'enable_custom_routes_propagation'),
|
189
199
|
enable_routing=pulumi.get(__ret__, 'enable_routing'),
|
190
200
|
id=pulumi.get(__ret__, 'id'),
|
191
201
|
is_default=pulumi.get(__ret__, 'is_default'),
|
@@ -239,6 +249,7 @@ def get_vpc_output(is_default: Optional[pulumi.Input[Optional[builtins.bool]]] =
|
|
239
249
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpc:getVpc', __args__, opts=opts, typ=GetVpcResult)
|
240
250
|
return __ret__.apply(lambda __response__: GetVpcResult(
|
241
251
|
created_at=pulumi.get(__response__, 'created_at'),
|
252
|
+
enable_custom_routes_propagation=pulumi.get(__response__, 'enable_custom_routes_propagation'),
|
242
253
|
enable_routing=pulumi.get(__response__, 'enable_routing'),
|
243
254
|
id=pulumi.get(__response__, 'id'),
|
244
255
|
is_default=pulumi.get(__response__, 'is_default'),
|
@@ -30,10 +30,13 @@ class GetVpcPrivateNetworkResult:
|
|
30
30
|
"""
|
31
31
|
A collection of values returned by getVpcPrivateNetwork.
|
32
32
|
"""
|
33
|
-
def __init__(__self__, created_at=None, id=None, ipv4_subnets=None, ipv6_subnets=None, is_regional=None, name=None, organization_id=None, private_network_id=None, project_id=None, region=None, tags=None, updated_at=None, vpc_id=None, zone=None):
|
33
|
+
def __init__(__self__, created_at=None, enable_default_route_propagation=None, id=None, ipv4_subnets=None, ipv6_subnets=None, is_regional=None, name=None, organization_id=None, private_network_id=None, project_id=None, region=None, tags=None, updated_at=None, vpc_id=None, zone=None):
|
34
34
|
if created_at and not isinstance(created_at, str):
|
35
35
|
raise TypeError("Expected argument 'created_at' to be a str")
|
36
36
|
pulumi.set(__self__, "created_at", created_at)
|
37
|
+
if enable_default_route_propagation and not isinstance(enable_default_route_propagation, bool):
|
38
|
+
raise TypeError("Expected argument 'enable_default_route_propagation' to be a bool")
|
39
|
+
pulumi.set(__self__, "enable_default_route_propagation", enable_default_route_propagation)
|
37
40
|
if id and not isinstance(id, str):
|
38
41
|
raise TypeError("Expected argument 'id' to be a str")
|
39
42
|
pulumi.set(__self__, "id", id)
|
@@ -79,6 +82,11 @@ class GetVpcPrivateNetworkResult:
|
|
79
82
|
def created_at(self) -> builtins.str:
|
80
83
|
return pulumi.get(self, "created_at")
|
81
84
|
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="enableDefaultRoutePropagation")
|
87
|
+
def enable_default_route_propagation(self) -> builtins.bool:
|
88
|
+
return pulumi.get(self, "enable_default_route_propagation")
|
89
|
+
|
82
90
|
@property
|
83
91
|
@pulumi.getter
|
84
92
|
def id(self) -> builtins.str:
|
@@ -161,6 +169,7 @@ class AwaitableGetVpcPrivateNetworkResult(GetVpcPrivateNetworkResult):
|
|
161
169
|
yield self
|
162
170
|
return GetVpcPrivateNetworkResult(
|
163
171
|
created_at=self.created_at,
|
172
|
+
enable_default_route_propagation=self.enable_default_route_propagation,
|
164
173
|
id=self.id,
|
165
174
|
ipv4_subnets=self.ipv4_subnets,
|
166
175
|
ipv6_subnets=self.ipv6_subnets,
|
@@ -218,6 +227,7 @@ def get_vpc_private_network(name: Optional[builtins.str] = None,
|
|
218
227
|
|
219
228
|
return AwaitableGetVpcPrivateNetworkResult(
|
220
229
|
created_at=pulumi.get(__ret__, 'created_at'),
|
230
|
+
enable_default_route_propagation=pulumi.get(__ret__, 'enable_default_route_propagation'),
|
221
231
|
id=pulumi.get(__ret__, 'id'),
|
222
232
|
ipv4_subnets=pulumi.get(__ret__, 'ipv4_subnets'),
|
223
233
|
ipv6_subnets=pulumi.get(__ret__, 'ipv6_subnets'),
|
@@ -272,6 +282,7 @@ def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[builtins
|
|
272
282
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPrivateNetwork:getVpcPrivateNetwork', __args__, opts=opts, typ=GetVpcPrivateNetworkResult)
|
273
283
|
return __ret__.apply(lambda __response__: GetVpcPrivateNetworkResult(
|
274
284
|
created_at=pulumi.get(__response__, 'created_at'),
|
285
|
+
enable_default_route_propagation=pulumi.get(__response__, 'enable_default_route_propagation'),
|
275
286
|
id=pulumi.get(__response__, 'id'),
|
276
287
|
ipv4_subnets=pulumi.get(__response__, 'ipv4_subnets'),
|
277
288
|
ipv6_subnets=pulumi.get(__response__, 'ipv6_subnets'),
|
@@ -28,7 +28,7 @@ class GetPoolResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getPool.
|
30
30
|
"""
|
31
|
-
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
|
+
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, security_group_id=None, size=None, status=None, tags=None, updated_at=None, upgrade_policies=None, version=None, wait_for_pool_ready=None, zone=None):
|
32
32
|
if autohealing and not isinstance(autohealing, bool):
|
33
33
|
raise TypeError("Expected argument 'autohealing' to be a bool")
|
34
34
|
pulumi.set(__self__, "autohealing", autohealing)
|
@@ -86,6 +86,9 @@ class GetPoolResult:
|
|
86
86
|
if root_volume_type and not isinstance(root_volume_type, str):
|
87
87
|
raise TypeError("Expected argument 'root_volume_type' to be a str")
|
88
88
|
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
89
|
+
if security_group_id and not isinstance(security_group_id, str):
|
90
|
+
raise TypeError("Expected argument 'security_group_id' to be a str")
|
91
|
+
pulumi.set(__self__, "security_group_id", security_group_id)
|
89
92
|
if size and not isinstance(size, int):
|
90
93
|
raise TypeError("Expected argument 'size' to be a int")
|
91
94
|
pulumi.set(__self__, "size", size)
|
@@ -239,6 +242,11 @@ class GetPoolResult:
|
|
239
242
|
def root_volume_type(self) -> builtins.str:
|
240
243
|
return pulumi.get(self, "root_volume_type")
|
241
244
|
|
245
|
+
@property
|
246
|
+
@pulumi.getter(name="securityGroupId")
|
247
|
+
def security_group_id(self) -> builtins.str:
|
248
|
+
return pulumi.get(self, "security_group_id")
|
249
|
+
|
242
250
|
@property
|
243
251
|
@pulumi.getter
|
244
252
|
def size(self) -> Optional[builtins.int]:
|
@@ -320,6 +328,7 @@ class AwaitableGetPoolResult(GetPoolResult):
|
|
320
328
|
region=self.region,
|
321
329
|
root_volume_size_in_gb=self.root_volume_size_in_gb,
|
322
330
|
root_volume_type=self.root_volume_type,
|
331
|
+
security_group_id=self.security_group_id,
|
323
332
|
size=self.size,
|
324
333
|
status=self.status,
|
325
334
|
tags=self.tags,
|
@@ -375,6 +384,7 @@ def get_pool(cluster_id: Optional[builtins.str] = None,
|
|
375
384
|
region=pulumi.get(__ret__, 'region'),
|
376
385
|
root_volume_size_in_gb=pulumi.get(__ret__, 'root_volume_size_in_gb'),
|
377
386
|
root_volume_type=pulumi.get(__ret__, 'root_volume_type'),
|
387
|
+
security_group_id=pulumi.get(__ret__, 'security_group_id'),
|
378
388
|
size=pulumi.get(__ret__, 'size'),
|
379
389
|
status=pulumi.get(__ret__, 'status'),
|
380
390
|
tags=pulumi.get(__ret__, 'tags'),
|
@@ -427,6 +437,7 @@ def get_pool_output(cluster_id: Optional[pulumi.Input[Optional[builtins.str]]] =
|
|
427
437
|
region=pulumi.get(__response__, 'region'),
|
428
438
|
root_volume_size_in_gb=pulumi.get(__response__, 'root_volume_size_in_gb'),
|
429
439
|
root_volume_type=pulumi.get(__response__, 'root_volume_type'),
|
440
|
+
security_group_id=pulumi.get(__response__, 'security_group_id'),
|
430
441
|
size=pulumi.get(__response__, 'size'),
|
431
442
|
status=pulumi.get(__response__, 'status'),
|
432
443
|
tags=pulumi.get(__response__, 'tags'),
|
@@ -37,6 +37,7 @@ class PoolArgs:
|
|
37
37
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
38
38
|
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
39
39
|
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
40
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
40
41
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
41
42
|
upgrade_policy: Optional[pulumi.Input['PoolUpgradePolicyArgs']] = None,
|
42
43
|
wait_for_pool_ready: Optional[pulumi.Input[builtins.bool]] = None,
|
@@ -72,6 +73,9 @@ class PoolArgs:
|
|
72
73
|
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
73
74
|
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
74
75
|
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
76
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
77
|
+
|
78
|
+
> **Important:** Updates to this field will recreate a new resource.
|
75
79
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the pool.
|
76
80
|
|
77
81
|
> Note: As mentionned 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"`)
|
@@ -108,6 +112,8 @@ class PoolArgs:
|
|
108
112
|
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
109
113
|
if root_volume_type is not None:
|
110
114
|
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
115
|
+
if security_group_id is not None:
|
116
|
+
pulumi.set(__self__, "security_group_id", security_group_id)
|
111
117
|
if tags is not None:
|
112
118
|
pulumi.set(__self__, "tags", tags)
|
113
119
|
if upgrade_policy is not None:
|
@@ -311,6 +317,20 @@ class PoolArgs:
|
|
311
317
|
def root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
312
318
|
pulumi.set(self, "root_volume_type", value)
|
313
319
|
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="securityGroupId")
|
322
|
+
def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
323
|
+
"""
|
324
|
+
The ID of the security group
|
325
|
+
|
326
|
+
> **Important:** Updates to this field will recreate a new resource.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "security_group_id")
|
329
|
+
|
330
|
+
@security_group_id.setter
|
331
|
+
def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
332
|
+
pulumi.set(self, "security_group_id", value)
|
333
|
+
|
314
334
|
@property
|
315
335
|
@pulumi.getter
|
316
336
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
@@ -384,6 +404,7 @@ class _PoolState:
|
|
384
404
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
385
405
|
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
386
406
|
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
407
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
387
408
|
size: Optional[pulumi.Input[builtins.int]] = None,
|
388
409
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
389
410
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
@@ -423,6 +444,9 @@ class _PoolState:
|
|
423
444
|
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
424
445
|
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
425
446
|
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
447
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
448
|
+
|
449
|
+
> **Important:** Updates to this field will recreate a new resource.
|
426
450
|
:param pulumi.Input[builtins.int] size: The size of the pool.
|
427
451
|
|
428
452
|
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
@@ -472,6 +496,8 @@ class _PoolState:
|
|
472
496
|
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
473
497
|
if root_volume_type is not None:
|
474
498
|
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
499
|
+
if security_group_id is not None:
|
500
|
+
pulumi.set(__self__, "security_group_id", security_group_id)
|
475
501
|
if size is not None:
|
476
502
|
pulumi.set(__self__, "size", size)
|
477
503
|
if status is not None:
|
@@ -705,6 +731,20 @@ class _PoolState:
|
|
705
731
|
def root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
706
732
|
pulumi.set(self, "root_volume_type", value)
|
707
733
|
|
734
|
+
@property
|
735
|
+
@pulumi.getter(name="securityGroupId")
|
736
|
+
def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
737
|
+
"""
|
738
|
+
The ID of the security group
|
739
|
+
|
740
|
+
> **Important:** Updates to this field will recreate a new resource.
|
741
|
+
"""
|
742
|
+
return pulumi.get(self, "security_group_id")
|
743
|
+
|
744
|
+
@security_group_id.setter
|
745
|
+
def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
746
|
+
pulumi.set(self, "security_group_id", value)
|
747
|
+
|
708
748
|
@property
|
709
749
|
@pulumi.getter
|
710
750
|
def size(self) -> Optional[pulumi.Input[builtins.int]]:
|
@@ -828,6 +868,7 @@ class Pool(pulumi.CustomResource):
|
|
828
868
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
829
869
|
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
830
870
|
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
871
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
831
872
|
size: Optional[pulumi.Input[builtins.int]] = None,
|
832
873
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
833
874
|
upgrade_policy: Optional[pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']]] = None,
|
@@ -873,6 +914,9 @@ class Pool(pulumi.CustomResource):
|
|
873
914
|
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
874
915
|
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
875
916
|
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
917
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
918
|
+
|
919
|
+
> **Important:** Updates to this field will recreate a new resource.
|
876
920
|
:param pulumi.Input[builtins.int] size: The size of the pool.
|
877
921
|
|
878
922
|
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
@@ -931,6 +975,7 @@ class Pool(pulumi.CustomResource):
|
|
931
975
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
932
976
|
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
933
977
|
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
978
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
934
979
|
size: Optional[pulumi.Input[builtins.int]] = None,
|
935
980
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
936
981
|
upgrade_policy: Optional[pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']]] = None,
|
@@ -963,6 +1008,7 @@ class Pool(pulumi.CustomResource):
|
|
963
1008
|
__props__.__dict__["region"] = region
|
964
1009
|
__props__.__dict__["root_volume_size_in_gb"] = root_volume_size_in_gb
|
965
1010
|
__props__.__dict__["root_volume_type"] = root_volume_type
|
1011
|
+
__props__.__dict__["security_group_id"] = security_group_id
|
966
1012
|
if size is None and not opts.urn:
|
967
1013
|
raise TypeError("Missing required property 'size'")
|
968
1014
|
__props__.__dict__["size"] = size
|
@@ -1005,6 +1051,7 @@ class Pool(pulumi.CustomResource):
|
|
1005
1051
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
1006
1052
|
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
1007
1053
|
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
1054
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
1008
1055
|
size: Optional[pulumi.Input[builtins.int]] = None,
|
1009
1056
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
1010
1057
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
@@ -1049,6 +1096,9 @@ class Pool(pulumi.CustomResource):
|
|
1049
1096
|
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
1050
1097
|
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
1051
1098
|
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
1099
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
1100
|
+
|
1101
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1052
1102
|
:param pulumi.Input[builtins.int] size: The size of the pool.
|
1053
1103
|
|
1054
1104
|
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
@@ -1085,6 +1135,7 @@ class Pool(pulumi.CustomResource):
|
|
1085
1135
|
__props__.__dict__["region"] = region
|
1086
1136
|
__props__.__dict__["root_volume_size_in_gb"] = root_volume_size_in_gb
|
1087
1137
|
__props__.__dict__["root_volume_type"] = root_volume_type
|
1138
|
+
__props__.__dict__["security_group_id"] = security_group_id
|
1088
1139
|
__props__.__dict__["size"] = size
|
1089
1140
|
__props__.__dict__["status"] = status
|
1090
1141
|
__props__.__dict__["tags"] = tags
|
@@ -1243,6 +1294,16 @@ class Pool(pulumi.CustomResource):
|
|
1243
1294
|
"""
|
1244
1295
|
return pulumi.get(self, "root_volume_type")
|
1245
1296
|
|
1297
|
+
@property
|
1298
|
+
@pulumi.getter(name="securityGroupId")
|
1299
|
+
def security_group_id(self) -> pulumi.Output[builtins.str]:
|
1300
|
+
"""
|
1301
|
+
The ID of the security group
|
1302
|
+
|
1303
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1304
|
+
"""
|
1305
|
+
return pulumi.get(self, "security_group_id")
|
1306
|
+
|
1246
1307
|
@property
|
1247
1308
|
@pulumi.getter
|
1248
1309
|
def size(self) -> pulumi.Output[builtins.int]:
|