sdk

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 10 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControlGroup

type AccessControlGroup struct {
	AccessControlGroupConfigurationNo string `xml:"accessControlGroupConfigurationNo"`
	AccessControlGroupName            string `xml:"accessControlGroupName"`
	AccessControlGroupDescription     string `xml:"accessControlGroupDescription"`
	IsDefault                         bool   `xml:"isDefault"`
	CreateDate                        string `xml:"createDate"`
}

type AccessControlGroupList

type AccessControlGroupList struct {
	common.CommonResponse
	TotalRows          int                  `xml:"totalRows"`
	AccessControlGroup []AccessControlGroup `xml:"accessControlGroupList>accessControlGroup,omitempty"`
}

type AccessControlRule

type AccessControlRule struct {
	AccessControlRuleConfigurationNo       string            `xml:"accessControlRuleConfigurationNo"`
	AccessControlRuleDescription           string            `xml:"accessControlRuleDescription"`
	SourceAccessControlRuleConfigurationNo string            `xml:"sourceAccessControlRuleConfigurationNo"`
	SourceAccessControlRuleName            string            `xml:"sourceAccessControlRuleName"`
	ProtocolType                           common.CommonCode `xml:"protocolType"`
	SourceIP                               string            `xml:"sourceIp"`
	DestinationPort                        string            `xml:"destinationPort"`
}

type AccessControlRuleList

type AccessControlRuleList struct {
	common.CommonResponse
	TotalRows             int                 `xml:"totalRows"`
	AccessControlRuleList []AccessControlRule `xml:"accessControlRuleList>accessControlRule,omitempty"`
}

type BlockStorageInstance

type BlockStorageInstance struct {
	BlockStorageInstanceNo          string            `xml:"blockStorageInstanceNo"`
	ServerInstanceNo                string            `xml:"serverInstanceNo"`
	ServerName                      string            `xml:"serverName"`
	BlockStorageType                common.CommonCode `xml:"blockStorageType"`
	BlockStorageName                string            `xml:"blockStorageName"`
	BlockStorageSize                int               `xml:"blockStorageSize"`
	DeviceName                      string            `xml:"deviceName"`
	BlockStorageProductCode         string            `xml:"blockStorageProductCode"`
	BlockStorageInstanceStatus      common.CommonCode `xml:"blockStorageInstanceStatus"`
	BlockStorageInstanceOperation   common.CommonCode `xml:"blockStorageInstanceOperation"`
	BlockStorageInstanceStatusName  string            `xml:"blockStorageInstanceStatusName"`
	CreateDate                      string            `xml:"createDate"`
	BlockStorageInstanceDescription string            `xml:"blockStorageInstanceDescription"`
	DiskType                        common.CommonCode `xml:"diskType"`
	DiskDetailType                  common.CommonCode `xml:"diskDetailType"`
	Zone                            common.Zone       `xml:"zone"`
}

type BlockStorageInstanceList

type BlockStorageInstanceList struct {
	common.CommonResponse
	TotalRows            int                    `xml:"totalRows"`
	BlockStorageInstance []BlockStorageInstance `xml:"blockStorageInstanceList>blockStorageInstance,omitempty"`
}

type Conn

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

func NewConnection

func NewConnection(accessKey string, secretKey string) *Conn

NewConnection create connection for server api

func (*Conn) AddLoadBalancerSslCertificate

func (s *Conn) AddLoadBalancerSslCertificate(reqParams *RequestAddSslCertificate) (*SslCertificateList, error)

AddLoadBalancerSslCertificate get SSL Certificate

func (*Conn) AddNasVolumeAccessControl

func (s *Conn) AddNasVolumeAccessControl(reqParams *RequestNasVolumeAccessControl) (*NasVolumeInstanceList, error)

AddNasVolumeAccessControl add Nas Volume Access Control

func (*Conn) AddPortForwardingRules

func (s *Conn) AddPortForwardingRules(reqParams *RequestAddPortForwardingRules) (*PortForwardingRuleList, error)

func (*Conn) AssociatePublicIP

func (s *Conn) AssociatePublicIP(reqParams *RequestAssociatePublicIP) (*PublicIPInstanceList, error)

AssociatePublicIP associate ip instance to server instance

func (*Conn) AttachBlockStorageInstance

func (s *Conn) AttachBlockStorageInstance(reqParams *RequestAttachBlockStorageInstance) (*BlockStorageInstanceList, error)

AttachBlockStorageInstance attaches block storage instance to a server instance

func (*Conn) ChangeLoadBalancedServerInstances

func (s *Conn) ChangeLoadBalancedServerInstances(reqParams *RequestChangeLoadBalancedServerInstances) (*LoadBalancerInstanceList, error)

ChangeLoadBalancedServerInstances changes load balancer server instance

func (*Conn) ChangeLoadBalancerInstanceConfiguration

func (s *Conn) ChangeLoadBalancerInstanceConfiguration(reqParams *RequestChangeLoadBalancerInstanceConfiguration) (*LoadBalancerInstanceList, error)

