pulumiverse-scaleway 1.25.0a1742464679__py3-none-any.whl → 1.26.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +1034 -0
- pulumiverse_scaleway/_inputs.py +663 -0
- pulumiverse_scaleway/account/__init__.py +12 -0
- pulumiverse_scaleway/account/get_availability_zones.py +139 -0
- pulumiverse_scaleway/account/get_project.py +170 -0
- pulumiverse_scaleway/account/get_ssh_key.py +205 -0
- pulumiverse_scaleway/account/project.py +318 -0
- pulumiverse_scaleway/account/ssh_key.py +456 -0
- pulumiverse_scaleway/account_project.py +6 -0
- pulumiverse_scaleway/account_ssh_key.py +12 -6
- pulumiverse_scaleway/apple_silicon_server.py +113 -2
- pulumiverse_scaleway/applesilicon/__init__.py +10 -0
- pulumiverse_scaleway/applesilicon/_inputs.py +154 -0
- pulumiverse_scaleway/applesilicon/outputs.py +119 -0
- pulumiverse_scaleway/applesilicon/server.py +795 -0
- pulumiverse_scaleway/baremetal_server.py +64 -58
- pulumiverse_scaleway/billing/__init__.py +10 -0
- pulumiverse_scaleway/billing/get_consumptions.py +134 -0
- pulumiverse_scaleway/billing/get_invoices.py +154 -0
- pulumiverse_scaleway/billing/outputs.py +288 -0
- pulumiverse_scaleway/block/__init__.py +11 -0
- pulumiverse_scaleway/block/get_snapshot.py +174 -0
- pulumiverse_scaleway/block/get_volume.py +199 -0
- pulumiverse_scaleway/block/snapshot.py +403 -0
- pulumiverse_scaleway/block/volume.py +576 -0
- pulumiverse_scaleway/block_snapshot.py +12 -6
- pulumiverse_scaleway/block_volume.py +16 -10
- pulumiverse_scaleway/cockpit.py +10 -4
- pulumiverse_scaleway/cockpit_alert_manager.py +12 -6
- pulumiverse_scaleway/cockpit_grafana_user.py +12 -6
- pulumiverse_scaleway/cockpit_source.py +12 -6
- pulumiverse_scaleway/cockpit_token.py +16 -10
- pulumiverse_scaleway/container.py +16 -10
- pulumiverse_scaleway/container_cron.py +14 -8
- pulumiverse_scaleway/container_domain.py +24 -18
- pulumiverse_scaleway/container_namespace.py +10 -4
- pulumiverse_scaleway/container_token.py +32 -26
- pulumiverse_scaleway/container_trigger.py +12 -6
- pulumiverse_scaleway/containers/__init__.py +17 -0
- pulumiverse_scaleway/containers/_inputs.py +389 -0
- pulumiverse_scaleway/containers/container.py +1635 -0
- pulumiverse_scaleway/containers/cron.py +460 -0
- pulumiverse_scaleway/containers/domain.py +408 -0
- pulumiverse_scaleway/containers/get_container.py +562 -0
- pulumiverse_scaleway/containers/get_namespace.py +283 -0
- pulumiverse_scaleway/containers/namespace.py +638 -0
- pulumiverse_scaleway/containers/outputs.py +412 -0
- pulumiverse_scaleway/containers/token.py +454 -0
- pulumiverse_scaleway/containers/trigger.py +482 -0
- pulumiverse_scaleway/database.py +10 -4
- pulumiverse_scaleway/database_acl.py +10 -4
- pulumiverse_scaleway/database_backup.py +14 -8
- pulumiverse_scaleway/database_instance.py +24 -18
- pulumiverse_scaleway/database_privilege.py +16 -10
- pulumiverse_scaleway/database_read_replica.py +22 -16
- pulumiverse_scaleway/database_user.py +10 -4
- pulumiverse_scaleway/databases/__init__.py +23 -0
- pulumiverse_scaleway/databases/_inputs.py +822 -0
- pulumiverse_scaleway/databases/acl.py +334 -0
- pulumiverse_scaleway/databases/database.py +409 -0
- pulumiverse_scaleway/databases/database_backup.py +576 -0
- pulumiverse_scaleway/databases/get_acl.py +143 -0
- pulumiverse_scaleway/databases/get_database.py +187 -0
- pulumiverse_scaleway/databases/get_database_backup.py +253 -0
- pulumiverse_scaleway/databases/get_instance.py +415 -0
- pulumiverse_scaleway/databases/get_privilege.py +181 -0
- pulumiverse_scaleway/databases/instance.py +1696 -0
- pulumiverse_scaleway/databases/outputs.py +866 -0
- pulumiverse_scaleway/databases/privilege.py +424 -0
- pulumiverse_scaleway/databases/read_replica.py +530 -0
- pulumiverse_scaleway/databases/serverless_database.py +434 -0
- pulumiverse_scaleway/databases/snapshot.py +610 -0
- pulumiverse_scaleway/databases/user.py +448 -0
- pulumiverse_scaleway/domain/__init__.py +14 -0
- pulumiverse_scaleway/domain/_inputs.py +3038 -0
- pulumiverse_scaleway/domain/get_record.py +340 -0
- pulumiverse_scaleway/domain/get_zone.py +201 -0
- pulumiverse_scaleway/domain/outputs.py +2553 -0
- pulumiverse_scaleway/domain/record.py +1118 -0
- pulumiverse_scaleway/domain/registration.py +777 -0
- pulumiverse_scaleway/domain/zone.py +432 -0
- pulumiverse_scaleway/domain_record.py +36 -30
- pulumiverse_scaleway/domain_zone.py +6 -0
- pulumiverse_scaleway/edge_services_backend_stage.py +472 -0
- pulumiverse_scaleway/edge_services_cache_stage.py +490 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +516 -0
- pulumiverse_scaleway/edge_services_head_stage.py +258 -0
- pulumiverse_scaleway/edge_services_pipeline.py +436 -0
- pulumiverse_scaleway/edge_services_plan.py +239 -0
- pulumiverse_scaleway/edge_services_route_stage.py +422 -0
- pulumiverse_scaleway/edge_services_tls_stage.py +546 -0
- pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
- pulumiverse_scaleway/elasticmetal/__init__.py +18 -0
- pulumiverse_scaleway/elasticmetal/_inputs.py +509 -0
- pulumiverse_scaleway/elasticmetal/get_ip.py +247 -0
- pulumiverse_scaleway/elasticmetal/get_ips.py +240 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +245 -0
- pulumiverse_scaleway/elasticmetal/get_option.py +168 -0
- pulumiverse_scaleway/elasticmetal/get_os.py +174 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +422 -0
- pulumiverse_scaleway/elasticmetal/ip.py +710 -0
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +512 -0
- pulumiverse_scaleway/elasticmetal/outputs.py +974 -0
- pulumiverse_scaleway/elasticmetal/server.py +1591 -0
- pulumiverse_scaleway/flexible_ip.py +35 -23
- pulumiverse_scaleway/flexible_ip_mac_address.py +22 -16
- pulumiverse_scaleway/function.py +6 -0
- pulumiverse_scaleway/function_cron.py +16 -10
- pulumiverse_scaleway/function_domain.py +16 -10
- pulumiverse_scaleway/function_namespace.py +10 -4
- pulumiverse_scaleway/function_token.py +32 -26
- pulumiverse_scaleway/function_trigger.py +12 -6
- pulumiverse_scaleway/functions/__init__.py +17 -0
- pulumiverse_scaleway/functions/_inputs.py +211 -0
- pulumiverse_scaleway/functions/cron.py +464 -0
- pulumiverse_scaleway/functions/domain.py +372 -0
- pulumiverse_scaleway/functions/function.py +1105 -0
- pulumiverse_scaleway/functions/get_function.py +365 -0
- pulumiverse_scaleway/functions/get_namespace.py +238 -0
- pulumiverse_scaleway/functions/namespace.py +582 -0
- pulumiverse_scaleway/functions/outputs.py +168 -0
- pulumiverse_scaleway/functions/token.py +462 -0
- pulumiverse_scaleway/functions/trigger.py +482 -0
- pulumiverse_scaleway/get_account_project.py +6 -2
- pulumiverse_scaleway/get_account_ssh_key.py +6 -2
- pulumiverse_scaleway/get_availability_zones.py +8 -4
- pulumiverse_scaleway/get_baremetal_offer.py +4 -0
- pulumiverse_scaleway/get_baremetal_option.py +8 -4
- pulumiverse_scaleway/get_baremetal_os.py +8 -4
- pulumiverse_scaleway/get_baremetal_server.py +8 -4
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_billing_invoices.py +4 -0
- pulumiverse_scaleway/get_block_snapshot.py +6 -2
- pulumiverse_scaleway/get_block_volume.py +6 -2
- pulumiverse_scaleway/get_cockpit.py +12 -8
- pulumiverse_scaleway/get_cockpit_plan.py +10 -6
- pulumiverse_scaleway/get_cockpit_source.py +8 -4
- pulumiverse_scaleway/get_container.py +16 -12
- pulumiverse_scaleway/get_container_namespace.py +10 -6
- pulumiverse_scaleway/get_database.py +6 -2
- pulumiverse_scaleway/get_database_acl.py +6 -2
- pulumiverse_scaleway/get_database_backup.py +10 -6
- pulumiverse_scaleway/get_database_instance.py +4 -0
- pulumiverse_scaleway/get_database_privilege.py +6 -2
- pulumiverse_scaleway/get_domain_record.py +10 -6
- pulumiverse_scaleway/get_domain_zone.py +4 -0
- pulumiverse_scaleway/get_flexible_ip.py +4 -0
- pulumiverse_scaleway/get_flexible_ips.py +16 -12
- pulumiverse_scaleway/get_function.py +6 -2
- pulumiverse_scaleway/get_function_namespace.py +6 -2
- pulumiverse_scaleway/get_iam_api_key.py +6 -2
- pulumiverse_scaleway/get_iam_application.py +8 -4
- pulumiverse_scaleway/get_iam_group.py +8 -4
- pulumiverse_scaleway/get_iam_ssh_key.py +4 -0
- pulumiverse_scaleway/get_iam_user.py +8 -4
- pulumiverse_scaleway/get_instance_image.py +4 -0
- pulumiverse_scaleway/get_instance_ip.py +4 -0
- pulumiverse_scaleway/get_instance_placement_group.py +4 -0
- pulumiverse_scaleway/get_instance_private_nic.py +10 -6
- pulumiverse_scaleway/get_instance_security_group.py +4 -0
- pulumiverse_scaleway/get_instance_server.py +4 -0
- pulumiverse_scaleway/get_instance_servers.py +4 -0
- pulumiverse_scaleway/get_instance_snapshot.py +8 -4
- pulumiverse_scaleway/get_instance_volume.py +4 -0
- pulumiverse_scaleway/get_iot_device.py +4 -0
- pulumiverse_scaleway/get_iot_hub.py +4 -0
- pulumiverse_scaleway/get_ipam_ip.py +18 -14
- pulumiverse_scaleway/get_ipam_ips.py +14 -10
- pulumiverse_scaleway/get_k8s_version.py +8 -4
- pulumiverse_scaleway/get_kubernetes_cluster.py +4 -0
- pulumiverse_scaleway/get_kubernetes_node_pool.py +4 -0
- pulumiverse_scaleway/get_lb_acls.py +8 -4
- pulumiverse_scaleway/get_lb_backend.py +18 -14
- pulumiverse_scaleway/get_lb_backends.py +8 -4
- pulumiverse_scaleway/get_lb_frontend.py +28 -13
- pulumiverse_scaleway/get_lb_frontends.py +8 -4
- pulumiverse_scaleway/get_lb_ips.py +4 -0
- pulumiverse_scaleway/get_lb_route.py +28 -13
- pulumiverse_scaleway/get_lb_routes.py +8 -4
- pulumiverse_scaleway/get_lbs.py +4 -0
- pulumiverse_scaleway/get_loadbalancer.py +8 -4
- pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -0
- pulumiverse_scaleway/get_loadbalancer_ip.py +4 -0
- pulumiverse_scaleway/get_mnq_sns.py +8 -4
- pulumiverse_scaleway/get_mnq_sqs.py +8 -4
- pulumiverse_scaleway/get_mongo_db_instance.py +4 -0
- pulumiverse_scaleway/get_object_bucket.py +12 -8
- pulumiverse_scaleway/get_object_bucket_policy.py +8 -4
- pulumiverse_scaleway/get_redis_cluster.py +4 -0
- pulumiverse_scaleway/get_registry_image.py +4 -0
- pulumiverse_scaleway/get_registry_image_tag.py +4 -0
- pulumiverse_scaleway/get_registry_namespace.py +4 -0
- pulumiverse_scaleway/get_secret.py +27 -12
- pulumiverse_scaleway/get_secret_version.py +14 -10
- pulumiverse_scaleway/get_tem_domain.py +4 -0
- pulumiverse_scaleway/get_vpc.py +10 -6
- pulumiverse_scaleway/get_vpc_gateway_network.py +10 -6
- pulumiverse_scaleway/get_vpc_private_network.py +10 -6
- pulumiverse_scaleway/get_vpc_public_gateway.py +44 -7
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +16 -4
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +78 -66
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +8 -4
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +26 -22
- pulumiverse_scaleway/get_vpc_routes.py +4 -0
- pulumiverse_scaleway/get_vpcs.py +4 -0
- pulumiverse_scaleway/get_web_host_offer.py +8 -4
- pulumiverse_scaleway/get_webhosting.py +8 -4
- pulumiverse_scaleway/hosting/__init__.py +12 -0
- pulumiverse_scaleway/hosting/_inputs.py +295 -0
- pulumiverse_scaleway/hosting/get_hosting.py +354 -0
- pulumiverse_scaleway/hosting/get_offer.py +229 -0
- pulumiverse_scaleway/hosting/hosting.py +870 -0
- pulumiverse_scaleway/hosting/outputs.py +626 -0
- pulumiverse_scaleway/iam/__init__.py +21 -0
- pulumiverse_scaleway/iam/_inputs.py +138 -0
- pulumiverse_scaleway/iam/api_key.py +622 -0
- pulumiverse_scaleway/iam/application.py +419 -0
- pulumiverse_scaleway/iam/get_api_key.py +210 -0
- pulumiverse_scaleway/iam/get_application.py +210 -0
- pulumiverse_scaleway/iam/get_group.py +236 -0
- pulumiverse_scaleway/iam/get_ssh_key.py +212 -0
- pulumiverse_scaleway/iam/get_user.py +177 -0
- pulumiverse_scaleway/iam/group.py +568 -0
- pulumiverse_scaleway/iam/group_membership.py +325 -0
- pulumiverse_scaleway/iam/outputs.py +111 -0
- pulumiverse_scaleway/iam/policy.py +775 -0
- pulumiverse_scaleway/iam/ssh_key.py +457 -0
- pulumiverse_scaleway/iam/user.py +515 -0
- pulumiverse_scaleway/iam_api_key.py +16 -10
- pulumiverse_scaleway/iam_application.py +8 -2
- pulumiverse_scaleway/iam_group.py +12 -6
- pulumiverse_scaleway/iam_group_membership.py +12 -6
- pulumiverse_scaleway/iam_policy.py +18 -12
- pulumiverse_scaleway/iam_ssh_key.py +8 -2
- pulumiverse_scaleway/iam_user.py +8 -2
- pulumiverse_scaleway/inference/__init__.py +10 -0
- pulumiverse_scaleway/inference/_inputs.py +209 -0
- pulumiverse_scaleway/inference/deployment.py +824 -0
- pulumiverse_scaleway/inference/outputs.py +169 -0
- pulumiverse_scaleway/inference_deployment.py +8 -2
- pulumiverse_scaleway/instance/__init__.py +29 -0
- pulumiverse_scaleway/instance/_inputs.py +1237 -0
- pulumiverse_scaleway/instance/get_image.py +305 -0
- pulumiverse_scaleway/instance/get_ip.py +204 -0
- pulumiverse_scaleway/instance/get_placement_group.py +212 -0
- pulumiverse_scaleway/instance/get_private_nic.py +226 -0
- pulumiverse_scaleway/instance/get_security_group.py +268 -0
- pulumiverse_scaleway/instance/get_server.py +488 -0
- pulumiverse_scaleway/instance/get_servers.py +187 -0
- pulumiverse_scaleway/instance/get_snapshot.py +248 -0
- pulumiverse_scaleway/instance/get_volume.py +226 -0
- pulumiverse_scaleway/instance/image.py +752 -0
- pulumiverse_scaleway/instance/ip.py +471 -0
- pulumiverse_scaleway/instance/ip_reverse_dns.py +310 -0
- pulumiverse_scaleway/instance/outputs.py +1533 -0
- pulumiverse_scaleway/instance/placement_group.py +481 -0
- pulumiverse_scaleway/instance/private_nic.py +557 -0
- pulumiverse_scaleway/instance/security_group.py +722 -0
- pulumiverse_scaleway/instance/security_group_rules.py +441 -0
- pulumiverse_scaleway/instance/server.py +1938 -0
- pulumiverse_scaleway/instance/snapshot.py +671 -0
- pulumiverse_scaleway/instance/user_data.py +437 -0
- pulumiverse_scaleway/instance/volume.py +584 -0
- pulumiverse_scaleway/instance_image.py +18 -12
- pulumiverse_scaleway/instance_ip.py +8 -2
- pulumiverse_scaleway/instance_ip_reverse_dns.py +12 -6
- pulumiverse_scaleway/instance_placement_group.py +8 -2
- pulumiverse_scaleway/instance_private_nic.py +24 -18
- pulumiverse_scaleway/instance_security_group.py +6 -0
- pulumiverse_scaleway/instance_security_group_rules.py +22 -16
- pulumiverse_scaleway/instance_server.py +74 -68
- pulumiverse_scaleway/instance_snapshot.py +22 -16
- pulumiverse_scaleway/instance_user_data.py +16 -10
- pulumiverse_scaleway/instance_volume.py +8 -2
- pulumiverse_scaleway/iot/__init__.py +15 -0
- pulumiverse_scaleway/iot/_inputs.py +539 -0
- pulumiverse_scaleway/iot/device.py +752 -0
- pulumiverse_scaleway/iot/get_device.py +257 -0
- pulumiverse_scaleway/iot/get_hub.py +322 -0
- pulumiverse_scaleway/iot/hub.py +898 -0
- pulumiverse_scaleway/iot/network.py +474 -0
- pulumiverse_scaleway/iot/outputs.py +465 -0
- pulumiverse_scaleway/iot/route.py +662 -0
- pulumiverse_scaleway/iot_device.py +14 -8
- pulumiverse_scaleway/iot_hub.py +8 -2
- pulumiverse_scaleway/iot_network.py +12 -6
- pulumiverse_scaleway/iot_route.py +32 -26
- pulumiverse_scaleway/ipam/__init__.py +13 -0
- pulumiverse_scaleway/ipam/_inputs.py +442 -0
- pulumiverse_scaleway/ipam/get_ip.py +419 -0
- pulumiverse_scaleway/ipam/get_ips.py +358 -0
- pulumiverse_scaleway/ipam/ip.py +759 -0
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +320 -0
- pulumiverse_scaleway/ipam/outputs.py +481 -0
- pulumiverse_scaleway/ipam_ip.py +30 -24
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +6 -0
- pulumiverse_scaleway/job/__init__.py +10 -0
- pulumiverse_scaleway/job/_inputs.py +73 -0
- pulumiverse_scaleway/job/definition.py +694 -0
- pulumiverse_scaleway/job/outputs.py +49 -0
- pulumiverse_scaleway/job_definition.py +8 -2
- pulumiverse_scaleway/kubernetes/__init__.py +14 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +717 -0
- pulumiverse_scaleway/kubernetes/cluster.py +1540 -0
- pulumiverse_scaleway/kubernetes/get_cluster.py +417 -0
- pulumiverse_scaleway/kubernetes/get_pool.py +436 -0
- pulumiverse_scaleway/kubernetes/get_version.py +196 -0
- pulumiverse_scaleway/kubernetes/outputs.py +944 -0
- pulumiverse_scaleway/kubernetes/pool.py +1313 -0
- pulumiverse_scaleway/kubernetes_cluster.py +36 -30
- pulumiverse_scaleway/kubernetes_node_pool.py +6 -0
- pulumiverse_scaleway/loadbalancer.py +35 -29
- pulumiverse_scaleway/loadbalancer_acl.py +8 -2
- pulumiverse_scaleway/loadbalancer_backend.py +12 -6
- pulumiverse_scaleway/loadbalancer_certificate.py +6 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +57 -4
- pulumiverse_scaleway/loadbalancer_ip.py +10 -4
- pulumiverse_scaleway/loadbalancer_route.py +74 -21
- pulumiverse_scaleway/loadbalancers/__init__.py +28 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +1103 -0
- pulumiverse_scaleway/loadbalancers/acl.py +522 -0
- pulumiverse_scaleway/loadbalancers/backend.py +1590 -0
- pulumiverse_scaleway/loadbalancers/certificate.py +462 -0
- pulumiverse_scaleway/loadbalancers/frontend.py +878 -0
- pulumiverse_scaleway/loadbalancers/get_acls.py +198 -0
- pulumiverse_scaleway/loadbalancers/get_backend.py +486 -0
- pulumiverse_scaleway/loadbalancers/get_backends.py +196 -0
- pulumiverse_scaleway/loadbalancers/get_certificate.py +230 -0
- pulumiverse_scaleway/loadbalancers/get_frontend.py +285 -0
- pulumiverse_scaleway/loadbalancers/get_frontends.py +196 -0
- pulumiverse_scaleway/loadbalancers/get_ip.py +228 -0
- pulumiverse_scaleway/loadbalancers/get_ips.py +198 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +339 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +187 -0
- pulumiverse_scaleway/loadbalancers/get_route.py +228 -0
- pulumiverse_scaleway/loadbalancers/get_routes.py +179 -0
- pulumiverse_scaleway/loadbalancers/ip.py +516 -0
- pulumiverse_scaleway/loadbalancers/load_balancer.py +1063 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +2502 -0
- pulumiverse_scaleway/loadbalancers/route.py +572 -0
- pulumiverse_scaleway/mnq/__init__.py +20 -0
- pulumiverse_scaleway/mnq/_inputs.py +169 -0
- pulumiverse_scaleway/mnq/get_sns.py +150 -0
- pulumiverse_scaleway/mnq/get_sqs.py +150 -0
- pulumiverse_scaleway/mnq/nats_account.py +336 -0
- pulumiverse_scaleway/mnq/nats_credentials.py +332 -0
- pulumiverse_scaleway/mnq/outputs.py +149 -0
- pulumiverse_scaleway/mnq/sns.py +308 -0
- pulumiverse_scaleway/mnq/sns_credentials.py +415 -0
- pulumiverse_scaleway/mnq/sns_topic.py +661 -0
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +701 -0
- pulumiverse_scaleway/mnq/sqs.py +306 -0
- pulumiverse_scaleway/mnq/sqs_credentials.py +415 -0
- pulumiverse_scaleway/mnq/sqs_queue.py +802 -0
- pulumiverse_scaleway/mnq_nats_account.py +8 -2
- pulumiverse_scaleway/mnq_nats_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sns.py +12 -6
- pulumiverse_scaleway/mnq_sns_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sns_topic.py +16 -10
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +22 -16
- pulumiverse_scaleway/mnq_sqs.py +12 -6
- pulumiverse_scaleway/mnq_sqs_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sqs_queue.py +16 -10
- pulumiverse_scaleway/mongo_db_instance.py +14 -8
- pulumiverse_scaleway/mongo_db_snapshot.py +8 -2
- pulumiverse_scaleway/mongodb/__init__.py +12 -0
- pulumiverse_scaleway/mongodb/_inputs.py +208 -0
- pulumiverse_scaleway/mongodb/get_instance.py +335 -0
- pulumiverse_scaleway/mongodb/instance.py +1000 -0
- pulumiverse_scaleway/mongodb/outputs.py +270 -0
- pulumiverse_scaleway/mongodb/snapshot.py +523 -0
- pulumiverse_scaleway/network/__init__.py +30 -0
- pulumiverse_scaleway/network/_inputs.py +577 -0
- pulumiverse_scaleway/network/acl.py +415 -0
- pulumiverse_scaleway/network/gateway_network.py +850 -0
- pulumiverse_scaleway/network/get_gateway_network.py +287 -0
- pulumiverse_scaleway/network/get_private_network.py +282 -0
- pulumiverse_scaleway/network/get_public_gateway.py +337 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +313 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +390 -0
- pulumiverse_scaleway/network/get_public_gateway_ip.py +199 -0
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +313 -0
- pulumiverse_scaleway/network/get_routes.py +208 -0
- pulumiverse_scaleway/network/get_vpc.py +246 -0
- pulumiverse_scaleway/network/get_vpcs.py +174 -0
- pulumiverse_scaleway/network/outputs.py +886 -0
- pulumiverse_scaleway/network/private_network.py +736 -0
- pulumiverse_scaleway/network/public_gateway.py +894 -0
- pulumiverse_scaleway/network/public_gateway_dhcp.py +957 -0
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +524 -0
- pulumiverse_scaleway/network/public_gateway_ip.py +459 -0
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +308 -0
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +593 -0
- pulumiverse_scaleway/network/route.py +579 -0
- pulumiverse_scaleway/network/vpc.py +538 -0
- pulumiverse_scaleway/object/__init__.py +17 -0
- pulumiverse_scaleway/object/_inputs.py +831 -0
- pulumiverse_scaleway/object/bucket.py +876 -0
- pulumiverse_scaleway/object/bucket_acl.py +598 -0
- pulumiverse_scaleway/object/bucket_lock_configuration.py +397 -0
- pulumiverse_scaleway/object/bucket_policy.py +675 -0
- pulumiverse_scaleway/object/bucket_website_configuration.py +536 -0
- pulumiverse_scaleway/object/get_bucket.py +290 -0
- pulumiverse_scaleway/object/get_bucket_policy.py +163 -0
- pulumiverse_scaleway/object/item.py +778 -0
- pulumiverse_scaleway/object/outputs.py +802 -0
- pulumiverse_scaleway/object_bucket.py +28 -22
- pulumiverse_scaleway/object_bucket_acl.py +14 -8
- pulumiverse_scaleway/object_bucket_lock_configuration.py +12 -6
- pulumiverse_scaleway/object_bucket_policy.py +46 -40
- pulumiverse_scaleway/object_bucket_website_configuration.py +18 -12
- pulumiverse_scaleway/object_item.py +8 -2
- pulumiverse_scaleway/observability/__init__.py +17 -0
- pulumiverse_scaleway/observability/_inputs.py +417 -0
- pulumiverse_scaleway/observability/alert_manager.py +403 -0
- pulumiverse_scaleway/observability/cockpit.py +325 -0
- pulumiverse_scaleway/observability/get_instance.py +205 -0
- pulumiverse_scaleway/observability/get_plan.py +125 -0
- pulumiverse_scaleway/observability/get_source.py +262 -0
- pulumiverse_scaleway/observability/grafana_user.py +364 -0
- pulumiverse_scaleway/observability/outputs.py +425 -0
- pulumiverse_scaleway/observability/source.py +569 -0
- pulumiverse_scaleway/observability/token.py +481 -0
- pulumiverse_scaleway/outputs.py +662 -2
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +16 -10
- pulumiverse_scaleway/redis/__init__.py +11 -0
- pulumiverse_scaleway/redis/_inputs.py +330 -0
- pulumiverse_scaleway/redis/cluster.py +1203 -0
- pulumiverse_scaleway/redis/get_cluster.py +347 -0
- pulumiverse_scaleway/redis/outputs.py +356 -0
- pulumiverse_scaleway/redis_cluster.py +14 -8
- pulumiverse_scaleway/registry/__init__.py +11 -0
- pulumiverse_scaleway/registry/get_image.py +239 -0
- pulumiverse_scaleway/registry/get_image_tag.py +229 -0
- pulumiverse_scaleway/registry/get_namespace.py +199 -0
- pulumiverse_scaleway/registry/namespace.py +460 -0
- pulumiverse_scaleway/registry_namespace.py +8 -2
- pulumiverse_scaleway/sdb_database.py +10 -4
- pulumiverse_scaleway/secret.py +28 -2
- pulumiverse_scaleway/secret_version.py +18 -12
- pulumiverse_scaleway/secrets/__init__.py +13 -0
- pulumiverse_scaleway/secrets/_inputs.py +248 -0
- pulumiverse_scaleway/secrets/get_secret.py +349 -0
- pulumiverse_scaleway/secrets/get_version.py +340 -0
- pulumiverse_scaleway/secrets/outputs.py +320 -0
- pulumiverse_scaleway/secrets/secret.py +685 -0
- pulumiverse_scaleway/secrets/version.py +489 -0
- pulumiverse_scaleway/tem/__init__.py +15 -0
- pulumiverse_scaleway/tem/_inputs.py +135 -0
- pulumiverse_scaleway/tem/blocked_list.py +442 -0
- pulumiverse_scaleway/tem/domain.py +1039 -0
- pulumiverse_scaleway/tem/domain_validation.py +305 -0
- pulumiverse_scaleway/tem/get_domain.py +378 -0
- pulumiverse_scaleway/tem/get_offer_subscription.py +254 -0
- pulumiverse_scaleway/tem/outputs.py +171 -0
- pulumiverse_scaleway/tem/webhook.py +642 -0
- pulumiverse_scaleway/tem_domain.py +27 -14
- pulumiverse_scaleway/tem_domain_validation.py +10 -4
- pulumiverse_scaleway/tem_webhook.py +28 -22
- pulumiverse_scaleway/vpc.py +10 -4
- pulumiverse_scaleway/vpc_gateway_network.py +128 -140
- pulumiverse_scaleway/vpc_private_network.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway.py +132 -23
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +23 -9
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +40 -26
- pulumiverse_scaleway/vpc_public_gateway_ip.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +12 -6
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +26 -20
- pulumiverse_scaleway/vpc_route.py +16 -10
- pulumiverse_scaleway/webhosting.py +10 -4
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.26.0.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.26.0.dist-info/RECORD +483 -0
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.26.0.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway-1.25.0a1742464679.dist-info/RECORD +0 -206
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.26.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'get_vpc_public_gateway_dhcp_output',
|
22
22
|
]
|
23
23
|
|
24
|
+
warnings.warn("""scaleway.index/getvpcpublicgatewaydhcp.getVpcPublicGatewayDhcp has been deprecated in favor of scaleway.network/getpublicgatewaydhcp.getPublicGatewayDhcp""", DeprecationWarning)
|
25
|
+
|
24
26
|
@pulumi.output_type
|
25
27
|
class GetVpcPublicGatewayDhcpResult:
|
26
28
|
"""
|
@@ -223,6 +225,10 @@ class AwaitableGetVpcPublicGatewayDhcpResult(GetVpcPublicGatewayDhcpResult):
|
|
223
225
|
def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None,
|
224
226
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicGatewayDhcpResult:
|
225
227
|
"""
|
228
|
+
> **Important:** The data source `network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
|
229
|
+
In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
|
230
|
+
For more information, please refer to the dedicated guide.
|
231
|
+
|
226
232
|
Gets information about a Public Gateway DHCP configuration.
|
227
233
|
|
228
234
|
## Example Usage
|
@@ -232,10 +238,11 @@ def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None,
|
|
232
238
|
import pulumi_scaleway as scaleway
|
233
239
|
import pulumiverse_scaleway as scaleway
|
234
240
|
|
235
|
-
main = scaleway.
|
236
|
-
dhcp_by_id = scaleway.
|
241
|
+
main = scaleway.network.PublicGatewayDhcp("main", subnet="192.168.0.0/24")
|
242
|
+
dhcp_by_id = scaleway.network.get_public_gateway_dhcp_output(dhcp_id=main.id)
|
237
243
|
```
|
238
244
|
"""
|
245
|
+
pulumi.log.warn("""get_vpc_public_gateway_dhcp is deprecated: scaleway.index/getvpcpublicgatewaydhcp.getVpcPublicGatewayDhcp has been deprecated in favor of scaleway.network/getpublicgatewaydhcp.getPublicGatewayDhcp""")
|
239
246
|
__args__ = dict()
|
240
247
|
__args__['dhcpId'] = dhcp_id
|
241
248
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -265,6 +272,10 @@ def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None,
|
|
265
272
|
def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = None,
|
266
273
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcPublicGatewayDhcpResult]:
|
267
274
|
"""
|
275
|
+
> **Important:** The data source `network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
|
276
|
+
In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
|
277
|
+
For more information, please refer to the dedicated guide.
|
278
|
+
|
268
279
|
Gets information about a Public Gateway DHCP configuration.
|
269
280
|
|
270
281
|
## Example Usage
|
@@ -274,10 +285,11 @@ def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = No
|
|
274
285
|
import pulumi_scaleway as scaleway
|
275
286
|
import pulumiverse_scaleway as scaleway
|
276
287
|
|
277
|
-
main = scaleway.
|
278
|
-
dhcp_by_id = scaleway.
|
288
|
+
main = scaleway.network.PublicGatewayDhcp("main", subnet="192.168.0.0/24")
|
289
|
+
dhcp_by_id = scaleway.network.get_public_gateway_dhcp_output(dhcp_id=main.id)
|
279
290
|
```
|
280
291
|
"""
|
292
|
+
pulumi.log.warn("""get_vpc_public_gateway_dhcp is deprecated: scaleway.index/getvpcpublicgatewaydhcp.getVpcPublicGatewayDhcp has been deprecated in favor of scaleway.network/getpublicgatewaydhcp.getPublicGatewayDhcp""")
|
281
293
|
__args__ = dict()
|
282
294
|
__args__['dhcpId'] = dhcp_id
|
283
295
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'get_vpc_public_gateway_dhcp_reservation_output',
|
22
22
|
]
|
23
23
|
|
24
|
+
warnings.warn("""scaleway.index/getvpcpublicgatewaydhcpreservation.getVpcPublicGatewayDhcpReservation has been deprecated in favor of scaleway.network/getpublicgatewaydhcpreservation.getPublicGatewayDhcpReservation""", DeprecationWarning)
|
25
|
+
|
24
26
|
@pulumi.output_type
|
25
27
|
class GetVpcPublicGatewayDhcpReservationResult:
|
26
28
|
"""
|
@@ -146,6 +148,10 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] =
|
|
146
148
|
zone: Optional[str] = None,
|
147
149
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicGatewayDhcpReservationResult:
|
148
150
|
"""
|
151
|
+
> **Important:** The data source `network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
|
152
|
+
In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
|
153
|
+
You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
|
154
|
+
|
149
155
|
Gets information about a DHCP entry. For further information, please see the
|
150
156
|
[API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries).
|
151
157
|
|
@@ -156,29 +162,29 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] =
|
|
156
162
|
import pulumi_scaleway as scaleway
|
157
163
|
import pulumiverse_scaleway as scaleway
|
158
164
|
|
159
|
-
main = scaleway.
|
160
|
-
|
165
|
+
main = scaleway.network.PrivateNetwork("main")
|
166
|
+
main_server = scaleway.instance.Server("main",
|
161
167
|
image="ubuntu_jammy",
|
162
168
|
type="DEV1-S",
|
163
169
|
zone="fr-par-1")
|
164
|
-
|
165
|
-
server_id=
|
170
|
+
main_private_nic = scaleway.instance.PrivateNic("main",
|
171
|
+
server_id=main_server.id,
|
166
172
|
private_network_id=main.id)
|
167
|
-
|
168
|
-
|
169
|
-
|
173
|
+
main_public_gateway_ip = scaleway.network.PublicGatewayIp("main")
|
174
|
+
main_public_gateway_dhcp = scaleway.network.PublicGatewayDhcp("main", subnet="192.168.1.0/24")
|
175
|
+
main_public_gateway = scaleway.network.PublicGateway("main",
|
170
176
|
name="foobar",
|
171
177
|
type="VPC-GW-S",
|
172
|
-
ip_id=
|
173
|
-
|
174
|
-
gateway_id=
|
178
|
+
ip_id=main_public_gateway_ip.id)
|
179
|
+
main_gateway_network = scaleway.network.GatewayNetwork("main",
|
180
|
+
gateway_id=main_public_gateway.id,
|
175
181
|
private_network_id=main.id,
|
176
|
-
dhcp_id=
|
182
|
+
dhcp_id=main_public_gateway_dhcp.id,
|
177
183
|
cleanup_dhcp=True,
|
178
184
|
enable_masquerade=True)
|
179
185
|
## Retrieve the dynamic entries generated by mac address & gateway network
|
180
|
-
by_mac_address_and_gw_network = scaleway.
|
181
|
-
gateway_network_id=
|
186
|
+
by_mac_address_and_gw_network = scaleway.network.get_public_gateway_dhcp_reservation_output(mac_address=main_private_nic.mac_address,
|
187
|
+
gateway_network_id=main_gateway_network.id)
|
182
188
|
```
|
183
189
|
|
184
190
|
## Example Static and PAT Rule
|
@@ -188,46 +194,46 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] =
|
|
188
194
|
import pulumi_scaleway as scaleway
|
189
195
|
import pulumiverse_scaleway as scaleway
|
190
196
|
|
191
|
-
main = scaleway.
|
192
|
-
|
197
|
+
main = scaleway.network.PrivateNetwork("main")
|
198
|
+
main_security_group = scaleway.instance.SecurityGroup("main",
|
193
199
|
inbound_default_policy="drop",
|
194
200
|
outbound_default_policy="accept",
|
195
201
|
inbound_rules=[{
|
196
202
|
"action": "accept",
|
197
203
|
"port": 22,
|
198
204
|
}])
|
199
|
-
|
205
|
+
main_server = scaleway.instance.Server("main",
|
200
206
|
image="ubuntu_jammy",
|
201
207
|
type="DEV1-S",
|
202
208
|
zone="fr-par-1",
|
203
|
-
security_group_id=
|
204
|
-
|
205
|
-
server_id=
|
209
|
+
security_group_id=main_security_group.id)
|
210
|
+
main_private_nic = scaleway.instance.PrivateNic("main",
|
211
|
+
server_id=main_server.id,
|
206
212
|
private_network_id=main.id)
|
207
|
-
|
208
|
-
|
209
|
-
|
213
|
+
main_public_gateway_ip = scaleway.network.PublicGatewayIp("main")
|
214
|
+
main_public_gateway_dhcp = scaleway.network.PublicGatewayDhcp("main", subnet="192.168.1.0/24")
|
215
|
+
main_public_gateway = scaleway.network.PublicGateway("main",
|
210
216
|
name="foobar",
|
211
217
|
type="VPC-GW-S",
|
212
|
-
ip_id=
|
213
|
-
|
214
|
-
gateway_id=
|
218
|
+
ip_id=main_public_gateway_ip.id)
|
219
|
+
main_gateway_network = scaleway.network.GatewayNetwork("main",
|
220
|
+
gateway_id=main_public_gateway.id,
|
215
221
|
private_network_id=main.id,
|
216
|
-
dhcp_id=
|
222
|
+
dhcp_id=main_public_gateway_dhcp.id,
|
217
223
|
cleanup_dhcp=True,
|
218
224
|
enable_masquerade=True)
|
219
|
-
|
220
|
-
gateway_network_id=
|
221
|
-
mac_address=
|
225
|
+
main_public_gateway_dhcp_reservation = scaleway.network.PublicGatewayDhcpReservation("main",
|
226
|
+
gateway_network_id=main_gateway_network.id,
|
227
|
+
mac_address=main_private_nic.mac_address,
|
222
228
|
ip_address="192.168.1.4")
|
223
229
|
### VPC PAT RULE
|
224
|
-
|
225
|
-
gateway_id=
|
226
|
-
private_ip=
|
230
|
+
main_public_gateway_pat_rule = scaleway.network.PublicGatewayPatRule("main",
|
231
|
+
gateway_id=main_public_gateway.id,
|
232
|
+
private_ip=main_public_gateway_dhcp_reservation.ip_address,
|
227
233
|
private_port=22,
|
228
234
|
public_port=2222,
|
229
235
|
protocol="tcp")
|
230
|
-
by_id = scaleway.
|
236
|
+
by_id = scaleway.network.get_public_gateway_dhcp_reservation_output(reservation_id=main_public_gateway_dhcp_reservation.id)
|
231
237
|
```
|
232
238
|
|
233
239
|
|
@@ -239,6 +245,7 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] =
|
|
239
245
|
:param bool wait_for_dhcp: Whether to wait for `mac_address` to exist in DHCP.
|
240
246
|
:param str zone: `zone`). The zone in which the reservation exists.
|
241
247
|
"""
|
248
|
+
pulumi.log.warn("""get_vpc_public_gateway_dhcp_reservation is deprecated: scaleway.index/getvpcpublicgatewaydhcpreservation.getVpcPublicGatewayDhcpReservation has been deprecated in favor of scaleway.network/getpublicgatewaydhcpreservation.getPublicGatewayDhcpReservation""")
|
242
249
|
__args__ = dict()
|
243
250
|
__args__['gatewayNetworkId'] = gateway_network_id
|
244
251
|
__args__['macAddress'] = mac_address
|
@@ -267,6 +274,10 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[
|
|
267
274
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
268
275
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcPublicGatewayDhcpReservationResult]:
|
269
276
|
"""
|
277
|
+
> **Important:** The data source `network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
|
278
|
+
In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
|
279
|
+
You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
|
280
|
+
|
270
281
|
Gets information about a DHCP entry. For further information, please see the
|
271
282
|
[API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries).
|
272
283
|
|
@@ -277,29 +288,29 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[
|
|
277
288
|
import pulumi_scaleway as scaleway
|
278
289
|
import pulumiverse_scaleway as scaleway
|
279
290
|
|
280
|
-
main = scaleway.
|
281
|
-
|
291
|
+
main = scaleway.network.PrivateNetwork("main")
|
292
|
+
main_server = scaleway.instance.Server("main",
|
282
293
|
image="ubuntu_jammy",
|
283
294
|
type="DEV1-S",
|
284
295
|
zone="fr-par-1")
|
285
|
-
|
286
|
-
server_id=
|
296
|
+
main_private_nic = scaleway.instance.PrivateNic("main",
|
297
|
+
server_id=main_server.id,
|
287
298
|
private_network_id=main.id)
|
288
|
-
|
289
|
-
|
290
|
-
|
299
|
+
main_public_gateway_ip = scaleway.network.PublicGatewayIp("main")
|
300
|
+
main_public_gateway_dhcp = scaleway.network.PublicGatewayDhcp("main", subnet="192.168.1.0/24")
|
301
|
+
main_public_gateway = scaleway.network.PublicGateway("main",
|
291
302
|
name="foobar",
|
292
303
|
type="VPC-GW-S",
|
293
|
-
ip_id=
|
294
|
-
|
295
|
-
gateway_id=
|
304
|
+
ip_id=main_public_gateway_ip.id)
|
305
|
+
main_gateway_network = scaleway.network.GatewayNetwork("main",
|
306
|
+
gateway_id=main_public_gateway.id,
|
296
307
|
private_network_id=main.id,
|
297
|
-
dhcp_id=
|
308
|
+
dhcp_id=main_public_gateway_dhcp.id,
|
298
309
|
cleanup_dhcp=True,
|
299
310
|
enable_masquerade=True)
|
300
311
|
## Retrieve the dynamic entries generated by mac address & gateway network
|
301
|
-
by_mac_address_and_gw_network = scaleway.
|
302
|
-
gateway_network_id=
|
312
|
+
by_mac_address_and_gw_network = scaleway.network.get_public_gateway_dhcp_reservation_output(mac_address=main_private_nic.mac_address,
|
313
|
+
gateway_network_id=main_gateway_network.id)
|
303
314
|
```
|
304
315
|
|
305
316
|
## Example Static and PAT Rule
|
@@ -309,46 +320,46 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[
|
|
309
320
|
import pulumi_scaleway as scaleway
|
310
321
|
import pulumiverse_scaleway as scaleway
|
311
322
|
|
312
|
-
main = scaleway.
|
313
|
-
|
323
|
+
main = scaleway.network.PrivateNetwork("main")
|
324
|
+
main_security_group = scaleway.instance.SecurityGroup("main",
|
314
325
|
inbound_default_policy="drop",
|
315
326
|
outbound_default_policy="accept",
|
316
327
|
inbound_rules=[{
|
317
328
|
"action": "accept",
|
318
329
|
"port": 22,
|
319
330
|
}])
|
320
|
-
|
331
|
+
main_server = scaleway.instance.Server("main",
|
321
332
|
image="ubuntu_jammy",
|
322
333
|
type="DEV1-S",
|
323
334
|
zone="fr-par-1",
|
324
|
-
security_group_id=
|
325
|
-
|
326
|
-
server_id=
|
335
|
+
security_group_id=main_security_group.id)
|
336
|
+
main_private_nic = scaleway.instance.PrivateNic("main",
|
337
|
+
server_id=main_server.id,
|
327
338
|
private_network_id=main.id)
|
328
|
-
|
329
|
-
|
330
|
-
|
339
|
+
main_public_gateway_ip = scaleway.network.PublicGatewayIp("main")
|
340
|
+
main_public_gateway_dhcp = scaleway.network.PublicGatewayDhcp("main", subnet="192.168.1.0/24")
|
341
|
+
main_public_gateway = scaleway.network.PublicGateway("main",
|
331
342
|
name="foobar",
|
332
343
|
type="VPC-GW-S",
|
333
|
-
ip_id=
|
334
|
-
|
335
|
-
gateway_id=
|
344
|
+
ip_id=main_public_gateway_ip.id)
|
345
|
+
main_gateway_network = scaleway.network.GatewayNetwork("main",
|
346
|
+
gateway_id=main_public_gateway.id,
|
336
347
|
private_network_id=main.id,
|
337
|
-
dhcp_id=
|
348
|
+
dhcp_id=main_public_gateway_dhcp.id,
|
338
349
|
cleanup_dhcp=True,
|
339
350
|
enable_masquerade=True)
|
340
|
-
|
341
|
-
gateway_network_id=
|
342
|
-
mac_address=
|
351
|
+
main_public_gateway_dhcp_reservation = scaleway.network.PublicGatewayDhcpReservation("main",
|
352
|
+
gateway_network_id=main_gateway_network.id,
|
353
|
+
mac_address=main_private_nic.mac_address,
|
343
354
|
ip_address="192.168.1.4")
|
344
355
|
### VPC PAT RULE
|
345
|
-
|
346
|
-
gateway_id=
|
347
|
-
private_ip=
|
356
|
+
main_public_gateway_pat_rule = scaleway.network.PublicGatewayPatRule("main",
|
357
|
+
gateway_id=main_public_gateway.id,
|
358
|
+
private_ip=main_public_gateway_dhcp_reservation.ip_address,
|
348
359
|
private_port=22,
|
349
360
|
public_port=2222,
|
350
361
|
protocol="tcp")
|
351
|
-
by_id = scaleway.
|
362
|
+
by_id = scaleway.network.get_public_gateway_dhcp_reservation_output(reservation_id=main_public_gateway_dhcp_reservation.id)
|
352
363
|
```
|
353
364
|
|
354
365
|
|
@@ -360,6 +371,7 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[
|
|
360
371
|
:param bool wait_for_dhcp: Whether to wait for `mac_address` to exist in DHCP.
|
361
372
|
:param str zone: `zone`). The zone in which the reservation exists.
|
362
373
|
"""
|
374
|
+
pulumi.log.warn("""get_vpc_public_gateway_dhcp_reservation is deprecated: scaleway.index/getvpcpublicgatewaydhcpreservation.getVpcPublicGatewayDhcpReservation has been deprecated in favor of scaleway.network/getpublicgatewaydhcpreservation.getPublicGatewayDhcpReservation""")
|
363
375
|
__args__ = dict()
|
364
376
|
__args__['gatewayNetworkId'] = gateway_network_id
|
365
377
|
__args__['macAddress'] = mac_address
|
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'get_vpc_public_gateway_ip_output',
|
22
22
|
]
|
23
23
|
|
24
|
+
warnings.warn("""scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp""", DeprecationWarning)
|
25
|
+
|
24
26
|
@pulumi.output_type
|
25
27
|
class GetVpcPublicGatewayIpResult:
|
26
28
|
"""
|
@@ -144,10 +146,11 @@ def get_vpc_public_gateway_ip(ip_id: Optional[str] = None,
|
|
144
146
|
import pulumi_scaleway as scaleway
|
145
147
|
import pulumiverse_scaleway as scaleway
|
146
148
|
|
147
|
-
main = scaleway.
|
148
|
-
ip_by_id = scaleway.
|
149
|
+
main = scaleway.network.PublicGatewayIp("main")
|
150
|
+
ip_by_id = scaleway.network.get_public_gateway_ip_output(ip_id=main.id)
|
149
151
|
```
|
150
152
|
"""
|
153
|
+
pulumi.log.warn("""get_vpc_public_gateway_ip is deprecated: scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp""")
|
151
154
|
__args__ = dict()
|
152
155
|
__args__['ipId'] = ip_id
|
153
156
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -178,10 +181,11 @@ def get_vpc_public_gateway_ip_output(ip_id: Optional[pulumi.Input[Optional[str]]
|
|
178
181
|
import pulumi_scaleway as scaleway
|
179
182
|
import pulumiverse_scaleway as scaleway
|
180
183
|
|
181
|
-
main = scaleway.
|
182
|
-
ip_by_id = scaleway.
|
184
|
+
main = scaleway.network.PublicGatewayIp("main")
|
185
|
+
ip_by_id = scaleway.network.get_public_gateway_ip_output(ip_id=main.id)
|
183
186
|
```
|
184
187
|
"""
|
188
|
+
pulumi.log.warn("""get_vpc_public_gateway_ip is deprecated: scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp""")
|
185
189
|
__args__ = dict()
|
186
190
|
__args__['ipId'] = ip_id
|
187
191
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'get_vpc_public_pat_rule_output',
|
22
22
|
]
|
23
23
|
|
24
|
+
warnings.warn("""scaleway.index/getvpcpublicpatrule.getVpcPublicPatRule has been deprecated in favor of scaleway.network/getpublicgatewaypatrule.getPublicGatewayPatRule""", DeprecationWarning)
|
25
|
+
|
24
26
|
@pulumi.output_type
|
25
27
|
class GetVpcPublicPatRuleResult:
|
26
28
|
"""
|
@@ -168,7 +170,7 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None,
|
|
168
170
|
import pulumi_scaleway as scaleway
|
169
171
|
import pulumiverse_scaleway as scaleway
|
170
172
|
|
171
|
-
sg01 = scaleway.
|
173
|
+
sg01 = scaleway.instance.SecurityGroup("sg01",
|
172
174
|
inbound_default_policy="drop",
|
173
175
|
outbound_default_policy="accept",
|
174
176
|
inbound_rules=[{
|
@@ -176,38 +178,38 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None,
|
|
176
178
|
"port": 22,
|
177
179
|
"protocol": "TCP",
|
178
180
|
}])
|
179
|
-
srv01 = scaleway.
|
181
|
+
srv01 = scaleway.instance.Server("srv01",
|
180
182
|
name="my-server",
|
181
183
|
type="PLAY2-NANO",
|
182
184
|
image="ubuntu_jammy",
|
183
185
|
security_group_id=sg01.id)
|
184
|
-
pn01 = scaleway.
|
185
|
-
pnic01 = scaleway.
|
186
|
+
pn01 = scaleway.network.PrivateNetwork("pn01", name="my-pn")
|
187
|
+
pnic01 = scaleway.instance.PrivateNic("pnic01",
|
186
188
|
server_id=srv01.id,
|
187
189
|
private_network_id=pn01.id)
|
188
|
-
dhcp01 = scaleway.
|
189
|
-
ip01 = scaleway.
|
190
|
-
pg01 = scaleway.
|
190
|
+
dhcp01 = scaleway.network.PublicGatewayDhcp("dhcp01", subnet="192.168.0.0/24")
|
191
|
+
ip01 = scaleway.network.PublicGatewayIp("ip01")
|
192
|
+
pg01 = scaleway.network.PublicGateway("pg01",
|
191
193
|
name="my-pg",
|
192
194
|
type="VPC-GW-S",
|
193
195
|
ip_id=ip01.id)
|
194
|
-
gn01 = scaleway.
|
196
|
+
gn01 = scaleway.network.GatewayNetwork("gn01",
|
195
197
|
gateway_id=pg01.id,
|
196
198
|
private_network_id=pn01.id,
|
197
199
|
dhcp_id=dhcp01.id,
|
198
200
|
cleanup_dhcp=True,
|
199
201
|
enable_masquerade=True)
|
200
|
-
rsv01 = scaleway.
|
202
|
+
rsv01 = scaleway.network.PublicGatewayDhcpReservation("rsv01",
|
201
203
|
gateway_network_id=gn01.id,
|
202
204
|
mac_address=pnic01.mac_address,
|
203
205
|
ip_address="192.168.0.7")
|
204
|
-
pat01 = scaleway.
|
206
|
+
pat01 = scaleway.network.PublicGatewayPatRule("pat01",
|
205
207
|
gateway_id=pg01.id,
|
206
208
|
private_ip=rsv01.ip_address,
|
207
209
|
private_port=22,
|
208
210
|
public_port=2202,
|
209
211
|
protocol="tcp")
|
210
|
-
main = scaleway.
|
212
|
+
main = scaleway.network.get_public_gateway_pat_rule_output(pat_rule_id=pat01.id)
|
211
213
|
```
|
212
214
|
|
213
215
|
|
@@ -215,6 +217,7 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None,
|
|
215
217
|
:param str zone: `zone`) The zone in which
|
216
218
|
the rule exists.
|
217
219
|
"""
|
220
|
+
pulumi.log.warn("""get_vpc_public_pat_rule is deprecated: scaleway.index/getvpcpublicpatrule.getVpcPublicPatRule has been deprecated in favor of scaleway.network/getpublicgatewaypatrule.getPublicGatewayPatRule""")
|
218
221
|
__args__ = dict()
|
219
222
|
__args__['patRuleId'] = pat_rule_id
|
220
223
|
__args__['zone'] = zone
|
@@ -247,7 +250,7 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No
|
|
247
250
|
import pulumi_scaleway as scaleway
|
248
251
|
import pulumiverse_scaleway as scaleway
|
249
252
|
|
250
|
-
sg01 = scaleway.
|
253
|
+
sg01 = scaleway.instance.SecurityGroup("sg01",
|
251
254
|
inbound_default_policy="drop",
|
252
255
|
outbound_default_policy="accept",
|
253
256
|
inbound_rules=[{
|
@@ -255,38 +258,38 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No
|
|
255
258
|
"port": 22,
|
256
259
|
"protocol": "TCP",
|
257
260
|
}])
|
258
|
-
srv01 = scaleway.
|
261
|
+
srv01 = scaleway.instance.Server("srv01",
|
259
262
|
name="my-server",
|
260
263
|
type="PLAY2-NANO",
|
261
264
|
image="ubuntu_jammy",
|
262
265
|
security_group_id=sg01.id)
|
263
|
-
pn01 = scaleway.
|
264
|
-
pnic01 = scaleway.
|
266
|
+
pn01 = scaleway.network.PrivateNetwork("pn01", name="my-pn")
|
267
|
+
pnic01 = scaleway.instance.PrivateNic("pnic01",
|
265
268
|
server_id=srv01.id,
|
266
269
|
private_network_id=pn01.id)
|
267
|
-
dhcp01 = scaleway.
|
268
|
-
ip01 = scaleway.
|
269
|
-
pg01 = scaleway.
|
270
|
+
dhcp01 = scaleway.network.PublicGatewayDhcp("dhcp01", subnet="192.168.0.0/24")
|
271
|
+
ip01 = scaleway.network.PublicGatewayIp("ip01")
|
272
|
+
pg01 = scaleway.network.PublicGateway("pg01",
|
270
273
|
name="my-pg",
|
271
274
|
type="VPC-GW-S",
|
272
275
|
ip_id=ip01.id)
|
273
|
-
gn01 = scaleway.
|
276
|
+
gn01 = scaleway.network.GatewayNetwork("gn01",
|
274
277
|
gateway_id=pg01.id,
|
275
278
|
private_network_id=pn01.id,
|
276
279
|
dhcp_id=dhcp01.id,
|
277
280
|
cleanup_dhcp=True,
|
278
281
|
enable_masquerade=True)
|
279
|
-
rsv01 = scaleway.
|
282
|
+
rsv01 = scaleway.network.PublicGatewayDhcpReservation("rsv01",
|
280
283
|
gateway_network_id=gn01.id,
|
281
284
|
mac_address=pnic01.mac_address,
|
282
285
|
ip_address="192.168.0.7")
|
283
|
-
pat01 = scaleway.
|
286
|
+
pat01 = scaleway.network.PublicGatewayPatRule("pat01",
|
284
287
|
gateway_id=pg01.id,
|
285
288
|
private_ip=rsv01.ip_address,
|
286
289
|
private_port=22,
|
287
290
|
public_port=2202,
|
288
291
|
protocol="tcp")
|
289
|
-
main = scaleway.
|
292
|
+
main = scaleway.network.get_public_gateway_pat_rule_output(pat_rule_id=pat01.id)
|
290
293
|
```
|
291
294
|
|
292
295
|
|
@@ -294,6 +297,7 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No
|
|
294
297
|
:param str zone: `zone`) The zone in which
|
295
298
|
the rule exists.
|
296
299
|
"""
|
300
|
+
pulumi.log.warn("""get_vpc_public_pat_rule is deprecated: scaleway.index/getvpcpublicpatrule.getVpcPublicPatRule has been deprecated in favor of scaleway.network/getpublicgatewaypatrule.getPublicGatewayPatRule""")
|
297
301
|
__args__ = dict()
|
298
302
|
__args__['patRuleId'] = pat_rule_id
|
299
303
|
__args__['zone'] = zone
|
@@ -22,6 +22,8 @@ __all__ = [
|
|
22
22
|
'get_vpc_routes_output',
|
23
23
|
]
|
24
24
|
|
25
|
+
warnings.warn("""scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes""", DeprecationWarning)
|
26
|
+
|
25
27
|
@pulumi.output_type
|
26
28
|
class GetVpcRoutesResult:
|
27
29
|
"""
|
@@ -145,6 +147,7 @@ def get_vpc_routes(is_ipv6: Optional[bool] = None,
|
|
145
147
|
:param Sequence[str] tags: List of tags to filter for. routes with these exact tags are listed.
|
146
148
|
:param str vpc_id: The VPC ID to filter for. routes with a similar VPC ID are listed.
|
147
149
|
"""
|
150
|
+
pulumi.log.warn("""get_vpc_routes is deprecated: scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes""")
|
148
151
|
__args__ = dict()
|
149
152
|
__args__['isIpv6'] = is_ipv6
|
150
153
|
__args__['nexthopPrivateNetworkId'] = nexthop_private_network_id
|
@@ -186,6 +189,7 @@ def get_vpc_routes_output(is_ipv6: Optional[pulumi.Input[Optional[bool]]] = None
|
|
186
189
|
:param Sequence[str] tags: List of tags to filter for. routes with these exact tags are listed.
|
187
190
|
:param str vpc_id: The VPC ID to filter for. routes with a similar VPC ID are listed.
|
188
191
|
"""
|
192
|
+
pulumi.log.warn("""get_vpc_routes is deprecated: scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes""")
|
189
193
|
__args__ = dict()
|
190
194
|
__args__['isIpv6'] = is_ipv6
|
191
195
|
__args__['nexthopPrivateNetworkId'] = nexthop_private_network_id
|
pulumiverse_scaleway/get_vpcs.py
CHANGED
@@ -22,6 +22,8 @@ __all__ = [
|
|
22
22
|
'get_vpcs_output',
|
23
23
|
]
|
24
24
|
|
25
|
+
warnings.warn("""scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs""", DeprecationWarning)
|
26
|
+
|
25
27
|
@pulumi.output_type
|
26
28
|
class GetVpcsResult:
|
27
29
|
"""
|
@@ -127,6 +129,7 @@ def get_vpcs(name: Optional[str] = None,
|
|
127
129
|
:param str region: `region`). The region in which the VPCs exist.
|
128
130
|
:param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed.
|
129
131
|
"""
|
132
|
+
pulumi.log.warn("""get_vpcs is deprecated: scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs""")
|
130
133
|
__args__ = dict()
|
131
134
|
__args__['name'] = name
|
132
135
|
__args__['projectId'] = project_id
|
@@ -157,6 +160,7 @@ def get_vpcs_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
160
|
:param str region: `region`). The region in which the VPCs exist.
|
158
161
|
:param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed.
|
159
162
|
"""
|
163
|
+
pulumi.log.warn("""get_vpcs is deprecated: scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs""")
|
160
164
|
__args__ = dict()
|
161
165
|
__args__['name'] = name
|
162
166
|
__args__['projectId'] = project_id
|
@@ -22,6 +22,8 @@ __all__ = [
|
|
22
22
|
'get_web_host_offer_output',
|
23
23
|
]
|
24
24
|
|
25
|
+
warnings.warn("""scaleway.index/getwebhostoffer.getWebHostOffer has been deprecated in favor of scaleway.hosting/getoffer.getOffer""", DeprecationWarning)
|
26
|
+
|
25
27
|
@pulumi.output_type
|
26
28
|
class GetWebHostOfferResult:
|
27
29
|
"""
|
@@ -153,10 +155,10 @@ def get_web_host_offer(control_panel: Optional[str] = None,
|
|
153
155
|
import pulumi_scaleway as scaleway
|
154
156
|
|
155
157
|
# Get info by offer name
|
156
|
-
by_name = scaleway.
|
158
|
+
by_name = scaleway.hosting.get_offer(name="performance",
|
157
159
|
control_panel="Cpanel")
|
158
160
|
# Get info by offer id
|
159
|
-
by_id = scaleway.
|
161
|
+
by_id = scaleway.hosting.get_offer(offer_id="de2426b4-a9e9-11ec-b909-0242ac120002")
|
160
162
|
```
|
161
163
|
|
162
164
|
|
@@ -165,6 +167,7 @@ def get_web_host_offer(control_panel: Optional[str] = None,
|
|
165
167
|
:param str offer_id: The offer id. Only one of `name` and `offer_id` should be specified.
|
166
168
|
:param str region: `region`) The region in which offer exists.
|
167
169
|
"""
|
170
|
+
pulumi.log.warn("""get_web_host_offer is deprecated: scaleway.index/getwebhostoffer.getWebHostOffer has been deprecated in favor of scaleway.hosting/getoffer.getOffer""")
|
168
171
|
__args__ = dict()
|
169
172
|
__args__['controlPanel'] = control_panel
|
170
173
|
__args__['name'] = name
|
@@ -198,10 +201,10 @@ def get_web_host_offer_output(control_panel: Optional[pulumi.Input[Optional[str]
|
|
198
201
|
import pulumi_scaleway as scaleway
|
199
202
|
|
200
203
|
# Get info by offer name
|
201
|
-
by_name = scaleway.
|
204
|
+
by_name = scaleway.hosting.get_offer(name="performance",
|
202
205
|
control_panel="Cpanel")
|
203
206
|
# Get info by offer id
|
204
|
-
by_id = scaleway.
|
207
|
+
by_id = scaleway.hosting.get_offer(offer_id="de2426b4-a9e9-11ec-b909-0242ac120002")
|
205
208
|
```
|
206
209
|
|
207
210
|
|
@@ -210,6 +213,7 @@ def get_web_host_offer_output(control_panel: Optional[pulumi.Input[Optional[str]
|
|
210
213
|
:param str offer_id: The offer id. Only one of `name` and `offer_id` should be specified.
|
211
214
|
:param str region: `region`) The region in which offer exists.
|
212
215
|
"""
|
216
|
+
pulumi.log.warn("""get_web_host_offer is deprecated: scaleway.index/getwebhostoffer.getWebHostOffer has been deprecated in favor of scaleway.hosting/getoffer.getOffer""")
|
213
217
|
__args__ = dict()
|
214
218
|
__args__['controlPanel'] = control_panel
|
215
219
|
__args__['name'] = name
|