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
@@ -0,0 +1,288 @@
|
|
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
|
+
'GetConsumptionsConsumptionResult',
|
19
|
+
'GetInvoicesInvoiceResult',
|
20
|
+
]
|
21
|
+
|
22
|
+
@pulumi.output_type
|
23
|
+
class GetConsumptionsConsumptionResult(dict):
|
24
|
+
def __init__(__self__, *,
|
25
|
+
billed_quantity: str,
|
26
|
+
category_name: str,
|
27
|
+
product_name: str,
|
28
|
+
project_id: str,
|
29
|
+
sku: str,
|
30
|
+
unit: str,
|
31
|
+
value: str):
|
32
|
+
"""
|
33
|
+
:param str billed_quantity: The consumed quantity.
|
34
|
+
:param str category_name: The name of the consumption category.
|
35
|
+
:param str product_name: The product name.
|
36
|
+
:param str project_id: `project_id`) The ID of the project the consumption list is associated with.
|
37
|
+
:param str sku: The unique identifier of the product.
|
38
|
+
:param str unit: The unit of consumed quantity.
|
39
|
+
:param str value: The monetary value of the consumption.
|
40
|
+
"""
|
41
|
+
pulumi.set(__self__, "billed_quantity", billed_quantity)
|
42
|
+
pulumi.set(__self__, "category_name", category_name)
|
43
|
+
pulumi.set(__self__, "product_name", product_name)
|
44
|
+
pulumi.set(__self__, "project_id", project_id)
|
45
|
+
pulumi.set(__self__, "sku", sku)
|
46
|
+
pulumi.set(__self__, "unit", unit)
|
47
|
+
pulumi.set(__self__, "value", value)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="billedQuantity")
|
51
|
+
def billed_quantity(self) -> str:
|
52
|
+
"""
|
53
|
+
The consumed quantity.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "billed_quantity")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="categoryName")
|
59
|
+
def category_name(self) -> str:
|
60
|
+
"""
|
61
|
+
The name of the consumption category.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "category_name")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="productName")
|
67
|
+
def product_name(self) -> str:
|
68
|
+
"""
|
69
|
+
The product name.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "product_name")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="projectId")
|
75
|
+
def project_id(self) -> str:
|
76
|
+
"""
|
77
|
+
`project_id`) The ID of the project the consumption list is associated with.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "project_id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def sku(self) -> str:
|
84
|
+
"""
|
85
|
+
The unique identifier of the product.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "sku")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def unit(self) -> str:
|
92
|
+
"""
|
93
|
+
The unit of consumed quantity.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "unit")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def value(self) -> str:
|
100
|
+
"""
|
101
|
+
The monetary value of the consumption.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "value")
|
104
|
+
|
105
|
+
|
106
|
+
@pulumi.output_type
|
107
|
+
class GetInvoicesInvoiceResult(dict):
|
108
|
+
def __init__(__self__, *,
|
109
|
+
billing_period: str,
|
110
|
+
due_date: str,
|
111
|
+
id: str,
|
112
|
+
invoice_type: str,
|
113
|
+
issued_date: str,
|
114
|
+
number: int,
|
115
|
+
organization_name: str,
|
116
|
+
seller_name: str,
|
117
|
+
start_date: str,
|
118
|
+
state: str,
|
119
|
+
stop_date: str,
|
120
|
+
total_discount: str,
|
121
|
+
total_tax: str,
|
122
|
+
total_taxed: str,
|
123
|
+
total_undiscount: str,
|
124
|
+
total_untaxed: str):
|
125
|
+
"""
|
126
|
+
:param str billing_period: The billing period of the invoice in the YYYY-MM format.
|
127
|
+
:param str due_date: The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
|
128
|
+
:param str id: The associated invoice ID.
|
129
|
+
:param str invoice_type: Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
|
130
|
+
:param str issued_date: The date when the invoice was sent to the customer (RFC 3339 format).
|
131
|
+
:param int number: The invoice number.
|
132
|
+
:param str organization_name: The organization name.
|
133
|
+
:param str seller_name: The name of the seller (Scaleway).
|
134
|
+
:param str start_date: The start date of the billing period (RFC 3339 format).
|
135
|
+
:param str state: The state of the invoice.
|
136
|
+
:param str stop_date: The end date of the billing period (RFC 3339 format).
|
137
|
+
:param str total_discount: The total discount amount of the invoice.
|
138
|
+
:param str total_tax: The total tax amount of the invoice.
|
139
|
+
:param str total_taxed: The total amount, taxed.
|
140
|
+
:param str total_undiscount: The total amount of the invoice before applying the discount.
|
141
|
+
:param str total_untaxed: The total amount, untaxed.
|
142
|
+
"""
|
143
|
+
pulumi.set(__self__, "billing_period", billing_period)
|
144
|
+
pulumi.set(__self__, "due_date", due_date)
|
145
|
+
pulumi.set(__self__, "id", id)
|
146
|
+
pulumi.set(__self__, "invoice_type", invoice_type)
|
147
|
+
pulumi.set(__self__, "issued_date", issued_date)
|
148
|
+
pulumi.set(__self__, "number", number)
|
149
|
+
pulumi.set(__self__, "organization_name", organization_name)
|
150
|
+
pulumi.set(__self__, "seller_name", seller_name)
|
151
|
+
pulumi.set(__self__, "start_date", start_date)
|
152
|
+
pulumi.set(__self__, "state", state)
|
153
|
+
pulumi.set(__self__, "stop_date", stop_date)
|
154
|
+
pulumi.set(__self__, "total_discount", total_discount)
|
155
|
+
pulumi.set(__self__, "total_tax", total_tax)
|
156
|
+
pulumi.set(__self__, "total_taxed", total_taxed)
|
157
|
+
pulumi.set(__self__, "total_undiscount", total_undiscount)
|
158
|
+
pulumi.set(__self__, "total_untaxed", total_untaxed)
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="billingPeriod")
|
162
|
+
def billing_period(self) -> str:
|
163
|
+
"""
|
164
|
+
The billing period of the invoice in the YYYY-MM format.
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "billing_period")
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="dueDate")
|
170
|
+
def due_date(self) -> str:
|
171
|
+
"""
|
172
|
+
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "due_date")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def id(self) -> str:
|
179
|
+
"""
|
180
|
+
The associated invoice ID.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "id")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter(name="invoiceType")
|
186
|
+
def invoice_type(self) -> str:
|
187
|
+
"""
|
188
|
+
Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "invoice_type")
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="issuedDate")
|
194
|
+
def issued_date(self) -> str:
|
195
|
+
"""
|
196
|
+
The date when the invoice was sent to the customer (RFC 3339 format).
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "issued_date")
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter
|
202
|
+
def number(self) -> int:
|
203
|
+
"""
|
204
|
+
The invoice number.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "number")
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="organizationName")
|
210
|
+
def organization_name(self) -> str:
|
211
|
+
"""
|
212
|
+
The organization name.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "organization_name")
|
215
|
+
|
216
|
+
@property
|
217
|
+
@pulumi.getter(name="sellerName")
|
218
|
+
def seller_name(self) -> str:
|
219
|
+
"""
|
220
|
+
The name of the seller (Scaleway).
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "seller_name")
|
223
|
+
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="startDate")
|
226
|
+
def start_date(self) -> str:
|
227
|
+
"""
|
228
|
+
The start date of the billing period (RFC 3339 format).
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "start_date")
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter
|
234
|
+
def state(self) -> str:
|
235
|
+
"""
|
236
|
+
The state of the invoice.
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "state")
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter(name="stopDate")
|
242
|
+
def stop_date(self) -> str:
|
243
|
+
"""
|
244
|
+
The end date of the billing period (RFC 3339 format).
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "stop_date")
|
247
|
+
|
248
|
+
@property
|
249
|
+
@pulumi.getter(name="totalDiscount")
|
250
|
+
def total_discount(self) -> str:
|
251
|
+
"""
|
252
|
+
The total discount amount of the invoice.
|
253
|
+
"""
|
254
|
+
return pulumi.get(self, "total_discount")
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="totalTax")
|
258
|
+
def total_tax(self) -> str:
|
259
|
+
"""
|
260
|
+
The total tax amount of the invoice.
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "total_tax")
|
263
|
+
|
264
|
+
@property
|
265
|
+
@pulumi.getter(name="totalTaxed")
|
266
|
+
def total_taxed(self) -> str:
|
267
|
+
"""
|
268
|
+
The total amount, taxed.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "total_taxed")
|
271
|
+
|
272
|
+
@property
|
273
|
+
@pulumi.getter(name="totalUndiscount")
|
274
|
+
def total_undiscount(self) -> str:
|
275
|
+
"""
|
276
|
+
The total amount of the invoice before applying the discount.
|
277
|
+
"""
|
278
|
+
return pulumi.get(self, "total_undiscount")
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter(name="totalUntaxed")
|
282
|
+
def total_untaxed(self) -> str:
|
283
|
+
"""
|
284
|
+
The total amount, untaxed.
|
285
|
+
"""
|
286
|
+
return pulumi.get(self, "total_untaxed")
|
287
|
+
|
288
|
+
|
@@ -0,0 +1,11 @@
|
|
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
|
+
from .. import _utilities
|
6
|
+
import typing
|
7
|
+
# Export this package's modules as members:
|
8
|
+
from .get_snapshot import *
|
9
|
+
from .get_volume import *
|
10
|
+
from .snapshot import *
|
11
|
+
from .volume import *
|
@@ -0,0 +1,174 @@
|
|
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
|
+
'GetSnapshotResult',
|
19
|
+
'AwaitableGetSnapshotResult',
|
20
|
+
'get_snapshot',
|
21
|
+
'get_snapshot_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetSnapshotResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getSnapshot.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, id=None, name=None, project_id=None, snapshot_id=None, tags=None, volume_id=None, zone=None):
|
30
|
+
if id and not isinstance(id, str):
|
31
|
+
raise TypeError("Expected argument 'id' to be a str")
|
32
|
+
pulumi.set(__self__, "id", id)
|
33
|
+
if name and not isinstance(name, str):
|
34
|
+
raise TypeError("Expected argument 'name' to be a str")
|
35
|
+
pulumi.set(__self__, "name", name)
|
36
|
+
if project_id and not isinstance(project_id, str):
|
37
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
38
|
+
pulumi.set(__self__, "project_id", project_id)
|
39
|
+
if snapshot_id and not isinstance(snapshot_id, str):
|
40
|
+
raise TypeError("Expected argument 'snapshot_id' to be a str")
|
41
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
42
|
+
if tags and not isinstance(tags, list):
|
43
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
44
|
+
pulumi.set(__self__, "tags", tags)
|
45
|
+
if volume_id and not isinstance(volume_id, str):
|
46
|
+
raise TypeError("Expected argument 'volume_id' to be a str")
|
47
|
+
pulumi.set(__self__, "volume_id", volume_id)
|
48
|
+
if zone and not isinstance(zone, str):
|
49
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
50
|
+
pulumi.set(__self__, "zone", zone)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def id(self) -> str:
|
55
|
+
"""
|
56
|
+
The provider-assigned unique ID for this managed resource.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def name(self) -> Optional[str]:
|
63
|
+
return pulumi.get(self, "name")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="projectId")
|
67
|
+
def project_id(self) -> Optional[str]:
|
68
|
+
return pulumi.get(self, "project_id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="snapshotId")
|
72
|
+
def snapshot_id(self) -> Optional[str]:
|
73
|
+
return pulumi.get(self, "snapshot_id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def tags(self) -> Sequence[str]:
|
78
|
+
return pulumi.get(self, "tags")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="volumeId")
|
82
|
+
def volume_id(self) -> Optional[str]:
|
83
|
+
return pulumi.get(self, "volume_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def zone(self) -> Optional[str]:
|
88
|
+
return pulumi.get(self, "zone")
|
89
|
+
|
90
|
+
|
91
|
+
class AwaitableGetSnapshotResult(GetSnapshotResult):
|
92
|
+
# pylint: disable=using-constant-test
|
93
|
+
def __await__(self):
|
94
|
+
if False:
|
95
|
+
yield self
|
96
|
+
return GetSnapshotResult(
|
97
|
+
id=self.id,
|
98
|
+
name=self.name,
|
99
|
+
project_id=self.project_id,
|
100
|
+
snapshot_id=self.snapshot_id,
|
101
|
+
tags=self.tags,
|
102
|
+
volume_id=self.volume_id,
|
103
|
+
zone=self.zone)
|
104
|
+
|
105
|
+
|
106
|
+
def get_snapshot(name: Optional[str] = None,
|
107
|
+
project_id: Optional[str] = None,
|
108
|
+
snapshot_id: Optional[str] = None,
|
109
|
+
volume_id: Optional[str] = None,
|
110
|
+
zone: Optional[str] = None,
|
111
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSnapshotResult:
|
112
|
+
"""
|
113
|
+
The `block.Snapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
114
|
+
|
115
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
116
|
+
|
117
|
+
|
118
|
+
:param str name: The name of the snapshot. Only one of name or snapshot_id should be specified.
|
119
|
+
:param str project_id: The unique identifier of the Project to which the snapshot is associated.
|
120
|
+
:param str snapshot_id: The unique identifier of the snapshot. Only one of `name` and `snapshot_id` should be specified.
|
121
|
+
:param str volume_id: The unique identifier of the volume from which the snapshot was created.
|
122
|
+
:param str zone: ) The zone in which the snapshot exists.
|
123
|
+
"""
|
124
|
+
__args__ = dict()
|
125
|
+
__args__['name'] = name
|
126
|
+
__args__['projectId'] = project_id
|
127
|
+
__args__['snapshotId'] = snapshot_id
|
128
|
+
__args__['volumeId'] = volume_id
|
129
|
+
__args__['zone'] = zone
|
130
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
131
|
+
__ret__ = pulumi.runtime.invoke('scaleway:block/getSnapshot:getSnapshot', __args__, opts=opts, typ=GetSnapshotResult).value
|
132
|
+
|
133
|
+
return AwaitableGetSnapshotResult(
|
134
|
+
id=pulumi.get(__ret__, 'id'),
|
135
|
+
name=pulumi.get(__ret__, 'name'),
|
136
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
137
|
+
snapshot_id=pulumi.get(__ret__, 'snapshot_id'),
|
138
|
+
tags=pulumi.get(__ret__, 'tags'),
|
139
|
+
volume_id=pulumi.get(__ret__, 'volume_id'),
|
140
|
+
zone=pulumi.get(__ret__, 'zone'))
|
141
|
+
def get_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
142
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
snapshot_id: Optional[pulumi.Input[Optional[str]]] = None,
|
144
|
+
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
145
|
+
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
146
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSnapshotResult]:
|
147
|
+
"""
|
148
|
+
The `block.Snapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
149
|
+
|
150
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
151
|
+
|
152
|
+
|
153
|
+
:param str name: The name of the snapshot. Only one of name or snapshot_id should be specified.
|
154
|
+
:param str project_id: The unique identifier of the Project to which the snapshot is associated.
|
155
|
+
:param str snapshot_id: The unique identifier of the snapshot. Only one of `name` and `snapshot_id` should be specified.
|
156
|
+
:param str volume_id: The unique identifier of the volume from which the snapshot was created.
|
157
|
+
:param str zone: ) The zone in which the snapshot exists.
|
158
|
+
"""
|
159
|
+
__args__ = dict()
|
160
|
+
__args__['name'] = name
|
161
|
+
__args__['projectId'] = project_id
|
162
|
+
__args__['snapshotId'] = snapshot_id
|
163
|
+
__args__['volumeId'] = volume_id
|
164
|
+
__args__['zone'] = zone
|
165
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
166
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:block/getSnapshot:getSnapshot', __args__, opts=opts, typ=GetSnapshotResult)
|
167
|
+
return __ret__.apply(lambda __response__: GetSnapshotResult(
|
168
|
+
id=pulumi.get(__response__, 'id'),
|
169
|
+
name=pulumi.get(__response__, 'name'),
|
170
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
171
|
+
snapshot_id=pulumi.get(__response__, 'snapshot_id'),
|
172
|
+
tags=pulumi.get(__response__, 'tags'),
|
173
|
+
volume_id=pulumi.get(__response__, 'volume_id'),
|
174
|
+
zone=pulumi.get(__response__, 'zone')))
|
@@ -0,0 +1,199 @@
|
|
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
|
+
'GetVolumeResult',
|
19
|
+
'AwaitableGetVolumeResult',
|
20
|
+
'get_volume',
|
21
|
+
'get_volume_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetVolumeResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getVolume.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, id=None, instance_volume_id=None, iops=None, name=None, project_id=None, size_in_gb=None, snapshot_id=None, tags=None, volume_id=None, zone=None):
|
30
|
+
if id and not isinstance(id, str):
|
31
|
+
raise TypeError("Expected argument 'id' to be a str")
|
32
|
+
pulumi.set(__self__, "id", id)
|
33
|
+
if instance_volume_id and not isinstance(instance_volume_id, str):
|
34
|
+
raise TypeError("Expected argument 'instance_volume_id' to be a str")
|
35
|
+
pulumi.set(__self__, "instance_volume_id", instance_volume_id)
|
36
|
+
if iops and not isinstance(iops, int):
|
37
|
+
raise TypeError("Expected argument 'iops' to be a int")
|
38
|
+
pulumi.set(__self__, "iops", iops)
|
39
|
+
if name and not isinstance(name, str):
|
40
|
+
raise TypeError("Expected argument 'name' to be a str")
|
41
|
+
pulumi.set(__self__, "name", name)
|
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 size_in_gb and not isinstance(size_in_gb, int):
|
46
|
+
raise TypeError("Expected argument 'size_in_gb' to be a int")
|
47
|
+
pulumi.set(__self__, "size_in_gb", size_in_gb)
|
48
|
+
if snapshot_id and not isinstance(snapshot_id, str):
|
49
|
+
raise TypeError("Expected argument 'snapshot_id' to be a str")
|
50
|
+
pulumi.set(__self__, "snapshot_id", snapshot_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 volume_id and not isinstance(volume_id, str):
|
55
|
+
raise TypeError("Expected argument 'volume_id' to be a str")
|
56
|
+
pulumi.set(__self__, "volume_id", volume_id)
|
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 id(self) -> str:
|
64
|
+
"""
|
65
|
+
The provider-assigned unique ID for this managed resource.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "id")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="instanceVolumeId")
|
71
|
+
def instance_volume_id(self) -> str:
|
72
|
+
return pulumi.get(self, "instance_volume_id")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def iops(self) -> int:
|
77
|
+
return pulumi.get(self, "iops")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def name(self) -> Optional[str]:
|
82
|
+
return pulumi.get(self, "name")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="projectId")
|
86
|
+
def project_id(self) -> Optional[str]:
|
87
|
+
return pulumi.get(self, "project_id")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="sizeInGb")
|
91
|
+
def size_in_gb(self) -> int:
|
92
|
+
return pulumi.get(self, "size_in_gb")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="snapshotId")
|
96
|
+
def snapshot_id(self) -> str:
|
97
|
+
return pulumi.get(self, "snapshot_id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def tags(self) -> Sequence[str]:
|
102
|
+
return pulumi.get(self, "tags")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="volumeId")
|
106
|
+
def volume_id(self) -> Optional[str]:
|
107
|
+
return pulumi.get(self, "volume_id")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def zone(self) -> Optional[str]:
|
112
|
+
return pulumi.get(self, "zone")
|
113
|
+
|
114
|
+
|
115
|
+
class AwaitableGetVolumeResult(GetVolumeResult):
|
116
|
+
# pylint: disable=using-constant-test
|
117
|
+
def __await__(self):
|
118
|
+
if False:
|
119
|
+
yield self
|
120
|
+
return GetVolumeResult(
|
121
|
+
id=self.id,
|
122
|
+
instance_volume_id=self.instance_volume_id,
|
123
|
+
iops=self.iops,
|
124
|
+
name=self.name,
|
125
|
+
project_id=self.project_id,
|
126
|
+
size_in_gb=self.size_in_gb,
|
127
|
+
snapshot_id=self.snapshot_id,
|
128
|
+
tags=self.tags,
|
129
|
+
volume_id=self.volume_id,
|
130
|
+
zone=self.zone)
|
131
|
+
|
132
|
+
|
133
|
+
def get_volume(name: Optional[str] = None,
|
134
|
+
project_id: Optional[str] = None,
|
135
|
+
volume_id: Optional[str] = None,
|
136
|
+
zone: Optional[str] = None,
|
137
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult:
|
138
|
+
"""
|
139
|
+
The `block.Volume` data source is used to retrieve information about a Block Storage volume.
|
140
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
141
|
+
|
142
|
+
|
143
|
+
:param str name: The name of the volume. Only one of `name` and `volume_id` should be specified.
|
144
|
+
:param str project_id: The unique identifier of the Project to which the volume is associated.
|
145
|
+
:param str volume_id: The unique identifier of the volume. Only one of `name` and `volume_id` should be specified.
|
146
|
+
:param str zone: ). The zone in which the volume exists.
|
147
|
+
"""
|
148
|
+
__args__ = dict()
|
149
|
+
__args__['name'] = name
|
150
|
+
__args__['projectId'] = project_id
|
151
|
+
__args__['volumeId'] = volume_id
|
152
|
+
__args__['zone'] = zone
|
153
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
154
|
+
__ret__ = pulumi.runtime.invoke('scaleway:block/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult).value
|
155
|
+
|
156
|
+
return AwaitableGetVolumeResult(
|
157
|
+
id=pulumi.get(__ret__, 'id'),
|
158
|
+
instance_volume_id=pulumi.get(__ret__, 'instance_volume_id'),
|
159
|
+
iops=pulumi.get(__ret__, 'iops'),
|
160
|
+
name=pulumi.get(__ret__, 'name'),
|
161
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
162
|
+
size_in_gb=pulumi.get(__ret__, 'size_in_gb'),
|
163
|
+
snapshot_id=pulumi.get(__ret__, 'snapshot_id'),
|
164
|
+
tags=pulumi.get(__ret__, 'tags'),
|
165
|
+
volume_id=pulumi.get(__ret__, 'volume_id'),
|
166
|
+
zone=pulumi.get(__ret__, 'zone'))
|
167
|
+
def get_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
168
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
169
|
+
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
170
|
+
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]:
|
172
|
+
"""
|
173
|
+
The `block.Volume` data source is used to retrieve information about a Block Storage volume.
|
174
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
175
|
+
|
176
|
+
|
177
|
+
:param str name: The name of the volume. Only one of `name` and `volume_id` should be specified.
|
178
|
+
:param str project_id: The unique identifier of the Project to which the volume is associated.
|
179
|
+
:param str volume_id: The unique identifier of the volume. Only one of `name` and `volume_id` should be specified.
|
180
|
+
:param str zone: ). The zone in which the volume exists.
|
181
|
+
"""
|
182
|
+
__args__ = dict()
|
183
|
+
__args__['name'] = name
|
184
|
+
__args__['projectId'] = project_id
|
185
|
+
__args__['volumeId'] = volume_id
|
186
|
+
__args__['zone'] = zone
|
187
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
188
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:block/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult)
|
189
|
+
return __ret__.apply(lambda __response__: GetVolumeResult(
|
190
|
+
id=pulumi.get(__response__, 'id'),
|
191
|
+
instance_volume_id=pulumi.get(__response__, 'instance_volume_id'),
|
192
|
+
iops=pulumi.get(__response__, 'iops'),
|
193
|
+
name=pulumi.get(__response__, 'name'),
|
194
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
195
|
+
size_in_gb=pulumi.get(__response__, 'size_in_gb'),
|
196
|
+
snapshot_id=pulumi.get(__response__, 'snapshot_id'),
|
197
|
+
tags=pulumi.get(__response__, 'tags'),
|
198
|
+
volume_id=pulumi.get(__response__, 'volume_id'),
|
199
|
+
zone=pulumi.get(__response__, 'zone')))
|