ChangeLoadBalancerInstanceConfiguration change public ip instance list

func (*Conn) ChangeNasVolumeSize

func (s *Conn) ChangeNasVolumeSize(reqParams *RequestChangeNasVolumeSize) (*NasVolumeInstanceList, error)

ChangeNasVolumeSize changes nas volume size

func (*Conn) ChangeServerInstanceSpec

func (s *Conn) ChangeServerInstanceSpec(reqParams *RequestChangeServerInstanceSpec) (*ServerInstanceList, error)

func (*Conn) CreateBlockStorageInstance

func (s *Conn) CreateBlockStorageInstance(reqParams *RequestBlockStorageInstance) (*BlockStorageInstanceList, error)

CreateBlockStorageInstance create block storage instance

func (*Conn) CreateLoadBalancerInstance

func (s *Conn) CreateLoadBalancerInstance(reqParams *RequestCreateLoadBalancerInstance) (*LoadBalancerInstanceList, error)

CreateLoadBalancerInstance creates load balancer instance

func (*Conn) CreateLoginKey

func (s *Conn) CreateLoginKey(keyName string) (*PrivateKey, error)

CreateLoginKey create loginkey with keyName

func (*Conn) CreateMemberServerImage

func (s *Conn) CreateMemberServerImage(reqParams *RequestCreateServerImage) (*MemberServerImageList, error)

CreateMemberServerImage create member server image and retrun member server image list

func (*Conn) CreateNasVolumeInstance

func (s *Conn) CreateNasVolumeInstance(reqParams *RequestCreateNasVolumeInstance) (*NasVolumeInstanceList, error)

func (*Conn) CreatePublicIPInstance

func (s *Conn) CreatePublicIPInstance(reqParams *RequestCreatePublicIPInstance) (*PublicIPInstanceList, error)

CreatePublicIPInstance create public ip instance and allocate it to server instance

func (*Conn) CreateServerInstances

func (s *Conn) CreateServerInstances(reqParams *RequestCreateServerInstance) (*ServerInstanceList, error)

CreateServerInstances create server instances

func (*Conn) DeleteBlockStorageInstances

func (s *Conn) DeleteBlockStorageInstances(blockStorageInstanceNoList []string) (*BlockStorageInstanceList, error)

DeleteBlockStorageInstances delete block storage instances

func (*Conn) DeleteLoadBalancerInstances

func (s *Conn) DeleteLoadBalancerInstances(reqParams *RequestDeleteLoadBalancerInstances) (*LoadBalancerInstanceList, error)

DeleteLoadBalancerInstances delete load balancer instances

func (*Conn) DeleteLoadBalancerSslCertificate

func (s *Conn) DeleteLoadBalancerSslCertificate(certificateName string) (*SslCertificateList, error)

DeleteLoadBalancerSslCertificate deletes SSL Certificate

func (*Conn) DeleteLoginKey

func (s *Conn) DeleteLoginKey(keyName string) (*common.CommonResponse, error)

DeleteLoginKey delete login key with keyName

func (*Conn) DeleteNasVolumeInstance

func (s *Conn) DeleteNasVolumeInstance(nasVolumeInstanceNo string) (*NasVolumeInstanceList, error)

func (*Conn) DeletePortForwardingRules

func (s *Conn) DeletePortForwardingRules(reqParams *RequestDeletePortForwardingRules) (*PortForwardingRuleList, error)

func (*Conn) DeletePublicIPInstances

func (s *Conn) DeletePublicIPInstances(reqParams *RequestDeletePublicIPInstances) (*PublicIPInstanceList, error)

DeletePublicIPInstances delete public ip instances

func (*Conn) DetachBlockStorageInstance

func (s *Conn) DetachBlockStorageInstance(reqParams *RequestDetachBlockStorageInstance) (*BlockStorageInstanceList, error)

DetachBlockStorageInstance detaches block storage instance from server instance

func (*Conn) DisassociatePublicIP

func (s *Conn) DisassociatePublicIP(PublicIPInstanceNo string) (*PublicIPInstanceList, error)

DisassociatePublicIP diassociate public ip from server instance

func (*Conn) GetAccessControlGroupList

func (s *Conn) GetAccessControlGroupList(reqParams *RequestAccessControlGroupList) (*AccessControlGroupList, error)

GetAccessControlGroupList get access control group list

func (*Conn) GetAccessControlRuleList

func (s *Conn) GetAccessControlRuleList(accessControlGroupConfigurationNo string) (*AccessControlRuleList, error)

GetAccessControlRuleList get access control group list

func (*Conn) GetBlockStorageInstance

func (s *Conn) GetBlockStorageInstance(reqParams *RequestBlockStorageInstanceList) (*BlockStorageInstanceList, error)

GetBlockStorageInstance Get block storage instance list

func (*Conn) GetLoadBalancedServerInstanceList

func (s *Conn) GetLoadBalancedServerInstanceList(loadBalancerInstanceNo string) (*ServerInstanceList, error)

GetLoadBalancedServerInstanceList get load balancer server instance list

