pulumiverse-scaleway 1.34.2a1759388651__py3-none-any.whl → 1.35.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.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +1 -1
- pulumiverse_scaleway/_inputs.py +2769 -2816
- pulumiverse_scaleway/account/__init__.py +1 -1
- pulumiverse_scaleway/account/get_availability_zones.py +11 -12
- pulumiverse_scaleway/account/get_project.py +27 -28
- pulumiverse_scaleway/account/get_projects.py +18 -19
- pulumiverse_scaleway/account/get_ssh_key.py +33 -34
- pulumiverse_scaleway/account/outputs.py +25 -26
- pulumiverse_scaleway/account/project.py +70 -71
- pulumiverse_scaleway/account/ssh_key.py +105 -106
- pulumiverse_scaleway/account_project.py +70 -71
- pulumiverse_scaleway/account_ssh_key.py +105 -106
- pulumiverse_scaleway/apple_silicon_server.py +216 -217
- pulumiverse_scaleway/applesilicon/__init__.py +1 -1
- pulumiverse_scaleway/applesilicon/_inputs.py +50 -51
- pulumiverse_scaleway/applesilicon/outputs.py +34 -35
- pulumiverse_scaleway/applesilicon/server.py +216 -217
- pulumiverse_scaleway/autoscaling/__init__.py +1 -1
- pulumiverse_scaleway/autoscaling/_inputs.py +130 -131
- pulumiverse_scaleway/autoscaling/instance_group.py +127 -128
- pulumiverse_scaleway/autoscaling/instance_policy.py +140 -141
- pulumiverse_scaleway/autoscaling/instance_template.py +235 -236
- pulumiverse_scaleway/autoscaling/outputs.py +88 -89
- pulumiverse_scaleway/baremetal_server.py +366 -351
- pulumiverse_scaleway/billing/__init__.py +1 -1
- pulumiverse_scaleway/billing/get_consumptions.py +18 -15
- pulumiverse_scaleway/billing/get_invoices.py +24 -25
- pulumiverse_scaleway/billing/outputs.py +95 -96
- pulumiverse_scaleway/block/__init__.py +1 -1
- pulumiverse_scaleway/block/_inputs.py +25 -26
- pulumiverse_scaleway/block/get_snapshot.py +37 -38
- pulumiverse_scaleway/block/get_volume.py +37 -38
- pulumiverse_scaleway/block/outputs.py +33 -34
- pulumiverse_scaleway/block/snapshot.py +100 -93
- pulumiverse_scaleway/block/volume.py +137 -138
- pulumiverse_scaleway/block_snapshot.py +100 -93
- pulumiverse_scaleway/block_volume.py +137 -138
- pulumiverse_scaleway/cockpit.py +48 -49
- pulumiverse_scaleway/cockpit_alert_manager.py +64 -65
- pulumiverse_scaleway/cockpit_grafana_user.py +70 -71
- pulumiverse_scaleway/cockpit_source.py +140 -141
- pulumiverse_scaleway/cockpit_token.py +82 -83
- pulumiverse_scaleway/config/__init__.py +1 -1
- pulumiverse_scaleway/config/__init__.pyi +1 -2
- pulumiverse_scaleway/config/vars.py +9 -10
- pulumiverse_scaleway/container.py +476 -477
- pulumiverse_scaleway/container_cron.py +95 -96
- pulumiverse_scaleway/container_domain.py +61 -62
- pulumiverse_scaleway/container_namespace.py +181 -182
- pulumiverse_scaleway/container_token.py +95 -96
- pulumiverse_scaleway/container_trigger.py +75 -76
- pulumiverse_scaleway/containers/__init__.py +1 -1
- pulumiverse_scaleway/containers/_inputs.py +86 -87
- pulumiverse_scaleway/containers/container.py +476 -477
- pulumiverse_scaleway/containers/cron.py +95 -96
- pulumiverse_scaleway/containers/domain.py +61 -62
- pulumiverse_scaleway/containers/get_container.py +79 -80
- pulumiverse_scaleway/containers/get_namespace.py +45 -46
- pulumiverse_scaleway/containers/namespace.py +181 -182
- pulumiverse_scaleway/containers/outputs.py +83 -84
- pulumiverse_scaleway/containers/token.py +95 -96
- pulumiverse_scaleway/containers/trigger.py +75 -76
- pulumiverse_scaleway/database.py +79 -80
- pulumiverse_scaleway/database_acl.py +38 -39
- pulumiverse_scaleway/database_backup.py +122 -123
- pulumiverse_scaleway/database_instance.py +408 -409
- pulumiverse_scaleway/database_privilege.py +86 -87
- pulumiverse_scaleway/database_read_replica.py +58 -59
- pulumiverse_scaleway/database_user.py +86 -87
- pulumiverse_scaleway/databases/__init__.py +1 -1
- pulumiverse_scaleway/databases/_inputs.py +227 -228
- pulumiverse_scaleway/databases/acl.py +38 -39
- pulumiverse_scaleway/databases/database.py +79 -80
- pulumiverse_scaleway/databases/database_backup.py +122 -123
- pulumiverse_scaleway/databases/get_acl.py +16 -17
- pulumiverse_scaleway/databases/get_database.py +25 -26
- pulumiverse_scaleway/databases/get_database_backup.py +45 -46
- pulumiverse_scaleway/databases/get_instance.py +72 -73
- pulumiverse_scaleway/databases/get_privilege.py +29 -30
- pulumiverse_scaleway/databases/instance.py +408 -409
- pulumiverse_scaleway/databases/outputs.py +247 -248
- pulumiverse_scaleway/databases/privilege.py +86 -87
- pulumiverse_scaleway/databases/read_replica.py +58 -59
- pulumiverse_scaleway/databases/serverless_database.py +95 -96
- pulumiverse_scaleway/databases/snapshot.py +123 -124
- pulumiverse_scaleway/databases/user.py +86 -87
- pulumiverse_scaleway/domain/__init__.py +1 -1
- pulumiverse_scaleway/domain/_inputs.py +660 -661
- pulumiverse_scaleway/domain/get_record.py +51 -52
- pulumiverse_scaleway/domain/get_zone.py +33 -34
- pulumiverse_scaleway/domain/outputs.py +500 -501
- pulumiverse_scaleway/domain/record.py +150 -151
- pulumiverse_scaleway/domain/registration.py +121 -122
- pulumiverse_scaleway/domain/zone.py +106 -107
- pulumiverse_scaleway/domain_record.py +150 -151
- pulumiverse_scaleway/domain_zone.py +106 -107
- pulumiverse_scaleway/edge_services_backend_stage.py +59 -60
- pulumiverse_scaleway/edge_services_cache_stage.py +162 -159
- pulumiverse_scaleway/edge_services_dns_stage.py +130 -131
- pulumiverse_scaleway/edge_services_head_stage.py +35 -36
- pulumiverse_scaleway/edge_services_pipeline.py +79 -80
- pulumiverse_scaleway/edge_services_plan.py +35 -36
- pulumiverse_scaleway/edge_services_route_stage.py +73 -74
- pulumiverse_scaleway/edge_services_tls_stage.py +150 -151
- pulumiverse_scaleway/edge_services_waf_stage.py +104 -105
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +146 -147
- pulumiverse_scaleway/elasticmetal/get_ip.py +41 -42
- pulumiverse_scaleway/elasticmetal/get_ips.py +30 -31
- pulumiverse_scaleway/elasticmetal/get_offer.py +40 -41
- pulumiverse_scaleway/elasticmetal/get_option.py +23 -24
- pulumiverse_scaleway/elasticmetal/get_os.py +27 -28
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +35 -36
- pulumiverse_scaleway/elasticmetal/get_server.py +69 -70
- pulumiverse_scaleway/elasticmetal/ip.py +165 -166
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +105 -106
- pulumiverse_scaleway/elasticmetal/outputs.py +312 -312
- pulumiverse_scaleway/elasticmetal/server.py +366 -351
- pulumiverse_scaleway/file_filesystem.py +137 -134
- pulumiverse_scaleway/flexible_ip.py +165 -166
- pulumiverse_scaleway/flexible_ip_mac_address.py +105 -106
- pulumiverse_scaleway/function.py +381 -382
- pulumiverse_scaleway/function_cron.py +95 -96
- pulumiverse_scaleway/function_domain.py +61 -62
- pulumiverse_scaleway/function_namespace.py +164 -165
- pulumiverse_scaleway/function_token.py +95 -96
- pulumiverse_scaleway/function_trigger.py +75 -76
- pulumiverse_scaleway/functions/__init__.py +1 -1
- pulumiverse_scaleway/functions/_inputs.py +49 -50
- pulumiverse_scaleway/functions/cron.py +95 -96
- pulumiverse_scaleway/functions/domain.py +61 -62
- pulumiverse_scaleway/functions/function.py +381 -382
- pulumiverse_scaleway/functions/get_function.py +73 -74
- pulumiverse_scaleway/functions/get_namespace.py +43 -44
- pulumiverse_scaleway/functions/namespace.py +164 -165
- pulumiverse_scaleway/functions/outputs.py +33 -34
- pulumiverse_scaleway/functions/token.py +95 -96
- pulumiverse_scaleway/functions/trigger.py +75 -76
- pulumiverse_scaleway/get_account_project.py +27 -28
- pulumiverse_scaleway/get_account_ssh_key.py +33 -34
- pulumiverse_scaleway/get_availability_zones.py +11 -12
- pulumiverse_scaleway/get_baremetal_offer.py +40 -41
- pulumiverse_scaleway/get_baremetal_option.py +23 -24
- pulumiverse_scaleway/get_baremetal_os.py +27 -28
- pulumiverse_scaleway/get_baremetal_server.py +69 -70
- pulumiverse_scaleway/get_billing_consumptions.py +18 -15
- pulumiverse_scaleway/get_billing_invoices.py +24 -25
- pulumiverse_scaleway/get_block_snapshot.py +37 -38
- pulumiverse_scaleway/get_block_volume.py +37 -38
- pulumiverse_scaleway/get_cockpit.py +15 -16
- pulumiverse_scaleway/get_cockpit_source.py +49 -50
- pulumiverse_scaleway/get_config.py +23 -24
- pulumiverse_scaleway/get_container.py +79 -80
- pulumiverse_scaleway/get_container_namespace.py +45 -46
- pulumiverse_scaleway/get_database.py +25 -26
- pulumiverse_scaleway/get_database_acl.py +16 -17
- pulumiverse_scaleway/get_database_backup.py +45 -46
- pulumiverse_scaleway/get_database_instance.py +72 -73
- pulumiverse_scaleway/get_database_privilege.py +29 -30
- pulumiverse_scaleway/get_domain_record.py +51 -52
- pulumiverse_scaleway/get_domain_zone.py +33 -34
- pulumiverse_scaleway/get_flexible_ip.py +41 -42
- pulumiverse_scaleway/get_flexible_ips.py +30 -31
- pulumiverse_scaleway/get_function.py +73 -74
- pulumiverse_scaleway/get_function_namespace.py +43 -44
- pulumiverse_scaleway/get_iam_api_key.py +27 -28
- pulumiverse_scaleway/get_iam_application.py +31 -32
- pulumiverse_scaleway/get_iam_group.py +35 -36
- pulumiverse_scaleway/get_iam_ssh_key.py +33 -34
- pulumiverse_scaleway/get_iam_user.py +27 -28
- pulumiverse_scaleway/get_instance_image.py +57 -58
- pulumiverse_scaleway/get_instance_ip.py +29 -30
- pulumiverse_scaleway/get_instance_placement_group.py +37 -38
- pulumiverse_scaleway/get_instance_private_nic.py +40 -41
- pulumiverse_scaleway/get_instance_security_group.py +45 -46
- pulumiverse_scaleway/get_instance_server.py +81 -82
- pulumiverse_scaleway/get_instance_servers.py +30 -31
- pulumiverse_scaleway/get_instance_snapshot.py +40 -41
- pulumiverse_scaleway/get_instance_volume.py +41 -42
- pulumiverse_scaleway/get_iot_device.py +45 -46
- pulumiverse_scaleway/get_iot_hub.py +59 -60
- pulumiverse_scaleway/get_ipam_ip.py +64 -65
- pulumiverse_scaleway/get_ipam_ips.py +55 -56
- pulumiverse_scaleway/get_k8s_version.py +21 -22
- pulumiverse_scaleway/get_kubernetes_cluster.py +63 -64
- pulumiverse_scaleway/get_kubernetes_node_pool.py +75 -76
- pulumiverse_scaleway/get_lb_acls.py +28 -29
- pulumiverse_scaleway/get_lb_backend.py +74 -75
- pulumiverse_scaleway/get_lb_backends.py +28 -29
- pulumiverse_scaleway/get_lb_frontend.py +44 -45
- pulumiverse_scaleway/get_lb_frontends.py +28 -29
- pulumiverse_scaleway/get_lb_ips.py +36 -37
- pulumiverse_scaleway/get_lb_route.py +25 -26
- pulumiverse_scaleway/get_lb_routes.py +22 -23
- pulumiverse_scaleway/get_lbs.py +30 -31
- pulumiverse_scaleway/get_loadbalancer.py +55 -56
- pulumiverse_scaleway/get_loadbalancer_certificate.py +35 -36
- pulumiverse_scaleway/get_loadbalancer_ip.py +39 -40
- pulumiverse_scaleway/get_marketplace_image.py +27 -28
- pulumiverse_scaleway/get_mnq_sns.py +17 -18
- pulumiverse_scaleway/get_mnq_sqs.py +17 -18
- pulumiverse_scaleway/get_mongo_db_instance.py +62 -63
- pulumiverse_scaleway/get_object_bucket.py +34 -35
- pulumiverse_scaleway/get_object_bucket_policy.py +21 -22
- pulumiverse_scaleway/get_redis_cluster.py +53 -54
- pulumiverse_scaleway/get_registry_image.py +47 -48
- pulumiverse_scaleway/get_registry_image_tag.py +43 -44
- pulumiverse_scaleway/get_registry_namespace.py +35 -36
- pulumiverse_scaleway/get_secret.py +57 -58
- pulumiverse_scaleway/get_secret_version.py +45 -46
- pulumiverse_scaleway/get_tem_domain.py +102 -70
- pulumiverse_scaleway/get_vpc.py +47 -48
- pulumiverse_scaleway/get_vpc_gateway_network.py +43 -44
- pulumiverse_scaleway/get_vpc_private_network.py +47 -48
- pulumiverse_scaleway/get_vpc_public_gateway.py +55 -56
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +31 -32
- pulumiverse_scaleway/get_vpc_routes.py +46 -47
- pulumiverse_scaleway/get_vpcs.py +30 -31
- pulumiverse_scaleway/get_web_host_offer.py +33 -34
- pulumiverse_scaleway/get_webhosting.py +57 -58
- pulumiverse_scaleway/hosting/__init__.py +1 -1
- pulumiverse_scaleway/hosting/_inputs.py +80 -81
- pulumiverse_scaleway/hosting/get_hosting.py +57 -58
- pulumiverse_scaleway/hosting/get_offer.py +33 -34
- pulumiverse_scaleway/hosting/hosting.py +209 -210
- pulumiverse_scaleway/hosting/outputs.py +211 -212
- pulumiverse_scaleway/iam/__init__.py +1 -1
- pulumiverse_scaleway/iam/_inputs.py +25 -26
- pulumiverse_scaleway/iam/api_key.py +140 -141
- pulumiverse_scaleway/iam/application.py +96 -97
- pulumiverse_scaleway/iam/get_api_key.py +27 -28
- pulumiverse_scaleway/iam/get_application.py +31 -32
- pulumiverse_scaleway/iam/get_group.py +35 -36
- pulumiverse_scaleway/iam/get_ssh_key.py +33 -34
- pulumiverse_scaleway/iam/get_user.py +27 -28
- pulumiverse_scaleway/iam/group.py +138 -139
- pulumiverse_scaleway/iam/group_membership.py +52 -53
- pulumiverse_scaleway/iam/outputs.py +17 -18
- pulumiverse_scaleway/iam/policy.py +167 -168
- pulumiverse_scaleway/iam/ssh_key.py +105 -106
- pulumiverse_scaleway/iam/user.py +269 -270
- pulumiverse_scaleway/iam_api_key.py +140 -141
- pulumiverse_scaleway/iam_application.py +96 -97
- pulumiverse_scaleway/iam_group.py +138 -139
- pulumiverse_scaleway/iam_group_membership.py +52 -53
- pulumiverse_scaleway/iam_policy.py +167 -168
- pulumiverse_scaleway/iam_ssh_key.py +105 -106
- pulumiverse_scaleway/iam_user.py +269 -270
- pulumiverse_scaleway/inference/__init__.py +1 -1
- pulumiverse_scaleway/inference/_inputs.py +86 -87
- pulumiverse_scaleway/inference/deployment.py +229 -226
- pulumiverse_scaleway/inference/get_model.py +42 -43
- pulumiverse_scaleway/inference/model.py +160 -161
- pulumiverse_scaleway/inference/outputs.py +75 -76
- pulumiverse_scaleway/inference_deployment.py +229 -226
- pulumiverse_scaleway/instance/__init__.py +2 -1
- pulumiverse_scaleway/instance/_inputs.py +431 -478
- pulumiverse_scaleway/instance/get_image.py +57 -58
- pulumiverse_scaleway/instance/get_ip.py +29 -30
- pulumiverse_scaleway/instance/get_placement_group.py +37 -38
- pulumiverse_scaleway/instance/get_private_nic.py +40 -41
- pulumiverse_scaleway/instance/get_security_group.py +45 -46
- pulumiverse_scaleway/instance/get_server.py +81 -82
- pulumiverse_scaleway/instance/get_server_type.py +271 -0
- pulumiverse_scaleway/instance/get_servers.py +30 -31
- pulumiverse_scaleway/instance/get_snapshot.py +40 -41
- pulumiverse_scaleway/instance/get_volume.py +41 -42
- pulumiverse_scaleway/instance/image.py +258 -205
- pulumiverse_scaleway/instance/ip.py +114 -115
- pulumiverse_scaleway/instance/ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance/outputs.py +702 -574
- pulumiverse_scaleway/instance/placement_group.py +121 -122
- pulumiverse_scaleway/instance/private_nic.py +115 -116
- pulumiverse_scaleway/instance/security_group.py +186 -187
- pulumiverse_scaleway/instance/security_group_rules.py +24 -25
- pulumiverse_scaleway/instance/server.py +433 -434
- pulumiverse_scaleway/instance/snapshot.py +133 -162
- pulumiverse_scaleway/instance/user_data.py +69 -70
- pulumiverse_scaleway/instance/volume.py +155 -177
- pulumiverse_scaleway/instance_image.py +258 -205
- pulumiverse_scaleway/instance_ip.py +114 -115
- pulumiverse_scaleway/instance_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance_placement_group.py +121 -122
- pulumiverse_scaleway/instance_private_nic.py +115 -116
- pulumiverse_scaleway/instance_security_group.py +186 -187
- pulumiverse_scaleway/instance_security_group_rules.py +24 -25
- pulumiverse_scaleway/instance_server.py +433 -434
- pulumiverse_scaleway/instance_snapshot.py +133 -162
- pulumiverse_scaleway/instance_user_data.py +69 -70
- pulumiverse_scaleway/instance_volume.py +155 -177
- pulumiverse_scaleway/iot/__init__.py +1 -1
- pulumiverse_scaleway/iot/_inputs.py +118 -119
- pulumiverse_scaleway/iot/device.py +154 -155
- pulumiverse_scaleway/iot/get_device.py +45 -46
- pulumiverse_scaleway/iot/get_hub.py +59 -60
- pulumiverse_scaleway/iot/hub.py +252 -253
- pulumiverse_scaleway/iot/network.py +113 -114
- pulumiverse_scaleway/iot/outputs.py +106 -107
- pulumiverse_scaleway/iot/route.py +87 -88
- pulumiverse_scaleway/iot_device.py +154 -155
- pulumiverse_scaleway/iot_hub.py +252 -253
- pulumiverse_scaleway/iot_network.py +113 -114
- pulumiverse_scaleway/iot_route.py +87 -88
- pulumiverse_scaleway/ipam/__init__.py +1 -1
- pulumiverse_scaleway/ipam/_inputs.py +103 -104
- pulumiverse_scaleway/ipam/get_ip.py +64 -65
- pulumiverse_scaleway/ipam/get_ips.py +55 -56
- pulumiverse_scaleway/ipam/ip.py +123 -124
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/ipam/outputs.py +119 -120
- pulumiverse_scaleway/ipam_ip.py +123 -124
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/job/__init__.py +1 -1
- pulumiverse_scaleway/job/_inputs.py +44 -45
- pulumiverse_scaleway/job/definition.py +177 -178
- pulumiverse_scaleway/job/outputs.py +30 -31
- pulumiverse_scaleway/job_definition.py +177 -178
- pulumiverse_scaleway/key_manager_key.py +334 -226
- pulumiverse_scaleway/kubernetes/__init__.py +1 -1
- pulumiverse_scaleway/kubernetes/_inputs.py +227 -228
- pulumiverse_scaleway/kubernetes/acl.py +55 -56
- pulumiverse_scaleway/kubernetes/cluster.py +350 -297
- pulumiverse_scaleway/kubernetes/get_cluster.py +63 -64
- pulumiverse_scaleway/kubernetes/get_pool.py +75 -76
- pulumiverse_scaleway/kubernetes/get_version.py +21 -22
- pulumiverse_scaleway/kubernetes/outputs.py +288 -289
- pulumiverse_scaleway/kubernetes/pool.py +374 -375
- pulumiverse_scaleway/kubernetes_cluster.py +350 -297
- pulumiverse_scaleway/kubernetes_node_pool.py +374 -375
- pulumiverse_scaleway/loadbalancer.py +246 -247
- pulumiverse_scaleway/loadbalancer_acl.py +93 -94
- pulumiverse_scaleway/loadbalancer_backend.py +493 -487
- pulumiverse_scaleway/loadbalancer_certificate.py +95 -96
- pulumiverse_scaleway/loadbalancer_frontend.py +201 -202
- pulumiverse_scaleway/loadbalancer_ip.py +122 -123
- pulumiverse_scaleway/loadbalancer_route.py +121 -122
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -1
- pulumiverse_scaleway/loadbalancers/_inputs.py +281 -282
- pulumiverse_scaleway/loadbalancers/acl.py +93 -94
- pulumiverse_scaleway/loadbalancers/backend.py +493 -487
- pulumiverse_scaleway/loadbalancers/certificate.py +95 -96
- pulumiverse_scaleway/loadbalancers/frontend.py +201 -202
- pulumiverse_scaleway/loadbalancers/get_acls.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_backend.py +74 -75
- pulumiverse_scaleway/loadbalancers/get_backends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_certificate.py +35 -36
- pulumiverse_scaleway/loadbalancers/get_frontend.py +44 -45
- pulumiverse_scaleway/loadbalancers/get_frontends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_ip.py +39 -40
- pulumiverse_scaleway/loadbalancers/get_ips.py +36 -37
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +55 -56
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +30 -31
- pulumiverse_scaleway/loadbalancers/get_route.py +25 -26
- pulumiverse_scaleway/loadbalancers/get_routes.py +22 -23
- pulumiverse_scaleway/loadbalancers/ip.py +122 -123
- pulumiverse_scaleway/loadbalancers/load_balancer.py +246 -247
- pulumiverse_scaleway/loadbalancers/outputs.py +754 -751
- pulumiverse_scaleway/loadbalancers/route.py +121 -122
- pulumiverse_scaleway/mnq/__init__.py +1 -1
- pulumiverse_scaleway/mnq/_inputs.py +49 -50
- pulumiverse_scaleway/mnq/get_sns.py +17 -18
- pulumiverse_scaleway/mnq/get_sqs.py +17 -18
- pulumiverse_scaleway/mnq/nats_account.py +61 -62
- pulumiverse_scaleway/mnq/nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq/outputs.py +33 -34
- pulumiverse_scaleway/mnq/sns.py +44 -45
- pulumiverse_scaleway/mnq/sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sns_topic.py +172 -173
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq/sqs.py +44 -45
- pulumiverse_scaleway/mnq/sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sqs_queue.py +243 -244
- pulumiverse_scaleway/mnq_nats_account.py +61 -62
- pulumiverse_scaleway/mnq_nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq_sns.py +44 -45
- pulumiverse_scaleway/mnq_sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sns_topic.py +172 -173
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq_sqs.py +44 -45
- pulumiverse_scaleway/mnq_sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sqs_queue.py +243 -244
- pulumiverse_scaleway/mongo_db_instance.py +309 -310
- pulumiverse_scaleway/mongo_db_snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/__init__.py +1 -1
- pulumiverse_scaleway/mongodb/_inputs.py +80 -81
- pulumiverse_scaleway/mongodb/get_instance.py +62 -63
- pulumiverse_scaleway/mongodb/instance.py +309 -310
- pulumiverse_scaleway/mongodb/outputs.py +95 -96
- pulumiverse_scaleway/mongodb/snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/user.py +72 -73
- pulumiverse_scaleway/network/__init__.py +1 -1
- pulumiverse_scaleway/network/_inputs.py +166 -167
- pulumiverse_scaleway/network/acl.py +72 -73
- pulumiverse_scaleway/network/gateway_network.py +179 -180
- pulumiverse_scaleway/network/get_gateway_network.py +43 -44
- pulumiverse_scaleway/network/get_private_network.py +47 -48
- pulumiverse_scaleway/network/get_public_gateway.py +55 -56
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +31 -32
- pulumiverse_scaleway/network/get_routes.py +46 -47
- pulumiverse_scaleway/network/get_vpc.py +47 -48
- pulumiverse_scaleway/network/get_vpcs.py +30 -31
- pulumiverse_scaleway/network/outputs.py +288 -287
- pulumiverse_scaleway/network/private_network.py +170 -171
- pulumiverse_scaleway/network/public_gateway.py +259 -260
- pulumiverse_scaleway/network/public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/network/route.py +138 -139
- pulumiverse_scaleway/network/vpc.py +139 -140
- pulumiverse_scaleway/object/__init__.py +1 -1
- pulumiverse_scaleway/object/_inputs.py +164 -165
- pulumiverse_scaleway/object/bucket.py +147 -148
- pulumiverse_scaleway/object/bucket_acl.py +89 -90
- pulumiverse_scaleway/object/bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object/bucket_policy.py +69 -70
- pulumiverse_scaleway/object/bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object/get_bucket.py +34 -35
- pulumiverse_scaleway/object/get_bucket_policy.py +21 -22
- pulumiverse_scaleway/object/item.py +239 -240
- pulumiverse_scaleway/object/outputs.py +171 -172
- pulumiverse_scaleway/object_bucket.py +147 -148
- pulumiverse_scaleway/object_bucket_acl.py +89 -90
- pulumiverse_scaleway/object_bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object_bucket_policy.py +69 -70
- pulumiverse_scaleway/object_bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object_item.py +239 -240
- pulumiverse_scaleway/observability/__init__.py +1 -1
- pulumiverse_scaleway/observability/_inputs.py +105 -106
- pulumiverse_scaleway/observability/alert_manager.py +64 -65
- pulumiverse_scaleway/observability/cockpit.py +48 -49
- pulumiverse_scaleway/observability/get_instance.py +15 -16
- pulumiverse_scaleway/observability/get_source.py +49 -50
- pulumiverse_scaleway/observability/get_sources.py +46 -47
- pulumiverse_scaleway/observability/grafana_user.py +70 -71
- pulumiverse_scaleway/observability/outputs.py +149 -150
- pulumiverse_scaleway/observability/source.py +140 -141
- pulumiverse_scaleway/observability/token.py +82 -83
- pulumiverse_scaleway/outputs.py +3934 -3944
- pulumiverse_scaleway/provider.py +82 -83
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +123 -124
- pulumiverse_scaleway/redis/__init__.py +1 -1
- pulumiverse_scaleway/redis/_inputs.py +86 -87
- pulumiverse_scaleway/redis/cluster.py +227 -228
- pulumiverse_scaleway/redis/get_cluster.py +53 -54
- pulumiverse_scaleway/redis/outputs.py +115 -116
- pulumiverse_scaleway/redis_cluster.py +227 -228
- pulumiverse_scaleway/registry/__init__.py +1 -1
- pulumiverse_scaleway/registry/get_image.py +47 -48
- pulumiverse_scaleway/registry/get_image_tag.py +43 -44
- pulumiverse_scaleway/registry/get_namespace.py +35 -36
- pulumiverse_scaleway/registry/namespace.py +104 -105
- pulumiverse_scaleway/registry_namespace.py +104 -105
- pulumiverse_scaleway/sdb_database.py +95 -96
- pulumiverse_scaleway/secret.py +178 -179
- pulumiverse_scaleway/secret_version.py +105 -106
- pulumiverse_scaleway/secrets/__init__.py +1 -1
- pulumiverse_scaleway/secrets/_inputs.py +62 -63
- pulumiverse_scaleway/secrets/get_secret.py +57 -58
- pulumiverse_scaleway/secrets/get_version.py +45 -46
- pulumiverse_scaleway/secrets/outputs.py +83 -84
- pulumiverse_scaleway/secrets/secret.py +178 -179
- pulumiverse_scaleway/secrets/version.py +105 -106
- pulumiverse_scaleway/tem/__init__.py +1 -1
- pulumiverse_scaleway/tem/_inputs.py +32 -33
- pulumiverse_scaleway/tem/blocked_list.py +103 -104
- pulumiverse_scaleway/tem/domain.py +340 -257
- pulumiverse_scaleway/tem/domain_validation.py +61 -62
- pulumiverse_scaleway/tem/get_domain.py +102 -70
- pulumiverse_scaleway/tem/get_offer_subscription.py +33 -34
- pulumiverse_scaleway/tem/outputs.py +43 -44
- pulumiverse_scaleway/tem/webhook.py +130 -131
- pulumiverse_scaleway/tem_domain.py +340 -257
- pulumiverse_scaleway/tem_domain_validation.py +61 -62
- pulumiverse_scaleway/tem_webhook.py +130 -131
- pulumiverse_scaleway/vpc.py +139 -140
- pulumiverse_scaleway/vpc_gateway_network.py +179 -180
- pulumiverse_scaleway/vpc_private_network.py +170 -171
- pulumiverse_scaleway/vpc_public_gateway.py +259 -260
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/vpc_route.py +138 -139
- pulumiverse_scaleway/webhosting.py +209 -210
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.35.0.dist-info/RECORD +500 -0
- pulumiverse_scaleway-1.34.2a1759388651.dist-info/RECORD +0 -499
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,48 +21,48 @@ __all__ = ['KubernetesClusterArgs', 'KubernetesCluster']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class KubernetesClusterArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
cni: pulumi.Input[
|
|
26
|
-
delete_additional_resources: pulumi.Input[
|
|
27
|
-
version: pulumi.Input[
|
|
28
|
-
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
29
|
-
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
24
|
+
cni: pulumi.Input[_builtins.str],
|
|
25
|
+
delete_additional_resources: pulumi.Input[_builtins.bool],
|
|
26
|
+
version: pulumi.Input[_builtins.str],
|
|
27
|
+
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
28
|
+
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
30
29
|
auto_upgrade: Optional[pulumi.Input['KubernetesClusterAutoUpgradeArgs']] = None,
|
|
31
30
|
autoscaler_config: Optional[pulumi.Input['KubernetesClusterAutoscalerConfigArgs']] = None,
|
|
32
|
-
description: Optional[pulumi.Input[
|
|
33
|
-
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
34
|
-
name: Optional[pulumi.Input[
|
|
31
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
33
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
34
|
open_id_connect_config: Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']] = None,
|
|
36
|
-
private_network_id: Optional[pulumi.Input[
|
|
37
|
-
project_id: Optional[pulumi.Input[
|
|
38
|
-
region: Optional[pulumi.Input[
|
|
39
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
40
|
-
type: Optional[pulumi.Input[
|
|
35
|
+
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
37
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
38
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
39
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a KubernetesCluster resource.
|
|
43
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.str] cni: The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
44
43
|
> **Important:** Updates to this field will recreate a new resource.
|
|
45
|
-
:param pulumi.Input[
|
|
44
|
+
:param pulumi.Input[_builtins.bool] delete_additional_resources: Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
46
45
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
47
46
|
If you prefer keeping it, you should instead set it as `false`.
|
|
48
|
-
:param pulumi.Input[
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
50
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
47
|
+
:param pulumi.Input[_builtins.str] version: The version of the Kubernetes cluster.
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_plugins: The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
49
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] apiserver_cert_sans: Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
51
50
|
:param pulumi.Input['KubernetesClusterAutoUpgradeArgs'] auto_upgrade: The auto upgrade configuration.
|
|
52
51
|
:param pulumi.Input['KubernetesClusterAutoscalerConfigArgs'] autoscaler_config: The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
55
|
-
:param pulumi.Input[
|
|
52
|
+
:param pulumi.Input[_builtins.str] description: A description for the Kubernetes cluster.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] feature_gates: The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
54
|
+
:param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
|
|
56
55
|
:param pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs'] open_id_connect_config: The OpenID Connect configuration of the cluster
|
|
57
|
-
:param pulumi.Input[
|
|
56
|
+
:param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
|
|
58
57
|
|
|
59
58
|
> **Important:** Changes to this field will recreate a new resource.
|
|
60
59
|
|
|
61
60
|
> **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `private_network_id` set),
|
|
62
61
|
you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
|
|
63
|
-
:param pulumi.Input[
|
|
64
|
-
:param pulumi.Input[
|
|
65
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
66
|
-
:param pulumi.Input[
|
|
62
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
|
|
63
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
|
|
64
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
|
|
65
|
+
:param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
|
|
67
66
|
|
|
68
67
|
- for mutualized clusters: `kapsule` or `multicloud`
|
|
69
68
|
|
|
@@ -101,9 +100,9 @@ class KubernetesClusterArgs:
|
|
|
101
100
|
if type is not None:
|
|
102
101
|
pulumi.set(__self__, "type", type)
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter
|
|
106
|
-
def cni(self) -> pulumi.Input[
|
|
105
|
+
def cni(self) -> pulumi.Input[_builtins.str]:
|
|
107
106
|
"""
|
|
108
107
|
The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
109
108
|
> **Important:** Updates to this field will recreate a new resource.
|
|
@@ -111,12 +110,12 @@ class KubernetesClusterArgs:
|
|
|
111
110
|
return pulumi.get(self, "cni")
|
|
112
111
|
|
|
113
112
|
@cni.setter
|
|
114
|
-
def cni(self, value: pulumi.Input[
|
|
113
|
+
def cni(self, value: pulumi.Input[_builtins.str]):
|
|
115
114
|
pulumi.set(self, "cni", value)
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter(name="deleteAdditionalResources")
|
|
119
|
-
def delete_additional_resources(self) -> pulumi.Input[
|
|
118
|
+
def delete_additional_resources(self) -> pulumi.Input[_builtins.bool]:
|
|
120
119
|
"""
|
|
121
120
|
Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
122
121
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
@@ -125,46 +124,46 @@ class KubernetesClusterArgs:
|
|
|
125
124
|
return pulumi.get(self, "delete_additional_resources")
|
|
126
125
|
|
|
127
126
|
@delete_additional_resources.setter
|
|
128
|
-
def delete_additional_resources(self, value: pulumi.Input[
|
|
127
|
+
def delete_additional_resources(self, value: pulumi.Input[_builtins.bool]):
|
|
129
128
|
pulumi.set(self, "delete_additional_resources", value)
|
|
130
129
|
|
|
131
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
132
131
|
@pulumi.getter
|
|
133
|
-
def version(self) -> pulumi.Input[
|
|
132
|
+
def version(self) -> pulumi.Input[_builtins.str]:
|
|
134
133
|
"""
|
|
135
134
|
The version of the Kubernetes cluster.
|
|
136
135
|
"""
|
|
137
136
|
return pulumi.get(self, "version")
|
|
138
137
|
|
|
139
138
|
@version.setter
|
|
140
|
-
def version(self, value: pulumi.Input[
|
|
139
|
+
def version(self, value: pulumi.Input[_builtins.str]):
|
|
141
140
|
pulumi.set(self, "version", value)
|
|
142
141
|
|
|
143
|
-
@property
|
|
142
|
+
@_builtins.property
|
|
144
143
|
@pulumi.getter(name="admissionPlugins")
|
|
145
|
-
def admission_plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
144
|
+
def admission_plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
146
145
|
"""
|
|
147
146
|
The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
148
147
|
"""
|
|
149
148
|
return pulumi.get(self, "admission_plugins")
|
|
150
149
|
|
|
151
150
|
@admission_plugins.setter
|
|
152
|
-
def admission_plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
151
|
+
def admission_plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
153
152
|
pulumi.set(self, "admission_plugins", value)
|
|
154
153
|
|
|
155
|
-
@property
|
|
154
|
+
@_builtins.property
|
|
156
155
|
@pulumi.getter(name="apiserverCertSans")
|
|
157
|
-
def apiserver_cert_sans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
156
|
+
def apiserver_cert_sans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
158
157
|
"""
|
|
159
158
|
Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
160
159
|
"""
|
|
161
160
|
return pulumi.get(self, "apiserver_cert_sans")
|
|
162
161
|
|
|
163
162
|
@apiserver_cert_sans.setter
|
|
164
|
-
def apiserver_cert_sans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
163
|
+
def apiserver_cert_sans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
165
164
|
pulumi.set(self, "apiserver_cert_sans", value)
|
|
166
165
|
|
|
167
|
-
@property
|
|
166
|
+
@_builtins.property
|
|
168
167
|
@pulumi.getter(name="autoUpgrade")
|
|
169
168
|
def auto_upgrade(self) -> Optional[pulumi.Input['KubernetesClusterAutoUpgradeArgs']]:
|
|
170
169
|
"""
|
|
@@ -176,7 +175,7 @@ class KubernetesClusterArgs:
|
|
|
176
175
|
def auto_upgrade(self, value: Optional[pulumi.Input['KubernetesClusterAutoUpgradeArgs']]):
|
|
177
176
|
pulumi.set(self, "auto_upgrade", value)
|
|
178
177
|
|
|
179
|
-
@property
|
|
178
|
+
@_builtins.property
|
|
180
179
|
@pulumi.getter(name="autoscalerConfig")
|
|
181
180
|
def autoscaler_config(self) -> Optional[pulumi.Input['KubernetesClusterAutoscalerConfigArgs']]:
|
|
182
181
|
"""
|
|
@@ -188,43 +187,43 @@ class KubernetesClusterArgs:
|
|
|
188
187
|
def autoscaler_config(self, value: Optional[pulumi.Input['KubernetesClusterAutoscalerConfigArgs']]):
|
|
189
188
|
pulumi.set(self, "autoscaler_config", value)
|
|
190
189
|
|
|
191
|
-
@property
|
|
190
|
+
@_builtins.property
|
|
192
191
|
@pulumi.getter
|
|
193
|
-
def description(self) -> Optional[pulumi.Input[
|
|
192
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
194
193
|
"""
|
|
195
194
|
A description for the Kubernetes cluster.
|
|
196
195
|
"""
|
|
197
196
|
return pulumi.get(self, "description")
|
|
198
197
|
|
|
199
198
|
@description.setter
|
|
200
|
-
def description(self, value: Optional[pulumi.Input[
|
|
199
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
201
200
|
pulumi.set(self, "description", value)
|
|
202
201
|
|
|
203
|
-
@property
|
|
202
|
+
@_builtins.property
|
|
204
203
|
@pulumi.getter(name="featureGates")
|
|
205
|
-
def feature_gates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
204
|
+
def feature_gates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
206
205
|
"""
|
|
207
206
|
The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
208
207
|
"""
|
|
209
208
|
return pulumi.get(self, "feature_gates")
|
|
210
209
|
|
|
211
210
|
@feature_gates.setter
|
|
212
|
-
def feature_gates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
211
|
+
def feature_gates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
213
212
|
pulumi.set(self, "feature_gates", value)
|
|
214
213
|
|
|
215
|
-
@property
|
|
214
|
+
@_builtins.property
|
|
216
215
|
@pulumi.getter
|
|
217
|
-
def name(self) -> Optional[pulumi.Input[
|
|
216
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
218
217
|
"""
|
|
219
218
|
The name for the Kubernetes cluster.
|
|
220
219
|
"""
|
|
221
220
|
return pulumi.get(self, "name")
|
|
222
221
|
|
|
223
222
|
@name.setter
|
|
224
|
-
def name(self, value: Optional[pulumi.Input[
|
|
223
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
225
224
|
pulumi.set(self, "name", value)
|
|
226
225
|
|
|
227
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
228
227
|
@pulumi.getter(name="openIdConnectConfig")
|
|
229
228
|
def open_id_connect_config(self) -> Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']]:
|
|
230
229
|
"""
|
|
@@ -236,9 +235,9 @@ class KubernetesClusterArgs:
|
|
|
236
235
|
def open_id_connect_config(self, value: Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']]):
|
|
237
236
|
pulumi.set(self, "open_id_connect_config", value)
|
|
238
237
|
|
|
239
|
-
@property
|
|
238
|
+
@_builtins.property
|
|
240
239
|
@pulumi.getter(name="privateNetworkId")
|
|
241
|
-
def private_network_id(self) -> Optional[pulumi.Input[
|
|
240
|
+
def private_network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
242
241
|
"""
|
|
243
242
|
The ID of the private network of the cluster.
|
|
244
243
|
|
|
@@ -250,48 +249,48 @@ class KubernetesClusterArgs:
|
|
|
250
249
|
return pulumi.get(self, "private_network_id")
|
|
251
250
|
|
|
252
251
|
@private_network_id.setter
|
|
253
|
-
def private_network_id(self, value: Optional[pulumi.Input[
|
|
252
|
+
def private_network_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
254
253
|
pulumi.set(self, "private_network_id", value)
|
|
255
254
|
|
|
256
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
257
256
|
@pulumi.getter(name="projectId")
|
|
258
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
257
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
259
258
|
"""
|
|
260
259
|
`project_id`) The ID of the project the cluster is associated with.
|
|
261
260
|
"""
|
|
262
261
|
return pulumi.get(self, "project_id")
|
|
263
262
|
|
|
264
263
|
@project_id.setter
|
|
265
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
264
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
266
265
|
pulumi.set(self, "project_id", value)
|
|
267
266
|
|
|
268
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
269
268
|
@pulumi.getter
|
|
270
|
-
def region(self) -> Optional[pulumi.Input[
|
|
269
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
271
270
|
"""
|
|
272
271
|
`region`) The region in which the cluster should be created.
|
|
273
272
|
"""
|
|
274
273
|
return pulumi.get(self, "region")
|
|
275
274
|
|
|
276
275
|
@region.setter
|
|
277
|
-
def region(self, value: Optional[pulumi.Input[
|
|
276
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
278
277
|
pulumi.set(self, "region", value)
|
|
279
278
|
|
|
280
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
281
280
|
@pulumi.getter
|
|
282
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
281
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
283
282
|
"""
|
|
284
283
|
The tags associated with the Kubernetes cluster.
|
|
285
284
|
"""
|
|
286
285
|
return pulumi.get(self, "tags")
|
|
287
286
|
|
|
288
287
|
@tags.setter
|
|
289
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
288
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
290
289
|
pulumi.set(self, "tags", value)
|
|
291
290
|
|
|
292
|
-
@property
|
|
291
|
+
@_builtins.property
|
|
293
292
|
@pulumi.getter
|
|
294
|
-
def type(self) -> Optional[pulumi.Input[
|
|
293
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
295
294
|
"""
|
|
296
295
|
The type of Kubernetes cluster. Possible values are:
|
|
297
296
|
|
|
@@ -304,77 +303,77 @@ class KubernetesClusterArgs:
|
|
|
304
303
|
return pulumi.get(self, "type")
|
|
305
304
|
|
|
306
305
|
@type.setter
|
|
307
|
-
def type(self, value: Optional[pulumi.Input[
|
|
306
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
308
307
|
pulumi.set(self, "type", value)
|
|
309
308
|
|
|
310
309
|
|
|
311
310
|
@pulumi.input_type
|
|
312
311
|
class _KubernetesClusterState:
|
|
313
312
|
def __init__(__self__, *,
|
|
314
|
-
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
315
|
-
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
316
|
-
apiserver_url: Optional[pulumi.Input[
|
|
313
|
+
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
314
|
+
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
315
|
+
apiserver_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
316
|
auto_upgrade: Optional[pulumi.Input['KubernetesClusterAutoUpgradeArgs']] = None,
|
|
318
317
|
autoscaler_config: Optional[pulumi.Input['KubernetesClusterAutoscalerConfigArgs']] = None,
|
|
319
|
-
cni: Optional[pulumi.Input[
|
|
320
|
-
created_at: Optional[pulumi.Input[
|
|
321
|
-
delete_additional_resources: Optional[pulumi.Input[
|
|
322
|
-
description: Optional[pulumi.Input[
|
|
323
|
-
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
318
|
+
cni: Optional[pulumi.Input[_builtins.str]] = None,
|
|
319
|
+
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
|
+
delete_additional_resources: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
321
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
322
|
+
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
324
323
|
kubeconfigs: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterKubeconfigArgs']]]] = None,
|
|
325
|
-
name: Optional[pulumi.Input[
|
|
324
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
326
325
|
open_id_connect_config: Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']] = None,
|
|
327
|
-
organization_id: Optional[pulumi.Input[
|
|
328
|
-
private_network_id: Optional[pulumi.Input[
|
|
329
|
-
project_id: Optional[pulumi.Input[
|
|
330
|
-
region: Optional[pulumi.Input[
|
|
331
|
-
status: Optional[pulumi.Input[
|
|
332
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
333
|
-
type: Optional[pulumi.Input[
|
|
334
|
-
updated_at: Optional[pulumi.Input[
|
|
335
|
-
upgrade_available: Optional[pulumi.Input[
|
|
336
|
-
version: Optional[pulumi.Input[
|
|
337
|
-
wildcard_dns: Optional[pulumi.Input[
|
|
326
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
327
|
+
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
328
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
330
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
331
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
332
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
333
|
+
updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
334
|
+
upgrade_available: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
335
|
+
version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
336
|
+
wildcard_dns: Optional[pulumi.Input[_builtins.str]] = None):
|
|
338
337
|
"""
|
|
339
338
|
Input properties used for looking up and filtering KubernetesCluster resources.
|
|
340
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
342
|
-
:param pulumi.Input[
|
|
339
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_plugins: The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
340
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] apiserver_cert_sans: Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
341
|
+
:param pulumi.Input[_builtins.str] apiserver_url: The URL of the Kubernetes API server.
|
|
343
342
|
:param pulumi.Input['KubernetesClusterAutoUpgradeArgs'] auto_upgrade: The auto upgrade configuration.
|
|
344
343
|
:param pulumi.Input['KubernetesClusterAutoscalerConfigArgs'] autoscaler_config: The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
|
|
345
|
-
:param pulumi.Input[
|
|
344
|
+
:param pulumi.Input[_builtins.str] cni: The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
346
345
|
> **Important:** Updates to this field will recreate a new resource.
|
|
347
|
-
:param pulumi.Input[
|
|
348
|
-
:param pulumi.Input[
|
|
346
|
+
:param pulumi.Input[_builtins.str] created_at: The creation date of the cluster.
|
|
347
|
+
:param pulumi.Input[_builtins.bool] delete_additional_resources: Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
349
348
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
350
349
|
If you prefer keeping it, you should instead set it as `false`.
|
|
351
|
-
:param pulumi.Input[
|
|
352
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
350
|
+
:param pulumi.Input[_builtins.str] description: A description for the Kubernetes cluster.
|
|
351
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] feature_gates: The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
353
352
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterKubeconfigArgs']]] kubeconfigs: The kubeconfig configuration file of the Kubernetes cluster
|
|
354
|
-
:param pulumi.Input[
|
|
353
|
+
:param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
|
|
355
354
|
:param pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs'] open_id_connect_config: The OpenID Connect configuration of the cluster
|
|
356
|
-
:param pulumi.Input[
|
|
357
|
-
:param pulumi.Input[
|
|
355
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the cluster is associated with.
|
|
356
|
+
:param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
|
|
358
357
|
|
|
359
358
|
> **Important:** Changes to this field will recreate a new resource.
|
|
360
359
|
|
|
361
360
|
> **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `private_network_id` set),
|
|
362
361
|
you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
|
|
363
|
-
:param pulumi.Input[
|
|
364
|
-
:param pulumi.Input[
|
|
365
|
-
:param pulumi.Input[
|
|
366
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
367
|
-
:param pulumi.Input[
|
|
362
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
|
|
363
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
|
|
364
|
+
:param pulumi.Input[_builtins.str] status: The status of the Kubernetes cluster.
|
|
365
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
|
|
366
|
+
:param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
|
|
368
367
|
|
|
369
368
|
- for mutualized clusters: `kapsule` or `multicloud`
|
|
370
369
|
|
|
371
370
|
- for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.
|
|
372
371
|
|
|
373
372
|
- for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.
|
|
374
|
-
:param pulumi.Input[
|
|
375
|
-
:param pulumi.Input[
|
|
376
|
-
:param pulumi.Input[
|
|
377
|
-
:param pulumi.Input[
|
|
373
|
+
:param pulumi.Input[_builtins.str] updated_at: The last update date of the cluster.
|
|
374
|
+
:param pulumi.Input[_builtins.bool] upgrade_available: Set to `true` if a newer Kubernetes version is available.
|
|
375
|
+
:param pulumi.Input[_builtins.str] version: The version of the Kubernetes cluster.
|
|
376
|
+
:param pulumi.Input[_builtins.str] wildcard_dns: The DNS wildcard that points to all ready nodes.
|
|
378
377
|
"""
|
|
379
378
|
if admission_plugins is not None:
|
|
380
379
|
pulumi.set(__self__, "admission_plugins", admission_plugins)
|
|
@@ -425,43 +424,43 @@ class _KubernetesClusterState:
|
|
|
425
424
|
if wildcard_dns is not None:
|
|
426
425
|
pulumi.set(__self__, "wildcard_dns", wildcard_dns)
|
|
427
426
|
|
|
428
|
-
@property
|
|
427
|
+
@_builtins.property
|
|
429
428
|
@pulumi.getter(name="admissionPlugins")
|
|
430
|
-
def admission_plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
429
|
+
def admission_plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
431
430
|
"""
|
|
432
431
|
The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
433
432
|
"""
|
|
434
433
|
return pulumi.get(self, "admission_plugins")
|
|
435
434
|
|
|
436
435
|
@admission_plugins.setter
|
|
437
|
-
def admission_plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
436
|
+
def admission_plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
438
437
|
pulumi.set(self, "admission_plugins", value)
|
|
439
438
|
|
|
440
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
441
440
|
@pulumi.getter(name="apiserverCertSans")
|
|
442
|
-
def apiserver_cert_sans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
441
|
+
def apiserver_cert_sans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
443
442
|
"""
|
|
444
443
|
Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
445
444
|
"""
|
|
446
445
|
return pulumi.get(self, "apiserver_cert_sans")
|
|
447
446
|
|
|
448
447
|
@apiserver_cert_sans.setter
|
|
449
|
-
def apiserver_cert_sans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
448
|
+
def apiserver_cert_sans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
450
449
|
pulumi.set(self, "apiserver_cert_sans", value)
|
|
451
450
|
|
|
452
|
-
@property
|
|
451
|
+
@_builtins.property
|
|
453
452
|
@pulumi.getter(name="apiserverUrl")
|
|
454
|
-
def apiserver_url(self) -> Optional[pulumi.Input[
|
|
453
|
+
def apiserver_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
455
454
|
"""
|
|
456
455
|
The URL of the Kubernetes API server.
|
|
457
456
|
"""
|
|
458
457
|
return pulumi.get(self, "apiserver_url")
|
|
459
458
|
|
|
460
459
|
@apiserver_url.setter
|
|
461
|
-
def apiserver_url(self, value: Optional[pulumi.Input[
|
|
460
|
+
def apiserver_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
462
461
|
pulumi.set(self, "apiserver_url", value)
|
|
463
462
|
|
|
464
|
-
@property
|
|
463
|
+
@_builtins.property
|
|
465
464
|
@pulumi.getter(name="autoUpgrade")
|
|
466
465
|
def auto_upgrade(self) -> Optional[pulumi.Input['KubernetesClusterAutoUpgradeArgs']]:
|
|
467
466
|
"""
|
|
@@ -473,7 +472,7 @@ class _KubernetesClusterState:
|
|
|
473
472
|
def auto_upgrade(self, value: Optional[pulumi.Input['KubernetesClusterAutoUpgradeArgs']]):
|
|
474
473
|
pulumi.set(self, "auto_upgrade", value)
|
|
475
474
|
|
|
476
|
-
@property
|
|
475
|
+
@_builtins.property
|
|
477
476
|
@pulumi.getter(name="autoscalerConfig")
|
|
478
477
|
def autoscaler_config(self) -> Optional[pulumi.Input['KubernetesClusterAutoscalerConfigArgs']]:
|
|
479
478
|
"""
|
|
@@ -485,9 +484,9 @@ class _KubernetesClusterState:
|
|
|
485
484
|
def autoscaler_config(self, value: Optional[pulumi.Input['KubernetesClusterAutoscalerConfigArgs']]):
|
|
486
485
|
pulumi.set(self, "autoscaler_config", value)
|
|
487
486
|
|
|
488
|
-
@property
|
|
487
|
+
@_builtins.property
|
|
489
488
|
@pulumi.getter
|
|
490
|
-
def cni(self) -> Optional[pulumi.Input[
|
|
489
|
+
def cni(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
491
490
|
"""
|
|
492
491
|
The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
493
492
|
> **Important:** Updates to this field will recreate a new resource.
|
|
@@ -495,24 +494,24 @@ class _KubernetesClusterState:
|
|
|
495
494
|
return pulumi.get(self, "cni")
|
|
496
495
|
|
|
497
496
|
@cni.setter
|
|
498
|
-
def cni(self, value: Optional[pulumi.Input[
|
|
497
|
+
def cni(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
499
498
|
pulumi.set(self, "cni", value)
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter(name="createdAt")
|
|
503
|
-
def created_at(self) -> Optional[pulumi.Input[
|
|
502
|
+
def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
504
503
|
"""
|
|
505
504
|
The creation date of the cluster.
|
|
506
505
|
"""
|
|
507
506
|
return pulumi.get(self, "created_at")
|
|
508
507
|
|
|
509
508
|
@created_at.setter
|
|
510
|
-
def created_at(self, value: Optional[pulumi.Input[
|
|
509
|
+
def created_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
511
510
|
pulumi.set(self, "created_at", value)
|
|
512
511
|
|
|
513
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
514
513
|
@pulumi.getter(name="deleteAdditionalResources")
|
|
515
|
-
def delete_additional_resources(self) -> Optional[pulumi.Input[
|
|
514
|
+
def delete_additional_resources(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
516
515
|
"""
|
|
517
516
|
Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
518
517
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
@@ -521,34 +520,34 @@ class _KubernetesClusterState:
|
|
|
521
520
|
return pulumi.get(self, "delete_additional_resources")
|
|
522
521
|
|
|
523
522
|
@delete_additional_resources.setter
|
|
524
|
-
def delete_additional_resources(self, value: Optional[pulumi.Input[
|
|
523
|
+
def delete_additional_resources(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
525
524
|
pulumi.set(self, "delete_additional_resources", value)
|
|
526
525
|
|
|
527
|
-
@property
|
|
526
|
+
@_builtins.property
|
|
528
527
|
@pulumi.getter
|
|
529
|
-
def description(self) -> Optional[pulumi.Input[
|
|
528
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
530
529
|
"""
|
|
531
530
|
A description for the Kubernetes cluster.
|
|
532
531
|
"""
|
|
533
532
|
return pulumi.get(self, "description")
|
|
534
533
|
|
|
535
534
|
@description.setter
|
|
536
|
-
def description(self, value: Optional[pulumi.Input[
|
|
535
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
537
536
|
pulumi.set(self, "description", value)
|
|
538
537
|
|
|
539
|
-
@property
|
|
538
|
+
@_builtins.property
|
|
540
539
|
@pulumi.getter(name="featureGates")
|
|
541
|
-
def feature_gates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
540
|
+
def feature_gates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
542
541
|
"""
|
|
543
542
|
The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
544
543
|
"""
|
|
545
544
|
return pulumi.get(self, "feature_gates")
|
|
546
545
|
|
|
547
546
|
@feature_gates.setter
|
|
548
|
-
def feature_gates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
547
|
+
def feature_gates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
549
548
|
pulumi.set(self, "feature_gates", value)
|
|
550
549
|
|
|
551
|
-
@property
|
|
550
|
+
@_builtins.property
|
|
552
551
|
@pulumi.getter
|
|
553
552
|
def kubeconfigs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterKubeconfigArgs']]]]:
|
|
554
553
|
"""
|
|
@@ -560,19 +559,19 @@ class _KubernetesClusterState:
|
|
|
560
559
|
def kubeconfigs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterKubeconfigArgs']]]]):
|
|
561
560
|
pulumi.set(self, "kubeconfigs", value)
|
|
562
561
|
|
|
563
|
-
@property
|
|
562
|
+
@_builtins.property
|
|
564
563
|
@pulumi.getter
|
|
565
|
-
def name(self) -> Optional[pulumi.Input[
|
|
564
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
566
565
|
"""
|
|
567
566
|
The name for the Kubernetes cluster.
|
|
568
567
|
"""
|
|
569
568
|
return pulumi.get(self, "name")
|
|
570
569
|
|
|
571
570
|
@name.setter
|
|
572
|
-
def name(self, value: Optional[pulumi.Input[
|
|
571
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
573
572
|
pulumi.set(self, "name", value)
|
|
574
573
|
|
|
575
|
-
@property
|
|
574
|
+
@_builtins.property
|
|
576
575
|
@pulumi.getter(name="openIdConnectConfig")
|
|
577
576
|
def open_id_connect_config(self) -> Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']]:
|
|
578
577
|
"""
|
|
@@ -584,21 +583,21 @@ class _KubernetesClusterState:
|
|
|
584
583
|
def open_id_connect_config(self, value: Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']]):
|
|
585
584
|
pulumi.set(self, "open_id_connect_config", value)
|
|
586
585
|
|
|
587
|
-
@property
|
|
586
|
+
@_builtins.property
|
|
588
587
|
@pulumi.getter(name="organizationId")
|
|
589
|
-
def organization_id(self) -> Optional[pulumi.Input[
|
|
588
|
+
def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
590
589
|
"""
|
|
591
590
|
The organization ID the cluster is associated with.
|
|
592
591
|
"""
|
|
593
592
|
return pulumi.get(self, "organization_id")
|
|
594
593
|
|
|
595
594
|
@organization_id.setter
|
|
596
|
-
def organization_id(self, value: Optional[pulumi.Input[
|
|
595
|
+
def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
597
596
|
pulumi.set(self, "organization_id", value)
|
|
598
597
|
|
|
599
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
600
599
|
@pulumi.getter(name="privateNetworkId")
|
|
601
|
-
def private_network_id(self) -> Optional[pulumi.Input[
|
|
600
|
+
def private_network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
602
601
|
"""
|
|
603
602
|
The ID of the private network of the cluster.
|
|
604
603
|
|
|
@@ -610,60 +609,60 @@ class _KubernetesClusterState:
|
|
|
610
609
|
return pulumi.get(self, "private_network_id")
|
|
611
610
|
|
|
612
611
|
@private_network_id.setter
|
|
613
|
-
def private_network_id(self, value: Optional[pulumi.Input[
|
|
612
|
+
def private_network_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
614
613
|
pulumi.set(self, "private_network_id", value)
|
|
615
614
|
|
|
616
|
-
@property
|
|
615
|
+
@_builtins.property
|
|
617
616
|
@pulumi.getter(name="projectId")
|
|
618
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
617
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
619
618
|
"""
|
|
620
619
|
`project_id`) The ID of the project the cluster is associated with.
|
|
621
620
|
"""
|
|
622
621
|
return pulumi.get(self, "project_id")
|
|
623
622
|
|
|
624
623
|
@project_id.setter
|
|
625
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
624
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
626
625
|
pulumi.set(self, "project_id", value)
|
|
627
626
|
|
|
628
|
-
@property
|
|
627
|
+
@_builtins.property
|
|
629
628
|
@pulumi.getter
|
|
630
|
-
def region(self) -> Optional[pulumi.Input[
|
|
629
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
631
630
|
"""
|
|
632
631
|
`region`) The region in which the cluster should be created.
|
|
633
632
|
"""
|
|
634
633
|
return pulumi.get(self, "region")
|
|
635
634
|
|
|
636
635
|
@region.setter
|
|
637
|
-
def region(self, value: Optional[pulumi.Input[
|
|
636
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
638
637
|
pulumi.set(self, "region", value)
|
|
639
638
|
|
|
640
|
-
@property
|
|
639
|
+
@_builtins.property
|
|
641
640
|
@pulumi.getter
|
|
642
|
-
def status(self) -> Optional[pulumi.Input[
|
|
641
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
643
642
|
"""
|
|
644
643
|
The status of the Kubernetes cluster.
|
|
645
644
|
"""
|
|
646
645
|
return pulumi.get(self, "status")
|
|
647
646
|
|
|
648
647
|
@status.setter
|
|
649
|
-
def status(self, value: Optional[pulumi.Input[
|
|
648
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
650
649
|
pulumi.set(self, "status", value)
|
|
651
650
|
|
|
652
|
-
@property
|
|
651
|
+
@_builtins.property
|
|
653
652
|
@pulumi.getter
|
|
654
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
653
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
655
654
|
"""
|
|
656
655
|
The tags associated with the Kubernetes cluster.
|
|
657
656
|
"""
|
|
658
657
|
return pulumi.get(self, "tags")
|
|
659
658
|
|
|
660
659
|
@tags.setter
|
|
661
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
660
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
662
661
|
pulumi.set(self, "tags", value)
|
|
663
662
|
|
|
664
|
-
@property
|
|
663
|
+
@_builtins.property
|
|
665
664
|
@pulumi.getter
|
|
666
|
-
def type(self) -> Optional[pulumi.Input[
|
|
665
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
667
666
|
"""
|
|
668
667
|
The type of Kubernetes cluster. Possible values are:
|
|
669
668
|
|
|
@@ -676,55 +675,55 @@ class _KubernetesClusterState:
|
|
|
676
675
|
return pulumi.get(self, "type")
|
|
677
676
|
|
|
678
677
|
@type.setter
|
|
679
|
-
def type(self, value: Optional[pulumi.Input[
|
|
678
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
680
679
|
pulumi.set(self, "type", value)
|
|
681
680
|
|
|
682
|
-
@property
|
|
681
|
+
@_builtins.property
|
|
683
682
|
@pulumi.getter(name="updatedAt")
|
|
684
|
-
def updated_at(self) -> Optional[pulumi.Input[
|
|
683
|
+
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
685
684
|
"""
|
|
686
685
|
The last update date of the cluster.
|
|
687
686
|
"""
|
|
688
687
|
return pulumi.get(self, "updated_at")
|
|
689
688
|
|
|
690
689
|
@updated_at.setter
|
|
691
|
-
def updated_at(self, value: Optional[pulumi.Input[
|
|
690
|
+
def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
692
691
|
pulumi.set(self, "updated_at", value)
|
|
693
692
|
|
|
694
|
-
@property
|
|
693
|
+
@_builtins.property
|
|
695
694
|
@pulumi.getter(name="upgradeAvailable")
|
|
696
|
-
def upgrade_available(self) -> Optional[pulumi.Input[
|
|
695
|
+
def upgrade_available(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
697
696
|
"""
|
|
698
697
|
Set to `true` if a newer Kubernetes version is available.
|
|
699
698
|
"""
|
|
700
699
|
return pulumi.get(self, "upgrade_available")
|
|
701
700
|
|
|
702
701
|
@upgrade_available.setter
|
|
703
|
-
def upgrade_available(self, value: Optional[pulumi.Input[
|
|
702
|
+
def upgrade_available(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
704
703
|
pulumi.set(self, "upgrade_available", value)
|
|
705
704
|
|
|
706
|
-
@property
|
|
705
|
+
@_builtins.property
|
|
707
706
|
@pulumi.getter
|
|
708
|
-
def version(self) -> Optional[pulumi.Input[
|
|
707
|
+
def version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
709
708
|
"""
|
|
710
709
|
The version of the Kubernetes cluster.
|
|
711
710
|
"""
|
|
712
711
|
return pulumi.get(self, "version")
|
|
713
712
|
|
|
714
713
|
@version.setter
|
|
715
|
-
def version(self, value: Optional[pulumi.Input[
|
|
714
|
+
def version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
716
715
|
pulumi.set(self, "version", value)
|
|
717
716
|
|
|
718
|
-
@property
|
|
717
|
+
@_builtins.property
|
|
719
718
|
@pulumi.getter(name="wildcardDns")
|
|
720
|
-
def wildcard_dns(self) -> Optional[pulumi.Input[
|
|
719
|
+
def wildcard_dns(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
721
720
|
"""
|
|
722
721
|
The DNS wildcard that points to all ready nodes.
|
|
723
722
|
"""
|
|
724
723
|
return pulumi.get(self, "wildcard_dns")
|
|
725
724
|
|
|
726
725
|
@wildcard_dns.setter
|
|
727
|
-
def wildcard_dns(self, value: Optional[pulumi.Input[
|
|
726
|
+
def wildcard_dns(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
728
727
|
pulumi.set(self, "wildcard_dns", value)
|
|
729
728
|
|
|
730
729
|
|
|
@@ -739,22 +738,22 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
739
738
|
def __init__(__self__,
|
|
740
739
|
resource_name: str,
|
|
741
740
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
742
|
-
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
743
|
-
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
741
|
+
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
742
|
+
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
744
743
|
auto_upgrade: Optional[pulumi.Input[Union['KubernetesClusterAutoUpgradeArgs', 'KubernetesClusterAutoUpgradeArgsDict']]] = None,
|
|
745
744
|
autoscaler_config: Optional[pulumi.Input[Union['KubernetesClusterAutoscalerConfigArgs', 'KubernetesClusterAutoscalerConfigArgsDict']]] = None,
|
|
746
|
-
cni: Optional[pulumi.Input[
|
|
747
|
-
delete_additional_resources: Optional[pulumi.Input[
|
|
748
|
-
description: Optional[pulumi.Input[
|
|
749
|
-
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
750
|
-
name: Optional[pulumi.Input[
|
|
745
|
+
cni: Optional[pulumi.Input[_builtins.str]] = None,
|
|
746
|
+
delete_additional_resources: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
747
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
748
|
+
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
749
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
751
750
|
open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
|
|
752
|
-
private_network_id: Optional[pulumi.Input[
|
|
753
|
-
project_id: Optional[pulumi.Input[
|
|
754
|
-
region: Optional[pulumi.Input[
|
|
755
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
756
|
-
type: Optional[pulumi.Input[
|
|
757
|
-
version: Optional[pulumi.Input[
|
|
751
|
+
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
752
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
753
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
754
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
755
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
|
+
version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
757
|
__props__=None):
|
|
759
758
|
"""
|
|
760
759
|
Creates and manages Scaleway Kubernetes clusters. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/).
|
|
@@ -926,6 +925,33 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
926
925
|
])
|
|
927
926
|
```
|
|
928
927
|
|
|
928
|
+
## Deprecation of default_pool
|
|
929
|
+
|
|
930
|
+
`default_pool` is deprecated in favour the `kubernetes.Pool` resource. Here is a migration example.
|
|
931
|
+
|
|
932
|
+
Before:
|
|
933
|
+
|
|
934
|
+
After:
|
|
935
|
+
|
|
936
|
+
```python
|
|
937
|
+
import pulumi
|
|
938
|
+
import pulumiverse_scaleway as scaleway
|
|
939
|
+
|
|
940
|
+
cluster = scaleway.kubernetes.Cluster("cluster",
|
|
941
|
+
name="tf-cluster",
|
|
942
|
+
version="1.18.0",
|
|
943
|
+
cni="cilium")
|
|
944
|
+
default = scaleway.kubernetes.Pool("default",
|
|
945
|
+
cluster_id=jack["id"],
|
|
946
|
+
name="default",
|
|
947
|
+
node_type="DEV1-M",
|
|
948
|
+
size=1)
|
|
949
|
+
```
|
|
950
|
+
|
|
951
|
+
Once you have moved all the `default_pool` into their own object, you will need to import them. If your pool had the ID 11111111-1111-1111-1111-111111111111 in the `fr-par` region, you can import it by typing:
|
|
952
|
+
|
|
953
|
+
Then you will only need to type `pulumi up` to have a smooth migration.
|
|
954
|
+
|
|
929
955
|
## Import
|
|
930
956
|
|
|
931
957
|
Kubernetes clusters can be imported using the `{region}/{id}`, e.g.
|
|
@@ -938,36 +964,36 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
938
964
|
|
|
939
965
|
:param str resource_name: The name of the resource.
|
|
940
966
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
941
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
942
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
967
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_plugins: The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
968
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] apiserver_cert_sans: Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
943
969
|
:param pulumi.Input[Union['KubernetesClusterAutoUpgradeArgs', 'KubernetesClusterAutoUpgradeArgsDict']] auto_upgrade: The auto upgrade configuration.
|
|
944
970
|
:param pulumi.Input[Union['KubernetesClusterAutoscalerConfigArgs', 'KubernetesClusterAutoscalerConfigArgsDict']] autoscaler_config: The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
|
|
945
|
-
:param pulumi.Input[
|
|
971
|
+
:param pulumi.Input[_builtins.str] cni: The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
946
972
|
> **Important:** Updates to this field will recreate a new resource.
|
|
947
|
-
:param pulumi.Input[
|
|
973
|
+
:param pulumi.Input[_builtins.bool] delete_additional_resources: Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
948
974
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
949
975
|
If you prefer keeping it, you should instead set it as `false`.
|
|
950
|
-
:param pulumi.Input[
|
|
951
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
952
|
-
:param pulumi.Input[
|
|
976
|
+
:param pulumi.Input[_builtins.str] description: A description for the Kubernetes cluster.
|
|
977
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] feature_gates: The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
978
|
+
:param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
|
|
953
979
|
:param pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
|
|
954
|
-
:param pulumi.Input[
|
|
980
|
+
:param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
|
|
955
981
|
|
|
956
982
|
> **Important:** Changes to this field will recreate a new resource.
|
|
957
983
|
|
|
958
984
|
> **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `private_network_id` set),
|
|
959
985
|
you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
|
|
960
|
-
:param pulumi.Input[
|
|
961
|
-
:param pulumi.Input[
|
|
962
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
963
|
-
:param pulumi.Input[
|
|
986
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
|
|
987
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
|
|
988
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
|
|
989
|
+
:param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
|
|
964
990
|
|
|
965
991
|
- for mutualized clusters: `kapsule` or `multicloud`
|
|
966
992
|
|
|
967
993
|
- for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.
|
|
968
994
|
|
|
969
995
|
- for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.
|
|
970
|
-
:param pulumi.Input[
|
|
996
|
+
:param pulumi.Input[_builtins.str] version: The version of the Kubernetes cluster.
|
|
971
997
|
"""
|
|
972
998
|
...
|
|
973
999
|
@overload
|
|
@@ -1145,6 +1171,33 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1145
1171
|
])
|
|
1146
1172
|
```
|
|
1147
1173
|
|
|
1174
|
+
## Deprecation of default_pool
|
|
1175
|
+
|
|
1176
|
+
`default_pool` is deprecated in favour the `kubernetes.Pool` resource. Here is a migration example.
|
|
1177
|
+
|
|
1178
|
+
Before:
|
|
1179
|
+
|
|
1180
|
+
After:
|
|
1181
|
+
|
|
1182
|
+
```python
|
|
1183
|
+
import pulumi
|
|
1184
|
+
import pulumiverse_scaleway as scaleway
|
|
1185
|
+
|
|
1186
|
+
cluster = scaleway.kubernetes.Cluster("cluster",
|
|
1187
|
+
name="tf-cluster",
|
|
1188
|
+
version="1.18.0",
|
|
1189
|
+
cni="cilium")
|
|
1190
|
+
default = scaleway.kubernetes.Pool("default",
|
|
1191
|
+
cluster_id=jack["id"],
|
|
1192
|
+
name="default",
|
|
1193
|
+
node_type="DEV1-M",
|
|
1194
|
+
size=1)
|
|
1195
|
+
```
|
|
1196
|
+
|
|
1197
|
+
Once you have moved all the `default_pool` into their own object, you will need to import them. If your pool had the ID 11111111-1111-1111-1111-111111111111 in the `fr-par` region, you can import it by typing:
|
|
1198
|
+
|
|
1199
|
+
Then you will only need to type `pulumi up` to have a smooth migration.
|
|
1200
|
+
|
|
1148
1201
|
## Import
|
|
1149
1202
|
|
|
1150
1203
|
Kubernetes clusters can be imported using the `{region}/{id}`, e.g.
|
|
@@ -1170,22 +1223,22 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1170
1223
|
def _internal_init(__self__,
|
|
1171
1224
|
resource_name: str,
|
|
1172
1225
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1173
|
-
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1174
|
-
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1226
|
+
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1227
|
+
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1175
1228
|
auto_upgrade: Optional[pulumi.Input[Union['KubernetesClusterAutoUpgradeArgs', 'KubernetesClusterAutoUpgradeArgsDict']]] = None,
|
|
1176
1229
|
autoscaler_config: Optional[pulumi.Input[Union['KubernetesClusterAutoscalerConfigArgs', 'KubernetesClusterAutoscalerConfigArgsDict']]] = None,
|
|
1177
|
-
cni: Optional[pulumi.Input[
|
|
1178
|
-
delete_additional_resources: Optional[pulumi.Input[
|
|
1179
|
-
description: Optional[pulumi.Input[
|
|
1180
|
-
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1181
|
-
name: Optional[pulumi.Input[
|
|
1230
|
+
cni: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1231
|
+
delete_additional_resources: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1232
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1233
|
+
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1234
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1182
1235
|
open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
|
|
1183
|
-
private_network_id: Optional[pulumi.Input[
|
|
1184
|
-
project_id: Optional[pulumi.Input[
|
|
1185
|
-
region: Optional[pulumi.Input[
|
|
1186
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1187
|
-
type: Optional[pulumi.Input[
|
|
1188
|
-
version: Optional[pulumi.Input[
|
|
1236
|
+
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1237
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1238
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1239
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1240
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1241
|
+
version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1189
1242
|
__props__=None):
|
|
1190
1243
|
pulumi.log.warn("""KubernetesCluster is deprecated: scaleway.index/kubernetescluster.KubernetesCluster has been deprecated in favor of scaleway.kubernetes/cluster.Cluster""")
|
|
1191
1244
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1238,30 +1291,30 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1238
1291
|
def get(resource_name: str,
|
|
1239
1292
|
id: pulumi.Input[str],
|
|
1240
1293
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1241
|
-
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1242
|
-
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1243
|
-
apiserver_url: Optional[pulumi.Input[
|
|
1294
|
+
admission_plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1295
|
+
apiserver_cert_sans: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1296
|
+
apiserver_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1244
1297
|
auto_upgrade: Optional[pulumi.Input[Union['KubernetesClusterAutoUpgradeArgs', 'KubernetesClusterAutoUpgradeArgsDict']]] = None,
|
|
1245
1298
|
autoscaler_config: Optional[pulumi.Input[Union['KubernetesClusterAutoscalerConfigArgs', 'KubernetesClusterAutoscalerConfigArgsDict']]] = None,
|
|
1246
|
-
cni: Optional[pulumi.Input[
|
|
1247
|
-
created_at: Optional[pulumi.Input[
|
|
1248
|
-
delete_additional_resources: Optional[pulumi.Input[
|
|
1249
|
-
description: Optional[pulumi.Input[
|
|
1250
|
-
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1299
|
+
cni: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1300
|
+
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1301
|
+
delete_additional_resources: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1302
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1303
|
+
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1251
1304
|
kubeconfigs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterKubeconfigArgs', 'KubernetesClusterKubeconfigArgsDict']]]]] = None,
|
|
1252
|
-
name: Optional[pulumi.Input[
|
|
1305
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1253
1306
|
open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
|
|
1254
|
-
organization_id: Optional[pulumi.Input[
|
|
1255
|
-
private_network_id: Optional[pulumi.Input[
|
|
1256
|
-
project_id: Optional[pulumi.Input[
|
|
1257
|
-
region: Optional[pulumi.Input[
|
|
1258
|
-
status: Optional[pulumi.Input[
|
|
1259
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1260
|
-
type: Optional[pulumi.Input[
|
|
1261
|
-
updated_at: Optional[pulumi.Input[
|
|
1262
|
-
upgrade_available: Optional[pulumi.Input[
|
|
1263
|
-
version: Optional[pulumi.Input[
|
|
1264
|
-
wildcard_dns: Optional[pulumi.Input[
|
|
1307
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1308
|
+
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1309
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1310
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1311
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1312
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1313
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1314
|
+
updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1315
|
+
upgrade_available: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1316
|
+
version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1317
|
+
wildcard_dns: Optional[pulumi.Input[_builtins.str]] = None) -> 'KubernetesCluster':
|
|
1265
1318
|
"""
|
|
1266
1319
|
Get an existing KubernetesCluster resource's state with the given name, id, and optional extra
|
|
1267
1320
|
properties used to qualify the lookup.
|
|
@@ -1269,44 +1322,44 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1269
1322
|
:param str resource_name: The unique name of the resulting resource.
|
|
1270
1323
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1271
1324
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1272
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1273
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1274
|
-
:param pulumi.Input[
|
|
1325
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_plugins: The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
1326
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] apiserver_cert_sans: Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
1327
|
+
:param pulumi.Input[_builtins.str] apiserver_url: The URL of the Kubernetes API server.
|
|
1275
1328
|
:param pulumi.Input[Union['KubernetesClusterAutoUpgradeArgs', 'KubernetesClusterAutoUpgradeArgsDict']] auto_upgrade: The auto upgrade configuration.
|
|
1276
1329
|
:param pulumi.Input[Union['KubernetesClusterAutoscalerConfigArgs', 'KubernetesClusterAutoscalerConfigArgsDict']] autoscaler_config: The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
|
|
1277
|
-
:param pulumi.Input[
|
|
1330
|
+
:param pulumi.Input[_builtins.str] cni: The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
1278
1331
|
> **Important:** Updates to this field will recreate a new resource.
|
|
1279
|
-
:param pulumi.Input[
|
|
1280
|
-
:param pulumi.Input[
|
|
1332
|
+
:param pulumi.Input[_builtins.str] created_at: The creation date of the cluster.
|
|
1333
|
+
:param pulumi.Input[_builtins.bool] delete_additional_resources: Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
1281
1334
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
1282
1335
|
If you prefer keeping it, you should instead set it as `false`.
|
|
1283
|
-
:param pulumi.Input[
|
|
1284
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1336
|
+
:param pulumi.Input[_builtins.str] description: A description for the Kubernetes cluster.
|
|
1337
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] feature_gates: The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
1285
1338
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterKubeconfigArgs', 'KubernetesClusterKubeconfigArgsDict']]]] kubeconfigs: The kubeconfig configuration file of the Kubernetes cluster
|
|
1286
|
-
:param pulumi.Input[
|
|
1339
|
+
:param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
|
|
1287
1340
|
:param pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
|
|
1288
|
-
:param pulumi.Input[
|
|
1289
|
-
:param pulumi.Input[
|
|
1341
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the cluster is associated with.
|
|
1342
|
+
:param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
|
|
1290
1343
|
|
|
1291
1344
|
> **Important:** Changes to this field will recreate a new resource.
|
|
1292
1345
|
|
|
1293
1346
|
> **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `private_network_id` set),
|
|
1294
1347
|
you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
|
|
1295
|
-
:param pulumi.Input[
|
|
1296
|
-
:param pulumi.Input[
|
|
1297
|
-
:param pulumi.Input[
|
|
1298
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1299
|
-
:param pulumi.Input[
|
|
1348
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
|
|
1349
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
|
|
1350
|
+
:param pulumi.Input[_builtins.str] status: The status of the Kubernetes cluster.
|
|
1351
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
|
|
1352
|
+
:param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
|
|
1300
1353
|
|
|
1301
1354
|
- for mutualized clusters: `kapsule` or `multicloud`
|
|
1302
1355
|
|
|
1303
1356
|
- for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.
|
|
1304
1357
|
|
|
1305
1358
|
- for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.
|
|
1306
|
-
:param pulumi.Input[
|
|
1307
|
-
:param pulumi.Input[
|
|
1308
|
-
:param pulumi.Input[
|
|
1309
|
-
:param pulumi.Input[
|
|
1359
|
+
:param pulumi.Input[_builtins.str] updated_at: The last update date of the cluster.
|
|
1360
|
+
:param pulumi.Input[_builtins.bool] upgrade_available: Set to `true` if a newer Kubernetes version is available.
|
|
1361
|
+
:param pulumi.Input[_builtins.str] version: The version of the Kubernetes cluster.
|
|
1362
|
+
:param pulumi.Input[_builtins.str] wildcard_dns: The DNS wildcard that points to all ready nodes.
|
|
1310
1363
|
"""
|
|
1311
1364
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1312
1365
|
|
|
@@ -1338,31 +1391,31 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1338
1391
|
__props__.__dict__["wildcard_dns"] = wildcard_dns
|
|
1339
1392
|
return KubernetesCluster(resource_name, opts=opts, __props__=__props__)
|
|
1340
1393
|
|
|
1341
|
-
@property
|
|
1394
|
+
@_builtins.property
|
|
1342
1395
|
@pulumi.getter(name="admissionPlugins")
|
|
1343
|
-
def admission_plugins(self) -> pulumi.Output[Optional[Sequence[
|
|
1396
|
+
def admission_plugins(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1344
1397
|
"""
|
|
1345
1398
|
The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
|
|
1346
1399
|
"""
|
|
1347
1400
|
return pulumi.get(self, "admission_plugins")
|
|
1348
1401
|
|
|
1349
|
-
@property
|
|
1402
|
+
@_builtins.property
|
|
1350
1403
|
@pulumi.getter(name="apiserverCertSans")
|
|
1351
|
-
def apiserver_cert_sans(self) -> pulumi.Output[Optional[Sequence[
|
|
1404
|
+
def apiserver_cert_sans(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1352
1405
|
"""
|
|
1353
1406
|
Additional Subject Alternative Names for the Kubernetes API server certificate
|
|
1354
1407
|
"""
|
|
1355
1408
|
return pulumi.get(self, "apiserver_cert_sans")
|
|
1356
1409
|
|
|
1357
|
-
@property
|
|
1410
|
+
@_builtins.property
|
|
1358
1411
|
@pulumi.getter(name="apiserverUrl")
|
|
1359
|
-
def apiserver_url(self) -> pulumi.Output[
|
|
1412
|
+
def apiserver_url(self) -> pulumi.Output[_builtins.str]:
|
|
1360
1413
|
"""
|
|
1361
1414
|
The URL of the Kubernetes API server.
|
|
1362
1415
|
"""
|
|
1363
1416
|
return pulumi.get(self, "apiserver_url")
|
|
1364
1417
|
|
|
1365
|
-
@property
|
|
1418
|
+
@_builtins.property
|
|
1366
1419
|
@pulumi.getter(name="autoUpgrade")
|
|
1367
1420
|
def auto_upgrade(self) -> pulumi.Output['outputs.KubernetesClusterAutoUpgrade']:
|
|
1368
1421
|
"""
|
|
@@ -1370,7 +1423,7 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1370
1423
|
"""
|
|
1371
1424
|
return pulumi.get(self, "auto_upgrade")
|
|
1372
1425
|
|
|
1373
|
-
@property
|
|
1426
|
+
@_builtins.property
|
|
1374
1427
|
@pulumi.getter(name="autoscalerConfig")
|
|
1375
1428
|
def autoscaler_config(self) -> pulumi.Output['outputs.KubernetesClusterAutoscalerConfig']:
|
|
1376
1429
|
"""
|
|
@@ -1378,26 +1431,26 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1378
1431
|
"""
|
|
1379
1432
|
return pulumi.get(self, "autoscaler_config")
|
|
1380
1433
|
|
|
1381
|
-
@property
|
|
1434
|
+
@_builtins.property
|
|
1382
1435
|
@pulumi.getter
|
|
1383
|
-
def cni(self) -> pulumi.Output[
|
|
1436
|
+
def cni(self) -> pulumi.Output[_builtins.str]:
|
|
1384
1437
|
"""
|
|
1385
1438
|
The Container Network Interface (CNI) for the Kubernetes cluster.
|
|
1386
1439
|
> **Important:** Updates to this field will recreate a new resource.
|
|
1387
1440
|
"""
|
|
1388
1441
|
return pulumi.get(self, "cni")
|
|
1389
1442
|
|
|
1390
|
-
@property
|
|
1443
|
+
@_builtins.property
|
|
1391
1444
|
@pulumi.getter(name="createdAt")
|
|
1392
|
-
def created_at(self) -> pulumi.Output[
|
|
1445
|
+
def created_at(self) -> pulumi.Output[_builtins.str]:
|
|
1393
1446
|
"""
|
|
1394
1447
|
The creation date of the cluster.
|
|
1395
1448
|
"""
|
|
1396
1449
|
return pulumi.get(self, "created_at")
|
|
1397
1450
|
|
|
1398
|
-
@property
|
|
1451
|
+
@_builtins.property
|
|
1399
1452
|
@pulumi.getter(name="deleteAdditionalResources")
|
|
1400
|
-
def delete_additional_resources(self) -> pulumi.Output[
|
|
1453
|
+
def delete_additional_resources(self) -> pulumi.Output[_builtins.bool]:
|
|
1401
1454
|
"""
|
|
1402
1455
|
Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
|
|
1403
1456
|
> **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
|
|
@@ -1405,23 +1458,23 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1405
1458
|
"""
|
|
1406
1459
|
return pulumi.get(self, "delete_additional_resources")
|
|
1407
1460
|
|
|
1408
|
-
@property
|
|
1461
|
+
@_builtins.property
|
|
1409
1462
|
@pulumi.getter
|
|
1410
|
-
def description(self) -> pulumi.Output[Optional[
|
|
1463
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1411
1464
|
"""
|
|
1412
1465
|
A description for the Kubernetes cluster.
|
|
1413
1466
|
"""
|
|
1414
1467
|
return pulumi.get(self, "description")
|
|
1415
1468
|
|
|
1416
|
-
@property
|
|
1469
|
+
@_builtins.property
|
|
1417
1470
|
@pulumi.getter(name="featureGates")
|
|
1418
|
-
def feature_gates(self) -> pulumi.Output[Optional[Sequence[
|
|
1471
|
+
def feature_gates(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1419
1472
|
"""
|
|
1420
1473
|
The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
|
|
1421
1474
|
"""
|
|
1422
1475
|
return pulumi.get(self, "feature_gates")
|
|
1423
1476
|
|
|
1424
|
-
@property
|
|
1477
|
+
@_builtins.property
|
|
1425
1478
|
@pulumi.getter
|
|
1426
1479
|
def kubeconfigs(self) -> pulumi.Output[Sequence['outputs.KubernetesClusterKubeconfig']]:
|
|
1427
1480
|
"""
|
|
@@ -1429,15 +1482,15 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1429
1482
|
"""
|
|
1430
1483
|
return pulumi.get(self, "kubeconfigs")
|
|
1431
1484
|
|
|
1432
|
-
@property
|
|
1485
|
+
@_builtins.property
|
|
1433
1486
|
@pulumi.getter
|
|
1434
|
-
def name(self) -> pulumi.Output[
|
|
1487
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
1435
1488
|
"""
|
|
1436
1489
|
The name for the Kubernetes cluster.
|
|
1437
1490
|
"""
|
|
1438
1491
|
return pulumi.get(self, "name")
|
|
1439
1492
|
|
|
1440
|
-
@property
|
|
1493
|
+
@_builtins.property
|
|
1441
1494
|
@pulumi.getter(name="openIdConnectConfig")
|
|
1442
1495
|
def open_id_connect_config(self) -> pulumi.Output['outputs.KubernetesClusterOpenIdConnectConfig']:
|
|
1443
1496
|
"""
|
|
@@ -1445,17 +1498,17 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1445
1498
|
"""
|
|
1446
1499
|
return pulumi.get(self, "open_id_connect_config")
|
|
1447
1500
|
|
|
1448
|
-
@property
|
|
1501
|
+
@_builtins.property
|
|
1449
1502
|
@pulumi.getter(name="organizationId")
|
|
1450
|
-
def organization_id(self) -> pulumi.Output[
|
|
1503
|
+
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
|
1451
1504
|
"""
|
|
1452
1505
|
The organization ID the cluster is associated with.
|
|
1453
1506
|
"""
|
|
1454
1507
|
return pulumi.get(self, "organization_id")
|
|
1455
1508
|
|
|
1456
|
-
@property
|
|
1509
|
+
@_builtins.property
|
|
1457
1510
|
@pulumi.getter(name="privateNetworkId")
|
|
1458
|
-
def private_network_id(self) -> pulumi.Output[Optional[
|
|
1511
|
+
def private_network_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1459
1512
|
"""
|
|
1460
1513
|
The ID of the private network of the cluster.
|
|
1461
1514
|
|
|
@@ -1466,41 +1519,41 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1466
1519
|
"""
|
|
1467
1520
|
return pulumi.get(self, "private_network_id")
|
|
1468
1521
|
|
|
1469
|
-
@property
|
|
1522
|
+
@_builtins.property
|
|
1470
1523
|
@pulumi.getter(name="projectId")
|
|
1471
|
-
def project_id(self) -> pulumi.Output[
|
|
1524
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
|
1472
1525
|
"""
|
|
1473
1526
|
`project_id`) The ID of the project the cluster is associated with.
|
|
1474
1527
|
"""
|
|
1475
1528
|
return pulumi.get(self, "project_id")
|
|
1476
1529
|
|
|
1477
|
-
@property
|
|
1530
|
+
@_builtins.property
|
|
1478
1531
|
@pulumi.getter
|
|
1479
|
-
def region(self) -> pulumi.Output[
|
|
1532
|
+
def region(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1480
1533
|
"""
|
|
1481
1534
|
`region`) The region in which the cluster should be created.
|
|
1482
1535
|
"""
|
|
1483
1536
|
return pulumi.get(self, "region")
|
|
1484
1537
|
|
|
1485
|
-
@property
|
|
1538
|
+
@_builtins.property
|
|
1486
1539
|
@pulumi.getter
|
|
1487
|
-
def status(self) -> pulumi.Output[
|
|
1540
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
1488
1541
|
"""
|
|
1489
1542
|
The status of the Kubernetes cluster.
|
|
1490
1543
|
"""
|
|
1491
1544
|
return pulumi.get(self, "status")
|
|
1492
1545
|
|
|
1493
|
-
@property
|
|
1546
|
+
@_builtins.property
|
|
1494
1547
|
@pulumi.getter
|
|
1495
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[
|
|
1548
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1496
1549
|
"""
|
|
1497
1550
|
The tags associated with the Kubernetes cluster.
|
|
1498
1551
|
"""
|
|
1499
1552
|
return pulumi.get(self, "tags")
|
|
1500
1553
|
|
|
1501
|
-
@property
|
|
1554
|
+
@_builtins.property
|
|
1502
1555
|
@pulumi.getter
|
|
1503
|
-
def type(self) -> pulumi.Output[
|
|
1556
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
|
1504
1557
|
"""
|
|
1505
1558
|
The type of Kubernetes cluster. Possible values are:
|
|
1506
1559
|
|
|
@@ -1512,33 +1565,33 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1512
1565
|
"""
|
|
1513
1566
|
return pulumi.get(self, "type")
|
|
1514
1567
|
|
|
1515
|
-
@property
|
|
1568
|
+
@_builtins.property
|
|
1516
1569
|
@pulumi.getter(name="updatedAt")
|
|
1517
|
-
def updated_at(self) -> pulumi.Output[
|
|
1570
|
+
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
1518
1571
|
"""
|
|
1519
1572
|
The last update date of the cluster.
|
|
1520
1573
|
"""
|
|
1521
1574
|
return pulumi.get(self, "updated_at")
|
|
1522
1575
|
|
|
1523
|
-
@property
|
|
1576
|
+
@_builtins.property
|
|
1524
1577
|
@pulumi.getter(name="upgradeAvailable")
|
|
1525
|
-
def upgrade_available(self) -> pulumi.Output[
|
|
1578
|
+
def upgrade_available(self) -> pulumi.Output[_builtins.bool]:
|
|
1526
1579
|
"""
|
|
1527
1580
|
Set to `true` if a newer Kubernetes version is available.
|
|
1528
1581
|
"""
|
|
1529
1582
|
return pulumi.get(self, "upgrade_available")
|
|
1530
1583
|
|
|
1531
|
-
@property
|
|
1584
|
+
@_builtins.property
|
|
1532
1585
|
@pulumi.getter
|
|
1533
|
-
def version(self) -> pulumi.Output[
|
|
1586
|
+
def version(self) -> pulumi.Output[_builtins.str]:
|
|
1534
1587
|
"""
|
|
1535
1588
|
The version of the Kubernetes cluster.
|
|
1536
1589
|
"""
|
|
1537
1590
|
return pulumi.get(self, "version")
|
|
1538
1591
|
|
|
1539
|
-
@property
|
|
1592
|
+
@_builtins.property
|
|
1540
1593
|
@pulumi.getter(name="wildcardDns")
|
|
1541
|
-
def wildcard_dns(self) -> pulumi.Output[
|
|
1594
|
+
def wildcard_dns(self) -> pulumi.Output[_builtins.str]:
|
|
1542
1595
|
"""
|
|
1543
1596
|
The DNS wildcard that points to all ready nodes.
|
|
1544
1597
|
"""
|