Documentation ¶
Index ¶
- type BlockDevice
- type BlockDeviceTemplateGroup
- type Datacenter
- type DiskImage
- type NetworkComponents
- type NetworkVlan
- type PrimaryBackendNetworkComponent
- type PrimaryNetworkComponent
- type SoftLayer_Account_Status
- type SoftLayer_Network_Storage
- 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_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 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 PrimaryBackendNetworkComponent ¶
type PrimaryBackendNetworkComponent struct { //Required NetworkVlan NetworkVlan `json:"networkVlan,omitempty"` }
type PrimaryNetworkComponent ¶
type PrimaryNetworkComponent struct { //Required NetworkVlan NetworkVlan `json:"networkVlan,omitempty"` }
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"` }
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"` }
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"` 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_account_status.go
- softlayer_network_storage.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_power_state.go
Click to show internal directories.
Click to hide internal directories.