func (*Conn) GetLoadBalancerInstanceList

func (s *Conn) GetLoadBalancerInstanceList(reqParams *RequestLoadBalancerInstanceList) (*LoadBalancerInstanceList, error)

GetLoadBalancerInstanceList get load balancer instance list

func (*Conn) GetLoadBalancerSslCertificateList

func (s *Conn) GetLoadBalancerSslCertificateList(certificateName string) (*SslCertificateList, error)

GetLoadBalancerSslCertificateList get SSL Certificate

func (*Conn) GetLoadBalancerTargetServerInstanceList

func (s *Conn) GetLoadBalancerTargetServerInstanceList(reqParams *RequestGetLoadBalancerTargetServerInstanceList) (*ServerInstanceList, error)

GetLoadBalancerTargetServerInstanceList get load balancer target server instance list

func (*Conn) GetLoginKeyList

func (s *Conn) GetLoginKeyList(reqParams *RequestGetLoginKeyList) (*LoginKeyList, error)

GetLoginKeyList get login key list

func (*Conn) GetMemberServerImageList

func (s *Conn) GetMemberServerImageList(reqParams *RequestServerImageList) (*MemberServerImageList, error)

GetMemberServerImageList get member server image list

func (*Conn) GetNasVolumeInstanceList

func (s *Conn) GetNasVolumeInstanceList(reqParams *RequestGetNasVolumeInstanceList) (*NasVolumeInstanceList, error)

func (*Conn) GetPortForwardingRuleList

func (s *Conn) GetPortForwardingRuleList(reqParams *RequestPortForwardingRuleList) (*PortForwardingRuleList, error)

func (*Conn) GetPublicIPInstanceList

func (s *Conn) GetPublicIPInstanceList(reqParams *RequestPublicIPInstanceList) (*PublicIPInstanceList, error)

GetPublicIPInstanceList get public ip instance list

func (*Conn) GetRegionList

func (s *Conn) GetRegionList() (*RegionList, error)

GetRegionList gets region list

func (*Conn) GetRootPassword

func (s *Conn) GetRootPassword(reqParams *RequestGetRootPassword) (*RootPassword, error)

GetRootPassword get root password from server instance

func (*Conn) GetServerImageProductList

func (s *Conn) GetServerImageProductList(reqParams *RequestGetServerImageProductList) (*ProductList, error)

GetServerImageProductList gets server image product list

func (*Conn) GetServerInstanceList

func (s *Conn) GetServerInstanceList(reqParams *RequestGetServerInstanceList) (*ServerInstanceList, error)

GetServerInstanceList get server instance list

func (*Conn) GetServerProductList

func (s *Conn) GetServerProductList(reqParams *RequestGetServerProductList) (*ProductList, error)

GetServerProductList : Get Server product list with server image product code by default.

func (*Conn) GetZoneList

func (s *Conn) GetZoneList(regionNo string) (*ZoneList, error)

GetZoneList get zone list

func (*Conn) RebootServerInstances

func (s *Conn) RebootServerInstances(reqParams *RequestRebootServerInstances) (*ServerInstanceList, error)

func (*Conn) RecreateServerInstance

func (s *Conn) RecreateServerInstance(reqParams *RequestRecreateServerInstance) (*ServerInstanceList, error)

RecreateServerInstance recreate server instance

func (*Conn) RemoveNasVolumeAccessControl

func (s *Conn) RemoveNasVolumeAccessControl(reqParams *RequestNasVolumeAccessControl) (*NasVolumeInstanceList, error)

RemoveNasVolumeAccessControl removes Nas Volume Access Control

func (*Conn) SetNasVolumeAccessControl

func (s *Conn) SetNasVolumeAccessControl(reqParams *RequestNasVolumeAccessControl) (*NasVolumeInstanceList, error)

SetNasVolumeAccessControl set Nas Volume Access Control

func (*Conn) StartServerInstances

func (s *Conn) StartServerInstances(reqParams *RequestStartServerInstances) (*ServerInstanceList, error)

StartServerInstances stop server instances

func (*Conn) StopServerInstances

func (s *Conn) StopServerInstances(reqParams *RequestStopServerInstances) (*ServerInstanceList, error)

StopServerInstances stop server instances

func (*Conn) TerminateServerInstances

func (s *Conn) TerminateServerInstances(reqParams *RequestTerminateServerInstances) (*ServerInstanceList, error)

TerminateServerInstances terminate server instances

type LoadBalancedServerInstance

type LoadBalancedServerInstance struct {
	ServerInstanceList          []ServerInstance          `xml:"serverInstance,omitempty"`
	ServerHealthCheckStatusList []ServerHealthCheckStatus `xml:"serverHealthCheckStatusList>serverHealthCheckStatus,omitempty"`
}

LoadBalancedServerInstance is struct for load balanced server instance

type LoadBalancerInstance

