From 7ff986147d3303a39c3cd3274931d1f02f5419d8 Mon Sep 17 00:00:00 2001 From: Ionos Cloud SDK Robot Date: Mon, 18 Dec 2023 11:29:30 +0000 Subject: [PATCH] auto-generated version 6.1.11 --- client.go | 2 +- configuration.go | 2 +- docs/models/DatacenterProperties.md | 2 +- docs/models/KubernetesClusterProperties.md | 104 ++++++++++ .../KubernetesClusterPropertiesForPost.md | 104 ++++++++++ docs/models/LanProperties.md | 2 +- docs/models/LanPropertiesPost.md | 2 +- docs/models/NicProperties.md | 6 +- model_datacenter_properties.go | 2 +- model_kubernetes_cluster_properties.go | 182 +++++++++++++++++- ..._kubernetes_cluster_properties_for_post.go | 182 +++++++++++++++++- model_lan_properties.go | 2 +- model_lan_properties_post.go | 2 +- model_nic_properties.go | 6 +- 14 files changed, 584 insertions(+), 16 deletions(-) diff --git a/client.go b/client.go index 4cc47e2..fe8471d 100644 --- a/client.go +++ b/client.go @@ -52,7 +52,7 @@ const ( RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" - Version = "6.1.10" + Version = "6.1.11" ) // Constants for APIs diff --git a/configuration.go b/configuration.go index 260ceca..cb0488a 100644 --- a/configuration.go +++ b/configuration.go @@ -131,7 +131,7 @@ func NewConfiguration(username, password, token, hostUrl string) *Configuration cfg := &Configuration{ DefaultHeader: make(map[string]string), DefaultQueryParams: url.Values{}, - UserAgent: "ionos-cloud-sdk-go/v6.1.10", + UserAgent: "ionos-cloud-sdk-go/v6.1.11", Debug: false, Username: username, Password: password, diff --git a/docs/models/DatacenterProperties.md b/docs/models/DatacenterProperties.md index 06301f5..4991d56 100644 --- a/docs/models/DatacenterProperties.md +++ b/docs/models/DatacenterProperties.md @@ -7,7 +7,7 @@ |**CpuArchitecture** | Pointer to [**[]CpuArchitectureProperties**](CpuArchitectureProperties.md) | Array of features and CPU families available in a location | [optional] [readonly] | |**Description** | Pointer to **string** | A description for the datacenter, such as staging, production. | [optional] | |**Features** | Pointer to **[]string** | List of features supported by the location where this data center is provisioned. | [optional] [readonly] | -|**Ipv6CidrBlock** | Pointer to **NullableString** | [The IPv6 feature is in beta phase and not ready for production usage.] This value is either 'null' or contains an automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data center. It can neither be changed nor removed. | [optional] [readonly] | +|**Ipv6CidrBlock** | Pointer to **NullableString** | This value is either 'null' or contains an automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data center. It can neither be changed nor removed. | [optional] [readonly] | |**Location** | **string** | The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests). | | |**Name** | Pointer to **string** | The name of the resource. | [optional] | |**SecAuthProtection** | Pointer to **bool** | Boolean value representing if the data center requires extra protection, such as two-step verification. | [optional] | diff --git a/docs/models/KubernetesClusterProperties.md b/docs/models/KubernetesClusterProperties.md index 3982f06..758d838 100644 --- a/docs/models/KubernetesClusterProperties.md +++ b/docs/models/KubernetesClusterProperties.md @@ -7,8 +7,12 @@ |**ApiSubnetAllowList** | Pointer to **[]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] | |**AvailableUpgradeVersions** | Pointer to **[]string** | List of available versions for upgrading the cluster | [optional] | |**K8sVersion** | Pointer to **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] | +|**Location** | Pointer to **string** | The location of the cluster if the cluster is private. This property is immutable. The location must be enabled for your contract or you must have a Datacenter within that location. This attribute is mandatory if the cluster is private. | [optional] | |**MaintenanceWindow** | Pointer to [**KubernetesMaintenanceWindow**](KubernetesMaintenanceWindow.md) | | [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. | | +|**NatGatewayIp** | Pointer to **string** | The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private. | [optional] | +|**NodeSubnet** | Pointer to **string** | The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length. | [optional] | +|**Public** | Pointer to **bool** | The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase. | [optional] [default to true]| |**S3Buckets** | Pointer to [**[]S3Bucket**](S3Bucket.md) | List of S3 bucket configured for K8s usage. For now it contains only an S3 bucket used to store K8s API audit logs | [optional] | |**ViableNodePoolVersions** | Pointer to **[]string** | List of versions that may be used for node pools under this cluster | [optional] | @@ -106,6 +110,31 @@ SetK8sVersion sets K8sVersion field to given value. HasK8sVersion returns a boolean if a field has been set. +### GetLocation + +`func (o *KubernetesClusterProperties) GetLocation() string` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *KubernetesClusterProperties) GetLocationOk() (*string, bool)` + +GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocation + +`func (o *KubernetesClusterProperties) SetLocation(v string)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *KubernetesClusterProperties) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + ### GetMaintenanceWindow `func (o *KubernetesClusterProperties) GetMaintenanceWindow() KubernetesMaintenanceWindow` @@ -151,6 +180,81 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetNatGatewayIp + +`func (o *KubernetesClusterProperties) GetNatGatewayIp() string` + +GetNatGatewayIp returns the NatGatewayIp field if non-nil, zero value otherwise. + +### GetNatGatewayIpOk + +`func (o *KubernetesClusterProperties) GetNatGatewayIpOk() (*string, bool)` + +GetNatGatewayIpOk returns a tuple with the NatGatewayIp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNatGatewayIp + +`func (o *KubernetesClusterProperties) SetNatGatewayIp(v string)` + +SetNatGatewayIp sets NatGatewayIp field to given value. + +### HasNatGatewayIp + +`func (o *KubernetesClusterProperties) HasNatGatewayIp() bool` + +HasNatGatewayIp returns a boolean if a field has been set. + +### GetNodeSubnet + +`func (o *KubernetesClusterProperties) GetNodeSubnet() string` + +GetNodeSubnet returns the NodeSubnet field if non-nil, zero value otherwise. + +### GetNodeSubnetOk + +`func (o *KubernetesClusterProperties) GetNodeSubnetOk() (*string, bool)` + +GetNodeSubnetOk returns a tuple with the NodeSubnet field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodeSubnet + +`func (o *KubernetesClusterProperties) SetNodeSubnet(v string)` + +SetNodeSubnet sets NodeSubnet field to given value. + +### HasNodeSubnet + +`func (o *KubernetesClusterProperties) HasNodeSubnet() bool` + +HasNodeSubnet returns a boolean if a field has been set. + +### GetPublic + +`func (o *KubernetesClusterProperties) GetPublic() bool` + +GetPublic returns the Public field if non-nil, zero value otherwise. + +### GetPublicOk + +`func (o *KubernetesClusterProperties) GetPublicOk() (*bool, bool)` + +GetPublicOk returns a tuple with the Public field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublic + +`func (o *KubernetesClusterProperties) SetPublic(v bool)` + +SetPublic sets Public field to given value. + +### HasPublic + +`func (o *KubernetesClusterProperties) HasPublic() bool` + +HasPublic returns a boolean if a field has been set. + ### GetS3Buckets `func (o *KubernetesClusterProperties) GetS3Buckets() []S3Bucket` diff --git a/docs/models/KubernetesClusterPropertiesForPost.md b/docs/models/KubernetesClusterPropertiesForPost.md index 87e663c..7457591 100644 --- a/docs/models/KubernetesClusterPropertiesForPost.md +++ b/docs/models/KubernetesClusterPropertiesForPost.md @@ -6,8 +6,12 @@ |------------ | ------------- | ------------- | -------------| |**ApiSubnetAllowList** | Pointer to **[]string** | Access to the K8s API server is restricted to these CIDRs. Intra-cluster traffic is not affected by this restriction. If no AllowList is specified, access is not limited. If an IP is specified without a subnet mask, the default value is 32 for IPv4 and 128 for IPv6. | [optional] | |**K8sVersion** | Pointer to **string** | The Kubernetes version that the cluster is running. This limits which Kubernetes versions can run in a cluster's node pools. Also, not all Kubernetes versions are suitable upgrade targets for all earlier versions. | [optional] | +|**Location** | Pointer to **string** | This attribute is mandatory if the cluster is private. The location must be enabled for your contract, or you must have a data center at that location. This property is not adjustable. | [optional] | |**MaintenanceWindow** | Pointer to [**KubernetesMaintenanceWindow**](KubernetesMaintenanceWindow.md) | | [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. | | +|**NatGatewayIp** | Pointer to **string** | The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private. | [optional] | +|**NodeSubnet** | Pointer to **string** | The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length. | [optional] | +|**Public** | Pointer to **bool** | The indicator whether the cluster is public or private. Note that the status FALSE is still in the beta phase. | [optional] [default to true]| |**S3Buckets** | Pointer to [**[]S3Bucket**](S3Bucket.md) | List of S3 buckets configured for K8s usage. At the moment, it contains only one S3 bucket that is used to store K8s API audit logs. | [optional] | ## Methods @@ -79,6 +83,31 @@ SetK8sVersion sets K8sVersion field to given value. HasK8sVersion returns a boolean if a field has been set. +### GetLocation + +`func (o *KubernetesClusterPropertiesForPost) GetLocation() string` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *KubernetesClusterPropertiesForPost) GetLocationOk() (*string, bool)` + +GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocation + +`func (o *KubernetesClusterPropertiesForPost) SetLocation(v string)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *KubernetesClusterPropertiesForPost) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + ### GetMaintenanceWindow `func (o *KubernetesClusterPropertiesForPost) GetMaintenanceWindow() KubernetesMaintenanceWindow` @@ -124,6 +153,81 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetNatGatewayIp + +`func (o *KubernetesClusterPropertiesForPost) GetNatGatewayIp() string` + +GetNatGatewayIp returns the NatGatewayIp field if non-nil, zero value otherwise. + +### GetNatGatewayIpOk + +`func (o *KubernetesClusterPropertiesForPost) GetNatGatewayIpOk() (*string, bool)` + +GetNatGatewayIpOk returns a tuple with the NatGatewayIp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNatGatewayIp + +`func (o *KubernetesClusterPropertiesForPost) SetNatGatewayIp(v string)` + +SetNatGatewayIp sets NatGatewayIp field to given value. + +### HasNatGatewayIp + +`func (o *KubernetesClusterPropertiesForPost) HasNatGatewayIp() bool` + +HasNatGatewayIp returns a boolean if a field has been set. + +### GetNodeSubnet + +`func (o *KubernetesClusterPropertiesForPost) GetNodeSubnet() string` + +GetNodeSubnet returns the NodeSubnet field if non-nil, zero value otherwise. + +### GetNodeSubnetOk + +`func (o *KubernetesClusterPropertiesForPost) GetNodeSubnetOk() (*string, bool)` + +GetNodeSubnetOk returns a tuple with the NodeSubnet field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodeSubnet + +`func (o *KubernetesClusterPropertiesForPost) SetNodeSubnet(v string)` + +SetNodeSubnet sets NodeSubnet field to given value. + +### HasNodeSubnet + +`func (o *KubernetesClusterPropertiesForPost) HasNodeSubnet() bool` + +HasNodeSubnet returns a boolean if a field has been set. + +### GetPublic + +`func (o *KubernetesClusterPropertiesForPost) GetPublic() bool` + +GetPublic returns the Public field if non-nil, zero value otherwise. + +### GetPublicOk + +`func (o *KubernetesClusterPropertiesForPost) GetPublicOk() (*bool, bool)` + +GetPublicOk returns a tuple with the Public field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublic + +`func (o *KubernetesClusterPropertiesForPost) SetPublic(v bool)` + +SetPublic sets Public field to given value. + +### HasPublic + +`func (o *KubernetesClusterPropertiesForPost) HasPublic() bool` + +HasPublic returns a boolean if a field has been set. + ### GetS3Buckets `func (o *KubernetesClusterPropertiesForPost) GetS3Buckets() []S3Bucket` diff --git a/docs/models/LanProperties.md b/docs/models/LanProperties.md index 33fd91a..09bf38d 100644 --- a/docs/models/LanProperties.md +++ b/docs/models/LanProperties.md @@ -5,7 +5,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**IpFailover** | Pointer to [**[]IPFailover**](IPFailover.md) | IP failover configurations for lan | [optional] | -|**Ipv6CidrBlock** | Pointer to **NullableString** | [The IPv6 feature is in beta phase and not ready for production usage.] For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6 enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN and /80 IPv6 CIDR blocks to the NICs and one /128 IPv6 address to each connected NIC. If you choose the IPv6 CIDR block for the LAN on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the LAN and on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. | [optional] | +|**Ipv6CidrBlock** | Pointer to **NullableString** | For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6 enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN and /80 IPv6 CIDR blocks to the NICs and one /128 IPv6 address to each connected NIC. If you choose the IPv6 CIDR block for the LAN on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the LAN and on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. | [optional] | |**Name** | Pointer to **string** | The name of the resource. | [optional] | |**Pcc** | Pointer to **string** | The unique identifier of the private Cross-Connect the LAN is connected to, if any. | [optional] | |**Public** | Pointer to **bool** | This LAN faces the public Internet. | [optional] | diff --git a/docs/models/LanPropertiesPost.md b/docs/models/LanPropertiesPost.md index 644d4a3..7765549 100644 --- a/docs/models/LanPropertiesPost.md +++ b/docs/models/LanPropertiesPost.md @@ -5,7 +5,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**IpFailover** | Pointer to [**[]IPFailover**](IPFailover.md) | IP failover configurations for lan | [optional] | -|**Ipv6CidrBlock** | Pointer to **NullableString** | [The IPv6 feature is in beta phase and not ready for production usage.] For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6-enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN. If you choose the IPv6 CIDR block on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. | [optional] | +|**Ipv6CidrBlock** | Pointer to **NullableString** | For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6-enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN. If you choose the IPv6 CIDR block on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. | [optional] | |**Name** | Pointer to **string** | The name of the resource. | [optional] | |**Pcc** | Pointer to **string** | The unique identifier of the private Cross-Connect the LAN is connected to, if any. | [optional] | |**Public** | Pointer to **bool** | This LAN faces the public Internet. | [optional] | diff --git a/docs/models/NicProperties.md b/docs/models/NicProperties.md index fa041ef..8e66145 100644 --- a/docs/models/NicProperties.md +++ b/docs/models/NicProperties.md @@ -6,12 +6,12 @@ |------------ | ------------- | ------------- | -------------| |**DeviceNumber** | Pointer to **int32** | The Logical Unit Number (LUN) of the storage volume. Null if this NIC was created using Cloud API and no DCD changes were performed on the Datacenter. | [optional] [readonly] | |**Dhcp** | Pointer to **bool** | Indicates if the NIC will reserve an IP using DHCP. | [optional] [default to true]| -|**Dhcpv6** | Pointer to **NullableBool** | [The IPv6 feature is in beta phase and not ready for production usage.] Indicates if the NIC will receive an IPv6 using DHCP. It can be set to 'true' or 'false' only if this NIC is connected to an IPv6 enabled LAN. | [optional] | +|**Dhcpv6** | Pointer to **NullableBool** | Indicates if the NIC will receive an IPv6 using DHCP. It can be set to 'true' or 'false' only if this NIC is connected to an IPv6 enabled LAN. | [optional] | |**FirewallActive** | Pointer to **bool** | Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports. | [optional] | |**FirewallType** | Pointer to **string** | The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used. | [optional] | |**Ips** | Pointer to **[]string** | Collection of IP addresses, assigned to the NIC. Explicitly assigned public IPs need to come from reserved IP blocks. Passing value null or empty array will assign an IP address automatically. | [optional] | -|**Ipv6CidrBlock** | Pointer to **NullableString** | [The IPv6 feature is in beta phase and not ready for production usage.] If this NIC is connected to an IPv6 enabled LAN then this property contains the /80 IPv6 CIDR block of the NIC. If you leave this property 'null' when adding a NIC to an IPv6-enabled LAN, then an IPv6 CIDR block will automatically be assigned to the NIC, but you can also specify an /80 IPv6 CIDR block for the NIC on your own, which must be inside the /64 IPv6 CIDR block of the LAN and unique. This value can only be set, if the LAN already has an IPv6 CIDR block assigned. An IPv6-enabled LAN is limited to a maximum of 65,536 NICs. | [optional] | -|**Ipv6Ips** | Pointer to **[]string** | [The IPv6 feature is in beta phase and not ready for production usage.] If this NIC is connected to an IPv6 enabled LAN then this property contains the IPv6 IP addresses of the NIC. The maximum number of IPv6 IP addresses per NIC is 50, if you need more, contact support. If you leave this property 'null' when adding a NIC, when changing the NIC's IPv6 CIDR block, when changing the LAN's IPv6 CIDR block or when moving the NIC to a different IPv6 enabled LAN, then we will automatically assign the same number of IPv6 addresses which you had before from the NICs new CIDR block. If you leave this property 'null' while not changing the CIDR block, the IPv6 IP addresses won't be changed either. You can also provide your own self choosen IPv6 addresses, which then must be inside the IPv6 CIDR block of this NIC. | [optional] | +|**Ipv6CidrBlock** | Pointer to **NullableString** | If this NIC is connected to an IPv6 enabled LAN then this property contains the /80 IPv6 CIDR block of the NIC. If you leave this property 'null' when adding a NIC to an IPv6-enabled LAN, then an IPv6 CIDR block will automatically be assigned to the NIC, but you can also specify an /80 IPv6 CIDR block for the NIC on your own, which must be inside the /64 IPv6 CIDR block of the LAN and unique. This value can only be set, if the LAN already has an IPv6 CIDR block assigned. An IPv6-enabled LAN is limited to a maximum of 65,536 NICs. | [optional] | +|**Ipv6Ips** | Pointer to **[]string** | If this NIC is connected to an IPv6 enabled LAN then this property contains the IPv6 IP addresses of the NIC. The maximum number of IPv6 IP addresses per NIC is 50, if you need more, contact support. If you leave this property 'null' when adding a NIC, when changing the NIC's IPv6 CIDR block, when changing the LAN's IPv6 CIDR block or when moving the NIC to a different IPv6 enabled LAN, then we will automatically assign the same number of IPv6 addresses which you had before from the NICs new CIDR block. If you leave this property 'null' while not changing the CIDR block, the IPv6 IP addresses won't be changed either. You can also provide your own self choosen IPv6 addresses, which then must be inside the IPv6 CIDR block of this NIC. | [optional] | |**Lan** | **int32** | The LAN ID the NIC will be on. If the LAN ID does not exist, it will be implicitly created. | | |**Mac** | Pointer to **string** | The MAC address of the NIC. | [optional] [readonly] | |**Name** | Pointer to **string** | The name of the resource. | [optional] | diff --git a/model_datacenter_properties.go b/model_datacenter_properties.go index 67f0763..454fd49 100644 --- a/model_datacenter_properties.go +++ b/model_datacenter_properties.go @@ -22,7 +22,7 @@ type DatacenterProperties struct { Description *string `json:"description,omitempty"` // List of features supported by the location where this data center is provisioned. Features *[]string `json:"features,omitempty"` - // [The IPv6 feature is in beta phase and not ready for production usage.] This value is either 'null' or contains an automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data center. It can neither be changed nor removed. + // This value is either 'null' or contains an automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data center. It can neither be changed nor removed. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nilstring` can be used, or the setter `SetIpv6CidrBlockNil` Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"` // The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests). diff --git a/model_kubernetes_cluster_properties.go b/model_kubernetes_cluster_properties.go index 66956d3..ed0629c 100644 --- a/model_kubernetes_cluster_properties.go +++ b/model_kubernetes_cluster_properties.go @@ -21,10 +21,18 @@ type KubernetesClusterProperties struct { // List of available versions for upgrading the cluster AvailableUpgradeVersions *[]string `json:"availableUpgradeVersions,omitempty"` // 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. - K8sVersion *string `json:"k8sVersion,omitempty"` + K8sVersion *string `json:"k8sVersion,omitempty"` + // The location of the cluster if the cluster is private. This property is immutable. The location must be enabled for your contract or you must have a Datacenter within that location. This attribute is mandatory if the cluster is private. + Location *string `json:"location,omitempty"` MaintenanceWindow *KubernetesMaintenanceWindow `json:"maintenanceWindow,omitempty"` // 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. Name *string `json:"name"` + // The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private. + NatGatewayIp *string `json:"natGatewayIp,omitempty"` + // The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length. + NodeSubnet *string `json:"nodeSubnet,omitempty"` + // The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase. + Public *bool `json:"public,omitempty"` // List of S3 bucket configured for K8s usage. For now it contains only an S3 bucket used to store K8s API audit logs S3Buckets *[]S3Bucket `json:"s3Buckets,omitempty"` // List of versions that may be used for node pools under this cluster @@ -39,6 +47,8 @@ func NewKubernetesClusterProperties(name string) *KubernetesClusterProperties { this := KubernetesClusterProperties{} this.Name = &name + var public bool = true + this.Public = &public return &this } @@ -48,6 +58,8 @@ func NewKubernetesClusterProperties(name string) *KubernetesClusterProperties { // but it doesn't guarantee that properties required by API are set func NewKubernetesClusterPropertiesWithDefaults() *KubernetesClusterProperties { this := KubernetesClusterProperties{} + var public bool = true + this.Public = &public return &this } @@ -165,6 +177,44 @@ func (o *KubernetesClusterProperties) HasK8sVersion() bool { return false } +// GetLocation returns the Location field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterProperties) GetLocation() *string { + if o == nil { + return nil + } + + return o.Location + +} + +// GetLocationOk returns a tuple with the Location field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterProperties) GetLocationOk() (*string, bool) { + if o == nil { + return nil, false + } + + return o.Location, true +} + +// SetLocation sets field value +func (o *KubernetesClusterProperties) SetLocation(v string) { + + o.Location = &v + +} + +// HasLocation returns a boolean if a field has been set. +func (o *KubernetesClusterProperties) HasLocation() bool { + if o != nil && o.Location != nil { + return true + } + + return false +} + // GetMaintenanceWindow returns the MaintenanceWindow field value // If the value is explicit nil, nil is returned func (o *KubernetesClusterProperties) GetMaintenanceWindow() *KubernetesMaintenanceWindow { @@ -241,6 +291,120 @@ func (o *KubernetesClusterProperties) HasName() bool { return false } +// GetNatGatewayIp returns the NatGatewayIp field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterProperties) GetNatGatewayIp() *string { + if o == nil { + return nil + } + + return o.NatGatewayIp + +} + +// GetNatGatewayIpOk returns a tuple with the NatGatewayIp field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterProperties) GetNatGatewayIpOk() (*string, bool) { + if o == nil { + return nil, false + } + + return o.NatGatewayIp, true +} + +// SetNatGatewayIp sets field value +func (o *KubernetesClusterProperties) SetNatGatewayIp(v string) { + + o.NatGatewayIp = &v + +} + +// HasNatGatewayIp returns a boolean if a field has been set. +func (o *KubernetesClusterProperties) HasNatGatewayIp() bool { + if o != nil && o.NatGatewayIp != nil { + return true + } + + return false +} + +// GetNodeSubnet returns the NodeSubnet field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterProperties) GetNodeSubnet() *string { + if o == nil { + return nil + } + + return o.NodeSubnet + +} + +// GetNodeSubnetOk returns a tuple with the NodeSubnet field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterProperties) GetNodeSubnetOk() (*string, bool) { + if o == nil { + return nil, false + } + + return o.NodeSubnet, true +} + +// SetNodeSubnet sets field value +func (o *KubernetesClusterProperties) SetNodeSubnet(v string) { + + o.NodeSubnet = &v + +} + +// HasNodeSubnet returns a boolean if a field has been set. +func (o *KubernetesClusterProperties) HasNodeSubnet() bool { + if o != nil && o.NodeSubnet != nil { + return true + } + + return false +} + +// GetPublic returns the Public field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterProperties) GetPublic() *bool { + if o == nil { + return nil + } + + return o.Public + +} + +// GetPublicOk returns a tuple with the Public field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterProperties) GetPublicOk() (*bool, bool) { + if o == nil { + return nil, false + } + + return o.Public, true +} + +// SetPublic sets field value +func (o *KubernetesClusterProperties) SetPublic(v bool) { + + o.Public = &v + +} + +// HasPublic returns a boolean if a field has been set. +func (o *KubernetesClusterProperties) HasPublic() bool { + if o != nil && o.Public != nil { + return true + } + + return false +} + // GetS3Buckets returns the S3Buckets field value // If the value is explicit nil, nil is returned func (o *KubernetesClusterProperties) GetS3Buckets() *[]S3Bucket { @@ -331,6 +495,10 @@ func (o KubernetesClusterProperties) MarshalJSON() ([]byte, error) { toSerialize["k8sVersion"] = o.K8sVersion } + if o.Location != nil { + toSerialize["location"] = o.Location + } + if o.MaintenanceWindow != nil { toSerialize["maintenanceWindow"] = o.MaintenanceWindow } @@ -339,6 +507,18 @@ func (o KubernetesClusterProperties) MarshalJSON() ([]byte, error) { toSerialize["name"] = o.Name } + if o.NatGatewayIp != nil { + toSerialize["natGatewayIp"] = o.NatGatewayIp + } + + if o.NodeSubnet != nil { + toSerialize["nodeSubnet"] = o.NodeSubnet + } + + if o.Public != nil { + toSerialize["public"] = o.Public + } + if o.S3Buckets != nil { toSerialize["s3Buckets"] = o.S3Buckets } diff --git a/model_kubernetes_cluster_properties_for_post.go b/model_kubernetes_cluster_properties_for_post.go index 9215373..14c2b97 100644 --- a/model_kubernetes_cluster_properties_for_post.go +++ b/model_kubernetes_cluster_properties_for_post.go @@ -19,10 +19,18 @@ type KubernetesClusterPropertiesForPost struct { // Access to the K8s API server is restricted to these CIDRs. Intra-cluster traffic is not affected by this restriction. If no AllowList is specified, access is not limited. If an IP is specified without a subnet mask, the default value is 32 for IPv4 and 128 for IPv6. ApiSubnetAllowList *[]string `json:"apiSubnetAllowList,omitempty"` // The Kubernetes version that the cluster is running. This limits which Kubernetes versions can run in a cluster's node pools. Also, not all Kubernetes versions are suitable upgrade targets for all earlier versions. - K8sVersion *string `json:"k8sVersion,omitempty"` + K8sVersion *string `json:"k8sVersion,omitempty"` + // This attribute is mandatory if the cluster is private. The location must be enabled for your contract, or you must have a data center at that location. This property is not adjustable. + Location *string `json:"location,omitempty"` MaintenanceWindow *KubernetesMaintenanceWindow `json:"maintenanceWindow,omitempty"` // 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. Name *string `json:"name"` + // The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private. + NatGatewayIp *string `json:"natGatewayIp,omitempty"` + // The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length. + NodeSubnet *string `json:"nodeSubnet,omitempty"` + // The indicator whether the cluster is public or private. Note that the status FALSE is still in the beta phase. + Public *bool `json:"public,omitempty"` // List of S3 buckets configured for K8s usage. At the moment, it contains only one S3 bucket that is used to store K8s API audit logs. S3Buckets *[]S3Bucket `json:"s3Buckets,omitempty"` } @@ -35,6 +43,8 @@ func NewKubernetesClusterPropertiesForPost(name string) *KubernetesClusterProper this := KubernetesClusterPropertiesForPost{} this.Name = &name + var public bool = true + this.Public = &public return &this } @@ -44,6 +54,8 @@ func NewKubernetesClusterPropertiesForPost(name string) *KubernetesClusterProper // but it doesn't guarantee that properties required by API are set func NewKubernetesClusterPropertiesForPostWithDefaults() *KubernetesClusterPropertiesForPost { this := KubernetesClusterPropertiesForPost{} + var public bool = true + this.Public = &public return &this } @@ -123,6 +135,44 @@ func (o *KubernetesClusterPropertiesForPost) HasK8sVersion() bool { return false } +// GetLocation returns the Location field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterPropertiesForPost) GetLocation() *string { + if o == nil { + return nil + } + + return o.Location + +} + +// GetLocationOk returns a tuple with the Location field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterPropertiesForPost) GetLocationOk() (*string, bool) { + if o == nil { + return nil, false + } + + return o.Location, true +} + +// SetLocation sets field value +func (o *KubernetesClusterPropertiesForPost) SetLocation(v string) { + + o.Location = &v + +} + +// HasLocation returns a boolean if a field has been set. +func (o *KubernetesClusterPropertiesForPost) HasLocation() bool { + if o != nil && o.Location != nil { + return true + } + + return false +} + // GetMaintenanceWindow returns the MaintenanceWindow field value // If the value is explicit nil, nil is returned func (o *KubernetesClusterPropertiesForPost) GetMaintenanceWindow() *KubernetesMaintenanceWindow { @@ -199,6 +249,120 @@ func (o *KubernetesClusterPropertiesForPost) HasName() bool { return false } +// GetNatGatewayIp returns the NatGatewayIp field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterPropertiesForPost) GetNatGatewayIp() *string { + if o == nil { + return nil + } + + return o.NatGatewayIp + +} + +// GetNatGatewayIpOk returns a tuple with the NatGatewayIp field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterPropertiesForPost) GetNatGatewayIpOk() (*string, bool) { + if o == nil { + return nil, false + } + + return o.NatGatewayIp, true +} + +// SetNatGatewayIp sets field value +func (o *KubernetesClusterPropertiesForPost) SetNatGatewayIp(v string) { + + o.NatGatewayIp = &v + +} + +// HasNatGatewayIp returns a boolean if a field has been set. +func (o *KubernetesClusterPropertiesForPost) HasNatGatewayIp() bool { + if o != nil && o.NatGatewayIp != nil { + return true + } + + return false +} + +// GetNodeSubnet returns the NodeSubnet field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterPropertiesForPost) GetNodeSubnet() *string { + if o == nil { + return nil + } + + return o.NodeSubnet + +} + +// GetNodeSubnetOk returns a tuple with the NodeSubnet field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterPropertiesForPost) GetNodeSubnetOk() (*string, bool) { + if o == nil { + return nil, false + } + + return o.NodeSubnet, true +} + +// SetNodeSubnet sets field value +func (o *KubernetesClusterPropertiesForPost) SetNodeSubnet(v string) { + + o.NodeSubnet = &v + +} + +// HasNodeSubnet returns a boolean if a field has been set. +func (o *KubernetesClusterPropertiesForPost) HasNodeSubnet() bool { + if o != nil && o.NodeSubnet != nil { + return true + } + + return false +} + +// GetPublic returns the Public field value +// If the value is explicit nil, nil is returned +func (o *KubernetesClusterPropertiesForPost) GetPublic() *bool { + if o == nil { + return nil + } + + return o.Public + +} + +// GetPublicOk returns a tuple with the Public field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *KubernetesClusterPropertiesForPost) GetPublicOk() (*bool, bool) { + if o == nil { + return nil, false + } + + return o.Public, true +} + +// SetPublic sets field value +func (o *KubernetesClusterPropertiesForPost) SetPublic(v bool) { + + o.Public = &v + +} + +// HasPublic returns a boolean if a field has been set. +func (o *KubernetesClusterPropertiesForPost) HasPublic() bool { + if o != nil && o.Public != nil { + return true + } + + return false +} + // GetS3Buckets returns the S3Buckets field value // If the value is explicit nil, nil is returned func (o *KubernetesClusterPropertiesForPost) GetS3Buckets() *[]S3Bucket { @@ -247,6 +411,10 @@ func (o KubernetesClusterPropertiesForPost) MarshalJSON() ([]byte, error) { toSerialize["k8sVersion"] = o.K8sVersion } + if o.Location != nil { + toSerialize["location"] = o.Location + } + if o.MaintenanceWindow != nil { toSerialize["maintenanceWindow"] = o.MaintenanceWindow } @@ -255,6 +423,18 @@ func (o KubernetesClusterPropertiesForPost) MarshalJSON() ([]byte, error) { toSerialize["name"] = o.Name } + if o.NatGatewayIp != nil { + toSerialize["natGatewayIp"] = o.NatGatewayIp + } + + if o.NodeSubnet != nil { + toSerialize["nodeSubnet"] = o.NodeSubnet + } + + if o.Public != nil { + toSerialize["public"] = o.Public + } + if o.S3Buckets != nil { toSerialize["s3Buckets"] = o.S3Buckets } diff --git a/model_lan_properties.go b/model_lan_properties.go index a50a069..141f0e1 100644 --- a/model_lan_properties.go +++ b/model_lan_properties.go @@ -18,7 +18,7 @@ import ( type LanProperties struct { // IP failover configurations for lan IpFailover *[]IPFailover `json:"ipFailover,omitempty"` - // [The IPv6 feature is in beta phase and not ready for production usage.] For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6 enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN and /80 IPv6 CIDR blocks to the NICs and one /128 IPv6 address to each connected NIC. If you choose the IPv6 CIDR block for the LAN on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the LAN and on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. + // For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6 enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN and /80 IPv6 CIDR blocks to the NICs and one /128 IPv6 address to each connected NIC. If you choose the IPv6 CIDR block for the LAN on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the LAN and on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nilstring` can be used, or the setter `SetIpv6CidrBlockNil` Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"` // The name of the resource. diff --git a/model_lan_properties_post.go b/model_lan_properties_post.go index 387effb..a7da1b9 100644 --- a/model_lan_properties_post.go +++ b/model_lan_properties_post.go @@ -18,7 +18,7 @@ import ( type LanPropertiesPost struct { // IP failover configurations for lan IpFailover *[]IPFailover `json:"ipFailover,omitempty"` - // [The IPv6 feature is in beta phase and not ready for production usage.] For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6-enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN. If you choose the IPv6 CIDR block on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. + // For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6-enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN. If you choose the IPv6 CIDR block on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nilstring` can be used, or the setter `SetIpv6CidrBlockNil` Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"` // The name of the resource. diff --git a/model_nic_properties.go b/model_nic_properties.go index cda1f50..c24c1a4 100644 --- a/model_nic_properties.go +++ b/model_nic_properties.go @@ -20,7 +20,7 @@ type NicProperties struct { DeviceNumber *int32 `json:"deviceNumber,omitempty"` // Indicates if the NIC will reserve an IP using DHCP. Dhcp *bool `json:"dhcp,omitempty"` - // [The IPv6 feature is in beta phase and not ready for production usage.] Indicates if the NIC will receive an IPv6 using DHCP. It can be set to 'true' or 'false' only if this NIC is connected to an IPv6 enabled LAN. + // Indicates if the NIC will receive an IPv6 using DHCP. It can be set to 'true' or 'false' only if this NIC is connected to an IPv6 enabled LAN. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nilbool` can be used, or the setter `SetDhcpv6Nil` Dhcpv6 *bool `json:"dhcpv6,omitempty"` // Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports. @@ -30,10 +30,10 @@ type NicProperties struct { // Collection of IP addresses, assigned to the NIC. Explicitly assigned public IPs need to come from reserved IP blocks. Passing value null or empty array will assign an IP address automatically. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nil[]string` can be used, or the setter `SetIpsNil` Ips *[]string `json:"ips,omitempty"` - // [The IPv6 feature is in beta phase and not ready for production usage.] If this NIC is connected to an IPv6 enabled LAN then this property contains the /80 IPv6 CIDR block of the NIC. If you leave this property 'null' when adding a NIC to an IPv6-enabled LAN, then an IPv6 CIDR block will automatically be assigned to the NIC, but you can also specify an /80 IPv6 CIDR block for the NIC on your own, which must be inside the /64 IPv6 CIDR block of the LAN and unique. This value can only be set, if the LAN already has an IPv6 CIDR block assigned. An IPv6-enabled LAN is limited to a maximum of 65,536 NICs. + // If this NIC is connected to an IPv6 enabled LAN then this property contains the /80 IPv6 CIDR block of the NIC. If you leave this property 'null' when adding a NIC to an IPv6-enabled LAN, then an IPv6 CIDR block will automatically be assigned to the NIC, but you can also specify an /80 IPv6 CIDR block for the NIC on your own, which must be inside the /64 IPv6 CIDR block of the LAN and unique. This value can only be set, if the LAN already has an IPv6 CIDR block assigned. An IPv6-enabled LAN is limited to a maximum of 65,536 NICs. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nilstring` can be used, or the setter `SetIpv6CidrBlockNil` Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"` - // [The IPv6 feature is in beta phase and not ready for production usage.] If this NIC is connected to an IPv6 enabled LAN then this property contains the IPv6 IP addresses of the NIC. The maximum number of IPv6 IP addresses per NIC is 50, if you need more, contact support. If you leave this property 'null' when adding a NIC, when changing the NIC's IPv6 CIDR block, when changing the LAN's IPv6 CIDR block or when moving the NIC to a different IPv6 enabled LAN, then we will automatically assign the same number of IPv6 addresses which you had before from the NICs new CIDR block. If you leave this property 'null' while not changing the CIDR block, the IPv6 IP addresses won't be changed either. You can also provide your own self choosen IPv6 addresses, which then must be inside the IPv6 CIDR block of this NIC. + // If this NIC is connected to an IPv6 enabled LAN then this property contains the IPv6 IP addresses of the NIC. The maximum number of IPv6 IP addresses per NIC is 50, if you need more, contact support. If you leave this property 'null' when adding a NIC, when changing the NIC's IPv6 CIDR block, when changing the LAN's IPv6 CIDR block or when moving the NIC to a different IPv6 enabled LAN, then we will automatically assign the same number of IPv6 addresses which you had before from the NICs new CIDR block. If you leave this property 'null' while not changing the CIDR block, the IPv6 IP addresses won't be changed either. You can also provide your own self choosen IPv6 addresses, which then must be inside the IPv6 CIDR block of this NIC. // to set this field to `nil` in order to be marshalled, the explicit nil address `Nil[]string` can be used, or the setter `SetIpv6IpsNil` Ipv6Ips *[]string `json:"ipv6Ips,omitempty"` // The LAN ID the NIC will be on. If the LAN ID does not exist, it will be implicitly created.