data_types

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2016 License: Apache-2.0 Imports: 2 Imported by: 116

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes added in v0.7.0

type Attributes struct {
	Value string `json:"value"`
}

type Billing_Item added in v0.1.0

type Billing_Item struct {
	Id        int         `json:"id,omitempty"`
	OrderItem *Order_Item `json:"orderItem,omitempty"`
}

type BlockDevice

type BlockDevice struct {
	//Required
	Device    string    `json:"device,omitempty"`
	DiskImage DiskImage `json:"diskImage,omitempty"`
}

type BlockDeviceTemplateGroup

type BlockDeviceTemplateGroup struct {
	//Required
	GlobalIdentifier string `json:"globalIdentifier,omitempty"`
}

type Category added in v0.2.0

type Category struct {
	Id           int    `json:"id"`
	CategoryCode string `json:"categoryCode"`
}

type Datacenter

type Datacenter struct {
	//Required
	Name string `json:"name"`
}

type DiskImage

type DiskImage struct {
	//Required
	Capacity int `json:"capacity,omitempty"`
}

type ImageId_Parameter added in v0.6.0

type ImageId_Parameter struct {
	ImageId int `json:"imageId"`
}

type Image_Template_Config added in v0.3.0

type Image_Template_Config struct {
	ImageTemplateId string `json:"imageTemplateId"`
}

type Item added in v0.1.0

type Item struct {
	Id          int    `json:"id"`
	Description string `json:"description"`
	Capacity    string `json:"capacity"`
}

type NetworkComponents

type NetworkComponents struct {
	//Required, defaults to 10
	MaxSpeed int `json:"maxSpeed,omitempty"`
}

type NetworkVlan

type NetworkVlan struct {
	//Required
	Id int `json:"id,omitempty"`
}

type Order added in v0.1.0

type Order struct {
	Id int `json:"id,omitempty"`
}

type Order_Item added in v0.1.0

type Order_Item struct {
	Order *Order `json:"order,omitempty"`
}

type Package_Type added in v0.4.0

type Package_Type struct {
	KeyName string `json:"keyName"`
}

type PrimaryBackendNetworkComponent

type PrimaryBackendNetworkComponent struct {
	//Required
	NetworkVlan NetworkVlan `json:"networkVlan,omitempty"`
}

type PrimaryNetworkComponent

type PrimaryNetworkComponent struct {
	//Required
	NetworkVlan NetworkVlan `json:"networkVlan,omitempty"`
}

type Property added in v0.2.0

type Property struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type SoftLayer_Account_Status

type SoftLayer_Account_Status struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

type SoftLayer_Billing_Item added in v0.6.0

type SoftLayer_Billing_Item struct {
	Id                    int        `json:"id"`
	AllowCancellationFlag int        `json:"allowCancellationFlag,omitempty"`
	CancellationDate      *time.Time `json:"cancellationDate,omitempty"`
	CategoryCode          string     `json:"categoryCode,omitempty"`
	CycleStartDate        *time.Time `json:"cycleStartDate,omitempty"`
	CreateDate            *time.Time `json:"createDate,omitempty"`
	Description           string     `json:"description,omitempty"`
	LaborFee              string     `json:"laborFee,omitempty"`
	LaborFeeTaxRate       string     `json:"laborFeeTaxRate,omitempty"`
	LastBillDate          *time.Time `json:"lastBillDate,omitempty"`
	ModifyDate            *time.Time `json:"modifyDate,omitempty"`
	NextBillDate          *time.Time `json:"nextBillDate,omitempty"`
	OneTimeFee            string     `json:"oneTimeFee,omitempty"`
	OneTimeFeeTaxRate     string     `json:"oneTimeFeeTaxRate,omitempty"`
	OrderItemId           int        `json:"orderItemId,omitempty"`
	ParentId              int        `json:"parentId,omitempty"`
	RecurringFee          string     `json:"recurringFee,omitempty"`
	RecurringFeeTaxRate   string     `json:"recurringFeeTaxRate,omitempty"`
	RecurringMonths       int        `json:"recurringMonths,omitempty"`
	ServiceProviderId     int        `json:"serviceProviderId,omitempty"`
	SetupFee              string     `json:"setupFee,omitempty"`
	SetupFeeTaxRate       string     `json:"setupFeeTaxRate,omitempty"`
}