type LoadBalancerInstance struct {
	LoadBalancerInstanceNo         string                       `xml:"loadBalancerInstanceNo"`
	VirtualIP                      string                       `xml:"virtualIp"`
	LoadBalancerName               string                       `xml:"loadBalancerName"`
	LoadBalancerAlgorithmType      common.CommonCode            `xml:"loadBalancerAlgorithmType"`
	LoadBalancerDescription        string                       `xml:"loadBalancerDescription"`
	CreateDate                     string                       `xml:"createDate"`
	DomainName                     string                       `xml:"domainName"`
	InternetLineType               common.CommonCode            `xml:"internetLineType"`
	LoadBalancerInstanceStatusName string                       `xml:"loadBalancerInstanceStatusName"`
	LoadBalancerInstanceStatus     common.CommonCode            `xml:"loadBalancerInstanceStatus"`
	LoadBalancerInstanceOperation  common.CommonCode            `xml:"loadBalancerInstanceOperation"`
	NetworkUsageType               common.CommonCode            `xml:"networkUsageType"`
	IsHTTPKeepAlive                bool                         `xml:"isHttpKeepAlive"`
	ConnectionTimeout              int                          `xml:"connectionTimeout"`
	CertificateName                string                       `xml:"certificateName"`
	LoadBalancerRuleList           []LoadBalancerRule           `xml:"loadBalancerRuleList>loadBalancerRule,omitempty"`
	LoadBalancedServerInstanceList []LoadBalancedServerInstance `xml:"loadBalancedServerInstanceList>loadBalancedServerInstance,omitempty"`
}

LoadBalancerInstance is struct for load balancer instance

type LoadBalancerInstanceList

type LoadBalancerInstanceList struct {
	common.CommonResponse
	LoadBalancerInstanceList []LoadBalancerInstance `xml:"loadBalancerInstanceList>loadBalancerInstance,omitempty"`
	TotalRows                int                    `xml:"totalRows"`
}

LoadBalancerInstanceList is response type to return load balancer instance list

type LoadBalancerRule

type LoadBalancerRule struct {
	ProtocolType       common.CommonCode `xml:"protocolType"`
	LoadBalancerPort   int               `xml:"loadBalancerPort"`
	ServerPort         int               `xml:"serverPort"`
	L7HealthCheckPath  string            `xml:"l7HealthCheckPath"`
	CertificateName    string            `xml:"certificateName"`
	ProxyProtocolUseYn string            `xml:"proxyProtocolUseYn"`
}

LoadBalancerRule is struct for load balancer rule

type LoginKey

type LoginKey struct {
	Fingerprint string `xml:"fingerprint"`
	KeyName     string `xml:"keyName"`
	CreateDate  string `xml:"createDate"`
}

type LoginKeyList

type LoginKeyList struct {
	common.CommonResponse
	TotalRows    int        `xml:"totalRows"`
	LoginKeyList []LoginKey `xml:"loginKeyList>loginKey,omitempty"`
}

type MemberServerImageList

type MemberServerImageList struct {
	common.CommonResponse
	TotalRows             int           `xml:"totalRows"`
	MemberServerImageList []ServerImage `xml:"memberServerImageList>memberServerImage,omitempty"`
}

type NasVolumeInstance

type NasVolumeInstance struct {
	NasVolumeInstanceNo              string                      `xml:"nasVolumeInstanceNo"`
	NasVolumeInstanceStatus          common.CommonCode           `xml:"nasVolumeInstanceStatus"`
	NasVolumeInstanceOperation       common.CommonCode           `xml:"nasVolumeInstanceOperation"`
	NasVolumeInstanceStatusName      string                      `xml:"nasVolumeInstanceStatusName"`
	CreateDate                       string                      `xml:"createDate"`
	NasVolumeInstanceDescription     string                      `xml:"nasVolumeInstanceDescription"`
	MountInformation                 string                      `xml:"mountInformation"`
	VolumeAllotmentProtocolType      common.CommonCode           `xml:"volumeAllotmentProtocolType"`
	VolumeName                       string                      `xml:"volumeName"`
	VolumeTotalSize                  int                         `xml:"volumeTotalSize"`
	VolumeSize                       int                         `xml:"volumeSize"`
	VolumeUseSize                    int                         `xml:"volumeUseSize"`
	VolumeUseRatio                   float32                     `xml:"volumeUseRatio"`
	SnapshotVolumeConfigurationRatio float32                     `xml:"snapshotVolumeConfigurationRatio"`
	SnapshotVolumeSize               int                         `xml:"snapshotVolumeSize"`
	SnapshotVolumeUseSize            int                         `xml:"snapshotVolumeUseSize"`
	SnapshotVolumeUseRatio           float32                     `xml:"snapshotVolumeUseRatio"`
	IsSnapshotConfiguration          bool                        `xml:"isSnapshotConfiguration"`
	IsEventConfiguration             bool                        `xml:"isEventConfiguration"`
	Zone                             common.Zone                 `xml:"zone"`
	Region                           common.Region               `xml:"region"`
	NasVolumeInstanceCustomIPList    []NasVolumeInstanceCustomIp `xml:"nasVolumeInstanceCustomIpList>nasVolumeInstanceCustomIp,omitempty"`
	NasVolumeServerInstanceList      []ServerInstance            `xml:"nasVolumeServerInstanceList>serverInstance,omitempty"`
}

