pulumiverse-scaleway 1.16.0a1730114875__py3-none-any.whl → 1.16.0a1730122081__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/_inputs.py +2119 -50
- pulumiverse_scaleway/_utilities.py +1 -1
- pulumiverse_scaleway/account_project.py +5 -0
- pulumiverse_scaleway/account_ssh_key.py +5 -0
- pulumiverse_scaleway/apple_silicon_server.py +5 -0
- pulumiverse_scaleway/baremetal_server.py +5 -0
- pulumiverse_scaleway/block_snapshot.py +5 -0
- pulumiverse_scaleway/block_volume.py +5 -0
- pulumiverse_scaleway/cockpit.py +5 -0
- pulumiverse_scaleway/cockpit_alert_manager.py +5 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +5 -0
- pulumiverse_scaleway/cockpit_source.py +5 -0
- pulumiverse_scaleway/cockpit_token.py +5 -0
- pulumiverse_scaleway/config/__init__.pyi +5 -0
- pulumiverse_scaleway/config/vars.py +5 -0
- pulumiverse_scaleway/container.py +5 -0
- pulumiverse_scaleway/container_cron.py +5 -0
- pulumiverse_scaleway/container_domain.py +5 -0
- pulumiverse_scaleway/container_namespace.py +5 -0
- pulumiverse_scaleway/container_token.py +5 -0
- pulumiverse_scaleway/container_trigger.py +5 -0
- pulumiverse_scaleway/database.py +5 -0
- pulumiverse_scaleway/database_acl.py +5 -0
- pulumiverse_scaleway/database_backup.py +5 -0
- pulumiverse_scaleway/database_instance.py +56 -2
- pulumiverse_scaleway/database_privilege.py +5 -0
- pulumiverse_scaleway/database_read_replica.py +5 -0
- pulumiverse_scaleway/database_user.py +5 -0
- pulumiverse_scaleway/documentdb_database.py +5 -0
- pulumiverse_scaleway/documentdb_instance.py +5 -0
- pulumiverse_scaleway/documentdb_private_network_endpoint.py +5 -0
- pulumiverse_scaleway/documentdb_privilege.py +5 -0
- pulumiverse_scaleway/documentdb_read_replica.py +5 -0
- pulumiverse_scaleway/documentdb_user.py +5 -0
- pulumiverse_scaleway/domain_record.py +5 -0
- pulumiverse_scaleway/domain_zone.py +5 -0
- pulumiverse_scaleway/flexible_ip.py +5 -0
- pulumiverse_scaleway/flexible_ip_mac_address.py +5 -0
- pulumiverse_scaleway/function.py +5 -0
- pulumiverse_scaleway/function_cron.py +5 -0
- pulumiverse_scaleway/function_domain.py +5 -0
- pulumiverse_scaleway/function_namespace.py +5 -0
- pulumiverse_scaleway/function_token.py +5 -0
- pulumiverse_scaleway/function_trigger.py +5 -0
- pulumiverse_scaleway/get_account_project.py +19 -4
- pulumiverse_scaleway/get_account_ssh_key.py +22 -4
- pulumiverse_scaleway/get_availability_zones.py +13 -4
- pulumiverse_scaleway/get_baremetal_offer.py +26 -4
- pulumiverse_scaleway/get_baremetal_option.py +17 -4
- pulumiverse_scaleway/get_baremetal_os.py +18 -4
- pulumiverse_scaleway/get_baremetal_server.py +40 -4
- pulumiverse_scaleway/get_billing_consumptions.py +15 -4
- pulumiverse_scaleway/get_billing_invoices.py +18 -4
- pulumiverse_scaleway/get_block_snapshot.py +21 -4
- pulumiverse_scaleway/get_block_volume.py +22 -4
- pulumiverse_scaleway/get_cockpit.py +15 -4
- pulumiverse_scaleway/get_cockpit_plan.py +12 -4
- pulumiverse_scaleway/get_config.py +20 -4
- pulumiverse_scaleway/get_container.py +41 -4
- pulumiverse_scaleway/get_container_namespace.py +25 -4
- pulumiverse_scaleway/get_database.py +19 -4
- pulumiverse_scaleway/get_database_acl.py +15 -4
- pulumiverse_scaleway/get_database_backup.py +26 -4
- pulumiverse_scaleway/get_database_instance.py +52 -5
- pulumiverse_scaleway/get_database_privilege.py +19 -4
- pulumiverse_scaleway/get_documentdb_database.py +20 -4
- pulumiverse_scaleway/get_documentdb_instance.py +27 -4
- pulumiverse_scaleway/get_documentdb_load_balancer_endpoint.py +22 -4
- pulumiverse_scaleway/get_domain_record.py +31 -4
- pulumiverse_scaleway/get_domain_zone.py +21 -4
- pulumiverse_scaleway/get_flexible_ip.py +26 -4
- pulumiverse_scaleway/get_flexible_ips.py +20 -4
- pulumiverse_scaleway/get_function.py +38 -4
- pulumiverse_scaleway/get_function_namespace.py +24 -4
- pulumiverse_scaleway/get_iam_api_key.py +21 -4
- pulumiverse_scaleway/get_iam_application.py +21 -4
- pulumiverse_scaleway/get_iam_group.py +23 -4
- pulumiverse_scaleway/get_iam_ssh_key.py +22 -4
- pulumiverse_scaleway/get_iam_user.py +16 -4
- pulumiverse_scaleway/get_instance_image.py +31 -4
- pulumiverse_scaleway/get_instance_ip.py +21 -4
- pulumiverse_scaleway/get_instance_placement_group.py +23 -4
- pulumiverse_scaleway/get_instance_private_nic.py +22 -4
- pulumiverse_scaleway/get_instance_security_group.py +28 -4
- pulumiverse_scaleway/get_instance_server.py +45 -4
- pulumiverse_scaleway/get_instance_servers.py +20 -4
- pulumiverse_scaleway/get_instance_snapshot.py +25 -4
- pulumiverse_scaleway/get_instance_volume.py +24 -4
- pulumiverse_scaleway/get_iot_device.py +28 -4
- pulumiverse_scaleway/get_iot_hub.py +34 -4
- pulumiverse_scaleway/get_ipam_ip.py +33 -4
- pulumiverse_scaleway/get_ipam_ips.py +30 -4
- pulumiverse_scaleway/get_k8s_version.py +17 -4
- pulumiverse_scaleway/get_kubernetes_cluster.py +38 -4
- pulumiverse_scaleway/get_kubernetes_node_pool.py +41 -4
- pulumiverse_scaleway/get_lb_acls.py +20 -4
- pulumiverse_scaleway/get_lb_backend.py +44 -4
- pulumiverse_scaleway/get_lb_backends.py +20 -4
- pulumiverse_scaleway/get_lb_frontend.py +24 -4
- pulumiverse_scaleway/get_lb_frontends.py +20 -4
- pulumiverse_scaleway/get_lb_ips.py +22 -4
- pulumiverse_scaleway/get_lb_route.py +18 -4
- pulumiverse_scaleway/get_lb_routes.py +18 -4
- pulumiverse_scaleway/get_lbs.py +20 -4
- pulumiverse_scaleway/get_loadbalancer.py +33 -4
- pulumiverse_scaleway/get_loadbalancer_certificate.py +24 -4
- pulumiverse_scaleway/get_loadbalancer_ip.py +23 -4
- pulumiverse_scaleway/get_marketplace_image.py +16 -4
- pulumiverse_scaleway/get_mnq_sqs.py +15 -4
- pulumiverse_scaleway/get_object_bucket.py +25 -4
- pulumiverse_scaleway/get_object_bucket_policy.py +17 -4
- pulumiverse_scaleway/get_redis_cluster.py +32 -4
- pulumiverse_scaleway/get_registry_image.py +26 -4
- pulumiverse_scaleway/get_registry_namespace.py +22 -4
- pulumiverse_scaleway/get_secret.py +28 -4
- pulumiverse_scaleway/get_secret_version.py +25 -4
- pulumiverse_scaleway/get_tem_domain.py +38 -4
- pulumiverse_scaleway/get_vpc.py +26 -4
- pulumiverse_scaleway/get_vpc_gateway_network.py +29 -4
- pulumiverse_scaleway/get_vpc_private_network.py +28 -4
- pulumiverse_scaleway/get_vpc_public_gateway.py +30 -4
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +30 -4
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +25 -4
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +20 -4
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +22 -4
- pulumiverse_scaleway/get_vpc_routes.py +25 -4
- pulumiverse_scaleway/get_vpcs.py +20 -4
- pulumiverse_scaleway/get_web_host_offer.py +19 -4
- pulumiverse_scaleway/get_webhosting.py +33 -4
- pulumiverse_scaleway/iam_api_key.py +31 -0
- pulumiverse_scaleway/iam_application.py +5 -0
- pulumiverse_scaleway/iam_group.py +5 -0
- pulumiverse_scaleway/iam_group_membership.py +5 -0
- pulumiverse_scaleway/iam_policy.py +5 -0
- pulumiverse_scaleway/iam_ssh_key.py +5 -0
- pulumiverse_scaleway/iam_user.py +5 -0
- pulumiverse_scaleway/instance_image.py +5 -0
- pulumiverse_scaleway/instance_ip.py +5 -0
- pulumiverse_scaleway/instance_ip_reverse_dns.py +5 -0
- pulumiverse_scaleway/instance_placement_group.py +5 -0
- pulumiverse_scaleway/instance_private_nic.py +5 -0
- pulumiverse_scaleway/instance_security_group.py +5 -0
- pulumiverse_scaleway/instance_security_group_rules.py +5 -0
- pulumiverse_scaleway/instance_server.py +5 -0
- pulumiverse_scaleway/instance_snapshot.py +5 -0
- pulumiverse_scaleway/instance_user_data.py +5 -0
- pulumiverse_scaleway/instance_volume.py +5 -0
- pulumiverse_scaleway/iot_device.py +5 -0
- pulumiverse_scaleway/iot_hub.py +5 -0
- pulumiverse_scaleway/iot_network.py +5 -0
- pulumiverse_scaleway/iot_route.py +5 -0
- pulumiverse_scaleway/ipam_ip.py +5 -0
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +5 -0
- pulumiverse_scaleway/job_definition.py +5 -0
- pulumiverse_scaleway/kubernetes_cluster.py +5 -0
- pulumiverse_scaleway/kubernetes_node_pool.py +5 -0
- pulumiverse_scaleway/loadbalancer.py +5 -0
- pulumiverse_scaleway/loadbalancer_acl.py +5 -0
- pulumiverse_scaleway/loadbalancer_backend.py +5 -0
- pulumiverse_scaleway/loadbalancer_certificate.py +5 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +5 -0
- pulumiverse_scaleway/loadbalancer_ip.py +5 -0
- pulumiverse_scaleway/loadbalancer_route.py +5 -0
- pulumiverse_scaleway/mnq_nats_account.py +5 -0
- pulumiverse_scaleway/mnq_nats_credentials.py +5 -0
- pulumiverse_scaleway/mnq_sns.py +5 -0
- pulumiverse_scaleway/mnq_sns_credentials.py +5 -0
- pulumiverse_scaleway/mnq_sns_topic.py +5 -0
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +5 -0
- pulumiverse_scaleway/mnq_sqs.py +5 -0
- pulumiverse_scaleway/mnq_sqs_credentials.py +5 -0
- pulumiverse_scaleway/mnq_sqs_queue.py +5 -0
- pulumiverse_scaleway/object_bucket.py +5 -0
- pulumiverse_scaleway/object_bucket_acl.py +5 -0
- pulumiverse_scaleway/object_bucket_lock_configuration.py +5 -0
- pulumiverse_scaleway/object_bucket_policy.py +5 -0
- pulumiverse_scaleway/object_bucket_website_configuration.py +5 -0
- pulumiverse_scaleway/object_item.py +5 -0
- pulumiverse_scaleway/outputs.py +5 -0
- pulumiverse_scaleway/provider.py +5 -0
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis_cluster.py +5 -0
- pulumiverse_scaleway/registry_namespace.py +5 -0
- pulumiverse_scaleway/sdb_database.py +5 -0
- pulumiverse_scaleway/secret.py +5 -0
- pulumiverse_scaleway/secret_version.py +5 -0
- pulumiverse_scaleway/tem_domain.py +5 -0
- pulumiverse_scaleway/tem_domain_validation.py +5 -0
- pulumiverse_scaleway/vpc.py +5 -0
- pulumiverse_scaleway/vpc_gateway_network.py +5 -0
- pulumiverse_scaleway/vpc_private_network.py +5 -0
- pulumiverse_scaleway/vpc_public_gateway.py +5 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +5 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +5 -0
- pulumiverse_scaleway/vpc_public_gateway_ip.py +5 -0
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +5 -0
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +5 -0
- pulumiverse_scaleway/webhosting.py +5 -0
- {pulumiverse_scaleway-1.16.0a1730114875.dist-info → pulumiverse_scaleway-1.16.0a1730122081.dist-info}/METADATA +2 -1
- pulumiverse_scaleway-1.16.0a1730122081.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.16.0a1730114875.dist-info/RECORD +0 -205
- {pulumiverse_scaleway-1.16.0a1730114875.dist-info → pulumiverse_scaleway-1.16.0a1730122081.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.16.0a1730114875.dist-info → pulumiverse_scaleway-1.16.0a1730122081.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -254,9 +259,6 @@ def get_instance_image(architecture: Optional[str] = None,
|
|
|
254
259
|
root_volume_id=pulumi.get(__ret__, 'root_volume_id'),
|
|
255
260
|
state=pulumi.get(__ret__, 'state'),
|
|
256
261
|
zone=pulumi.get(__ret__, 'zone'))
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
@_utilities.lift_output_func(get_instance_image)
|
|
260
262
|
def get_instance_image_output(architecture: Optional[pulumi.Input[Optional[str]]] = None,
|
|
261
263
|
image_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
262
264
|
latest: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
@@ -275,4 +277,29 @@ def get_instance_image_output(architecture: Optional[pulumi.Input[Optional[str]]
|
|
|
275
277
|
:param str project_id: The ID of the project the image is associated with.
|
|
276
278
|
:param str zone: `zone`) The zone in which the image exists.
|
|
277
279
|
"""
|
|
278
|
-
|
|
280
|
+
__args__ = dict()
|
|
281
|
+
__args__['architecture'] = architecture
|
|
282
|
+
__args__['imageId'] = image_id
|
|
283
|
+
__args__['latest'] = latest
|
|
284
|
+
__args__['name'] = name
|
|
285
|
+
__args__['projectId'] = project_id
|
|
286
|
+
__args__['zone'] = zone
|
|
287
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
288
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceImage:getInstanceImage', __args__, opts=opts, typ=GetInstanceImageResult)
|
|
289
|
+
return __ret__.apply(lambda __response__: GetInstanceImageResult(
|
|
290
|
+
additional_volume_ids=pulumi.get(__response__, 'additional_volume_ids'),
|
|
291
|
+
architecture=pulumi.get(__response__, 'architecture'),
|
|
292
|
+
creation_date=pulumi.get(__response__, 'creation_date'),
|
|
293
|
+
default_bootscript_id=pulumi.get(__response__, 'default_bootscript_id'),
|
|
294
|
+
from_server_id=pulumi.get(__response__, 'from_server_id'),
|
|
295
|
+
id=pulumi.get(__response__, 'id'),
|
|
296
|
+
image_id=pulumi.get(__response__, 'image_id'),
|
|
297
|
+
latest=pulumi.get(__response__, 'latest'),
|
|
298
|
+
modification_date=pulumi.get(__response__, 'modification_date'),
|
|
299
|
+
name=pulumi.get(__response__, 'name'),
|
|
300
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
301
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
302
|
+
public=pulumi.get(__response__, 'public'),
|
|
303
|
+
root_volume_id=pulumi.get(__response__, 'root_volume_id'),
|
|
304
|
+
state=pulumi.get(__response__, 'state'),
|
|
305
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -169,9 +174,6 @@ def get_instance_ip(address: Optional[str] = None,
|
|
|
169
174
|
tags=pulumi.get(__ret__, 'tags'),
|
|
170
175
|
type=pulumi.get(__ret__, 'type'),
|
|
171
176
|
zone=pulumi.get(__ret__, 'zone'))
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
@_utilities.lift_output_func(get_instance_ip)
|
|
175
177
|
def get_instance_ip_output(address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
176
178
|
id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
177
179
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceIpResult]:
|
|
@@ -184,4 +186,19 @@ def get_instance_ip_output(address: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
184
186
|
:param str id: The ID of the IP address to retrieve
|
|
185
187
|
Only one of `address` and `id` should be specified.
|
|
186
188
|
"""
|
|
187
|
-
|
|
189
|
+
__args__ = dict()
|
|
190
|
+
__args__['address'] = address
|
|
191
|
+
__args__['id'] = id
|
|
192
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceIp:getInstanceIp', __args__, opts=opts, typ=GetInstanceIpResult)
|
|
194
|
+
return __ret__.apply(lambda __response__: GetInstanceIpResult(
|
|
195
|
+
address=pulumi.get(__response__, 'address'),
|
|
196
|
+
id=pulumi.get(__response__, 'id'),
|
|
197
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
198
|
+
prefix=pulumi.get(__response__, 'prefix'),
|
|
199
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
200
|
+
reverse=pulumi.get(__response__, 'reverse'),
|
|
201
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
202
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
203
|
+
type=pulumi.get(__response__, 'type'),
|
|
204
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -173,9 +178,6 @@ def get_instance_placement_group(name: Optional[str] = None,
|
|
|
173
178
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
174
179
|
tags=pulumi.get(__ret__, 'tags'),
|
|
175
180
|
zone=pulumi.get(__ret__, 'zone'))
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
@_utilities.lift_output_func(get_instance_placement_group)
|
|
179
181
|
def get_instance_placement_group_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
180
182
|
placement_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
181
183
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -190,4 +192,21 @@ def get_instance_placement_group_output(name: Optional[pulumi.Input[Optional[str
|
|
|
190
192
|
:param str project_id: `project_id`) The ID of the project the placement group is associated with.
|
|
191
193
|
:param str zone: `zone`) The zone in which the placement group exists.
|
|
192
194
|
"""
|
|
193
|
-
|
|
195
|
+
__args__ = dict()
|
|
196
|
+
__args__['name'] = name
|
|
197
|
+
__args__['placementGroupId'] = placement_group_id
|
|
198
|
+
__args__['projectId'] = project_id
|
|
199
|
+
__args__['zone'] = zone
|
|
200
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
201
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstancePlacementGroup:getInstancePlacementGroup', __args__, opts=opts, typ=GetInstancePlacementGroupResult)
|
|
202
|
+
return __ret__.apply(lambda __response__: GetInstancePlacementGroupResult(
|
|
203
|
+
id=pulumi.get(__response__, 'id'),
|
|
204
|
+
name=pulumi.get(__response__, 'name'),
|
|
205
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
206
|
+
placement_group_id=pulumi.get(__response__, 'placement_group_id'),
|
|
207
|
+
policy_mode=pulumi.get(__response__, 'policy_mode'),
|
|
208
|
+
policy_respected=pulumi.get(__response__, 'policy_respected'),
|
|
209
|
+
policy_type=pulumi.get(__response__, 'policy_type'),
|
|
210
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
211
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
212
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -158,9 +163,6 @@ def get_instance_private_nic(private_network_id: Optional[str] = None,
|
|
|
158
163
|
server_id=pulumi.get(__ret__, 'server_id'),
|
|
159
164
|
tags=pulumi.get(__ret__, 'tags'),
|
|
160
165
|
zone=pulumi.get(__ret__, 'zone'))
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
@_utilities.lift_output_func(get_instance_private_nic)
|
|
164
166
|
def get_instance_private_nic_output(private_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
165
167
|
private_nic_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
166
168
|
server_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -194,4 +196,20 @@ def get_instance_private_nic_output(private_network_id: Optional[pulumi.Input[Op
|
|
|
194
196
|
As datasource only returns one private NIC, the search with given tags must return only one result
|
|
195
197
|
:param str zone: `zone`) The zone in which the private nic exists.
|
|
196
198
|
"""
|
|
197
|
-
|
|
199
|
+
__args__ = dict()
|
|
200
|
+
__args__['privateNetworkId'] = private_network_id
|
|
201
|
+
__args__['privateNicId'] = private_nic_id
|
|
202
|
+
__args__['serverId'] = server_id
|
|
203
|
+
__args__['tags'] = tags
|
|
204
|
+
__args__['zone'] = zone
|
|
205
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
206
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstancePrivateNic:getInstancePrivateNic', __args__, opts=opts, typ=GetInstancePrivateNicResult)
|
|
207
|
+
return __ret__.apply(lambda __response__: GetInstancePrivateNicResult(
|
|
208
|
+
id=pulumi.get(__response__, 'id'),
|
|
209
|
+
ip_ids=pulumi.get(__response__, 'ip_ids'),
|
|
210
|
+
mac_address=pulumi.get(__response__, 'mac_address'),
|
|
211
|
+
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
|
212
|
+
private_nic_id=pulumi.get(__response__, 'private_nic_id'),
|
|
213
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
214
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
215
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -224,9 +229,6 @@ def get_instance_security_group(name: Optional[str] = None,
|
|
|
224
229
|
stateful=pulumi.get(__ret__, 'stateful'),
|
|
225
230
|
tags=pulumi.get(__ret__, 'tags'),
|
|
226
231
|
zone=pulumi.get(__ret__, 'zone'))
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
@_utilities.lift_output_func(get_instance_security_group)
|
|
230
232
|
def get_instance_security_group_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
233
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
234
|
security_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -241,4 +243,26 @@ def get_instance_security_group_output(name: Optional[pulumi.Input[Optional[str]
|
|
|
241
243
|
:param str security_group_id: The security group id. Only one of `name` and `security_group_id` should be specified.
|
|
242
244
|
:param str zone: `zone`) The zone in which the security group exists.
|
|
243
245
|
"""
|
|
244
|
-
|
|
246
|
+
__args__ = dict()
|
|
247
|
+
__args__['name'] = name
|
|
248
|
+
__args__['projectId'] = project_id
|
|
249
|
+
__args__['securityGroupId'] = security_group_id
|
|
250
|
+
__args__['zone'] = zone
|
|
251
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
252
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceSecurityGroup:getInstanceSecurityGroup', __args__, opts=opts, typ=GetInstanceSecurityGroupResult)
|
|
253
|
+
return __ret__.apply(lambda __response__: GetInstanceSecurityGroupResult(
|
|
254
|
+
description=pulumi.get(__response__, 'description'),
|
|
255
|
+
enable_default_security=pulumi.get(__response__, 'enable_default_security'),
|
|
256
|
+
external_rules=pulumi.get(__response__, 'external_rules'),
|
|
257
|
+
id=pulumi.get(__response__, 'id'),
|
|
258
|
+
inbound_default_policy=pulumi.get(__response__, 'inbound_default_policy'),
|
|
259
|
+
inbound_rules=pulumi.get(__response__, 'inbound_rules'),
|
|
260
|
+
name=pulumi.get(__response__, 'name'),
|
|
261
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
262
|
+
outbound_default_policy=pulumi.get(__response__, 'outbound_default_policy'),
|
|
263
|
+
outbound_rules=pulumi.get(__response__, 'outbound_rules'),
|
|
264
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
265
|
+
security_group_id=pulumi.get(__response__, 'security_group_id'),
|
|
266
|
+
stateful=pulumi.get(__response__, 'stateful'),
|
|
267
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
268
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -441,9 +446,6 @@ def get_instance_server(name: Optional[str] = None,
|
|
|
441
446
|
type=pulumi.get(__ret__, 'type'),
|
|
442
447
|
user_data=pulumi.get(__ret__, 'user_data'),
|
|
443
448
|
zone=pulumi.get(__ret__, 'zone'))
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
@_utilities.lift_output_func(get_instance_server)
|
|
447
449
|
def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
448
450
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
449
451
|
server_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -458,4 +460,43 @@ def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
458
460
|
:param str server_id: The server id. Only one of `name` and `server_id` should be specified.
|
|
459
461
|
:param str zone: `zone`) The zone in which the server exists.
|
|
460
462
|
"""
|
|
461
|
-
|
|
463
|
+
__args__ = dict()
|
|
464
|
+
__args__['name'] = name
|
|
465
|
+
__args__['projectId'] = project_id
|
|
466
|
+
__args__['serverId'] = server_id
|
|
467
|
+
__args__['zone'] = zone
|
|
468
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
469
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceServer:getInstanceServer', __args__, opts=opts, typ=GetInstanceServerResult)
|
|
470
|
+
return __ret__.apply(lambda __response__: GetInstanceServerResult(
|
|
471
|
+
additional_volume_ids=pulumi.get(__response__, 'additional_volume_ids'),
|
|
472
|
+
boot_type=pulumi.get(__response__, 'boot_type'),
|
|
473
|
+
bootscript_id=pulumi.get(__response__, 'bootscript_id'),
|
|
474
|
+
cloud_init=pulumi.get(__response__, 'cloud_init'),
|
|
475
|
+
enable_dynamic_ip=pulumi.get(__response__, 'enable_dynamic_ip'),
|
|
476
|
+
enable_ipv6=pulumi.get(__response__, 'enable_ipv6'),
|
|
477
|
+
id=pulumi.get(__response__, 'id'),
|
|
478
|
+
image=pulumi.get(__response__, 'image'),
|
|
479
|
+
ip_id=pulumi.get(__response__, 'ip_id'),
|
|
480
|
+
ip_ids=pulumi.get(__response__, 'ip_ids'),
|
|
481
|
+
ipv6_address=pulumi.get(__response__, 'ipv6_address'),
|
|
482
|
+
ipv6_gateway=pulumi.get(__response__, 'ipv6_gateway'),
|
|
483
|
+
ipv6_prefix_length=pulumi.get(__response__, 'ipv6_prefix_length'),
|
|
484
|
+
name=pulumi.get(__response__, 'name'),
|
|
485
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
486
|
+
placement_group_id=pulumi.get(__response__, 'placement_group_id'),
|
|
487
|
+
placement_group_policy_respected=pulumi.get(__response__, 'placement_group_policy_respected'),
|
|
488
|
+
private_ip=pulumi.get(__response__, 'private_ip'),
|
|
489
|
+
private_networks=pulumi.get(__response__, 'private_networks'),
|
|
490
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
491
|
+
public_ip=pulumi.get(__response__, 'public_ip'),
|
|
492
|
+
public_ips=pulumi.get(__response__, 'public_ips'),
|
|
493
|
+
replace_on_type_change=pulumi.get(__response__, 'replace_on_type_change'),
|
|
494
|
+
root_volumes=pulumi.get(__response__, 'root_volumes'),
|
|
495
|
+
routed_ip_enabled=pulumi.get(__response__, 'routed_ip_enabled'),
|
|
496
|
+
security_group_id=pulumi.get(__response__, 'security_group_id'),
|
|
497
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
498
|
+
state=pulumi.get(__response__, 'state'),
|
|
499
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
500
|
+
type=pulumi.get(__response__, 'type'),
|
|
501
|
+
user_data=pulumi.get(__response__, 'user_data'),
|
|
502
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -149,9 +154,6 @@ def get_instance_servers(name: Optional[str] = None,
|
|
|
149
154
|
servers=pulumi.get(__ret__, 'servers'),
|
|
150
155
|
tags=pulumi.get(__ret__, 'tags'),
|
|
151
156
|
zone=pulumi.get(__ret__, 'zone'))
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
@_utilities.lift_output_func(get_instance_servers)
|
|
155
157
|
def get_instance_servers_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
156
158
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
159
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
@@ -168,4 +170,18 @@ def get_instance_servers_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
168
170
|
:param Sequence[str] tags: List of tags used as filter. Servers with these exact tags are listed.
|
|
169
171
|
:param str zone: `zone`) The zone in which servers exist.
|
|
170
172
|
"""
|
|
171
|
-
|
|
173
|
+
__args__ = dict()
|
|
174
|
+
__args__['name'] = name
|
|
175
|
+
__args__['projectId'] = project_id
|
|
176
|
+
__args__['tags'] = tags
|
|
177
|
+
__args__['zone'] = zone
|
|
178
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
179
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceServers:getInstanceServers', __args__, opts=opts, typ=GetInstanceServersResult)
|
|
180
|
+
return __ret__.apply(lambda __response__: GetInstanceServersResult(
|
|
181
|
+
id=pulumi.get(__response__, 'id'),
|
|
182
|
+
name=pulumi.get(__response__, 'name'),
|
|
183
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
184
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
185
|
+
servers=pulumi.get(__response__, 'servers'),
|
|
186
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
187
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -193,9 +198,6 @@ def get_instance_snapshot(name: Optional[str] = None,
|
|
|
193
198
|
type=pulumi.get(__ret__, 'type'),
|
|
194
199
|
volume_id=pulumi.get(__ret__, 'volume_id'),
|
|
195
200
|
zone=pulumi.get(__ret__, 'zone'))
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
@_utilities.lift_output_func(get_instance_snapshot)
|
|
199
201
|
def get_instance_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
200
202
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
201
203
|
snapshot_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -224,4 +226,23 @@ def get_instance_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
224
226
|
Only one of `name` and `snapshot_id` should be specified.
|
|
225
227
|
:param str zone: `zone`) The zone in which the snapshot exists.
|
|
226
228
|
"""
|
|
227
|
-
|
|
229
|
+
__args__ = dict()
|
|
230
|
+
__args__['name'] = name
|
|
231
|
+
__args__['projectId'] = project_id
|
|
232
|
+
__args__['snapshotId'] = snapshot_id
|
|
233
|
+
__args__['zone'] = zone
|
|
234
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
235
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceSnapshot:getInstanceSnapshot', __args__, opts=opts, typ=GetInstanceSnapshotResult)
|
|
236
|
+
return __ret__.apply(lambda __response__: GetInstanceSnapshotResult(
|
|
237
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
238
|
+
id=pulumi.get(__response__, 'id'),
|
|
239
|
+
imports=pulumi.get(__response__, 'imports'),
|
|
240
|
+
name=pulumi.get(__response__, 'name'),
|
|
241
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
242
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
243
|
+
size_in_gb=pulumi.get(__response__, 'size_in_gb'),
|
|
244
|
+
snapshot_id=pulumi.get(__response__, 'snapshot_id'),
|
|
245
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
246
|
+
type=pulumi.get(__response__, 'type'),
|
|
247
|
+
volume_id=pulumi.get(__response__, 'volume_id'),
|
|
248
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -173,9 +178,6 @@ def get_instance_volume(name: Optional[str] = None,
|
|
|
173
178
|
type=pulumi.get(__ret__, 'type'),
|
|
174
179
|
volume_id=pulumi.get(__ret__, 'volume_id'),
|
|
175
180
|
zone=pulumi.get(__ret__, 'zone'))
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
@_utilities.lift_output_func(get_instance_volume)
|
|
179
181
|
def get_instance_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
180
182
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
181
183
|
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -192,4 +194,22 @@ def get_instance_volume_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
192
194
|
Only one of `name` and `volume_id` should be specified.
|
|
193
195
|
:param str zone: `zone`) The zone in which the volume exists.
|
|
194
196
|
"""
|
|
195
|
-
|
|
197
|
+
__args__ = dict()
|
|
198
|
+
__args__['name'] = name
|
|
199
|
+
__args__['projectId'] = project_id
|
|
200
|
+
__args__['volumeId'] = volume_id
|
|
201
|
+
__args__['zone'] = zone
|
|
202
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
203
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getInstanceVolume:getInstanceVolume', __args__, opts=opts, typ=GetInstanceVolumeResult)
|
|
204
|
+
return __ret__.apply(lambda __response__: GetInstanceVolumeResult(
|
|
205
|
+
from_snapshot_id=pulumi.get(__response__, 'from_snapshot_id'),
|
|
206
|
+
id=pulumi.get(__response__, 'id'),
|
|
207
|
+
name=pulumi.get(__response__, 'name'),
|
|
208
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
209
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
210
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
211
|
+
size_in_gb=pulumi.get(__response__, 'size_in_gb'),
|
|
212
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
213
|
+
type=pulumi.get(__response__, 'type'),
|
|
214
|
+
volume_id=pulumi.get(__response__, 'volume_id'),
|
|
215
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -211,9 +216,6 @@ def get_iot_device(device_id: Optional[str] = None,
|
|
|
211
216
|
region=pulumi.get(__ret__, 'region'),
|
|
212
217
|
status=pulumi.get(__ret__, 'status'),
|
|
213
218
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
@_utilities.lift_output_func(get_iot_device)
|
|
217
219
|
def get_iot_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
218
220
|
hub_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
219
221
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -230,4 +232,26 @@ def get_iot_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
230
232
|
Only one of the `name` and `device_id` should be specified.
|
|
231
233
|
:param str region: `region`) The region in which the hub exists.
|
|
232
234
|
"""
|
|
233
|
-
|
|
235
|
+
__args__ = dict()
|
|
236
|
+
__args__['deviceId'] = device_id
|
|
237
|
+
__args__['hubId'] = hub_id
|
|
238
|
+
__args__['name'] = name
|
|
239
|
+
__args__['region'] = region
|
|
240
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
241
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIotDevice:getIotDevice', __args__, opts=opts, typ=GetIotDeviceResult)
|
|
242
|
+
return __ret__.apply(lambda __response__: GetIotDeviceResult(
|
|
243
|
+
allow_insecure=pulumi.get(__response__, 'allow_insecure'),
|
|
244
|
+
allow_multiple_connections=pulumi.get(__response__, 'allow_multiple_connections'),
|
|
245
|
+
certificates=pulumi.get(__response__, 'certificates'),
|
|
246
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
247
|
+
description=pulumi.get(__response__, 'description'),
|
|
248
|
+
device_id=pulumi.get(__response__, 'device_id'),
|
|
249
|
+
hub_id=pulumi.get(__response__, 'hub_id'),
|
|
250
|
+
id=pulumi.get(__response__, 'id'),
|
|
251
|
+
is_connected=pulumi.get(__response__, 'is_connected'),
|
|
252
|
+
last_activity_at=pulumi.get(__response__, 'last_activity_at'),
|
|
253
|
+
message_filters=pulumi.get(__response__, 'message_filters'),
|
|
254
|
+
name=pulumi.get(__response__, 'name'),
|
|
255
|
+
region=pulumi.get(__response__, 'region'),
|
|
256
|
+
status=pulumi.get(__response__, 'status'),
|
|
257
|
+
updated_at=pulumi.get(__response__, 'updated_at')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -270,9 +275,6 @@ def get_iot_hub(hub_id: Optional[str] = None,
|
|
|
270
275
|
region=pulumi.get(__ret__, 'region'),
|
|
271
276
|
status=pulumi.get(__ret__, 'status'),
|
|
272
277
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
@_utilities.lift_output_func(get_iot_hub)
|
|
276
278
|
def get_iot_hub_output(hub_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
277
279
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
278
280
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -289,4 +291,32 @@ def get_iot_hub_output(hub_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
289
291
|
:param str project_id: The ID of the project the hub is associated with.
|
|
290
292
|
:param str region: `region`) The region in which the hub exists.
|
|
291
293
|
"""
|
|
292
|
-
|
|
294
|
+
__args__ = dict()
|
|
295
|
+
__args__['hubId'] = hub_id
|
|
296
|
+
__args__['name'] = name
|
|
297
|
+
__args__['projectId'] = project_id
|
|
298
|
+
__args__['region'] = region
|
|
299
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
300
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIotHub:getIotHub', __args__, opts=opts, typ=GetIotHubResult)
|
|
301
|
+
return __ret__.apply(lambda __response__: GetIotHubResult(
|
|
302
|
+
connected_device_count=pulumi.get(__response__, 'connected_device_count'),
|
|
303
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
304
|
+
device_auto_provisioning=pulumi.get(__response__, 'device_auto_provisioning'),
|
|
305
|
+
device_count=pulumi.get(__response__, 'device_count'),
|
|
306
|
+
disable_events=pulumi.get(__response__, 'disable_events'),
|
|
307
|
+
enabled=pulumi.get(__response__, 'enabled'),
|
|
308
|
+
endpoint=pulumi.get(__response__, 'endpoint'),
|
|
309
|
+
events_topic_prefix=pulumi.get(__response__, 'events_topic_prefix'),
|
|
310
|
+
hub_ca=pulumi.get(__response__, 'hub_ca'),
|
|
311
|
+
hub_ca_challenge=pulumi.get(__response__, 'hub_ca_challenge'),
|
|
312
|
+
hub_id=pulumi.get(__response__, 'hub_id'),
|
|
313
|
+
id=pulumi.get(__response__, 'id'),
|
|
314
|
+
mqtt_ca=pulumi.get(__response__, 'mqtt_ca'),
|
|
315
|
+
mqtt_ca_url=pulumi.get(__response__, 'mqtt_ca_url'),
|
|
316
|
+
name=pulumi.get(__response__, 'name'),
|
|
317
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
318
|
+
product_plan=pulumi.get(__response__, 'product_plan'),
|
|
319
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
320
|
+
region=pulumi.get(__response__, 'region'),
|
|
321
|
+
status=pulumi.get(__response__, 'status'),
|
|
322
|
+
updated_at=pulumi.get(__response__, 'updated_at')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -291,9 +296,6 @@ def get_ipam_ip(attached: Optional[bool] = None,
|
|
|
291
296
|
tags=pulumi.get(__ret__, 'tags'),
|
|
292
297
|
type=pulumi.get(__ret__, 'type'),
|
|
293
298
|
zonal=pulumi.get(__ret__, 'zonal'))
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
@_utilities.lift_output_func(get_ipam_ip)
|
|
297
299
|
def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
298
300
|
ipam_ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
299
301
|
mac_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -387,4 +389,31 @@ def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
387
389
|
:param str type: The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`.
|
|
388
390
|
:param str zonal: Only IPs that are zonal, and in this zone, will be returned.
|
|
389
391
|
"""
|
|
390
|
-
|
|
392
|
+
__args__ = dict()
|
|
393
|
+
__args__['attached'] = attached
|
|
394
|
+
__args__['ipamIpId'] = ipam_ip_id
|
|
395
|
+
__args__['macAddress'] = mac_address
|
|
396
|
+
__args__['privateNetworkId'] = private_network_id
|
|
397
|
+
__args__['projectId'] = project_id
|
|
398
|
+
__args__['region'] = region
|
|
399
|
+
__args__['resource'] = resource
|
|
400
|
+
__args__['tags'] = tags
|
|
401
|
+
__args__['type'] = type
|
|
402
|
+
__args__['zonal'] = zonal
|
|
403
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
404
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIpamIp:getIpamIp', __args__, opts=opts, typ=GetIpamIpResult)
|
|
405
|
+
return __ret__.apply(lambda __response__: GetIpamIpResult(
|
|
406
|
+
address=pulumi.get(__response__, 'address'),
|
|
407
|
+
address_cidr=pulumi.get(__response__, 'address_cidr'),
|
|
408
|
+
attached=pulumi.get(__response__, 'attached'),
|
|
409
|
+
id=pulumi.get(__response__, 'id'),
|
|
410
|
+
ipam_ip_id=pulumi.get(__response__, 'ipam_ip_id'),
|
|
411
|
+
mac_address=pulumi.get(__response__, 'mac_address'),
|
|
412
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
413
|
+
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
|
414
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
415
|
+
region=pulumi.get(__response__, 'region'),
|
|
416
|
+
resource=pulumi.get(__response__, 'resource'),
|
|
417
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
418
|
+
type=pulumi.get(__response__, 'type'),
|
|
419
|
+
zonal=pulumi.get(__response__, 'zonal')))
|