type SoftLayer_Billing_Item_Cancellation_Request added in v0.1.0

type SoftLayer_Billing_Item_Cancellation_Request struct {
	ComplexType string                                             `json:"complexType"`
	AccountId   int                                                `json:"accountId"`
	Id          int                                                `json:"id"`
	TicketId    int                                                `json:"ticketId"`
	Items       []SoftLayer_Billing_Item_Cancellation_Request_Item `json:"items"`
}

type SoftLayer_Billing_Item_Cancellation_Request_Item added in v0.1.0

type SoftLayer_Billing_Item_Cancellation_Request_Item struct {
	BillingItemId             int  `json:"billingItemId"`
	ImmediateCancellationFlag bool `json:"immediateCancellationFlag"`
}

type SoftLayer_Billing_Item_Cancellation_Request_Parameters added in v0.1.0

type SoftLayer_Billing_Item_Cancellation_Request_Parameters struct {
	Parameters []SoftLayer_Billing_Item_Cancellation_Request `json:"parameters"`
}

type SoftLayer_Container_Disk_Image_Capture_Template added in v0.3.0

type SoftLayer_Container_Disk_Image_Capture_Template struct {
	Description string                                                   `json:"description"`
	Name        string                                                   `json:"name"`
	Summary     string                                                   `json:"summary"`
	Volumes     []SoftLayer_Container_Disk_Image_Capture_Template_Volume `json:"volumes"`
}

type SoftLayer_Container_Disk_Image_Capture_Template_Volume added in v0.3.0

type SoftLayer_Container_Disk_Image_Capture_Template_Volume struct {
	Name       string `json:"name"`
	Partitions []SoftLayer_Container_Disk_Image_Capture_Template_Volume_Partition
}

type SoftLayer_Container_Disk_Image_Capture_Template_Volume_Partition added in v0.3.0

type SoftLayer_Container_Disk_Image_Capture_Template_Volume_Partition struct {
	Name string `json:"name"`
}

type SoftLayer_Container_Product_Order added in v0.3.0

type SoftLayer_Container_Product_Order struct {
	ComplexType   string                         `json:"complexType"`
	Location      string                         `json:"location,omitempty"`
	PackageId     int                            `json:"packageId"`
	Prices        []SoftLayer_Product_Item_Price `json:"prices,omitempty"`
	VirtualGuests []VirtualGuest                 `json:"virtualGuests,omitempty"`
	Properties    []Property                     `json:"properties,omitempty"`
	Quantity      int                            `json:"quantity,omitempty"`
}

http://sldn.softlayer.com/reference/datatypes/SoftLayer_Container_Product_Order

type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi added in v0.3.0

type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi struct {
	ComplexType      string                                  `json:"complexType"`
	Location         string                                  `json:"location,omitempty"`
	PackageId        int                                     `json:"packageId"`
	Prices           []SoftLayer_Product_Item_Price          `json:"prices,omitempty"`
	VirtualGuests    []VirtualGuest                          `json:"virtualGuests,omitempty"`
	Properties       []Property                              `json:"properties,omitempty"`
	Quantity         int                                     `json:"quantity,omitempty"`
	OsFormatType     SoftLayer_Network_Storage_Iscsi_OS_Type `json:"osFormatType,omitempty"`
	UseHourlyPricing bool                                    `json:"useHourlyPricing,omitempty"`
}

http://sldn.softlayer.com/reference/datatypes/SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi

type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi_Parameters added in v0.3.0

type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi_Parameters struct {
	Parameters []SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi `json:"parameters"`
}

type SoftLayer_Container_Product_Order_Parameters added in v0.3.0

type SoftLayer_Container_Product_Order_Parameters struct {
	Parameters []SoftLayer_Container_Product_Order `json:"parameters"`
}

type SoftLayer_Container_Product_Order_Receipt added in v0.3.0

type SoftLayer_Container_Product_Order_Receipt struct {
	OrderId int `json:"orderId"`
}

type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade added in v0.3.0

type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade struct {
	ComplexType   string                         `json:"complexType"`
	Location      string                         `json:"location,omitempty"`
	PackageId     int                            `json:"packageId"`
	Prices        []SoftLayer_Product_Item_Price `json:"prices,omitempty"`
	VirtualGuests []VirtualGuest                 `json:"virtualGuests,omitempty"`
	Properties    []Property                     `json:"properties,omitempty"`
	Quantity      int                            `json:"quantity,omitempty"`
}

