Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.71 KB

File metadata and controls

48 lines (26 loc) · 1.71 KB

DedicatedMachineTypeSpecification

Properties

Name Type Description Notes
MachineType Pointer to string machine_type is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4. [optional]
NumVirtualCpus Pointer to int32 num_virtual_cpus may be used to automatically select a machine type according to the desired number of vCPUs. [optional]

Methods

NewDedicatedMachineTypeSpecification

func NewDedicatedMachineTypeSpecification() *DedicatedMachineTypeSpecification

NewDedicatedMachineTypeSpecification instantiates a new DedicatedMachineTypeSpecification 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.

GetMachineType

func (o *DedicatedMachineTypeSpecification) GetMachineType() string

GetMachineType returns the MachineType field if non-nil, zero value otherwise.

SetMachineType

func (o *DedicatedMachineTypeSpecification) SetMachineType(v string)

SetMachineType sets MachineType field to given value.

GetNumVirtualCpus

func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpus() int32

GetNumVirtualCpus returns the NumVirtualCpus field if non-nil, zero value otherwise.

SetNumVirtualCpus

func (o *DedicatedMachineTypeSpecification) SetNumVirtualCpus(v int32)

SetNumVirtualCpus sets NumVirtualCpus field to given value.

[Back to Model list] [Back to API list] [Back to README]