type NasVolumeInstanceCustomIp

type NasVolumeInstanceCustomIp struct {
	CustomIP string `xml:"customIP"`
}

type NasVolumeInstanceList

type NasVolumeInstanceList struct {
	common.CommonResponse
	TotalRows             int                 `xml:"totalRows"`
	NasVolumeInstanceList []NasVolumeInstance `xml:"nasVolumeInstanceList>nasVolumeInstance,omitempty"`
}

type PortForwardingRule

type PortForwardingRule struct {
	ServerInstanceNo           string `xml:"serverInstance>serverInstanceNo"`
	PortForwardingExternalPort string `xml:"portForwardingExternalPort"`
	PortForwardingInternalPort string `xml:"portForwardingInternalPort"`
}

type PortForwardingRuleList

type PortForwardingRuleList struct {
	common.CommonResponse
	PortForwardingConfigurationNo int                  `xml:"portForwardingConfigurationNo"`
	PortForwardingPublicIp        string               `xml:"portForwardingPublicIp"`
	TotalRows                     int                  `xml:"totalRows"`
	PortForwardingRuleList        []PortForwardingRule `xml:"portForwardingRuleList>portForwardingRule,omitempty"`
}

type PrivateKey

type PrivateKey struct {
	common.CommonResponse
	PrivateKey string `xml:"privateKey"`
}

type Product

type Product struct {
	ProductCode          string            `xml:"productCode"`
	ProductName          string            `xml:"productName"`
	ProductType          common.CommonCode `xml:"productType"`
	ProductDescription   string            `xml:"productDescription"`
	InfraResourceType    common.CommonCode `xml:"infraResourceType"`
	CPUCount             int               `xml:"cpuCount"`
	MemorySize           int               `xml:"memorySize"`
	BaseBlockStorageSize int               `xml:"baseBlockStorageSize"`
	PlatformType         common.CommonCode `xml:"platformType"`
	OsInformation        string            `xml:"osInformation"`
	AddBlockStroageSize  int               `xml:"addBlockStroageSize"`
}

Product : Product information of Server

type ProductList

type ProductList struct {
	common.CommonResponse
	TotalRows int       `xml:"totalRows"`
	Product   []Product `xml:"productList>product,omitempty"`
}

ProductList : Response of server product list

type PublicIPInstance

type PublicIPInstance struct {
	PublicIPInstanceNo         string            `xml:"publicIpInstanceNo"`
	PublicIP                   string            `xml:"publicIp"`
	PublicIPDescription        string            `xml:"publicIpDescription"`
	CreateDate                 string            `xml:"createDate"`
	InternetLineType           common.CommonCode `xml:"internetLineType"`
	PublicIPInstanceStatusName string            `xml:"publicIpInstanceStatusName"`
	PublicIPInstanceStatus     common.CommonCode `xml:"publicIpInstanceStatus"`
	PublicIPInstanceOperation  common.CommonCode `xml:"publicIpInstanceOperation"`
	PublicIPKindType           common.CommonCode `xml:"publicIpKindType"`
	ServerInstance             ServerInstance    `xml:"serverInstanceAssociatedWithPublicIp"`
	Zone                       common.Zone       `xml:"zone"`
}

type PublicIPInstanceList

type PublicIPInstanceList struct {
	common.CommonResponse
	TotalRows            int                `xml:"totalRows"`
	PublicIPInstanceList []PublicIPInstance `xml:"publicIpInstanceList>publicIpInstance,omitempty"`
}

type RegionList

type RegionList struct {
	common.CommonResponse
	TotalRows  int             `xml:"totalRows"`
	RegionList []common.Region `xml:"regionList>region,omitempty"`
}

RegionList : Response of getting region list

type RequestAccessControlGroupList

type RequestAccessControlGroupList struct {
	AccessControlGroupConfigurationNoList []string
	IsDefault                             string
	AccessControlGroupName                string
	PageNo                                int
	PageSize                              int
}

type RequestAddPortForwardingRules

type RequestAddPortForwardingRules struct {
	PortForwardingConfigurationNo string
	PortForwardingRuleList        []PortForwardingRule
}

type RequestAddSslCertificate

type RequestAddSslCertificate struct {
	CertificateName      string
	PrivateKey           string
	PublicKeyCertificate string
	CertificateChain     string
}

RequestAddSslCertificate is request type to add SSL Certificate

type RequestAssociatePublicIP

type RequestAssociatePublicIP struct {
	ServerInstanceNo   string
	PublicIPInstanceNo string
}

type RequestAttachBlockStorageInstance

type RequestAttachBlockStorageInstance struct {
	ServerInstanceNo       string
	BlockStorageInstanceNo string
}

RequestAttachBlockStorageInstance is request type to attach server instance

type RequestBlockStorageInstance