http://sldn.softlayer.com/reference/datatypes/SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade

type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade_Parameters added in v0.3.0

type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade_Parameters struct {
	Parameters []SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade `json:"parameters"`
}

type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration added in v0.3.0

type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration struct {
	Name                         string `json:"name"`
	Note                         string `json:"note"`
	OperatingSystemReferenceCode string `json:"operatingSystemReferenceCode"`
	Uri                          string `json:"uri"`
}

type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration_Parameters added in v0.3.0

type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration_Parameters struct {
	Parameters []SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration `json:"parameters"`
}

type SoftLayer_Dns_Domain added in v0.4.0

type SoftLayer_Dns_Domain struct {
	Id                  int                                   `json:"id"`
	Name                string                                `json:"name"`
	Serial              int                                   `json:"serial"`
	UpdateDate          string                                `json:"updateDate"`
	ManagedResourceFlag bool                                  `json:"managedResourceFlag"`
	ResourceRecordCount int                                   `json:"resourceRecordCount"`
	ResourceRecords     []SoftLayer_Dns_Domain_ResourceRecord `json:"resourceRecords"`
}

type SoftLayer_Dns_Domain_ResourceRecord added in v0.4.0

type SoftLayer_Dns_Domain_ResourceRecord struct {
	Data              string `json:"data"`
	DomainId          int    `json:"domainId"`
	Expire            int    `json:"expire"`
	Host              string `json:"host"`
	Id                int    `json:"id"`
	Minimum           int    `json:"minimum"`
	MxPriority        int    `json:"mxPriority"`
	Refresh           int    `json:"refresh"`
	ResponsiblePerson string `json:"responsiblePerson"`
	Retry             int    `json:"retry"`
	Ttl               int    `json:"ttl"`
	Type              string `json:"type"`
	Service           string `json:"service,omitempty"`
	Protocol          string `json:"protocol,omitempty"`
	Priority          int    `json:"priority,omitempty"`
	Port              int    `json:"port,omitempty"`
	Weight            int    `json:"weight,omitempty"`
}

type SoftLayer_Dns_Domain_ResourceRecord_Parameters added in v0.4.0

type SoftLayer_Dns_Domain_ResourceRecord_Parameters struct {
	Parameters []SoftLayer_Dns_Domain_ResourceRecord `json:"parameters"`
}

type SoftLayer_Dns_Domain_ResourceRecord_Template added in v0.4.0

type SoftLayer_Dns_Domain_ResourceRecord_Template struct {
	Data              string `json:"data"`
	DomainId          int    `json:"domainId"`
	Expire            int    `json:"expire"`
	Host              string `json:"host"`
	Id                int    `json:"id"`
	Minimum           int    `json:"minimum"`
	MxPriority        int    `json:"mxPriority"`
	Refresh           int    `json:"refresh"`
	ResponsiblePerson string `json:"responsiblePerson"`
	Retry             int    `json:"retry"`
	Ttl               int    `json:"ttl"`
	Type              string `json:"type"`
	Service           string `json:"service,omitempty"`
	Protocol          string `json:"protocol,omitempty"`
	Priority          int    `json:"priority,omitempty"`
	Port              int    `json:"port,omitempty"`
	Weight            int    `json:"weight,omitempty"`
}

type SoftLayer_Dns_Domain_ResourceRecord_Template_Parameters added in v0.4.0

type SoftLayer_Dns_Domain_ResourceRecord_Template_Parameters struct {
	Parameters []SoftLayer_Dns_Domain_ResourceRecord_Template `json:"parameters"`
}

type SoftLayer_Dns_Domain_Template added in v0.4.0

type SoftLayer_Dns_Domain_Template struct {
	Name            string                                `json:"name"`
	ResourceRecords []SoftLayer_Dns_Domain_ResourceRecord `json:"resourceRecords"`
}

type SoftLayer_Dns_Domain_Template_Parameters added in v0.4.0

type SoftLayer_Dns_Domain_Template_Parameters struct {
	Parameters []SoftLayer_Dns_Domain_Template `json:"parameters"`
}

type SoftLayer_Hardware added in v0.2.0

