Skip to content

Latest commit

 

History

History
307 lines (164 loc) · 9.14 KB

LaunchInstanceOpts.md

File metadata and controls

307 lines (164 loc) · 9.14 KB

LaunchInstanceOpts

Properties

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]

Methods

NewLaunchInstanceOpts

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

NewLaunchInstanceOptsWithDefaults

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

GetRegion

func (o *LaunchInstanceOpts) GetRegion() RegionName

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

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.

SetRegion

func (o *LaunchInstanceOpts) SetRegion(v RegionName)

SetRegion sets Region field to given value.

GetType

func (o *LaunchInstanceOpts) GetType() TypeName

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *LaunchInstanceOpts) SetType(v TypeName)

SetType sets Type field to given value.

GetImageId

func (o *LaunchInstanceOpts) GetImageId() string

GetImageId returns the ImageId field if non-nil, zero value otherwise.

GetImageIdOk

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.

SetImageId

func (o *LaunchInstanceOpts) SetImageId(v string)

SetImageId sets ImageId field to given value.

GetMarketAppId

func (o *LaunchInstanceOpts) GetMarketAppId() string

GetMarketAppId returns the MarketAppId field if non-nil, zero value otherwise.

GetMarketAppIdOk

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.

SetMarketAppId

func (o *LaunchInstanceOpts) SetMarketAppId(v string)

SetMarketAppId sets MarketAppId field to given value.

HasMarketAppId

func (o *LaunchInstanceOpts) HasMarketAppId() bool

HasMarketAppId returns a boolean if a field has been set.

GetReference

func (o *LaunchInstanceOpts) GetReference() string

GetReference returns the Reference field if non-nil, zero value otherwise.

GetReferenceOk

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.

SetReference

func (o *LaunchInstanceOpts) SetReference(v string)

SetReference sets Reference field to given value.

HasReference

func (o *LaunchInstanceOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

GetContractType

func (o *LaunchInstanceOpts) GetContractType() ContractType

GetContractType returns the ContractType field if non-nil, zero value otherwise.

GetContractTypeOk

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.

SetContractType

func (o *LaunchInstanceOpts) SetContractType(v ContractType)

SetContractType sets ContractType field to given value.

GetContractTerm

func (o *LaunchInstanceOpts) GetContractTerm() ContractTerm

GetContractTerm returns the ContractTerm field if non-nil, zero value otherwise.

GetContractTermOk

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.

SetContractTerm

func (o *LaunchInstanceOpts) SetContractTerm(v ContractTerm)

SetContractTerm sets ContractTerm field to given value.

GetBillingFrequency

func (o *LaunchInstanceOpts) GetBillingFrequency() BillingFrequency

GetBillingFrequency returns the BillingFrequency field if non-nil, zero value otherwise.

GetBillingFrequencyOk

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.

SetBillingFrequency

func (o *LaunchInstanceOpts) SetBillingFrequency(v BillingFrequency)

SetBillingFrequency sets BillingFrequency field to given value.

GetRootDiskSize

func (o *LaunchInstanceOpts) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field if non-nil, zero value otherwise.

GetRootDiskSizeOk

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.

SetRootDiskSize

func (o *LaunchInstanceOpts) SetRootDiskSize(v int32)

SetRootDiskSize sets RootDiskSize field to given value.

HasRootDiskSize

func (o *LaunchInstanceOpts) HasRootDiskSize() bool

HasRootDiskSize returns a boolean if a field has been set.

GetRootDiskStorageType

func (o *LaunchInstanceOpts) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field if non-nil, zero value otherwise.

GetRootDiskStorageTypeOk

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.

SetRootDiskStorageType

func (o *LaunchInstanceOpts) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType sets RootDiskStorageType field to given value.

GetSshKey

func (o *LaunchInstanceOpts) GetSshKey() string

GetSshKey returns the SshKey field if non-nil, zero value otherwise.

GetSshKeyOk

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.

SetSshKey

func (o *LaunchInstanceOpts) SetSshKey(v string)

SetSshKey sets SshKey field to given value.

HasSshKey

func (o *LaunchInstanceOpts) HasSshKey() bool

HasSshKey returns a boolean if a field has been set.

GetUserData

func (o *LaunchInstanceOpts) GetUserData() string

GetUserData returns the UserData field if non-nil, zero value otherwise.

GetUserDataOk

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.

SetUserData

func (o *LaunchInstanceOpts) SetUserData(v string)

SetUserData sets UserData field to given value.

HasUserData

func (o *LaunchInstanceOpts) HasUserData() bool

HasUserData returns a boolean if a field has been set.

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