type RequestBlockStorageInstance struct {
	BlockStorageName        string
	BlockStorageSize        int
	BlockStorageDescription string
	ServerInstanceNo        string
	DiskDetailTypeCode      string
}

type RequestBlockStorageInstanceList

type RequestBlockStorageInstanceList struct {
	ServerInstanceNo               string
	BlockStorageInstanceNoList     []string
	SearchFilterName               string
	SearchFilterValue              string
	BlockStorageTypeCodeList       []string
	PageNo                         int
	PageSize                       int
	BlockStorageInstanceStatusCode string
	DiskTypeCode                   string
	DiskDetailTypeCode             string
	RegionNo                       string
	ZoneNo                         string
	SortedBy                       string
	SortingOrder                   string
}

type RequestChangeLoadBalancedServerInstances

type RequestChangeLoadBalancedServerInstances struct {
	LoadBalancerInstanceNo string
	ServerInstanceNoList   []string
}

RequestChangeLoadBalancedServerInstances is request type to change load balanced server instances

type RequestChangeLoadBalancerInstanceConfiguration

type RequestChangeLoadBalancerInstanceConfiguration struct {
	LoadBalancerInstanceNo        string
	LoadBalancerAlgorithmTypeCode string
	LoadBalancerDescription       string
	LoadBalancerRuleList          []RequestLoadBalancerRule
}

RequestChangeLoadBalancerInstanceConfiguration is request type to change load balancer instance configuration

type RequestChangeNasVolumeSize

type RequestChangeNasVolumeSize struct {
	NasVolumeInstanceNo string
	VolumeSize          int
}

type RequestChangeServerInstanceSpec

type RequestChangeServerInstanceSpec struct {
	ServerInstanceNo  string
	ServerProductCode string
}

type RequestCreateLoadBalancerInstance

type RequestCreateLoadBalancerInstance struct {
	LoadBalancerName              string
	LoadBalancerAlgorithmTypeCode string
	LoadBalancerDescription       string
	LoadBalancerRuleList          []RequestLoadBalancerRule
	ServerInstanceNoList          []string
	InternetLineTypeCode          string
	NetworkUsageTypeCode          string
	RegionNo                      string
}

RequestCreateLoadBalancerInstance is request type to create load balancer instance

type RequestCreateNasVolumeInstance

type RequestCreateNasVolumeInstance struct {
	VolumeName                      string
	VolumeSize                      int
	VolumeAllotmentProtocolTypeCode string
	ServerInstanceNoList            []string
	CustomIpList                    []string
	CifsUserName                    string
	CifsUserPassword                string
	NasVolumeDescription            string
	RegionNo                        string
	ZoneNo                          string
}

type RequestCreatePublicIPInstance

type RequestCreatePublicIPInstance struct {
	ServerInstanceNo     string
	PublicIPDescription  string
	InternetLineTypeCode string
	RegionNo             string
	ZoneNo               string
}

type RequestCreateServerImage

type RequestCreateServerImage struct {
	MemberServerImageName        string
	MemberServerImageDescription string
	ServerInstanceNo             string
}

type RequestCreateServerInstance

type RequestCreateServerInstance struct {
	ServerImageProductCode                string
	ServerProductCode                     string
	MemberServerImageNo                   string
	ServerName                            string
	ServerDescription                     string
	LoginKeyName                          string
	IsProtectServerTermination            string
	ServerCreateCount                     int
	ServerCreateStartNo                   int
	InternetLineTypeCode                  string
	FeeSystemTypeCode                     string
	UserData                              string
	ZoneNo                                string
	AccessControlGroupConfigurationNoList []string
	RaidTypeName                          string
}

RequestCreateServerInstance is Server Instances structures

type RequestDeleteLoadBalancerInstances

type RequestDeleteLoadBalancerInstances struct {
	LoadBalancerInstanceNoList []string
}

RequestDeleteLoadBalancerInstances is request type to delete load balancer instances

type RequestDeletePortForwardingRules

type RequestDeletePortForwardingRules struct {
	PortForwardingConfigurationNo string
	PortForwardingRuleList        []PortForwardingRule
}

type RequestDeletePublicIPInstances

type RequestDeletePublicIPInstances struct {
	PublicIPInstanceNoList []string
}

type RequestDetachBlockStorageInstance

type RequestDetachBlockStorageInstance struct {
	BlockStorageInstanceNoList []string
}

RequestDetachBlockStorageInstance is request type to detach block storage instance from server instance

type RequestGetLoadBalancerTargetServerInstanceList

type RequestGetLoadBalancerTargetServerInstanceList struct {
	InternetLineTypeCode string
	NetworkUsageTypeCode string
	RegionNo             string
}

RequestGetLoadBalancerTargetServerInstanceList is request type to get load balancer target server instance list

type RequestGetLoginKeyList

type RequestGetLoginKeyList struct {
	KeyName  string
	PageNo   int
	PageSize int
}

RequestGetLoginKeyList is Login Key structures

type RequestGetNasVolumeInstanceList