type SoftLayer_Hardware struct {
	BareMetalInstanceFlag    int        `json:"bareMetalInstanceFlag"`
	Domain                   string     `json:"domain"`
	Hostname                 string     `json:"hostname"`
	Id                       int        `json:"id"`
	HardwareStatusId         int        `json:"hardwareStatusId"`
	ProvisionDate            *time.Time `json:"provisionDate"`
	GlobalIdentifier         string     `json:"globalIdentifier"`
	PrimaryIpAddress         string     `json:"primaryIpAddress"`
	PrimaryBackendIpAddress  string     `json:"primaryBackendIpAddress"`
	FullyQualifiedDomainName string     `json:"fullyQualifiedDomainName,omitempty"`

	OperatingSystem *SoftLayer_Operating_System `json:"operatingSystem"`

	Location   *SoftLayer_Location `json:"location"`
	Datacenter *SoftLayer_Location `json:"datacenter"`
}

type SoftLayer_Hardware_NetworkStorage_Parameters added in v0.7.0

type SoftLayer_Hardware_NetworkStorage_Parameters struct {
	Parameters SoftLayer_Network_Storage `json:"parameters"`
}

type SoftLayer_Hardware_Parameters added in v0.7.0

type SoftLayer_Hardware_Parameters struct {
	Parameters []SoftLayer_Hardware `json:"parameters"`
}

type SoftLayer_Hardware_String_Parameters added in v0.7.0

type SoftLayer_Hardware_String_Parameters struct {
	Parameters []string `json:"parameters"`
}

type SoftLayer_Hardware_Template added in v0.2.0

type SoftLayer_Hardware_Template struct {
	Hostname                     string `json:"hostname"`
	Domain                       string `json:"domain"`
	ProcessorCoreAmount          int    `json:"processorCoreAmount"`
	MemoryCapacity               int    `json:"memoryCapacity"`
	HourlyBillingFlag            bool   `json:"hourlyBillingFlag"`
	OperatingSystemReferenceCode string `json:"operatingSystemReferenceCode"`

	Datacenter *Datacenter `json:"datacenter"`
}

type SoftLayer_Hardware_Template_Parameters added in v0.2.0

type SoftLayer_Hardware_Template_Parameters struct {
	Parameters []SoftLayer_Hardware_Template `json:"parameters"`
}

type SoftLayer_Image_Type added in v0.3.0

type SoftLayer_Image_Type struct {
	Description string `json:"description"`
	KeyName     string `json:"keyName"`
	Name        string `json:"name"`
}

type SoftLayer_Location added in v0.1.0

type SoftLayer_Location struct {
	Id       int    `json:"id"`
	LongName string `json:"longName"`
	Name     string `json:"name"`
}

type SoftLayer_Network_Storage

type SoftLayer_Network_Storage struct {
	AccountId                       int           `json:"accountId,omitempty"`
	CapacityGb                      int           `json:"capacityGb,omitempty"`
	CreateDate                      time.Time     `json:"createDate,omitempty"`
	GuestId                         int           `json:"guestId,omitempty"`
	HardwareId                      int           `json:"hardwareId,omitempty"`
	HostId                          int           `json:"hostId,omitempty"`
	Id                              int           `json:"id,omitempty"`
	NasType                         string        `json:"nasType,omitempty"`
	Notes                           string        `json:"notes,omitempty"`
	Password                        string        `json:"password,omitempty"`
	ServiceProviderId               int           `json:"serviceProviderId,omitempty"`
	UpgradableFlag                  bool          `json:"upgradableFlag,omitempty"`
	Username                        string        `json:"username,omitempty"`
	BillingItem                     *Billing_Item `json:"billingItem,omitempty"`
	LunId                           string        `json:"lunId,omitempty"`
	ServiceResourceBackendIpAddress string        `json:"serviceResourceBackendIpAddress,omitempty"`
}

type SoftLayer_Network_Storage_Allowed_Host added in v0.3.0

type SoftLayer_Network_Storage_Allowed_Host struct {
	CredentialId      int    `json:"credentialId"`
	Id                int    `json:"id"`
	Name              string `json:"name"`
	ResourceTableId   int    `json:"resourceTabledId"`
	ResourceTableName string `jsob:"resourceTableName"`
}

type SoftLayer_Network_Storage_Credential added in v0.3.0

