Documentation ¶
Index ¶
- type Billing_Item
- type BlockDevice
- type BlockDeviceTemplateGroup
- type Category
- type Datacenter
- type DiskImage
- type Image_Template_Config
- type Item
- type NetworkComponents
- type NetworkVlan
- type Order
- type Order_Item
- type PrimaryBackendNetworkComponent
- type PrimaryNetworkComponent
- type Property
- 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_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_Hardware
- type SoftLayer_Hardware_Template
- type SoftLayer_Hardware_Template_Parameters
- type SoftLayer_Image_Type
- type SoftLayer_Item_Price
- 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_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_GuestInitParameter
- type SoftLayer_Virtual_GuestInitParameters
- 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_SetTags_Parameters
- type SoftLayer_Virtual_Guest_Template
- type SoftLayer_Virtual_Guest_Template_Parameters
- 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 Billing_Item ¶
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 Image_Template_Config ¶
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 ¶
type Order_Item struct {
Order *Order `json:"order,omitempty"`
}
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 ¶
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_Parameters ¶
type SoftLayer_Billing_Item_Cancellation_Request_Parameters struct {
Parameters []SoftLayer_Billing_Item_Cancellation_Request `json:"parameters"`
}
type SoftLayer_Container_Disk_Image_Capture_Template ¶
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 ¶
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 ¶
type SoftLayer_Container_Disk_Image_Capture_Template_Volume_Partition struct {
Name string `json:"name"`
}
type SoftLayer_Container_Product_Order ¶
type SoftLayer_Container_Product_Order struct { ComplexType string `json:"complexType"` Location string `json:"location,omitempty"` PackageId int `json:"packageId"` Prices []SoftLayer_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 ¶
type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi struct { ComplexType string `json:"complexType"` Location string `json:"location,omitempty"` PackageId int `json:"packageId"` Prices []SoftLayer_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"` }
type SoftLayer_Container_Product_Order_Network_PerformanceStorage_Iscsi_Parameters ¶
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 ¶
type SoftLayer_Container_Product_Order_Parameters struct {
Parameters []SoftLayer_Container_Product_Order `json:"parameters"`
}
type SoftLayer_Container_Product_Order_Receipt ¶
type SoftLayer_Container_Product_Order_Receipt struct {
OrderId int `json:"orderId"`
}
type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade ¶
type SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade struct { ComplexType string `json:"complexType"` Location string `json:"location,omitempty"` PackageId int `json:"packageId"` Prices []SoftLayer_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 ¶
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_Parameters ¶
type SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration_Parameters struct {
Parameters []SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration `json:"parameters"`
}
type SoftLayer_Hardware ¶
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"` OperatingSystem *SoftLayer_Operating_System `json:"operatingSystem"` }
type SoftLayer_Hardware_Template ¶
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 ¶
type SoftLayer_Hardware_Template_Parameters struct {
Parameters []SoftLayer_Hardware_Template `json:"parameters"`
}
type SoftLayer_Image_Type ¶
type SoftLayer_Item_Price ¶
type SoftLayer_Location ¶
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_Credential ¶
type SoftLayer_Network_Storage_Credential struct { AccountId int `json:"accountId"` CreateDate time.Time `json:"createDate"` Id int `json:"Id"` ModifyDate time.Time `json:"modifyDate"` NasCredentialTypeId int `json:"nasCredentialTypeId"` Password string `json:"password"` Username string `json:"username"` }
type SoftLayer_Network_Vlan ¶
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 ¶
type SoftLayer_Operating_System struct {
Passwords []SoftLayer_Password `json:"passwords"`
}
type SoftLayer_Password ¶
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 ¶
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 ¶
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 ¶
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"` Datacenter *SoftLayer_Location `json:"datacenter"` NetworkComponents []NetworkComponents `json:"networkComponents,omitempty"` UserData []UserData `json:"userData,omitempty"` OperatingSystem *SoftLayer_Operating_System `json:"operatingSystem"` }
type SoftLayer_Virtual_GuestInitParameter ¶
type SoftLayer_Virtual_GuestInitParameter struct {
ImageId int `json:"imageId"`
}
type SoftLayer_Virtual_GuestInitParameters ¶
type SoftLayer_Virtual_GuestInitParameters struct {
Parameters SoftLayer_Virtual_GuestInitParameter `json:"parameters"`
}
type SoftLayer_Virtual_Guest_Attribute ¶
type SoftLayer_Virtual_Guest_Attribute struct { Value string `json:"value"` Type SoftLayer_Virtual_Guest_Attribute_Type `json:"type"` }
type SoftLayer_Virtual_Guest_Block_Device_Template_Group ¶
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_Parameters ¶
type SoftLayer_Virtual_Guest_Parameters struct {
Parameters []SoftLayer_Virtual_Guest `json:"parameters"`
}
type SoftLayer_Virtual_Guest_SetTags_Parameters ¶
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"` 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 TagReference ¶
type TransactionGroup ¶
type TransactionStatus ¶
type UserMetadata ¶
type UserMetadata string
type UserMetadataArray ¶
type UserMetadataArray []UserMetadata
type VirtualGuest ¶
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_status.go
- softlayer_account_status.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_hardware.go
- softlayer_image_type.go
- softlayer_item_price.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_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_init_parameters.go
- softlayer_virtual_guest_power_state.go
Click to show internal directories.
Click to hide internal directories.