type RequestGetNasVolumeInstanceList struct {
	VolumeAllotmentProtocolTypeCode string
	IsEventConfiguration            string
	IsSnapshotConfiguration         string
	NasVolumeInstanceNoList         []string
	RegionNo                        string
	ZoneNo                          string
}

type RequestGetRootPassword

type RequestGetRootPassword struct {
	ServerInstanceNo string
	PrivateKey       string
}

RequestGetRootPassword : Request to get root password of the server

type RequestGetServerImageProductList

type RequestGetServerImageProductList struct {
	ExclusionProductCode        string
	ProductCode                 string
	PlatformTypeCodeList        []string
	InfraResourceDetailTypeCode string
	BlockStorageSize            int
	RegionNo                    string
}

type RequestGetServerInstanceList

type RequestGetServerInstanceList struct {
	ServerInstanceNoList               []string
	SearchFilterName                   string
	SearchFilterValue                  string
	PageNo                             int
	PageSize                           int
	ServerInstanceStatusCode           string
	InternetLineTypeCode               string
	RegionNo                           string
	ZoneNo                             string
	BaseBlockStorageDiskTypeCode       string
	BaseBlockStorageDiskDetailTypeCode string
	SortedBy                           string
	SortingOrder                       string
	ServerInstanceTypeCodeList         []string
}

RequestGetServerInstanceList : Get Server Instance List

type RequestGetServerProductList

type RequestGetServerProductList struct {
	ExclusionProductCode   string
	ProductCode            string
	ServerImageProductCode string
	ZoneNo                 string
	InternetLineTypeCode   string
	RegionNo               string
}

RequestGetServerProductList : Request to get server product list

type RequestGetZoneList

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

RequestGetZoneList : Request to get zone list

type RequestLoadBalancerInstanceList

type RequestLoadBalancerInstanceList struct {
	LoadBalancerInstanceNoList []string
	InternetLineTypeCode       string
	NetworkUsageTypeCode       string
	RegionNo                   string
	PageNo                     int
	PageSize                   int
	SortedBy                   string
	SortingOrder               string
}

RequestLoadBalancerInstanceList is request type to get load balancer instance list

type RequestLoadBalancerRule

type RequestLoadBalancerRule struct {
	ProtocolTypeCode   string
	LoadBalancerPort   int
	ServerPort         int
	L7HealthCheckPath  string
	CertificateName    string
	ProxyProtocolUseYn string
}

RequestLoadBalancerRule is request type to create load balancer rule

type RequestNasVolumeAccessControl

type RequestNasVolumeAccessControl struct {
	NasVolumeInstanceNo  string
	ServerInstanceNoList []string
	CustomIPList         []string
}

RequestNasVolumeAccessControl is request type for nas volume access control operations

type RequestPortForwardingRuleList

type RequestPortForwardingRuleList struct {
	InternetLineTypeCode string
	RegionNo             string
	ZoneNo               string
}

type RequestPublicIPInstanceList

type RequestPublicIPInstanceList struct {
	IsAssociated           string
	PublicIPInstanceNoList []string
	PublicIPList           []string
	SearchFilterName       string
	SearchFilterValue      string
	InternetLineTypeCode   string
	RegionNo               string
	ZoneNo                 string
	PageNo                 int
	PageSize               int
	SortedBy               string
	SortingOrder           string
}

type RequestRebootServerInstances

type RequestRebootServerInstances struct {
	ServerInstanceNoList []string
}

type RequestRecreateServerInstance

type RequestRecreateServerInstance struct {
	ServerInstanceNo             string
	ServerInstanceName           string
	ChangeServerImageProductCode string
}

type RequestServerImageList

type RequestServerImageList struct {
	MemberServerImageNoList []string
	PlatformTypeCodeList    []string
	PageNo                  int
	PageSize                int
	RegionNo                string
	SortedBy                string
	SortingOrder            string
}

type RequestStartServerInstances

type RequestStartServerInstances struct {
	ServerInstanceNoList []string
}

type RequestStopServerInstances

type RequestStopServerInstances struct {
	ServerInstanceNoList []string
}

type RequestTerminateServerInstances

type RequestTerminateServerInstances struct {
	ServerInstanceNoList []string
}

type RootPassword

type RootPassword struct {
	common.CommonResponse
	TotalRows    int    `xml:"totalRows"`
	RootPassword string `xml:"rootPassword"`
}

RootPassword : Response of getting root password of the server

type ServerHealthCheckStatus

type ServerHealthCheckStatus struct {
	ProtocolType       common.CommonCode `xml:"protocolType"`
	LoadBalancerPort   int               `xml:"loadBalancerPort"`
	ServerPort         int               `xml:"serverPort"`
	L7HealthCheckPath  string            `xml:"l7HealthCheckPath"`
	ProxyProtocolUseYn string            `xml:"proxyProtocolUseYn"`
	ServerStatus       bool              `xml:"serverStatus"`
}

ServerHealthCheckStatus is struct for server health check status

type ServerImage

