pulumiverse-scaleway 1.24.0a1741679978__py3-none-any.whl → 1.25.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 +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.24.0a1741679978.dist-info → pulumiverse_scaleway-1.25.0.dist-info}/METADATA +2 -2
- pulumiverse_scaleway-1.25.0.dist-info/RECORD +470 -0
- {pulumiverse_scaleway-1.24.0a1741679978.dist-info → pulumiverse_scaleway-1.25.0.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway-1.24.0a1741679978.dist-info/RECORD +0 -206
- {pulumiverse_scaleway-1.24.0a1741679978.dist-info → pulumiverse_scaleway-1.25.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1313 @@
|
|
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
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['PoolArgs', 'Pool']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class PoolArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
cluster_id: pulumi.Input[str],
|
25
|
+
node_type: pulumi.Input[str],
|
26
|
+
size: pulumi.Input[int],
|
27
|
+
autohealing: Optional[pulumi.Input[bool]] = None,
|
28
|
+
autoscaling: Optional[pulumi.Input[bool]] = None,
|
29
|
+
container_runtime: Optional[pulumi.Input[str]] = None,
|
30
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
31
|
+
max_size: Optional[pulumi.Input[int]] = None,
|
32
|
+
min_size: Optional[pulumi.Input[int]] = None,
|
33
|
+
name: Optional[pulumi.Input[str]] = None,
|
34
|
+
placement_group_id: Optional[pulumi.Input[str]] = None,
|
35
|
+
public_ip_disabled: Optional[pulumi.Input[bool]] = None,
|
36
|
+
region: Optional[pulumi.Input[str]] = None,
|
37
|
+
root_volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
38
|
+
root_volume_type: Optional[pulumi.Input[str]] = None,
|
39
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
40
|
+
upgrade_policy: Optional[pulumi.Input['PoolUpgradePolicyArgs']] = None,
|
41
|
+
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
|
42
|
+
zone: Optional[pulumi.Input[str]] = None):
|
43
|
+
"""
|
44
|
+
The set of arguments for constructing a Pool resource.
|
45
|
+
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
46
|
+
:param pulumi.Input[str] node_type: The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
47
|
+
|
48
|
+
> **Important:** Updates to this field will recreate a new resource.
|
49
|
+
:param pulumi.Input[int] size: The size of the pool.
|
50
|
+
|
51
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
52
|
+
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
|
53
|
+
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
|
54
|
+
|
55
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
56
|
+
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
|
57
|
+
|
58
|
+
> **Important:** Updates to this field will recreate a new resource.
|
59
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
60
|
+
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
61
|
+
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
62
|
+
:param pulumi.Input[str] name: The name for the pool.
|
63
|
+
|
64
|
+
> **Important:** Updates to this field will recreate a new resource.
|
65
|
+
:param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
66
|
+
|
67
|
+
> **Important:** Updates to this field will recreate a new resource.
|
68
|
+
:param pulumi.Input[bool] public_ip_disabled: Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
69
|
+
|
70
|
+
> **Important:** Updates to this field will recreate a new resource.
|
71
|
+
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
|
72
|
+
:param pulumi.Input[int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
73
|
+
:param pulumi.Input[str] root_volume_type: System volume type of the nodes composing the pool
|
74
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
|
75
|
+
|
76
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
77
|
+
:param pulumi.Input['PoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
|
78
|
+
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
79
|
+
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
|
80
|
+
|
81
|
+
> **Important:** Updates to this field will recreate a new resource.
|
82
|
+
"""
|
83
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
84
|
+
pulumi.set(__self__, "node_type", node_type)
|
85
|
+
pulumi.set(__self__, "size", size)
|
86
|
+
if autohealing is not None:
|
87
|
+
pulumi.set(__self__, "autohealing", autohealing)
|
88
|
+
if autoscaling is not None:
|
89
|
+
pulumi.set(__self__, "autoscaling", autoscaling)
|
90
|
+
if container_runtime is not None:
|
91
|
+
pulumi.set(__self__, "container_runtime", container_runtime)
|
92
|
+
if kubelet_args is not None:
|
93
|
+
pulumi.set(__self__, "kubelet_args", kubelet_args)
|
94
|
+
if max_size is not None:
|
95
|
+
pulumi.set(__self__, "max_size", max_size)
|
96
|
+
if min_size is not None:
|
97
|
+
pulumi.set(__self__, "min_size", min_size)
|
98
|
+
if name is not None:
|
99
|
+
pulumi.set(__self__, "name", name)
|
100
|
+
if placement_group_id is not None:
|
101
|
+
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
102
|
+
if public_ip_disabled is not None:
|
103
|
+
pulumi.set(__self__, "public_ip_disabled", public_ip_disabled)
|
104
|
+
if region is not None:
|
105
|
+
pulumi.set(__self__, "region", region)
|
106
|
+
if root_volume_size_in_gb is not None:
|
107
|
+
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
108
|
+
if root_volume_type is not None:
|
109
|
+
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
110
|
+
if tags is not None:
|
111
|
+
pulumi.set(__self__, "tags", tags)
|
112
|
+
if upgrade_policy is not None:
|
113
|
+
pulumi.set(__self__, "upgrade_policy", upgrade_policy)
|
114
|
+
if wait_for_pool_ready is not None:
|
115
|
+
pulumi.set(__self__, "wait_for_pool_ready", wait_for_pool_ready)
|
116
|
+
if zone is not None:
|
117
|
+
pulumi.set(__self__, "zone", zone)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="clusterId")
|
121
|
+
def cluster_id(self) -> pulumi.Input[str]:
|
122
|
+
"""
|
123
|
+
The ID of the Kubernetes cluster on which this pool will be created.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "cluster_id")
|
126
|
+
|
127
|
+
@cluster_id.setter
|
128
|
+
def cluster_id(self, value: pulumi.Input[str]):
|
129
|
+
pulumi.set(self, "cluster_id", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="nodeType")
|
133
|
+
def node_type(self) -> pulumi.Input[str]:
|
134
|
+
"""
|
135
|
+
The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
136
|
+
|
137
|
+
> **Important:** Updates to this field will recreate a new resource.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "node_type")
|
140
|
+
|
141
|
+
@node_type.setter
|
142
|
+
def node_type(self, value: pulumi.Input[str]):
|
143
|
+
pulumi.set(self, "node_type", value)
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def size(self) -> pulumi.Input[int]:
|
148
|
+
"""
|
149
|
+
The size of the pool.
|
150
|
+
|
151
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "size")
|
154
|
+
|
155
|
+
@size.setter
|
156
|
+
def size(self, value: pulumi.Input[int]):
|
157
|
+
pulumi.set(self, "size", value)
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter
|
161
|
+
def autohealing(self) -> Optional[pulumi.Input[bool]]:
|
162
|
+
"""
|
163
|
+
Enables the autohealing feature for this pool.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "autohealing")
|
166
|
+
|
167
|
+
@autohealing.setter
|
168
|
+
def autohealing(self, value: Optional[pulumi.Input[bool]]):
|
169
|
+
pulumi.set(self, "autohealing", value)
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter
|
173
|
+
def autoscaling(self) -> Optional[pulumi.Input[bool]]:
|
174
|
+
"""
|
175
|
+
Enables the autoscaling feature for this pool.
|
176
|
+
|
177
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "autoscaling")
|
180
|
+
|
181
|
+
@autoscaling.setter
|
182
|
+
def autoscaling(self, value: Optional[pulumi.Input[bool]]):
|
183
|
+
pulumi.set(self, "autoscaling", value)
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="containerRuntime")
|
187
|
+
def container_runtime(self) -> Optional[pulumi.Input[str]]:
|
188
|
+
"""
|
189
|
+
The container runtime of the pool.
|
190
|
+
|
191
|
+
> **Important:** Updates to this field will recreate a new resource.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "container_runtime")
|
194
|
+
|
195
|
+
@container_runtime.setter
|
196
|
+
def container_runtime(self, value: Optional[pulumi.Input[str]]):
|
197
|
+
pulumi.set(self, "container_runtime", value)
|
198
|
+
|
199
|
+
@property
|
200
|
+
@pulumi.getter(name="kubeletArgs")
|
201
|
+
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
202
|
+
"""
|
203
|
+
The Kubelet arguments to be used by this pool
|
204
|
+
"""
|
205
|
+
return pulumi.get(self, "kubelet_args")
|
206
|
+
|
207
|
+
@kubelet_args.setter
|
208
|
+
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
209
|
+
pulumi.set(self, "kubelet_args", value)
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter(name="maxSize")
|
213
|
+
def max_size(self) -> Optional[pulumi.Input[int]]:
|
214
|
+
"""
|
215
|
+
The maximum size of the pool, used by the autoscaling feature.
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "max_size")
|
218
|
+
|
219
|
+
@max_size.setter
|
220
|
+
def max_size(self, value: Optional[pulumi.Input[int]]):
|
221
|
+
pulumi.set(self, "max_size", value)
|
222
|
+
|
223
|
+
@property
|
224
|
+
@pulumi.getter(name="minSize")
|
225
|
+
def min_size(self) -> Optional[pulumi.Input[int]]:
|
226
|
+
"""
|
227
|
+
The minimum size of the pool, used by the autoscaling feature.
|
228
|
+
"""
|
229
|
+
return pulumi.get(self, "min_size")
|
230
|
+
|
231
|
+
@min_size.setter
|
232
|
+
def min_size(self, value: Optional[pulumi.Input[int]]):
|
233
|
+
pulumi.set(self, "min_size", value)
|
234
|
+
|
235
|
+
@property
|
236
|
+
@pulumi.getter
|
237
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
238
|
+
"""
|
239
|
+
The name for the pool.
|
240
|
+
|
241
|
+
> **Important:** Updates to this field will recreate a new resource.
|
242
|
+
"""
|
243
|
+
return pulumi.get(self, "name")
|
244
|
+
|
245
|
+
@name.setter
|
246
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
247
|
+
pulumi.set(self, "name", value)
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter(name="placementGroupId")
|
251
|
+
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
252
|
+
"""
|
253
|
+
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
254
|
+
|
255
|
+
> **Important:** Updates to this field will recreate a new resource.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "placement_group_id")
|
258
|
+
|
259
|
+
@placement_group_id.setter
|
260
|
+
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
261
|
+
pulumi.set(self, "placement_group_id", value)
|
262
|
+
|
263
|
+
@property
|
264
|
+
@pulumi.getter(name="publicIpDisabled")
|
265
|
+
def public_ip_disabled(self) -> Optional[pulumi.Input[bool]]:
|
266
|
+
"""
|
267
|
+
Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
268
|
+
|
269
|
+
> **Important:** Updates to this field will recreate a new resource.
|
270
|
+
"""
|
271
|
+
return pulumi.get(self, "public_ip_disabled")
|
272
|
+
|
273
|
+
@public_ip_disabled.setter
|
274
|
+
def public_ip_disabled(self, value: Optional[pulumi.Input[bool]]):
|
275
|
+
pulumi.set(self, "public_ip_disabled", value)
|
276
|
+
|
277
|
+
@property
|
278
|
+
@pulumi.getter
|
279
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
280
|
+
"""
|
281
|
+
`region`) The region in which the pool should be created.
|
282
|
+
"""
|
283
|
+
return pulumi.get(self, "region")
|
284
|
+
|
285
|
+
@region.setter
|
286
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
287
|
+
pulumi.set(self, "region", value)
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter(name="rootVolumeSizeInGb")
|
291
|
+
def root_volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
292
|
+
"""
|
293
|
+
The size of the system volume of the nodes in gigabyte
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "root_volume_size_in_gb")
|
296
|
+
|
297
|
+
@root_volume_size_in_gb.setter
|
298
|
+
def root_volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
|
299
|
+
pulumi.set(self, "root_volume_size_in_gb", value)
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="rootVolumeType")
|
303
|
+
def root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
304
|
+
"""
|
305
|
+
System volume type of the nodes composing the pool
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "root_volume_type")
|
308
|
+
|
309
|
+
@root_volume_type.setter
|
310
|
+
def root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
311
|
+
pulumi.set(self, "root_volume_type", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter
|
315
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
316
|
+
"""
|
317
|
+
The tags associated with the pool.
|
318
|
+
|
319
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
320
|
+
"""
|
321
|
+
return pulumi.get(self, "tags")
|
322
|
+
|
323
|
+
@tags.setter
|
324
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
325
|
+
pulumi.set(self, "tags", value)
|
326
|
+
|
327
|
+
@property
|
328
|
+
@pulumi.getter(name="upgradePolicy")
|
329
|
+
def upgrade_policy(self) -> Optional[pulumi.Input['PoolUpgradePolicyArgs']]:
|
330
|
+
"""
|
331
|
+
The Pool upgrade policy
|
332
|
+
"""
|
333
|
+
return pulumi.get(self, "upgrade_policy")
|
334
|
+
|
335
|
+
@upgrade_policy.setter
|
336
|
+
def upgrade_policy(self, value: Optional[pulumi.Input['PoolUpgradePolicyArgs']]):
|
337
|
+
pulumi.set(self, "upgrade_policy", value)
|
338
|
+
|
339
|
+
@property
|
340
|
+
@pulumi.getter(name="waitForPoolReady")
|
341
|
+
def wait_for_pool_ready(self) -> Optional[pulumi.Input[bool]]:
|
342
|
+
"""
|
343
|
+
Whether to wait for the pool to be ready.
|
344
|
+
"""
|
345
|
+
return pulumi.get(self, "wait_for_pool_ready")
|
346
|
+
|
347
|
+
@wait_for_pool_ready.setter
|
348
|
+
def wait_for_pool_ready(self, value: Optional[pulumi.Input[bool]]):
|
349
|
+
pulumi.set(self, "wait_for_pool_ready", value)
|
350
|
+
|
351
|
+
@property
|
352
|
+
@pulumi.getter
|
353
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
354
|
+
"""
|
355
|
+
`zone`) The zone in which the pool should be created.
|
356
|
+
|
357
|
+
> **Important:** Updates to this field will recreate a new resource.
|
358
|
+
"""
|
359
|
+
return pulumi.get(self, "zone")
|
360
|
+
|
361
|
+
@zone.setter
|
362
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
363
|
+
pulumi.set(self, "zone", value)
|
364
|
+
|
365
|
+
|
366
|
+
@pulumi.input_type
|
367
|
+
class _PoolState:
|
368
|
+
def __init__(__self__, *,
|
369
|
+
autohealing: Optional[pulumi.Input[bool]] = None,
|
370
|
+
autoscaling: Optional[pulumi.Input[bool]] = None,
|
371
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
372
|
+
container_runtime: Optional[pulumi.Input[str]] = None,
|
373
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
374
|
+
current_size: Optional[pulumi.Input[int]] = None,
|
375
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
376
|
+
max_size: Optional[pulumi.Input[int]] = None,
|
377
|
+
min_size: Optional[pulumi.Input[int]] = None,
|
378
|
+
name: Optional[pulumi.Input[str]] = None,
|
379
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
380
|
+
nodes: Optional[pulumi.Input[Sequence[pulumi.Input['PoolNodeArgs']]]] = None,
|
381
|
+
placement_group_id: Optional[pulumi.Input[str]] = None,
|
382
|
+
public_ip_disabled: Optional[pulumi.Input[bool]] = None,
|
383
|
+
region: Optional[pulumi.Input[str]] = None,
|
384
|
+
root_volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
385
|
+
root_volume_type: Optional[pulumi.Input[str]] = None,
|
386
|
+
size: Optional[pulumi.Input[int]] = None,
|
387
|
+
status: Optional[pulumi.Input[str]] = None,
|
388
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
389
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
390
|
+
upgrade_policy: Optional[pulumi.Input['PoolUpgradePolicyArgs']] = None,
|
391
|
+
version: Optional[pulumi.Input[str]] = None,
|
392
|
+
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
|
393
|
+
zone: Optional[pulumi.Input[str]] = None):
|
394
|
+
"""
|
395
|
+
Input properties used for looking up and filtering Pool resources.
|
396
|
+
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
|
397
|
+
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
|
398
|
+
|
399
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
400
|
+
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
401
|
+
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
|
402
|
+
|
403
|
+
> **Important:** Updates to this field will recreate a new resource.
|
404
|
+
:param pulumi.Input[str] created_at: The creation date of the pool.
|
405
|
+
:param pulumi.Input[int] current_size: The actual size of the pool
|
406
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
407
|
+
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
408
|
+
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
409
|
+
:param pulumi.Input[str] name: The name for the pool.
|
410
|
+
|
411
|
+
> **Important:** Updates to this field will recreate a new resource.
|
412
|
+
:param pulumi.Input[str] node_type: The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
413
|
+
|
414
|
+
> **Important:** Updates to this field will recreate a new resource.
|
415
|
+
:param pulumi.Input[Sequence[pulumi.Input['PoolNodeArgs']]] nodes: (List of) The nodes in the default pool.
|
416
|
+
:param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
417
|
+
|
418
|
+
> **Important:** Updates to this field will recreate a new resource.
|
419
|
+
:param pulumi.Input[bool] public_ip_disabled: Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
420
|
+
|
421
|
+
> **Important:** Updates to this field will recreate a new resource.
|
422
|
+
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
|
423
|
+
:param pulumi.Input[int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
424
|
+
:param pulumi.Input[str] root_volume_type: System volume type of the nodes composing the pool
|
425
|
+
:param pulumi.Input[int] size: The size of the pool.
|
426
|
+
|
427
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
428
|
+
:param pulumi.Input[str] status: The status of the node.
|
429
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
|
430
|
+
|
431
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
432
|
+
:param pulumi.Input[str] updated_at: The last update date of the pool.
|
433
|
+
:param pulumi.Input['PoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
|
434
|
+
:param pulumi.Input[str] version: The version of the pool.
|
435
|
+
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
436
|
+
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
|
437
|
+
|
438
|
+
> **Important:** Updates to this field will recreate a new resource.
|
439
|
+
"""
|
440
|
+
if autohealing is not None:
|
441
|
+
pulumi.set(__self__, "autohealing", autohealing)
|
442
|
+
if autoscaling is not None:
|
443
|
+
pulumi.set(__self__, "autoscaling", autoscaling)
|
444
|
+
if cluster_id is not None:
|
445
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
446
|
+
if container_runtime is not None:
|
447
|
+
pulumi.set(__self__, "container_runtime", container_runtime)
|
448
|
+
if created_at is not None:
|
449
|
+
pulumi.set(__self__, "created_at", created_at)
|
450
|
+
if current_size is not None:
|
451
|
+
pulumi.set(__self__, "current_size", current_size)
|
452
|
+
if kubelet_args is not None:
|
453
|
+
pulumi.set(__self__, "kubelet_args", kubelet_args)
|
454
|
+
if max_size is not None:
|
455
|
+
pulumi.set(__self__, "max_size", max_size)
|
456
|
+
if min_size is not None:
|
457
|
+
pulumi.set(__self__, "min_size", min_size)
|
458
|
+
if name is not None:
|
459
|
+
pulumi.set(__self__, "name", name)
|
460
|
+
if node_type is not None:
|
461
|
+
pulumi.set(__self__, "node_type", node_type)
|
462
|
+
if nodes is not None:
|
463
|
+
pulumi.set(__self__, "nodes", nodes)
|
464
|
+
if placement_group_id is not None:
|
465
|
+
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
466
|
+
if public_ip_disabled is not None:
|
467
|
+
pulumi.set(__self__, "public_ip_disabled", public_ip_disabled)
|
468
|
+
if region is not None:
|
469
|
+
pulumi.set(__self__, "region", region)
|
470
|
+
if root_volume_size_in_gb is not None:
|
471
|
+
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
472
|
+
if root_volume_type is not None:
|
473
|
+
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
474
|
+
if size is not None:
|
475
|
+
pulumi.set(__self__, "size", size)
|
476
|
+
if status is not None:
|
477
|
+
pulumi.set(__self__, "status", status)
|
478
|
+
if tags is not None:
|
479
|
+
pulumi.set(__self__, "tags", tags)
|
480
|
+
if updated_at is not None:
|
481
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
482
|
+
if upgrade_policy is not None:
|
483
|
+
pulumi.set(__self__, "upgrade_policy", upgrade_policy)
|
484
|
+
if version is not None:
|
485
|
+
pulumi.set(__self__, "version", version)
|
486
|
+
if wait_for_pool_ready is not None:
|
487
|
+
pulumi.set(__self__, "wait_for_pool_ready", wait_for_pool_ready)
|
488
|
+
if zone is not None:
|
489
|
+
pulumi.set(__self__, "zone", zone)
|
490
|
+
|
491
|
+
@property
|
492
|
+
@pulumi.getter
|
493
|
+
def autohealing(self) -> Optional[pulumi.Input[bool]]:
|
494
|
+
"""
|
495
|
+
Enables the autohealing feature for this pool.
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "autohealing")
|
498
|
+
|
499
|
+
@autohealing.setter
|
500
|
+
def autohealing(self, value: Optional[pulumi.Input[bool]]):
|
501
|
+
pulumi.set(self, "autohealing", value)
|
502
|
+
|
503
|
+
@property
|
504
|
+
@pulumi.getter
|
505
|
+
def autoscaling(self) -> Optional[pulumi.Input[bool]]:
|
506
|
+
"""
|
507
|
+
Enables the autoscaling feature for this pool.
|
508
|
+
|
509
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
510
|
+
"""
|
511
|
+
return pulumi.get(self, "autoscaling")
|
512
|
+
|
513
|
+
@autoscaling.setter
|
514
|
+
def autoscaling(self, value: Optional[pulumi.Input[bool]]):
|
515
|
+
pulumi.set(self, "autoscaling", value)
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter(name="clusterId")
|
519
|
+
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
520
|
+
"""
|
521
|
+
The ID of the Kubernetes cluster on which this pool will be created.
|
522
|
+
"""
|
523
|
+
return pulumi.get(self, "cluster_id")
|
524
|
+
|
525
|
+
@cluster_id.setter
|
526
|
+
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
527
|
+
pulumi.set(self, "cluster_id", value)
|
528
|
+
|
529
|
+
@property
|
530
|
+
@pulumi.getter(name="containerRuntime")
|
531
|
+
def container_runtime(self) -> Optional[pulumi.Input[str]]:
|
532
|
+
"""
|
533
|
+
The container runtime of the pool.
|
534
|
+
|
535
|
+
> **Important:** Updates to this field will recreate a new resource.
|
536
|
+
"""
|
537
|
+
return pulumi.get(self, "container_runtime")
|
538
|
+
|
539
|
+
@container_runtime.setter
|
540
|
+
def container_runtime(self, value: Optional[pulumi.Input[str]]):
|
541
|
+
pulumi.set(self, "container_runtime", value)
|
542
|
+
|
543
|
+
@property
|
544
|
+
@pulumi.getter(name="createdAt")
|
545
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
546
|
+
"""
|
547
|
+
The creation date of the pool.
|
548
|
+
"""
|
549
|
+
return pulumi.get(self, "created_at")
|
550
|
+
|
551
|
+
@created_at.setter
|
552
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
553
|
+
pulumi.set(self, "created_at", value)
|
554
|
+
|
555
|
+
@property
|
556
|
+
@pulumi.getter(name="currentSize")
|
557
|
+
def current_size(self) -> Optional[pulumi.Input[int]]:
|
558
|
+
"""
|
559
|
+
The actual size of the pool
|
560
|
+
"""
|
561
|
+
return pulumi.get(self, "current_size")
|
562
|
+
|
563
|
+
@current_size.setter
|
564
|
+
def current_size(self, value: Optional[pulumi.Input[int]]):
|
565
|
+
pulumi.set(self, "current_size", value)
|
566
|
+
|
567
|
+
@property
|
568
|
+
@pulumi.getter(name="kubeletArgs")
|
569
|
+
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
570
|
+
"""
|
571
|
+
The Kubelet arguments to be used by this pool
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "kubelet_args")
|
574
|
+
|
575
|
+
@kubelet_args.setter
|
576
|
+
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
577
|
+
pulumi.set(self, "kubelet_args", value)
|
578
|
+
|
579
|
+
@property
|
580
|
+
@pulumi.getter(name="maxSize")
|
581
|
+
def max_size(self) -> Optional[pulumi.Input[int]]:
|
582
|
+
"""
|
583
|
+
The maximum size of the pool, used by the autoscaling feature.
|
584
|
+
"""
|
585
|
+
return pulumi.get(self, "max_size")
|
586
|
+
|
587
|
+
@max_size.setter
|
588
|
+
def max_size(self, value: Optional[pulumi.Input[int]]):
|
589
|
+
pulumi.set(self, "max_size", value)
|
590
|
+
|
591
|
+
@property
|
592
|
+
@pulumi.getter(name="minSize")
|
593
|
+
def min_size(self) -> Optional[pulumi.Input[int]]:
|
594
|
+
"""
|
595
|
+
The minimum size of the pool, used by the autoscaling feature.
|
596
|
+
"""
|
597
|
+
return pulumi.get(self, "min_size")
|
598
|
+
|
599
|
+
@min_size.setter
|
600
|
+
def min_size(self, value: Optional[pulumi.Input[int]]):
|
601
|
+
pulumi.set(self, "min_size", value)
|
602
|
+
|
603
|
+
@property
|
604
|
+
@pulumi.getter
|
605
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
606
|
+
"""
|
607
|
+
The name for the pool.
|
608
|
+
|
609
|
+
> **Important:** Updates to this field will recreate a new resource.
|
610
|
+
"""
|
611
|
+
return pulumi.get(self, "name")
|
612
|
+
|
613
|
+
@name.setter
|
614
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
615
|
+
pulumi.set(self, "name", value)
|
616
|
+
|
617
|
+
@property
|
618
|
+
@pulumi.getter(name="nodeType")
|
619
|
+
def node_type(self) -> Optional[pulumi.Input[str]]:
|
620
|
+
"""
|
621
|
+
The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
622
|
+
|
623
|
+
> **Important:** Updates to this field will recreate a new resource.
|
624
|
+
"""
|
625
|
+
return pulumi.get(self, "node_type")
|
626
|
+
|
627
|
+
@node_type.setter
|
628
|
+
def node_type(self, value: Optional[pulumi.Input[str]]):
|
629
|
+
pulumi.set(self, "node_type", value)
|
630
|
+
|
631
|
+
@property
|
632
|
+
@pulumi.getter
|
633
|
+
def nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PoolNodeArgs']]]]:
|
634
|
+
"""
|
635
|
+
(List of) The nodes in the default pool.
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "nodes")
|
638
|
+
|
639
|
+
@nodes.setter
|
640
|
+
def nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PoolNodeArgs']]]]):
|
641
|
+
pulumi.set(self, "nodes", value)
|
642
|
+
|
643
|
+
@property
|
644
|
+
@pulumi.getter(name="placementGroupId")
|
645
|
+
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
646
|
+
"""
|
647
|
+
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
648
|
+
|
649
|
+
> **Important:** Updates to this field will recreate a new resource.
|
650
|
+
"""
|
651
|
+
return pulumi.get(self, "placement_group_id")
|
652
|
+
|
653
|
+
@placement_group_id.setter
|
654
|
+
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
655
|
+
pulumi.set(self, "placement_group_id", value)
|
656
|
+
|
657
|
+
@property
|
658
|
+
@pulumi.getter(name="publicIpDisabled")
|
659
|
+
def public_ip_disabled(self) -> Optional[pulumi.Input[bool]]:
|
660
|
+
"""
|
661
|
+
Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
662
|
+
|
663
|
+
> **Important:** Updates to this field will recreate a new resource.
|
664
|
+
"""
|
665
|
+
return pulumi.get(self, "public_ip_disabled")
|
666
|
+
|
667
|
+
@public_ip_disabled.setter
|
668
|
+
def public_ip_disabled(self, value: Optional[pulumi.Input[bool]]):
|
669
|
+
pulumi.set(self, "public_ip_disabled", value)
|
670
|
+
|
671
|
+
@property
|
672
|
+
@pulumi.getter
|
673
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
674
|
+
"""
|
675
|
+
`region`) The region in which the pool should be created.
|
676
|
+
"""
|
677
|
+
return pulumi.get(self, "region")
|
678
|
+
|
679
|
+
@region.setter
|
680
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
681
|
+
pulumi.set(self, "region", value)
|
682
|
+
|
683
|
+
@property
|
684
|
+
@pulumi.getter(name="rootVolumeSizeInGb")
|
685
|
+
def root_volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
686
|
+
"""
|
687
|
+
The size of the system volume of the nodes in gigabyte
|
688
|
+
"""
|
689
|
+
return pulumi.get(self, "root_volume_size_in_gb")
|
690
|
+
|
691
|
+
@root_volume_size_in_gb.setter
|
692
|
+
def root_volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
|
693
|
+
pulumi.set(self, "root_volume_size_in_gb", value)
|
694
|
+
|
695
|
+
@property
|
696
|
+
@pulumi.getter(name="rootVolumeType")
|
697
|
+
def root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
698
|
+
"""
|
699
|
+
System volume type of the nodes composing the pool
|
700
|
+
"""
|
701
|
+
return pulumi.get(self, "root_volume_type")
|
702
|
+
|
703
|
+
@root_volume_type.setter
|
704
|
+
def root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
705
|
+
pulumi.set(self, "root_volume_type", value)
|
706
|
+
|
707
|
+
@property
|
708
|
+
@pulumi.getter
|
709
|
+
def size(self) -> Optional[pulumi.Input[int]]:
|
710
|
+
"""
|
711
|
+
The size of the pool.
|
712
|
+
|
713
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
714
|
+
"""
|
715
|
+
return pulumi.get(self, "size")
|
716
|
+
|
717
|
+
@size.setter
|
718
|
+
def size(self, value: Optional[pulumi.Input[int]]):
|
719
|
+
pulumi.set(self, "size", value)
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter
|
723
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
724
|
+
"""
|
725
|
+
The status of the node.
|
726
|
+
"""
|
727
|
+
return pulumi.get(self, "status")
|
728
|
+
|
729
|
+
@status.setter
|
730
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
731
|
+
pulumi.set(self, "status", value)
|
732
|
+
|
733
|
+
@property
|
734
|
+
@pulumi.getter
|
735
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
736
|
+
"""
|
737
|
+
The tags associated with the pool.
|
738
|
+
|
739
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
740
|
+
"""
|
741
|
+
return pulumi.get(self, "tags")
|
742
|
+
|
743
|
+
@tags.setter
|
744
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
745
|
+
pulumi.set(self, "tags", value)
|
746
|
+
|
747
|
+
@property
|
748
|
+
@pulumi.getter(name="updatedAt")
|
749
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
750
|
+
"""
|
751
|
+
The last update date of the pool.
|
752
|
+
"""
|
753
|
+
return pulumi.get(self, "updated_at")
|
754
|
+
|
755
|
+
@updated_at.setter
|
756
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
757
|
+
pulumi.set(self, "updated_at", value)
|
758
|
+
|
759
|
+
@property
|
760
|
+
@pulumi.getter(name="upgradePolicy")
|
761
|
+
def upgrade_policy(self) -> Optional[pulumi.Input['PoolUpgradePolicyArgs']]:
|
762
|
+
"""
|
763
|
+
The Pool upgrade policy
|
764
|
+
"""
|
765
|
+
return pulumi.get(self, "upgrade_policy")
|
766
|
+
|
767
|
+
@upgrade_policy.setter
|
768
|
+
def upgrade_policy(self, value: Optional[pulumi.Input['PoolUpgradePolicyArgs']]):
|
769
|
+
pulumi.set(self, "upgrade_policy", value)
|
770
|
+
|
771
|
+
@property
|
772
|
+
@pulumi.getter
|
773
|
+
def version(self) -> Optional[pulumi.Input[str]]:
|
774
|
+
"""
|
775
|
+
The version of the pool.
|
776
|
+
"""
|
777
|
+
return pulumi.get(self, "version")
|
778
|
+
|
779
|
+
@version.setter
|
780
|
+
def version(self, value: Optional[pulumi.Input[str]]):
|
781
|
+
pulumi.set(self, "version", value)
|
782
|
+
|
783
|
+
@property
|
784
|
+
@pulumi.getter(name="waitForPoolReady")
|
785
|
+
def wait_for_pool_ready(self) -> Optional[pulumi.Input[bool]]:
|
786
|
+
"""
|
787
|
+
Whether to wait for the pool to be ready.
|
788
|
+
"""
|
789
|
+
return pulumi.get(self, "wait_for_pool_ready")
|
790
|
+
|
791
|
+
@wait_for_pool_ready.setter
|
792
|
+
def wait_for_pool_ready(self, value: Optional[pulumi.Input[bool]]):
|
793
|
+
pulumi.set(self, "wait_for_pool_ready", value)
|
794
|
+
|
795
|
+
@property
|
796
|
+
@pulumi.getter
|
797
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
798
|
+
"""
|
799
|
+
`zone`) The zone in which the pool should be created.
|
800
|
+
|
801
|
+
> **Important:** Updates to this field will recreate a new resource.
|
802
|
+
"""
|
803
|
+
return pulumi.get(self, "zone")
|
804
|
+
|
805
|
+
@zone.setter
|
806
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
807
|
+
pulumi.set(self, "zone", value)
|
808
|
+
|
809
|
+
|
810
|
+
class Pool(pulumi.CustomResource):
|
811
|
+
@overload
|
812
|
+
def __init__(__self__,
|
813
|
+
resource_name: str,
|
814
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
815
|
+
autohealing: Optional[pulumi.Input[bool]] = None,
|
816
|
+
autoscaling: Optional[pulumi.Input[bool]] = None,
|
817
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
818
|
+
container_runtime: Optional[pulumi.Input[str]] = None,
|
819
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
820
|
+
max_size: Optional[pulumi.Input[int]] = None,
|
821
|
+
min_size: Optional[pulumi.Input[int]] = None,
|
822
|
+
name: Optional[pulumi.Input[str]] = None,
|
823
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
824
|
+
placement_group_id: Optional[pulumi.Input[str]] = None,
|
825
|
+
public_ip_disabled: Optional[pulumi.Input[bool]] = None,
|
826
|
+
region: Optional[pulumi.Input[str]] = None,
|
827
|
+
root_volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
828
|
+
root_volume_type: Optional[pulumi.Input[str]] = None,
|
829
|
+
size: Optional[pulumi.Input[int]] = None,
|
830
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
831
|
+
upgrade_policy: Optional[pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']]] = None,
|
832
|
+
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
|
833
|
+
zone: Optional[pulumi.Input[str]] = None,
|
834
|
+
__props__=None):
|
835
|
+
"""
|
836
|
+
## Import
|
837
|
+
|
838
|
+
Kubernetes pools can be imported using the `{region}/{id}`, e.g.
|
839
|
+
|
840
|
+
bash
|
841
|
+
|
842
|
+
```sh
|
843
|
+
$ pulumi import scaleway:kubernetes/pool:Pool mypool fr-par/11111111-1111-1111-1111-111111111111
|
844
|
+
```
|
845
|
+
|
846
|
+
:param str resource_name: The name of the resource.
|
847
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
848
|
+
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
|
849
|
+
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
|
850
|
+
|
851
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
852
|
+
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
853
|
+
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
|
854
|
+
|
855
|
+
> **Important:** Updates to this field will recreate a new resource.
|
856
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
857
|
+
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
858
|
+
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
859
|
+
:param pulumi.Input[str] name: The name for the pool.
|
860
|
+
|
861
|
+
> **Important:** Updates to this field will recreate a new resource.
|
862
|
+
:param pulumi.Input[str] node_type: The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
863
|
+
|
864
|
+
> **Important:** Updates to this field will recreate a new resource.
|
865
|
+
:param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
866
|
+
|
867
|
+
> **Important:** Updates to this field will recreate a new resource.
|
868
|
+
:param pulumi.Input[bool] public_ip_disabled: Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
869
|
+
|
870
|
+
> **Important:** Updates to this field will recreate a new resource.
|
871
|
+
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
|
872
|
+
:param pulumi.Input[int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
873
|
+
:param pulumi.Input[str] root_volume_type: System volume type of the nodes composing the pool
|
874
|
+
:param pulumi.Input[int] size: The size of the pool.
|
875
|
+
|
876
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
877
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
|
878
|
+
|
879
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
880
|
+
:param pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']] upgrade_policy: The Pool upgrade policy
|
881
|
+
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
882
|
+
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
|
883
|
+
|
884
|
+
> **Important:** Updates to this field will recreate a new resource.
|
885
|
+
"""
|
886
|
+
...
|
887
|
+
@overload
|
888
|
+
def __init__(__self__,
|
889
|
+
resource_name: str,
|
890
|
+
args: PoolArgs,
|
891
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
892
|
+
"""
|
893
|
+
## Import
|
894
|
+
|
895
|
+
Kubernetes pools can be imported using the `{region}/{id}`, e.g.
|
896
|
+
|
897
|
+
bash
|
898
|
+
|
899
|
+
```sh
|
900
|
+
$ pulumi import scaleway:kubernetes/pool:Pool mypool fr-par/11111111-1111-1111-1111-111111111111
|
901
|
+
```
|
902
|
+
|
903
|
+
:param str resource_name: The name of the resource.
|
904
|
+
:param PoolArgs args: The arguments to use to populate this resource's properties.
|
905
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
906
|
+
"""
|
907
|
+
...
|
908
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
909
|
+
resource_args, opts = _utilities.get_resource_args_opts(PoolArgs, pulumi.ResourceOptions, *args, **kwargs)
|
910
|
+
if resource_args is not None:
|
911
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
912
|
+
else:
|
913
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
914
|
+
|
915
|
+
def _internal_init(__self__,
|
916
|
+
resource_name: str,
|
917
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
918
|
+
autohealing: Optional[pulumi.Input[bool]] = None,
|
919
|
+
autoscaling: Optional[pulumi.Input[bool]] = None,
|
920
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
921
|
+
container_runtime: Optional[pulumi.Input[str]] = None,
|
922
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
923
|
+
max_size: Optional[pulumi.Input[int]] = None,
|
924
|
+
min_size: Optional[pulumi.Input[int]] = None,
|
925
|
+
name: Optional[pulumi.Input[str]] = None,
|
926
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
927
|
+
placement_group_id: Optional[pulumi.Input[str]] = None,
|
928
|
+
public_ip_disabled: Optional[pulumi.Input[bool]] = None,
|
929
|
+
region: Optional[pulumi.Input[str]] = None,
|
930
|
+
root_volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
931
|
+
root_volume_type: Optional[pulumi.Input[str]] = None,
|
932
|
+
size: Optional[pulumi.Input[int]] = None,
|
933
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
934
|
+
upgrade_policy: Optional[pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']]] = None,
|
935
|
+
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
|
936
|
+
zone: Optional[pulumi.Input[str]] = None,
|
937
|
+
__props__=None):
|
938
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
939
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
940
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
941
|
+
if opts.id is None:
|
942
|
+
if __props__ is not None:
|
943
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
944
|
+
__props__ = PoolArgs.__new__(PoolArgs)
|
945
|
+
|
946
|
+
__props__.__dict__["autohealing"] = autohealing
|
947
|
+
__props__.__dict__["autoscaling"] = autoscaling
|
948
|
+
if cluster_id is None and not opts.urn:
|
949
|
+
raise TypeError("Missing required property 'cluster_id'")
|
950
|
+
__props__.__dict__["cluster_id"] = cluster_id
|
951
|
+
__props__.__dict__["container_runtime"] = container_runtime
|
952
|
+
__props__.__dict__["kubelet_args"] = kubelet_args
|
953
|
+
__props__.__dict__["max_size"] = max_size
|
954
|
+
__props__.__dict__["min_size"] = min_size
|
955
|
+
__props__.__dict__["name"] = name
|
956
|
+
if node_type is None and not opts.urn:
|
957
|
+
raise TypeError("Missing required property 'node_type'")
|
958
|
+
__props__.__dict__["node_type"] = node_type
|
959
|
+
__props__.__dict__["placement_group_id"] = placement_group_id
|
960
|
+
__props__.__dict__["public_ip_disabled"] = public_ip_disabled
|
961
|
+
__props__.__dict__["region"] = region
|
962
|
+
__props__.__dict__["root_volume_size_in_gb"] = root_volume_size_in_gb
|
963
|
+
__props__.__dict__["root_volume_type"] = root_volume_type
|
964
|
+
if size is None and not opts.urn:
|
965
|
+
raise TypeError("Missing required property 'size'")
|
966
|
+
__props__.__dict__["size"] = size
|
967
|
+
__props__.__dict__["tags"] = tags
|
968
|
+
__props__.__dict__["upgrade_policy"] = upgrade_policy
|
969
|
+
__props__.__dict__["wait_for_pool_ready"] = wait_for_pool_ready
|
970
|
+
__props__.__dict__["zone"] = zone
|
971
|
+
__props__.__dict__["created_at"] = None
|
972
|
+
__props__.__dict__["current_size"] = None
|
973
|
+
__props__.__dict__["nodes"] = None
|
974
|
+
__props__.__dict__["status"] = None
|
975
|
+
__props__.__dict__["updated_at"] = None
|
976
|
+
__props__.__dict__["version"] = None
|
977
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/kubernetesNodePool:KubernetesNodePool")])
|
978
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
979
|
+
super(Pool, __self__).__init__(
|
980
|
+
'scaleway:kubernetes/pool:Pool',
|
981
|
+
resource_name,
|
982
|
+
__props__,
|
983
|
+
opts)
|
984
|
+
|
985
|
+
@staticmethod
|
986
|
+
def get(resource_name: str,
|
987
|
+
id: pulumi.Input[str],
|
988
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
989
|
+
autohealing: Optional[pulumi.Input[bool]] = None,
|
990
|
+
autoscaling: Optional[pulumi.Input[bool]] = None,
|
991
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
992
|
+
container_runtime: Optional[pulumi.Input[str]] = None,
|
993
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
994
|
+
current_size: Optional[pulumi.Input[int]] = None,
|
995
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
996
|
+
max_size: Optional[pulumi.Input[int]] = None,
|
997
|
+
min_size: Optional[pulumi.Input[int]] = None,
|
998
|
+
name: Optional[pulumi.Input[str]] = None,
|
999
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
1000
|
+
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PoolNodeArgs', 'PoolNodeArgsDict']]]]] = None,
|
1001
|
+
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1002
|
+
public_ip_disabled: Optional[pulumi.Input[bool]] = None,
|
1003
|
+
region: Optional[pulumi.Input[str]] = None,
|
1004
|
+
root_volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
1005
|
+
root_volume_type: Optional[pulumi.Input[str]] = None,
|
1006
|
+
size: Optional[pulumi.Input[int]] = None,
|
1007
|
+
status: Optional[pulumi.Input[str]] = None,
|
1008
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1009
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
1010
|
+
upgrade_policy: Optional[pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']]] = None,
|
1011
|
+
version: Optional[pulumi.Input[str]] = None,
|
1012
|
+
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
|
1013
|
+
zone: Optional[pulumi.Input[str]] = None) -> 'Pool':
|
1014
|
+
"""
|
1015
|
+
Get an existing Pool resource's state with the given name, id, and optional extra
|
1016
|
+
properties used to qualify the lookup.
|
1017
|
+
|
1018
|
+
:param str resource_name: The unique name of the resulting resource.
|
1019
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1020
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1021
|
+
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
|
1022
|
+
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
|
1023
|
+
|
1024
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
1025
|
+
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
1026
|
+
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
|
1027
|
+
|
1028
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1029
|
+
:param pulumi.Input[str] created_at: The creation date of the pool.
|
1030
|
+
:param pulumi.Input[int] current_size: The actual size of the pool
|
1031
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
1032
|
+
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
1033
|
+
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
1034
|
+
:param pulumi.Input[str] name: The name for the pool.
|
1035
|
+
|
1036
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1037
|
+
:param pulumi.Input[str] node_type: The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
1038
|
+
|
1039
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1040
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PoolNodeArgs', 'PoolNodeArgsDict']]]] nodes: (List of) The nodes in the default pool.
|
1041
|
+
:param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
1042
|
+
|
1043
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1044
|
+
:param pulumi.Input[bool] public_ip_disabled: Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
1045
|
+
|
1046
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1047
|
+
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
|
1048
|
+
:param pulumi.Input[int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
1049
|
+
:param pulumi.Input[str] root_volume_type: System volume type of the nodes composing the pool
|
1050
|
+
:param pulumi.Input[int] size: The size of the pool.
|
1051
|
+
|
1052
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
1053
|
+
:param pulumi.Input[str] status: The status of the node.
|
1054
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
|
1055
|
+
|
1056
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
1057
|
+
:param pulumi.Input[str] updated_at: The last update date of the pool.
|
1058
|
+
:param pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']] upgrade_policy: The Pool upgrade policy
|
1059
|
+
:param pulumi.Input[str] version: The version of the pool.
|
1060
|
+
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
1061
|
+
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
|
1062
|
+
|
1063
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1064
|
+
"""
|
1065
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1066
|
+
|
1067
|
+
__props__ = _PoolState.__new__(_PoolState)
|
1068
|
+
|
1069
|
+
__props__.__dict__["autohealing"] = autohealing
|
1070
|
+
__props__.__dict__["autoscaling"] = autoscaling
|
1071
|
+
__props__.__dict__["cluster_id"] = cluster_id
|
1072
|
+
__props__.__dict__["container_runtime"] = container_runtime
|
1073
|
+
__props__.__dict__["created_at"] = created_at
|
1074
|
+
__props__.__dict__["current_size"] = current_size
|
1075
|
+
__props__.__dict__["kubelet_args"] = kubelet_args
|
1076
|
+
__props__.__dict__["max_size"] = max_size
|
1077
|
+
__props__.__dict__["min_size"] = min_size
|
1078
|
+
__props__.__dict__["name"] = name
|
1079
|
+
__props__.__dict__["node_type"] = node_type
|
1080
|
+
__props__.__dict__["nodes"] = nodes
|
1081
|
+
__props__.__dict__["placement_group_id"] = placement_group_id
|
1082
|
+
__props__.__dict__["public_ip_disabled"] = public_ip_disabled
|
1083
|
+
__props__.__dict__["region"] = region
|
1084
|
+
__props__.__dict__["root_volume_size_in_gb"] = root_volume_size_in_gb
|
1085
|
+
__props__.__dict__["root_volume_type"] = root_volume_type
|
1086
|
+
__props__.__dict__["size"] = size
|
1087
|
+
__props__.__dict__["status"] = status
|
1088
|
+
__props__.__dict__["tags"] = tags
|
1089
|
+
__props__.__dict__["updated_at"] = updated_at
|
1090
|
+
__props__.__dict__["upgrade_policy"] = upgrade_policy
|
1091
|
+
__props__.__dict__["version"] = version
|
1092
|
+
__props__.__dict__["wait_for_pool_ready"] = wait_for_pool_ready
|
1093
|
+
__props__.__dict__["zone"] = zone
|
1094
|
+
return Pool(resource_name, opts=opts, __props__=__props__)
|
1095
|
+
|
1096
|
+
@property
|
1097
|
+
@pulumi.getter
|
1098
|
+
def autohealing(self) -> pulumi.Output[Optional[bool]]:
|
1099
|
+
"""
|
1100
|
+
Enables the autohealing feature for this pool.
|
1101
|
+
"""
|
1102
|
+
return pulumi.get(self, "autohealing")
|
1103
|
+
|
1104
|
+
@property
|
1105
|
+
@pulumi.getter
|
1106
|
+
def autoscaling(self) -> pulumi.Output[Optional[bool]]:
|
1107
|
+
"""
|
1108
|
+
Enables the autoscaling feature for this pool.
|
1109
|
+
|
1110
|
+
> **Important:** When enabled, an update of the `size` will not be taken into account.
|
1111
|
+
"""
|
1112
|
+
return pulumi.get(self, "autoscaling")
|
1113
|
+
|
1114
|
+
@property
|
1115
|
+
@pulumi.getter(name="clusterId")
|
1116
|
+
def cluster_id(self) -> pulumi.Output[str]:
|
1117
|
+
"""
|
1118
|
+
The ID of the Kubernetes cluster on which this pool will be created.
|
1119
|
+
"""
|
1120
|
+
return pulumi.get(self, "cluster_id")
|
1121
|
+
|
1122
|
+
@property
|
1123
|
+
@pulumi.getter(name="containerRuntime")
|
1124
|
+
def container_runtime(self) -> pulumi.Output[Optional[str]]:
|
1125
|
+
"""
|
1126
|
+
The container runtime of the pool.
|
1127
|
+
|
1128
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1129
|
+
"""
|
1130
|
+
return pulumi.get(self, "container_runtime")
|
1131
|
+
|
1132
|
+
@property
|
1133
|
+
@pulumi.getter(name="createdAt")
|
1134
|
+
def created_at(self) -> pulumi.Output[str]:
|
1135
|
+
"""
|
1136
|
+
The creation date of the pool.
|
1137
|
+
"""
|
1138
|
+
return pulumi.get(self, "created_at")
|
1139
|
+
|
1140
|
+
@property
|
1141
|
+
@pulumi.getter(name="currentSize")
|
1142
|
+
def current_size(self) -> pulumi.Output[int]:
|
1143
|
+
"""
|
1144
|
+
The actual size of the pool
|
1145
|
+
"""
|
1146
|
+
return pulumi.get(self, "current_size")
|
1147
|
+
|
1148
|
+
@property
|
1149
|
+
@pulumi.getter(name="kubeletArgs")
|
1150
|
+
def kubelet_args(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1151
|
+
"""
|
1152
|
+
The Kubelet arguments to be used by this pool
|
1153
|
+
"""
|
1154
|
+
return pulumi.get(self, "kubelet_args")
|
1155
|
+
|
1156
|
+
@property
|
1157
|
+
@pulumi.getter(name="maxSize")
|
1158
|
+
def max_size(self) -> pulumi.Output[int]:
|
1159
|
+
"""
|
1160
|
+
The maximum size of the pool, used by the autoscaling feature.
|
1161
|
+
"""
|
1162
|
+
return pulumi.get(self, "max_size")
|
1163
|
+
|
1164
|
+
@property
|
1165
|
+
@pulumi.getter(name="minSize")
|
1166
|
+
def min_size(self) -> pulumi.Output[Optional[int]]:
|
1167
|
+
"""
|
1168
|
+
The minimum size of the pool, used by the autoscaling feature.
|
1169
|
+
"""
|
1170
|
+
return pulumi.get(self, "min_size")
|
1171
|
+
|
1172
|
+
@property
|
1173
|
+
@pulumi.getter
|
1174
|
+
def name(self) -> pulumi.Output[str]:
|
1175
|
+
"""
|
1176
|
+
The name for the pool.
|
1177
|
+
|
1178
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1179
|
+
"""
|
1180
|
+
return pulumi.get(self, "name")
|
1181
|
+
|
1182
|
+
@property
|
1183
|
+
@pulumi.getter(name="nodeType")
|
1184
|
+
def node_type(self) -> pulumi.Output[str]:
|
1185
|
+
"""
|
1186
|
+
The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
|
1187
|
+
|
1188
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1189
|
+
"""
|
1190
|
+
return pulumi.get(self, "node_type")
|
1191
|
+
|
1192
|
+
@property
|
1193
|
+
@pulumi.getter
|
1194
|
+
def nodes(self) -> pulumi.Output[Sequence['outputs.PoolNode']]:
|
1195
|
+
"""
|
1196
|
+
(List of) The nodes in the default pool.
|
1197
|
+
"""
|
1198
|
+
return pulumi.get(self, "nodes")
|
1199
|
+
|
1200
|
+
@property
|
1201
|
+
@pulumi.getter(name="placementGroupId")
|
1202
|
+
def placement_group_id(self) -> pulumi.Output[Optional[str]]:
|
1203
|
+
"""
|
1204
|
+
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-placement-groups-create-a-placement-group) the nodes of the pool will be attached to.
|
1205
|
+
|
1206
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1207
|
+
"""
|
1208
|
+
return pulumi.get(self, "placement_group_id")
|
1209
|
+
|
1210
|
+
@property
|
1211
|
+
@pulumi.getter(name="publicIpDisabled")
|
1212
|
+
def public_ip_disabled(self) -> pulumi.Output[Optional[bool]]:
|
1213
|
+
"""
|
1214
|
+
Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
|
1215
|
+
|
1216
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1217
|
+
"""
|
1218
|
+
return pulumi.get(self, "public_ip_disabled")
|
1219
|
+
|
1220
|
+
@property
|
1221
|
+
@pulumi.getter
|
1222
|
+
def region(self) -> pulumi.Output[str]:
|
1223
|
+
"""
|
1224
|
+
`region`) The region in which the pool should be created.
|
1225
|
+
"""
|
1226
|
+
return pulumi.get(self, "region")
|
1227
|
+
|
1228
|
+
@property
|
1229
|
+
@pulumi.getter(name="rootVolumeSizeInGb")
|
1230
|
+
def root_volume_size_in_gb(self) -> pulumi.Output[int]:
|
1231
|
+
"""
|
1232
|
+
The size of the system volume of the nodes in gigabyte
|
1233
|
+
"""
|
1234
|
+
return pulumi.get(self, "root_volume_size_in_gb")
|
1235
|
+
|
1236
|
+
@property
|
1237
|
+
@pulumi.getter(name="rootVolumeType")
|
1238
|
+
def root_volume_type(self) -> pulumi.Output[str]:
|
1239
|
+
"""
|
1240
|
+
System volume type of the nodes composing the pool
|
1241
|
+
"""
|
1242
|
+
return pulumi.get(self, "root_volume_type")
|
1243
|
+
|
1244
|
+
@property
|
1245
|
+
@pulumi.getter
|
1246
|
+
def size(self) -> pulumi.Output[int]:
|
1247
|
+
"""
|
1248
|
+
The size of the pool.
|
1249
|
+
|
1250
|
+
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
1251
|
+
"""
|
1252
|
+
return pulumi.get(self, "size")
|
1253
|
+
|
1254
|
+
@property
|
1255
|
+
@pulumi.getter
|
1256
|
+
def status(self) -> pulumi.Output[str]:
|
1257
|
+
"""
|
1258
|
+
The status of the node.
|
1259
|
+
"""
|
1260
|
+
return pulumi.get(self, "status")
|
1261
|
+
|
1262
|
+
@property
|
1263
|
+
@pulumi.getter
|
1264
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1265
|
+
"""
|
1266
|
+
The tags associated with the pool.
|
1267
|
+
|
1268
|
+
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
1269
|
+
"""
|
1270
|
+
return pulumi.get(self, "tags")
|
1271
|
+
|
1272
|
+
@property
|
1273
|
+
@pulumi.getter(name="updatedAt")
|
1274
|
+
def updated_at(self) -> pulumi.Output[str]:
|
1275
|
+
"""
|
1276
|
+
The last update date of the pool.
|
1277
|
+
"""
|
1278
|
+
return pulumi.get(self, "updated_at")
|
1279
|
+
|
1280
|
+
@property
|
1281
|
+
@pulumi.getter(name="upgradePolicy")
|
1282
|
+
def upgrade_policy(self) -> pulumi.Output['outputs.PoolUpgradePolicy']:
|
1283
|
+
"""
|
1284
|
+
The Pool upgrade policy
|
1285
|
+
"""
|
1286
|
+
return pulumi.get(self, "upgrade_policy")
|
1287
|
+
|
1288
|
+
@property
|
1289
|
+
@pulumi.getter
|
1290
|
+
def version(self) -> pulumi.Output[str]:
|
1291
|
+
"""
|
1292
|
+
The version of the pool.
|
1293
|
+
"""
|
1294
|
+
return pulumi.get(self, "version")
|
1295
|
+
|
1296
|
+
@property
|
1297
|
+
@pulumi.getter(name="waitForPoolReady")
|
1298
|
+
def wait_for_pool_ready(self) -> pulumi.Output[Optional[bool]]:
|
1299
|
+
"""
|
1300
|
+
Whether to wait for the pool to be ready.
|
1301
|
+
"""
|
1302
|
+
return pulumi.get(self, "wait_for_pool_ready")
|
1303
|
+
|
1304
|
+
@property
|
1305
|
+
@pulumi.getter
|
1306
|
+
def zone(self) -> pulumi.Output[str]:
|
1307
|
+
"""
|
1308
|
+
`zone`) The zone in which the pool should be created.
|
1309
|
+
|
1310
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1311
|
+
"""
|
1312
|
+
return pulumi.get(self, "zone")
|
1313
|
+
|