1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
|
# ServerProperties
## Properties
|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**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] |
|**Name** | Pointer to **string** | The name of the resource. | [optional] |
|**Hostname** | Pointer to **string** | The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. | [optional] |
|**Cores** | Pointer to **int32** | The total number of cores for the enterprise server. | [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] |
|**AvailabilityZone** | Pointer to **string** | The availability zone in which the server should be provisioned. | [optional] |
|**VmState** | Pointer to **string** | Status of the virtual machine. | [optional] [readonly] |
|**BootCdrom** | Pointer to [**ResourceReference**](ResourceReference.md) | | [optional] |
|**BootVolume** | Pointer to [**ResourceReference**](ResourceReference.md) | | [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 and VCPU servers. | [optional] |
|**Type** | Pointer to **string** | Server type: CUBE, ENTERPRISE or VCPU. | [optional] |
|**PlacementGroupId** | Pointer to **string** | The placement group ID that belongs to this server; Requires system privileges, for internal usage only | [optional] |
|**NicMultiQueue** | Pointer to **bool** | Activate or deactivate the Multi Queue feature on all NICs of this server. This feature is beneficial to enable when the NICs are experiencing performance issues (e.g. low throughput). Toggling this feature will also initiate a restart of the server. If the specified value is `true`, the feature will be activated; if it is not specified or set to `false`, the feature will be deactivated. It is not allowed for servers of type Cube. | [optional] [default to false]|
## Methods
### NewServerProperties
`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
### NewServerPropertiesWithDefaults
`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
### GetTemplateUuid
`func (o *ServerProperties) GetTemplateUuid() string`
GetTemplateUuid returns the TemplateUuid field if non-nil, zero value otherwise.
### GetTemplateUuidOk
`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.
### SetTemplateUuid
`func (o *ServerProperties) SetTemplateUuid(v string)`
SetTemplateUuid sets TemplateUuid field to given value.
### HasTemplateUuid
`func (o *ServerProperties) HasTemplateUuid() bool`
HasTemplateUuid returns a boolean if a field has been set.
### GetName
`func (o *ServerProperties) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`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.
### SetName
`func (o *ServerProperties) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *ServerProperties) HasName() bool`
HasName returns a boolean if a field has been set.
### GetHostname
`func (o *ServerProperties) GetHostname() string`
GetHostname returns the Hostname field if non-nil, zero value otherwise.
### GetHostnameOk
`func (o *ServerProperties) GetHostnameOk() (*string, bool)`
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHostname
`func (o *ServerProperties) SetHostname(v string)`
SetHostname sets Hostname field to given value.
### HasHostname
`func (o *ServerProperties) HasHostname() bool`
HasHostname returns a boolean if a field has been set.
### GetCores
`func (o *ServerProperties) GetCores() int32`
GetCores returns the Cores field if non-nil, zero value otherwise.
### GetCoresOk
`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.
### SetCores
`func (o *ServerProperties) SetCores(v int32)`
SetCores sets Cores field to given value.
### HasCores
`func (o *ServerProperties) HasCores() bool`
HasCores returns a boolean if a field has been set.
### GetRam
`func (o *ServerProperties) GetRam() int32`
GetRam returns the Ram field if non-nil, zero value otherwise.
### GetRamOk
`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.
### SetRam
`func (o *ServerProperties) SetRam(v int32)`
SetRam sets Ram field to given value.
### HasRam
`func (o *ServerProperties) HasRam() bool`
HasRam returns a boolean if a field has been set.
### GetAvailabilityZone
`func (o *ServerProperties) GetAvailabilityZone() string`
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
### GetAvailabilityZoneOk
`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.
### SetAvailabilityZone
`func (o *ServerProperties) SetAvailabilityZone(v string)`
SetAvailabilityZone sets AvailabilityZone field to given value.
### HasAvailabilityZone
`func (o *ServerProperties) HasAvailabilityZone() bool`
HasAvailabilityZone returns a boolean if a field has been set.
### GetVmState
`func (o *ServerProperties) GetVmState() string`
GetVmState returns the VmState field if non-nil, zero value otherwise.
### GetVmStateOk
`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.
### SetVmState
`func (o *ServerProperties) SetVmState(v string)`
SetVmState sets VmState field to given value.
### HasVmState
`func (o *ServerProperties) HasVmState() bool`
HasVmState returns a boolean if a field has been set.
### GetBootCdrom
`func (o *ServerProperties) GetBootCdrom() ResourceReference`
GetBootCdrom returns the BootCdrom field if non-nil, zero value otherwise.
### GetBootCdromOk
`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.
### SetBootCdrom
`func (o *ServerProperties) SetBootCdrom(v ResourceReference)`
SetBootCdrom sets BootCdrom field to given value.
### HasBootCdrom
`func (o *ServerProperties) HasBootCdrom() bool`
HasBootCdrom returns a boolean if a field has been set.
### GetBootVolume
`func (o *ServerProperties) GetBootVolume() ResourceReference`
GetBootVolume returns the BootVolume field if non-nil, zero value otherwise.
### GetBootVolumeOk
`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.
### SetBootVolume
`func (o *ServerProperties) SetBootVolume(v ResourceReference)`
SetBootVolume sets BootVolume field to given value.
### HasBootVolume
`func (o *ServerProperties) HasBootVolume() bool`
HasBootVolume returns a boolean if a field has been set.
### GetCpuFamily
`func (o *ServerProperties) GetCpuFamily() string`
GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.
### GetCpuFamilyOk
`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.
### SetCpuFamily
`func (o *ServerProperties) SetCpuFamily(v string)`
SetCpuFamily sets CpuFamily field to given value.
### HasCpuFamily
`func (o *ServerProperties) HasCpuFamily() bool`
HasCpuFamily returns a boolean if a field has been set.
### GetType
`func (o *ServerProperties) GetType() string`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`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.
### SetType
`func (o *ServerProperties) SetType(v string)`
SetType sets Type field to given value.
### HasType
`func (o *ServerProperties) HasType() bool`
HasType returns a boolean if a field has been set.
### GetPlacementGroupId
`func (o *ServerProperties) GetPlacementGroupId() string`
GetPlacementGroupId returns the PlacementGroupId field if non-nil, zero value otherwise.
### GetPlacementGroupIdOk
`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.
### SetPlacementGroupId
`func (o *ServerProperties) SetPlacementGroupId(v string)`
SetPlacementGroupId sets PlacementGroupId field to given value.
### HasPlacementGroupId
`func (o *ServerProperties) HasPlacementGroupId() bool`
HasPlacementGroupId returns a boolean if a field has been set.
### GetNicMultiQueue
`func (o *ServerProperties) GetNicMultiQueue() bool`
GetNicMultiQueue returns the NicMultiQueue field if non-nil, zero value otherwise.
### GetNicMultiQueueOk
`func (o *ServerProperties) GetNicMultiQueueOk() (*bool, bool)`
GetNicMultiQueueOk returns a tuple with the NicMultiQueue field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNicMultiQueue
`func (o *ServerProperties) SetNicMultiQueue(v bool)`
SetNicMultiQueue sets NicMultiQueue field to given value.
### HasNicMultiQueue
`func (o *ServerProperties) HasNicMultiQueue() bool`
HasNicMultiQueue returns a boolean if a field has been set.
|