pulumiverse-scaleway 1.22.0a1736239435__py3-none-any.whl → 1.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +10 -0
- pulumiverse_scaleway/_inputs.py +326 -12
- pulumiverse_scaleway/_utilities.py +8 -4
- pulumiverse_scaleway/account_ssh_key.py +2 -2
- pulumiverse_scaleway/apple_silicon_server.py +124 -0
- pulumiverse_scaleway/baremetal_server.py +67 -7
- pulumiverse_scaleway/block_snapshot.py +2 -2
- pulumiverse_scaleway/block_volume.py +58 -11
- pulumiverse_scaleway/cockpit_grafana_user.py +28 -0
- pulumiverse_scaleway/cockpit_source.py +53 -3
- pulumiverse_scaleway/container.py +236 -23
- pulumiverse_scaleway/container_domain.py +2 -2
- pulumiverse_scaleway/database_instance.py +74 -21
- pulumiverse_scaleway/get_account_project.py +4 -4
- pulumiverse_scaleway/get_account_ssh_key.py +4 -4
- pulumiverse_scaleway/get_availability_zones.py +2 -2
- pulumiverse_scaleway/get_baremetal_offer.py +2 -2
- pulumiverse_scaleway/get_baremetal_option.py +2 -2
- pulumiverse_scaleway/get_baremetal_os.py +2 -2
- pulumiverse_scaleway/get_baremetal_server.py +2 -2
- pulumiverse_scaleway/get_billing_consumptions.py +2 -2
- pulumiverse_scaleway/get_billing_invoices.py +2 -2
- pulumiverse_scaleway/get_block_snapshot.py +4 -4
- pulumiverse_scaleway/get_block_volume.py +16 -5
- pulumiverse_scaleway/get_cockpit.py +2 -2
- pulumiverse_scaleway/get_cockpit_plan.py +2 -2
- pulumiverse_scaleway/get_cockpit_source.py +262 -0
- pulumiverse_scaleway/get_config.py +2 -2
- pulumiverse_scaleway/get_container.py +32 -6
- pulumiverse_scaleway/get_container_namespace.py +2 -2
- pulumiverse_scaleway/get_database.py +2 -2
- pulumiverse_scaleway/get_database_acl.py +2 -2
- pulumiverse_scaleway/get_database_backup.py +2 -2
- pulumiverse_scaleway/get_database_instance.py +14 -3
- pulumiverse_scaleway/get_database_privilege.py +2 -2
- pulumiverse_scaleway/get_domain_record.py +2 -2
- pulumiverse_scaleway/get_domain_zone.py +2 -2
- pulumiverse_scaleway/get_flexible_ip.py +2 -2
- pulumiverse_scaleway/get_flexible_ips.py +2 -2
- pulumiverse_scaleway/get_function.py +2 -2
- pulumiverse_scaleway/get_function_namespace.py +2 -2
- pulumiverse_scaleway/get_iam_api_key.py +2 -2
- pulumiverse_scaleway/get_iam_application.py +2 -2
- pulumiverse_scaleway/get_iam_group.py +2 -2
- pulumiverse_scaleway/get_iam_ssh_key.py +2 -2
- pulumiverse_scaleway/get_iam_user.py +2 -2
- pulumiverse_scaleway/get_instance_image.py +2 -2
- pulumiverse_scaleway/get_instance_ip.py +2 -2
- pulumiverse_scaleway/get_instance_placement_group.py +2 -2
- pulumiverse_scaleway/get_instance_private_nic.py +2 -2
- pulumiverse_scaleway/get_instance_security_group.py +2 -2
- pulumiverse_scaleway/get_instance_server.py +3 -17
- pulumiverse_scaleway/get_instance_servers.py +2 -2
- pulumiverse_scaleway/get_instance_snapshot.py +2 -2
- pulumiverse_scaleway/get_instance_volume.py +14 -3
- pulumiverse_scaleway/get_iot_device.py +2 -2
- pulumiverse_scaleway/get_iot_hub.py +2 -2
- pulumiverse_scaleway/get_ipam_ip.py +4 -4
- pulumiverse_scaleway/get_ipam_ips.py +4 -4
- pulumiverse_scaleway/get_k8s_version.py +2 -2
- pulumiverse_scaleway/get_kubernetes_cluster.py +2 -2
- pulumiverse_scaleway/get_kubernetes_node_pool.py +2 -2
- pulumiverse_scaleway/get_lb_acls.py +4 -4
- pulumiverse_scaleway/get_lb_backend.py +4 -4
- pulumiverse_scaleway/get_lb_backends.py +4 -4
- pulumiverse_scaleway/get_lb_frontend.py +4 -4
- pulumiverse_scaleway/get_lb_frontends.py +4 -4
- pulumiverse_scaleway/get_lb_ips.py +4 -4
- pulumiverse_scaleway/get_lb_route.py +4 -4
- pulumiverse_scaleway/get_lb_routes.py +4 -4
- pulumiverse_scaleway/get_lbs.py +4 -4
- pulumiverse_scaleway/get_loadbalancer.py +4 -4
- pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -4
- pulumiverse_scaleway/get_loadbalancer_ip.py +4 -4
- pulumiverse_scaleway/get_marketplace_image.py +2 -2
- pulumiverse_scaleway/get_mnq_sns.py +2 -2
- pulumiverse_scaleway/get_mnq_sqs.py +2 -2
- pulumiverse_scaleway/get_mongo_db_instance.py +2 -2
- pulumiverse_scaleway/get_object_bucket.py +4 -4
- pulumiverse_scaleway/get_object_bucket_policy.py +4 -4
- pulumiverse_scaleway/get_redis_cluster.py +2 -2
- pulumiverse_scaleway/get_registry_image.py +2 -2
- pulumiverse_scaleway/get_registry_image_tag.py +2 -2
- pulumiverse_scaleway/get_registry_namespace.py +2 -2
- pulumiverse_scaleway/get_secret.py +2 -2
- pulumiverse_scaleway/get_secret_version.py +2 -2
- pulumiverse_scaleway/get_tem_domain.py +2 -2
- pulumiverse_scaleway/get_vpc.py +2 -2
- pulumiverse_scaleway/get_vpc_gateway_network.py +2 -2
- pulumiverse_scaleway/get_vpc_private_network.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +2 -2
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +2 -2
- pulumiverse_scaleway/get_vpc_routes.py +2 -2
- pulumiverse_scaleway/get_vpcs.py +2 -2
- pulumiverse_scaleway/get_web_host_offer.py +2 -2
- pulumiverse_scaleway/get_webhosting.py +2 -2
- pulumiverse_scaleway/iam_policy.py +2 -2
- pulumiverse_scaleway/instance_ip.py +7 -21
- pulumiverse_scaleway/instance_server.py +13 -78
- pulumiverse_scaleway/instance_volume.py +47 -0
- pulumiverse_scaleway/iot_route.py +21 -21
- pulumiverse_scaleway/ipam_ip.py +2 -2
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +2 -2
- pulumiverse_scaleway/loadbalancer.py +2 -2
- pulumiverse_scaleway/loadbalancer_acl.py +2 -2
- pulumiverse_scaleway/loadbalancer_backend.py +2 -2
- pulumiverse_scaleway/loadbalancer_frontend.py +2 -2
- pulumiverse_scaleway/loadbalancer_ip.py +2 -2
- pulumiverse_scaleway/loadbalancer_route.py +2 -2
- pulumiverse_scaleway/mnq_nats_account.py +2 -2
- pulumiverse_scaleway/mnq_nats_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sns.py +2 -2
- pulumiverse_scaleway/mnq_sns_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sns_topic.py +2 -2
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +2 -2
- pulumiverse_scaleway/mnq_sqs.py +2 -2
- pulumiverse_scaleway/mnq_sqs_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sqs_queue.py +2 -2
- pulumiverse_scaleway/mongo_db_instance.py +2 -2
- pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
- pulumiverse_scaleway/object_bucket.py +12 -12
- pulumiverse_scaleway/object_bucket_acl.py +2 -2
- pulumiverse_scaleway/object_bucket_lock_configuration.py +4 -4
- pulumiverse_scaleway/object_bucket_policy.py +6 -6
- pulumiverse_scaleway/object_bucket_website_configuration.py +4 -4
- pulumiverse_scaleway/object_item.py +60 -11
- pulumiverse_scaleway/outputs.py +353 -8
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +608 -0
- pulumiverse_scaleway/redis_cluster.py +49 -14
- pulumiverse_scaleway/sdb_database.py +2 -2
- pulumiverse_scaleway/secret_version.py +2 -2
- pulumiverse_scaleway/vpc.py +2 -2
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +14 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/vpc_route.py +2 -2
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/METADATA +3 -3
- pulumiverse_scaleway-1.23.0.dist-info/RECORD +206 -0
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway-1.22.0a1736239435.dist-info/RECORD +0 -204
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/top_level.txt +0 -0
|
@@ -215,7 +215,7 @@ def get_flexible_ip(flexible_ip_id: Optional[str] = None,
|
|
|
215
215
|
def get_flexible_ip_output(flexible_ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
216
216
|
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
217
217
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
218
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleIpResult]:
|
|
218
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlexibleIpResult]:
|
|
219
219
|
"""
|
|
220
220
|
Gets information about a Flexible IP.
|
|
221
221
|
|
|
@@ -228,7 +228,7 @@ def get_flexible_ip_output(flexible_ip_id: Optional[pulumi.Input[Optional[str]]]
|
|
|
228
228
|
__args__['flexibleIpId'] = flexible_ip_id
|
|
229
229
|
__args__['ipAddress'] = ip_address
|
|
230
230
|
__args__['projectId'] = project_id
|
|
231
|
-
opts = pulumi.
|
|
231
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
232
232
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFlexibleIp:getFlexibleIp', __args__, opts=opts, typ=GetFlexibleIpResult)
|
|
233
233
|
return __ret__.apply(lambda __response__: GetFlexibleIpResult(
|
|
234
234
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -183,7 +183,7 @@ def get_flexible_ips_output(project_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
183
183
|
server_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
184
184
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
185
185
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
186
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleIpsResult]:
|
|
186
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlexibleIpsResult]:
|
|
187
187
|
"""
|
|
188
188
|
Gets information about multiple Flexible IPs.
|
|
189
189
|
|
|
@@ -228,7 +228,7 @@ def get_flexible_ips_output(project_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
228
228
|
__args__['serverIds'] = server_ids
|
|
229
229
|
__args__['tags'] = tags
|
|
230
230
|
__args__['zone'] = zone
|
|
231
|
-
opts = pulumi.
|
|
231
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
232
232
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFlexibleIps:getFlexibleIps', __args__, opts=opts, typ=GetFlexibleIpsResult)
|
|
233
233
|
return __ret__.apply(lambda __response__: GetFlexibleIpsResult(
|
|
234
234
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -315,7 +315,7 @@ def get_function_output(function_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
315
315
|
namespace_id: Optional[pulumi.Input[str]] = None,
|
|
316
316
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
317
317
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
318
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionResult]:
|
|
318
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionResult]:
|
|
319
319
|
"""
|
|
320
320
|
The `Function` data source is used to retrieve information about a Serverless Function.
|
|
321
321
|
|
|
@@ -336,7 +336,7 @@ def get_function_output(function_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
336
336
|
__args__['namespaceId'] = namespace_id
|
|
337
337
|
__args__['projectId'] = project_id
|
|
338
338
|
__args__['region'] = region
|
|
339
|
-
opts = pulumi.
|
|
339
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
340
340
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFunction:getFunction', __args__, opts=opts, typ=GetFunctionResult)
|
|
341
341
|
return __ret__.apply(lambda __response__: GetFunctionResult(
|
|
342
342
|
cpu_limit=pulumi.get(__response__, 'cpu_limit'),
|
|
@@ -204,7 +204,7 @@ def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
204
204
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
205
205
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
206
206
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionNamespaceResult]:
|
|
207
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionNamespaceResult]:
|
|
208
208
|
"""
|
|
209
209
|
The `FunctionNamespace` data source is used to retrieve information about a Serverless Functions namespace.
|
|
210
210
|
|
|
@@ -221,7 +221,7 @@ def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
221
221
|
__args__['namespaceId'] = namespace_id
|
|
222
222
|
__args__['projectId'] = project_id
|
|
223
223
|
__args__['region'] = region
|
|
224
|
-
opts = pulumi.
|
|
224
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
225
225
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFunctionNamespace:getFunctionNamespace', __args__, opts=opts, typ=GetFunctionNamespaceResult)
|
|
226
226
|
return __ret__.apply(lambda __response__: GetFunctionNamespaceResult(
|
|
227
227
|
description=pulumi.get(__response__, 'description'),
|
|
@@ -175,7 +175,7 @@ def get_iam_api_key(access_key: Optional[str] = None,
|
|
|
175
175
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
176
176
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
177
177
|
def get_iam_api_key_output(access_key: Optional[pulumi.Input[str]] = None,
|
|
178
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamApiKeyResult]:
|
|
178
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamApiKeyResult]:
|
|
179
179
|
"""
|
|
180
180
|
Gets information about an existing IAM API key. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae).
|
|
181
181
|
|
|
@@ -194,7 +194,7 @@ def get_iam_api_key_output(access_key: Optional[pulumi.Input[str]] = None,
|
|
|
194
194
|
"""
|
|
195
195
|
__args__ = dict()
|
|
196
196
|
__args__['accessKey'] = access_key
|
|
197
|
-
opts = pulumi.
|
|
197
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
198
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamApiKey:getIamApiKey', __args__, opts=opts, typ=GetIamApiKeyResult)
|
|
199
199
|
return __ret__.apply(lambda __response__: GetIamApiKeyResult(
|
|
200
200
|
access_key=pulumi.get(__response__, 'access_key'),
|
|
@@ -168,7 +168,7 @@ def get_iam_application(application_id: Optional[str] = None,
|
|
|
168
168
|
def get_iam_application_output(application_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
169
169
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
170
170
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
171
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamApplicationResult]:
|
|
171
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamApplicationResult]:
|
|
172
172
|
"""
|
|
173
173
|
Gets information about an existing IAM application.
|
|
174
174
|
|
|
@@ -196,7 +196,7 @@ def get_iam_application_output(application_id: Optional[pulumi.Input[Optional[st
|
|
|
196
196
|
__args__['applicationId'] = application_id
|
|
197
197
|
__args__['name'] = name
|
|
198
198
|
__args__['organizationId'] = organization_id
|
|
199
|
-
opts = pulumi.
|
|
199
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
200
200
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamApplication:getIamApplication', __args__, opts=opts, typ=GetIamApplicationResult)
|
|
201
201
|
return __ret__.apply(lambda __response__: GetIamApplicationResult(
|
|
202
202
|
application_id=pulumi.get(__response__, 'application_id'),
|
|
@@ -190,7 +190,7 @@ def get_iam_group(group_id: Optional[str] = None,
|
|
|
190
190
|
def get_iam_group_output(group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
191
191
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
192
192
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
193
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamGroupResult]:
|
|
193
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamGroupResult]:
|
|
194
194
|
"""
|
|
195
195
|
Gets information about an existing IAM group.
|
|
196
196
|
|
|
@@ -220,7 +220,7 @@ def get_iam_group_output(group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
220
220
|
__args__['groupId'] = group_id
|
|
221
221
|
__args__['name'] = name
|
|
222
222
|
__args__['organizationId'] = organization_id
|
|
223
|
-
opts = pulumi.
|
|
223
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
224
224
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamGroup:getIamGroup', __args__, opts=opts, typ=GetIamGroupResult)
|
|
225
225
|
return __ret__.apply(lambda __response__: GetIamGroupResult(
|
|
226
226
|
application_ids=pulumi.get(__response__, 'application_ids'),
|
|
@@ -181,7 +181,7 @@ def get_iam_ssh_key(name: Optional[str] = None,
|
|
|
181
181
|
def get_iam_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
182
182
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
183
183
|
ssh_key_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
184
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamSshKeyResult]:
|
|
184
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamSshKeyResult]:
|
|
185
185
|
"""
|
|
186
186
|
Use this data source to get SSH key information based on its ID or name.
|
|
187
187
|
|
|
@@ -197,7 +197,7 @@ def get_iam_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
197
197
|
__args__['name'] = name
|
|
198
198
|
__args__['projectId'] = project_id
|
|
199
199
|
__args__['sshKeyId'] = ssh_key_id
|
|
200
|
-
opts = pulumi.
|
|
200
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
201
201
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamSshKey:getIamSshKey', __args__, opts=opts, typ=GetIamSshKeyResult)
|
|
202
202
|
return __ret__.apply(lambda __response__: GetIamSshKeyResult(
|
|
203
203
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -136,7 +136,7 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
136
136
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
137
137
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
138
138
|
user_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
139
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamUserResult]:
|
|
139
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamUserResult]:
|
|
140
140
|
"""
|
|
141
141
|
Use this data source to get information on an existing IAM user based on its ID or email address.
|
|
142
142
|
For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf).
|
|
@@ -167,7 +167,7 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
167
167
|
__args__['organizationId'] = organization_id
|
|
168
168
|
__args__['tags'] = tags
|
|
169
169
|
__args__['userId'] = user_id
|
|
170
|
-
opts = pulumi.
|
|
170
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
171
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamUser:getIamUser', __args__, opts=opts, typ=GetIamUserResult)
|
|
172
172
|
return __ret__.apply(lambda __response__: GetIamUserResult(
|
|
173
173
|
email=pulumi.get(__response__, 'email'),
|
|
@@ -265,7 +265,7 @@ def get_instance_image_output(architecture: Optional[pulumi.Input[Optional[str]]
|
|
|
265
265
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
266
266
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
267
267
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
268
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceImageResult]:
|
|
268
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceImageResult]:
|
|
269
269
|
"""
|
|
270
270
|
Gets information about an instance image.
|
|
271
271
|
|
|
@@ -284,7 +284,7 @@ def get_instance_image_output(architecture: Optional[pulumi.Input[Optional[str]]
|
|
|
284
284
|
__args__['name'] = name
|
|
285
285
|
__args__['projectId'] = project_id
|
|
286
286
|
__args__['zone'] = zone
|
|
287
|
-
opts = pulumi.
|
|
287
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
288
288
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceImage:getInstanceImage', __args__, opts=opts, typ=GetInstanceImageResult)
|
|
289
289
|
return __ret__.apply(lambda __response__: GetInstanceImageResult(
|
|
290
290
|
additional_volume_ids=pulumi.get(__response__, 'additional_volume_ids'),
|
|
@@ -176,7 +176,7 @@ def get_instance_ip(address: Optional[str] = None,
|
|
|
176
176
|
zone=pulumi.get(__ret__, 'zone'))
|
|
177
177
|
def get_instance_ip_output(address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
178
178
|
id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
179
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceIpResult]:
|
|
179
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceIpResult]:
|
|
180
180
|
"""
|
|
181
181
|
Gets information about an instance IP.
|
|
182
182
|
|
|
@@ -189,7 +189,7 @@ def get_instance_ip_output(address: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
189
189
|
__args__ = dict()
|
|
190
190
|
__args__['address'] = address
|
|
191
191
|
__args__['id'] = id
|
|
192
|
-
opts = pulumi.
|
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
193
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceIp:getInstanceIp', __args__, opts=opts, typ=GetInstanceIpResult)
|
|
194
194
|
return __ret__.apply(lambda __response__: GetInstanceIpResult(
|
|
195
195
|
address=pulumi.get(__response__, 'address'),
|
|
@@ -182,7 +182,7 @@ def get_instance_placement_group_output(name: Optional[pulumi.Input[Optional[str
|
|
|
182
182
|
placement_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
183
183
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
184
184
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
185
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstancePlacementGroupResult]:
|
|
185
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstancePlacementGroupResult]:
|
|
186
186
|
"""
|
|
187
187
|
Gets information about a Security Group.
|
|
188
188
|
|
|
@@ -197,7 +197,7 @@ def get_instance_placement_group_output(name: Optional[pulumi.Input[Optional[str
|
|
|
197
197
|
__args__['placementGroupId'] = placement_group_id
|
|
198
198
|
__args__['projectId'] = project_id
|
|
199
199
|
__args__['zone'] = zone
|
|
200
|
-
opts = pulumi.
|
|
200
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
201
201
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstancePlacementGroup:getInstancePlacementGroup', __args__, opts=opts, typ=GetInstancePlacementGroupResult)
|
|
202
202
|
return __ret__.apply(lambda __response__: GetInstancePlacementGroupResult(
|
|
203
203
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -178,7 +178,7 @@ def get_instance_private_nic_output(private_network_id: Optional[pulumi.Input[Op
|
|
|
178
178
|
server_id: Optional[pulumi.Input[str]] = None,
|
|
179
179
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
180
180
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
181
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstancePrivateNicResult]:
|
|
181
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstancePrivateNicResult]:
|
|
182
182
|
"""
|
|
183
183
|
Gets information about an instance private NIC.
|
|
184
184
|
|
|
@@ -212,7 +212,7 @@ def get_instance_private_nic_output(private_network_id: Optional[pulumi.Input[Op
|
|
|
212
212
|
__args__['serverId'] = server_id
|
|
213
213
|
__args__['tags'] = tags
|
|
214
214
|
__args__['zone'] = zone
|
|
215
|
-
opts = pulumi.
|
|
215
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
216
216
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstancePrivateNic:getInstancePrivateNic', __args__, opts=opts, typ=GetInstancePrivateNicResult)
|
|
217
217
|
return __ret__.apply(lambda __response__: GetInstancePrivateNicResult(
|
|
218
218
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -233,7 +233,7 @@ def get_instance_security_group_output(name: Optional[pulumi.Input[Optional[str]
|
|
|
233
233
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
234
234
|
security_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
235
235
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
236
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceSecurityGroupResult]:
|
|
236
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceSecurityGroupResult]:
|
|
237
237
|
"""
|
|
238
238
|
Gets information about a Security Group.
|
|
239
239
|
|
|
@@ -248,7 +248,7 @@ def get_instance_security_group_output(name: Optional[pulumi.Input[Optional[str]
|
|
|
248
248
|
__args__['projectId'] = project_id
|
|
249
249
|
__args__['securityGroupId'] = security_group_id
|
|
250
250
|
__args__['zone'] = zone
|
|
251
|
-
opts = pulumi.
|
|
251
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
252
252
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceSecurityGroup:getInstanceSecurityGroup', __args__, opts=opts, typ=GetInstanceSecurityGroupResult)
|
|
253
253
|
return __ret__.apply(lambda __response__: GetInstanceSecurityGroupResult(
|
|
254
254
|
description=pulumi.get(__response__, 'description'),
|
|
@@ -27,7 +27,7 @@ class GetInstanceServerResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getInstanceServer.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None,
|
|
30
|
+
def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
|
|
31
31
|
if additional_volume_ids and not isinstance(additional_volume_ids, list):
|
|
32
32
|
raise TypeError("Expected argument 'additional_volume_ids' to be a list")
|
|
33
33
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
|
@@ -100,9 +100,6 @@ class GetInstanceServerResult:
|
|
|
100
100
|
if root_volumes and not isinstance(root_volumes, list):
|
|
101
101
|
raise TypeError("Expected argument 'root_volumes' to be a list")
|
|
102
102
|
pulumi.set(__self__, "root_volumes", root_volumes)
|
|
103
|
-
if routed_ip_enabled and not isinstance(routed_ip_enabled, bool):
|
|
104
|
-
raise TypeError("Expected argument 'routed_ip_enabled' to be a bool")
|
|
105
|
-
pulumi.set(__self__, "routed_ip_enabled", routed_ip_enabled)
|
|
106
103
|
if security_group_id and not isinstance(security_group_id, str):
|
|
107
104
|
raise TypeError("Expected argument 'security_group_id' to be a str")
|
|
108
105
|
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
@@ -291,14 +288,6 @@ class GetInstanceServerResult:
|
|
|
291
288
|
def root_volumes(self) -> Sequence['outputs.GetInstanceServerRootVolumeResult']:
|
|
292
289
|
return pulumi.get(self, "root_volumes")
|
|
293
290
|
|
|
294
|
-
@property
|
|
295
|
-
@pulumi.getter(name="routedIpEnabled")
|
|
296
|
-
def routed_ip_enabled(self) -> bool:
|
|
297
|
-
"""
|
|
298
|
-
True if the server support routed ip only.
|
|
299
|
-
"""
|
|
300
|
-
return pulumi.get(self, "routed_ip_enabled")
|
|
301
|
-
|
|
302
291
|
@property
|
|
303
292
|
@pulumi.getter(name="securityGroupId")
|
|
304
293
|
def security_group_id(self) -> str:
|
|
@@ -381,7 +370,6 @@ class AwaitableGetInstanceServerResult(GetInstanceServerResult):
|
|
|
381
370
|
public_ips=self.public_ips,
|
|
382
371
|
replace_on_type_change=self.replace_on_type_change,
|
|
383
372
|
root_volumes=self.root_volumes,
|
|
384
|
-
routed_ip_enabled=self.routed_ip_enabled,
|
|
385
373
|
security_group_id=self.security_group_id,
|
|
386
374
|
server_id=self.server_id,
|
|
387
375
|
state=self.state,
|
|
@@ -438,7 +426,6 @@ def get_instance_server(name: Optional[str] = None,
|
|
|
438
426
|
public_ips=pulumi.get(__ret__, 'public_ips'),
|
|
439
427
|
replace_on_type_change=pulumi.get(__ret__, 'replace_on_type_change'),
|
|
440
428
|
root_volumes=pulumi.get(__ret__, 'root_volumes'),
|
|
441
|
-
routed_ip_enabled=pulumi.get(__ret__, 'routed_ip_enabled'),
|
|
442
429
|
security_group_id=pulumi.get(__ret__, 'security_group_id'),
|
|
443
430
|
server_id=pulumi.get(__ret__, 'server_id'),
|
|
444
431
|
state=pulumi.get(__ret__, 'state'),
|
|
@@ -450,7 +437,7 @@ def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
450
437
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
451
438
|
server_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
452
439
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
453
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceServerResult]:
|
|
440
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceServerResult]:
|
|
454
441
|
"""
|
|
455
442
|
Gets information about an instance server.
|
|
456
443
|
|
|
@@ -465,7 +452,7 @@ def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
465
452
|
__args__['projectId'] = project_id
|
|
466
453
|
__args__['serverId'] = server_id
|
|
467
454
|
__args__['zone'] = zone
|
|
468
|
-
opts = pulumi.
|
|
455
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
469
456
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceServer:getInstanceServer', __args__, opts=opts, typ=GetInstanceServerResult)
|
|
470
457
|
return __ret__.apply(lambda __response__: GetInstanceServerResult(
|
|
471
458
|
additional_volume_ids=pulumi.get(__response__, 'additional_volume_ids'),
|
|
@@ -492,7 +479,6 @@ def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
492
479
|
public_ips=pulumi.get(__response__, 'public_ips'),
|
|
493
480
|
replace_on_type_change=pulumi.get(__response__, 'replace_on_type_change'),
|
|
494
481
|
root_volumes=pulumi.get(__response__, 'root_volumes'),
|
|
495
|
-
routed_ip_enabled=pulumi.get(__response__, 'routed_ip_enabled'),
|
|
496
482
|
security_group_id=pulumi.get(__response__, 'security_group_id'),
|
|
497
483
|
server_id=pulumi.get(__response__, 'server_id'),
|
|
498
484
|
state=pulumi.get(__response__, 'state'),
|
|
@@ -158,7 +158,7 @@ def get_instance_servers_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
158
158
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
159
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
160
160
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceServersResult]:
|
|
161
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceServersResult]:
|
|
162
162
|
"""
|
|
163
163
|
Gets information about multiple instance servers.
|
|
164
164
|
|
|
@@ -175,7 +175,7 @@ def get_instance_servers_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
175
175
|
__args__['projectId'] = project_id
|
|
176
176
|
__args__['tags'] = tags
|
|
177
177
|
__args__['zone'] = zone
|
|
178
|
-
opts = pulumi.
|
|
178
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
179
179
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceServers:getInstanceServers', __args__, opts=opts, typ=GetInstanceServersResult)
|
|
180
180
|
return __ret__.apply(lambda __response__: GetInstanceServersResult(
|
|
181
181
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -202,7 +202,7 @@ def get_instance_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
202
202
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
203
203
|
snapshot_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
204
204
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
205
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceSnapshotResult]:
|
|
205
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceSnapshotResult]:
|
|
206
206
|
"""
|
|
207
207
|
Gets information about an instance snapshot.
|
|
208
208
|
|
|
@@ -231,7 +231,7 @@ def get_instance_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
231
231
|
__args__['projectId'] = project_id
|
|
232
232
|
__args__['snapshotId'] = snapshot_id
|
|
233
233
|
__args__['zone'] = zone
|
|
234
|
-
opts = pulumi.
|
|
234
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
235
235
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceSnapshot:getInstanceSnapshot', __args__, opts=opts, typ=GetInstanceSnapshotResult)
|
|
236
236
|
return __ret__.apply(lambda __response__: GetInstanceSnapshotResult(
|
|
237
237
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -26,13 +26,16 @@ class GetInstanceVolumeResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getInstanceVolume.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, from_snapshot_id=None, id=None, name=None, organization_id=None, project_id=None, server_id=None, size_in_gb=None, tags=None, type=None, volume_id=None, zone=None):
|
|
29
|
+
def __init__(__self__, from_snapshot_id=None, id=None, migrate_to_sbs=None, name=None, organization_id=None, project_id=None, server_id=None, size_in_gb=None, tags=None, type=None, volume_id=None, zone=None):
|
|
30
30
|
if from_snapshot_id and not isinstance(from_snapshot_id, str):
|
|
31
31
|
raise TypeError("Expected argument 'from_snapshot_id' to be a str")
|
|
32
32
|
pulumi.set(__self__, "from_snapshot_id", from_snapshot_id)
|
|
33
33
|
if id and not isinstance(id, str):
|
|
34
34
|
raise TypeError("Expected argument 'id' to be a str")
|
|
35
35
|
pulumi.set(__self__, "id", id)
|
|
36
|
+
if migrate_to_sbs and not isinstance(migrate_to_sbs, bool):
|
|
37
|
+
raise TypeError("Expected argument 'migrate_to_sbs' to be a bool")
|
|
38
|
+
pulumi.set(__self__, "migrate_to_sbs", migrate_to_sbs)
|
|
36
39
|
if name and not isinstance(name, str):
|
|
37
40
|
raise TypeError("Expected argument 'name' to be a str")
|
|
38
41
|
pulumi.set(__self__, "name", name)
|
|
@@ -74,6 +77,11 @@ class GetInstanceVolumeResult:
|
|
|
74
77
|
"""
|
|
75
78
|
return pulumi.get(self, "id")
|
|
76
79
|
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="migrateToSbs")
|
|
82
|
+
def migrate_to_sbs(self) -> bool:
|
|
83
|
+
return pulumi.get(self, "migrate_to_sbs")
|
|
84
|
+
|
|
77
85
|
@property
|
|
78
86
|
@pulumi.getter
|
|
79
87
|
def name(self) -> Optional[str]:
|
|
@@ -131,6 +139,7 @@ class AwaitableGetInstanceVolumeResult(GetInstanceVolumeResult):
|
|
|
131
139
|
return GetInstanceVolumeResult(
|
|
132
140
|
from_snapshot_id=self.from_snapshot_id,
|
|
133
141
|
id=self.id,
|
|
142
|
+
migrate_to_sbs=self.migrate_to_sbs,
|
|
134
143
|
name=self.name,
|
|
135
144
|
organization_id=self.organization_id,
|
|
136
145
|
project_id=self.project_id,
|
|
@@ -169,6 +178,7 @@ def get_instance_volume(name: Optional[str] = None,
|
|
|
169
178
|
return AwaitableGetInstanceVolumeResult(
|
|
170
179
|
from_snapshot_id=pulumi.get(__ret__, 'from_snapshot_id'),
|
|
171
180
|
id=pulumi.get(__ret__, 'id'),
|
|
181
|
+
migrate_to_sbs=pulumi.get(__ret__, 'migrate_to_sbs'),
|
|
172
182
|
name=pulumi.get(__ret__, 'name'),
|
|
173
183
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
174
184
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
@@ -182,7 +192,7 @@ def get_instance_volume_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
182
192
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
183
193
|
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
184
194
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
185
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceVolumeResult]:
|
|
195
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceVolumeResult]:
|
|
186
196
|
"""
|
|
187
197
|
Gets information about an instance volume.
|
|
188
198
|
|
|
@@ -199,11 +209,12 @@ def get_instance_volume_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
199
209
|
__args__['projectId'] = project_id
|
|
200
210
|
__args__['volumeId'] = volume_id
|
|
201
211
|
__args__['zone'] = zone
|
|
202
|
-
opts = pulumi.
|
|
212
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
203
213
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceVolume:getInstanceVolume', __args__, opts=opts, typ=GetInstanceVolumeResult)
|
|
204
214
|
return __ret__.apply(lambda __response__: GetInstanceVolumeResult(
|
|
205
215
|
from_snapshot_id=pulumi.get(__response__, 'from_snapshot_id'),
|
|
206
216
|
id=pulumi.get(__response__, 'id'),
|
|
217
|
+
migrate_to_sbs=pulumi.get(__response__, 'migrate_to_sbs'),
|
|
207
218
|
name=pulumi.get(__response__, 'name'),
|
|
208
219
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
209
220
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
@@ -220,7 +220,7 @@ def get_iot_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
220
220
|
hub_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
221
221
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
222
222
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
223
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIotDeviceResult]:
|
|
223
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIotDeviceResult]:
|
|
224
224
|
"""
|
|
225
225
|
Gets information about an IOT Device.
|
|
226
226
|
|
|
@@ -237,7 +237,7 @@ def get_iot_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
237
237
|
__args__['hubId'] = hub_id
|
|
238
238
|
__args__['name'] = name
|
|
239
239
|
__args__['region'] = region
|
|
240
|
-
opts = pulumi.
|
|
240
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
241
241
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIotDevice:getIotDevice', __args__, opts=opts, typ=GetIotDeviceResult)
|
|
242
242
|
return __ret__.apply(lambda __response__: GetIotDeviceResult(
|
|
243
243
|
allow_insecure=pulumi.get(__response__, 'allow_insecure'),
|
|
@@ -279,7 +279,7 @@ def get_iot_hub_output(hub_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
279
279
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
280
280
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
281
281
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
282
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIotHubResult]:
|
|
282
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIotHubResult]:
|
|
283
283
|
"""
|
|
284
284
|
Gets information about an IOT Hub.
|
|
285
285
|
|
|
@@ -296,7 +296,7 @@ def get_iot_hub_output(hub_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
296
296
|
__args__['name'] = name
|
|
297
297
|
__args__['projectId'] = project_id
|
|
298
298
|
__args__['region'] = region
|
|
299
|
-
opts = pulumi.
|
|
299
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
300
300
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIotHub:getIotHub', __args__, opts=opts, typ=GetIotHubResult)
|
|
301
301
|
return __ret__.apply(lambda __response__: GetIotHubResult(
|
|
302
302
|
connected_device_count=pulumi.get(__response__, 'connected_device_count'),
|
|
@@ -188,7 +188,7 @@ def get_ipam_ip(attached: Optional[bool] = None,
|
|
|
188
188
|
"""
|
|
189
189
|
Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.
|
|
190
190
|
|
|
191
|
-
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/
|
|
191
|
+
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).
|
|
192
192
|
|
|
193
193
|
## Examples
|
|
194
194
|
|
|
@@ -306,11 +306,11 @@ def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
306
306
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
307
307
|
type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
308
308
|
zonal: Optional[pulumi.Input[Optional[str]]] = None,
|
|
309
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamIpResult]:
|
|
309
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpamIpResult]:
|
|
310
310
|
"""
|
|
311
311
|
Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.
|
|
312
312
|
|
|
313
|
-
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/
|
|
313
|
+
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).
|
|
314
314
|
|
|
315
315
|
## Examples
|
|
316
316
|
|
|
@@ -400,7 +400,7 @@ def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
400
400
|
__args__['tags'] = tags
|
|
401
401
|
__args__['type'] = type
|
|
402
402
|
__args__['zonal'] = zonal
|
|
403
|
-
opts = pulumi.
|
|
403
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
404
404
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIpamIp:getIpamIp', __args__, opts=opts, typ=GetIpamIpResult)
|
|
405
405
|
return __ret__.apply(lambda __response__: GetIpamIpResult(
|
|
406
406
|
address=pulumi.get(__response__, 'address'),
|
|
@@ -184,7 +184,7 @@ def get_ipam_ips(attached: Optional[bool] = None,
|
|
|
184
184
|
"""
|
|
185
185
|
Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service.
|
|
186
186
|
|
|
187
|
-
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/
|
|
187
|
+
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).
|
|
188
188
|
|
|
189
189
|
## Examples
|
|
190
190
|
|
|
@@ -273,11 +273,11 @@ def get_ipam_ips_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
273
273
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
274
274
|
type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
275
275
|
zonal: Optional[pulumi.Input[Optional[str]]] = None,
|
|
276
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamIpsResult]:
|
|
276
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpamIpsResult]:
|
|
277
277
|
"""
|
|
278
278
|
Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service.
|
|
279
279
|
|
|
280
|
-
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/
|
|
280
|
+
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).
|
|
281
281
|
|
|
282
282
|
## Examples
|
|
283
283
|
|
|
@@ -341,7 +341,7 @@ def get_ipam_ips_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
341
341
|
__args__['tags'] = tags
|
|
342
342
|
__args__['type'] = type
|
|
343
343
|
__args__['zonal'] = zonal
|
|
344
|
-
opts = pulumi.
|
|
344
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
345
345
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIpamIps:getIpamIps', __args__, opts=opts, typ=GetIpamIpsResult)
|
|
346
346
|
return __ret__.apply(lambda __response__: GetIpamIpsResult(
|
|
347
347
|
attached=pulumi.get(__response__, 'attached'),
|
|
@@ -151,7 +151,7 @@ def get_k8s_version(name: Optional[str] = None,
|
|
|
151
151
|
region=pulumi.get(__ret__, 'region'))
|
|
152
152
|
def get_k8s_version_output(name: Optional[pulumi.Input[str]] = None,
|
|
153
153
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
154
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetK8sVersionResult]:
|
|
154
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetK8sVersionResult]:
|
|
155
155
|
"""
|
|
156
156
|
Gets information about a Kubernetes version.
|
|
157
157
|
For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api).
|
|
@@ -185,7 +185,7 @@ def get_k8s_version_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
185
185
|
__args__ = dict()
|
|
186
186
|
__args__['name'] = name
|
|
187
187
|
__args__['region'] = region
|
|
188
|
-
opts = pulumi.
|
|
188
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
189
189
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getK8sVersion:getK8sVersion', __args__, opts=opts, typ=GetK8sVersionResult)
|
|
190
190
|
return __ret__.apply(lambda __response__: GetK8sVersionResult(
|
|
191
191
|
available_cnis=pulumi.get(__response__, 'available_cnis'),
|
|
@@ -372,7 +372,7 @@ def get_kubernetes_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str
|
|
|
372
372
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
373
373
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
374
374
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
375
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKubernetesClusterResult]:
|
|
375
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKubernetesClusterResult]:
|
|
376
376
|
"""
|
|
377
377
|
Gets information about a Kubernetes Cluster.
|
|
378
378
|
|
|
@@ -387,7 +387,7 @@ def get_kubernetes_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str
|
|
|
387
387
|
__args__['name'] = name
|
|
388
388
|
__args__['projectId'] = project_id
|
|
389
389
|
__args__['region'] = region
|
|
390
|
-
opts = pulumi.
|
|
390
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
391
391
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getKubernetesCluster:getKubernetesCluster', __args__, opts=opts, typ=GetKubernetesClusterResult)
|
|
392
392
|
return __ret__.apply(lambda __response__: GetKubernetesClusterResult(
|
|
393
393
|
admission_plugins=pulumi.get(__response__, 'admission_plugins'),
|
|
@@ -387,7 +387,7 @@ def get_kubernetes_node_pool_output(cluster_id: Optional[pulumi.Input[Optional[s
|
|
|
387
387
|
pool_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
388
388
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
389
389
|
size: Optional[pulumi.Input[Optional[int]]] = None,
|
|
390
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKubernetesNodePoolResult]:
|
|
390
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKubernetesNodePoolResult]:
|
|
391
391
|
"""
|
|
392
392
|
Gets information about a Kubernetes Cluster's Pool.
|
|
393
393
|
|
|
@@ -404,7 +404,7 @@ def get_kubernetes_node_pool_output(cluster_id: Optional[pulumi.Input[Optional[s
|
|
|
404
404
|
__args__['poolId'] = pool_id
|
|
405
405
|
__args__['region'] = region
|
|
406
406
|
__args__['size'] = size
|
|
407
|
-
opts = pulumi.
|
|
407
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
408
408
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getKubernetesNodePool:getKubernetesNodePool', __args__, opts=opts, typ=GetKubernetesNodePoolResult)
|
|
409
409
|
return __ret__.apply(lambda __response__: GetKubernetesNodePoolResult(
|
|
410
410
|
autohealing=pulumi.get(__response__, 'autohealing'),
|