type SoftLayer_Network_Storage_Credential struct {
	AccountId           string    `json:"accountId"`
	CreateDate          time.Time `json:"createDate"`
	Id                  int       `json:"Id"`
	NasCredentialTypeId int       `json:"nasCredentialTypeId"`
	Password            string    `json:"password"`
	Username            string    `json:"username"`
}

type SoftLayer_Network_Storage_Iscsi_OS_Type added in v0.3.0

type SoftLayer_Network_Storage_Iscsi_OS_Type struct {
	CreateDate time.Time `json:"createDate"`
	Id         int       `json:"id"`
	Name       string    `json:"name"`
	KeyName    string    `json:"keyName"`
}

type SoftLayer_Network_Vlan added in v0.3.0

type SoftLayer_Network_Vlan struct {
	AccountId       int        `json:"accountId"`
	Id              int        `json:"Id"`
	ModifyDate      *time.Time `json:"modifyDate,omitempty"`
	Name            string     `json:"name"`
	NetworkVrfId    int        `json:"networkVrfId"`
	Note            string     `json:"note"`
	PrimarySubnetId int        `json:"primarySubnetId"`
	VlanNumber      int        `json:"vlanNumber"`
}

type SoftLayer_Operating_System added in v0.1.0

type SoftLayer_Operating_System struct {
	Passwords []SoftLayer_Password `json:"passwords"`
}

type SoftLayer_Password added in v0.1.0

type SoftLayer_Password struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type SoftLayer_Product_Item added in v0.4.0

type SoftLayer_Product_Item struct {
	Id          int                            `json:"id"`
	Description string                         `json:"description"`
	Capacity    string                         `json:"capacity"`
	Prices      []SoftLayer_Product_Item_Price `json:"prices,omitempty"`
}

type SoftLayer_Product_Item_Price added in v0.4.0

type SoftLayer_Product_Item_Price struct {
	Id              int         `json:"id"`
	LocationGroupId int         `json:"locationGroupId"`
	Categories      []Category  `json:"categories,omitempty"`
	Item            *Item       `json:"item,omitempty"`
	Attributes      *Attributes `json:"attributes,omitempty"`
}

type SoftLayer_Product_Item_Price_Sorted_Data added in v0.7.0

type SoftLayer_Product_Item_Price_Sorted_Data []SoftLayer_Product_Item_Price

func (SoftLayer_Product_Item_Price_Sorted_Data) Len added in v0.7.0

func (SoftLayer_Product_Item_Price_Sorted_Data) Less added in v0.7.0

func (sorted_data SoftLayer_Product_Item_Price_Sorted_Data) Less(i, j int) bool

func (SoftLayer_Product_Item_Price_Sorted_Data) Swap added in v0.7.0

func (sorted_data SoftLayer_Product_Item_Price_Sorted_Data) Swap(i, j int)

type SoftLayer_Provisioning_Version1_Transaction

type SoftLayer_Provisioning_Version1_Transaction struct {
	CreateDate       *time.Time `json:"createDate"`
	ElapsedSeconds   int        `json:"elapsedSeconds"`
	GuestId          int        `json:"guestId"`
	HardwareId       int        `json:"hardwareId"`
	Id               int        `json:"id"`
	ModifyDate       *time.Time `json:"modifyDate"`
	StatusChangeDate *time.Time `json:"statusChangeDate"`

	TransactionGroup  TransactionGroup  `json:"transactionGroup,omitempty"`
	TransactionStatus TransactionStatus `json:"transactionStatus,omitempty"`
}

type SoftLayer_Security_Ssh_Key

type SoftLayer_Security_Ssh_Key struct {
	CreateDate  *time.Time `json:"createDate"`
	Fingerprint string     `json:"fingerprint"`
	Id          int        `json:"id"`
	Key         string     `json:"key"`
	Label       string     `json:"label"`
	ModifyDate  *time.Time `json:"modifyDate"`
	Notes       string     `json:"notes"`
}

type SoftLayer_SetUserMetadata_Parameters added in v0.0.2

type SoftLayer_SetUserMetadata_Parameters struct {
	Parameters []UserMetadataArray `json:"parameters"`
}

type SoftLayer_Shh_Key_Parameters

type SoftLayer_Shh_Key_Parameters struct {
	Parameters []SoftLayer_Security_Ssh_Key `json:"parameters"`
}

