Name | Type | Description | Notes |
---|---|---|---|
BootImage | string | Boot image of the VM | |
EnableIp4 | bool | Enable IPv4 | |
PrivateSubnetId | string | ID of the private subnet | |
Size | string | Size of the VM | |
StorageSize | int32 | Requested storage size in GiB | |
UnixUser | string | Unix user of the VM | |
Commands | []string | List of commands for the Kubernetes VM |
func NewCreateLocationKubernetesVMRequest(bootImage string, enableIp4 bool, privateSubnetId string, size string, storageSize int32, unixUser string, commands []string, ) *CreateLocationKubernetesVMRequest
NewCreateLocationKubernetesVMRequest instantiates a new CreateLocationKubernetesVMRequest 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 NewCreateLocationKubernetesVMRequestWithDefaults() *CreateLocationKubernetesVMRequest
NewCreateLocationKubernetesVMRequestWithDefaults instantiates a new CreateLocationKubernetesVMRequest 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 *CreateLocationKubernetesVMRequest) GetBootImage() string
GetBootImage returns the BootImage field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) GetBootImageOk() (*string, bool)
GetBootImageOk returns a tuple with the BootImage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLocationKubernetesVMRequest) SetBootImage(v string)
SetBootImage sets BootImage field to given value.
func (o *CreateLocationKubernetesVMRequest) GetEnableIp4() bool
GetEnableIp4 returns the EnableIp4 field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) GetEnableIp4Ok() (*bool, bool)
GetEnableIp4Ok returns a tuple with the EnableIp4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLocationKubernetesVMRequest) SetEnableIp4(v bool)
SetEnableIp4 sets EnableIp4 field to given value.
func (o *CreateLocationKubernetesVMRequest) GetPrivateSubnetId() string
GetPrivateSubnetId returns the PrivateSubnetId field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) GetPrivateSubnetIdOk() (*string, bool)
GetPrivateSubnetIdOk returns a tuple with the PrivateSubnetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLocationKubernetesVMRequest) SetPrivateSubnetId(v string)
SetPrivateSubnetId sets PrivateSubnetId field to given value.
func (o *CreateLocationKubernetesVMRequest) GetSize() string
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLocationKubernetesVMRequest) SetSize(v string)
SetSize sets Size field to given value.
func (o *CreateLocationKubernetesVMRequest) GetStorageSize() int32
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) 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 *CreateLocationKubernetesVMRequest) SetStorageSize(v int32)
SetStorageSize sets StorageSize field to given value.
func (o *CreateLocationKubernetesVMRequest) GetUnixUser() string
GetUnixUser returns the UnixUser field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) GetUnixUserOk() (*string, bool)
GetUnixUserOk returns a tuple with the UnixUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLocationKubernetesVMRequest) SetUnixUser(v string)
SetUnixUser sets UnixUser field to given value.
func (o *CreateLocationKubernetesVMRequest) GetCommands() []string
GetCommands returns the Commands field if non-nil, zero value otherwise.
func (o *CreateLocationKubernetesVMRequest) GetCommandsOk() (*[]string, bool)
GetCommandsOk returns a tuple with the Commands field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLocationKubernetesVMRequest) SetCommands(v []string)
SetCommands sets Commands field to given value.