Documentation
¶
Index ¶
- type Billing_Item
- type BlockDevice
- type BlockDeviceTemplateGroup
- type Datacenter
- type DiskImage
- type Item
- type NetworkComponents
- type NetworkVlan
- type Order
- type Order_Item
- type PrimaryBackendNetworkComponent
- type PrimaryNetworkComponent
- type SoftLayer_Account_Status
- type SoftLayer_Billing_Item_Cancellation_Request
- type SoftLayer_Billing_Item_Cancellation_Request_Item
- type SoftLayer_Billing_Item_Cancellation_Request_Parameters
- type SoftLayer_Item_Price
- type SoftLayer_Location
- type SoftLayer_Network_Storage
- type SoftLayer_Operating_System
- type SoftLayer_Password
- type SoftLayer_Product_Order
- type SoftLayer_Product_Order_Parameters
- type SoftLayer_Product_Order_Receipt
- 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_Virtual_Disk_Image
- type SoftLayer_Virtual_Guest
- type SoftLayer_Virtual_Guest_Attribute
- type SoftLayer_Virtual_Guest_Attribute_Type
- type SoftLayer_Virtual_Guest_Block_Device_Template_Group
- type SoftLayer_Virtual_Guest_Block_Device_Template_Group_Status
- type SoftLayer_Virtual_Guest_Parameters
- type SoftLayer_Virtual_Guest_Power_State
- type SoftLayer_Virtual_Guest_Template
- type SoftLayer_Virtual_Guest_Template_Parameters
- type Software
- type SshKey
- type TransactionGroup
- type TransactionStatus
- type UserData
- type UserMetadata
- type UserMetadataArray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Billing_Item ¶ added in v0.1.0
type Billing_Item struct { Id int `json:"id"` OrderItem *Order_Item `json:"orderItem"` }
type BlockDevice ¶
type BlockDeviceTemplateGroup ¶
type BlockDeviceTemplateGroup struct { //Required GlobalIdentifier string `json:"globalIdentifier,omitempty"` }
type Datacenter ¶
type Datacenter struct { //Required Name string `json:"name"` }
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"`
}
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_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_Item_Price ¶ added in v0.1.0
type SoftLayer_Location ¶ added in v0.1.0
type SoftLayer_Network_Storage ¶
type SoftLayer_Network_Storage struct { AccountId int `json:"accountId"` CapacityGb int `json:"capacityGb"` CreateDate time.Time `json:"createDate"` GuestId int `json:"guestId"` HardwareId int `json:"hardwareId"` HostId int `json:"hostId"` Id int `json:"id"` NasType string `json:"nasType"` Notes string `json:"notes"` Password string `json:"password"` ServiceProviderId int `json:"serviceProviderId"` UpgradableFlag bool `json:"upgradableFlag"` Username string `json:"username"` BillingItem *Billing_Item `json:"billingItem"` ServiceResourceBackendIpAddress string `json:"serviceResourceBackendIpAddress"` }
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_Order ¶ added in v0.1.0
type SoftLayer_Product_Order struct { ComplexType string `json:"complexType"` Location string `json:"location"` PackageId int `json:"packageId"` Prices []SoftLayer_Item_Price `json:"prices"` }
type SoftLayer_Product_Order_Parameters ¶ added in v0.1.0
type SoftLayer_Product_Order_Parameters struct {
Parameters []SoftLayer_Product_Order `json:"parameters"`
}
type SoftLayer_Product_Order_Receipt ¶ added in v0.1.0
type SoftLayer_Product_Order_Receipt struct {
OrderId int `json:"orderId"`
}
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_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"` GlobalIdentifier string `json:"globalIdentifier,omitempty"` ManagedResourceFlag bool `json:"managedResourceFlag,omitempty"` PrimaryBackendIpAddress string `json:"primaryBackendIpAddress,omitempty"` PrimaryIpAddress string `json:"primaryIpAddress,omitempty"` Location *SoftLayer_Location `json:"location"` OperatingSystem *SoftLayer_Operating_System `json:"operatingSystem"` }
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_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_Group_Status ¶ added in v0.1.0
type SoftLayer_Virtual_Guest_Parameters ¶
type SoftLayer_Virtual_Guest_Parameters struct {
Parameters []SoftLayer_Virtual_Guest `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"` BlockDevices []BlockDevice `json:"blockDevices,omitempty"` UserData []UserData `json:"userData,omitempty"` SshKeys []SshKey `json:"sshKeys,omitempty"` PostInstallScriptUri string `json:"postInstallScriptUri,omitempty"` }
type SoftLayer_Virtual_Guest_Template_Parameters ¶
type SoftLayer_Virtual_Guest_Template_Parameters struct {
Parameters []SoftLayer_Virtual_Guest_Template `json:"parameters"`
}
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
Source Files
¶
- softLayer_virtual_guest_attribute.go
- softLayer_virtual_guest_block_device_template_group_status.go
- softlayer_account_status.go
- softlayer_billing_item_cancellation_request.go
- softlayer_item_price.go
- softlayer_location.go
- softlayer_network_storage.go
- softlayer_product_order.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_template_group.go
- softlayer_virtual_guest_power_state.go
Click to show internal directories.
Click to hide internal directories.