pulumiverse-scaleway 1.25.0a1742464679__py3-none-any.whl → 1.25.0a1742668904__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 +929 -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 +8 -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 +690 -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 +13 -0
- pulumiverse_scaleway/domain/_inputs.py +341 -0
- pulumiverse_scaleway/domain/get_record.py +340 -0
- pulumiverse_scaleway/domain/get_zone.py +201 -0
- pulumiverse_scaleway/domain/outputs.py +408 -0
- pulumiverse_scaleway/domain/record.py +1118 -0
- pulumiverse_scaleway/domain/zone.py +432 -0
- pulumiverse_scaleway/domain_record.py +36 -30
- pulumiverse_scaleway/domain_zone.py +6 -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 +704 -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 +22 -16
- 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 +16 -12
- pulumiverse_scaleway/get_lb_frontends.py +8 -4
- pulumiverse_scaleway/get_lb_ips.py +4 -0
- pulumiverse_scaleway/get_lb_route.py +16 -12
- 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 +12 -8
- 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 +10 -6
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -4
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +70 -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 +10 -4
- pulumiverse_scaleway/loadbalancer_certificate.py +6 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +10 -4
- pulumiverse_scaleway/loadbalancer_ip.py +10 -4
- pulumiverse_scaleway/loadbalancer_route.py +26 -20
- 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 +831 -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 +274 -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 +217 -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 +2491 -0
- pulumiverse_scaleway/loadbalancers/route.py +525 -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 +29 -0
- pulumiverse_scaleway/network/_inputs.py +383 -0
- pulumiverse_scaleway/network/gateway_network.py +868 -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 +304 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +305 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +382 -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 +747 -0
- pulumiverse_scaleway/network/private_network.py +736 -0
- pulumiverse_scaleway/network/public_gateway.py +791 -0
- pulumiverse_scaleway/network/public_gateway_dhcp.py +949 -0
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +516 -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/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 +6 -0
- pulumiverse_scaleway/secret_version.py +12 -6
- pulumiverse_scaleway/secrets/__init__.py +13 -0
- pulumiverse_scaleway/secrets/_inputs.py +94 -0
- pulumiverse_scaleway/secrets/get_secret.py +338 -0
- pulumiverse_scaleway/secrets/get_version.py +340 -0
- pulumiverse_scaleway/secrets/outputs.py +120 -0
- pulumiverse_scaleway/secrets/secret.py +665 -0
- pulumiverse_scaleway/secrets/version.py +489 -0
- pulumiverse_scaleway/tem/__init__.py +13 -0
- pulumiverse_scaleway/tem/_inputs.py +135 -0
- pulumiverse_scaleway/tem/domain.py +1032 -0
- pulumiverse_scaleway/tem/domain_validation.py +305 -0
- pulumiverse_scaleway/tem/get_domain.py +378 -0
- pulumiverse_scaleway/tem/outputs.py +171 -0
- pulumiverse_scaleway/tem/webhook.py +642 -0
- pulumiverse_scaleway/tem_domain.py +20 -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 +40 -34
- pulumiverse_scaleway/vpc_private_network.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway.py +8 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +15 -9
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +32 -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.25.0a1742668904.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.25.0a1742668904.dist-info/RECORD +470 -0
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.25.0a1742668904.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.25.0a1742668904.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,305 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetImageResult',
|
19
|
+
'AwaitableGetImageResult',
|
20
|
+
'get_image',
|
21
|
+
'get_image_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetImageResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getImage.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, additional_volume_ids=None, architecture=None, creation_date=None, default_bootscript_id=None, from_server_id=None, id=None, image_id=None, latest=None, modification_date=None, name=None, organization_id=None, project_id=None, public=None, root_volume_id=None, state=None, zone=None):
|
30
|
+
if additional_volume_ids and not isinstance(additional_volume_ids, list):
|
31
|
+
raise TypeError("Expected argument 'additional_volume_ids' to be a list")
|
32
|
+
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
33
|
+
if architecture and not isinstance(architecture, str):
|
34
|
+
raise TypeError("Expected argument 'architecture' to be a str")
|
35
|
+
pulumi.set(__self__, "architecture", architecture)
|
36
|
+
if creation_date and not isinstance(creation_date, str):
|
37
|
+
raise TypeError("Expected argument 'creation_date' to be a str")
|
38
|
+
pulumi.set(__self__, "creation_date", creation_date)
|
39
|
+
if default_bootscript_id and not isinstance(default_bootscript_id, str):
|
40
|
+
raise TypeError("Expected argument 'default_bootscript_id' to be a str")
|
41
|
+
pulumi.set(__self__, "default_bootscript_id", default_bootscript_id)
|
42
|
+
if from_server_id and not isinstance(from_server_id, str):
|
43
|
+
raise TypeError("Expected argument 'from_server_id' to be a str")
|
44
|
+
pulumi.set(__self__, "from_server_id", from_server_id)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
48
|
+
if image_id and not isinstance(image_id, str):
|
49
|
+
raise TypeError("Expected argument 'image_id' to be a str")
|
50
|
+
pulumi.set(__self__, "image_id", image_id)
|
51
|
+
if latest and not isinstance(latest, bool):
|
52
|
+
raise TypeError("Expected argument 'latest' to be a bool")
|
53
|
+
pulumi.set(__self__, "latest", latest)
|
54
|
+
if modification_date and not isinstance(modification_date, str):
|
55
|
+
raise TypeError("Expected argument 'modification_date' to be a str")
|
56
|
+
pulumi.set(__self__, "modification_date", modification_date)
|
57
|
+
if name and not isinstance(name, str):
|
58
|
+
raise TypeError("Expected argument 'name' to be a str")
|
59
|
+
pulumi.set(__self__, "name", name)
|
60
|
+
if organization_id and not isinstance(organization_id, str):
|
61
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
62
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
63
|
+
if project_id and not isinstance(project_id, str):
|
64
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
65
|
+
pulumi.set(__self__, "project_id", project_id)
|
66
|
+
if public and not isinstance(public, bool):
|
67
|
+
raise TypeError("Expected argument 'public' to be a bool")
|
68
|
+
pulumi.set(__self__, "public", public)
|
69
|
+
if root_volume_id and not isinstance(root_volume_id, str):
|
70
|
+
raise TypeError("Expected argument 'root_volume_id' to be a str")
|
71
|
+
pulumi.set(__self__, "root_volume_id", root_volume_id)
|
72
|
+
if state and not isinstance(state, str):
|
73
|
+
raise TypeError("Expected argument 'state' to be a str")
|
74
|
+
pulumi.set(__self__, "state", state)
|
75
|
+
if zone and not isinstance(zone, str):
|
76
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
77
|
+
pulumi.set(__self__, "zone", zone)
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="additionalVolumeIds")
|
81
|
+
def additional_volume_ids(self) -> Sequence[str]:
|
82
|
+
"""
|
83
|
+
IDs of the additional volumes in this image.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "additional_volume_ids")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def architecture(self) -> Optional[str]:
|
90
|
+
return pulumi.get(self, "architecture")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="creationDate")
|
94
|
+
def creation_date(self) -> str:
|
95
|
+
"""
|
96
|
+
Date of the image creation.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "creation_date")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="defaultBootscriptId")
|
102
|
+
def default_bootscript_id(self) -> str:
|
103
|
+
"""
|
104
|
+
ID of the default bootscript for this image.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "default_bootscript_id")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="fromServerId")
|
110
|
+
def from_server_id(self) -> str:
|
111
|
+
"""
|
112
|
+
ID of the server the image if based from.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "from_server_id")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def id(self) -> str:
|
119
|
+
"""
|
120
|
+
The provider-assigned unique ID for this managed resource.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "id")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="imageId")
|
126
|
+
def image_id(self) -> Optional[str]:
|
127
|
+
return pulumi.get(self, "image_id")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def latest(self) -> Optional[bool]:
|
132
|
+
return pulumi.get(self, "latest")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="modificationDate")
|
136
|
+
def modification_date(self) -> str:
|
137
|
+
"""
|
138
|
+
Date of image latest update.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "modification_date")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter
|
144
|
+
def name(self) -> Optional[str]:
|
145
|
+
return pulumi.get(self, "name")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="organizationId")
|
149
|
+
def organization_id(self) -> str:
|
150
|
+
"""
|
151
|
+
The ID of the organization the image is associated with.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "organization_id")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="projectId")
|
157
|
+
def project_id(self) -> str:
|
158
|
+
"""
|
159
|
+
The ID of the project the image is associated with.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "project_id")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter
|
165
|
+
def public(self) -> bool:
|
166
|
+
"""
|
167
|
+
Set to `true` if the image is public.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "public")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="rootVolumeId")
|
173
|
+
def root_volume_id(self) -> str:
|
174
|
+
"""
|
175
|
+
ID of the root volume in this image.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "root_volume_id")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter
|
181
|
+
def state(self) -> str:
|
182
|
+
"""
|
183
|
+
State of the image. Possible values are: `available`, `creating` or `error`.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "state")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def zone(self) -> str:
|
190
|
+
return pulumi.get(self, "zone")
|
191
|
+
|
192
|
+
|
193
|
+
class AwaitableGetImageResult(GetImageResult):
|
194
|
+
# pylint: disable=using-constant-test
|
195
|
+
def __await__(self):
|
196
|
+
if False:
|
197
|
+
yield self
|
198
|
+
return GetImageResult(
|
199
|
+
additional_volume_ids=self.additional_volume_ids,
|
200
|
+
architecture=self.architecture,
|
201
|
+
creation_date=self.creation_date,
|
202
|
+
default_bootscript_id=self.default_bootscript_id,
|
203
|
+
from_server_id=self.from_server_id,
|
204
|
+
id=self.id,
|
205
|
+
image_id=self.image_id,
|
206
|
+
latest=self.latest,
|
207
|
+
modification_date=self.modification_date,
|
208
|
+
name=self.name,
|
209
|
+
organization_id=self.organization_id,
|
210
|
+
project_id=self.project_id,
|
211
|
+
public=self.public,
|
212
|
+
root_volume_id=self.root_volume_id,
|
213
|
+
state=self.state,
|
214
|
+
zone=self.zone)
|
215
|
+
|
216
|
+
|
217
|
+
def get_image(architecture: Optional[str] = None,
|
218
|
+
image_id: Optional[str] = None,
|
219
|
+
latest: Optional[bool] = None,
|
220
|
+
name: Optional[str] = None,
|
221
|
+
project_id: Optional[str] = None,
|
222
|
+
zone: Optional[str] = None,
|
223
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult:
|
224
|
+
"""
|
225
|
+
Gets information about an instance image.
|
226
|
+
|
227
|
+
|
228
|
+
:param str architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
229
|
+
:param str image_id: The image id. Only one of `name` and `image_id` should be specified.
|
230
|
+
:param bool latest: Use the latest image ID.
|
231
|
+
:param str name: The image name. Only one of `name` and `image_id` should be specified.
|
232
|
+
:param str project_id: The ID of the project the image is associated with.
|
233
|
+
:param str zone: `zone`) The zone in which the image exists.
|
234
|
+
"""
|
235
|
+
__args__ = dict()
|
236
|
+
__args__['architecture'] = architecture
|
237
|
+
__args__['imageId'] = image_id
|
238
|
+
__args__['latest'] = latest
|
239
|
+
__args__['name'] = name
|
240
|
+
__args__['projectId'] = project_id
|
241
|
+
__args__['zone'] = zone
|
242
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
243
|
+
__ret__ = pulumi.runtime.invoke('scaleway:instance/getImage:getImage', __args__, opts=opts, typ=GetImageResult).value
|
244
|
+
|
245
|
+
return AwaitableGetImageResult(
|
246
|
+
additional_volume_ids=pulumi.get(__ret__, 'additional_volume_ids'),
|
247
|
+
architecture=pulumi.get(__ret__, 'architecture'),
|
248
|
+
creation_date=pulumi.get(__ret__, 'creation_date'),
|
249
|
+
default_bootscript_id=pulumi.get(__ret__, 'default_bootscript_id'),
|
250
|
+
from_server_id=pulumi.get(__ret__, 'from_server_id'),
|
251
|
+
id=pulumi.get(__ret__, 'id'),
|
252
|
+
image_id=pulumi.get(__ret__, 'image_id'),
|
253
|
+
latest=pulumi.get(__ret__, 'latest'),
|
254
|
+
modification_date=pulumi.get(__ret__, 'modification_date'),
|
255
|
+
name=pulumi.get(__ret__, 'name'),
|
256
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
257
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
258
|
+
public=pulumi.get(__ret__, 'public'),
|
259
|
+
root_volume_id=pulumi.get(__ret__, 'root_volume_id'),
|
260
|
+
state=pulumi.get(__ret__, 'state'),
|
261
|
+
zone=pulumi.get(__ret__, 'zone'))
|
262
|
+
def get_image_output(architecture: Optional[pulumi.Input[Optional[str]]] = None,
|
263
|
+
image_id: Optional[pulumi.Input[Optional[str]]] = None,
|
264
|
+
latest: Optional[pulumi.Input[Optional[bool]]] = None,
|
265
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
266
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
267
|
+
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
268
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageResult]:
|
269
|
+
"""
|
270
|
+
Gets information about an instance image.
|
271
|
+
|
272
|
+
|
273
|
+
:param str architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
274
|
+
:param str image_id: The image id. Only one of `name` and `image_id` should be specified.
|
275
|
+
:param bool latest: Use the latest image ID.
|
276
|
+
:param str name: The image name. Only one of `name` and `image_id` should be specified.
|
277
|
+
:param str project_id: The ID of the project the image is associated with.
|
278
|
+
:param str zone: `zone`) The zone in which the image exists.
|
279
|
+
"""
|
280
|
+
__args__ = dict()
|
281
|
+
__args__['architecture'] = architecture
|
282
|
+
__args__['imageId'] = image_id
|
283
|
+
__args__['latest'] = latest
|
284
|
+
__args__['name'] = name
|
285
|
+
__args__['projectId'] = project_id
|
286
|
+
__args__['zone'] = zone
|
287
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
288
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:instance/getImage:getImage', __args__, opts=opts, typ=GetImageResult)
|
289
|
+
return __ret__.apply(lambda __response__: GetImageResult(
|
290
|
+
additional_volume_ids=pulumi.get(__response__, 'additional_volume_ids'),
|
291
|
+
architecture=pulumi.get(__response__, 'architecture'),
|
292
|
+
creation_date=pulumi.get(__response__, 'creation_date'),
|
293
|
+
default_bootscript_id=pulumi.get(__response__, 'default_bootscript_id'),
|
294
|
+
from_server_id=pulumi.get(__response__, 'from_server_id'),
|
295
|
+
id=pulumi.get(__response__, 'id'),
|
296
|
+
image_id=pulumi.get(__response__, 'image_id'),
|
297
|
+
latest=pulumi.get(__response__, 'latest'),
|
298
|
+
modification_date=pulumi.get(__response__, 'modification_date'),
|
299
|
+
name=pulumi.get(__response__, 'name'),
|
300
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
301
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
302
|
+
public=pulumi.get(__response__, 'public'),
|
303
|
+
root_volume_id=pulumi.get(__response__, 'root_volume_id'),
|
304
|
+
state=pulumi.get(__response__, 'state'),
|
305
|
+
zone=pulumi.get(__response__, 'zone')))
|
@@ -0,0 +1,204 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetIpResult',
|
19
|
+
'AwaitableGetIpResult',
|
20
|
+
'get_ip',
|
21
|
+
'get_ip_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetIpResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getIp.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, address=None, id=None, organization_id=None, prefix=None, project_id=None, reverse=None, server_id=None, tags=None, type=None, zone=None):
|
30
|
+
if address and not isinstance(address, str):
|
31
|
+
raise TypeError("Expected argument 'address' to be a str")
|
32
|
+
pulumi.set(__self__, "address", address)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if organization_id and not isinstance(organization_id, str):
|
37
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
38
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
39
|
+
if prefix and not isinstance(prefix, str):
|
40
|
+
raise TypeError("Expected argument 'prefix' to be a str")
|
41
|
+
pulumi.set(__self__, "prefix", prefix)
|
42
|
+
if project_id and not isinstance(project_id, str):
|
43
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
44
|
+
pulumi.set(__self__, "project_id", project_id)
|
45
|
+
if reverse and not isinstance(reverse, str):
|
46
|
+
raise TypeError("Expected argument 'reverse' to be a str")
|
47
|
+
pulumi.set(__self__, "reverse", reverse)
|
48
|
+
if server_id and not isinstance(server_id, str):
|
49
|
+
raise TypeError("Expected argument 'server_id' to be a str")
|
50
|
+
pulumi.set(__self__, "server_id", server_id)
|
51
|
+
if tags and not isinstance(tags, list):
|
52
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
53
|
+
pulumi.set(__self__, "tags", tags)
|
54
|
+
if type and not isinstance(type, str):
|
55
|
+
raise TypeError("Expected argument 'type' to be a str")
|
56
|
+
pulumi.set(__self__, "type", type)
|
57
|
+
if zone and not isinstance(zone, str):
|
58
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
59
|
+
pulumi.set(__self__, "zone", zone)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter
|
63
|
+
def address(self) -> Optional[str]:
|
64
|
+
"""
|
65
|
+
The IP address.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "address")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter
|
71
|
+
def id(self) -> Optional[str]:
|
72
|
+
"""
|
73
|
+
The ID of the IP.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="organizationId")
|
79
|
+
def organization_id(self) -> str:
|
80
|
+
"""
|
81
|
+
The organization ID the IP is associated with.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "organization_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def prefix(self) -> str:
|
88
|
+
"""
|
89
|
+
The IP Prefix.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "prefix")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="projectId")
|
95
|
+
def project_id(self) -> str:
|
96
|
+
return pulumi.get(self, "project_id")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def reverse(self) -> str:
|
101
|
+
"""
|
102
|
+
The reverse dns attached to this IP
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "reverse")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="serverId")
|
108
|
+
def server_id(self) -> str:
|
109
|
+
return pulumi.get(self, "server_id")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def tags(self) -> Sequence[str]:
|
114
|
+
return pulumi.get(self, "tags")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def type(self) -> str:
|
119
|
+
"""
|
120
|
+
The type of the IP
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "type")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def zone(self) -> str:
|
127
|
+
return pulumi.get(self, "zone")
|
128
|
+
|
129
|
+
|
130
|
+
class AwaitableGetIpResult(GetIpResult):
|
131
|
+
# pylint: disable=using-constant-test
|
132
|
+
def __await__(self):
|
133
|
+
if False:
|
134
|
+
yield self
|
135
|
+
return GetIpResult(
|
136
|
+
address=self.address,
|
137
|
+
id=self.id,
|
138
|
+
organization_id=self.organization_id,
|
139
|
+
prefix=self.prefix,
|
140
|
+
project_id=self.project_id,
|
141
|
+
reverse=self.reverse,
|
142
|
+
server_id=self.server_id,
|
143
|
+
tags=self.tags,
|
144
|
+
type=self.type,
|
145
|
+
zone=self.zone)
|
146
|
+
|
147
|
+
|
148
|
+
def get_ip(address: Optional[str] = None,
|
149
|
+
id: Optional[str] = None,
|
150
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpResult:
|
151
|
+
"""
|
152
|
+
Gets information about an instance IP.
|
153
|
+
|
154
|
+
|
155
|
+
:param str address: The IPv4 address to retrieve
|
156
|
+
Only one of `address` and `id` should be specified.
|
157
|
+
:param str id: The ID of the IP address to retrieve
|
158
|
+
Only one of `address` and `id` should be specified.
|
159
|
+
"""
|
160
|
+
__args__ = dict()
|
161
|
+
__args__['address'] = address
|
162
|
+
__args__['id'] = id
|
163
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
164
|
+
__ret__ = pulumi.runtime.invoke('scaleway:instance/getIp:getIp', __args__, opts=opts, typ=GetIpResult).value
|
165
|
+
|
166
|
+
return AwaitableGetIpResult(
|
167
|
+
address=pulumi.get(__ret__, 'address'),
|
168
|
+
id=pulumi.get(__ret__, 'id'),
|
169
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
170
|
+
prefix=pulumi.get(__ret__, 'prefix'),
|
171
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
172
|
+
reverse=pulumi.get(__ret__, 'reverse'),
|
173
|
+
server_id=pulumi.get(__ret__, 'server_id'),
|
174
|
+
tags=pulumi.get(__ret__, 'tags'),
|
175
|
+
type=pulumi.get(__ret__, 'type'),
|
176
|
+
zone=pulumi.get(__ret__, 'zone'))
|
177
|
+
def get_ip_output(address: Optional[pulumi.Input[Optional[str]]] = None,
|
178
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
179
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpResult]:
|
180
|
+
"""
|
181
|
+
Gets information about an instance IP.
|
182
|
+
|
183
|
+
|
184
|
+
:param str address: The IPv4 address to retrieve
|
185
|
+
Only one of `address` and `id` should be specified.
|
186
|
+
:param str id: The ID of the IP address to retrieve
|
187
|
+
Only one of `address` and `id` should be specified.
|
188
|
+
"""
|
189
|
+
__args__ = dict()
|
190
|
+
__args__['address'] = address
|
191
|
+
__args__['id'] = id
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
193
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:instance/getIp:getIp', __args__, opts=opts, typ=GetIpResult)
|
194
|
+
return __ret__.apply(lambda __response__: GetIpResult(
|
195
|
+
address=pulumi.get(__response__, 'address'),
|
196
|
+
id=pulumi.get(__response__, 'id'),
|
197
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
198
|
+
prefix=pulumi.get(__response__, 'prefix'),
|
199
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
200
|
+
reverse=pulumi.get(__response__, 'reverse'),
|
201
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
202
|
+
tags=pulumi.get(__response__, 'tags'),
|
203
|
+
type=pulumi.get(__response__, 'type'),
|
204
|
+
zone=pulumi.get(__response__, 'zone')))
|