pulumiverse-scaleway 1.30.0a1750140900__py3-none-any.whl → 1.31.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 +38 -1
- pulumiverse_scaleway/_inputs.py +2331 -2160
- pulumiverse_scaleway/_utilities.py +1 -1
- pulumiverse_scaleway/account/__init__.py +2 -1
- pulumiverse_scaleway/account/get_availability_zones.py +9 -8
- pulumiverse_scaleway/account/get_project.py +21 -20
- pulumiverse_scaleway/account/get_projects.py +28 -21
- pulumiverse_scaleway/account/get_ssh_key.py +24 -23
- pulumiverse_scaleway/account/outputs.py +20 -19
- pulumiverse_scaleway/account/project.py +59 -57
- pulumiverse_scaleway/account/ssh_key.py +87 -85
- pulumiverse_scaleway/account_project.py +59 -57
- pulumiverse_scaleway/account_ssh_key.py +87 -85
- pulumiverse_scaleway/apple_silicon_server.py +251 -155
- pulumiverse_scaleway/applesilicon/__init__.py +2 -1
- pulumiverse_scaleway/applesilicon/_inputs.py +89 -34
- pulumiverse_scaleway/applesilicon/outputs.py +54 -21
- pulumiverse_scaleway/applesilicon/server.py +251 -155
- pulumiverse_scaleway/autoscaling/__init__.py +13 -0
- pulumiverse_scaleway/autoscaling/_inputs.py +559 -0
- pulumiverse_scaleway/autoscaling/instance_group.py +808 -0
- pulumiverse_scaleway/autoscaling/instance_policy.py +635 -0
- pulumiverse_scaleway/autoscaling/instance_template.py +879 -0
- pulumiverse_scaleway/autoscaling/outputs.py +439 -0
- pulumiverse_scaleway/baremetal_server.py +262 -260
- pulumiverse_scaleway/billing/__init__.py +2 -1
- pulumiverse_scaleway/billing/get_consumptions.py +10 -9
- pulumiverse_scaleway/billing/get_invoices.py +19 -18
- pulumiverse_scaleway/billing/outputs.py +73 -72
- pulumiverse_scaleway/block/__init__.py +2 -1
- pulumiverse_scaleway/block/_inputs.py +12 -11
- pulumiverse_scaleway/block/get_snapshot.py +29 -28
- pulumiverse_scaleway/block/get_volume.py +28 -27
- pulumiverse_scaleway/block/outputs.py +14 -13
- pulumiverse_scaleway/block/snapshot.py +73 -71
- pulumiverse_scaleway/block/volume.py +115 -113
- pulumiverse_scaleway/block_snapshot.py +73 -71
- pulumiverse_scaleway/block_volume.py +115 -113
- pulumiverse_scaleway/cockpit.py +38 -36
- pulumiverse_scaleway/cockpit_alert_manager.py +52 -50
- pulumiverse_scaleway/cockpit_grafana_user.py +59 -57
- pulumiverse_scaleway/cockpit_source.py +115 -113
- pulumiverse_scaleway/cockpit_token.py +66 -64
- pulumiverse_scaleway/config/__init__.py +2 -1
- pulumiverse_scaleway/config/__init__.pyi +2 -1
- pulumiverse_scaleway/config/vars.py +2 -1
- pulumiverse_scaleway/container.py +573 -343
- pulumiverse_scaleway/container_cron.py +80 -78
- pulumiverse_scaleway/container_domain.py +52 -50
- pulumiverse_scaleway/container_namespace.py +211 -140
- pulumiverse_scaleway/container_token.py +80 -78
- pulumiverse_scaleway/container_trigger.py +59 -57
- pulumiverse_scaleway/containers/__init__.py +2 -1
- pulumiverse_scaleway/containers/_inputs.py +72 -71
- pulumiverse_scaleway/containers/container.py +573 -343
- pulumiverse_scaleway/containers/cron.py +80 -78
- pulumiverse_scaleway/containers/domain.py +52 -50
- pulumiverse_scaleway/containers/get_container.py +87 -42
- pulumiverse_scaleway/containers/get_namespace.py +43 -31
- pulumiverse_scaleway/containers/namespace.py +211 -140
- pulumiverse_scaleway/containers/outputs.py +62 -61
- pulumiverse_scaleway/containers/token.py +80 -78
- pulumiverse_scaleway/containers/trigger.py +59 -57
- pulumiverse_scaleway/database.py +66 -64
- pulumiverse_scaleway/database_acl.py +31 -29
- pulumiverse_scaleway/database_backup.py +101 -99
- pulumiverse_scaleway/database_instance.py +297 -295
- pulumiverse_scaleway/database_privilege.py +73 -71
- pulumiverse_scaleway/database_read_replica.py +45 -43
- pulumiverse_scaleway/database_user.py +73 -71
- pulumiverse_scaleway/databases/__init__.py +2 -1
- pulumiverse_scaleway/databases/_inputs.py +191 -190
- pulumiverse_scaleway/databases/acl.py +31 -29
- pulumiverse_scaleway/databases/database.py +66 -64
- pulumiverse_scaleway/databases/database_backup.py +101 -99
- pulumiverse_scaleway/databases/get_acl.py +13 -12
- pulumiverse_scaleway/databases/get_database.py +19 -18
- pulumiverse_scaleway/databases/get_database_backup.py +34 -33
- pulumiverse_scaleway/databases/get_instance.py +43 -42
- pulumiverse_scaleway/databases/get_privilege.py +24 -23
- pulumiverse_scaleway/databases/instance.py +297 -295
- pulumiverse_scaleway/databases/outputs.py +188 -187
- pulumiverse_scaleway/databases/privilege.py +73 -71
- pulumiverse_scaleway/databases/read_replica.py +45 -43
- pulumiverse_scaleway/databases/serverless_database.py +80 -78
- pulumiverse_scaleway/databases/snapshot.py +101 -99
- pulumiverse_scaleway/databases/user.py +73 -71
- pulumiverse_scaleway/domain/__init__.py +2 -1
- pulumiverse_scaleway/domain/_inputs.py +531 -530
- pulumiverse_scaleway/domain/get_record.py +38 -37
- pulumiverse_scaleway/domain/get_zone.py +24 -23
- pulumiverse_scaleway/domain/outputs.py +358 -357
- pulumiverse_scaleway/domain/record.py +129 -127
- pulumiverse_scaleway/domain/registration.py +94 -92
- pulumiverse_scaleway/domain/zone.py +87 -85
- pulumiverse_scaleway/domain_record.py +129 -127
- pulumiverse_scaleway/domain_zone.py +87 -85
- pulumiverse_scaleway/edge_services_backend_stage.py +45 -43
- pulumiverse_scaleway/edge_services_cache_stage.py +162 -113
- pulumiverse_scaleway/edge_services_dns_stage.py +108 -106
- pulumiverse_scaleway/edge_services_head_stage.py +31 -29
- pulumiverse_scaleway/edge_services_pipeline.py +66 -64
- pulumiverse_scaleway/edge_services_plan.py +31 -29
- pulumiverse_scaleway/edge_services_route_stage.py +59 -57
- pulumiverse_scaleway/edge_services_tls_stage.py +122 -120
- pulumiverse_scaleway/edge_services_waf_stage.py +87 -85
- pulumiverse_scaleway/elasticmetal/__init__.py +2 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +123 -122
- pulumiverse_scaleway/elasticmetal/get_ip.py +56 -39
- pulumiverse_scaleway/elasticmetal/get_ips.py +24 -23
- pulumiverse_scaleway/elasticmetal/get_offer.py +29 -28
- pulumiverse_scaleway/elasticmetal/get_option.py +19 -18
- pulumiverse_scaleway/elasticmetal/get_os.py +23 -22
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +29 -28
- pulumiverse_scaleway/elasticmetal/get_server.py +39 -38
- pulumiverse_scaleway/elasticmetal/ip.py +139 -137
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +87 -85
- pulumiverse_scaleway/elasticmetal/outputs.py +233 -232
- pulumiverse_scaleway/elasticmetal/server.py +262 -260
- pulumiverse_scaleway/file_filesystem.py +552 -0
- pulumiverse_scaleway/flexible_ip.py +139 -137
- pulumiverse_scaleway/flexible_ip_mac_address.py +87 -85
- pulumiverse_scaleway/function.py +394 -284
- pulumiverse_scaleway/function_cron.py +80 -78
- pulumiverse_scaleway/function_domain.py +52 -50
- pulumiverse_scaleway/function_namespace.py +197 -126
- pulumiverse_scaleway/function_token.py +80 -78
- pulumiverse_scaleway/function_trigger.py +59 -57
- pulumiverse_scaleway/functions/__init__.py +2 -1
- pulumiverse_scaleway/functions/_inputs.py +42 -41
- pulumiverse_scaleway/functions/cron.py +80 -78
- pulumiverse_scaleway/functions/domain.py +52 -50
- pulumiverse_scaleway/functions/function.py +394 -284
- pulumiverse_scaleway/functions/get_function.py +69 -46
- pulumiverse_scaleway/functions/get_namespace.py +42 -30
- pulumiverse_scaleway/functions/namespace.py +197 -126
- pulumiverse_scaleway/functions/outputs.py +26 -25
- pulumiverse_scaleway/functions/token.py +80 -78
- pulumiverse_scaleway/functions/trigger.py +59 -57
- pulumiverse_scaleway/get_account_project.py +21 -20
- pulumiverse_scaleway/get_account_ssh_key.py +24 -23
- pulumiverse_scaleway/get_availability_zones.py +9 -8
- pulumiverse_scaleway/get_baremetal_offer.py +29 -28
- pulumiverse_scaleway/get_baremetal_option.py +19 -18
- pulumiverse_scaleway/get_baremetal_os.py +23 -22
- pulumiverse_scaleway/get_baremetal_server.py +39 -38
- pulumiverse_scaleway/get_billing_consumptions.py +10 -9
- pulumiverse_scaleway/get_billing_invoices.py +19 -18
- pulumiverse_scaleway/get_block_snapshot.py +29 -28
- pulumiverse_scaleway/get_block_volume.py +28 -27
- pulumiverse_scaleway/get_cockpit.py +10 -9
- pulumiverse_scaleway/get_cockpit_source.py +77 -33
- pulumiverse_scaleway/get_config.py +13 -12
- pulumiverse_scaleway/get_container.py +87 -42
- pulumiverse_scaleway/get_container_namespace.py +43 -31
- pulumiverse_scaleway/get_database.py +19 -18
- pulumiverse_scaleway/get_database_acl.py +13 -12
- pulumiverse_scaleway/get_database_backup.py +34 -33
- pulumiverse_scaleway/get_database_instance.py +43 -42
- pulumiverse_scaleway/get_database_privilege.py +24 -23
- pulumiverse_scaleway/get_domain_record.py +38 -37
- pulumiverse_scaleway/get_domain_zone.py +24 -23
- pulumiverse_scaleway/get_flexible_ip.py +56 -39
- pulumiverse_scaleway/get_flexible_ips.py +24 -23
- pulumiverse_scaleway/get_function.py +69 -46
- pulumiverse_scaleway/get_function_namespace.py +42 -30
- pulumiverse_scaleway/get_iam_api_key.py +17 -16
- pulumiverse_scaleway/get_iam_application.py +23 -22
- pulumiverse_scaleway/get_iam_group.py +25 -24
- pulumiverse_scaleway/get_iam_ssh_key.py +24 -23
- pulumiverse_scaleway/get_iam_user.py +23 -22
- pulumiverse_scaleway/get_instance_image.py +42 -41
- pulumiverse_scaleway/get_instance_ip.py +20 -19
- pulumiverse_scaleway/get_instance_placement_group.py +28 -27
- pulumiverse_scaleway/get_instance_private_nic.py +31 -30
- pulumiverse_scaleway/get_instance_security_group.py +31 -30
- pulumiverse_scaleway/get_instance_server.py +59 -47
- pulumiverse_scaleway/get_instance_servers.py +24 -23
- pulumiverse_scaleway/get_instance_snapshot.py +29 -28
- pulumiverse_scaleway/get_instance_volume.py +30 -29
- pulumiverse_scaleway/get_iot_device.py +31 -30
- pulumiverse_scaleway/get_iot_hub.py +39 -38
- pulumiverse_scaleway/get_ipam_ip.py +51 -50
- pulumiverse_scaleway/get_ipam_ips.py +44 -43
- pulumiverse_scaleway/get_k8s_version.py +16 -15
- pulumiverse_scaleway/get_kubernetes_cluster.py +39 -38
- pulumiverse_scaleway/get_kubernetes_node_pool.py +59 -47
- pulumiverse_scaleway/get_lb_acls.py +22 -21
- pulumiverse_scaleway/get_lb_backend.py +43 -42
- pulumiverse_scaleway/get_lb_backends.py +22 -21
- pulumiverse_scaleway/get_lb_frontend.py +26 -25
- pulumiverse_scaleway/get_lb_frontends.py +22 -21
- pulumiverse_scaleway/get_lb_ips.py +29 -28
- pulumiverse_scaleway/get_lb_route.py +16 -15
- pulumiverse_scaleway/get_lb_routes.py +17 -16
- pulumiverse_scaleway/get_lbs.py +24 -23
- pulumiverse_scaleway/get_loadbalancer.py +36 -35
- pulumiverse_scaleway/get_loadbalancer_certificate.py +24 -23
- pulumiverse_scaleway/get_loadbalancer_ip.py +29 -28
- pulumiverse_scaleway/get_marketplace_image.py +23 -22
- pulumiverse_scaleway/get_mnq_sns.py +14 -13
- pulumiverse_scaleway/get_mnq_sqs.py +14 -13
- pulumiverse_scaleway/get_mongo_db_instance.py +35 -34
- pulumiverse_scaleway/get_object_bucket.py +22 -21
- pulumiverse_scaleway/get_object_bucket_policy.py +17 -16
- pulumiverse_scaleway/get_redis_cluster.py +34 -33
- pulumiverse_scaleway/get_registry_image.py +37 -36
- pulumiverse_scaleway/get_registry_image_tag.py +33 -32
- pulumiverse_scaleway/get_registry_namespace.py +27 -26
- pulumiverse_scaleway/get_secret.py +41 -40
- pulumiverse_scaleway/get_secret_version.py +34 -33
- pulumiverse_scaleway/get_tem_domain.py +43 -42
- pulumiverse_scaleway/get_vpc.py +47 -35
- pulumiverse_scaleway/get_vpc_gateway_network.py +28 -27
- pulumiverse_scaleway/get_vpc_private_network.py +44 -32
- pulumiverse_scaleway/get_vpc_public_gateway.py +36 -35
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +24 -23
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +33 -32
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +14 -13
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +21 -20
- pulumiverse_scaleway/get_vpc_routes.py +38 -37
- pulumiverse_scaleway/get_vpcs.py +24 -23
- pulumiverse_scaleway/get_web_host_offer.py +25 -24
- pulumiverse_scaleway/get_webhosting.py +36 -35
- pulumiverse_scaleway/hosting/__init__.py +2 -1
- pulumiverse_scaleway/hosting/_inputs.py +61 -60
- pulumiverse_scaleway/hosting/get_hosting.py +36 -35
- pulumiverse_scaleway/hosting/get_offer.py +25 -24
- pulumiverse_scaleway/hosting/hosting.py +164 -162
- pulumiverse_scaleway/hosting/outputs.py +139 -138
- pulumiverse_scaleway/iam/__init__.py +2 -1
- pulumiverse_scaleway/iam/_inputs.py +22 -21
- pulumiverse_scaleway/iam/api_key.py +115 -113
- pulumiverse_scaleway/iam/application.py +80 -78
- pulumiverse_scaleway/iam/get_api_key.py +17 -16
- pulumiverse_scaleway/iam/get_application.py +23 -22
- pulumiverse_scaleway/iam/get_group.py +25 -24
- pulumiverse_scaleway/iam/get_ssh_key.py +24 -23
- pulumiverse_scaleway/iam/get_user.py +23 -22
- pulumiverse_scaleway/iam/group.py +115 -113
- pulumiverse_scaleway/iam/group_membership.py +45 -43
- pulumiverse_scaleway/iam/outputs.py +14 -13
- pulumiverse_scaleway/iam/policy.py +136 -134
- pulumiverse_scaleway/iam/ssh_key.py +87 -85
- pulumiverse_scaleway/iam/user.py +284 -273
- pulumiverse_scaleway/iam_api_key.py +115 -113
- pulumiverse_scaleway/iam_application.py +80 -78
- pulumiverse_scaleway/iam_group.py +115 -113
- pulumiverse_scaleway/iam_group_membership.py +45 -43
- pulumiverse_scaleway/iam_policy.py +136 -134
- pulumiverse_scaleway/iam_ssh_key.py +87 -85
- pulumiverse_scaleway/iam_user.py +284 -273
- pulumiverse_scaleway/inference/__init__.py +2 -1
- pulumiverse_scaleway/inference/_inputs.py +116 -61
- pulumiverse_scaleway/inference/deployment.py +225 -176
- pulumiverse_scaleway/inference/get_model.py +27 -26
- pulumiverse_scaleway/inference/model.py +129 -127
- pulumiverse_scaleway/inference/outputs.py +82 -49
- pulumiverse_scaleway/inference_deployment.py +225 -176
- pulumiverse_scaleway/instance/__init__.py +2 -1
- pulumiverse_scaleway/instance/_inputs.py +296 -295
- pulumiverse_scaleway/instance/get_image.py +42 -41
- pulumiverse_scaleway/instance/get_ip.py +20 -19
- pulumiverse_scaleway/instance/get_placement_group.py +28 -27
- pulumiverse_scaleway/instance/get_private_nic.py +31 -30
- pulumiverse_scaleway/instance/get_security_group.py +31 -30
- pulumiverse_scaleway/instance/get_server.py +59 -47
- pulumiverse_scaleway/instance/get_servers.py +24 -23
- pulumiverse_scaleway/instance/get_snapshot.py +29 -28
- pulumiverse_scaleway/instance/get_volume.py +30 -29
- pulumiverse_scaleway/instance/image.py +150 -148
- pulumiverse_scaleway/instance/ip.py +94 -92
- pulumiverse_scaleway/instance/ip_reverse_dns.py +45 -43
- pulumiverse_scaleway/instance/outputs.py +349 -348
- pulumiverse_scaleway/instance/placement_group.py +101 -99
- pulumiverse_scaleway/instance/private_nic.py +94 -92
- pulumiverse_scaleway/instance/security_group.py +150 -148
- pulumiverse_scaleway/instance/security_group_rules.py +17 -15
- pulumiverse_scaleway/instance/server.py +393 -330
- pulumiverse_scaleway/instance/snapshot.py +108 -106
- pulumiverse_scaleway/instance/user_data.py +59 -57
- pulumiverse_scaleway/instance/volume.py +129 -127
- pulumiverse_scaleway/instance_image.py +150 -148
- pulumiverse_scaleway/instance_ip.py +94 -92
- pulumiverse_scaleway/instance_ip_reverse_dns.py +45 -43
- pulumiverse_scaleway/instance_placement_group.py +101 -99
- pulumiverse_scaleway/instance_private_nic.py +94 -92
- pulumiverse_scaleway/instance_security_group.py +150 -148
- pulumiverse_scaleway/instance_security_group_rules.py +17 -15
- pulumiverse_scaleway/instance_server.py +393 -330
- pulumiverse_scaleway/instance_snapshot.py +108 -106
- pulumiverse_scaleway/instance_user_data.py +59 -57
- pulumiverse_scaleway/instance_volume.py +129 -127
- pulumiverse_scaleway/iot/__init__.py +2 -1
- pulumiverse_scaleway/iot/_inputs.py +98 -97
- pulumiverse_scaleway/iot/device.py +122 -120
- pulumiverse_scaleway/iot/get_device.py +31 -30
- pulumiverse_scaleway/iot/get_hub.py +39 -38
- pulumiverse_scaleway/iot/hub.py +206 -204
- pulumiverse_scaleway/iot/network.py +94 -92
- pulumiverse_scaleway/iot/outputs.py +78 -77
- pulumiverse_scaleway/iot/route.py +66 -64
- pulumiverse_scaleway/iot_device.py +122 -120
- pulumiverse_scaleway/iot_hub.py +206 -204
- pulumiverse_scaleway/iot_network.py +94 -92
- pulumiverse_scaleway/iot_route.py +66 -64
- pulumiverse_scaleway/ipam/__init__.py +2 -1
- pulumiverse_scaleway/ipam/_inputs.py +87 -86
- pulumiverse_scaleway/ipam/get_ip.py +51 -50
- pulumiverse_scaleway/ipam/get_ips.py +44 -43
- pulumiverse_scaleway/ipam/ip.py +94 -92
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +59 -57
- pulumiverse_scaleway/ipam/outputs.py +90 -89
- pulumiverse_scaleway/ipam_ip.py +94 -92
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +59 -57
- pulumiverse_scaleway/job/__init__.py +2 -1
- pulumiverse_scaleway/job/_inputs.py +38 -37
- pulumiverse_scaleway/job/definition.py +143 -141
- pulumiverse_scaleway/job/outputs.py +24 -23
- pulumiverse_scaleway/job_definition.py +143 -141
- pulumiverse_scaleway/kubernetes/__init__.py +2 -1
- pulumiverse_scaleway/kubernetes/_inputs.py +190 -189
- pulumiverse_scaleway/kubernetes/acl.py +45 -43
- pulumiverse_scaleway/kubernetes/cluster.py +234 -232
- pulumiverse_scaleway/kubernetes/get_cluster.py +39 -38
- pulumiverse_scaleway/kubernetes/get_pool.py +59 -47
- pulumiverse_scaleway/kubernetes/get_version.py +16 -15
- pulumiverse_scaleway/kubernetes/outputs.py +217 -216
- pulumiverse_scaleway/kubernetes/pool.py +351 -288
- pulumiverse_scaleway/kubernetes_cluster.py +234 -232
- pulumiverse_scaleway/kubernetes_node_pool.py +351 -288
- pulumiverse_scaleway/loadbalancer.py +199 -197
- pulumiverse_scaleway/loadbalancer_acl.py +80 -78
- pulumiverse_scaleway/loadbalancer_backend.py +381 -379
- pulumiverse_scaleway/loadbalancer_certificate.py +73 -71
- pulumiverse_scaleway/loadbalancer_frontend.py +136 -134
- pulumiverse_scaleway/loadbalancer_ip.py +101 -99
- pulumiverse_scaleway/loadbalancer_route.py +101 -99
- pulumiverse_scaleway/loadbalancers/__init__.py +2 -1
- pulumiverse_scaleway/loadbalancers/_inputs.py +263 -222
- pulumiverse_scaleway/loadbalancers/acl.py +80 -78
- pulumiverse_scaleway/loadbalancers/backend.py +381 -379
- pulumiverse_scaleway/loadbalancers/certificate.py +73 -71
- pulumiverse_scaleway/loadbalancers/frontend.py +136 -134
- pulumiverse_scaleway/loadbalancers/get_acls.py +22 -21
- pulumiverse_scaleway/loadbalancers/get_backend.py +43 -42
- pulumiverse_scaleway/loadbalancers/get_backends.py +22 -21
- pulumiverse_scaleway/loadbalancers/get_certificate.py +24 -23
- pulumiverse_scaleway/loadbalancers/get_frontend.py +26 -25
- pulumiverse_scaleway/loadbalancers/get_frontends.py +22 -21
- pulumiverse_scaleway/loadbalancers/get_ip.py +29 -28
- pulumiverse_scaleway/loadbalancers/get_ips.py +29 -28
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +36 -35
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +24 -23
- pulumiverse_scaleway/loadbalancers/get_route.py +16 -15
- pulumiverse_scaleway/loadbalancers/get_routes.py +17 -16
- pulumiverse_scaleway/loadbalancers/ip.py +101 -99
- pulumiverse_scaleway/loadbalancers/load_balancer.py +199 -197
- pulumiverse_scaleway/loadbalancers/outputs.py +581 -530
- pulumiverse_scaleway/loadbalancers/route.py +101 -99
- pulumiverse_scaleway/mnq/__init__.py +2 -1
- pulumiverse_scaleway/mnq/_inputs.py +32 -31
- pulumiverse_scaleway/mnq/get_sns.py +14 -13
- pulumiverse_scaleway/mnq/get_sqs.py +14 -13
- pulumiverse_scaleway/mnq/nats_account.py +52 -50
- pulumiverse_scaleway/mnq/nats_credentials.py +52 -50
- pulumiverse_scaleway/mnq/outputs.py +20 -19
- pulumiverse_scaleway/mnq/sns.py +38 -36
- pulumiverse_scaleway/mnq/sns_credentials.py +59 -57
- pulumiverse_scaleway/mnq/sns_topic.py +143 -141
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +150 -148
- pulumiverse_scaleway/mnq/sqs.py +38 -36
- pulumiverse_scaleway/mnq/sqs_credentials.py +59 -57
- pulumiverse_scaleway/mnq/sqs_queue.py +192 -190
- pulumiverse_scaleway/mnq_nats_account.py +52 -50
- pulumiverse_scaleway/mnq_nats_credentials.py +52 -50
- pulumiverse_scaleway/mnq_sns.py +38 -36
- pulumiverse_scaleway/mnq_sns_credentials.py +59 -57
- pulumiverse_scaleway/mnq_sns_topic.py +143 -141
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +150 -148
- pulumiverse_scaleway/mnq_sqs.py +38 -36
- pulumiverse_scaleway/mnq_sqs_credentials.py +59 -57
- pulumiverse_scaleway/mnq_sqs_queue.py +192 -190
- pulumiverse_scaleway/mongo_db_instance.py +199 -197
- pulumiverse_scaleway/mongo_db_snapshot.py +101 -99
- pulumiverse_scaleway/mongodb/__init__.py +2 -1
- pulumiverse_scaleway/mongodb/_inputs.py +53 -52
- pulumiverse_scaleway/mongodb/get_instance.py +35 -34
- pulumiverse_scaleway/mongodb/instance.py +199 -197
- pulumiverse_scaleway/mongodb/outputs.py +64 -63
- pulumiverse_scaleway/mongodb/snapshot.py +101 -99
- pulumiverse_scaleway/network/__init__.py +2 -1
- pulumiverse_scaleway/network/_inputs.py +140 -139
- pulumiverse_scaleway/network/acl.py +59 -57
- pulumiverse_scaleway/network/gateway_network.py +143 -141
- pulumiverse_scaleway/network/get_gateway_network.py +28 -27
- pulumiverse_scaleway/network/get_private_network.py +44 -32
- pulumiverse_scaleway/network/get_public_gateway.py +36 -35
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +24 -23
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +33 -32
- pulumiverse_scaleway/network/get_public_gateway_ip.py +14 -13
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +21 -20
- pulumiverse_scaleway/network/get_routes.py +38 -37
- pulumiverse_scaleway/network/get_vpc.py +47 -35
- pulumiverse_scaleway/network/get_vpcs.py +24 -23
- pulumiverse_scaleway/network/outputs.py +206 -205
- pulumiverse_scaleway/network/private_network.py +170 -121
- pulumiverse_scaleway/network/public_gateway.py +213 -211
- pulumiverse_scaleway/network/public_gateway_dhcp.py +234 -232
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +87 -85
- pulumiverse_scaleway/network/public_gateway_ip.py +87 -85
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +45 -43
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +108 -106
- pulumiverse_scaleway/network/route.py +115 -113
- pulumiverse_scaleway/network/vpc.py +149 -100
- pulumiverse_scaleway/object/__init__.py +2 -1
- pulumiverse_scaleway/object/_inputs.py +157 -134
- pulumiverse_scaleway/object/bucket.py +115 -113
- pulumiverse_scaleway/object/bucket_acl.py +79 -75
- pulumiverse_scaleway/object/bucket_lock_configuration.py +45 -43
- pulumiverse_scaleway/object/bucket_policy.py +59 -57
- pulumiverse_scaleway/object/bucket_website_configuration.py +85 -65
- pulumiverse_scaleway/object/get_bucket.py +22 -21
- pulumiverse_scaleway/object/get_bucket_policy.py +17 -16
- pulumiverse_scaleway/object/item.py +232 -183
- pulumiverse_scaleway/object/outputs.py +133 -118
- pulumiverse_scaleway/object_bucket.py +115 -113
- pulumiverse_scaleway/object_bucket_acl.py +79 -75
- pulumiverse_scaleway/object_bucket_lock_configuration.py +45 -43
- pulumiverse_scaleway/object_bucket_policy.py +59 -57
- pulumiverse_scaleway/object_bucket_website_configuration.py +85 -65
- pulumiverse_scaleway/object_item.py +232 -183
- pulumiverse_scaleway/observability/__init__.py +2 -1
- pulumiverse_scaleway/observability/_inputs.py +89 -88
- pulumiverse_scaleway/observability/alert_manager.py +52 -50
- pulumiverse_scaleway/observability/cockpit.py +38 -36
- pulumiverse_scaleway/observability/get_instance.py +10 -9
- pulumiverse_scaleway/observability/get_source.py +77 -33
- pulumiverse_scaleway/observability/grafana_user.py +59 -57
- pulumiverse_scaleway/observability/outputs.py +77 -76
- pulumiverse_scaleway/observability/source.py +115 -113
- pulumiverse_scaleway/observability/token.py +66 -64
- pulumiverse_scaleway/outputs.py +2870 -2741
- pulumiverse_scaleway/provider.py +87 -65
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +101 -99
- pulumiverse_scaleway/redis/__init__.py +2 -1
- pulumiverse_scaleway/redis/_inputs.py +63 -62
- pulumiverse_scaleway/redis/cluster.py +178 -176
- pulumiverse_scaleway/redis/get_cluster.py +34 -33
- pulumiverse_scaleway/redis/outputs.py +74 -73
- pulumiverse_scaleway/redis_cluster.py +178 -176
- pulumiverse_scaleway/registry/__init__.py +2 -1
- pulumiverse_scaleway/registry/get_image.py +37 -36
- pulumiverse_scaleway/registry/get_image_tag.py +33 -32
- pulumiverse_scaleway/registry/get_namespace.py +27 -26
- pulumiverse_scaleway/registry/namespace.py +87 -85
- pulumiverse_scaleway/registry_namespace.py +87 -85
- pulumiverse_scaleway/sdb_database.py +80 -78
- pulumiverse_scaleway/secret.py +143 -141
- pulumiverse_scaleway/secret_version.py +87 -85
- pulumiverse_scaleway/secrets/__init__.py +2 -1
- pulumiverse_scaleway/secrets/_inputs.py +53 -52
- pulumiverse_scaleway/secrets/get_secret.py +41 -40
- pulumiverse_scaleway/secrets/get_version.py +34 -33
- pulumiverse_scaleway/secrets/outputs.py +64 -63
- pulumiverse_scaleway/secrets/secret.py +143 -141
- pulumiverse_scaleway/secrets/version.py +87 -85
- pulumiverse_scaleway/tem/__init__.py +2 -1
- pulumiverse_scaleway/tem/_inputs.py +28 -27
- pulumiverse_scaleway/tem/blocked_list.py +87 -85
- pulumiverse_scaleway/tem/domain.py +199 -197
- pulumiverse_scaleway/tem/domain_validation.py +52 -50
- pulumiverse_scaleway/tem/get_domain.py +43 -42
- pulumiverse_scaleway/tem/get_offer_subscription.py +22 -21
- pulumiverse_scaleway/tem/outputs.py +34 -33
- pulumiverse_scaleway/tem/webhook.py +108 -106
- pulumiverse_scaleway/tem_domain.py +199 -197
- pulumiverse_scaleway/tem_domain_validation.py +52 -50
- pulumiverse_scaleway/tem_webhook.py +108 -106
- pulumiverse_scaleway/vpc.py +149 -100
- pulumiverse_scaleway/vpc_gateway_network.py +143 -141
- pulumiverse_scaleway/vpc_private_network.py +170 -121
- pulumiverse_scaleway/vpc_public_gateway.py +213 -211
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +234 -232
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +87 -85
- pulumiverse_scaleway/vpc_public_gateway_ip.py +87 -85
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +45 -43
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +108 -106
- pulumiverse_scaleway/vpc_route.py +115 -113
- pulumiverse_scaleway/webhosting.py +164 -162
- {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/METADATA +2 -2
- pulumiverse_scaleway-1.31.0.dist-info/RECORD +496 -0
- pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +0 -177
- pulumiverse_scaleway/get_cockpit_plan.py +0 -94
- pulumiverse_scaleway/observability/get_plan.py +0 -90
- pulumiverse_scaleway-1.30.0a1750140900.dist-info/RECORD +0 -492
- {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.31.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,62 +22,66 @@ __all__ = ['PoolArgs', 'Pool']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class PoolArgs:
|
23
24
|
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
|
-
|
25
|
+
cluster_id: pulumi.Input[builtins.str],
|
26
|
+
node_type: pulumi.Input[builtins.str],
|
27
|
+
size: pulumi.Input[builtins.int],
|
28
|
+
autohealing: Optional[pulumi.Input[builtins.bool]] = None,
|
29
|
+
autoscaling: Optional[pulumi.Input[builtins.bool]] = None,
|
30
|
+
container_runtime: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
32
|
+
max_size: Optional[pulumi.Input[builtins.int]] = None,
|
33
|
+
min_size: Optional[pulumi.Input[builtins.int]] = None,
|
34
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
35
|
+
placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
36
|
+
public_ip_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
37
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
38
|
+
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
39
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
40
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
41
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
40
42
|
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
|
+
wait_for_pool_ready: Optional[pulumi.Input[builtins.bool]] = None,
|
44
|
+
zone: Optional[pulumi.Input[builtins.str]] = None):
|
43
45
|
"""
|
44
46
|
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
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
48
|
+
:param pulumi.Input[builtins.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
49
|
|
48
50
|
> **Important:** Updates to this field will recreate a new resource.
|
49
|
-
:param pulumi.Input[int] size: The size of the pool.
|
51
|
+
:param pulumi.Input[builtins.int] size: The size of the pool.
|
50
52
|
|
51
53
|
> **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
|
+
:param pulumi.Input[builtins.bool] autohealing: Enables the autohealing feature for this pool.
|
55
|
+
:param pulumi.Input[builtins.bool] autoscaling: Enables the autoscaling feature for this pool.
|
54
56
|
|
55
57
|
> **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.
|
58
|
+
:param pulumi.Input[builtins.str] container_runtime: The container runtime of the pool.
|
57
59
|
|
58
60
|
> **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.
|
61
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
62
|
+
:param pulumi.Input[builtins.int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
63
|
+
:param pulumi.Input[builtins.int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
64
|
+
:param pulumi.Input[builtins.str] name: The name for the pool.
|
63
65
|
|
64
66
|
> **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.
|
67
|
+
:param pulumi.Input[builtins.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
68
|
|
67
69
|
> **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.
|
70
|
+
:param pulumi.Input[builtins.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
71
|
|
70
72
|
> **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[
|
73
|
+
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
74
|
+
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
75
|
+
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
76
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
77
|
+
|
78
|
+
> **Important:** Updates to this field will recreate a new resource.
|
79
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the pool.
|
75
80
|
|
76
81
|
> 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
82
|
: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.
|
83
|
+
:param pulumi.Input[builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
84
|
+
:param pulumi.Input[builtins.str] zone: `zone`) The zone in which the pool should be created.
|
80
85
|
|
81
86
|
> **Important:** Updates to this field will recreate a new resource.
|
82
87
|
"""
|
@@ -107,6 +112,8 @@ class PoolArgs:
|
|
107
112
|
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
108
113
|
if root_volume_type is not None:
|
109
114
|
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
115
|
+
if security_group_id is not None:
|
116
|
+
pulumi.set(__self__, "security_group_id", security_group_id)
|
110
117
|
if tags is not None:
|
111
118
|
pulumi.set(__self__, "tags", tags)
|
112
119
|
if upgrade_policy is not None:
|
@@ -118,19 +125,19 @@ class PoolArgs:
|
|
118
125
|
|
119
126
|
@property
|
120
127
|
@pulumi.getter(name="clusterId")
|
121
|
-
def cluster_id(self) -> pulumi.Input[str]:
|
128
|
+
def cluster_id(self) -> pulumi.Input[builtins.str]:
|
122
129
|
"""
|
123
130
|
The ID of the Kubernetes cluster on which this pool will be created.
|
124
131
|
"""
|
125
132
|
return pulumi.get(self, "cluster_id")
|
126
133
|
|
127
134
|
@cluster_id.setter
|
128
|
-
def cluster_id(self, value: pulumi.Input[str]):
|
135
|
+
def cluster_id(self, value: pulumi.Input[builtins.str]):
|
129
136
|
pulumi.set(self, "cluster_id", value)
|
130
137
|
|
131
138
|
@property
|
132
139
|
@pulumi.getter(name="nodeType")
|
133
|
-
def node_type(self) -> pulumi.Input[str]:
|
140
|
+
def node_type(self) -> pulumi.Input[builtins.str]:
|
134
141
|
"""
|
135
142
|
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
143
|
|
@@ -139,12 +146,12 @@ class PoolArgs:
|
|
139
146
|
return pulumi.get(self, "node_type")
|
140
147
|
|
141
148
|
@node_type.setter
|
142
|
-
def node_type(self, value: pulumi.Input[str]):
|
149
|
+
def node_type(self, value: pulumi.Input[builtins.str]):
|
143
150
|
pulumi.set(self, "node_type", value)
|
144
151
|
|
145
152
|
@property
|
146
153
|
@pulumi.getter
|
147
|
-
def size(self) -> pulumi.Input[int]:
|
154
|
+
def size(self) -> pulumi.Input[builtins.int]:
|
148
155
|
"""
|
149
156
|
The size of the pool.
|
150
157
|
|
@@ -153,24 +160,24 @@ class PoolArgs:
|
|
153
160
|
return pulumi.get(self, "size")
|
154
161
|
|
155
162
|
@size.setter
|
156
|
-
def size(self, value: pulumi.Input[int]):
|
163
|
+
def size(self, value: pulumi.Input[builtins.int]):
|
157
164
|
pulumi.set(self, "size", value)
|
158
165
|
|
159
166
|
@property
|
160
167
|
@pulumi.getter
|
161
|
-
def autohealing(self) -> Optional[pulumi.Input[bool]]:
|
168
|
+
def autohealing(self) -> Optional[pulumi.Input[builtins.bool]]:
|
162
169
|
"""
|
163
170
|
Enables the autohealing feature for this pool.
|
164
171
|
"""
|
165
172
|
return pulumi.get(self, "autohealing")
|
166
173
|
|
167
174
|
@autohealing.setter
|
168
|
-
def autohealing(self, value: Optional[pulumi.Input[bool]]):
|
175
|
+
def autohealing(self, value: Optional[pulumi.Input[builtins.bool]]):
|
169
176
|
pulumi.set(self, "autohealing", value)
|
170
177
|
|
171
178
|
@property
|
172
179
|
@pulumi.getter
|
173
|
-
def autoscaling(self) -> Optional[pulumi.Input[bool]]:
|
180
|
+
def autoscaling(self) -> Optional[pulumi.Input[builtins.bool]]:
|
174
181
|
"""
|
175
182
|
Enables the autoscaling feature for this pool.
|
176
183
|
|
@@ -179,12 +186,12 @@ class PoolArgs:
|
|
179
186
|
return pulumi.get(self, "autoscaling")
|
180
187
|
|
181
188
|
@autoscaling.setter
|
182
|
-
def autoscaling(self, value: Optional[pulumi.Input[bool]]):
|
189
|
+
def autoscaling(self, value: Optional[pulumi.Input[builtins.bool]]):
|
183
190
|
pulumi.set(self, "autoscaling", value)
|
184
191
|
|
185
192
|
@property
|
186
193
|
@pulumi.getter(name="containerRuntime")
|
187
|
-
def container_runtime(self) -> Optional[pulumi.Input[str]]:
|
194
|
+
def container_runtime(self) -> Optional[pulumi.Input[builtins.str]]:
|
188
195
|
"""
|
189
196
|
The container runtime of the pool.
|
190
197
|
|
@@ -193,48 +200,48 @@ class PoolArgs:
|
|
193
200
|
return pulumi.get(self, "container_runtime")
|
194
201
|
|
195
202
|
@container_runtime.setter
|
196
|
-
def container_runtime(self, value: Optional[pulumi.Input[str]]):
|
203
|
+
def container_runtime(self, value: Optional[pulumi.Input[builtins.str]]):
|
197
204
|
pulumi.set(self, "container_runtime", value)
|
198
205
|
|
199
206
|
@property
|
200
207
|
@pulumi.getter(name="kubeletArgs")
|
201
|
-
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
208
|
+
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
202
209
|
"""
|
203
210
|
The Kubelet arguments to be used by this pool
|
204
211
|
"""
|
205
212
|
return pulumi.get(self, "kubelet_args")
|
206
213
|
|
207
214
|
@kubelet_args.setter
|
208
|
-
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
215
|
+
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
209
216
|
pulumi.set(self, "kubelet_args", value)
|
210
217
|
|
211
218
|
@property
|
212
219
|
@pulumi.getter(name="maxSize")
|
213
|
-
def max_size(self) -> Optional[pulumi.Input[int]]:
|
220
|
+
def max_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
214
221
|
"""
|
215
222
|
The maximum size of the pool, used by the autoscaling feature.
|
216
223
|
"""
|
217
224
|
return pulumi.get(self, "max_size")
|
218
225
|
|
219
226
|
@max_size.setter
|
220
|
-
def max_size(self, value: Optional[pulumi.Input[int]]):
|
227
|
+
def max_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
221
228
|
pulumi.set(self, "max_size", value)
|
222
229
|
|
223
230
|
@property
|
224
231
|
@pulumi.getter(name="minSize")
|
225
|
-
def min_size(self) -> Optional[pulumi.Input[int]]:
|
232
|
+
def min_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
226
233
|
"""
|
227
234
|
The minimum size of the pool, used by the autoscaling feature.
|
228
235
|
"""
|
229
236
|
return pulumi.get(self, "min_size")
|
230
237
|
|
231
238
|
@min_size.setter
|
232
|
-
def min_size(self, value: Optional[pulumi.Input[int]]):
|
239
|
+
def min_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
233
240
|
pulumi.set(self, "min_size", value)
|
234
241
|
|
235
242
|
@property
|
236
243
|
@pulumi.getter
|
237
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
244
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
238
245
|
"""
|
239
246
|
The name for the pool.
|
240
247
|
|
@@ -243,12 +250,12 @@ class PoolArgs:
|
|
243
250
|
return pulumi.get(self, "name")
|
244
251
|
|
245
252
|
@name.setter
|
246
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
253
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
247
254
|
pulumi.set(self, "name", value)
|
248
255
|
|
249
256
|
@property
|
250
257
|
@pulumi.getter(name="placementGroupId")
|
251
|
-
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
258
|
+
def placement_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
252
259
|
"""
|
253
260
|
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
261
|
|
@@ -257,12 +264,12 @@ class PoolArgs:
|
|
257
264
|
return pulumi.get(self, "placement_group_id")
|
258
265
|
|
259
266
|
@placement_group_id.setter
|
260
|
-
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
267
|
+
def placement_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
261
268
|
pulumi.set(self, "placement_group_id", value)
|
262
269
|
|
263
270
|
@property
|
264
271
|
@pulumi.getter(name="publicIpDisabled")
|
265
|
-
def public_ip_disabled(self) -> Optional[pulumi.Input[bool]]:
|
272
|
+
def public_ip_disabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
266
273
|
"""
|
267
274
|
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
275
|
|
@@ -271,48 +278,62 @@ class PoolArgs:
|
|
271
278
|
return pulumi.get(self, "public_ip_disabled")
|
272
279
|
|
273
280
|
@public_ip_disabled.setter
|
274
|
-
def public_ip_disabled(self, value: Optional[pulumi.Input[bool]]):
|
281
|
+
def public_ip_disabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
275
282
|
pulumi.set(self, "public_ip_disabled", value)
|
276
283
|
|
277
284
|
@property
|
278
285
|
@pulumi.getter
|
279
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
286
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
280
287
|
"""
|
281
288
|
`region`) The region in which the pool should be created.
|
282
289
|
"""
|
283
290
|
return pulumi.get(self, "region")
|
284
291
|
|
285
292
|
@region.setter
|
286
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
293
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
287
294
|
pulumi.set(self, "region", value)
|
288
295
|
|
289
296
|
@property
|
290
297
|
@pulumi.getter(name="rootVolumeSizeInGb")
|
291
|
-
def root_volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
298
|
+
def root_volume_size_in_gb(self) -> Optional[pulumi.Input[builtins.int]]:
|
292
299
|
"""
|
293
300
|
The size of the system volume of the nodes in gigabyte
|
294
301
|
"""
|
295
302
|
return pulumi.get(self, "root_volume_size_in_gb")
|
296
303
|
|
297
304
|
@root_volume_size_in_gb.setter
|
298
|
-
def root_volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
|
305
|
+
def root_volume_size_in_gb(self, value: Optional[pulumi.Input[builtins.int]]):
|
299
306
|
pulumi.set(self, "root_volume_size_in_gb", value)
|
300
307
|
|
301
308
|
@property
|
302
309
|
@pulumi.getter(name="rootVolumeType")
|
303
|
-
def root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
310
|
+
def root_volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
304
311
|
"""
|
305
312
|
System volume type of the nodes composing the pool
|
306
313
|
"""
|
307
314
|
return pulumi.get(self, "root_volume_type")
|
308
315
|
|
309
316
|
@root_volume_type.setter
|
310
|
-
def root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
317
|
+
def root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
311
318
|
pulumi.set(self, "root_volume_type", value)
|
312
319
|
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="securityGroupId")
|
322
|
+
def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
323
|
+
"""
|
324
|
+
The ID of the security group
|
325
|
+
|
326
|
+
> **Important:** Updates to this field will recreate a new resource.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "security_group_id")
|
329
|
+
|
330
|
+
@security_group_id.setter
|
331
|
+
def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
332
|
+
pulumi.set(self, "security_group_id", value)
|
333
|
+
|
313
334
|
@property
|
314
335
|
@pulumi.getter
|
315
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
336
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
316
337
|
"""
|
317
338
|
The tags associated with the pool.
|
318
339
|
|
@@ -321,7 +342,7 @@ class PoolArgs:
|
|
321
342
|
return pulumi.get(self, "tags")
|
322
343
|
|
323
344
|
@tags.setter
|
324
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
345
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
325
346
|
pulumi.set(self, "tags", value)
|
326
347
|
|
327
348
|
@property
|
@@ -338,19 +359,19 @@ class PoolArgs:
|
|
338
359
|
|
339
360
|
@property
|
340
361
|
@pulumi.getter(name="waitForPoolReady")
|
341
|
-
def wait_for_pool_ready(self) -> Optional[pulumi.Input[bool]]:
|
362
|
+
def wait_for_pool_ready(self) -> Optional[pulumi.Input[builtins.bool]]:
|
342
363
|
"""
|
343
364
|
Whether to wait for the pool to be ready.
|
344
365
|
"""
|
345
366
|
return pulumi.get(self, "wait_for_pool_ready")
|
346
367
|
|
347
368
|
@wait_for_pool_ready.setter
|
348
|
-
def wait_for_pool_ready(self, value: Optional[pulumi.Input[bool]]):
|
369
|
+
def wait_for_pool_ready(self, value: Optional[pulumi.Input[builtins.bool]]):
|
349
370
|
pulumi.set(self, "wait_for_pool_ready", value)
|
350
371
|
|
351
372
|
@property
|
352
373
|
@pulumi.getter
|
353
|
-
def zone(self) -> Optional[pulumi.Input[str]]:
|
374
|
+
def zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
354
375
|
"""
|
355
376
|
`zone`) The zone in which the pool should be created.
|
356
377
|
|
@@ -359,81 +380,85 @@ class PoolArgs:
|
|
359
380
|
return pulumi.get(self, "zone")
|
360
381
|
|
361
382
|
@zone.setter
|
362
|
-
def zone(self, value: Optional[pulumi.Input[str]]):
|
383
|
+
def zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
363
384
|
pulumi.set(self, "zone", value)
|
364
385
|
|
365
386
|
|
366
387
|
@pulumi.input_type
|
367
388
|
class _PoolState:
|
368
389
|
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,
|
390
|
+
autohealing: Optional[pulumi.Input[builtins.bool]] = None,
|
391
|
+
autoscaling: Optional[pulumi.Input[builtins.bool]] = None,
|
392
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
393
|
+
container_runtime: Optional[pulumi.Input[builtins.str]] = None,
|
394
|
+
created_at: Optional[pulumi.Input[builtins.str]] = None,
|
395
|
+
current_size: Optional[pulumi.Input[builtins.int]] = None,
|
396
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
397
|
+
max_size: Optional[pulumi.Input[builtins.int]] = None,
|
398
|
+
min_size: Optional[pulumi.Input[builtins.int]] = None,
|
399
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
400
|
+
node_type: Optional[pulumi.Input[builtins.str]] = None,
|
380
401
|
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
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
402
|
+
placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
403
|
+
public_ip_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
404
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
405
|
+
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
406
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
407
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
408
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
409
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
410
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
411
|
+
updated_at: Optional[pulumi.Input[builtins.str]] = None,
|
390
412
|
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):
|
413
|
+
version: Optional[pulumi.Input[builtins.str]] = None,
|
414
|
+
wait_for_pool_ready: Optional[pulumi.Input[builtins.bool]] = None,
|
415
|
+
zone: Optional[pulumi.Input[builtins.str]] = None):
|
394
416
|
"""
|
395
417
|
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.
|
418
|
+
:param pulumi.Input[builtins.bool] autohealing: Enables the autohealing feature for this pool.
|
419
|
+
:param pulumi.Input[builtins.bool] autoscaling: Enables the autoscaling feature for this pool.
|
398
420
|
|
399
421
|
> **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.
|
422
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
423
|
+
:param pulumi.Input[builtins.str] container_runtime: The container runtime of the pool.
|
402
424
|
|
403
425
|
> **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.
|
426
|
+
:param pulumi.Input[builtins.str] created_at: The creation date of the pool.
|
427
|
+
:param pulumi.Input[builtins.int] current_size: The actual size of the pool
|
428
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
429
|
+
:param pulumi.Input[builtins.int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
430
|
+
:param pulumi.Input[builtins.int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
431
|
+
:param pulumi.Input[builtins.str] name: The name for the pool.
|
410
432
|
|
411
433
|
> **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.
|
434
|
+
:param pulumi.Input[builtins.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
435
|
|
414
436
|
> **Important:** Updates to this field will recreate a new resource.
|
415
437
|
: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.
|
438
|
+
:param pulumi.Input[builtins.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.
|
439
|
+
|
440
|
+
> **Important:** Updates to this field will recreate a new resource.
|
441
|
+
:param pulumi.Input[builtins.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.
|
417
442
|
|
418
443
|
> **Important:** Updates to this field will recreate a new resource.
|
419
|
-
:param pulumi.Input[
|
444
|
+
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
445
|
+
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
446
|
+
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
447
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
420
448
|
|
421
449
|
> **Important:** Updates to this field will recreate a new resource.
|
422
|
-
:param pulumi.Input[
|
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.
|
450
|
+
:param pulumi.Input[builtins.int] size: The size of the pool.
|
426
451
|
|
427
452
|
> **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.
|
453
|
+
:param pulumi.Input[builtins.str] status: The status of the node.
|
454
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the pool.
|
430
455
|
|
431
456
|
> 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.
|
457
|
+
:param pulumi.Input[builtins.str] updated_at: The last update date of the pool.
|
433
458
|
: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.
|
459
|
+
:param pulumi.Input[builtins.str] version: The version of the pool.
|
460
|
+
:param pulumi.Input[builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
461
|
+
:param pulumi.Input[builtins.str] zone: `zone`) The zone in which the pool should be created.
|
437
462
|
|
438
463
|
> **Important:** Updates to this field will recreate a new resource.
|
439
464
|
"""
|
@@ -471,6 +496,8 @@ class _PoolState:
|
|
471
496
|
pulumi.set(__self__, "root_volume_size_in_gb", root_volume_size_in_gb)
|
472
497
|
if root_volume_type is not None:
|
473
498
|
pulumi.set(__self__, "root_volume_type", root_volume_type)
|
499
|
+
if security_group_id is not None:
|
500
|
+
pulumi.set(__self__, "security_group_id", security_group_id)
|
474
501
|
if size is not None:
|
475
502
|
pulumi.set(__self__, "size", size)
|
476
503
|
if status is not None:
|
@@ -490,19 +517,19 @@ class _PoolState:
|
|
490
517
|
|
491
518
|
@property
|
492
519
|
@pulumi.getter
|
493
|
-
def autohealing(self) -> Optional[pulumi.Input[bool]]:
|
520
|
+
def autohealing(self) -> Optional[pulumi.Input[builtins.bool]]:
|
494
521
|
"""
|
495
522
|
Enables the autohealing feature for this pool.
|
496
523
|
"""
|
497
524
|
return pulumi.get(self, "autohealing")
|
498
525
|
|
499
526
|
@autohealing.setter
|
500
|
-
def autohealing(self, value: Optional[pulumi.Input[bool]]):
|
527
|
+
def autohealing(self, value: Optional[pulumi.Input[builtins.bool]]):
|
501
528
|
pulumi.set(self, "autohealing", value)
|
502
529
|
|
503
530
|
@property
|
504
531
|
@pulumi.getter
|
505
|
-
def autoscaling(self) -> Optional[pulumi.Input[bool]]:
|
532
|
+
def autoscaling(self) -> Optional[pulumi.Input[builtins.bool]]:
|
506
533
|
"""
|
507
534
|
Enables the autoscaling feature for this pool.
|
508
535
|
|
@@ -511,24 +538,24 @@ class _PoolState:
|
|
511
538
|
return pulumi.get(self, "autoscaling")
|
512
539
|
|
513
540
|
@autoscaling.setter
|
514
|
-
def autoscaling(self, value: Optional[pulumi.Input[bool]]):
|
541
|
+
def autoscaling(self, value: Optional[pulumi.Input[builtins.bool]]):
|
515
542
|
pulumi.set(self, "autoscaling", value)
|
516
543
|
|
517
544
|
@property
|
518
545
|
@pulumi.getter(name="clusterId")
|
519
|
-
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
546
|
+
def cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
520
547
|
"""
|
521
548
|
The ID of the Kubernetes cluster on which this pool will be created.
|
522
549
|
"""
|
523
550
|
return pulumi.get(self, "cluster_id")
|
524
551
|
|
525
552
|
@cluster_id.setter
|
526
|
-
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
553
|
+
def cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
527
554
|
pulumi.set(self, "cluster_id", value)
|
528
555
|
|
529
556
|
@property
|
530
557
|
@pulumi.getter(name="containerRuntime")
|
531
|
-
def container_runtime(self) -> Optional[pulumi.Input[str]]:
|
558
|
+
def container_runtime(self) -> Optional[pulumi.Input[builtins.str]]:
|
532
559
|
"""
|
533
560
|
The container runtime of the pool.
|
534
561
|
|
@@ -537,72 +564,72 @@ class _PoolState:
|
|
537
564
|
return pulumi.get(self, "container_runtime")
|
538
565
|
|
539
566
|
@container_runtime.setter
|
540
|
-
def container_runtime(self, value: Optional[pulumi.Input[str]]):
|
567
|
+
def container_runtime(self, value: Optional[pulumi.Input[builtins.str]]):
|
541
568
|
pulumi.set(self, "container_runtime", value)
|
542
569
|
|
543
570
|
@property
|
544
571
|
@pulumi.getter(name="createdAt")
|
545
|
-
def created_at(self) -> Optional[pulumi.Input[str]]:
|
572
|
+
def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
|
546
573
|
"""
|
547
574
|
The creation date of the pool.
|
548
575
|
"""
|
549
576
|
return pulumi.get(self, "created_at")
|
550
577
|
|
551
578
|
@created_at.setter
|
552
|
-
def created_at(self, value: Optional[pulumi.Input[str]]):
|
579
|
+
def created_at(self, value: Optional[pulumi.Input[builtins.str]]):
|
553
580
|
pulumi.set(self, "created_at", value)
|
554
581
|
|
555
582
|
@property
|
556
583
|
@pulumi.getter(name="currentSize")
|
557
|
-
def current_size(self) -> Optional[pulumi.Input[int]]:
|
584
|
+
def current_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
558
585
|
"""
|
559
586
|
The actual size of the pool
|
560
587
|
"""
|
561
588
|
return pulumi.get(self, "current_size")
|
562
589
|
|
563
590
|
@current_size.setter
|
564
|
-
def current_size(self, value: Optional[pulumi.Input[int]]):
|
591
|
+
def current_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
565
592
|
pulumi.set(self, "current_size", value)
|
566
593
|
|
567
594
|
@property
|
568
595
|
@pulumi.getter(name="kubeletArgs")
|
569
|
-
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
596
|
+
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
570
597
|
"""
|
571
598
|
The Kubelet arguments to be used by this pool
|
572
599
|
"""
|
573
600
|
return pulumi.get(self, "kubelet_args")
|
574
601
|
|
575
602
|
@kubelet_args.setter
|
576
|
-
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
603
|
+
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
577
604
|
pulumi.set(self, "kubelet_args", value)
|
578
605
|
|
579
606
|
@property
|
580
607
|
@pulumi.getter(name="maxSize")
|
581
|
-
def max_size(self) -> Optional[pulumi.Input[int]]:
|
608
|
+
def max_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
582
609
|
"""
|
583
610
|
The maximum size of the pool, used by the autoscaling feature.
|
584
611
|
"""
|
585
612
|
return pulumi.get(self, "max_size")
|
586
613
|
|
587
614
|
@max_size.setter
|
588
|
-
def max_size(self, value: Optional[pulumi.Input[int]]):
|
615
|
+
def max_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
589
616
|
pulumi.set(self, "max_size", value)
|
590
617
|
|
591
618
|
@property
|
592
619
|
@pulumi.getter(name="minSize")
|
593
|
-
def min_size(self) -> Optional[pulumi.Input[int]]:
|
620
|
+
def min_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
594
621
|
"""
|
595
622
|
The minimum size of the pool, used by the autoscaling feature.
|
596
623
|
"""
|
597
624
|
return pulumi.get(self, "min_size")
|
598
625
|
|
599
626
|
@min_size.setter
|
600
|
-
def min_size(self, value: Optional[pulumi.Input[int]]):
|
627
|
+
def min_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
601
628
|
pulumi.set(self, "min_size", value)
|
602
629
|
|
603
630
|
@property
|
604
631
|
@pulumi.getter
|
605
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
632
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
606
633
|
"""
|
607
634
|
The name for the pool.
|
608
635
|
|
@@ -611,12 +638,12 @@ class _PoolState:
|
|
611
638
|
return pulumi.get(self, "name")
|
612
639
|
|
613
640
|
@name.setter
|
614
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
641
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
615
642
|
pulumi.set(self, "name", value)
|
616
643
|
|
617
644
|
@property
|
618
645
|
@pulumi.getter(name="nodeType")
|
619
|
-
def node_type(self) -> Optional[pulumi.Input[str]]:
|
646
|
+
def node_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
620
647
|
"""
|
621
648
|
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
649
|
|
@@ -625,7 +652,7 @@ class _PoolState:
|
|
625
652
|
return pulumi.get(self, "node_type")
|
626
653
|
|
627
654
|
@node_type.setter
|
628
|
-
def node_type(self, value: Optional[pulumi.Input[str]]):
|
655
|
+
def node_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
629
656
|
pulumi.set(self, "node_type", value)
|
630
657
|
|
631
658
|
@property
|
@@ -642,7 +669,7 @@ class _PoolState:
|
|
642
669
|
|
643
670
|
@property
|
644
671
|
@pulumi.getter(name="placementGroupId")
|
645
|
-
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
672
|
+
def placement_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
646
673
|
"""
|
647
674
|
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
675
|
|
@@ -651,12 +678,12 @@ class _PoolState:
|
|
651
678
|
return pulumi.get(self, "placement_group_id")
|
652
679
|
|
653
680
|
@placement_group_id.setter
|
654
|
-
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
681
|
+
def placement_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
655
682
|
pulumi.set(self, "placement_group_id", value)
|
656
683
|
|
657
684
|
@property
|
658
685
|
@pulumi.getter(name="publicIpDisabled")
|
659
|
-
def public_ip_disabled(self) -> Optional[pulumi.Input[bool]]:
|
686
|
+
def public_ip_disabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
660
687
|
"""
|
661
688
|
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
689
|
|
@@ -665,48 +692,62 @@ class _PoolState:
|
|
665
692
|
return pulumi.get(self, "public_ip_disabled")
|
666
693
|
|
667
694
|
@public_ip_disabled.setter
|
668
|
-
def public_ip_disabled(self, value: Optional[pulumi.Input[bool]]):
|
695
|
+
def public_ip_disabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
669
696
|
pulumi.set(self, "public_ip_disabled", value)
|
670
697
|
|
671
698
|
@property
|
672
699
|
@pulumi.getter
|
673
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
700
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
674
701
|
"""
|
675
702
|
`region`) The region in which the pool should be created.
|
676
703
|
"""
|
677
704
|
return pulumi.get(self, "region")
|
678
705
|
|
679
706
|
@region.setter
|
680
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
707
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
681
708
|
pulumi.set(self, "region", value)
|
682
709
|
|
683
710
|
@property
|
684
711
|
@pulumi.getter(name="rootVolumeSizeInGb")
|
685
|
-
def root_volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
712
|
+
def root_volume_size_in_gb(self) -> Optional[pulumi.Input[builtins.int]]:
|
686
713
|
"""
|
687
714
|
The size of the system volume of the nodes in gigabyte
|
688
715
|
"""
|
689
716
|
return pulumi.get(self, "root_volume_size_in_gb")
|
690
717
|
|
691
718
|
@root_volume_size_in_gb.setter
|
692
|
-
def root_volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
|
719
|
+
def root_volume_size_in_gb(self, value: Optional[pulumi.Input[builtins.int]]):
|
693
720
|
pulumi.set(self, "root_volume_size_in_gb", value)
|
694
721
|
|
695
722
|
@property
|
696
723
|
@pulumi.getter(name="rootVolumeType")
|
697
|
-
def root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
724
|
+
def root_volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
698
725
|
"""
|
699
726
|
System volume type of the nodes composing the pool
|
700
727
|
"""
|
701
728
|
return pulumi.get(self, "root_volume_type")
|
702
729
|
|
703
730
|
@root_volume_type.setter
|
704
|
-
def root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
731
|
+
def root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
705
732
|
pulumi.set(self, "root_volume_type", value)
|
706
733
|
|
734
|
+
@property
|
735
|
+
@pulumi.getter(name="securityGroupId")
|
736
|
+
def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
737
|
+
"""
|
738
|
+
The ID of the security group
|
739
|
+
|
740
|
+
> **Important:** Updates to this field will recreate a new resource.
|
741
|
+
"""
|
742
|
+
return pulumi.get(self, "security_group_id")
|
743
|
+
|
744
|
+
@security_group_id.setter
|
745
|
+
def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
746
|
+
pulumi.set(self, "security_group_id", value)
|
747
|
+
|
707
748
|
@property
|
708
749
|
@pulumi.getter
|
709
|
-
def size(self) -> Optional[pulumi.Input[int]]:
|
750
|
+
def size(self) -> Optional[pulumi.Input[builtins.int]]:
|
710
751
|
"""
|
711
752
|
The size of the pool.
|
712
753
|
|
@@ -715,24 +756,24 @@ class _PoolState:
|
|
715
756
|
return pulumi.get(self, "size")
|
716
757
|
|
717
758
|
@size.setter
|
718
|
-
def size(self, value: Optional[pulumi.Input[int]]):
|
759
|
+
def size(self, value: Optional[pulumi.Input[builtins.int]]):
|
719
760
|
pulumi.set(self, "size", value)
|
720
761
|
|
721
762
|
@property
|
722
763
|
@pulumi.getter
|
723
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
764
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
724
765
|
"""
|
725
766
|
The status of the node.
|
726
767
|
"""
|
727
768
|
return pulumi.get(self, "status")
|
728
769
|
|
729
770
|
@status.setter
|
730
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
771
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
731
772
|
pulumi.set(self, "status", value)
|
732
773
|
|
733
774
|
@property
|
734
775
|
@pulumi.getter
|
735
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
776
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
736
777
|
"""
|
737
778
|
The tags associated with the pool.
|
738
779
|
|
@@ -741,19 +782,19 @@ class _PoolState:
|
|
741
782
|
return pulumi.get(self, "tags")
|
742
783
|
|
743
784
|
@tags.setter
|
744
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
785
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
745
786
|
pulumi.set(self, "tags", value)
|
746
787
|
|
747
788
|
@property
|
748
789
|
@pulumi.getter(name="updatedAt")
|
749
|
-
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
790
|
+
def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
|
750
791
|
"""
|
751
792
|
The last update date of the pool.
|
752
793
|
"""
|
753
794
|
return pulumi.get(self, "updated_at")
|
754
795
|
|
755
796
|
@updated_at.setter
|
756
|
-
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
797
|
+
def updated_at(self, value: Optional[pulumi.Input[builtins.str]]):
|
757
798
|
pulumi.set(self, "updated_at", value)
|
758
799
|
|
759
800
|
@property
|
@@ -770,31 +811,31 @@ class _PoolState:
|
|
770
811
|
|
771
812
|
@property
|
772
813
|
@pulumi.getter
|
773
|
-
def version(self) -> Optional[pulumi.Input[str]]:
|
814
|
+
def version(self) -> Optional[pulumi.Input[builtins.str]]:
|
774
815
|
"""
|
775
816
|
The version of the pool.
|
776
817
|
"""
|
777
818
|
return pulumi.get(self, "version")
|
778
819
|
|
779
820
|
@version.setter
|
780
|
-
def version(self, value: Optional[pulumi.Input[str]]):
|
821
|
+
def version(self, value: Optional[pulumi.Input[builtins.str]]):
|
781
822
|
pulumi.set(self, "version", value)
|
782
823
|
|
783
824
|
@property
|
784
825
|
@pulumi.getter(name="waitForPoolReady")
|
785
|
-
def wait_for_pool_ready(self) -> Optional[pulumi.Input[bool]]:
|
826
|
+
def wait_for_pool_ready(self) -> Optional[pulumi.Input[builtins.bool]]:
|
786
827
|
"""
|
787
828
|
Whether to wait for the pool to be ready.
|
788
829
|
"""
|
789
830
|
return pulumi.get(self, "wait_for_pool_ready")
|
790
831
|
|
791
832
|
@wait_for_pool_ready.setter
|
792
|
-
def wait_for_pool_ready(self, value: Optional[pulumi.Input[bool]]):
|
833
|
+
def wait_for_pool_ready(self, value: Optional[pulumi.Input[builtins.bool]]):
|
793
834
|
pulumi.set(self, "wait_for_pool_ready", value)
|
794
835
|
|
795
836
|
@property
|
796
837
|
@pulumi.getter
|
797
|
-
def zone(self) -> Optional[pulumi.Input[str]]:
|
838
|
+
def zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
798
839
|
"""
|
799
840
|
`zone`) The zone in which the pool should be created.
|
800
841
|
|
@@ -803,34 +844,36 @@ class _PoolState:
|
|
803
844
|
return pulumi.get(self, "zone")
|
804
845
|
|
805
846
|
@zone.setter
|
806
|
-
def zone(self, value: Optional[pulumi.Input[str]]):
|
847
|
+
def zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
807
848
|
pulumi.set(self, "zone", value)
|
808
849
|
|
809
850
|
|
851
|
+
@pulumi.type_token("scaleway:kubernetes/pool:Pool")
|
810
852
|
class Pool(pulumi.CustomResource):
|
811
853
|
@overload
|
812
854
|
def __init__(__self__,
|
813
855
|
resource_name: str,
|
814
856
|
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
|
-
|
830
|
-
|
857
|
+
autohealing: Optional[pulumi.Input[builtins.bool]] = None,
|
858
|
+
autoscaling: Optional[pulumi.Input[builtins.bool]] = None,
|
859
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
860
|
+
container_runtime: Optional[pulumi.Input[builtins.str]] = None,
|
861
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
862
|
+
max_size: Optional[pulumi.Input[builtins.int]] = None,
|
863
|
+
min_size: Optional[pulumi.Input[builtins.int]] = None,
|
864
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
865
|
+
node_type: Optional[pulumi.Input[builtins.str]] = None,
|
866
|
+
placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
867
|
+
public_ip_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
868
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
869
|
+
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
870
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
871
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
872
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
873
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
831
874
|
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,
|
875
|
+
wait_for_pool_ready: Optional[pulumi.Input[builtins.bool]] = None,
|
876
|
+
zone: Optional[pulumi.Input[builtins.str]] = None,
|
834
877
|
__props__=None):
|
835
878
|
"""
|
836
879
|
## Import
|
@@ -845,41 +888,44 @@ class Pool(pulumi.CustomResource):
|
|
845
888
|
|
846
889
|
:param str resource_name: The name of the resource.
|
847
890
|
: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.
|
891
|
+
:param pulumi.Input[builtins.bool] autohealing: Enables the autohealing feature for this pool.
|
892
|
+
:param pulumi.Input[builtins.bool] autoscaling: Enables the autoscaling feature for this pool.
|
850
893
|
|
851
894
|
> **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.
|
895
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
896
|
+
:param pulumi.Input[builtins.str] container_runtime: The container runtime of the pool.
|
854
897
|
|
855
898
|
> **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.
|
899
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
900
|
+
:param pulumi.Input[builtins.int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
901
|
+
:param pulumi.Input[builtins.int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
902
|
+
:param pulumi.Input[builtins.str] name: The name for the pool.
|
860
903
|
|
861
904
|
> **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.
|
905
|
+
:param pulumi.Input[builtins.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
906
|
|
864
907
|
> **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.
|
908
|
+
:param pulumi.Input[builtins.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
909
|
|
867
910
|
> **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.
|
911
|
+
:param pulumi.Input[builtins.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
912
|
|
870
913
|
> **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[
|
914
|
+
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
915
|
+
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
916
|
+
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
917
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
918
|
+
|
919
|
+
> **Important:** Updates to this field will recreate a new resource.
|
920
|
+
:param pulumi.Input[builtins.int] size: The size of the pool.
|
875
921
|
|
876
922
|
> **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.
|
923
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the pool.
|
878
924
|
|
879
925
|
> 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
926
|
: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.
|
927
|
+
:param pulumi.Input[builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
928
|
+
:param pulumi.Input[builtins.str] zone: `zone`) The zone in which the pool should be created.
|
883
929
|
|
884
930
|
> **Important:** Updates to this field will recreate a new resource.
|
885
931
|
"""
|
@@ -915,25 +961,26 @@ class Pool(pulumi.CustomResource):
|
|
915
961
|
def _internal_init(__self__,
|
916
962
|
resource_name: str,
|
917
963
|
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
|
-
|
933
|
-
|
964
|
+
autohealing: Optional[pulumi.Input[builtins.bool]] = None,
|
965
|
+
autoscaling: Optional[pulumi.Input[builtins.bool]] = None,
|
966
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
967
|
+
container_runtime: Optional[pulumi.Input[builtins.str]] = None,
|
968
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
969
|
+
max_size: Optional[pulumi.Input[builtins.int]] = None,
|
970
|
+
min_size: Optional[pulumi.Input[builtins.int]] = None,
|
971
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
972
|
+
node_type: Optional[pulumi.Input[builtins.str]] = None,
|
973
|
+
placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
974
|
+
public_ip_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
975
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
976
|
+
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
977
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
978
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
979
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
980
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
934
981
|
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,
|
982
|
+
wait_for_pool_ready: Optional[pulumi.Input[builtins.bool]] = None,
|
983
|
+
zone: Optional[pulumi.Input[builtins.str]] = None,
|
937
984
|
__props__=None):
|
938
985
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
939
986
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -961,6 +1008,7 @@ class Pool(pulumi.CustomResource):
|
|
961
1008
|
__props__.__dict__["region"] = region
|
962
1009
|
__props__.__dict__["root_volume_size_in_gb"] = root_volume_size_in_gb
|
963
1010
|
__props__.__dict__["root_volume_type"] = root_volume_type
|
1011
|
+
__props__.__dict__["security_group_id"] = security_group_id
|
964
1012
|
if size is None and not opts.urn:
|
965
1013
|
raise TypeError("Missing required property 'size'")
|
966
1014
|
__props__.__dict__["size"] = size
|
@@ -986,31 +1034,32 @@ class Pool(pulumi.CustomResource):
|
|
986
1034
|
def get(resource_name: str,
|
987
1035
|
id: pulumi.Input[str],
|
988
1036
|
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,
|
1037
|
+
autohealing: Optional[pulumi.Input[builtins.bool]] = None,
|
1038
|
+
autoscaling: Optional[pulumi.Input[builtins.bool]] = None,
|
1039
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
1040
|
+
container_runtime: Optional[pulumi.Input[builtins.str]] = None,
|
1041
|
+
created_at: Optional[pulumi.Input[builtins.str]] = None,
|
1042
|
+
current_size: Optional[pulumi.Input[builtins.int]] = None,
|
1043
|
+
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1044
|
+
max_size: Optional[pulumi.Input[builtins.int]] = None,
|
1045
|
+
min_size: Optional[pulumi.Input[builtins.int]] = None,
|
1046
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
1047
|
+
node_type: Optional[pulumi.Input[builtins.str]] = None,
|
1000
1048
|
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
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1049
|
+
placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
1050
|
+
public_ip_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1051
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
1052
|
+
root_volume_size_in_gb: Optional[pulumi.Input[builtins.int]] = None,
|
1053
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
1054
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
1055
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
1056
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
1057
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1058
|
+
updated_at: Optional[pulumi.Input[builtins.str]] = None,
|
1010
1059
|
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':
|
1060
|
+
version: Optional[pulumi.Input[builtins.str]] = None,
|
1061
|
+
wait_for_pool_ready: Optional[pulumi.Input[builtins.bool]] = None,
|
1062
|
+
zone: Optional[pulumi.Input[builtins.str]] = None) -> 'Pool':
|
1014
1063
|
"""
|
1015
1064
|
Get an existing Pool resource's state with the given name, id, and optional extra
|
1016
1065
|
properties used to qualify the lookup.
|
@@ -1018,47 +1067,50 @@ class Pool(pulumi.CustomResource):
|
|
1018
1067
|
:param str resource_name: The unique name of the resulting resource.
|
1019
1068
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1020
1069
|
: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.
|
1070
|
+
:param pulumi.Input[builtins.bool] autohealing: Enables the autohealing feature for this pool.
|
1071
|
+
:param pulumi.Input[builtins.bool] autoscaling: Enables the autoscaling feature for this pool.
|
1023
1072
|
|
1024
1073
|
> **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.
|
1074
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
|
1075
|
+
:param pulumi.Input[builtins.str] container_runtime: The container runtime of the pool.
|
1027
1076
|
|
1028
1077
|
> **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.
|
1078
|
+
:param pulumi.Input[builtins.str] created_at: The creation date of the pool.
|
1079
|
+
:param pulumi.Input[builtins.int] current_size: The actual size of the pool
|
1080
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kubelet_args: The Kubelet arguments to be used by this pool
|
1081
|
+
:param pulumi.Input[builtins.int] max_size: The maximum size of the pool, used by the autoscaling feature.
|
1082
|
+
:param pulumi.Input[builtins.int] min_size: The minimum size of the pool, used by the autoscaling feature.
|
1083
|
+
:param pulumi.Input[builtins.str] name: The name for the pool.
|
1035
1084
|
|
1036
1085
|
> **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.
|
1086
|
+
:param pulumi.Input[builtins.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
1087
|
|
1039
1088
|
> **Important:** Updates to this field will recreate a new resource.
|
1040
1089
|
: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.
|
1090
|
+
:param pulumi.Input[builtins.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.
|
1091
|
+
|
1092
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1093
|
+
:param pulumi.Input[builtins.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.
|
1042
1094
|
|
1043
1095
|
> **Important:** Updates to this field will recreate a new resource.
|
1044
|
-
:param pulumi.Input[
|
1096
|
+
:param pulumi.Input[builtins.str] region: `region`) The region in which the pool should be created.
|
1097
|
+
:param pulumi.Input[builtins.int] root_volume_size_in_gb: The size of the system volume of the nodes in gigabyte
|
1098
|
+
:param pulumi.Input[builtins.str] root_volume_type: System volume type of the nodes composing the pool
|
1099
|
+
:param pulumi.Input[builtins.str] security_group_id: The ID of the security group
|
1045
1100
|
|
1046
1101
|
> **Important:** Updates to this field will recreate a new resource.
|
1047
|
-
:param pulumi.Input[
|
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.
|
1102
|
+
:param pulumi.Input[builtins.int] size: The size of the pool.
|
1051
1103
|
|
1052
1104
|
> **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.
|
1105
|
+
:param pulumi.Input[builtins.str] status: The status of the node.
|
1106
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the pool.
|
1055
1107
|
|
1056
1108
|
> 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.
|
1109
|
+
:param pulumi.Input[builtins.str] updated_at: The last update date of the pool.
|
1058
1110
|
: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.
|
1111
|
+
:param pulumi.Input[builtins.str] version: The version of the pool.
|
1112
|
+
:param pulumi.Input[builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
1113
|
+
:param pulumi.Input[builtins.str] zone: `zone`) The zone in which the pool should be created.
|
1062
1114
|
|
1063
1115
|
> **Important:** Updates to this field will recreate a new resource.
|
1064
1116
|
"""
|
@@ -1083,6 +1135,7 @@ class Pool(pulumi.CustomResource):
|
|
1083
1135
|
__props__.__dict__["region"] = region
|
1084
1136
|
__props__.__dict__["root_volume_size_in_gb"] = root_volume_size_in_gb
|
1085
1137
|
__props__.__dict__["root_volume_type"] = root_volume_type
|
1138
|
+
__props__.__dict__["security_group_id"] = security_group_id
|
1086
1139
|
__props__.__dict__["size"] = size
|
1087
1140
|
__props__.__dict__["status"] = status
|
1088
1141
|
__props__.__dict__["tags"] = tags
|
@@ -1095,7 +1148,7 @@ class Pool(pulumi.CustomResource):
|
|
1095
1148
|
|
1096
1149
|
@property
|
1097
1150
|
@pulumi.getter
|
1098
|
-
def autohealing(self) -> pulumi.Output[Optional[bool]]:
|
1151
|
+
def autohealing(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1099
1152
|
"""
|
1100
1153
|
Enables the autohealing feature for this pool.
|
1101
1154
|
"""
|
@@ -1103,7 +1156,7 @@ class Pool(pulumi.CustomResource):
|
|
1103
1156
|
|
1104
1157
|
@property
|
1105
1158
|
@pulumi.getter
|
1106
|
-
def autoscaling(self) -> pulumi.Output[Optional[bool]]:
|
1159
|
+
def autoscaling(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1107
1160
|
"""
|
1108
1161
|
Enables the autoscaling feature for this pool.
|
1109
1162
|
|
@@ -1113,7 +1166,7 @@ class Pool(pulumi.CustomResource):
|
|
1113
1166
|
|
1114
1167
|
@property
|
1115
1168
|
@pulumi.getter(name="clusterId")
|
1116
|
-
def cluster_id(self) -> pulumi.Output[str]:
|
1169
|
+
def cluster_id(self) -> pulumi.Output[builtins.str]:
|
1117
1170
|
"""
|
1118
1171
|
The ID of the Kubernetes cluster on which this pool will be created.
|
1119
1172
|
"""
|
@@ -1121,7 +1174,7 @@ class Pool(pulumi.CustomResource):
|
|
1121
1174
|
|
1122
1175
|
@property
|
1123
1176
|
@pulumi.getter(name="containerRuntime")
|
1124
|
-
def container_runtime(self) -> pulumi.Output[Optional[str]]:
|
1177
|
+
def container_runtime(self) -> pulumi.Output[Optional[builtins.str]]:
|
1125
1178
|
"""
|
1126
1179
|
The container runtime of the pool.
|
1127
1180
|
|
@@ -1131,7 +1184,7 @@ class Pool(pulumi.CustomResource):
|
|
1131
1184
|
|
1132
1185
|
@property
|
1133
1186
|
@pulumi.getter(name="createdAt")
|
1134
|
-
def created_at(self) -> pulumi.Output[str]:
|
1187
|
+
def created_at(self) -> pulumi.Output[builtins.str]:
|
1135
1188
|
"""
|
1136
1189
|
The creation date of the pool.
|
1137
1190
|
"""
|
@@ -1139,7 +1192,7 @@ class Pool(pulumi.CustomResource):
|
|
1139
1192
|
|
1140
1193
|
@property
|
1141
1194
|
@pulumi.getter(name="currentSize")
|
1142
|
-
def current_size(self) -> pulumi.Output[int]:
|
1195
|
+
def current_size(self) -> pulumi.Output[builtins.int]:
|
1143
1196
|
"""
|
1144
1197
|
The actual size of the pool
|
1145
1198
|
"""
|
@@ -1147,7 +1200,7 @@ class Pool(pulumi.CustomResource):
|
|
1147
1200
|
|
1148
1201
|
@property
|
1149
1202
|
@pulumi.getter(name="kubeletArgs")
|
1150
|
-
def kubelet_args(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1203
|
+
def kubelet_args(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
1151
1204
|
"""
|
1152
1205
|
The Kubelet arguments to be used by this pool
|
1153
1206
|
"""
|
@@ -1155,7 +1208,7 @@ class Pool(pulumi.CustomResource):
|
|
1155
1208
|
|
1156
1209
|
@property
|
1157
1210
|
@pulumi.getter(name="maxSize")
|
1158
|
-
def max_size(self) -> pulumi.Output[int]:
|
1211
|
+
def max_size(self) -> pulumi.Output[builtins.int]:
|
1159
1212
|
"""
|
1160
1213
|
The maximum size of the pool, used by the autoscaling feature.
|
1161
1214
|
"""
|
@@ -1163,7 +1216,7 @@ class Pool(pulumi.CustomResource):
|
|
1163
1216
|
|
1164
1217
|
@property
|
1165
1218
|
@pulumi.getter(name="minSize")
|
1166
|
-
def min_size(self) -> pulumi.Output[Optional[int]]:
|
1219
|
+
def min_size(self) -> pulumi.Output[Optional[builtins.int]]:
|
1167
1220
|
"""
|
1168
1221
|
The minimum size of the pool, used by the autoscaling feature.
|
1169
1222
|
"""
|
@@ -1171,7 +1224,7 @@ class Pool(pulumi.CustomResource):
|
|
1171
1224
|
|
1172
1225
|
@property
|
1173
1226
|
@pulumi.getter
|
1174
|
-
def name(self) -> pulumi.Output[str]:
|
1227
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
1175
1228
|
"""
|
1176
1229
|
The name for the pool.
|
1177
1230
|
|
@@ -1181,7 +1234,7 @@ class Pool(pulumi.CustomResource):
|
|
1181
1234
|
|
1182
1235
|
@property
|
1183
1236
|
@pulumi.getter(name="nodeType")
|
1184
|
-
def node_type(self) -> pulumi.Output[str]:
|
1237
|
+
def node_type(self) -> pulumi.Output[builtins.str]:
|
1185
1238
|
"""
|
1186
1239
|
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
1240
|
|
@@ -1199,7 +1252,7 @@ class Pool(pulumi.CustomResource):
|
|
1199
1252
|
|
1200
1253
|
@property
|
1201
1254
|
@pulumi.getter(name="placementGroupId")
|
1202
|
-
def placement_group_id(self) -> pulumi.Output[Optional[str]]:
|
1255
|
+
def placement_group_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
1203
1256
|
"""
|
1204
1257
|
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
1258
|
|
@@ -1209,7 +1262,7 @@ class Pool(pulumi.CustomResource):
|
|
1209
1262
|
|
1210
1263
|
@property
|
1211
1264
|
@pulumi.getter(name="publicIpDisabled")
|
1212
|
-
def public_ip_disabled(self) -> pulumi.Output[Optional[bool]]:
|
1265
|
+
def public_ip_disabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1213
1266
|
"""
|
1214
1267
|
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
1268
|
|
@@ -1219,7 +1272,7 @@ class Pool(pulumi.CustomResource):
|
|
1219
1272
|
|
1220
1273
|
@property
|
1221
1274
|
@pulumi.getter
|
1222
|
-
def region(self) -> pulumi.Output[str]:
|
1275
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
1223
1276
|
"""
|
1224
1277
|
`region`) The region in which the pool should be created.
|
1225
1278
|
"""
|
@@ -1227,7 +1280,7 @@ class Pool(pulumi.CustomResource):
|
|
1227
1280
|
|
1228
1281
|
@property
|
1229
1282
|
@pulumi.getter(name="rootVolumeSizeInGb")
|
1230
|
-
def root_volume_size_in_gb(self) -> pulumi.Output[int]:
|
1283
|
+
def root_volume_size_in_gb(self) -> pulumi.Output[builtins.int]:
|
1231
1284
|
"""
|
1232
1285
|
The size of the system volume of the nodes in gigabyte
|
1233
1286
|
"""
|
@@ -1235,15 +1288,25 @@ class Pool(pulumi.CustomResource):
|
|
1235
1288
|
|
1236
1289
|
@property
|
1237
1290
|
@pulumi.getter(name="rootVolumeType")
|
1238
|
-
def root_volume_type(self) -> pulumi.Output[str]:
|
1291
|
+
def root_volume_type(self) -> pulumi.Output[builtins.str]:
|
1239
1292
|
"""
|
1240
1293
|
System volume type of the nodes composing the pool
|
1241
1294
|
"""
|
1242
1295
|
return pulumi.get(self, "root_volume_type")
|
1243
1296
|
|
1297
|
+
@property
|
1298
|
+
@pulumi.getter(name="securityGroupId")
|
1299
|
+
def security_group_id(self) -> pulumi.Output[builtins.str]:
|
1300
|
+
"""
|
1301
|
+
The ID of the security group
|
1302
|
+
|
1303
|
+
> **Important:** Updates to this field will recreate a new resource.
|
1304
|
+
"""
|
1305
|
+
return pulumi.get(self, "security_group_id")
|
1306
|
+
|
1244
1307
|
@property
|
1245
1308
|
@pulumi.getter
|
1246
|
-
def size(self) -> pulumi.Output[int]:
|
1309
|
+
def size(self) -> pulumi.Output[builtins.int]:
|
1247
1310
|
"""
|
1248
1311
|
The size of the pool.
|
1249
1312
|
|
@@ -1253,7 +1316,7 @@ class Pool(pulumi.CustomResource):
|
|
1253
1316
|
|
1254
1317
|
@property
|
1255
1318
|
@pulumi.getter
|
1256
|
-
def status(self) -> pulumi.Output[str]:
|
1319
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
1257
1320
|
"""
|
1258
1321
|
The status of the node.
|
1259
1322
|
"""
|
@@ -1261,7 +1324,7 @@ class Pool(pulumi.CustomResource):
|
|
1261
1324
|
|
1262
1325
|
@property
|
1263
1326
|
@pulumi.getter
|
1264
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1327
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1265
1328
|
"""
|
1266
1329
|
The tags associated with the pool.
|
1267
1330
|
|
@@ -1271,7 +1334,7 @@ class Pool(pulumi.CustomResource):
|
|
1271
1334
|
|
1272
1335
|
@property
|
1273
1336
|
@pulumi.getter(name="updatedAt")
|
1274
|
-
def updated_at(self) -> pulumi.Output[str]:
|
1337
|
+
def updated_at(self) -> pulumi.Output[builtins.str]:
|
1275
1338
|
"""
|
1276
1339
|
The last update date of the pool.
|
1277
1340
|
"""
|
@@ -1287,7 +1350,7 @@ class Pool(pulumi.CustomResource):
|
|
1287
1350
|
|
1288
1351
|
@property
|
1289
1352
|
@pulumi.getter
|
1290
|
-
def version(self) -> pulumi.Output[str]:
|
1353
|
+
def version(self) -> pulumi.Output[builtins.str]:
|
1291
1354
|
"""
|
1292
1355
|
The version of the pool.
|
1293
1356
|
"""
|
@@ -1295,7 +1358,7 @@ class Pool(pulumi.CustomResource):
|
|
1295
1358
|
|
1296
1359
|
@property
|
1297
1360
|
@pulumi.getter(name="waitForPoolReady")
|
1298
|
-
def wait_for_pool_ready(self) -> pulumi.Output[Optional[bool]]:
|
1361
|
+
def wait_for_pool_ready(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1299
1362
|
"""
|
1300
1363
|
Whether to wait for the pool to be ready.
|
1301
1364
|
"""
|
@@ -1303,7 +1366,7 @@ class Pool(pulumi.CustomResource):
|
|
1303
1366
|
|
1304
1367
|
@property
|
1305
1368
|
@pulumi.getter
|
1306
|
-
def zone(self) -> pulumi.Output[str]:
|
1369
|
+
def zone(self) -> pulumi.Output[builtins.str]:
|
1307
1370
|
"""
|
1308
1371
|
`zone`) The zone in which the pool should be created.
|
1309
1372
|
|