pulumiverse-scaleway 1.16.0__py3-none-any.whl → 1.16.0a1730114875__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 +48 -2117
- pulumiverse_scaleway/_utilities.py +1 -1
- pulumiverse_scaleway/account_project.py +0 -5
- pulumiverse_scaleway/account_ssh_key.py +0 -5
- pulumiverse_scaleway/apple_silicon_server.py +0 -5
- pulumiverse_scaleway/baremetal_server.py +0 -5
- pulumiverse_scaleway/block_snapshot.py +0 -5
- pulumiverse_scaleway/block_volume.py +0 -5
- pulumiverse_scaleway/cockpit.py +0 -5
- pulumiverse_scaleway/cockpit_alert_manager.py +0 -5
- pulumiverse_scaleway/cockpit_grafana_user.py +0 -5
- pulumiverse_scaleway/cockpit_source.py +0 -5
- pulumiverse_scaleway/cockpit_token.py +0 -5
- pulumiverse_scaleway/config/__init__.pyi +0 -5
- pulumiverse_scaleway/config/vars.py +0 -5
- pulumiverse_scaleway/container.py +0 -5
- pulumiverse_scaleway/container_cron.py +0 -5
- pulumiverse_scaleway/container_domain.py +0 -5
- pulumiverse_scaleway/container_namespace.py +0 -5
- pulumiverse_scaleway/container_token.py +0 -5
- pulumiverse_scaleway/container_trigger.py +0 -5
- pulumiverse_scaleway/database.py +0 -5
- pulumiverse_scaleway/database_acl.py +0 -5
- pulumiverse_scaleway/database_backup.py +0 -5
- pulumiverse_scaleway/database_instance.py +2 -56
- pulumiverse_scaleway/database_privilege.py +0 -5
- pulumiverse_scaleway/database_read_replica.py +0 -5
- pulumiverse_scaleway/database_user.py +0 -5
- pulumiverse_scaleway/documentdb_database.py +0 -5
- pulumiverse_scaleway/documentdb_instance.py +0 -5
- pulumiverse_scaleway/documentdb_private_network_endpoint.py +0 -5
- pulumiverse_scaleway/documentdb_privilege.py +0 -5
- pulumiverse_scaleway/documentdb_read_replica.py +0 -5
- pulumiverse_scaleway/documentdb_user.py +0 -5
- pulumiverse_scaleway/domain_record.py +0 -5
- pulumiverse_scaleway/domain_zone.py +0 -5
- pulumiverse_scaleway/flexible_ip.py +0 -5
- pulumiverse_scaleway/flexible_ip_mac_address.py +0 -5
- pulumiverse_scaleway/function.py +0 -5
- pulumiverse_scaleway/function_cron.py +0 -5
- pulumiverse_scaleway/function_domain.py +0 -5
- pulumiverse_scaleway/function_namespace.py +0 -5
- pulumiverse_scaleway/function_token.py +0 -5
- pulumiverse_scaleway/function_trigger.py +0 -5
- pulumiverse_scaleway/get_account_project.py +4 -19
- pulumiverse_scaleway/get_account_ssh_key.py +4 -22
- pulumiverse_scaleway/get_availability_zones.py +4 -13
- pulumiverse_scaleway/get_baremetal_offer.py +4 -26
- pulumiverse_scaleway/get_baremetal_option.py +4 -17
- pulumiverse_scaleway/get_baremetal_os.py +4 -18
- pulumiverse_scaleway/get_baremetal_server.py +4 -40
- pulumiverse_scaleway/get_billing_consumptions.py +4 -15
- pulumiverse_scaleway/get_billing_invoices.py +4 -18
- pulumiverse_scaleway/get_block_snapshot.py +4 -21
- pulumiverse_scaleway/get_block_volume.py +4 -22
- pulumiverse_scaleway/get_cockpit.py +4 -15
- pulumiverse_scaleway/get_cockpit_plan.py +4 -12
- pulumiverse_scaleway/get_config.py +4 -20
- pulumiverse_scaleway/get_container.py +4 -41
- pulumiverse_scaleway/get_container_namespace.py +4 -25
- pulumiverse_scaleway/get_database.py +4 -19
- pulumiverse_scaleway/get_database_acl.py +4 -15
- pulumiverse_scaleway/get_database_backup.py +4 -26
- pulumiverse_scaleway/get_database_instance.py +5 -52
- pulumiverse_scaleway/get_database_privilege.py +4 -19
- pulumiverse_scaleway/get_documentdb_database.py +4 -20
- pulumiverse_scaleway/get_documentdb_instance.py +4 -27
- pulumiverse_scaleway/get_documentdb_load_balancer_endpoint.py +4 -22
- pulumiverse_scaleway/get_domain_record.py +4 -31
- pulumiverse_scaleway/get_domain_zone.py +4 -21
- pulumiverse_scaleway/get_flexible_ip.py +4 -26
- pulumiverse_scaleway/get_flexible_ips.py +4 -20
- pulumiverse_scaleway/get_function.py +4 -38
- pulumiverse_scaleway/get_function_namespace.py +4 -24
- pulumiverse_scaleway/get_iam_api_key.py +4 -21
- pulumiverse_scaleway/get_iam_application.py +4 -21
- pulumiverse_scaleway/get_iam_group.py +4 -23
- pulumiverse_scaleway/get_iam_ssh_key.py +4 -22
- pulumiverse_scaleway/get_iam_user.py +4 -16
- pulumiverse_scaleway/get_instance_image.py +4 -31
- pulumiverse_scaleway/get_instance_ip.py +4 -21
- pulumiverse_scaleway/get_instance_placement_group.py +4 -23
- pulumiverse_scaleway/get_instance_private_nic.py +4 -22
- pulumiverse_scaleway/get_instance_security_group.py +4 -28
- pulumiverse_scaleway/get_instance_server.py +4 -45
- pulumiverse_scaleway/get_instance_servers.py +4 -20
- pulumiverse_scaleway/get_instance_snapshot.py +4 -25
- pulumiverse_scaleway/get_instance_volume.py +4 -24
- pulumiverse_scaleway/get_iot_device.py +4 -28
- pulumiverse_scaleway/get_iot_hub.py +4 -34
- pulumiverse_scaleway/get_ipam_ip.py +4 -33
- pulumiverse_scaleway/get_ipam_ips.py +4 -30
- pulumiverse_scaleway/get_k8s_version.py +4 -17
- pulumiverse_scaleway/get_kubernetes_cluster.py +4 -38
- pulumiverse_scaleway/get_kubernetes_node_pool.py +4 -41
- pulumiverse_scaleway/get_lb_acls.py +4 -20
- pulumiverse_scaleway/get_lb_backend.py +4 -44
- pulumiverse_scaleway/get_lb_backends.py +4 -20
- pulumiverse_scaleway/get_lb_frontend.py +4 -24
- pulumiverse_scaleway/get_lb_frontends.py +4 -20
- pulumiverse_scaleway/get_lb_ips.py +4 -22
- pulumiverse_scaleway/get_lb_route.py +4 -18
- pulumiverse_scaleway/get_lb_routes.py +4 -18
- pulumiverse_scaleway/get_lbs.py +4 -20
- pulumiverse_scaleway/get_loadbalancer.py +4 -33
- pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -24
- pulumiverse_scaleway/get_loadbalancer_ip.py +4 -23
- pulumiverse_scaleway/get_marketplace_image.py +4 -16
- pulumiverse_scaleway/get_mnq_sqs.py +4 -15
- pulumiverse_scaleway/get_object_bucket.py +4 -25
- pulumiverse_scaleway/get_object_bucket_policy.py +4 -17
- pulumiverse_scaleway/get_redis_cluster.py +4 -32
- pulumiverse_scaleway/get_registry_image.py +4 -26
- pulumiverse_scaleway/get_registry_namespace.py +4 -22
- pulumiverse_scaleway/get_secret.py +4 -28
- pulumiverse_scaleway/get_secret_version.py +4 -25
- pulumiverse_scaleway/get_tem_domain.py +4 -38
- pulumiverse_scaleway/get_vpc.py +4 -26
- pulumiverse_scaleway/get_vpc_gateway_network.py +4 -29
- pulumiverse_scaleway/get_vpc_private_network.py +4 -28
- pulumiverse_scaleway/get_vpc_public_gateway.py +4 -30
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +4 -30
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +4 -25
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +4 -20
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +4 -22
- pulumiverse_scaleway/get_vpc_routes.py +4 -25
- pulumiverse_scaleway/get_vpcs.py +4 -20
- pulumiverse_scaleway/get_web_host_offer.py +4 -19
- pulumiverse_scaleway/get_webhosting.py +4 -33
- pulumiverse_scaleway/iam_api_key.py +0 -31
- pulumiverse_scaleway/iam_application.py +0 -5
- pulumiverse_scaleway/iam_group.py +0 -5
- pulumiverse_scaleway/iam_group_membership.py +0 -5
- pulumiverse_scaleway/iam_policy.py +0 -5
- pulumiverse_scaleway/iam_ssh_key.py +0 -5
- pulumiverse_scaleway/iam_user.py +0 -5
- pulumiverse_scaleway/instance_image.py +0 -5
- pulumiverse_scaleway/instance_ip.py +0 -5
- pulumiverse_scaleway/instance_ip_reverse_dns.py +0 -5
- pulumiverse_scaleway/instance_placement_group.py +0 -5
- pulumiverse_scaleway/instance_private_nic.py +0 -5
- pulumiverse_scaleway/instance_security_group.py +0 -5
- pulumiverse_scaleway/instance_security_group_rules.py +0 -5
- pulumiverse_scaleway/instance_server.py +0 -5
- pulumiverse_scaleway/instance_snapshot.py +0 -5
- pulumiverse_scaleway/instance_user_data.py +0 -5
- pulumiverse_scaleway/instance_volume.py +0 -5
- pulumiverse_scaleway/iot_device.py +0 -5
- pulumiverse_scaleway/iot_hub.py +0 -5
- pulumiverse_scaleway/iot_network.py +0 -5
- pulumiverse_scaleway/iot_route.py +0 -5
- pulumiverse_scaleway/ipam_ip.py +0 -5
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +0 -5
- pulumiverse_scaleway/job_definition.py +0 -5
- pulumiverse_scaleway/kubernetes_cluster.py +0 -5
- pulumiverse_scaleway/kubernetes_node_pool.py +0 -5
- pulumiverse_scaleway/loadbalancer.py +0 -5
- pulumiverse_scaleway/loadbalancer_acl.py +0 -5
- pulumiverse_scaleway/loadbalancer_backend.py +0 -5
- pulumiverse_scaleway/loadbalancer_certificate.py +0 -5
- pulumiverse_scaleway/loadbalancer_frontend.py +0 -5
- pulumiverse_scaleway/loadbalancer_ip.py +0 -5
- pulumiverse_scaleway/loadbalancer_route.py +0 -5
- pulumiverse_scaleway/mnq_nats_account.py +0 -5
- pulumiverse_scaleway/mnq_nats_credentials.py +0 -5
- pulumiverse_scaleway/mnq_sns.py +0 -5
- pulumiverse_scaleway/mnq_sns_credentials.py +0 -5
- pulumiverse_scaleway/mnq_sns_topic.py +0 -5
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +0 -5
- pulumiverse_scaleway/mnq_sqs.py +0 -5
- pulumiverse_scaleway/mnq_sqs_credentials.py +0 -5
- pulumiverse_scaleway/mnq_sqs_queue.py +0 -5
- pulumiverse_scaleway/object_bucket.py +0 -5
- pulumiverse_scaleway/object_bucket_acl.py +0 -5
- pulumiverse_scaleway/object_bucket_lock_configuration.py +0 -5
- pulumiverse_scaleway/object_bucket_policy.py +0 -5
- pulumiverse_scaleway/object_bucket_website_configuration.py +0 -5
- pulumiverse_scaleway/object_item.py +0 -5
- pulumiverse_scaleway/outputs.py +0 -5
- pulumiverse_scaleway/provider.py +0 -5
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis_cluster.py +0 -5
- pulumiverse_scaleway/registry_namespace.py +0 -5
- pulumiverse_scaleway/sdb_database.py +0 -5
- pulumiverse_scaleway/secret.py +0 -5
- pulumiverse_scaleway/secret_version.py +0 -5
- pulumiverse_scaleway/tem_domain.py +0 -5
- pulumiverse_scaleway/tem_domain_validation.py +0 -5
- pulumiverse_scaleway/vpc.py +0 -5
- pulumiverse_scaleway/vpc_gateway_network.py +0 -5
- pulumiverse_scaleway/vpc_private_network.py +0 -5
- pulumiverse_scaleway/vpc_public_gateway.py +0 -5
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +0 -5
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +0 -5
- pulumiverse_scaleway/vpc_public_gateway_ip.py +0 -5
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +0 -5
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +0 -5
- pulumiverse_scaleway/webhosting.py +0 -5
- {pulumiverse_scaleway-1.16.0.dist-info → pulumiverse_scaleway-1.16.0a1730114875.dist-info}/METADATA +1 -2
- pulumiverse_scaleway-1.16.0a1730114875.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.16.0.dist-info/RECORD +0 -205
- {pulumiverse_scaleway-1.16.0.dist-info → pulumiverse_scaleway-1.16.0a1730114875.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.16.0.dist-info → pulumiverse_scaleway-1.16.0a1730114875.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/get_vpc.py
CHANGED
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -192,6 +187,9 @@ def get_vpc(is_default: Optional[bool] = None,
|
|
|
192
187
|
tags=pulumi.get(__ret__, 'tags'),
|
|
193
188
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
194
189
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
@_utilities.lift_output_func(get_vpc)
|
|
195
193
|
def get_vpc_output(is_default: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
196
194
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
197
195
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -223,24 +221,4 @@ def get_vpc_output(is_default: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
|
223
221
|
:param str project_id: `project_id`) The ID of the Project the VPC is associated with.
|
|
224
222
|
:param str vpc_id: ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified.
|
|
225
223
|
"""
|
|
226
|
-
|
|
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')))
|
|
224
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -231,6 +226,9 @@ def get_vpc_gateway_network(dhcp_id: Optional[str] = None,
|
|
|
231
226
|
status=pulumi.get(__ret__, 'status'),
|
|
232
227
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
233
228
|
zone=pulumi.get(__ret__, 'zone'))
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
@_utilities.lift_output_func(get_vpc_gateway_network)
|
|
234
232
|
def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
235
233
|
enable_masquerade: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
236
234
|
gateway_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -261,27 +259,4 @@ def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]]
|
|
|
261
259
|
|
|
262
260
|
:param str gateway_network_id: ID of the GatewayNetwork.
|
|
263
261
|
"""
|
|
264
|
-
|
|
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')))
|
|
262
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -227,6 +222,9 @@ def get_vpc_private_network(name: Optional[str] = None,
|
|
|
227
222
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
228
223
|
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
229
224
|
zone=pulumi.get(__ret__, 'zone'))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
@_utilities.lift_output_func(get_vpc_private_network)
|
|
230
228
|
def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
229
|
private_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
230
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -257,26 +255,4 @@ def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
257
255
|
:param str project_id: The ID of the Project the Private Network is associated with.
|
|
258
256
|
:param str vpc_id: ID of the VPC the Private Network is in. Cannot be used with `private_network_id`.
|
|
259
257
|
"""
|
|
260
|
-
|
|
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')))
|
|
258
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -248,6 +243,9 @@ def get_vpc_public_gateway(name: Optional[str] = None,
|
|
|
248
243
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
249
244
|
upstream_dns_servers=pulumi.get(__ret__, 'upstream_dns_servers'),
|
|
250
245
|
zone=pulumi.get(__ret__, 'zone'))
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
@_utilities.lift_output_func(get_vpc_public_gateway)
|
|
251
249
|
def get_vpc_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
252
250
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
253
251
|
public_gateway_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -277,28 +275,4 @@ def get_vpc_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
277
275
|
:param str project_id: The ID of the Project the Public Gateway is associated with.
|
|
278
276
|
:param str zone: `zone`) The Public Gateway's zone.
|
|
279
277
|
"""
|
|
280
|
-
|
|
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')))
|
|
278
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -262,6 +257,9 @@ def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None,
|
|
|
262
257
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
263
258
|
valid_lifetime=pulumi.get(__ret__, 'valid_lifetime'),
|
|
264
259
|
zone=pulumi.get(__ret__, 'zone'))
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
@_utilities.lift_output_func(get_vpc_public_gateway_dhcp)
|
|
265
263
|
def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = None,
|
|
266
264
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayDhcpResult]:
|
|
267
265
|
"""
|
|
@@ -278,28 +276,4 @@ def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = No
|
|
|
278
276
|
dhcp_by_id = scaleway.get_vpc_public_gateway_dhcp_output(dhcp_id=main.id)
|
|
279
277
|
```
|
|
280
278
|
"""
|
|
281
|
-
|
|
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')))
|
|
279
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -260,6 +255,9 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] =
|
|
|
260
255
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
261
256
|
wait_for_dhcp=pulumi.get(__ret__, 'wait_for_dhcp'),
|
|
262
257
|
zone=pulumi.get(__ret__, 'zone'))
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
@_utilities.lift_output_func(get_vpc_public_gateway_dhcp_reservation)
|
|
263
261
|
def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
264
262
|
mac_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
265
263
|
reservation_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -360,23 +358,4 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[
|
|
|
360
358
|
:param bool wait_for_dhcp: Whether to wait for `mac_address` to exist in DHCP.
|
|
361
359
|
:param str zone: `zone`). The zone in which the reservation exists.
|
|
362
360
|
"""
|
|
363
|
-
|
|
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')))
|
|
361
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -164,6 +159,9 @@ def get_vpc_public_gateway_ip(ip_id: Optional[str] = None,
|
|
|
164
159
|
tags=pulumi.get(__ret__, 'tags'),
|
|
165
160
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
166
161
|
zone=pulumi.get(__ret__, 'zone'))
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
@_utilities.lift_output_func(get_vpc_public_gateway_ip)
|
|
167
165
|
def get_vpc_public_gateway_ip_output(ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
168
166
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayIpResult]:
|
|
169
167
|
"""
|
|
@@ -182,18 +180,4 @@ def get_vpc_public_gateway_ip_output(ip_id: Optional[pulumi.Input[Optional[str]]
|
|
|
182
180
|
ip_by_id = scaleway.get_vpc_public_gateway_ip_output(ip_id=main.id)
|
|
183
181
|
```
|
|
184
182
|
"""
|
|
185
|
-
|
|
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')))
|
|
183
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -233,6 +228,9 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None,
|
|
|
233
228
|
public_port=pulumi.get(__ret__, 'public_port'),
|
|
234
229
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
235
230
|
zone=pulumi.get(__ret__, 'zone'))
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
@_utilities.lift_output_func(get_vpc_public_pat_rule)
|
|
236
234
|
def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = None,
|
|
237
235
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
238
236
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicPatRuleResult]:
|
|
@@ -294,20 +292,4 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No
|
|
|
294
292
|
:param str zone: `zone`) The zone in which
|
|
295
293
|
the rule exists.
|
|
296
294
|
"""
|
|
297
|
-
|
|
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')))
|
|
295
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -166,6 +161,9 @@ def get_vpc_routes(is_ipv6: Optional[bool] = None,
|
|
|
166
161
|
routes=pulumi.get(__ret__, 'routes'),
|
|
167
162
|
tags=pulumi.get(__ret__, 'tags'),
|
|
168
163
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
@_utilities.lift_output_func(get_vpc_routes)
|
|
169
167
|
def get_vpc_routes_output(is_ipv6: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
170
168
|
nexthop_private_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
171
169
|
nexthop_resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -186,23 +184,4 @@ def get_vpc_routes_output(is_ipv6: Optional[pulumi.Input[Optional[bool]]] = None
|
|
|
186
184
|
:param Sequence[str] tags: List of tags to filter for. routes with these exact tags are listed.
|
|
187
185
|
:param str vpc_id: The VPC ID to filter for. routes with a similar VPC ID are listed.
|
|
188
186
|
"""
|
|
189
|
-
|
|
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')))
|
|
187
|
+
...
|
pulumiverse_scaleway/get_vpcs.py
CHANGED
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -143,6 +138,9 @@ def get_vpcs(name: Optional[str] = None,
|
|
|
143
138
|
region=pulumi.get(__ret__, 'region'),
|
|
144
139
|
tags=pulumi.get(__ret__, 'tags'),
|
|
145
140
|
vpcs=pulumi.get(__ret__, 'vpcs'))
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@_utilities.lift_output_func(get_vpcs)
|
|
146
144
|
def get_vpcs_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
147
145
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
148
146
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -157,18 +155,4 @@ def get_vpcs_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
157
155
|
:param str region: `region`). The region in which the VPCs exist.
|
|
158
156
|
:param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed.
|
|
159
157
|
"""
|
|
160
|
-
|
|
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')))
|
|
158
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -152,6 +147,9 @@ def get_web_host_offer(name: Optional[str] = None,
|
|
|
152
147
|
price=pulumi.get(__ret__, 'price'),
|
|
153
148
|
products=pulumi.get(__ret__, 'products'),
|
|
154
149
|
region=pulumi.get(__ret__, 'region'))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
@_utilities.lift_output_func(get_web_host_offer)
|
|
155
153
|
def get_web_host_offer_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
156
154
|
offer_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
155
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -176,17 +174,4 @@ def get_web_host_offer_output(name: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
176
174
|
:param str offer_id: The offer id. Only one of `name` and `offer_id` should be specified.
|
|
177
175
|
:param str region: `region`) The region in which offer exists.
|
|
178
176
|
"""
|
|
179
|
-
|
|
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')))
|
|
177
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -276,6 +271,9 @@ def get_webhosting(domain: Optional[str] = None,
|
|
|
276
271
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
277
272
|
username=pulumi.get(__ret__, 'username'),
|
|
278
273
|
webhosting_id=pulumi.get(__ret__, 'webhosting_id'))
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
@_utilities.lift_output_func(get_webhosting)
|
|
279
277
|
def get_webhosting_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
280
278
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
281
279
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -302,31 +300,4 @@ def get_webhosting_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
302
300
|
:param str project_id: `project_id`) The ID of the project the hosting is associated with.
|
|
303
301
|
:param str webhosting_id: The hosting id. Only one of `domain` and `webhosting_id` should be specified.
|
|
304
302
|
"""
|
|
305
|
-
|
|
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')))
|
|
303
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = ['IamApiKeyArgs', 'IamApiKey']
|
|
@@ -336,19 +331,6 @@ class IamApiKey(pulumi.CustomResource):
|
|
|
336
331
|
description="a description")
|
|
337
332
|
```
|
|
338
333
|
|
|
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
|
-
|
|
352
334
|
## Import
|
|
353
335
|
|
|
354
336
|
Api keys can be imported using the `{id}`, e.g.
|
|
@@ -404,19 +386,6 @@ class IamApiKey(pulumi.CustomResource):
|
|
|
404
386
|
description="a description")
|
|
405
387
|
```
|
|
406
388
|
|
|
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
|
-
|
|
420
389
|
## Import
|
|
421
390
|
|
|
422
391
|
Api keys can be imported using the `{id}`, e.g.
|