type SoftLayer_Software_Component_Password added in v0.0.2

type SoftLayer_Software_Component_Password struct {
	CreateDate *time.Time `json:"createDate"`
	Id         int        `json:"id"`
	ModifyDate *time.Time `json:"modifyDate"`
	Notes      string     `json:"notes"`
	Password   string     `json:"password"`
	Port       int        `json:"port"`
	SoftwareId int        `json:"softwareId"`
	Username   string     `json:"username"`

	Software Software `json:"software"`
}

type SoftLayer_Tag_Reference added in v0.3.0

type SoftLayer_Tag_Reference struct {
	EmpRecordId     *int         `json:"empRecordId"`
	Id              int          `json:"id"`
	ResourceTableId int          `json:"resourceTableId"`
	Tag             TagReference `json:"tag"`
	TagId           int          `json:"tagId"`
	TagType         TagType      `json:"tagType"`
	TagTypeId       int          `json:"tagTypeId"`
	UsrRecordId     int          `json:"usrRecordId"`
}

type SoftLayer_Virtual_Disk_Image

type SoftLayer_Virtual_Disk_Image struct {
	Capacity            int        `json:"capacity"`
	Checksum            string     `json:"checksum"`
	CreateDate          *time.Time `json:"createDate"`
	Description         string     `json:"description"`
	Id                  int        `json:"id"`
	ModifyDate          *time.Time `json:"modifyDate"`
	Name                string     `json:"name"`
	ParentId            int        `json:"parentId"`
	StorageRepositoryId int        `json:"storageRepositoryId"`
	TypeId              int        `json:"typeId"`
	Units               string     `json:"units"`
	Uuid                string     `json:"uuid"`
}

type SoftLayer_Virtual_Guest

type SoftLayer_Virtual_Guest struct {
	AccountId                    int        `json:"accountId,omitempty"`
	CreateDate                   *time.Time `json:"createDate,omitempty"`
	DedicatedAccountHostOnlyFlag bool       `json:"dedicatedAccountHostOnlyFlag,omitempty"`
	Domain                       string     `json:"domain,omitempty"`
	FullyQualifiedDomainName     string     `json:"fullyQualifiedDomainName,omitempty"`
	Hostname                     string     `json:"hostname,omitempty"`
	Id                           int        `json:"id,omitempty"`
	LastPowerStateId             int        `json:"lastPowerStateId,omitempty"`
	LastVerifiedDate             *time.Time `json:"lastVerifiedDate,omitempty"`
	MaxCpu                       int        `json:"maxCpu,omitempty"`
	MaxCpuUnits                  string     `json:"maxCpuUnits,omitempty"`
	MaxMemory                    int        `json:"maxMemory,omitempty"`
	MetricPollDate               *time.Time `json:"metricPollDate,omitempty"`
	ModifyDate                   *time.Time `json:"modifyDate,omitempty"`
	Notes                        string     `json:"notes,omitempty"`
	PostInstallScriptUri         string     `json:"postInstallScriptUri,omitempty"`
	PrivateNetworkOnlyFlag       bool       `json:"privateNetworkOnlyFlag,omitempty"`
	StartCpus                    int        `json:"startCpus,omitempty"`
	StatusId                     int        `json:"statusId,omitempty"`
	Uuid                         string     `json:"uuid,omitempty"`
	LocalDiskFlag                bool       `json:"localDiskFlag,omitempty"`
	HourlyBillingFlag            bool       `json:"hourlyBillingFlag,omitempty"`

	GlobalIdentifier        string `json:"globalIdentifier,omitempty"`
	ManagedResourceFlag     bool   `json:"managedResourceFlag,omitempty"`
	PrimaryBackendIpAddress string `json:"primaryBackendIpAddress,omitempty"`
	PrimaryIpAddress        string `json:"primaryIpAddress,omitempty"`

	PrimaryNetworkComponent        *PrimaryNetworkComponent        `json:"primaryNetworkComponent,omitempty"`
	PrimaryBackendNetworkComponent *PrimaryBackendNetworkComponent `json:"primaryBackendNetworkComponent,omitempty"`

	Location          *SoftLayer_Location `json:"location"`
	Datacenter        *SoftLayer_Location `json:"datacenter"`
	NetworkComponents []NetworkComponents `json:"networkComponents,omitempty"`
	UserData          []UserData          `json:"userData,omitempty"`

	OperatingSystem *SoftLayer_Operating_System `json:"operatingSystem"`

	BlockDeviceTemplateGroup *BlockDeviceTemplateGroup `json:"blockDeviceTemplateGroup,omitempty"`
}