type ServerImage struct {
	MemberServerImageNo                    string            `xml:"memberServerImageNo"`
	MemberServerImageName                  string            `xml:"memberServerImageName"`
	MemberServerImageDescription           string            `xml:"memberServerImageDescription"`
	OriginalServerInstanceNo               string            `xml:"originalServerInstanceNo"`
	OriginalServerProductCode              string            `xml:"originalServerProductCode"`
	OriginalServerName                     string            `xml:"originalServerName"`
	OriginalBaseBlockStorageDiskType       common.CommonCode `xml:"originalBaseBlockStorageDiskType"`
	OriginalServerImageProductCode         string            `xml:"originalServerImageProductCode"`
	OriginalOsInformation                  string            `xml:"originalOsInformation"`
	OriginalServerImageName                string            `xml:"originalServerImageName"`
	MemberServerImageStatusName            string            `xml:"memberServerImageStatusName"`
	MemberServerImageStatus                common.CommonCode `xml:"memberServerImageStatus"`
	MemberServerImageOperation             common.CommonCode `xml:"memberServerImageOperation"`
	MemberServerImagePlatformType          common.CommonCode `xml:"memberServerImagePlatformType"`
	CreateDate                             string            `xml:"createDate"`
	Zone                                   common.Zone       `xml:"zone"`
	Region                                 common.Region     `xml:"region"`
	MemberServerImageBlockStorageTotalRows int               `xml:"memberServerImageBlockStorageTotalRows"`
	MemberServerImageBlockStorageTotalSize int               `xml:"memberServerImageBlockStorageTotalSize"`
}

ServerImage structures

type ServerInstance

type ServerInstance struct {
	ServerInstanceNo               string               `xml:"serverInstanceNo"`
	ServerName                     string               `xml:"serverName"`
	ServerDescription              string               `xml:"serverDescription"`
	CPUCount                       int                  `xml:"cpuCount"`
	MemorySize                     int                  `xml:"memorySize"`
	BaseBlockStorageSize           int                  `xml:"baseBlockStorageSize"`
	PlatformType                   common.CommonCode    `xml:"platformType"`
	LoginKeyName                   string               `xml:"loginKeyName"`
	IsFeeChargingMonitoring        bool                 `xml:"isFeeChargingMonitoring"`
	PublicIP                       string               `xml:"publicIp"`
	PrivateIP                      string               `xml:"privateIp"`
	ServerImageName                string               `xml:"serverImageName"`
	ServerInstanceStatus           common.CommonCode    `xml:"serverInstanceStatus"`
	ServerInstanceOperation        common.CommonCode    `xml:"serverInstanceOperation"`
	ServerInstanceStatusName       string               `xml:"serverInstanceStatusName"`
	CreateDate                     string               `xml:"createDate"`
	Uptime                         string               `xml:"uptime"`
	ServerImageProductCode         string               `xml:"serverImageProductCode"`
	ServerProductCode              string               `xml:"serverProductCode"`
	IsProtectServerTermination     bool                 `xml:"isProtectServerTermination"`
	PortForwardingPublicIP         string               `xml:"portForwardingPublicIp"`
	PortForwardingExternalPort     int                  `xml:"portForwardingExternalPort"`
	PortForwardingInternalPort     int                  `xml:"portForwardingInternalPort"`
	Zone                           common.Zone          `xml:"zone"`
	Region                         common.Region        `xml:"region"`
	BaseBlockStorageDiskType       common.CommonCode    `xml:"baseBlockStorageDiskType"`
	BaseBlockStroageDiskDetailType common.CommonCode    `xml:"baseBlockStroageDiskDetailType"`
	InternetLineType               common.CommonCode    `xml:"internetLineType"`
	ServerInstanceType             common.CommonCode    `xml:"serverInstanceType"`
	UserData                       string               `xml:"userData"`
	AccessControlGroupList         []AccessControlGroup `xml:"accessControlGroupList>accessControlGroup"`
}

type ServerInstanceList

type ServerInstanceList struct {
	common.CommonResponse
	TotalRows          int              `xml:"totalRows"`
	ServerInstanceList []ServerInstance `xml:"serverInstanceList>serverInstance,omitempty"`
}

type SslCertificate

type SslCertificate struct {
	CertificateName      string `xml:"certificateName"`
	PrivateKey           string `xml:"privateKey"`
	PublicKeyCertificate string `xml:"publicKeyCertificate"`
	CertificateChain     string `xml:"certificateChain"`
}

SslCertificate is struct for SSL Certificate

type SslCertificateList

type SslCertificateList struct {
	common.CommonResponse
	SslCertificateList []SslCertificate `xml:"sslCertificateList>sslCertificate,omitempty"`
	TotalRows          int              `xml:"totalRows"`
}

SslCertificateList is response type to return SSL Certificate list

type ZoneList

type ZoneList struct {
	common.CommonResponse
	TotalRows int           `xml:"totalRows"`
	Zone      []common.Zone `xml:"zoneList>zone"`
}

ZoneList : Response of getting zone list

Jump to

Keyboard shortcuts

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