pulumiverse-scaleway 1.16.0a1730114875__py3-none-any.whl → 1.16.0a1730122985__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.0a1730122985.dist-info}/METADATA +2 -1
- pulumiverse_scaleway-1.16.0a1730122985.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.0a1730122985.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.16.0a1730114875.dist-info → pulumiverse_scaleway-1.16.0a1730122985.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/get_vpc.py
CHANGED
|
@@ -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__ = [
|
|
@@ -187,9 +192,6 @@ def get_vpc(is_default: Optional[bool] = None,
|
|
|
187
192
|
tags=pulumi.get(__ret__, 'tags'),
|
|
188
193
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
189
194
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
@_utilities.lift_output_func(get_vpc)
|
|
193
195
|
def get_vpc_output(is_default: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
194
196
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
197
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -221,4 +223,24 @@ def get_vpc_output(is_default: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
221
223
|
:param str project_id: `project_id`) The ID of the Project the VPC is associated with.
|
|
222
224
|
:param str vpc_id: ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified.
|
|
223
225
|
"""
|
|
224
|
-
|
|
226
|
+
__args__ = dict()
|
|
227
|
+
__args__['isDefault'] = is_default
|
|
228
|
+
__args__['name'] = name
|
|
229
|
+
__args__['organizationId'] = organization_id
|
|
230
|
+
__args__['projectId'] = project_id
|
|
231
|
+
__args__['region'] = region
|
|
232
|
+
__args__['vpcId'] = vpc_id
|
|
233
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
234
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpc:getVpc', __args__, opts=opts, typ=GetVpcResult)
|
|
235
|
+
return __ret__.apply(lambda __response__: GetVpcResult(
|
|
236
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
237
|
+
enable_routing=pulumi.get(__response__, 'enable_routing'),
|
|
238
|
+
id=pulumi.get(__response__, 'id'),
|
|
239
|
+
is_default=pulumi.get(__response__, 'is_default'),
|
|
240
|
+
name=pulumi.get(__response__, 'name'),
|
|
241
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
242
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
243
|
+
region=pulumi.get(__response__, 'region'),
|
|
244
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
245
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
246
|
+
vpc_id=pulumi.get(__response__, 'vpc_id')))
|
|
@@ -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
|
|
|
@@ -226,9 +231,6 @@ def get_vpc_gateway_network(dhcp_id: Optional[str] = None,
|
|
|
226
231
|
status=pulumi.get(__ret__, 'status'),
|
|
227
232
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
228
233
|
zone=pulumi.get(__ret__, 'zone'))
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
@_utilities.lift_output_func(get_vpc_gateway_network)
|
|
232
234
|
def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
233
235
|
enable_masquerade: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
234
236
|
gateway_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -259,4 +261,27 @@ def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]]
|
|
|
259
261
|
|
|
260
262
|
:param str gateway_network_id: ID of the GatewayNetwork.
|
|
261
263
|
"""
|
|
262
|
-
|
|
264
|
+
__args__ = dict()
|
|
265
|
+
__args__['dhcpId'] = dhcp_id
|
|
266
|
+
__args__['enableMasquerade'] = enable_masquerade
|
|
267
|
+
__args__['gatewayId'] = gateway_id
|
|
268
|
+
__args__['gatewayNetworkId'] = gateway_network_id
|
|
269
|
+
__args__['privateNetworkId'] = private_network_id
|
|
270
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
271
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcGatewayNetwork:getVpcGatewayNetwork', __args__, opts=opts, typ=GetVpcGatewayNetworkResult)
|
|
272
|
+
return __ret__.apply(lambda __response__: GetVpcGatewayNetworkResult(
|
|
273
|
+
cleanup_dhcp=pulumi.get(__response__, 'cleanup_dhcp'),
|
|
274
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
275
|
+
dhcp_id=pulumi.get(__response__, 'dhcp_id'),
|
|
276
|
+
enable_dhcp=pulumi.get(__response__, 'enable_dhcp'),
|
|
277
|
+
enable_masquerade=pulumi.get(__response__, 'enable_masquerade'),
|
|
278
|
+
gateway_id=pulumi.get(__response__, 'gateway_id'),
|
|
279
|
+
gateway_network_id=pulumi.get(__response__, 'gateway_network_id'),
|
|
280
|
+
id=pulumi.get(__response__, 'id'),
|
|
281
|
+
ipam_configs=pulumi.get(__response__, 'ipam_configs'),
|
|
282
|
+
mac_address=pulumi.get(__response__, 'mac_address'),
|
|
283
|
+
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
|
284
|
+
static_address=pulumi.get(__response__, 'static_address'),
|
|
285
|
+
status=pulumi.get(__response__, 'status'),
|
|
286
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
287
|
+
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
|
|
|
@@ -222,9 +227,6 @@ def get_vpc_private_network(name: Optional[str] = None,
|
|
|
222
227
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
223
228
|
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
224
229
|
zone=pulumi.get(__ret__, 'zone'))
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
@_utilities.lift_output_func(get_vpc_private_network)
|
|
228
230
|
def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
229
231
|
private_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
230
232
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -255,4 +257,26 @@ def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
255
257
|
:param str project_id: The ID of the Project the Private Network is associated with.
|
|
256
258
|
:param str vpc_id: ID of the VPC the Private Network is in. Cannot be used with `private_network_id`.
|
|
257
259
|
"""
|
|
258
|
-
|
|
260
|
+
__args__ = dict()
|
|
261
|
+
__args__['name'] = name
|
|
262
|
+
__args__['privateNetworkId'] = private_network_id
|
|
263
|
+
__args__['projectId'] = project_id
|
|
264
|
+
__args__['region'] = region
|
|
265
|
+
__args__['vpcId'] = vpc_id
|
|
266
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
267
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPrivateNetwork:getVpcPrivateNetwork', __args__, opts=opts, typ=GetVpcPrivateNetworkResult)
|
|
268
|
+
return __ret__.apply(lambda __response__: GetVpcPrivateNetworkResult(
|
|
269
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
270
|
+
id=pulumi.get(__response__, 'id'),
|
|
271
|
+
ipv4_subnets=pulumi.get(__response__, 'ipv4_subnets'),
|
|
272
|
+
ipv6_subnets=pulumi.get(__response__, 'ipv6_subnets'),
|
|
273
|
+
is_regional=pulumi.get(__response__, 'is_regional'),
|
|
274
|
+
name=pulumi.get(__response__, 'name'),
|
|
275
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
276
|
+
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
|
277
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
278
|
+
region=pulumi.get(__response__, 'region'),
|
|
279
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
280
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
281
|
+
vpc_id=pulumi.get(__response__, 'vpc_id'),
|
|
282
|
+
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__ = [
|
|
@@ -243,9 +248,6 @@ def get_vpc_public_gateway(name: Optional[str] = None,
|
|
|
243
248
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
244
249
|
upstream_dns_servers=pulumi.get(__ret__, 'upstream_dns_servers'),
|
|
245
250
|
zone=pulumi.get(__ret__, 'zone'))
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
@_utilities.lift_output_func(get_vpc_public_gateway)
|
|
249
251
|
def get_vpc_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
250
252
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
251
253
|
public_gateway_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -275,4 +277,28 @@ def get_vpc_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
275
277
|
:param str project_id: The ID of the Project the Public Gateway is associated with.
|
|
276
278
|
:param str zone: `zone`) The Public Gateway's zone.
|
|
277
279
|
"""
|
|
278
|
-
|
|
280
|
+
__args__ = dict()
|
|
281
|
+
__args__['name'] = name
|
|
282
|
+
__args__['projectId'] = project_id
|
|
283
|
+
__args__['publicGatewayId'] = public_gateway_id
|
|
284
|
+
__args__['zone'] = zone
|
|
285
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
286
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPublicGateway:getVpcPublicGateway', __args__, opts=opts, typ=GetVpcPublicGatewayResult)
|
|
287
|
+
return __ret__.apply(lambda __response__: GetVpcPublicGatewayResult(
|
|
288
|
+
bastion_enabled=pulumi.get(__response__, 'bastion_enabled'),
|
|
289
|
+
bastion_port=pulumi.get(__response__, 'bastion_port'),
|
|
290
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
291
|
+
enable_smtp=pulumi.get(__response__, 'enable_smtp'),
|
|
292
|
+
id=pulumi.get(__response__, 'id'),
|
|
293
|
+
ip_id=pulumi.get(__response__, 'ip_id'),
|
|
294
|
+
name=pulumi.get(__response__, 'name'),
|
|
295
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
296
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
297
|
+
public_gateway_id=pulumi.get(__response__, 'public_gateway_id'),
|
|
298
|
+
refresh_ssh_keys=pulumi.get(__response__, 'refresh_ssh_keys'),
|
|
299
|
+
status=pulumi.get(__response__, 'status'),
|
|
300
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
301
|
+
type=pulumi.get(__response__, 'type'),
|
|
302
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
303
|
+
upstream_dns_servers=pulumi.get(__response__, 'upstream_dns_servers'),
|
|
304
|
+
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__ = [
|
|
@@ -257,9 +262,6 @@ def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None,
|
|
|
257
262
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
258
263
|
valid_lifetime=pulumi.get(__ret__, 'valid_lifetime'),
|
|
259
264
|
zone=pulumi.get(__ret__, 'zone'))
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
@_utilities.lift_output_func(get_vpc_public_gateway_dhcp)
|
|
263
265
|
def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = None,
|
|
264
266
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayDhcpResult]:
|
|
265
267
|
"""
|
|
@@ -276,4 +278,28 @@ def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = No
|
|
|
276
278
|
dhcp_by_id = scaleway.get_vpc_public_gateway_dhcp_output(dhcp_id=main.id)
|
|
277
279
|
```
|
|
278
280
|
"""
|
|
279
|
-
|
|
281
|
+
__args__ = dict()
|
|
282
|
+
__args__['dhcpId'] = dhcp_id
|
|
283
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
284
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPublicGatewayDhcp:getVpcPublicGatewayDhcp', __args__, opts=opts, typ=GetVpcPublicGatewayDhcpResult)
|
|
285
|
+
return __ret__.apply(lambda __response__: GetVpcPublicGatewayDhcpResult(
|
|
286
|
+
address=pulumi.get(__response__, 'address'),
|
|
287
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
288
|
+
dhcp_id=pulumi.get(__response__, 'dhcp_id'),
|
|
289
|
+
dns_local_name=pulumi.get(__response__, 'dns_local_name'),
|
|
290
|
+
dns_searches=pulumi.get(__response__, 'dns_searches'),
|
|
291
|
+
dns_servers_overrides=pulumi.get(__response__, 'dns_servers_overrides'),
|
|
292
|
+
enable_dynamic=pulumi.get(__response__, 'enable_dynamic'),
|
|
293
|
+
id=pulumi.get(__response__, 'id'),
|
|
294
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
295
|
+
pool_high=pulumi.get(__response__, 'pool_high'),
|
|
296
|
+
pool_low=pulumi.get(__response__, 'pool_low'),
|
|
297
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
298
|
+
push_default_route=pulumi.get(__response__, 'push_default_route'),
|
|
299
|
+
push_dns_server=pulumi.get(__response__, 'push_dns_server'),
|
|
300
|
+
rebind_timer=pulumi.get(__response__, 'rebind_timer'),
|
|
301
|
+
renew_timer=pulumi.get(__response__, 'renew_timer'),
|
|
302
|
+
subnet=pulumi.get(__response__, 'subnet'),
|
|
303
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
304
|
+
valid_lifetime=pulumi.get(__response__, 'valid_lifetime'),
|
|
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__ = [
|
|
@@ -255,9 +260,6 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] =
|
|
|
255
260
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
256
261
|
wait_for_dhcp=pulumi.get(__ret__, 'wait_for_dhcp'),
|
|
257
262
|
zone=pulumi.get(__ret__, 'zone'))
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
@_utilities.lift_output_func(get_vpc_public_gateway_dhcp_reservation)
|
|
261
263
|
def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
262
264
|
mac_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
263
265
|
reservation_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -358,4 +360,23 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[
|
|
|
358
360
|
:param bool wait_for_dhcp: Whether to wait for `mac_address` to exist in DHCP.
|
|
359
361
|
:param str zone: `zone`). The zone in which the reservation exists.
|
|
360
362
|
"""
|
|
361
|
-
|
|
363
|
+
__args__ = dict()
|
|
364
|
+
__args__['gatewayNetworkId'] = gateway_network_id
|
|
365
|
+
__args__['macAddress'] = mac_address
|
|
366
|
+
__args__['reservationId'] = reservation_id
|
|
367
|
+
__args__['waitForDhcp'] = wait_for_dhcp
|
|
368
|
+
__args__['zone'] = zone
|
|
369
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
370
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPublicGatewayDhcpReservation:getVpcPublicGatewayDhcpReservation', __args__, opts=opts, typ=GetVpcPublicGatewayDhcpReservationResult)
|
|
371
|
+
return __ret__.apply(lambda __response__: GetVpcPublicGatewayDhcpReservationResult(
|
|
372
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
373
|
+
gateway_network_id=pulumi.get(__response__, 'gateway_network_id'),
|
|
374
|
+
hostname=pulumi.get(__response__, 'hostname'),
|
|
375
|
+
id=pulumi.get(__response__, 'id'),
|
|
376
|
+
ip_address=pulumi.get(__response__, 'ip_address'),
|
|
377
|
+
mac_address=pulumi.get(__response__, 'mac_address'),
|
|
378
|
+
reservation_id=pulumi.get(__response__, 'reservation_id'),
|
|
379
|
+
type=pulumi.get(__response__, 'type'),
|
|
380
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
381
|
+
wait_for_dhcp=pulumi.get(__response__, 'wait_for_dhcp'),
|
|
382
|
+
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__ = [
|
|
@@ -159,9 +164,6 @@ def get_vpc_public_gateway_ip(ip_id: Optional[str] = None,
|
|
|
159
164
|
tags=pulumi.get(__ret__, 'tags'),
|
|
160
165
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
161
166
|
zone=pulumi.get(__ret__, 'zone'))
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
@_utilities.lift_output_func(get_vpc_public_gateway_ip)
|
|
165
167
|
def get_vpc_public_gateway_ip_output(ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
166
168
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayIpResult]:
|
|
167
169
|
"""
|
|
@@ -180,4 +182,18 @@ def get_vpc_public_gateway_ip_output(ip_id: Optional[pulumi.Input[Optional[str]]
|
|
|
180
182
|
ip_by_id = scaleway.get_vpc_public_gateway_ip_output(ip_id=main.id)
|
|
181
183
|
```
|
|
182
184
|
"""
|
|
183
|
-
|
|
185
|
+
__args__ = dict()
|
|
186
|
+
__args__['ipId'] = ip_id
|
|
187
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
188
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPublicGatewayIp:getVpcPublicGatewayIp', __args__, opts=opts, typ=GetVpcPublicGatewayIpResult)
|
|
189
|
+
return __ret__.apply(lambda __response__: GetVpcPublicGatewayIpResult(
|
|
190
|
+
address=pulumi.get(__response__, 'address'),
|
|
191
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
192
|
+
id=pulumi.get(__response__, 'id'),
|
|
193
|
+
ip_id=pulumi.get(__response__, 'ip_id'),
|
|
194
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
195
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
196
|
+
reverse=pulumi.get(__response__, 'reverse'),
|
|
197
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
198
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
199
|
+
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__ = [
|
|
@@ -228,9 +233,6 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None,
|
|
|
228
233
|
public_port=pulumi.get(__ret__, 'public_port'),
|
|
229
234
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
230
235
|
zone=pulumi.get(__ret__, 'zone'))
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
@_utilities.lift_output_func(get_vpc_public_pat_rule)
|
|
234
236
|
def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = None,
|
|
235
237
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
236
238
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicPatRuleResult]:
|
|
@@ -292,4 +294,20 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No
|
|
|
292
294
|
:param str zone: `zone`) The zone in which
|
|
293
295
|
the rule exists.
|
|
294
296
|
"""
|
|
295
|
-
|
|
297
|
+
__args__ = dict()
|
|
298
|
+
__args__['patRuleId'] = pat_rule_id
|
|
299
|
+
__args__['zone'] = zone
|
|
300
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
301
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcPublicPatRule:getVpcPublicPatRule', __args__, opts=opts, typ=GetVpcPublicPatRuleResult)
|
|
302
|
+
return __ret__.apply(lambda __response__: GetVpcPublicPatRuleResult(
|
|
303
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
304
|
+
gateway_id=pulumi.get(__response__, 'gateway_id'),
|
|
305
|
+
id=pulumi.get(__response__, 'id'),
|
|
306
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
307
|
+
pat_rule_id=pulumi.get(__response__, 'pat_rule_id'),
|
|
308
|
+
private_ip=pulumi.get(__response__, 'private_ip'),
|
|
309
|
+
private_port=pulumi.get(__response__, 'private_port'),
|
|
310
|
+
protocol=pulumi.get(__response__, 'protocol'),
|
|
311
|
+
public_port=pulumi.get(__response__, 'public_port'),
|
|
312
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
313
|
+
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
|
|
|
@@ -161,9 +166,6 @@ def get_vpc_routes(is_ipv6: Optional[bool] = None,
|
|
|
161
166
|
routes=pulumi.get(__ret__, 'routes'),
|
|
162
167
|
tags=pulumi.get(__ret__, 'tags'),
|
|
163
168
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
@_utilities.lift_output_func(get_vpc_routes)
|
|
167
169
|
def get_vpc_routes_output(is_ipv6: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
168
170
|
nexthop_private_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
169
171
|
nexthop_resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -184,4 +186,23 @@ def get_vpc_routes_output(is_ipv6: Optional[pulumi.Input[Optional[bool]]] = None
|
|
|
184
186
|
:param Sequence[str] tags: List of tags to filter for. routes with these exact tags are listed.
|
|
185
187
|
:param str vpc_id: The VPC ID to filter for. routes with a similar VPC ID are listed.
|
|
186
188
|
"""
|
|
187
|
-
|
|
189
|
+
__args__ = dict()
|
|
190
|
+
__args__['isIpv6'] = is_ipv6
|
|
191
|
+
__args__['nexthopPrivateNetworkId'] = nexthop_private_network_id
|
|
192
|
+
__args__['nexthopResourceId'] = nexthop_resource_id
|
|
193
|
+
__args__['nexthopResourceType'] = nexthop_resource_type
|
|
194
|
+
__args__['region'] = region
|
|
195
|
+
__args__['tags'] = tags
|
|
196
|
+
__args__['vpcId'] = vpc_id
|
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcRoutes:getVpcRoutes', __args__, opts=opts, typ=GetVpcRoutesResult)
|
|
199
|
+
return __ret__.apply(lambda __response__: GetVpcRoutesResult(
|
|
200
|
+
id=pulumi.get(__response__, 'id'),
|
|
201
|
+
is_ipv6=pulumi.get(__response__, 'is_ipv6'),
|
|
202
|
+
nexthop_private_network_id=pulumi.get(__response__, 'nexthop_private_network_id'),
|
|
203
|
+
nexthop_resource_id=pulumi.get(__response__, 'nexthop_resource_id'),
|
|
204
|
+
nexthop_resource_type=pulumi.get(__response__, 'nexthop_resource_type'),
|
|
205
|
+
region=pulumi.get(__response__, 'region'),
|
|
206
|
+
routes=pulumi.get(__response__, 'routes'),
|
|
207
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
208
|
+
vpc_id=pulumi.get(__response__, 'vpc_id')))
|
pulumiverse_scaleway/get_vpcs.py
CHANGED
|
@@ -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
|
|
|
@@ -138,9 +143,6 @@ def get_vpcs(name: Optional[str] = None,
|
|
|
138
143
|
region=pulumi.get(__ret__, 'region'),
|
|
139
144
|
tags=pulumi.get(__ret__, 'tags'),
|
|
140
145
|
vpcs=pulumi.get(__ret__, 'vpcs'))
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
@_utilities.lift_output_func(get_vpcs)
|
|
144
146
|
def get_vpcs_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
147
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
146
148
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -155,4 +157,18 @@ def get_vpcs_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
155
157
|
:param str region: `region`). The region in which the VPCs exist.
|
|
156
158
|
:param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed.
|
|
157
159
|
"""
|
|
158
|
-
|
|
160
|
+
__args__ = dict()
|
|
161
|
+
__args__['name'] = name
|
|
162
|
+
__args__['projectId'] = project_id
|
|
163
|
+
__args__['region'] = region
|
|
164
|
+
__args__['tags'] = tags
|
|
165
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
166
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getVpcs:getVpcs', __args__, opts=opts, typ=GetVpcsResult)
|
|
167
|
+
return __ret__.apply(lambda __response__: GetVpcsResult(
|
|
168
|
+
id=pulumi.get(__response__, 'id'),
|
|
169
|
+
name=pulumi.get(__response__, 'name'),
|
|
170
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
171
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
172
|
+
region=pulumi.get(__response__, 'region'),
|
|
173
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
174
|
+
vpcs=pulumi.get(__response__, 'vpcs')))
|
|
@@ -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
|
|
|
@@ -147,9 +152,6 @@ def get_web_host_offer(name: Optional[str] = None,
|
|
|
147
152
|
price=pulumi.get(__ret__, 'price'),
|
|
148
153
|
products=pulumi.get(__ret__, 'products'),
|
|
149
154
|
region=pulumi.get(__ret__, 'region'))
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
@_utilities.lift_output_func(get_web_host_offer)
|
|
153
155
|
def get_web_host_offer_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
154
156
|
offer_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
155
157
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -174,4 +176,17 @@ def get_web_host_offer_output(name: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
174
176
|
:param str offer_id: The offer id. Only one of `name` and `offer_id` should be specified.
|
|
175
177
|
:param str region: `region`) The region in which offer exists.
|
|
176
178
|
"""
|
|
177
|
-
|
|
179
|
+
__args__ = dict()
|
|
180
|
+
__args__['name'] = name
|
|
181
|
+
__args__['offerId'] = offer_id
|
|
182
|
+
__args__['region'] = region
|
|
183
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
184
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getWebHostOffer:getWebHostOffer', __args__, opts=opts, typ=GetWebHostOfferResult)
|
|
185
|
+
return __ret__.apply(lambda __response__: GetWebHostOfferResult(
|
|
186
|
+
billing_operation_path=pulumi.get(__response__, 'billing_operation_path'),
|
|
187
|
+
id=pulumi.get(__response__, 'id'),
|
|
188
|
+
name=pulumi.get(__response__, 'name'),
|
|
189
|
+
offer_id=pulumi.get(__response__, 'offer_id'),
|
|
190
|
+
price=pulumi.get(__response__, 'price'),
|
|
191
|
+
products=pulumi.get(__response__, 'products'),
|
|
192
|
+
region=pulumi.get(__response__, 'region')))
|
|
@@ -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
|
|
|
@@ -271,9 +276,6 @@ def get_webhosting(domain: Optional[str] = None,
|
|
|
271
276
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
272
277
|
username=pulumi.get(__ret__, 'username'),
|
|
273
278
|
webhosting_id=pulumi.get(__ret__, 'webhosting_id'))
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
@_utilities.lift_output_func(get_webhosting)
|
|
277
279
|
def get_webhosting_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
278
280
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
279
281
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -300,4 +302,31 @@ def get_webhosting_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
300
302
|
:param str project_id: `project_id`) The ID of the project the hosting is associated with.
|
|
301
303
|
:param str webhosting_id: The hosting id. Only one of `domain` and `webhosting_id` should be specified.
|
|
302
304
|
"""
|
|
303
|
-
|
|
305
|
+
__args__ = dict()
|
|
306
|
+
__args__['domain'] = domain
|
|
307
|
+
__args__['organizationId'] = organization_id
|
|
308
|
+
__args__['projectId'] = project_id
|
|
309
|
+
__args__['webhostingId'] = webhosting_id
|
|
310
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
311
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getWebhosting:getWebhosting', __args__, opts=opts, typ=GetWebhostingResult)
|
|
312
|
+
return __ret__.apply(lambda __response__: GetWebhostingResult(
|
|
313
|
+
cpanel_urls=pulumi.get(__response__, 'cpanel_urls'),
|
|
314
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
315
|
+
dns_status=pulumi.get(__response__, 'dns_status'),
|
|
316
|
+
domain=pulumi.get(__response__, 'domain'),
|
|
317
|
+
email=pulumi.get(__response__, 'email'),
|
|
318
|
+
id=pulumi.get(__response__, 'id'),
|
|
319
|
+
offer_id=pulumi.get(__response__, 'offer_id'),
|
|
320
|
+
offer_name=pulumi.get(__response__, 'offer_name'),
|
|
321
|
+
option_ids=pulumi.get(__response__, 'option_ids'),
|
|
322
|
+
options=pulumi.get(__response__, 'options'),
|
|
323
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
324
|
+
platform_hostname=pulumi.get(__response__, 'platform_hostname'),
|
|
325
|
+
platform_number=pulumi.get(__response__, 'platform_number'),
|
|
326
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
327
|
+
region=pulumi.get(__response__, 'region'),
|
|
328
|
+
status=pulumi.get(__response__, 'status'),
|
|
329
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
330
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
331
|
+
username=pulumi.get(__response__, 'username'),
|
|
332
|
+
webhosting_id=pulumi.get(__response__, 'webhosting_id')))
|
|
@@ -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__ = ['IamApiKeyArgs', 'IamApiKey']
|
|
@@ -331,6 +336,19 @@ class IamApiKey(pulumi.CustomResource):
|
|
|
331
336
|
description="a description")
|
|
332
337
|
```
|
|
333
338
|
|
|
339
|
+
### With expiration
|
|
340
|
+
|
|
341
|
+
```python
|
|
342
|
+
import pulumi
|
|
343
|
+
import pulumi_time as time
|
|
344
|
+
import pulumiverse_scaleway as scaleway
|
|
345
|
+
|
|
346
|
+
rotate_after_a_year = time.index.Rotating("rotate_after_a_year", rotation_years=1)
|
|
347
|
+
main = scaleway.IamApiKey("main",
|
|
348
|
+
application_id=main_scaleway_iam_application["id"],
|
|
349
|
+
expires_at=rotate_after_a_year["rotationRfc3339"])
|
|
350
|
+
```
|
|
351
|
+
|
|
334
352
|
## Import
|
|
335
353
|
|
|
336
354
|
Api keys can be imported using the `{id}`, e.g.
|
|
@@ -386,6 +404,19 @@ class IamApiKey(pulumi.CustomResource):
|
|
|
386
404
|
description="a description")
|
|
387
405
|
```
|
|
388
406
|
|
|
407
|
+
### With expiration
|
|
408
|
+
|
|
409
|
+
```python
|
|
410
|
+
import pulumi
|
|
411
|
+
import pulumi_time as time
|
|
412
|
+
import pulumiverse_scaleway as scaleway
|
|
413
|
+
|
|
414
|
+
rotate_after_a_year = time.index.Rotating("rotate_after_a_year", rotation_years=1)
|
|
415
|
+
main = scaleway.IamApiKey("main",
|
|
416
|
+
application_id=main_scaleway_iam_application["id"],
|
|
417
|
+
expires_at=rotate_after_a_year["rotationRfc3339"])
|
|
418
|
+
```
|
|
419
|
+
|
|
389
420
|
## Import
|
|
390
421
|
|
|
391
422
|
Api keys can be imported using the `{id}`, e.g.
|