NodePool
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewNodePool() *NodePool
NewNodePool instantiates a new NodePool 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 NewNodePoolWithDefaults() *NodePool
NewNodePoolWithDefaults instantiates a new NodePool 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 *NodePool) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetName(v string)
SetName sets Name field to given value.
func (o *NodePool) HasName() bool
HasName returns a boolean if a field has been set.
func (o *NodePool) GetDataPlatformVersion() string
GetDataPlatformVersion returns the DataPlatformVersion field if non-nil, zero value otherwise.
func (o *NodePool) GetDataPlatformVersionOk() (*string, bool)
GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodePool) SetDataPlatformVersion(v string)
SetDataPlatformVersion sets DataPlatformVersion field to given value.
func (o *NodePool) HasDataPlatformVersion() bool
HasDataPlatformVersion returns a boolean if a field has been set.
func (o *NodePool) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
func (o *NodePool) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (o *NodePool) GetNodeCount() int32
GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetNodeCount(v int32)
SetNodeCount sets NodeCount field to given value.
func (o *NodePool) HasNodeCount() bool
HasNodeCount returns a boolean if a field has been set.
func (o *NodePool) GetCpuFamily() string
GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetCpuFamily(v string)
SetCpuFamily sets CpuFamily field to given value.
func (o *NodePool) HasCpuFamily() bool
HasCpuFamily returns a boolean if a field has been set.
func (o *NodePool) GetCoresCount() int32
GetCoresCount returns the CoresCount field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetCoresCount(v int32)
SetCoresCount sets CoresCount field to given value.
func (o *NodePool) HasCoresCount() bool
HasCoresCount returns a boolean if a field has been set.
func (o *NodePool) GetRamSize() int32
GetRamSize returns the RamSize field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetRamSize(v int32)
SetRamSize sets RamSize field to given value.
func (o *NodePool) HasRamSize() bool
HasRamSize returns a boolean if a field has been set.
func (o *NodePool) GetAvailabilityZone() AvailabilityZone
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetAvailabilityZone(v AvailabilityZone)
SetAvailabilityZone sets AvailabilityZone field to given value.
func (o *NodePool) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (o *NodePool) GetStorageType() StorageType
GetStorageType returns the StorageType field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetStorageType(v StorageType)
SetStorageType sets StorageType field to given value.
func (o *NodePool) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (o *NodePool) GetStorageSize() int32
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetStorageSize(v int32)
SetStorageSize sets StorageSize field to given value.
func (o *NodePool) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (o *NodePool) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets MaintenanceWindow field to given value.
func (o *NodePool) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (o *NodePool) GetLabels() map[string]interface{}
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetLabels(v map[string]interface{})
SetLabels sets Labels field to given value.
func (o *NodePool) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (o *NodePool) GetAnnotations() map[string]interface{}
GetAnnotations returns the Annotations field if non-nil, zero value otherwise.
func (o *NodePool) 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 *NodePool) SetAnnotations(v map[string]interface{})
SetAnnotations sets Annotations field to given value.
func (o *NodePool) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
Name
Pointer to 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.
[optional]
DataPlatformVersion
Pointer to string
The version of the data platform.
[optional]
DatacenterId
Pointer to string
The UUID of the virtual data center (VDC) the cluster is provisioned.
[optional]
NodeCount
Pointer to int32
The number of nodes that make up the node pool.
[optional]
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]