ServerProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewServerProperties() *ServerProperties
NewServerProperties instantiates a new ServerProperties 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 NewServerPropertiesWithDefaults() *ServerProperties
NewServerPropertiesWithDefaults instantiates a new ServerProperties 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 *ServerProperties) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
func (o *ServerProperties) 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 *ServerProperties) SetAvailabilityZone(v string)
SetAvailabilityZone sets AvailabilityZone field to given value.
func (o *ServerProperties) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (o *ServerProperties) GetBootCdrom() ResourceReference
GetBootCdrom returns the BootCdrom field if non-nil, zero value otherwise.
func (o *ServerProperties) GetBootCdromOk() (*ResourceReference, bool)
GetBootCdromOk returns a tuple with the BootCdrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetBootCdrom(v ResourceReference)
SetBootCdrom sets BootCdrom field to given value.
func (o *ServerProperties) HasBootCdrom() bool
HasBootCdrom returns a boolean if a field has been set.
func (o *ServerProperties) GetBootVolume() ResourceReference
GetBootVolume returns the BootVolume field if non-nil, zero value otherwise.
func (o *ServerProperties) GetBootVolumeOk() (*ResourceReference, bool)
GetBootVolumeOk returns a tuple with the BootVolume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetBootVolume(v ResourceReference)
SetBootVolume sets BootVolume field to given value.
func (o *ServerProperties) HasBootVolume() bool
HasBootVolume returns a boolean if a field has been set.
func (o *ServerProperties) GetCores() int32
GetCores returns the Cores field if non-nil, zero value otherwise.
func (o *ServerProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetCores(v int32)
SetCores sets Cores field to given value.
func (o *ServerProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (o *ServerProperties) GetCpuFamily() string
GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.
func (o *ServerProperties) 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 *ServerProperties) SetCpuFamily(v string)
SetCpuFamily sets CpuFamily field to given value.
func (o *ServerProperties) HasCpuFamily() bool
HasCpuFamily returns a boolean if a field has been set.
func (o *ServerProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ServerProperties) 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 *ServerProperties) SetName(v string)
SetName sets Name field to given value.
func (o *ServerProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ServerProperties) GetPlacementGroupId() string
GetPlacementGroupId returns the PlacementGroupId field if non-nil, zero value otherwise.
func (o *ServerProperties) GetPlacementGroupIdOk() (*string, bool)
GetPlacementGroupIdOk returns a tuple with the PlacementGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetPlacementGroupId(v string)
SetPlacementGroupId sets PlacementGroupId field to given value.
func (o *ServerProperties) HasPlacementGroupId() bool
HasPlacementGroupId returns a boolean if a field has been set.
func (o *ServerProperties) GetRam() int32
GetRam returns the Ram field if non-nil, zero value otherwise.
func (o *ServerProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetRam(v int32)
SetRam sets Ram field to given value.
func (o *ServerProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (o *ServerProperties) GetTemplateUuid() string
GetTemplateUuid returns the TemplateUuid field if non-nil, zero value otherwise.
func (o *ServerProperties) GetTemplateUuidOk() (*string, bool)
GetTemplateUuidOk returns a tuple with the TemplateUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetTemplateUuid(v string)
SetTemplateUuid sets TemplateUuid field to given value.
func (o *ServerProperties) HasTemplateUuid() bool
HasTemplateUuid returns a boolean if a field has been set.
func (o *ServerProperties) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ServerProperties) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetType(v string)
SetType sets Type field to given value.
func (o *ServerProperties) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ServerProperties) GetVmState() string
GetVmState returns the VmState field if non-nil, zero value otherwise.
func (o *ServerProperties) GetVmStateOk() (*string, bool)
GetVmStateOk returns a tuple with the VmState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerProperties) SetVmState(v string)
SetVmState sets VmState field to given value.
func (o *ServerProperties) HasVmState() bool
HasVmState returns a boolean if a field has been set.
AvailabilityZone
Pointer to string
The availability zone in which the server should be provisioned.
[optional]
BootCdrom
Pointer to ResourceReference
[optional]
BootVolume
Pointer to ResourceReference
[optional]
Cores
Pointer to int32
The total number of cores for the enterprise server.
[optional]
CpuFamily
Pointer to string
CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource; must not be provided for CUBE servers.
[optional]
Name
Pointer to string
The name of the resource.
[optional]
PlacementGroupId
Pointer to string
The placement group ID that belongs to this server; Requires system privileges
[optional]
Ram
Pointer to int32
The memory size for the enterprise server in MB, such as 2048. Size must be specified in multiples of 256 MB with a minimum of 256 MB; however, if you set ramHotPlug to TRUE then you must use a minimum of 1024 MB. If you set the RAM size more than 240GB, then ramHotPlug will be set to FALSE and can not be set to TRUE unless RAM size not set to less than 240GB.
[optional]
TemplateUuid
Pointer to string
The ID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource.
[optional]
Type
Pointer to string
Server type: CUBE or ENTERPRISE.
[optional]
VmState
Pointer to string
Status of the virtual machine.
[optional] [readonly]