type SoftLayer_Virtual_GuestInitParameters added in v0.3.0

type SoftLayer_Virtual_GuestInitParameters struct {
	Parameters []interface{} `json:"parameters"`
}

type SoftLayer_Virtual_GuestInit_ImageId_Parameters added in v0.6.0

type SoftLayer_Virtual_GuestInit_ImageId_Parameters struct {
	Parameters ImageId_Parameter `json:"parameters"`
}

type SoftLayer_Virtual_Guest_Attribute added in v0.1.0

type SoftLayer_Virtual_Guest_Attribute struct {
	Value string `json:"value"`

	Type SoftLayer_Virtual_Guest_Attribute_Type `json:"type"`
}

type SoftLayer_Virtual_Guest_Attribute_Type added in v0.1.0

type SoftLayer_Virtual_Guest_Attribute_Type struct {
	Keyname string `json:"keyname"`
	Name    string `json:"name"`
}

type SoftLayer_Virtual_Guest_Block_Device added in v0.6.0

type SoftLayer_Virtual_Guest_Block_Device struct {
	BootableFlag int        `json:"bootableFlag"`
	CreateDate   *time.Time `json:"createDate"`
	Device       string     `json:"device"`
	DiskImageId  int        `json:"diskImageId"`
	GuestId      int        `json:"guestId"`
	HotPlugFlag  int        `json:"hotPlugFlag"`
	Id           int        `json:"id"`
	ModifyDate   *time.Time `json:"modifyDate"`
	MountMode    string     `json:"mountMode"`
	MountType    string     `json:"mountType"`
	StatusId     int        `json:"statusId"`
	Uuid         string     `json:"uuid"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_Group added in v0.1.0

type SoftLayer_Virtual_Guest_Block_Device_Template_Group struct {
	AccountId        int        `json:"accountId"`
	CreateDate       *time.Time `json:"createDate"`
	Id               int        `json:"id"`
	Name             string     `json:"name"`
	Note             string     `json:"note"`
	ParentId         int        `json:"parentId"`
	PublicFlag       int        `json:"publicFlag"`
	StatusId         int        `json:"statusId"`
	Summary          string     `json:"summary"`
	TransactionId    int        `json:"transactionId"`
	UserRecordId     int        `json:"userRecordId"`
	GlobalIdentifier string     `json:"globalIdentifier"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameter added in v0.3.0

type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameter struct {
	AccountId int `json:"accountId"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameters added in v0.3.0

type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameters struct {
	Parameters SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameter `json:"parameters"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameters2 added in v0.6.0

type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameters2 struct {
	Parameters []interface{} `json:"parameters"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameter added in v0.3.0

type SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameter struct {
	Locations []SoftLayer_Location `json:"locations"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameters added in v0.3.0

type SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameters struct {
	Parameters SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameter `json:"parameters"`
}

type SoftLayer_Virtual_Guest_Block_Device_Template_Group_Status added in v0.1.0

type SoftLayer_Virtual_Guest_Block_Device_Template_Group_Status struct {
	Description string `json:"description"`
	KeyName     string `json:"keyName"`
	Name        string `json:"name"`
}

type SoftLayer_Virtual_Guest_Network_Component added in v0.7.0

type SoftLayer_Virtual_Guest_Network_Component struct {
	CreateDate       *time.Time `json:"createDate,omitempty"`
	GuestId          int        `json:"guestId,omitempty"`
	Id               int        `json:"id,omitempty"`
	MacAddress       string     `json:"macAddress,omitempty"`
	MaxSpeed         int        `json:"maxSpeed,omitempty"`
	ModifyDate       *time.Time `json:"modifyDate,omitempty"`
	Name             string     `json:"name,omitempty"`
	NetworkId        int        `json:"networkId,omitempty"`
	Port             int        `json:"port,omitempty"`
	PrimaryIpAddress string     `json:"primaryIpAddress,omitempty"`
	Speed            int        `json:"speed,omitempty"`
	Status           string     `json:"status,omitempty"`
	Uuid             string     `json:"uuid,omitempty"`
}

type SoftLayer_Virtual_Guest_Parameters

type SoftLayer_Virtual_Guest_Parameters struct {
	Parameters []SoftLayer_Virtual_Guest `json:"parameters"`
}

type SoftLayer_Virtual_Guest_Power_State

type SoftLayer_Virtual_Guest_Power_State struct {
	Description string `json:"description"`
	KeyName     string `json:"keyName"`
	Name        string `json:"name"`
}

type SoftLayer_Virtual_Guest_SetTags_Parameters added in v0.3.0

type SoftLayer_Virtual_Guest_SetTags_Parameters struct {
	Parameters []string `json:"parameters"`
}

type SoftLayer_Virtual_Guest_Template

type SoftLayer_Virtual_Guest_Template struct {
	//Required
	Hostname          string     `json:"hostname"`
	Domain            string     `json:"domain"`
	StartCpus         int        `json:"startCpus"`
	MaxMemory         int        `json:"maxMemory"`
	Datacenter        Datacenter `json:"datacenter"`
	HourlyBillingFlag bool       `json:"hourlyBillingFlag"`
	LocalDiskFlag     bool       `json:"localDiskFlag"`

	//Conditionally required
	OperatingSystemReferenceCode string                    `json:"operatingSystemReferenceCode,omitempty"`
	BlockDeviceTemplateGroup     *BlockDeviceTemplateGroup `json:"blockDeviceTemplateGroup,omitempty"`

	//Optional
	DedicatedAccountHostOnlyFlag   bool                            `json:"dedicatedAccountHostOnlyFlag,omitempty"`
	NetworkComponents              []NetworkComponents             `json:"networkComponents,omitempty"`
	PrivateNetworkOnlyFlag         bool                            `json:"privateNetworkOnlyFlag,omitempty"`
	PrimaryNetworkComponent        *PrimaryNetworkComponent        `json:"primaryNetworkComponent,omitempty"`
	PrimaryBackendNetworkComponent *PrimaryBackendNetworkComponent `json:"primaryBackendNetworkComponent,omitempty"`
	PostInstallScriptUri           string                          `json:"postInstallScriptUri,omitempty"`

	BlockDevices []BlockDevice `json:"blockDevices,omitempty"`
	UserData     []UserData    `json:"userData,omitempty"`
	SshKeys      []SshKey      `json:"sshKeys,omitempty"`
}

type SoftLayer_Virtual_Guest_Template_Parameters

type SoftLayer_Virtual_Guest_Template_Parameters struct {
	Parameters []SoftLayer_Virtual_Guest_Template `json:"parameters"`
}

type Softlayer_Product_Package added in v0.4.0

type Softlayer_Product_Package struct {
	Id          int           `json:"id"`
	Name        string        `json:"name"`
	IsActive    int           `json:"isActive"`
	Description string        `json:"description"`
	PackageType *Package_Type `json:"type"`
}

type Software added in v0.0.2

type Software struct {
	HardwareId                  int    `json:"hardwareId,omitempty"`
	Id                          int    `json:"id"`
	ManufacturerLicenseInstance string `json:"manufacturerLicenseInstance"`
}

type SshKey

type SshKey struct {
	//Required
	Id int `json:"id,omitempty"`
}

type TagReference added in v0.3.0

type TagReference struct {
	AccountId int    `json:"accountId"`
	Id        int    `json:"id"`
	Internal  int    `json:"internal"`
	Name      string `json:"name"`
}

type TagType added in v0.3.0

type TagType struct {
	Description string `json:"description"`
	KeyName     string `json:"keyName"`
}

type TransactionGroup added in v0.0.2

type TransactionGroup struct {
	AverageTimeToComplete string `json:"averageTimeToComplete"`
	Name                  string `json:"name"`
}

type TransactionStatus added in v0.0.2

type TransactionStatus struct {
	AverageDuration string `json:"averageDuration"`
	FriendlyName    string `json:"friendlyName"`
	Name            string `json:"name"`
}

type UserData

type UserData struct {
	//Required
	Value string `json:"value,omitempty"`
}

type UserMetadata added in v0.0.2

type UserMetadata string

type UserMetadataArray added in v0.0.2

type UserMetadataArray []UserMetadata

type VirtualGuest added in v0.2.0

type VirtualGuest struct {
	Id int `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL