CreateNodePoolProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewCreateNodePoolProperties(name string, nodeCount int32, ) *CreateNodePoolProperties
NewCreateNodePoolProperties instantiates a new CreateNodePoolProperties 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 NewCreateNodePoolPropertiesWithDefaults() *CreateNodePoolProperties
NewCreateNodePoolPropertiesWithDefaults instantiates a new CreateNodePoolProperties 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 *CreateNodePoolProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) 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 *CreateNodePoolProperties) SetName(v string)
SetName sets Name field to given value.
func (o *CreateNodePoolProperties) GetNodeCount() int32
GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) 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 *CreateNodePoolProperties) SetNodeCount(v int32)
SetNodeCount sets NodeCount field to given value.
func (o *CreateNodePoolProperties) GetCpuFamily() string
GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) 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 *CreateNodePoolProperties) SetCpuFamily(v string)
SetCpuFamily sets CpuFamily field to given value.
func (o *CreateNodePoolProperties) HasCpuFamily() bool
HasCpuFamily returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetCoresCount() int32
GetCoresCount returns the CoresCount field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) 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 *CreateNodePoolProperties) SetCoresCount(v int32)
SetCoresCount sets CoresCount field to given value.
func (o *CreateNodePoolProperties) HasCoresCount() bool
HasCoresCount returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetRamSize() int32
GetRamSize returns the RamSize field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) 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 *CreateNodePoolProperties) SetRamSize(v int32)
SetRamSize sets RamSize field to given value.
func (o *CreateNodePoolProperties) HasRamSize() bool
HasRamSize returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetAvailabilityZone() AvailabilityZone
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) GetAvailabilityZoneOk() (*AvailabilityZone, 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 *CreateNodePoolProperties) SetAvailabilityZone(v AvailabilityZone)
SetAvailabilityZone sets AvailabilityZone field to given value.
func (o *CreateNodePoolProperties) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetStorageType() StorageType
GetStorageType returns the StorageType field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) GetStorageTypeOk() (*StorageType, 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 *CreateNodePoolProperties) SetStorageType(v StorageType)
SetStorageType sets StorageType field to given value.
func (o *CreateNodePoolProperties) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) 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 *CreateNodePoolProperties) SetStorageSize(v int32)
SetStorageSize sets StorageSize field to given value.
func (o *CreateNodePoolProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, 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 *CreateNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets MaintenanceWindow field to given value.
func (o *CreateNodePoolProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetLabels() map[string]interface{}
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) GetLabelsOk() (*map[string]interface{}, 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 *CreateNodePoolProperties) SetLabels(v map[string]interface{})
SetLabels sets Labels field to given value.
func (o *CreateNodePoolProperties) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (o *CreateNodePoolProperties) GetAnnotations() map[string]interface{}
GetAnnotations returns the Annotations field if non-nil, zero value otherwise.
func (o *CreateNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, 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 *CreateNodePoolProperties) SetAnnotations(v map[string]interface{})
SetAnnotations sets Annotations field to given value.
func (o *CreateNodePoolProperties) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
Name
string
The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
NodeCount
int32
The number of nodes that make up the node pool.
CpuFamily
Pointer to string
A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource.
[optional] [default to "AUTO"]
CoresCount
Pointer to int32
The number of CPU cores per node.
[optional] [default to 4]
RamSize
Pointer to int32
The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB.
[optional] [default to 4096]
AvailabilityZone
Pointer to AvailabilityZone
[optional] [default to AVAILABILITYZONE_AUTO]
StorageType
Pointer to StorageType
[optional] [default to STORAGETYPE_SSD]
StorageSize
Pointer to int32
The size of the volume in GB. The size must be greater than 10 GB.
[optional] [default to 20]
MaintenanceWindow
Pointer to MaintenanceWindow
[optional]
Labels
Pointer to map[string]interface{}
Key-value pairs attached to the node pool resource as Kubernetes labels.
[optional]
Annotations
Pointer to map[string]interface{}
Key-value pairs attached to node pool resource as Kubernetes annotations.
[optional]