Name | Type | Description | Notes |
---|---|---|---|
Region | RegionName | ||
Type | TypeName | ||
ImageId | string | imageId can be either an Operating System or a UUID in case of a Custom Image | |
MarketAppId | Pointer to string | Market App ID that must be installed into the instance | [optional] |
Reference | Pointer to string | An identifying name you can refer to the instance | [optional] |
ContractType | ContractType | ||
ContractTerm | ContractTerm | ||
BillingFrequency | BillingFrequency | ||
RootDiskSize | Pointer to int32 | The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances | [optional] |
RootDiskStorageType | StorageType | ||
SshKey | Pointer to string | Public SSH key to be installed into the instance. Must be used only on Linux/FreeBSD instances | [optional] |
UserData | Pointer to string | User data to be installed into the instance. Please note that this setting cannot be used in combination with the 'sshKey' setting. Send the user data as plain text, not encoded as base64. | [optional] |
func NewLaunchInstanceOpts(region RegionName, type_ TypeName, imageId string, contractType ContractType, contractTerm ContractTerm, billingFrequency BillingFrequency, rootDiskStorageType StorageType, ) *LaunchInstanceOpts
NewLaunchInstanceOpts instantiates a new LaunchInstanceOpts 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 NewLaunchInstanceOptsWithDefaults() *LaunchInstanceOpts
NewLaunchInstanceOptsWithDefaults instantiates a new LaunchInstanceOpts 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 *LaunchInstanceOpts) GetRegion() RegionName
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetRegionOk() (*RegionName, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetRegion(v RegionName)
SetRegion sets Region field to given value.
func (o *LaunchInstanceOpts) GetType() TypeName
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetTypeOk() (*TypeName, 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 *LaunchInstanceOpts) SetType(v TypeName)
SetType sets Type field to given value.
func (o *LaunchInstanceOpts) GetImageId() string
GetImageId returns the ImageId field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetImageIdOk() (*string, bool)
GetImageIdOk returns a tuple with the ImageId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetImageId(v string)
SetImageId sets ImageId field to given value.
func (o *LaunchInstanceOpts) GetMarketAppId() string
GetMarketAppId returns the MarketAppId field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetMarketAppIdOk() (*string, bool)
GetMarketAppIdOk returns a tuple with the MarketAppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetMarketAppId(v string)
SetMarketAppId sets MarketAppId field to given value.
func (o *LaunchInstanceOpts) HasMarketAppId() bool
HasMarketAppId returns a boolean if a field has been set.
func (o *LaunchInstanceOpts) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetReference(v string)
SetReference sets Reference field to given value.
func (o *LaunchInstanceOpts) HasReference() bool
HasReference returns a boolean if a field has been set.
func (o *LaunchInstanceOpts) GetContractType() ContractType
GetContractType returns the ContractType field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetContractTypeOk() (*ContractType, bool)
GetContractTypeOk returns a tuple with the ContractType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetContractType(v ContractType)
SetContractType sets ContractType field to given value.
func (o *LaunchInstanceOpts) GetContractTerm() ContractTerm
GetContractTerm returns the ContractTerm field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetContractTermOk() (*ContractTerm, bool)
GetContractTermOk returns a tuple with the ContractTerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetContractTerm(v ContractTerm)
SetContractTerm sets ContractTerm field to given value.
func (o *LaunchInstanceOpts) GetBillingFrequency() BillingFrequency
GetBillingFrequency returns the BillingFrequency field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetBillingFrequencyOk() (*BillingFrequency, bool)
GetBillingFrequencyOk returns a tuple with the BillingFrequency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetBillingFrequency(v BillingFrequency)
SetBillingFrequency sets BillingFrequency field to given value.
func (o *LaunchInstanceOpts) GetRootDiskSize() int32
GetRootDiskSize returns the RootDiskSize field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetRootDiskSizeOk() (*int32, bool)
GetRootDiskSizeOk returns a tuple with the RootDiskSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetRootDiskSize(v int32)
SetRootDiskSize sets RootDiskSize field to given value.
func (o *LaunchInstanceOpts) HasRootDiskSize() bool
HasRootDiskSize returns a boolean if a field has been set.
func (o *LaunchInstanceOpts) GetRootDiskStorageType() StorageType
GetRootDiskStorageType returns the RootDiskStorageType field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetRootDiskStorageTypeOk() (*StorageType, bool)
GetRootDiskStorageTypeOk returns a tuple with the RootDiskStorageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetRootDiskStorageType(v StorageType)
SetRootDiskStorageType sets RootDiskStorageType field to given value.
func (o *LaunchInstanceOpts) GetSshKey() string
GetSshKey returns the SshKey field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetSshKeyOk() (*string, bool)
GetSshKeyOk returns a tuple with the SshKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetSshKey(v string)
SetSshKey sets SshKey field to given value.
func (o *LaunchInstanceOpts) HasSshKey() bool
HasSshKey returns a boolean if a field has been set.
func (o *LaunchInstanceOpts) GetUserData() string
GetUserData returns the UserData field if non-nil, zero value otherwise.
func (o *LaunchInstanceOpts) GetUserDataOk() (*string, bool)
GetUserDataOk returns a tuple with the UserData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LaunchInstanceOpts) SetUserData(v string)
SetUserData sets UserData field to given value.
func (o *LaunchInstanceOpts) HasUserData() bool
HasUserData returns a boolean if a field has been set.