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,562 @@
|
|
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
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetContainerResult',
|
20
|
+
'AwaitableGetContainerResult',
|
21
|
+
'get_container',
|
22
|
+
'get_container_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetContainerResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getContainer.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, container_id=None, cpu_limit=None, cron_status=None, deploy=None, description=None, domain_name=None, environment_variables=None, error_message=None, health_checks=None, http_option=None, id=None, local_storage_limit=None, max_concurrency=None, max_scale=None, memory_limit=None, min_scale=None, name=None, namespace_id=None, port=None, privacy=None, project_id=None, protocol=None, region=None, registry_image=None, registry_sha256=None, sandbox=None, scaling_options=None, secret_environment_variables=None, status=None, timeout=None):
|
31
|
+
if container_id and not isinstance(container_id, str):
|
32
|
+
raise TypeError("Expected argument 'container_id' to be a str")
|
33
|
+
pulumi.set(__self__, "container_id", container_id)
|
34
|
+
if cpu_limit and not isinstance(cpu_limit, int):
|
35
|
+
raise TypeError("Expected argument 'cpu_limit' to be a int")
|
36
|
+
pulumi.set(__self__, "cpu_limit", cpu_limit)
|
37
|
+
if cron_status and not isinstance(cron_status, str):
|
38
|
+
raise TypeError("Expected argument 'cron_status' to be a str")
|
39
|
+
pulumi.set(__self__, "cron_status", cron_status)
|
40
|
+
if deploy and not isinstance(deploy, bool):
|
41
|
+
raise TypeError("Expected argument 'deploy' to be a bool")
|
42
|
+
pulumi.set(__self__, "deploy", deploy)
|
43
|
+
if description and not isinstance(description, str):
|
44
|
+
raise TypeError("Expected argument 'description' to be a str")
|
45
|
+
pulumi.set(__self__, "description", description)
|
46
|
+
if domain_name and not isinstance(domain_name, str):
|
47
|
+
raise TypeError("Expected argument 'domain_name' to be a str")
|
48
|
+
pulumi.set(__self__, "domain_name", domain_name)
|
49
|
+
if environment_variables and not isinstance(environment_variables, dict):
|
50
|
+
raise TypeError("Expected argument 'environment_variables' to be a dict")
|
51
|
+
pulumi.set(__self__, "environment_variables", environment_variables)
|
52
|
+
if error_message and not isinstance(error_message, str):
|
53
|
+
raise TypeError("Expected argument 'error_message' to be a str")
|
54
|
+
pulumi.set(__self__, "error_message", error_message)
|
55
|
+
if health_checks and not isinstance(health_checks, list):
|
56
|
+
raise TypeError("Expected argument 'health_checks' to be a list")
|
57
|
+
pulumi.set(__self__, "health_checks", health_checks)
|
58
|
+
if http_option and not isinstance(http_option, str):
|
59
|
+
raise TypeError("Expected argument 'http_option' to be a str")
|
60
|
+
pulumi.set(__self__, "http_option", http_option)
|
61
|
+
if id and not isinstance(id, str):
|
62
|
+
raise TypeError("Expected argument 'id' to be a str")
|
63
|
+
pulumi.set(__self__, "id", id)
|
64
|
+
if local_storage_limit and not isinstance(local_storage_limit, int):
|
65
|
+
raise TypeError("Expected argument 'local_storage_limit' to be a int")
|
66
|
+
pulumi.set(__self__, "local_storage_limit", local_storage_limit)
|
67
|
+
if max_concurrency and not isinstance(max_concurrency, int):
|
68
|
+
raise TypeError("Expected argument 'max_concurrency' to be a int")
|
69
|
+
pulumi.set(__self__, "max_concurrency", max_concurrency)
|
70
|
+
if max_scale and not isinstance(max_scale, int):
|
71
|
+
raise TypeError("Expected argument 'max_scale' to be a int")
|
72
|
+
pulumi.set(__self__, "max_scale", max_scale)
|
73
|
+
if memory_limit and not isinstance(memory_limit, int):
|
74
|
+
raise TypeError("Expected argument 'memory_limit' to be a int")
|
75
|
+
pulumi.set(__self__, "memory_limit", memory_limit)
|
76
|
+
if min_scale and not isinstance(min_scale, int):
|
77
|
+
raise TypeError("Expected argument 'min_scale' to be a int")
|
78
|
+
pulumi.set(__self__, "min_scale", min_scale)
|
79
|
+
if name and not isinstance(name, str):
|
80
|
+
raise TypeError("Expected argument 'name' to be a str")
|
81
|
+
pulumi.set(__self__, "name", name)
|
82
|
+
if namespace_id and not isinstance(namespace_id, str):
|
83
|
+
raise TypeError("Expected argument 'namespace_id' to be a str")
|
84
|
+
pulumi.set(__self__, "namespace_id", namespace_id)
|
85
|
+
if port and not isinstance(port, int):
|
86
|
+
raise TypeError("Expected argument 'port' to be a int")
|
87
|
+
pulumi.set(__self__, "port", port)
|
88
|
+
if privacy and not isinstance(privacy, str):
|
89
|
+
raise TypeError("Expected argument 'privacy' to be a str")
|
90
|
+
pulumi.set(__self__, "privacy", privacy)
|
91
|
+
if project_id and not isinstance(project_id, str):
|
92
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
93
|
+
pulumi.set(__self__, "project_id", project_id)
|
94
|
+
if protocol and not isinstance(protocol, str):
|
95
|
+
raise TypeError("Expected argument 'protocol' to be a str")
|
96
|
+
pulumi.set(__self__, "protocol", protocol)
|
97
|
+
if region and not isinstance(region, str):
|
98
|
+
raise TypeError("Expected argument 'region' to be a str")
|
99
|
+
pulumi.set(__self__, "region", region)
|
100
|
+
if registry_image and not isinstance(registry_image, str):
|
101
|
+
raise TypeError("Expected argument 'registry_image' to be a str")
|
102
|
+
pulumi.set(__self__, "registry_image", registry_image)
|
103
|
+
if registry_sha256 and not isinstance(registry_sha256, str):
|
104
|
+
raise TypeError("Expected argument 'registry_sha256' to be a str")
|
105
|
+
pulumi.set(__self__, "registry_sha256", registry_sha256)
|
106
|
+
if sandbox and not isinstance(sandbox, str):
|
107
|
+
raise TypeError("Expected argument 'sandbox' to be a str")
|
108
|
+
pulumi.set(__self__, "sandbox", sandbox)
|
109
|
+
if scaling_options and not isinstance(scaling_options, list):
|
110
|
+
raise TypeError("Expected argument 'scaling_options' to be a list")
|
111
|
+
pulumi.set(__self__, "scaling_options", scaling_options)
|
112
|
+
if secret_environment_variables and not isinstance(secret_environment_variables, dict):
|
113
|
+
raise TypeError("Expected argument 'secret_environment_variables' to be a dict")
|
114
|
+
pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
|
115
|
+
if status and not isinstance(status, str):
|
116
|
+
raise TypeError("Expected argument 'status' to be a str")
|
117
|
+
pulumi.set(__self__, "status", status)
|
118
|
+
if timeout and not isinstance(timeout, int):
|
119
|
+
raise TypeError("Expected argument 'timeout' to be a int")
|
120
|
+
pulumi.set(__self__, "timeout", timeout)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="containerId")
|
124
|
+
def container_id(self) -> Optional[str]:
|
125
|
+
return pulumi.get(self, "container_id")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="cpuLimit")
|
129
|
+
def cpu_limit(self) -> int:
|
130
|
+
"""
|
131
|
+
The amount of vCPU computing resources to allocate to each container.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "cpu_limit")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter(name="cronStatus")
|
137
|
+
def cron_status(self) -> str:
|
138
|
+
"""
|
139
|
+
The cron status of the container.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "cron_status")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def deploy(self) -> bool:
|
146
|
+
"""
|
147
|
+
Boolean indicating whether the container is on a production environment.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "deploy")
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter
|
153
|
+
def description(self) -> str:
|
154
|
+
"""
|
155
|
+
The description of the container.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "description")
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="domainName")
|
161
|
+
def domain_name(self) -> str:
|
162
|
+
"""
|
163
|
+
The container domain name.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "domain_name")
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="environmentVariables")
|
169
|
+
def environment_variables(self) -> Mapping[str, str]:
|
170
|
+
"""
|
171
|
+
The [environment](https://www.scaleway.com/en/docs/serverless-containers/concepts/#environment-variables) variables of the container.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "environment_variables")
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="errorMessage")
|
177
|
+
def error_message(self) -> str:
|
178
|
+
"""
|
179
|
+
The error message of the container.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "error_message")
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter(name="healthChecks")
|
185
|
+
def health_checks(self) -> Sequence['outputs.GetContainerHealthCheckResult']:
|
186
|
+
"""
|
187
|
+
Health check configuration block of the container.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "health_checks")
|
190
|
+
|
191
|
+
@property
|
192
|
+
@pulumi.getter(name="httpOption")
|
193
|
+
def http_option(self) -> str:
|
194
|
+
return pulumi.get(self, "http_option")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter
|
198
|
+
def id(self) -> str:
|
199
|
+
"""
|
200
|
+
The provider-assigned unique ID for this managed resource.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "id")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="localStorageLimit")
|
206
|
+
def local_storage_limit(self) -> int:
|
207
|
+
return pulumi.get(self, "local_storage_limit")
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="maxConcurrency")
|
211
|
+
def max_concurrency(self) -> int:
|
212
|
+
"""
|
213
|
+
The maximum number of simultaneous requests your container can handle at the same time.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "max_concurrency")
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="maxScale")
|
219
|
+
def max_scale(self) -> int:
|
220
|
+
"""
|
221
|
+
The maximum number of instances the container can scale to.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "max_scale")
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="memoryLimit")
|
227
|
+
def memory_limit(self) -> int:
|
228
|
+
"""
|
229
|
+
The memory resources in MB to allocate to each container.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "memory_limit")
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="minScale")
|
235
|
+
def min_scale(self) -> int:
|
236
|
+
"""
|
237
|
+
The minimum number of container instances running continuously.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "min_scale")
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter
|
243
|
+
def name(self) -> Optional[str]:
|
244
|
+
return pulumi.get(self, "name")
|
245
|
+
|
246
|
+
@property
|
247
|
+
@pulumi.getter(name="namespaceId")
|
248
|
+
def namespace_id(self) -> str:
|
249
|
+
return pulumi.get(self, "namespace_id")
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter
|
253
|
+
def port(self) -> int:
|
254
|
+
"""
|
255
|
+
The port to expose the container.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "port")
|
258
|
+
|
259
|
+
@property
|
260
|
+
@pulumi.getter
|
261
|
+
def privacy(self) -> str:
|
262
|
+
"""
|
263
|
+
The privacy type define the way to authenticate to your container. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) for more information.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "privacy")
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="projectId")
|
269
|
+
def project_id(self) -> Optional[str]:
|
270
|
+
return pulumi.get(self, "project_id")
|
271
|
+
|
272
|
+
@property
|
273
|
+
@pulumi.getter
|
274
|
+
def protocol(self) -> str:
|
275
|
+
"""
|
276
|
+
The communication [protocol](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) `http1` or `h2c`. Defaults to `http1`.
|
277
|
+
"""
|
278
|
+
return pulumi.get(self, "protocol")
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter
|
282
|
+
def region(self) -> Optional[str]:
|
283
|
+
"""
|
284
|
+
(Defaults to provider `region`) The region in which the container was created.
|
285
|
+
"""
|
286
|
+
return pulumi.get(self, "region")
|
287
|
+
|
288
|
+
@property
|
289
|
+
@pulumi.getter(name="registryImage")
|
290
|
+
def registry_image(self) -> str:
|
291
|
+
"""
|
292
|
+
The registry image address (e.g. `rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE`).
|
293
|
+
"""
|
294
|
+
return pulumi.get(self, "registry_image")
|
295
|
+
|
296
|
+
@property
|
297
|
+
@pulumi.getter(name="registrySha256")
|
298
|
+
def registry_sha256(self) -> str:
|
299
|
+
"""
|
300
|
+
The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
|
301
|
+
"""
|
302
|
+
return pulumi.get(self, "registry_sha256")
|
303
|
+
|
304
|
+
@property
|
305
|
+
@pulumi.getter
|
306
|
+
def sandbox(self) -> str:
|
307
|
+
"""
|
308
|
+
(Optional) Execution environment of the container.
|
309
|
+
"""
|
310
|
+
return pulumi.get(self, "sandbox")
|
311
|
+
|
312
|
+
@property
|
313
|
+
@pulumi.getter(name="scalingOptions")
|
314
|
+
def scaling_options(self) -> Sequence['outputs.GetContainerScalingOptionResult']:
|
315
|
+
"""
|
316
|
+
Configuration block used to decide when to scale up or down. Possible values:
|
317
|
+
"""
|
318
|
+
return pulumi.get(self, "scaling_options")
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="secretEnvironmentVariables")
|
322
|
+
def secret_environment_variables(self) -> Mapping[str, str]:
|
323
|
+
return pulumi.get(self, "secret_environment_variables")
|
324
|
+
|
325
|
+
@property
|
326
|
+
@pulumi.getter
|
327
|
+
def status(self) -> str:
|
328
|
+
"""
|
329
|
+
The container status.
|
330
|
+
"""
|
331
|
+
return pulumi.get(self, "status")
|
332
|
+
|
333
|
+
@property
|
334
|
+
@pulumi.getter
|
335
|
+
def timeout(self) -> int:
|
336
|
+
"""
|
337
|
+
The maximum amount of time your container can spend processing a request before being stopped.
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "timeout")
|
340
|
+
|
341
|
+
|
342
|
+
class AwaitableGetContainerResult(GetContainerResult):
|
343
|
+
# pylint: disable=using-constant-test
|
344
|
+
def __await__(self):
|
345
|
+
if False:
|
346
|
+
yield self
|
347
|
+
return GetContainerResult(
|
348
|
+
container_id=self.container_id,
|
349
|
+
cpu_limit=self.cpu_limit,
|
350
|
+
cron_status=self.cron_status,
|
351
|
+
deploy=self.deploy,
|
352
|
+
description=self.description,
|
353
|
+
domain_name=self.domain_name,
|
354
|
+
environment_variables=self.environment_variables,
|
355
|
+
error_message=self.error_message,
|
356
|
+
health_checks=self.health_checks,
|
357
|
+
http_option=self.http_option,
|
358
|
+
id=self.id,
|
359
|
+
local_storage_limit=self.local_storage_limit,
|
360
|
+
max_concurrency=self.max_concurrency,
|
361
|
+
max_scale=self.max_scale,
|
362
|
+
memory_limit=self.memory_limit,
|
363
|
+
min_scale=self.min_scale,
|
364
|
+
name=self.name,
|
365
|
+
namespace_id=self.namespace_id,
|
366
|
+
port=self.port,
|
367
|
+
privacy=self.privacy,
|
368
|
+
project_id=self.project_id,
|
369
|
+
protocol=self.protocol,
|
370
|
+
region=self.region,
|
371
|
+
registry_image=self.registry_image,
|
372
|
+
registry_sha256=self.registry_sha256,
|
373
|
+
sandbox=self.sandbox,
|
374
|
+
scaling_options=self.scaling_options,
|
375
|
+
secret_environment_variables=self.secret_environment_variables,
|
376
|
+
status=self.status,
|
377
|
+
timeout=self.timeout)
|
378
|
+
|
379
|
+
|
380
|
+
def get_container(container_id: Optional[str] = None,
|
381
|
+
name: Optional[str] = None,
|
382
|
+
namespace_id: Optional[str] = None,
|
383
|
+
project_id: Optional[str] = None,
|
384
|
+
region: Optional[str] = None,
|
385
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContainerResult:
|
386
|
+
"""
|
387
|
+
The `containers.Container` data source is used to retrieve information about a Serverless Container.
|
388
|
+
|
389
|
+
Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
|
390
|
+
|
391
|
+
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).
|
392
|
+
|
393
|
+
## Retrieve a Serverless Container
|
394
|
+
|
395
|
+
The following commands allow you to:
|
396
|
+
|
397
|
+
- retrieve a container by its name
|
398
|
+
- retrieve a container by its ID
|
399
|
+
|
400
|
+
```python
|
401
|
+
import pulumi
|
402
|
+
import pulumi_scaleway as scaleway
|
403
|
+
import pulumiverse_scaleway as scaleway
|
404
|
+
|
405
|
+
main = scaleway.containers.Namespace("main")
|
406
|
+
main_container = scaleway.containers.Container("main",
|
407
|
+
name="test-container-data",
|
408
|
+
namespace_id=main.id)
|
409
|
+
# Get info by container name
|
410
|
+
by_name = scaleway.containers.get_container_output(namespace_id=main.id,
|
411
|
+
name=main_container.name)
|
412
|
+
# Get info by container ID
|
413
|
+
by_id = scaleway.containers.get_container_output(namespace_id=main.id,
|
414
|
+
container_id=main_container.id)
|
415
|
+
```
|
416
|
+
|
417
|
+
## Arguments reference
|
418
|
+
|
419
|
+
This section lists the arguments that you can provide to the `containers.Container` data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
|
420
|
+
|
421
|
+
- `name` - (Required) The unique name of the container.
|
422
|
+
|
423
|
+
- `namespace_id` - (Required) The container namespace ID of the container.
|
424
|
+
|
425
|
+
- `project_id` - (Optional) The unique identifier of the project with which the container is associated.
|
426
|
+
|
427
|
+
> **Important** Updating the `name` argument will recreate the container.
|
428
|
+
|
429
|
+
|
430
|
+
:param str region: (Defaults to provider `region`) The region in which the container was created.
|
431
|
+
"""
|
432
|
+
__args__ = dict()
|
433
|
+
__args__['containerId'] = container_id
|
434
|
+
__args__['name'] = name
|
435
|
+
__args__['namespaceId'] = namespace_id
|
436
|
+
__args__['projectId'] = project_id
|
437
|
+
__args__['region'] = region
|
438
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
439
|
+
__ret__ = pulumi.runtime.invoke('scaleway:containers/getContainer:getContainer', __args__, opts=opts, typ=GetContainerResult).value
|
440
|
+
|
441
|
+
return AwaitableGetContainerResult(
|
442
|
+
container_id=pulumi.get(__ret__, 'container_id'),
|
443
|
+
cpu_limit=pulumi.get(__ret__, 'cpu_limit'),
|
444
|
+
cron_status=pulumi.get(__ret__, 'cron_status'),
|
445
|
+
deploy=pulumi.get(__ret__, 'deploy'),
|
446
|
+
description=pulumi.get(__ret__, 'description'),
|
447
|
+
domain_name=pulumi.get(__ret__, 'domain_name'),
|
448
|
+
environment_variables=pulumi.get(__ret__, 'environment_variables'),
|
449
|
+
error_message=pulumi.get(__ret__, 'error_message'),
|
450
|
+
health_checks=pulumi.get(__ret__, 'health_checks'),
|
451
|
+
http_option=pulumi.get(__ret__, 'http_option'),
|
452
|
+
id=pulumi.get(__ret__, 'id'),
|
453
|
+
local_storage_limit=pulumi.get(__ret__, 'local_storage_limit'),
|
454
|
+
max_concurrency=pulumi.get(__ret__, 'max_concurrency'),
|
455
|
+
max_scale=pulumi.get(__ret__, 'max_scale'),
|
456
|
+
memory_limit=pulumi.get(__ret__, 'memory_limit'),
|
457
|
+
min_scale=pulumi.get(__ret__, 'min_scale'),
|
458
|
+
name=pulumi.get(__ret__, 'name'),
|
459
|
+
namespace_id=pulumi.get(__ret__, 'namespace_id'),
|
460
|
+
port=pulumi.get(__ret__, 'port'),
|
461
|
+
privacy=pulumi.get(__ret__, 'privacy'),
|
462
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
463
|
+
protocol=pulumi.get(__ret__, 'protocol'),
|
464
|
+
region=pulumi.get(__ret__, 'region'),
|
465
|
+
registry_image=pulumi.get(__ret__, 'registry_image'),
|
466
|
+
registry_sha256=pulumi.get(__ret__, 'registry_sha256'),
|
467
|
+
sandbox=pulumi.get(__ret__, 'sandbox'),
|
468
|
+
scaling_options=pulumi.get(__ret__, 'scaling_options'),
|
469
|
+
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'),
|
470
|
+
status=pulumi.get(__ret__, 'status'),
|
471
|
+
timeout=pulumi.get(__ret__, 'timeout'))
|
472
|
+
def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = None,
|
473
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
474
|
+
namespace_id: Optional[pulumi.Input[str]] = None,
|
475
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
476
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
477
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainerResult]:
|
478
|
+
"""
|
479
|
+
The `containers.Container` data source is used to retrieve information about a Serverless Container.
|
480
|
+
|
481
|
+
Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
|
482
|
+
|
483
|
+
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).
|
484
|
+
|
485
|
+
## Retrieve a Serverless Container
|
486
|
+
|
487
|
+
The following commands allow you to:
|
488
|
+
|
489
|
+
- retrieve a container by its name
|
490
|
+
- retrieve a container by its ID
|
491
|
+
|
492
|
+
```python
|
493
|
+
import pulumi
|
494
|
+
import pulumi_scaleway as scaleway
|
495
|
+
import pulumiverse_scaleway as scaleway
|
496
|
+
|
497
|
+
main = scaleway.containers.Namespace("main")
|
498
|
+
main_container = scaleway.containers.Container("main",
|
499
|
+
name="test-container-data",
|
500
|
+
namespace_id=main.id)
|
501
|
+
# Get info by container name
|
502
|
+
by_name = scaleway.containers.get_container_output(namespace_id=main.id,
|
503
|
+
name=main_container.name)
|
504
|
+
# Get info by container ID
|
505
|
+
by_id = scaleway.containers.get_container_output(namespace_id=main.id,
|
506
|
+
container_id=main_container.id)
|
507
|
+
```
|
508
|
+
|
509
|
+
## Arguments reference
|
510
|
+
|
511
|
+
This section lists the arguments that you can provide to the `containers.Container` data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
|
512
|
+
|
513
|
+
- `name` - (Required) The unique name of the container.
|
514
|
+
|
515
|
+
- `namespace_id` - (Required) The container namespace ID of the container.
|
516
|
+
|
517
|
+
- `project_id` - (Optional) The unique identifier of the project with which the container is associated.
|
518
|
+
|
519
|
+
> **Important** Updating the `name` argument will recreate the container.
|
520
|
+
|
521
|
+
|
522
|
+
:param str region: (Defaults to provider `region`) The region in which the container was created.
|
523
|
+
"""
|
524
|
+
__args__ = dict()
|
525
|
+
__args__['containerId'] = container_id
|
526
|
+
__args__['name'] = name
|
527
|
+
__args__['namespaceId'] = namespace_id
|
528
|
+
__args__['projectId'] = project_id
|
529
|
+
__args__['region'] = region
|
530
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
531
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:containers/getContainer:getContainer', __args__, opts=opts, typ=GetContainerResult)
|
532
|
+
return __ret__.apply(lambda __response__: GetContainerResult(
|
533
|
+
container_id=pulumi.get(__response__, 'container_id'),
|
534
|
+
cpu_limit=pulumi.get(__response__, 'cpu_limit'),
|
535
|
+
cron_status=pulumi.get(__response__, 'cron_status'),
|
536
|
+
deploy=pulumi.get(__response__, 'deploy'),
|
537
|
+
description=pulumi.get(__response__, 'description'),
|
538
|
+
domain_name=pulumi.get(__response__, 'domain_name'),
|
539
|
+
environment_variables=pulumi.get(__response__, 'environment_variables'),
|
540
|
+
error_message=pulumi.get(__response__, 'error_message'),
|
541
|
+
health_checks=pulumi.get(__response__, 'health_checks'),
|
542
|
+
http_option=pulumi.get(__response__, 'http_option'),
|
543
|
+
id=pulumi.get(__response__, 'id'),
|
544
|
+
local_storage_limit=pulumi.get(__response__, 'local_storage_limit'),
|
545
|
+
max_concurrency=pulumi.get(__response__, 'max_concurrency'),
|
546
|
+
max_scale=pulumi.get(__response__, 'max_scale'),
|
547
|
+
memory_limit=pulumi.get(__response__, 'memory_limit'),
|
548
|
+
min_scale=pulumi.get(__response__, 'min_scale'),
|
549
|
+
name=pulumi.get(__response__, 'name'),
|
550
|
+
namespace_id=pulumi.get(__response__, 'namespace_id'),
|
551
|
+
port=pulumi.get(__response__, 'port'),
|
552
|
+
privacy=pulumi.get(__response__, 'privacy'),
|
553
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
554
|
+
protocol=pulumi.get(__response__, 'protocol'),
|
555
|
+
region=pulumi.get(__response__, 'region'),
|
556
|
+
registry_image=pulumi.get(__response__, 'registry_image'),
|
557
|
+
registry_sha256=pulumi.get(__response__, 'registry_sha256'),
|
558
|
+
sandbox=pulumi.get(__response__, 'sandbox'),
|
559
|
+
scaling_options=pulumi.get(__response__, 'scaling_options'),
|
560
|
+
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables'),
|
561
|
+
status=pulumi.get(__response__, 'status'),
|
562
|
+
timeout=pulumi.get(__response__, 'timeout')))
|