Documentation
¶
Index ¶
- type Attributes
- type Billing_Item
- type BlockDevice
- type BlockDeviceTemplateGroup
- type Category
- type Datacenter
- type DiskImage
- type ImageId_Parameter
- type Image_Template_Config
- type Item
- type NetworkComponents
- type NetworkVlan
- type Order
- type Order_Item
- type Package_Type
- type PrimaryBackendNetworkComponent
- type PrimaryNetworkComponent
- type Property
- type SoftLayer_Account_Status
- type SoftLayer_Billing_Item
- type SoftLayer_Billing_Item_Cancellation_Request
- type SoftLayer_Billing_Item_Cancellation_Request_Item
- type SoftLayer_Billing_Item_Cancellation_Request_Parameters
- type SoftLayer_Container_Disk_Image_Capture_Template
- type SoftLayer_Container_Disk_Image_Capture_Template_Volume
- type SoftLayer_Container_Disk_Image_Capture_Template_Volume_Partition
- type SoftLayer_Container_Product_Order
- type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi
- type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi_Parameters
- type SoftLayer_Container_Product_Order_Parameters
- type SoftLayer_Container_Product_Order_Receipt
- type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade
- type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade_Parameters
- type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration
- type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration_Parameters
- type SoftLayer_Dns_Domain
- type SoftLayer_Dns_Domain_ResourceRecord
- type SoftLayer_Dns_Domain_ResourceRecord_Parameters
- type SoftLayer_Dns_Domain_ResourceRecord_Template
- type SoftLayer_Dns_Domain_ResourceRecord_Template_Parameters
- type SoftLayer_Dns_Domain_Template
- type SoftLayer_Dns_Domain_Template_Parameters
- type SoftLayer_Hardware
- type SoftLayer_Hardware_NetworkStorage_Parameters
- type SoftLayer_Hardware_Parameters
- type SoftLayer_Hardware_String_Parameters
- type SoftLayer_Hardware_Template
- type SoftLayer_Hardware_Template_Parameters
- type SoftLayer_Image_Type
- type SoftLayer_Location
- type SoftLayer_Network_Storage
- type SoftLayer_Network_Storage_Allowed_Host
- type SoftLayer_Network_Storage_Credential
- type SoftLayer_Network_Storage_Iscsi_OS_Type
- type SoftLayer_Network_Vlan
- type SoftLayer_Operating_System
- type SoftLayer_Password
- type SoftLayer_Product_Item
- type SoftLayer_Product_Item_Price
- type SoftLayer_Product_Item_Price_Sorted_Data
- type SoftLayer_Provisioning_Version1_Transaction
- type SoftLayer_Security_Ssh_Key
- type SoftLayer_SetUserMetadata_Parameters
- type SoftLayer_Shh_Key_Parameters
- type SoftLayer_Software_Component_Password
- type SoftLayer_Tag_Reference
- type SoftLayer_Virtual_Disk_Image
- type SoftLayer_Virtual_Guest
- type SoftLayer_Virtual_GuestInitParameters
- type SoftLayer_Virtual_GuestInit_ImageId_Parameters
- type SoftLayer_Virtual_Guest_Attribute
- type SoftLayer_Virtual_Guest_Attribute_Type
- type SoftLayer_Virtual_Guest_Block_Device
- type SoftLayer_Virtual_Guest_Block_Device_Template_Group
- type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameter
- type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameters
- type SoftLayer_Virtual_Guest_Block_Device_Template_GroupInitParameters2
- type SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameter
- type SoftLayer_Virtual_Guest_Block_Device_Template_Group_LocationsInitParameters
- type SoftLayer_Virtual_Guest_Block_Device_Template_Group_Status
- type SoftLayer_Virtual_Guest_Network_Component
- type SoftLayer_Virtual_Guest_Parameters
- type SoftLayer_Virtual_Guest_Power_State
- type SoftLayer_Virtual_Guest_SetTags_Parameters
- type SoftLayer_Virtual_Guest_Template
- type SoftLayer_Virtual_Guest_Template_Parameters
- type Softlayer_Product_Package
- type Software
- type SshKey
- type TagReference
- type TagType
- type TransactionGroup
- type TransactionStatus
- type UserData
- type UserMetadata
- type UserMetadataArray
- type VirtualGuest
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 BlockDeviceTemplateGroup ¶
type BlockDeviceTemplateGroup struct {
//Required
GlobalIdentifier string `json:"globalIdentifier,omitempty"`
}
type Datacenter ¶
type Datacenter struct {
//Required
Name string `json:"name"`
}
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 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_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 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_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"`
}
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"`
}
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_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_Location ¶ added in v0.1.0
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_Credential ¶ added in v0.3.0
type SoftLayer_Network_Storage_Iscsi_OS_Type ¶ added in v0.3.0
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_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 (sorted_data SoftLayer_Product_Item_Price_Sorted_Data) Len() int
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_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_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_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_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_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 TagReference ¶ added in v0.3.0
type TransactionGroup ¶ added in v0.0.2
type TransactionStatus ¶ added in v0.0.2
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"`
}
Source Files
¶
- softLayer_network_storage_credential.go
- softLayer_tag_reference.go
- softLayer_virtual_guest_attribute.go
- softLayer_virtual_guest_block_device_template_group_init_parameters.go
- softLayer_virtual_guest_block_device_template_group_status.go
- softlayer_account_status.go
- softlayer_billing_item.go
- softlayer_billing_item_cancellation_request.go
- softlayer_container_disk_image_capture_template.go
- softlayer_container_product_order.go
- softlayer_container_virtual_guest_block_device_template_configuration.go
- softlayer_dns_domain.go
- softlayer_dns_domain_record.go
- softlayer_hardware.go
- softlayer_image_type.go
- softlayer_location.go
- softlayer_network_storage.go
- softlayer_network_storage_allowed_host.go
- softlayer_network_storage_iscsi_os_type.go
- softlayer_network_vlan.go
- softlayer_product_item_price.go
- softlayer_product_package.go
- softlayer_provisioning_version1_transaction.go
- softlayer_security_ssh_key.go
- softlayer_set_user_metadata.go
- softlayer_software_component_password.go
- softlayer_virtual_disk_image.go
- softlayer_virtual_guest.go
- softlayer_virtual_guest_block_device.go
- softlayer_virtual_guest_block_device_template_group.go
- softlayer_virtual_guest_init_parameters.go
- softlayer_virtual_guest_network_component.go
- softlayer_virtual_guest_power_state.go
Click to show internal directories.
Click to hide internal directories.