| api_subnet_allow_list | Array<String> | Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value is used: 32 for IPv4 and 128 for IPv6. | [optional] |
| available_upgrade_versions | Array<String> | List of available versions for upgrading the cluster | [optional] |
| k8s_version | String | The Kubernetes version the cluster is running. This imposes restrictions on what Kubernetes versions can be run in a cluster's nodepools. Additionally, not all Kubernetes versions are viable upgrade targets for all prior versions. | [optional] |
| maintenance_window | KubernetesMaintenanceWindow | | [optional] |
| name | String | A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. | |
| s3_buckets | Array<S3Bucket> | List of S3 bucket configured for K8s usage. For now it contains only an S3 bucket used to store K8s API audit logs | [optional] |
| viable_node_pool_versions | Array<String> | List of versions that may be used for node pools under this cluster | [optional] |


require 'ionoscloud'
instance =
api_subnet_allow_list: [, 2002::1234:abcd:ffff:c0a8:101/64,, 2002::1234:abcd:ffff:c0a8:101],
available_upgrade_versions: [1.16.4, 1.17.7],
k8s_version: 1.15.4,
maintenance_window: null,
name: k8s,
s3_buckets: null,
viable_node_pool_versions: [1.17.7, 1.18.2]