KubernetesNodePoolPropertiesForPost
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewKubernetesNodePoolPropertiesForPost(name string, datacenterId string, nodeCount int32, cpuFamily string, coresCount int32, ramSize int32, availabilityZone string, storageType string, storageSize int32, ) *KubernetesNodePoolPropertiesForPost
NewKubernetesNodePoolPropertiesForPost instantiates a new KubernetesNodePoolPropertiesForPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKubernetesNodePoolPropertiesForPostWithDefaults() *KubernetesNodePoolPropertiesForPost
NewKubernetesNodePoolPropertiesForPostWithDefaults instantiates a new KubernetesNodePoolPropertiesForPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *KubernetesNodePoolPropertiesForPost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetName(v string)
SetName sets Name field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetNodeCount() int32
GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetNodeCountOk() (*int32, bool)
GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetNodeCount(v int32)
SetNodeCount sets NodeCount field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetCpuFamily() string
GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetCpuFamilyOk() (*string, bool)
GetCpuFamilyOk returns a tuple with the CpuFamily field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetCpuFamily(v string)
SetCpuFamily sets CpuFamily field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetCoresCount() int32
GetCoresCount returns the CoresCount field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetCoresCountOk() (*int32, bool)
GetCoresCountOk returns a tuple with the CoresCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetCoresCount(v int32)
SetCoresCount sets CoresCount field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetRamSize() int32
GetRamSize returns the RamSize field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetRamSizeOk() (*int32, bool)
GetRamSizeOk returns a tuple with the RamSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetRamSize(v int32)
SetRamSize sets RamSize field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetAvailabilityZone(v string)
SetAvailabilityZone sets AvailabilityZone field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetStorageType() string
GetStorageType returns the StorageType field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetStorageTypeOk() (*string, bool)
GetStorageTypeOk returns a tuple with the StorageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetStorageType(v string)
SetStorageType sets StorageType field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetStorageSize() int32
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetStorageSize(v int32)
SetStorageSize sets StorageSize field to given value.
func (o *KubernetesNodePoolPropertiesForPost) GetK8sVersion() string
GetK8sVersion returns the K8sVersion field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetK8sVersionOk() (*string, bool)
GetK8sVersionOk returns a tuple with the K8sVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetK8sVersion(v string)
SetK8sVersion sets K8sVersion field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasK8sVersion() bool
HasK8sVersion returns a boolean if a field has been set.
func (o *KubernetesNodePoolPropertiesForPost) GetMaintenanceWindow() KubernetesMaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetMaintenanceWindowOk() (*KubernetesMaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetMaintenanceWindow(v KubernetesMaintenanceWindow)
SetMaintenanceWindow sets MaintenanceWindow field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (o *KubernetesNodePoolPropertiesForPost) GetAutoScaling() KubernetesAutoScaling
GetAutoScaling returns the AutoScaling field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetAutoScalingOk() (*KubernetesAutoScaling, bool)
GetAutoScalingOk returns a tuple with the AutoScaling field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetAutoScaling(v KubernetesAutoScaling)
SetAutoScaling sets AutoScaling field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasAutoScaling() bool
HasAutoScaling returns a boolean if a field has been set.
func (o *KubernetesNodePoolPropertiesForPost) GetLans() []KubernetesNodePoolLan
GetLans returns the Lans field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetLansOk() (*[]KubernetesNodePoolLan, bool)
GetLansOk returns a tuple with the Lans field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetLans(v []KubernetesNodePoolLan)
SetLans sets Lans field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasLans() bool
HasLans returns a boolean if a field has been set.
func (o *KubernetesNodePoolPropertiesForPost) GetLabels() map[string]string
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetLabels(v map[string]string)
SetLabels sets Labels field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (o *KubernetesNodePoolPropertiesForPost) GetAnnotations() map[string]string
GetAnnotations returns the Annotations field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetAnnotationsOk() (*map[string]string, bool)
GetAnnotationsOk returns a tuple with the Annotations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetAnnotations(v map[string]string)
SetAnnotations sets Annotations field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (o *KubernetesNodePoolPropertiesForPost) GetPublicIps() []string
GetPublicIps returns the PublicIps field if non-nil, zero value otherwise.
func (o *KubernetesNodePoolPropertiesForPost) GetPublicIpsOk() (*[]string, bool)
GetPublicIpsOk returns a tuple with the PublicIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesNodePoolPropertiesForPost) SetPublicIps(v []string)
SetPublicIps sets PublicIps field to given value.
func (o *KubernetesNodePoolPropertiesForPost) HasPublicIps() bool
HasPublicIps returns a boolean if a field has been set.
Name
string
A Kubernetes Node Pool Name. Valid Kubernetes Node Pool 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.
DatacenterId
string
A valid uuid of the datacenter on which user has access
NodeCount
int32
Number of nodes part of the Node Pool
CpuFamily
string
A valid cpu family name
CoresCount
int32
Number of cores for node
RamSize
int32
RAM size for node, minimum size is 2048MB. Ram size must be set to multiple of 1024MB.
AvailabilityZone
string
The availability zone in which the target VM should exist
StorageType
string
Hardware type of the volume
StorageSize
int32
The size of the volume in GB. The size should be greater than 10GB.
K8sVersion
Pointer to string
The kubernetes version in which a nodepool 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]
MaintenanceWindow
Pointer to KubernetesMaintenanceWindow
[optional]
AutoScaling
Pointer to KubernetesAutoScaling
[optional]
Lans
Pointer to []KubernetesNodePoolLan
array of additional LANs attached to worker nodes
[optional]
Labels
Pointer to map[string]string
map of labels attached to node pool
[optional]
Annotations
Pointer to map[string]string
map of annotations attached to node pool
[optional]
PublicIps
Pointer to []string
Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one extra IP than maximum number of nodes could be. (nodeCount+1 if fixed node amount or maxNodeCount+1 if auto scaling is used) The extra provided IP Will be used during rebuilding of nodes.
[optional]