data_types

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 Datacenter

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

type DiskImage

type DiskImage struct {
	// contains filtered or unexported fields
}

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_Account_Status

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

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_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_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_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_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 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 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

Jump to

Keyboard shortcuts

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