cloudstack

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const UnlimitedResourceID = "-1"

UnlimitedResourceID is a special ID to define an unlimited resource

Variables

View Source
var AsyncTimeoutErr = errors.New("Timeout while waiting for async job to finish")

Functions

func IsID

func IsID(id string) bool

IsID return true if the passed ID is either a UUID or a UnlimitedResourceID

Types

type APIDiscoveryService

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

func NewAPIDiscoveryService

func NewAPIDiscoveryService(cs *CloudStackClient) *APIDiscoveryService

func (*APIDiscoveryService) ListApis

lists all available apis on the server, provided by the Api Discovery plugin

func (*APIDiscoveryService) NewListApisParams

func (s *APIDiscoveryService) NewListApisParams() *ListApisParams

You should always use this function to get a new ListApisParams instance, as then you are sure you have configured all required params

type Account

type Account struct {
	Accountdetails            map[string]string `json:"accountdetails"`
	Accounttype               int               `json:"accounttype"`
	Cpuavailable              string            `json:"cpuavailable"`
	Cpulimit                  string            `json:"cpulimit"`
	Cputotal                  int64             `json:"cputotal"`
	Defaultzoneid             string            `json:"defaultzoneid"`
	Domain                    string            `json:"domain"`
	Domainid                  string            `json:"domainid"`
	Groups                    []string          `json:"groups"`
	Id                        string            `json:"id"`
	Ipavailable               string            `json:"ipavailable"`
	Iplimit                   string            `json:"iplimit"`
	Iptotal                   int64             `json:"iptotal"`
	Iscleanuprequired         bool              `json:"iscleanuprequired"`
	Isdefault                 bool              `json:"isdefault"`
	JobID                     string            `json:"jobid"`
	Jobstatus                 int               `json:"jobstatus"`
	Memoryavailable           string            `json:"memoryavailable"`
	Memorylimit               string            `json:"memorylimit"`
	Memorytotal               int64             `json:"memorytotal"`
	Name                      string            `json:"name"`
	Networkavailable          string            `json:"networkavailable"`
	Networkdomain             string            `json:"networkdomain"`
	Networklimit              string            `json:"networklimit"`
	Networktotal              int64             `json:"networktotal"`
	Primarystorageavailable   string            `json:"primarystorageavailable"`
	Primarystoragelimit       string            `json:"primarystoragelimit"`
	Primarystoragetotal       int64             `json:"primarystoragetotal"`
	Projectavailable          string            `json:"projectavailable"`
	Projectlimit              string            `json:"projectlimit"`
	Projecttotal              int64             `json:"projecttotal"`
	Receivedbytes             int64             `json:"receivedbytes"`
	Roleid                    string            `json:"roleid"`
	Rolename                  string            `json:"rolename"`
	Roletype                  string            `json:"roletype"`
	Secondarystorageavailable string            `json:"secondarystorageavailable"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64           `json:"secondarystoragetotal"`
	Sentbytes                 int64             `json:"sentbytes"`
	Snapshotavailable         string            `json:"snapshotavailable"`
	Snapshotlimit             string            `json:"snapshotlimit"`
	Snapshottotal             int64             `json:"snapshottotal"`
	State                     string            `json:"state"`
	Templateavailable         string            `json:"templateavailable"`
	Templatelimit             string            `json:"templatelimit"`
	Templatetotal             int64             `json:"templatetotal"`
	User                      []AccountUser     `json:"user"`
	Vmavailable               string            `json:"vmavailable"`
	Vmlimit                   string            `json:"vmlimit"`
	Vmrunning                 int               `json:"vmrunning"`
	Vmstopped                 int               `json:"vmstopped"`
	Vmtotal                   int64             `json:"vmtotal"`
	Volumeavailable           string            `json:"volumeavailable"`
	Volumelimit               string            `json:"volumelimit"`
	Volumetotal               int64             `json:"volumetotal"`
	Vpcavailable              string            `json:"vpcavailable"`
	Vpclimit                  string            `json:"vpclimit"`
	Vpctotal                  int64             `json:"vpctotal"`
}

type AccountService

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

func NewAccountService

func NewAccountService(cs *CloudStackClient) *AccountService

func (*AccountService) AddAccountToProject

Adds account to a project

func (*AccountService) CreateAccount

Creates an account

func (*AccountService) DeleteAccount

Deletes a account, and all users associated with this account

func (*AccountService) DeleteAccountFromProject

Deletes account from the project

func (*AccountService) DisableAccount

Disables an account

func (*AccountService) EnableAccount

Enables an account

func (*AccountService) GetAccountByID

func (s *AccountService) GetAccountByID(id string, opts ...OptionFunc) (*Account, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AccountService) GetAccountByName

func (s *AccountService) GetAccountByName(name string, opts ...OptionFunc) (*Account, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AccountService) GetAccountID

func (s *AccountService) GetAccountID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AccountService) GetProjectAccountID

func (s *AccountService) GetProjectAccountID(keyword string, projectid string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AccountService) GetSolidFireAccountId

Get SolidFire Account ID

func (*AccountService) ListAccounts

Lists accounts and provides detailed account information for listed accounts

func (*AccountService) ListProjectAccounts

Lists project's accounts

func (*AccountService) LockAccount

This deprecated function used to locks an account. Look for the API DisableAccount instead

func (*AccountService) MarkDefaultZoneForAccount

Marks a default zone for this account

func (*AccountService) NewAddAccountToProjectParams

func (s *AccountService) NewAddAccountToProjectParams(projectid string) *AddAccountToProjectParams

You should always use this function to get a new AddAccountToProjectParams instance, as then you are sure you have configured all required params

func (*AccountService) NewCreateAccountParams

func (s *AccountService) NewCreateAccountParams(email string, firstname string, lastname string, password string, username string) *CreateAccountParams

You should always use this function to get a new CreateAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) NewDeleteAccountFromProjectParams

func (s *AccountService) NewDeleteAccountFromProjectParams(account string, projectid string) *DeleteAccountFromProjectParams

You should always use this function to get a new DeleteAccountFromProjectParams instance, as then you are sure you have configured all required params

func (*AccountService) NewDeleteAccountParams

func (s *AccountService) NewDeleteAccountParams(id string) *DeleteAccountParams

You should always use this function to get a new DeleteAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) NewDisableAccountParams

func (s *AccountService) NewDisableAccountParams(lock bool) *DisableAccountParams

You should always use this function to get a new DisableAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) NewEnableAccountParams

func (s *AccountService) NewEnableAccountParams() *EnableAccountParams

You should always use this function to get a new EnableAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) NewGetSolidFireAccountIdParams

func (s *AccountService) NewGetSolidFireAccountIdParams(accountid string, storageid string) *GetSolidFireAccountIdParams

You should always use this function to get a new GetSolidFireAccountIdParams instance, as then you are sure you have configured all required params

func (*AccountService) NewListAccountsParams

func (s *AccountService) NewListAccountsParams() *ListAccountsParams

You should always use this function to get a new ListAccountsParams instance, as then you are sure you have configured all required params

func (*AccountService) NewListProjectAccountsParams

func (s *AccountService) NewListProjectAccountsParams(projectid string) *ListProjectAccountsParams

You should always use this function to get a new ListProjectAccountsParams instance, as then you are sure you have configured all required params

func (*AccountService) NewLockAccountParams

func (s *AccountService) NewLockAccountParams(account string, domainid string) *LockAccountParams

You should always use this function to get a new LockAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) NewMarkDefaultZoneForAccountParams

func (s *AccountService) NewMarkDefaultZoneForAccountParams(account string, domainid string, zoneid string) *MarkDefaultZoneForAccountParams

You should always use this function to get a new MarkDefaultZoneForAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) NewUpdateAccountParams

func (s *AccountService) NewUpdateAccountParams() *UpdateAccountParams

You should always use this function to get a new UpdateAccountParams instance, as then you are sure you have configured all required params

func (*AccountService) UpdateAccount

Updates account information for the authenticated user

type AccountUser

type AccountUser struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type ActivateProjectParams

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

func (*ActivateProjectParams) SetId

func (p *ActivateProjectParams) SetId(v string)

type ActivateProjectResponse

type ActivateProjectResponse struct {
	Account                   string  `json:"account"`
	Cpuavailable              string  `json:"cpuavailable"`
	Cpulimit                  string  `json:"cpulimit"`
	Cputotal                  int64   `json:"cputotal"`
	Displaytext               string  `json:"displaytext"`
	Domain                    string  `json:"domain"`
	Domainid                  string  `json:"domainid"`
	Id                        string  `json:"id"`
	Ipavailable               string  `json:"ipavailable"`
	Iplimit                   string  `json:"iplimit"`
	Iptotal                   int64   `json:"iptotal"`
	JobID                     string  `json:"jobid"`
	Jobstatus                 int     `json:"jobstatus"`
	Memoryavailable           string  `json:"memoryavailable"`
	Memorylimit               string  `json:"memorylimit"`
	Memorytotal               int64   `json:"memorytotal"`
	Name                      string  `json:"name"`
	Networkavailable          string  `json:"networkavailable"`
	Networklimit              string  `json:"networklimit"`
	Networktotal              int64   `json:"networktotal"`
	Primarystorageavailable   string  `json:"primarystorageavailable"`
	Primarystoragelimit       string  `json:"primarystoragelimit"`
	Primarystoragetotal       int64   `json:"primarystoragetotal"`
	Projectaccountname        string  `json:"projectaccountname"`
	Secondarystorageavailable string  `json:"secondarystorageavailable"`
	Secondarystoragelimit     string  `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64 `json:"secondarystoragetotal"`
	Snapshotavailable         string  `json:"snapshotavailable"`
	Snapshotlimit             string  `json:"snapshotlimit"`
	Snapshottotal             int64   `json:"snapshottotal"`
	State                     string  `json:"state"`
	Tags                      []Tags  `json:"tags"`
	Templateavailable         string  `json:"templateavailable"`
	Templatelimit             string  `json:"templatelimit"`
	Templatetotal             int64   `json:"templatetotal"`
	Vmavailable               string  `json:"vmavailable"`
	Vmlimit                   string  `json:"vmlimit"`
	Vmrunning                 int     `json:"vmrunning"`
	Vmstopped                 int     `json:"vmstopped"`
	Vmtotal                   int64   `json:"vmtotal"`
	Volumeavailable           string  `json:"volumeavailable"`
	Volumelimit               string  `json:"volumelimit"`
	Volumetotal               int64   `json:"volumetotal"`
	Vpcavailable              string  `json:"vpcavailable"`
	Vpclimit                  string  `json:"vpclimit"`
	Vpctotal                  int64   `json:"vpctotal"`
}

type AddAccountToProjectParams

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

func (*AddAccountToProjectParams) SetAccount

func (p *AddAccountToProjectParams) SetAccount(v string)

func (*AddAccountToProjectParams) SetEmail

func (p *AddAccountToProjectParams) SetEmail(v string)

func (*AddAccountToProjectParams) SetProjectid

func (p *AddAccountToProjectParams) SetProjectid(v string)

type AddAccountToProjectResponse

type AddAccountToProjectResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type AddBaremetalDhcpParams

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

func (*AddBaremetalDhcpParams) SetDhcpservertype

func (p *AddBaremetalDhcpParams) SetDhcpservertype(v string)

func (*AddBaremetalDhcpParams) SetPassword

func (p *AddBaremetalDhcpParams) SetPassword(v string)

func (*AddBaremetalDhcpParams) SetPhysicalnetworkid

func (p *AddBaremetalDhcpParams) SetPhysicalnetworkid(v string)

func (*AddBaremetalDhcpParams) SetUrl

func (p *AddBaremetalDhcpParams) SetUrl(v string)

func (*AddBaremetalDhcpParams) SetUsername

func (p *AddBaremetalDhcpParams) SetUsername(v string)

type AddBaremetalDhcpResponse

type AddBaremetalDhcpResponse struct {
	Dhcpservertype    string `json:"dhcpservertype"`
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Provider          string `json:"provider"`
	Url               string `json:"url"`
}

type AddBaremetalHostParams

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

func (*AddBaremetalHostParams) SetAllocationstate

func (p *AddBaremetalHostParams) SetAllocationstate(v string)

func (*AddBaremetalHostParams) SetClusterid

func (p *AddBaremetalHostParams) SetClusterid(v string)

func (*AddBaremetalHostParams) SetClustername

func (p *AddBaremetalHostParams) SetClustername(v string)

func (*AddBaremetalHostParams) SetHosttags

func (p *AddBaremetalHostParams) SetHosttags(v []string)

func (*AddBaremetalHostParams) SetHypervisor

func (p *AddBaremetalHostParams) SetHypervisor(v string)

func (*AddBaremetalHostParams) SetIpaddress

func (p *AddBaremetalHostParams) SetIpaddress(v string)

func (*AddBaremetalHostParams) SetPassword

func (p *AddBaremetalHostParams) SetPassword(v string)

func (*AddBaremetalHostParams) SetPodid

func (p *AddBaremetalHostParams) SetPodid(v string)

func (*AddBaremetalHostParams) SetUrl

func (p *AddBaremetalHostParams) SetUrl(v string)

func (*AddBaremetalHostParams) SetUsername

func (p *AddBaremetalHostParams) SetUsername(v string)

func (*AddBaremetalHostParams) SetZoneid

func (p *AddBaremetalHostParams) SetZoneid(v string)

type AddBaremetalHostResponse

type AddBaremetalHostResponse struct {
	Annotation                 string                             `json:"annotation"`
	Averageload                int64                              `json:"averageload"`
	Capabilities               string                             `json:"capabilities"`
	Clusterid                  string                             `json:"clusterid"`
	Clustername                string                             `json:"clustername"`
	Clustertype                string                             `json:"clustertype"`
	Cpuallocated               string                             `json:"cpuallocated"`
	Cpunumber                  int                                `json:"cpunumber"`
	Cpusockets                 int                                `json:"cpusockets"`
	Cpuspeed                   int64                              `json:"cpuspeed"`
	Cpuused                    string                             `json:"cpuused"`
	Cpuwithoverprovisioning    string                             `json:"cpuwithoverprovisioning"`
	Created                    string                             `json:"created"`
	Details                    map[string]string                  `json:"details"`
	Disconnected               string                             `json:"disconnected"`
	Disksizeallocated          int64                              `json:"disksizeallocated"`
	Disksizetotal              int64                              `json:"disksizetotal"`
	Events                     string                             `json:"events"`
	Gpugroup                   []AddBaremetalHostResponseGpugroup `json:"gpugroup"`
	Hahost                     bool                               `json:"hahost"`
	Hasenoughcapacity          bool                               `json:"hasenoughcapacity"`
	Hostha                     string                             `json:"hostha"`
	Hosttags                   string                             `json:"hosttags"`
	Hypervisor                 string                             `json:"hypervisor"`
	Hypervisorversion          string                             `json:"hypervisorversion"`
	Id                         string                             `json:"id"`
	Ipaddress                  string                             `json:"ipaddress"`
	Islocalstorageactive       bool                               `json:"islocalstorageactive"`
	JobID                      string                             `json:"jobid"`
	Jobstatus                  int                                `json:"jobstatus"`
	Lastannotated              string                             `json:"lastannotated"`
	Lastpinged                 string                             `json:"lastpinged"`
	Managementserverid         int64                              `json:"managementserverid"`
	Memoryallocated            int64                              `json:"memoryallocated"`
	Memorytotal                int64                              `json:"memorytotal"`
	Memoryused                 int64                              `json:"memoryused"`
	Memorywithoverprovisioning string                             `json:"memorywithoverprovisioning"`
	Name                       string                             `json:"name"`
	Networkkbsread             int64                              `json:"networkkbsread"`
	Networkkbswrite            int64                              `json:"networkkbswrite"`
	Oscategoryid               string                             `json:"oscategoryid"`
	Oscategoryname             string                             `json:"oscategoryname"`
	Outofbandmanagement        OutOfBandManagementResponse        `json:"outofbandmanagement"`
	Podid                      string                             `json:"podid"`
	Podname                    string                             `json:"podname"`
	Removed                    string                             `json:"removed"`
	Resourcestate              string                             `json:"resourcestate"`
	State                      string                             `json:"state"`
	Suitableformigration       bool                               `json:"suitableformigration"`
	Type                       string                             `json:"type"`
	Username                   string                             `json:"username"`
	Version                    string                             `json:"version"`
	Zoneid                     string                             `json:"zoneid"`
	Zonename                   string                             `json:"zonename"`
}

type AddBaremetalHostResponseGpugroup

type AddBaremetalHostResponseGpugroup struct {
	Gpugroupname string                                 `json:"gpugroupname"`
	Vgpu         []AddBaremetalHostResponseGpugroupVgpu `json:"vgpu"`
}

type AddBaremetalHostResponseGpugroupVgpu

type AddBaremetalHostResponseGpugroupVgpu struct {
	Maxcapacity       int64  `json:"maxcapacity"`
	Maxheads          int64  `json:"maxheads"`
	Maxresolutionx    int64  `json:"maxresolutionx"`
	Maxresolutiony    int64  `json:"maxresolutiony"`
	Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu"`
	Remainingcapacity int64  `json:"remainingcapacity"`
	Vgputype          string `json:"vgputype"`
	Videoram          int64  `json:"videoram"`
}

type AddBaremetalPxeKickStartServerParams

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

func (*AddBaremetalPxeKickStartServerParams) SetPassword

func (p *AddBaremetalPxeKickStartServerParams) SetPassword(v string)

func (*AddBaremetalPxeKickStartServerParams) SetPhysicalnetworkid

func (p *AddBaremetalPxeKickStartServerParams) SetPhysicalnetworkid(v string)

func (*AddBaremetalPxeKickStartServerParams) SetPodid

func (*AddBaremetalPxeKickStartServerParams) SetPxeservertype

func (p *AddBaremetalPxeKickStartServerParams) SetPxeservertype(v string)

func (*AddBaremetalPxeKickStartServerParams) SetTftpdir

func (*AddBaremetalPxeKickStartServerParams) SetUrl

func (*AddBaremetalPxeKickStartServerParams) SetUsername

func (p *AddBaremetalPxeKickStartServerParams) SetUsername(v string)

type AddBaremetalPxeKickStartServerResponse

type AddBaremetalPxeKickStartServerResponse struct {
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Provider          string `json:"provider"`
	Tftpdir           string `json:"tftpdir"`
	Url               string `json:"url"`
}

type AddBaremetalPxePingServerParams

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

func (*AddBaremetalPxePingServerParams) SetPassword

func (p *AddBaremetalPxePingServerParams) SetPassword(v string)

func (*AddBaremetalPxePingServerParams) SetPhysicalnetworkid

func (p *AddBaremetalPxePingServerParams) SetPhysicalnetworkid(v string)

func (*AddBaremetalPxePingServerParams) SetPingcifspassword

func (p *AddBaremetalPxePingServerParams) SetPingcifspassword(v string)

func (*AddBaremetalPxePingServerParams) SetPingcifsusername

func (p *AddBaremetalPxePingServerParams) SetPingcifsusername(v string)

func (*AddBaremetalPxePingServerParams) SetPingdir

func (p *AddBaremetalPxePingServerParams) SetPingdir(v string)

func (*AddBaremetalPxePingServerParams) SetPingstorageserverip

func (p *AddBaremetalPxePingServerParams) SetPingstorageserverip(v string)

func (*AddBaremetalPxePingServerParams) SetPodid

func (p *AddBaremetalPxePingServerParams) SetPodid(v string)

func (*AddBaremetalPxePingServerParams) SetPxeservertype

func (p *AddBaremetalPxePingServerParams) SetPxeservertype(v string)

func (*AddBaremetalPxePingServerParams) SetTftpdir

func (p *AddBaremetalPxePingServerParams) SetTftpdir(v string)

func (*AddBaremetalPxePingServerParams) SetUrl

func (*AddBaremetalPxePingServerParams) SetUsername

func (p *AddBaremetalPxePingServerParams) SetUsername(v string)

type AddBaremetalPxePingServerResponse

type AddBaremetalPxePingServerResponse struct {
	Id                  string `json:"id"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Physicalnetworkid   string `json:"physicalnetworkid"`
	Pingdir             string `json:"pingdir"`
	Pingstorageserverip string `json:"pingstorageserverip"`
	Provider            string `json:"provider"`
	Tftpdir             string `json:"tftpdir"`
	Url                 string `json:"url"`
}

type AddBaremetalRctParams

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

func (*AddBaremetalRctParams) SetBaremetalrcturl

func (p *AddBaremetalRctParams) SetBaremetalrcturl(v string)

type AddBaremetalRctResponse

type AddBaremetalRctResponse struct {
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Url       string `json:"url"`
}

type AddBigSwitchBcfDeviceParams

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

func (*AddBigSwitchBcfDeviceParams) SetHostname

func (p *AddBigSwitchBcfDeviceParams) SetHostname(v string)

func (*AddBigSwitchBcfDeviceParams) SetNat

func (p *AddBigSwitchBcfDeviceParams) SetNat(v bool)

func (*AddBigSwitchBcfDeviceParams) SetPassword

func (p *AddBigSwitchBcfDeviceParams) SetPassword(v string)

func (*AddBigSwitchBcfDeviceParams) SetPhysicalnetworkid

func (p *AddBigSwitchBcfDeviceParams) SetPhysicalnetworkid(v string)

func (*AddBigSwitchBcfDeviceParams) SetUsername

func (p *AddBigSwitchBcfDeviceParams) SetUsername(v string)

type AddBigSwitchBcfDeviceResponse

type AddBigSwitchBcfDeviceResponse struct {
	Bcfdeviceid         string `json:"bcfdeviceid"`
	Bigswitchdevicename string `json:"bigswitchdevicename"`
	Hostname            string `json:"hostname"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Nat                 bool   `json:"nat"`
	Password            string `json:"password"`
	Physicalnetworkid   string `json:"physicalnetworkid"`
	Provider            string `json:"provider"`
	Username            string `json:"username"`
}

type AddBrocadeVcsDeviceParams

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

func (*AddBrocadeVcsDeviceParams) SetHostname

func (p *AddBrocadeVcsDeviceParams) SetHostname(v string)

func (*AddBrocadeVcsDeviceParams) SetPassword

func (p *AddBrocadeVcsDeviceParams) SetPassword(v string)

func (*AddBrocadeVcsDeviceParams) SetPhysicalnetworkid

func (p *AddBrocadeVcsDeviceParams) SetPhysicalnetworkid(v string)

func (*AddBrocadeVcsDeviceParams) SetUsername

func (p *AddBrocadeVcsDeviceParams) SetUsername(v string)

type AddBrocadeVcsDeviceResponse

type AddBrocadeVcsDeviceResponse struct {
	Brocadedevicename string `json:"brocadedevicename"`
	Hostname          string `json:"hostname"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Provider          string `json:"provider"`
	Vcsdeviceid       string `json:"vcsdeviceid"`
}

type AddClusterParams

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

func (*AddClusterParams) SetAllocationstate

func (p *AddClusterParams) SetAllocationstate(v string)

func (*AddClusterParams) SetClustername

func (p *AddClusterParams) SetClustername(v string)

func (*AddClusterParams) SetClustertype

func (p *AddClusterParams) SetClustertype(v string)

func (*AddClusterParams) SetGuestvswitchname

func (p *AddClusterParams) SetGuestvswitchname(v string)

func (*AddClusterParams) SetGuestvswitchtype

func (p *AddClusterParams) SetGuestvswitchtype(v string)

func (*AddClusterParams) SetHypervisor

func (p *AddClusterParams) SetHypervisor(v string)

func (*AddClusterParams) SetOvm3cluster

func (p *AddClusterParams) SetOvm3cluster(v string)

func (*AddClusterParams) SetOvm3pool

func (p *AddClusterParams) SetOvm3pool(v string)

func (*AddClusterParams) SetOvm3vip

func (p *AddClusterParams) SetOvm3vip(v string)

func (*AddClusterParams) SetPassword

func (p *AddClusterParams) SetPassword(v string)

func (*AddClusterParams) SetPodid

func (p *AddClusterParams) SetPodid(v string)

func (*AddClusterParams) SetPublicvswitchname

func (p *AddClusterParams) SetPublicvswitchname(v string)

func (*AddClusterParams) SetPublicvswitchtype

func (p *AddClusterParams) SetPublicvswitchtype(v string)

func (*AddClusterParams) SetUrl

func (p *AddClusterParams) SetUrl(v string)

func (*AddClusterParams) SetUsername

func (p *AddClusterParams) SetUsername(v string)

func (*AddClusterParams) SetVsmipaddress

func (p *AddClusterParams) SetVsmipaddress(v string)

func (*AddClusterParams) SetVsmpassword

func (p *AddClusterParams) SetVsmpassword(v string)

func (*AddClusterParams) SetVsmusername

func (p *AddClusterParams) SetVsmusername(v string)

func (*AddClusterParams) SetZoneid

func (p *AddClusterParams) SetZoneid(v string)

type AddClusterResponse

type AddClusterResponse struct {
	Allocationstate       string                       `json:"allocationstate"`
	Capacity              []AddClusterResponseCapacity `json:"capacity"`
	Clustertype           string                       `json:"clustertype"`
	Cpuovercommitratio    string                       `json:"cpuovercommitratio"`
	Hypervisortype        string                       `json:"hypervisortype"`
	Id                    string                       `json:"id"`
	JobID                 string                       `json:"jobid"`
	Jobstatus             int                          `json:"jobstatus"`
	Managedstate          string                       `json:"managedstate"`
	Memoryovercommitratio string                       `json:"memoryovercommitratio"`
	Name                  string                       `json:"name"`
	Ovm3vip               string                       `json:"ovm3vip"`
	Podid                 string                       `json:"podid"`
	Podname               string                       `json:"podname"`
	Resourcedetails       map[string]string            `json:"resourcedetails"`
	Zoneid                string                       `json:"zoneid"`
	Zonename              string                       `json:"zonename"`
}

type AddClusterResponseCapacity

type AddClusterResponseCapacity struct {
	Capacityallocated int64  `json:"capacityallocated"`
	Capacitytotal     int64  `json:"capacitytotal"`
	Capacityused      int64  `json:"capacityused"`
	Clusterid         string `json:"clusterid"`
	Clustername       string `json:"clustername"`
	Name              string `json:"name"`
	Percentused       string `json:"percentused"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Type              int    `json:"type"`
	Zoneid            string `json:"zoneid"`
	Zonename          string `json:"zonename"`
}

type AddGloboDnsHostParams

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

func (*AddGloboDnsHostParams) SetPassword

func (p *AddGloboDnsHostParams) SetPassword(v string)

func (*AddGloboDnsHostParams) SetPhysicalnetworkid

func (p *AddGloboDnsHostParams) SetPhysicalnetworkid(v string)

func (*AddGloboDnsHostParams) SetUrl

func (p *AddGloboDnsHostParams) SetUrl(v string)

func (*AddGloboDnsHostParams) SetUsername

func (p *AddGloboDnsHostParams) SetUsername(v string)

type AddGloboDnsHostResponse

type AddGloboDnsHostResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type AddGuestOsMappingParams

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

func (*AddGuestOsMappingParams) SetHypervisor

func (p *AddGuestOsMappingParams) SetHypervisor(v string)

func (*AddGuestOsMappingParams) SetHypervisorversion

func (p *AddGuestOsMappingParams) SetHypervisorversion(v string)

func (*AddGuestOsMappingParams) SetOsdisplayname

func (p *AddGuestOsMappingParams) SetOsdisplayname(v string)

func (*AddGuestOsMappingParams) SetOsnameforhypervisor

func (p *AddGuestOsMappingParams) SetOsnameforhypervisor(v string)

func (*AddGuestOsMappingParams) SetOstypeid

func (p *AddGuestOsMappingParams) SetOstypeid(v string)

type AddGuestOsMappingResponse

type AddGuestOsMappingResponse struct {
	Hypervisor          string `json:"hypervisor"`
	Hypervisorversion   string `json:"hypervisorversion"`
	Id                  string `json:"id"`
	Isuserdefined       string `json:"isuserdefined"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Osdisplayname       string `json:"osdisplayname"`
	Osnameforhypervisor string `json:"osnameforhypervisor"`
	Ostypeid            string `json:"ostypeid"`
}

func (*AddGuestOsMappingResponse) UnmarshalJSON

func (r *AddGuestOsMappingResponse) UnmarshalJSON(b []byte) error

type AddGuestOsParams

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

func (*AddGuestOsParams) SetDetails

func (p *AddGuestOsParams) SetDetails(v map[string]string)

func (*AddGuestOsParams) SetName

func (p *AddGuestOsParams) SetName(v string)

func (*AddGuestOsParams) SetOscategoryid

func (p *AddGuestOsParams) SetOscategoryid(v string)

func (*AddGuestOsParams) SetOsdisplayname

func (p *AddGuestOsParams) SetOsdisplayname(v string)

type AddGuestOsResponse

type AddGuestOsResponse struct {
	Description   string `json:"description"`
	Id            string `json:"id"`
	Isuserdefined bool   `json:"isuserdefined"`
	JobID         string `json:"jobid"`
	Jobstatus     int    `json:"jobstatus"`
	Oscategoryid  string `json:"oscategoryid"`
}

type AddHostParams

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

func (*AddHostParams) SetAllocationstate

func (p *AddHostParams) SetAllocationstate(v string)

func (*AddHostParams) SetClusterid

func (p *AddHostParams) SetClusterid(v string)

func (*AddHostParams) SetClustername

func (p *AddHostParams) SetClustername(v string)

func (*AddHostParams) SetHosttags

func (p *AddHostParams) SetHosttags(v []string)

func (*AddHostParams) SetHypervisor

func (p *AddHostParams) SetHypervisor(v string)

func (*AddHostParams) SetPassword

func (p *AddHostParams) SetPassword(v string)

func (*AddHostParams) SetPodid

func (p *AddHostParams) SetPodid(v string)

func (*AddHostParams) SetUrl

func (p *AddHostParams) SetUrl(v string)

func (*AddHostParams) SetUsername

func (p *AddHostParams) SetUsername(v string)

func (*AddHostParams) SetZoneid

func (p *AddHostParams) SetZoneid(v string)

type AddHostResponse

type AddHostResponse struct {
	Annotation                 string                      `json:"annotation"`
	Averageload                int64                       `json:"averageload"`
	Capabilities               string                      `json:"capabilities"`
	Clusterid                  string                      `json:"clusterid"`
	Clustername                string                      `json:"clustername"`
	Clustertype                string                      `json:"clustertype"`
	Cpuallocated               string                      `json:"cpuallocated"`
	Cpunumber                  int                         `json:"cpunumber"`
	Cpusockets                 int                         `json:"cpusockets"`
	Cpuspeed                   int64                       `json:"cpuspeed"`
	Cpuused                    string                      `json:"cpuused"`
	Cpuwithoverprovisioning    string                      `json:"cpuwithoverprovisioning"`
	Created                    string                      `json:"created"`
	Details                    map[string]string           `json:"details"`
	Disconnected               string                      `json:"disconnected"`
	Disksizeallocated          int64                       `json:"disksizeallocated"`
	Disksizetotal              int64                       `json:"disksizetotal"`
	Events                     string                      `json:"events"`
	Gpugroup                   []AddHostResponseGpugroup   `json:"gpugroup"`
	Hahost                     bool                        `json:"hahost"`
	Hasenoughcapacity          bool                        `json:"hasenoughcapacity"`
	Hostha                     string                      `json:"hostha"`
	Hosttags                   string                      `json:"hosttags"`
	Hypervisor                 string                      `json:"hypervisor"`
	Hypervisorversion          string                      `json:"hypervisorversion"`
	Id                         string                      `json:"id"`
	Ipaddress                  string                      `json:"ipaddress"`
	Islocalstorageactive       bool                        `json:"islocalstorageactive"`
	JobID                      string                      `json:"jobid"`
	Jobstatus                  int                         `json:"jobstatus"`
	Lastannotated              string                      `json:"lastannotated"`
	Lastpinged                 string                      `json:"lastpinged"`
	Managementserverid         int64                       `json:"managementserverid"`
	Memoryallocated            int64                       `json:"memoryallocated"`
	Memorytotal                int64                       `json:"memorytotal"`
	Memoryused                 int64                       `json:"memoryused"`
	Memorywithoverprovisioning string                      `json:"memorywithoverprovisioning"`
	Name                       string                      `json:"name"`
	Networkkbsread             int64                       `json:"networkkbsread"`
	Networkkbswrite            int64                       `json:"networkkbswrite"`
	Oscategoryid               string                      `json:"oscategoryid"`
	Oscategoryname             string                      `json:"oscategoryname"`
	Outofbandmanagement        OutOfBandManagementResponse `json:"outofbandmanagement"`
	Podid                      string                      `json:"podid"`
	Podname                    string                      `json:"podname"`
	Removed                    string                      `json:"removed"`
	Resourcestate              string                      `json:"resourcestate"`
	State                      string                      `json:"state"`
	Suitableformigration       bool                        `json:"suitableformigration"`
	Type                       string                      `json:"type"`
	Username                   string                      `json:"username"`
	Version                    string                      `json:"version"`
	Zoneid                     string                      `json:"zoneid"`
	Zonename                   string                      `json:"zonename"`
}

type AddHostResponseGpugroup

type AddHostResponseGpugroup struct {
	Gpugroupname string                        `json:"gpugroupname"`
	Vgpu         []AddHostResponseGpugroupVgpu `json:"vgpu"`
}

type AddHostResponseGpugroupVgpu

type AddHostResponseGpugroupVgpu struct {
	Maxcapacity       int64  `json:"maxcapacity"`
	Maxheads          int64  `json:"maxheads"`
	Maxresolutionx    int64  `json:"maxresolutionx"`
	Maxresolutiony    int64  `json:"maxresolutiony"`
	Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu"`
	Remainingcapacity int64  `json:"remainingcapacity"`
	Vgputype          string `json:"vgputype"`
	Videoram          int64  `json:"videoram"`
}

type AddImageStoreParams

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

func (*AddImageStoreParams) SetDetails

func (p *AddImageStoreParams) SetDetails(v map[string]string)

func (*AddImageStoreParams) SetName

func (p *AddImageStoreParams) SetName(v string)

func (*AddImageStoreParams) SetProvider

func (p *AddImageStoreParams) SetProvider(v string)

func (*AddImageStoreParams) SetUrl

func (p *AddImageStoreParams) SetUrl(v string)

func (*AddImageStoreParams) SetZoneid

func (p *AddImageStoreParams) SetZoneid(v string)

type AddImageStoreResponse

type AddImageStoreResponse struct {
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Name         string `json:"name"`
	Protocol     string `json:"protocol"`
	Providername string `json:"providername"`
	Scope        string `json:"scope"`
	Url          string `json:"url"`
	Zoneid       string `json:"zoneid"`
	Zonename     string `json:"zonename"`
}

type AddImageStoreS3Params

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

func (*AddImageStoreS3Params) SetAccesskey

func (p *AddImageStoreS3Params) SetAccesskey(v string)

func (*AddImageStoreS3Params) SetBucket

func (p *AddImageStoreS3Params) SetBucket(v string)

func (*AddImageStoreS3Params) SetConnectiontimeout

func (p *AddImageStoreS3Params) SetConnectiontimeout(v int)

func (*AddImageStoreS3Params) SetConnectionttl

func (p *AddImageStoreS3Params) SetConnectionttl(v int)

func (*AddImageStoreS3Params) SetEndpoint

func (p *AddImageStoreS3Params) SetEndpoint(v string)

func (*AddImageStoreS3Params) SetMaxerrorretry

func (p *AddImageStoreS3Params) SetMaxerrorretry(v int)

func (*AddImageStoreS3Params) SetS3signer

func (p *AddImageStoreS3Params) SetS3signer(v string)

func (*AddImageStoreS3Params) SetSecretkey

func (p *AddImageStoreS3Params) SetSecretkey(v string)

func (*AddImageStoreS3Params) SetSockettimeout

func (p *AddImageStoreS3Params) SetSockettimeout(v int)

func (*AddImageStoreS3Params) SetUsehttps

func (p *AddImageStoreS3Params) SetUsehttps(v bool)

func (*AddImageStoreS3Params) SetUsetcpkeepalive

func (p *AddImageStoreS3Params) SetUsetcpkeepalive(v bool)

type AddImageStoreS3Response

type AddImageStoreS3Response struct {
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Name         string `json:"name"`
	Protocol     string `json:"protocol"`
	Providername string `json:"providername"`
	Scope        string `json:"scope"`
	Url          string `json:"url"`
	Zoneid       string `json:"zoneid"`
	Zonename     string `json:"zonename"`
}

type AddIpToNicParams

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

func (*AddIpToNicParams) SetIpaddress

func (p *AddIpToNicParams) SetIpaddress(v string)

func (*AddIpToNicParams) SetNicid

func (p *AddIpToNicParams) SetNicid(v string)

type AddIpToNicResponse

type AddIpToNicResponse struct {
	Id          string `json:"id"`
	Ipaddress   string `json:"ipaddress"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Networkid   string `json:"networkid"`
	Nicid       string `json:"nicid"`
	Secondaryip []struct {
		Id        string `json:"id"`
		Ipaddress string `json:"ipaddress"`
	} `json:"secondaryip"`
	Virtualmachineid string `json:"virtualmachineid"`
}

type AddLdapConfigurationParams

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

func (*AddLdapConfigurationParams) SetDomainid

func (p *AddLdapConfigurationParams) SetDomainid(v string)

func (*AddLdapConfigurationParams) SetHostname

func (p *AddLdapConfigurationParams) SetHostname(v string)

func (*AddLdapConfigurationParams) SetPort

func (p *AddLdapConfigurationParams) SetPort(v int)

type AddLdapConfigurationResponse

type AddLdapConfigurationResponse struct {
	Domainid  string `json:"domainid"`
	Hostname  string `json:"hostname"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Port      int    `json:"port"`
}

type AddNetscalerLoadBalancerParams

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

func (*AddNetscalerLoadBalancerParams) SetGslbprovider

func (p *AddNetscalerLoadBalancerParams) SetGslbprovider(v bool)

func (*AddNetscalerLoadBalancerParams) SetGslbproviderprivateip

func (p *AddNetscalerLoadBalancerParams) SetGslbproviderprivateip(v string)

func (*AddNetscalerLoadBalancerParams) SetGslbproviderpublicip

func (p *AddNetscalerLoadBalancerParams) SetGslbproviderpublicip(v string)

func (*AddNetscalerLoadBalancerParams) SetIsexclusivegslbprovider

func (p *AddNetscalerLoadBalancerParams) SetIsexclusivegslbprovider(v bool)

func (*AddNetscalerLoadBalancerParams) SetNetworkdevicetype

func (p *AddNetscalerLoadBalancerParams) SetNetworkdevicetype(v string)

func (*AddNetscalerLoadBalancerParams) SetPassword

func (p *AddNetscalerLoadBalancerParams) SetPassword(v string)

func (*AddNetscalerLoadBalancerParams) SetPhysicalnetworkid

func (p *AddNetscalerLoadBalancerParams) SetPhysicalnetworkid(v string)

func (*AddNetscalerLoadBalancerParams) SetUrl

func (*AddNetscalerLoadBalancerParams) SetUsername

func (p *AddNetscalerLoadBalancerParams) SetUsername(v string)

type AddNetscalerLoadBalancerResponse

type AddNetscalerLoadBalancerResponse struct {
	Gslbprovider            bool     `json:"gslbprovider"`
	Gslbproviderprivateip   string   `json:"gslbproviderprivateip"`
	Gslbproviderpublicip    string   `json:"gslbproviderpublicip"`
	Ipaddress               string   `json:"ipaddress"`
	Isexclusivegslbprovider bool     `json:"isexclusivegslbprovider"`
	JobID                   string   `json:"jobid"`
	Jobstatus               int      `json:"jobstatus"`
	Lbdevicecapacity        int64    `json:"lbdevicecapacity"`
	Lbdevicededicated       bool     `json:"lbdevicededicated"`
	Lbdeviceid              string   `json:"lbdeviceid"`
	Lbdevicename            string   `json:"lbdevicename"`
	Lbdevicestate           string   `json:"lbdevicestate"`
	Physicalnetworkid       string   `json:"physicalnetworkid"`
	Podids                  []string `json:"podids"`
	Privateinterface        string   `json:"privateinterface"`
	Provider                string   `json:"provider"`
	Publicinterface         string   `json:"publicinterface"`
}

type AddNetworkDeviceParams

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

func (*AddNetworkDeviceParams) SetNetworkdeviceparameterlist

func (p *AddNetworkDeviceParams) SetNetworkdeviceparameterlist(v map[string]string)

func (*AddNetworkDeviceParams) SetNetworkdevicetype

func (p *AddNetworkDeviceParams) SetNetworkdevicetype(v string)

type AddNetworkDeviceResponse

type AddNetworkDeviceResponse struct {
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
}

type AddNetworkServiceProviderParams

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

func (*AddNetworkServiceProviderParams) SetDestinationphysicalnetworkid

func (p *AddNetworkServiceProviderParams) SetDestinationphysicalnetworkid(v string)

func (*AddNetworkServiceProviderParams) SetName

func (*AddNetworkServiceProviderParams) SetPhysicalnetworkid

func (p *AddNetworkServiceProviderParams) SetPhysicalnetworkid(v string)

func (*AddNetworkServiceProviderParams) SetServicelist

func (p *AddNetworkServiceProviderParams) SetServicelist(v []string)

type AddNetworkServiceProviderResponse

type AddNetworkServiceProviderResponse struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	JobID                        string   `json:"jobid"`
	Jobstatus                    int      `json:"jobstatus"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type AddNicToVirtualMachineParams

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

func (*AddNicToVirtualMachineParams) SetDhcpoptions

func (p *AddNicToVirtualMachineParams) SetDhcpoptions(v map[string]string)

func (*AddNicToVirtualMachineParams) SetIpaddress

func (p *AddNicToVirtualMachineParams) SetIpaddress(v string)

func (*AddNicToVirtualMachineParams) SetMacaddress

func (p *AddNicToVirtualMachineParams) SetMacaddress(v string)

func (*AddNicToVirtualMachineParams) SetNetworkid

func (p *AddNicToVirtualMachineParams) SetNetworkid(v string)

func (*AddNicToVirtualMachineParams) SetVirtualmachineid

func (p *AddNicToVirtualMachineParams) SetVirtualmachineid(v string)

type AddNicToVirtualMachineResponse

type AddNicToVirtualMachineResponse struct {
	Account               string                                        `json:"account"`
	Affinitygroup         []AddNicToVirtualMachineResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                                           `json:"cpunumber"`
	Cpuspeed              int                                           `json:"cpuspeed"`
	Cpuused               string                                        `json:"cpuused"`
	Created               string                                        `json:"created"`
	Details               map[string]string                             `json:"details"`
	Diskioread            int64                                         `json:"diskioread"`
	Diskiowrite           int64                                         `json:"diskiowrite"`
	Diskkbsread           int64                                         `json:"diskkbsread"`
	Diskkbswrite          int64                                         `json:"diskkbswrite"`
	Diskofferingid        string                                        `json:"diskofferingid"`
	Diskofferingname      string                                        `json:"diskofferingname"`
	Displayname           string                                        `json:"displayname"`
	Displayvm             bool                                          `json:"displayvm"`
	Domain                string                                        `json:"domain"`
	Domainid              string                                        `json:"domainid"`
	Forvirtualnetwork     bool                                          `json:"forvirtualnetwork"`
	Group                 string                                        `json:"group"`
	Groupid               string                                        `json:"groupid"`
	Guestosid             string                                        `json:"guestosid"`
	Haenable              bool                                          `json:"haenable"`
	Hostid                string                                        `json:"hostid"`
	Hostname              string                                        `json:"hostname"`
	Hypervisor            string                                        `json:"hypervisor"`
	Id                    string                                        `json:"id"`
	Instancename          string                                        `json:"instancename"`
	Isdynamicallyscalable bool                                          `json:"isdynamicallyscalable"`
	Isodisplaytext        string                                        `json:"isodisplaytext"`
	Isoid                 string                                        `json:"isoid"`
	Isoname               string                                        `json:"isoname"`
	JobID                 string                                        `json:"jobid"`
	Jobstatus             int                                           `json:"jobstatus"`
	Keypair               string                                        `json:"keypair"`
	Memory                int                                           `json:"memory"`
	Memoryintfreekbs      int64                                         `json:"memoryintfreekbs"`
	Memorykbs             int64                                         `json:"memorykbs"`
	Memorytargetkbs       int64                                         `json:"memorytargetkbs"`
	Name                  string                                        `json:"name"`
	Networkkbsread        int64                                         `json:"networkkbsread"`
	Networkkbswrite       int64                                         `json:"networkkbswrite"`
	Nic                   []Nic                                         `json:"nic"`
	Ostypeid              string                                        `json:"ostypeid"`
	Password              string                                        `json:"password"`
	Passwordenabled       bool                                          `json:"passwordenabled"`
	Project               string                                        `json:"project"`
	Projectid             string                                        `json:"projectid"`
	Publicip              string                                        `json:"publicip"`
	Publicipid            string                                        `json:"publicipid"`
	Rootdeviceid          int64                                         `json:"rootdeviceid"`
	Rootdevicetype        string                                        `json:"rootdevicetype"`
	Securitygroup         []AddNicToVirtualMachineResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                                        `json:"serviceofferingid"`
	Serviceofferingname   string                                        `json:"serviceofferingname"`
	Servicestate          string                                        `json:"servicestate"`
	State                 string                                        `json:"state"`
	Tags                  []Tags                                        `json:"tags"`
	Templatedisplaytext   string                                        `json:"templatedisplaytext"`
	Templateid            string                                        `json:"templateid"`
	Templatename          string                                        `json:"templatename"`
	Userid                string                                        `json:"userid"`
	Username              string                                        `json:"username"`
	Vgpu                  string                                        `json:"vgpu"`
	Zoneid                string                                        `json:"zoneid"`
	Zonename              string                                        `json:"zonename"`
}

func (*AddNicToVirtualMachineResponse) UnmarshalJSON

func (r *AddNicToVirtualMachineResponse) UnmarshalJSON(b []byte) error

type AddNicToVirtualMachineResponseAffinitygroup

type AddNicToVirtualMachineResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type AddNicToVirtualMachineResponseSecuritygroup

type AddNicToVirtualMachineResponseSecuritygroup struct {
	Account             string                                            `json:"account"`
	Description         string                                            `json:"description"`
	Domain              string                                            `json:"domain"`
	Domainid            string                                            `json:"domainid"`
	Egressrule          []AddNicToVirtualMachineResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                                            `json:"id"`
	Ingressrule         []AddNicToVirtualMachineResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                                            `json:"name"`
	Project             string                                            `json:"project"`
	Projectid           string                                            `json:"projectid"`
	Tags                []Tags                                            `json:"tags"`
	Virtualmachinecount int                                               `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                                     `json:"virtualmachineids"`
}

type AddNicToVirtualMachineResponseSecuritygroupRule

type AddNicToVirtualMachineResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type AddNiciraNvpDeviceParams

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

func (*AddNiciraNvpDeviceParams) SetHostname

func (p *AddNiciraNvpDeviceParams) SetHostname(v string)

func (*AddNiciraNvpDeviceParams) SetL2gatewayserviceuuid

func (p *AddNiciraNvpDeviceParams) SetL2gatewayserviceuuid(v string)

func (*AddNiciraNvpDeviceParams) SetL3gatewayserviceuuid

func (p *AddNiciraNvpDeviceParams) SetL3gatewayserviceuuid(v string)

func (*AddNiciraNvpDeviceParams) SetPassword

func (p *AddNiciraNvpDeviceParams) SetPassword(v string)

func (*AddNiciraNvpDeviceParams) SetPhysicalnetworkid

func (p *AddNiciraNvpDeviceParams) SetPhysicalnetworkid(v string)

func (*AddNiciraNvpDeviceParams) SetTransportzoneuuid

func (p *AddNiciraNvpDeviceParams) SetTransportzoneuuid(v string)

func (*AddNiciraNvpDeviceParams) SetUsername

func (p *AddNiciraNvpDeviceParams) SetUsername(v string)

type AddNiciraNvpDeviceResponse

type AddNiciraNvpDeviceResponse struct {
	Hostname             string `json:"hostname"`
	JobID                string `json:"jobid"`
	Jobstatus            int    `json:"jobstatus"`
	L2gatewayserviceuuid string `json:"l2gatewayserviceuuid"`
	L3gatewayserviceuuid string `json:"l3gatewayserviceuuid"`
	Niciradevicename     string `json:"niciradevicename"`
	Nvpdeviceid          string `json:"nvpdeviceid"`
	Physicalnetworkid    string `json:"physicalnetworkid"`
	Provider             string `json:"provider"`
	Transportzoneuuid    string `json:"transportzoneuuid"`
}

type AddNuageVspDeviceParams

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

func (*AddNuageVspDeviceParams) SetApiversion

func (p *AddNuageVspDeviceParams) SetApiversion(v string)

func (*AddNuageVspDeviceParams) SetHostname

func (p *AddNuageVspDeviceParams) SetHostname(v string)

func (*AddNuageVspDeviceParams) SetPassword

func (p *AddNuageVspDeviceParams) SetPassword(v string)

func (*AddNuageVspDeviceParams) SetPhysicalnetworkid

func (p *AddNuageVspDeviceParams) SetPhysicalnetworkid(v string)

func (*AddNuageVspDeviceParams) SetPort

func (p *AddNuageVspDeviceParams) SetPort(v int)

func (*AddNuageVspDeviceParams) SetRetrycount

func (p *AddNuageVspDeviceParams) SetRetrycount(v int)

func (*AddNuageVspDeviceParams) SetRetryinterval

func (p *AddNuageVspDeviceParams) SetRetryinterval(v int64)

func (*AddNuageVspDeviceParams) SetUsername

func (p *AddNuageVspDeviceParams) SetUsername(v string)

type AddNuageVspDeviceResponse

type AddNuageVspDeviceResponse struct {
	Apiversion        string `json:"apiversion"`
	Cmsid             string `json:"cmsid"`
	Hostname          string `json:"hostname"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Nuagedevicename   string `json:"nuagedevicename"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Port              int    `json:"port"`
	Provider          string `json:"provider"`
	Retrycount        int    `json:"retrycount"`
	Retryinterval     int64  `json:"retryinterval"`
	Vspdeviceid       string `json:"vspdeviceid"`
}

type AddOpenDaylightControllerParams

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

func (*AddOpenDaylightControllerParams) SetPassword

func (p *AddOpenDaylightControllerParams) SetPassword(v string)

func (*AddOpenDaylightControllerParams) SetPhysicalnetworkid

func (p *AddOpenDaylightControllerParams) SetPhysicalnetworkid(v string)

func (*AddOpenDaylightControllerParams) SetUrl

func (*AddOpenDaylightControllerParams) SetUsername

func (p *AddOpenDaylightControllerParams) SetUsername(v string)

type AddOpenDaylightControllerResponse

type AddOpenDaylightControllerResponse struct {
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Name              string `json:"name"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Url               string `json:"url"`
	Username          string `json:"username"`
}

type AddPaloAltoFirewallParams

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

func (*AddPaloAltoFirewallParams) SetNetworkdevicetype

func (p *AddPaloAltoFirewallParams) SetNetworkdevicetype(v string)

func (*AddPaloAltoFirewallParams) SetPassword

func (p *AddPaloAltoFirewallParams) SetPassword(v string)

func (*AddPaloAltoFirewallParams) SetPhysicalnetworkid

func (p *AddPaloAltoFirewallParams) SetPhysicalnetworkid(v string)

func (*AddPaloAltoFirewallParams) SetUrl

func (p *AddPaloAltoFirewallParams) SetUrl(v string)

func (*AddPaloAltoFirewallParams) SetUsername

func (p *AddPaloAltoFirewallParams) SetUsername(v string)

type AddPaloAltoFirewallResponse

type AddPaloAltoFirewallResponse struct {
	Fwdevicecapacity  int64  `json:"fwdevicecapacity"`
	Fwdeviceid        string `json:"fwdeviceid"`
	Fwdevicename      string `json:"fwdevicename"`
	Fwdevicestate     string `json:"fwdevicestate"`
	Ipaddress         string `json:"ipaddress"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Numretries        string `json:"numretries"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Privateinterface  string `json:"privateinterface"`
	Privatezone       string `json:"privatezone"`
	Provider          string `json:"provider"`
	Publicinterface   string `json:"publicinterface"`
	Publiczone        string `json:"publiczone"`
	Timeout           string `json:"timeout"`
	Usageinterface    string `json:"usageinterface"`
	Username          string `json:"username"`
	Zoneid            string `json:"zoneid"`
}

type AddRegionParams

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

func (*AddRegionParams) SetEndpoint

func (p *AddRegionParams) SetEndpoint(v string)

func (*AddRegionParams) SetId

func (p *AddRegionParams) SetId(v int)

func (*AddRegionParams) SetName

func (p *AddRegionParams) SetName(v string)

type AddRegionResponse

type AddRegionResponse struct {
	Endpoint                 string `json:"endpoint"`
	Gslbserviceenabled       bool   `json:"gslbserviceenabled"`
	Id                       int    `json:"id"`
	JobID                    string `json:"jobid"`
	Jobstatus                int    `json:"jobstatus"`
	Name                     string `json:"name"`
	Portableipserviceenabled bool   `json:"portableipserviceenabled"`
}

type AddResourceDetailParams

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

func (*AddResourceDetailParams) SetDetails

func (p *AddResourceDetailParams) SetDetails(v map[string]string)

func (*AddResourceDetailParams) SetFordisplay

func (p *AddResourceDetailParams) SetFordisplay(v bool)

func (*AddResourceDetailParams) SetResourceid

func (p *AddResourceDetailParams) SetResourceid(v string)

func (*AddResourceDetailParams) SetResourcetype

func (p *AddResourceDetailParams) SetResourcetype(v string)

type AddResourceDetailResponse

type AddResourceDetailResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type AddSecondaryStorageParams

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

func (*AddSecondaryStorageParams) SetUrl

func (p *AddSecondaryStorageParams) SetUrl(v string)

func (*AddSecondaryStorageParams) SetZoneid

func (p *AddSecondaryStorageParams) SetZoneid(v string)

type AddSecondaryStorageResponse

type AddSecondaryStorageResponse struct {
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Name         string `json:"name"`
	Protocol     string `json:"protocol"`
	Providername string `json:"providername"`
	Scope        string `json:"scope"`
	Url          string `json:"url"`
	Zoneid       string `json:"zoneid"`
	Zonename     string `json:"zonename"`
}

type AddStratosphereSspParams

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

func (*AddStratosphereSspParams) SetName

func (p *AddStratosphereSspParams) SetName(v string)

func (*AddStratosphereSspParams) SetPassword

func (p *AddStratosphereSspParams) SetPassword(v string)

func (*AddStratosphereSspParams) SetTenantuuid

func (p *AddStratosphereSspParams) SetTenantuuid(v string)

func (*AddStratosphereSspParams) SetUrl

func (p *AddStratosphereSspParams) SetUrl(v string)

func (*AddStratosphereSspParams) SetUsername

func (p *AddStratosphereSspParams) SetUsername(v string)

func (*AddStratosphereSspParams) SetZoneid

func (p *AddStratosphereSspParams) SetZoneid(v string)

type AddStratosphereSspResponse

type AddStratosphereSspResponse struct {
	Hostid    string `json:"hostid"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
	Url       string `json:"url"`
	Zoneid    string `json:"zoneid"`
}

type AddSwiftParams

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

func (*AddSwiftParams) SetAccount

func (p *AddSwiftParams) SetAccount(v string)

func (*AddSwiftParams) SetKey

func (p *AddSwiftParams) SetKey(v string)

func (*AddSwiftParams) SetUrl

func (p *AddSwiftParams) SetUrl(v string)

func (*AddSwiftParams) SetUsername

func (p *AddSwiftParams) SetUsername(v string)

type AddSwiftResponse

type AddSwiftResponse struct {
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Name         string `json:"name"`
	Protocol     string `json:"protocol"`
	Providername string `json:"providername"`
	Scope        string `json:"scope"`
	Url          string `json:"url"`
	Zoneid       string `json:"zoneid"`
	Zonename     string `json:"zonename"`
}

type AddTrafficMonitorParams

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

func (*AddTrafficMonitorParams) SetExcludezones

func (p *AddTrafficMonitorParams) SetExcludezones(v string)

func (*AddTrafficMonitorParams) SetIncludezones

func (p *AddTrafficMonitorParams) SetIncludezones(v string)

func (*AddTrafficMonitorParams) SetUrl

func (p *AddTrafficMonitorParams) SetUrl(v string)

func (*AddTrafficMonitorParams) SetZoneid

func (p *AddTrafficMonitorParams) SetZoneid(v string)

type AddTrafficMonitorResponse

type AddTrafficMonitorResponse struct {
	Id         string `json:"id"`
	Ipaddress  string `json:"ipaddress"`
	JobID      string `json:"jobid"`
	Jobstatus  int    `json:"jobstatus"`
	Numretries string `json:"numretries"`
	Timeout    string `json:"timeout"`
	Zoneid     string `json:"zoneid"`
}

type AddTrafficTypeParams

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

func (*AddTrafficTypeParams) SetHypervnetworklabel

func (p *AddTrafficTypeParams) SetHypervnetworklabel(v string)

func (*AddTrafficTypeParams) SetIsolationmethod

func (p *AddTrafficTypeParams) SetIsolationmethod(v string)

func (*AddTrafficTypeParams) SetKvmnetworklabel

func (p *AddTrafficTypeParams) SetKvmnetworklabel(v string)

func (*AddTrafficTypeParams) SetOvm3networklabel

func (p *AddTrafficTypeParams) SetOvm3networklabel(v string)

func (*AddTrafficTypeParams) SetPhysicalnetworkid

func (p *AddTrafficTypeParams) SetPhysicalnetworkid(v string)

func (*AddTrafficTypeParams) SetTraffictype

func (p *AddTrafficTypeParams) SetTraffictype(v string)

func (*AddTrafficTypeParams) SetVlan

func (p *AddTrafficTypeParams) SetVlan(v string)

func (*AddTrafficTypeParams) SetVmwarenetworklabel

func (p *AddTrafficTypeParams) SetVmwarenetworklabel(v string)

func (*AddTrafficTypeParams) SetXennetworklabel

func (p *AddTrafficTypeParams) SetXennetworklabel(v string)

type AddTrafficTypeResponse

type AddTrafficTypeResponse struct {
	Hypervnetworklabel string `json:"hypervnetworklabel"`
	Id                 string `json:"id"`
	JobID              string `json:"jobid"`
	Jobstatus          int    `json:"jobstatus"`
	Kvmnetworklabel    string `json:"kvmnetworklabel"`
	Ovm3networklabel   string `json:"ovm3networklabel"`
	Physicalnetworkid  string `json:"physicalnetworkid"`
	Traffictype        string `json:"traffictype"`
	Vmwarenetworklabel string `json:"vmwarenetworklabel"`
	Xennetworklabel    string `json:"xennetworklabel"`
}

type AddUcsManagerParams

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

func (*AddUcsManagerParams) SetName

func (p *AddUcsManagerParams) SetName(v string)

func (*AddUcsManagerParams) SetPassword

func (p *AddUcsManagerParams) SetPassword(v string)

func (*AddUcsManagerParams) SetUrl

func (p *AddUcsManagerParams) SetUrl(v string)

func (*AddUcsManagerParams) SetUsername

func (p *AddUcsManagerParams) SetUsername(v string)

func (*AddUcsManagerParams) SetZoneid

func (p *AddUcsManagerParams) SetZoneid(v string)

type AddUcsManagerResponse

type AddUcsManagerResponse struct {
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
	Url       string `json:"url"`
	Zoneid    string `json:"zoneid"`
}

type AddVpnUserParams

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

func (*AddVpnUserParams) SetAccount

func (p *AddVpnUserParams) SetAccount(v string)

func (*AddVpnUserParams) SetDomainid

func (p *AddVpnUserParams) SetDomainid(v string)

func (*AddVpnUserParams) SetPassword

func (p *AddVpnUserParams) SetPassword(v string)

func (*AddVpnUserParams) SetProjectid

func (p *AddVpnUserParams) SetProjectid(v string)

func (*AddVpnUserParams) SetUsername

func (p *AddVpnUserParams) SetUsername(v string)

type AddVpnUserResponse

type AddVpnUserResponse struct {
	Account   string `json:"account"`
	Domain    string `json:"domain"`
	Domainid  string `json:"domainid"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Project   string `json:"project"`
	Projectid string `json:"projectid"`
	State     string `json:"state"`
	Username  string `json:"username"`
}

type AddressService

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

func NewAddressService

func NewAddressService(cs *CloudStackClient) *AddressService

func (*AddressService) AssociateIpAddress

Acquires and associates a public IP to an account. Either of the parameters are required, i.e. either zoneId, or networkId, or vpcId

func (*AddressService) DisassociateIpAddress

Disassociates an IP address from the account.

func (*AddressService) GetPublicIpAddressByID

func (s *AddressService) GetPublicIpAddressByID(id string, opts ...OptionFunc) (*PublicIpAddress, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AddressService) ListPublicIpAddresses

Lists all public ip addresses

func (*AddressService) NewAssociateIpAddressParams

func (s *AddressService) NewAssociateIpAddressParams() *AssociateIpAddressParams

You should always use this function to get a new AssociateIpAddressParams instance, as then you are sure you have configured all required params

func (*AddressService) NewDisassociateIpAddressParams

func (s *AddressService) NewDisassociateIpAddressParams(id string) *DisassociateIpAddressParams

You should always use this function to get a new DisassociateIpAddressParams instance, as then you are sure you have configured all required params

func (*AddressService) NewListPublicIpAddressesParams

func (s *AddressService) NewListPublicIpAddressesParams() *ListPublicIpAddressesParams

You should always use this function to get a new ListPublicIpAddressesParams instance, as then you are sure you have configured all required params

func (*AddressService) NewUpdateIpAddressParams

func (s *AddressService) NewUpdateIpAddressParams(id string) *UpdateIpAddressParams

You should always use this function to get a new UpdateIpAddressParams instance, as then you are sure you have configured all required params

func (*AddressService) UpdateIpAddress

Updates an IP address

type AffinityGroup

type AffinityGroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	JobID             string   `json:"jobid"`
	Jobstatus         int      `json:"jobstatus"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type AffinityGroupService

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

func NewAffinityGroupService

func NewAffinityGroupService(cs *CloudStackClient) *AffinityGroupService

func (*AffinityGroupService) CreateAffinityGroup

Creates an affinity/anti-affinity group

func (*AffinityGroupService) DeleteAffinityGroup

Deletes affinity group

func (*AffinityGroupService) GetAffinityGroupByID

func (s *AffinityGroupService) GetAffinityGroupByID(id string, opts ...OptionFunc) (*AffinityGroup, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AffinityGroupService) GetAffinityGroupByName

func (s *AffinityGroupService) GetAffinityGroupByName(name string, opts ...OptionFunc) (*AffinityGroup, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AffinityGroupService) GetAffinityGroupID

func (s *AffinityGroupService) GetAffinityGroupID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AffinityGroupService) ListAffinityGroupTypes

Lists affinity group types available

func (*AffinityGroupService) ListAffinityGroups

Lists affinity groups

func (*AffinityGroupService) NewCreateAffinityGroupParams

func (s *AffinityGroupService) NewCreateAffinityGroupParams(name string, affinityGroupType string) *CreateAffinityGroupParams

You should always use this function to get a new CreateAffinityGroupParams instance, as then you are sure you have configured all required params

func (*AffinityGroupService) NewDeleteAffinityGroupParams

func (s *AffinityGroupService) NewDeleteAffinityGroupParams() *DeleteAffinityGroupParams

You should always use this function to get a new DeleteAffinityGroupParams instance, as then you are sure you have configured all required params

func (*AffinityGroupService) NewListAffinityGroupTypesParams

func (s *AffinityGroupService) NewListAffinityGroupTypesParams() *ListAffinityGroupTypesParams

You should always use this function to get a new ListAffinityGroupTypesParams instance, as then you are sure you have configured all required params

func (*AffinityGroupService) NewListAffinityGroupsParams

func (s *AffinityGroupService) NewListAffinityGroupsParams() *ListAffinityGroupsParams

You should always use this function to get a new ListAffinityGroupsParams instance, as then you are sure you have configured all required params

func (*AffinityGroupService) NewUpdateVMAffinityGroupParams

func (s *AffinityGroupService) NewUpdateVMAffinityGroupParams(id string) *UpdateVMAffinityGroupParams

You should always use this function to get a new UpdateVMAffinityGroupParams instance, as then you are sure you have configured all required params

func (*AffinityGroupService) UpdateVMAffinityGroup

Updates the affinity/anti-affinity group associations of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect.

type AffinityGroupType

type AffinityGroupType struct {
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Type      string `json:"type"`
}

type Alert

type Alert struct {
	Description string `json:"description"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Sent        string `json:"sent"`
	Type        int    `json:"type"`
}

type AlertService

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

func NewAlertService

func NewAlertService(cs *CloudStackClient) *AlertService

func (*AlertService) ArchiveAlerts

Archive one or more alerts.

func (*AlertService) DeleteAlerts

Delete one or more alerts.

func (*AlertService) GenerateAlert

Generates an alert

func (*AlertService) GetAlertByID

func (s *AlertService) GetAlertByID(id string, opts ...OptionFunc) (*Alert, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AlertService) GetAlertByName

func (s *AlertService) GetAlertByName(name string, opts ...OptionFunc) (*Alert, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AlertService) GetAlertID

func (s *AlertService) GetAlertID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AlertService) ListAlerts

func (s *AlertService) ListAlerts(p *ListAlertsParams) (*ListAlertsResponse, error)

Lists all alerts.

func (*AlertService) NewArchiveAlertsParams

func (s *AlertService) NewArchiveAlertsParams() *ArchiveAlertsParams

You should always use this function to get a new ArchiveAlertsParams instance, as then you are sure you have configured all required params

func (*AlertService) NewDeleteAlertsParams

func (s *AlertService) NewDeleteAlertsParams() *DeleteAlertsParams

You should always use this function to get a new DeleteAlertsParams instance, as then you are sure you have configured all required params

func (*AlertService) NewGenerateAlertParams

func (s *AlertService) NewGenerateAlertParams(description string, name string, alertType int) *GenerateAlertParams

You should always use this function to get a new GenerateAlertParams instance, as then you are sure you have configured all required params

func (*AlertService) NewListAlertsParams

func (s *AlertService) NewListAlertsParams() *ListAlertsParams

You should always use this function to get a new ListAlertsParams instance, as then you are sure you have configured all required params

type Api

type Api struct {
	Description string        `json:"description"`
	Isasync     bool          `json:"isasync"`
	JobID       string        `json:"jobid"`
	Jobstatus   int           `json:"jobstatus"`
	Name        string        `json:"name"`
	Params      []ApiParams   `json:"params"`
	Related     string        `json:"related"`
	Response    []ApiResponse `json:"response"`
	Since       string        `json:"since"`
	Type        string        `json:"type"`
}

type ApiParams

type ApiParams struct {
	Description string `json:"description"`
	Length      int    `json:"length"`
	Name        string `json:"name"`
	Related     string `json:"related"`
	Required    bool   `json:"required"`
	Since       string `json:"since"`
	Type        string `json:"type"`
}

type ApiResponse

type ApiResponse struct {
	Description string        `json:"description"`
	Name        string        `json:"name"`
	Response    []interface{} `json:"response"`
	Type        string        `json:"type"`
}

type ArchiveAlertsParams

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

func (*ArchiveAlertsParams) SetEnddate

func (p *ArchiveAlertsParams) SetEnddate(v string)

func (*ArchiveAlertsParams) SetIds

func (p *ArchiveAlertsParams) SetIds(v []string)

func (*ArchiveAlertsParams) SetStartdate

func (p *ArchiveAlertsParams) SetStartdate(v string)

func (*ArchiveAlertsParams) SetType

func (p *ArchiveAlertsParams) SetType(v string)

type ArchiveAlertsResponse

type ArchiveAlertsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*ArchiveAlertsResponse) UnmarshalJSON

func (r *ArchiveAlertsResponse) UnmarshalJSON(b []byte) error

type ArchiveEventsParams

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

func (*ArchiveEventsParams) SetEnddate

func (p *ArchiveEventsParams) SetEnddate(v string)

func (*ArchiveEventsParams) SetIds

func (p *ArchiveEventsParams) SetIds(v []string)

func (*ArchiveEventsParams) SetStartdate

func (p *ArchiveEventsParams) SetStartdate(v string)

func (*ArchiveEventsParams) SetType

func (p *ArchiveEventsParams) SetType(v string)

type ArchiveEventsResponse

type ArchiveEventsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*ArchiveEventsResponse) UnmarshalJSON

func (r *ArchiveEventsResponse) UnmarshalJSON(b []byte) error

type AssignCertToLoadBalancerParams

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

func (*AssignCertToLoadBalancerParams) SetCertid

func (p *AssignCertToLoadBalancerParams) SetCertid(v string)

func (*AssignCertToLoadBalancerParams) SetLbruleid

func (p *AssignCertToLoadBalancerParams) SetLbruleid(v string)

type AssignCertToLoadBalancerResponse

type AssignCertToLoadBalancerResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type AssignToGlobalLoadBalancerRuleParams

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

func (*AssignToGlobalLoadBalancerRuleParams) SetGslblbruleweightsmap

func (p *AssignToGlobalLoadBalancerRuleParams) SetGslblbruleweightsmap(v map[string]string)

func (*AssignToGlobalLoadBalancerRuleParams) SetId

func (*AssignToGlobalLoadBalancerRuleParams) SetLoadbalancerrulelist

func (p *AssignToGlobalLoadBalancerRuleParams) SetLoadbalancerrulelist(v []string)

type AssignToGlobalLoadBalancerRuleResponse

type AssignToGlobalLoadBalancerRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type AssignToLoadBalancerRuleParams

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

func (*AssignToLoadBalancerRuleParams) SetId

func (*AssignToLoadBalancerRuleParams) SetVirtualmachineids

func (p *AssignToLoadBalancerRuleParams) SetVirtualmachineids(v []string)

func (*AssignToLoadBalancerRuleParams) SetVmidipmap

func (p *AssignToLoadBalancerRuleParams) SetVmidipmap(v map[string]string)

type AssignToLoadBalancerRuleResponse

type AssignToLoadBalancerRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type AssignVirtualMachineParams

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

func (*AssignVirtualMachineParams) SetAccount

func (p *AssignVirtualMachineParams) SetAccount(v string)

func (*AssignVirtualMachineParams) SetDomainid

func (p *AssignVirtualMachineParams) SetDomainid(v string)

func (*AssignVirtualMachineParams) SetNetworkids

func (p *AssignVirtualMachineParams) SetNetworkids(v []string)

func (*AssignVirtualMachineParams) SetProjectid

func (p *AssignVirtualMachineParams) SetProjectid(v string)

func (*AssignVirtualMachineParams) SetSecuritygroupids

func (p *AssignVirtualMachineParams) SetSecuritygroupids(v []string)

func (*AssignVirtualMachineParams) SetVirtualmachineid

func (p *AssignVirtualMachineParams) SetVirtualmachineid(v string)

type AssignVirtualMachineResponse

type AssignVirtualMachineResponse struct {
	Account               string                                      `json:"account"`
	Affinitygroup         []AssignVirtualMachineResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                                         `json:"cpunumber"`
	Cpuspeed              int                                         `json:"cpuspeed"`
	Cpuused               string                                      `json:"cpuused"`
	Created               string                                      `json:"created"`
	Details               map[string]string                           `json:"details"`
	Diskioread            int64                                       `json:"diskioread"`
	Diskiowrite           int64                                       `json:"diskiowrite"`
	Diskkbsread           int64                                       `json:"diskkbsread"`
	Diskkbswrite          int64                                       `json:"diskkbswrite"`
	Diskofferingid        string                                      `json:"diskofferingid"`
	Diskofferingname      string                                      `json:"diskofferingname"`
	Displayname           string                                      `json:"displayname"`
	Displayvm             bool                                        `json:"displayvm"`
	Domain                string                                      `json:"domain"`
	Domainid              string                                      `json:"domainid"`
	Forvirtualnetwork     bool                                        `json:"forvirtualnetwork"`
	Group                 string                                      `json:"group"`
	Groupid               string                                      `json:"groupid"`
	Guestosid             string                                      `json:"guestosid"`
	Haenable              bool                                        `json:"haenable"`
	Hostid                string                                      `json:"hostid"`
	Hostname              string                                      `json:"hostname"`
	Hypervisor            string                                      `json:"hypervisor"`
	Id                    string                                      `json:"id"`
	Instancename          string                                      `json:"instancename"`
	Isdynamicallyscalable bool                                        `json:"isdynamicallyscalable"`
	Isodisplaytext        string                                      `json:"isodisplaytext"`
	Isoid                 string                                      `json:"isoid"`
	Isoname               string                                      `json:"isoname"`
	JobID                 string                                      `json:"jobid"`
	Jobstatus             int                                         `json:"jobstatus"`
	Keypair               string                                      `json:"keypair"`
	Memory                int                                         `json:"memory"`
	Memoryintfreekbs      int64                                       `json:"memoryintfreekbs"`
	Memorykbs             int64                                       `json:"memorykbs"`
	Memorytargetkbs       int64                                       `json:"memorytargetkbs"`
	Name                  string                                      `json:"name"`
	Networkkbsread        int64                                       `json:"networkkbsread"`
	Networkkbswrite       int64                                       `json:"networkkbswrite"`
	Nic                   []Nic                                       `json:"nic"`
	Ostypeid              string                                      `json:"ostypeid"`
	Password              string                                      `json:"password"`
	Passwordenabled       bool                                        `json:"passwordenabled"`
	Project               string                                      `json:"project"`
	Projectid             string                                      `json:"projectid"`
	Publicip              string                                      `json:"publicip"`
	Publicipid            string                                      `json:"publicipid"`
	Rootdeviceid          int64                                       `json:"rootdeviceid"`
	Rootdevicetype        string                                      `json:"rootdevicetype"`
	Securitygroup         []AssignVirtualMachineResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                                      `json:"serviceofferingid"`
	Serviceofferingname   string                                      `json:"serviceofferingname"`
	Servicestate          string                                      `json:"servicestate"`
	State                 string                                      `json:"state"`
	Tags                  []Tags                                      `json:"tags"`
	Templatedisplaytext   string                                      `json:"templatedisplaytext"`
	Templateid            string                                      `json:"templateid"`
	Templatename          string                                      `json:"templatename"`
	Userid                string                                      `json:"userid"`
	Username              string                                      `json:"username"`
	Vgpu                  string                                      `json:"vgpu"`
	Zoneid                string                                      `json:"zoneid"`
	Zonename              string                                      `json:"zonename"`
}

func (*AssignVirtualMachineResponse) UnmarshalJSON

func (r *AssignVirtualMachineResponse) UnmarshalJSON(b []byte) error

type AssignVirtualMachineResponseAffinitygroup

type AssignVirtualMachineResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type AssignVirtualMachineResponseSecuritygroup

type AssignVirtualMachineResponseSecuritygroup struct {
	Account             string                                          `json:"account"`
	Description         string                                          `json:"description"`
	Domain              string                                          `json:"domain"`
	Domainid            string                                          `json:"domainid"`
	Egressrule          []AssignVirtualMachineResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                                          `json:"id"`
	Ingressrule         []AssignVirtualMachineResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                                          `json:"name"`
	Project             string                                          `json:"project"`
	Projectid           string                                          `json:"projectid"`
	Tags                []Tags                                          `json:"tags"`
	Virtualmachinecount int                                             `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                                   `json:"virtualmachineids"`
}

type AssignVirtualMachineResponseSecuritygroupRule

type AssignVirtualMachineResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type AssociateIpAddressParams

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

func (*AssociateIpAddressParams) SetAccount

func (p *AssociateIpAddressParams) SetAccount(v string)

func (*AssociateIpAddressParams) SetDomainid

func (p *AssociateIpAddressParams) SetDomainid(v string)

func (*AssociateIpAddressParams) SetFordisplay

func (p *AssociateIpAddressParams) SetFordisplay(v bool)

func (*AssociateIpAddressParams) SetIsportable

func (p *AssociateIpAddressParams) SetIsportable(v bool)

func (*AssociateIpAddressParams) SetNetworkid

func (p *AssociateIpAddressParams) SetNetworkid(v string)

func (*AssociateIpAddressParams) SetProjectid

func (p *AssociateIpAddressParams) SetProjectid(v string)

func (*AssociateIpAddressParams) SetRegionid

func (p *AssociateIpAddressParams) SetRegionid(v int)

func (*AssociateIpAddressParams) SetVpcid

func (p *AssociateIpAddressParams) SetVpcid(v string)

func (*AssociateIpAddressParams) SetZoneid

func (p *AssociateIpAddressParams) SetZoneid(v string)

type AssociateIpAddressResponse

type AssociateIpAddressResponse struct {
	Account                   string `json:"account"`
	Allocated                 string `json:"allocated"`
	Associatednetworkid       string `json:"associatednetworkid"`
	Associatednetworkname     string `json:"associatednetworkname"`
	Domain                    string `json:"domain"`
	Domainid                  string `json:"domainid"`
	Fordisplay                bool   `json:"fordisplay"`
	Forvirtualnetwork         bool   `json:"forvirtualnetwork"`
	Id                        string `json:"id"`
	Ipaddress                 string `json:"ipaddress"`
	Isportable                bool   `json:"isportable"`
	Issourcenat               bool   `json:"issourcenat"`
	Isstaticnat               bool   `json:"isstaticnat"`
	Issystem                  bool   `json:"issystem"`
	JobID                     string `json:"jobid"`
	Jobstatus                 int    `json:"jobstatus"`
	Networkid                 string `json:"networkid"`
	Physicalnetworkid         string `json:"physicalnetworkid"`
	Project                   string `json:"project"`
	Projectid                 string `json:"projectid"`
	Purpose                   string `json:"purpose"`
	State                     string `json:"state"`
	Tags                      []Tags `json:"tags"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname"`
	Virtualmachineid          string `json:"virtualmachineid"`
	Virtualmachinename        string `json:"virtualmachinename"`
	Vlanid                    string `json:"vlanid"`
	Vlanname                  string `json:"vlanname"`
	Vmipaddress               string `json:"vmipaddress"`
	Vpcid                     string `json:"vpcid"`
	Zoneid                    string `json:"zoneid"`
	Zonename                  string `json:"zonename"`
}

type AssociateUcsProfileToBladeParams

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

func (*AssociateUcsProfileToBladeParams) SetBladeid

func (p *AssociateUcsProfileToBladeParams) SetBladeid(v string)

func (*AssociateUcsProfileToBladeParams) SetProfiledn

func (p *AssociateUcsProfileToBladeParams) SetProfiledn(v string)

func (*AssociateUcsProfileToBladeParams) SetUcsmanagerid

func (p *AssociateUcsProfileToBladeParams) SetUcsmanagerid(v string)

type AssociateUcsProfileToBladeResponse

type AssociateUcsProfileToBladeResponse struct {
	Bladedn      string `json:"bladedn"`
	Hostid       string `json:"hostid"`
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Profiledn    string `json:"profiledn"`
	Ucsmanagerid string `json:"ucsmanagerid"`
}

type AsyncJob

type AsyncJob struct {
	Accountid       string          `json:"accountid"`
	Cmd             string          `json:"cmd"`
	Completed       string          `json:"completed"`
	Created         string          `json:"created"`
	JobID           string          `json:"jobid"`
	Jobinstanceid   string          `json:"jobinstanceid"`
	Jobinstancetype string          `json:"jobinstancetype"`
	Jobprocstatus   int             `json:"jobprocstatus"`
	Jobresult       json.RawMessage `json:"jobresult"`
	Jobresultcode   int             `json:"jobresultcode"`
	Jobresulttype   string          `json:"jobresulttype"`
	Jobstatus       int             `json:"jobstatus"`
	Userid          string          `json:"userid"`
}

type AsyncjobService

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

func NewAsyncjobService

func NewAsyncjobService(cs *CloudStackClient) *AsyncjobService

func (*AsyncjobService) ListAsyncJobs

Lists all pending asynchronous jobs for the account.

func (*AsyncjobService) NewListAsyncJobsParams

func (s *AsyncjobService) NewListAsyncJobsParams() *ListAsyncJobsParams

You should always use this function to get a new ListAsyncJobsParams instance, as then you are sure you have configured all required params

func (*AsyncjobService) NewQueryAsyncJobResultParams

func (s *AsyncjobService) NewQueryAsyncJobResultParams(jobid string) *QueryAsyncJobResultParams

You should always use this function to get a new QueryAsyncJobResultParams instance, as then you are sure you have configured all required params

func (*AsyncjobService) QueryAsyncJobResult

Retrieves the current status of asynchronous job.

type AttachIsoParams

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

func (*AttachIsoParams) SetId

func (p *AttachIsoParams) SetId(v string)

func (*AttachIsoParams) SetVirtualmachineid

func (p *AttachIsoParams) SetVirtualmachineid(v string)

type AttachIsoResponse

type AttachIsoResponse struct {
	Account               string                           `json:"account"`
	Affinitygroup         []AttachIsoResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                              `json:"cpunumber"`
	Cpuspeed              int                              `json:"cpuspeed"`
	Cpuused               string                           `json:"cpuused"`
	Created               string                           `json:"created"`
	Details               map[string]string                `json:"details"`
	Diskioread            int64                            `json:"diskioread"`
	Diskiowrite           int64                            `json:"diskiowrite"`
	Diskkbsread           int64                            `json:"diskkbsread"`
	Diskkbswrite          int64                            `json:"diskkbswrite"`
	Diskofferingid        string                           `json:"diskofferingid"`
	Diskofferingname      string                           `json:"diskofferingname"`
	Displayname           string                           `json:"displayname"`
	Displayvm             bool                             `json:"displayvm"`
	Domain                string                           `json:"domain"`
	Domainid              string                           `json:"domainid"`
	Forvirtualnetwork     bool                             `json:"forvirtualnetwork"`
	Group                 string                           `json:"group"`
	Groupid               string                           `json:"groupid"`
	Guestosid             string                           `json:"guestosid"`
	Haenable              bool                             `json:"haenable"`
	Hostid                string                           `json:"hostid"`
	Hostname              string                           `json:"hostname"`
	Hypervisor            string                           `json:"hypervisor"`
	Id                    string                           `json:"id"`
	Instancename          string                           `json:"instancename"`
	Isdynamicallyscalable bool                             `json:"isdynamicallyscalable"`
	Isodisplaytext        string                           `json:"isodisplaytext"`
	Isoid                 string                           `json:"isoid"`
	Isoname               string                           `json:"isoname"`
	JobID                 string                           `json:"jobid"`
	Jobstatus             int                              `json:"jobstatus"`
	Keypair               string                           `json:"keypair"`
	Memory                int                              `json:"memory"`
	Memoryintfreekbs      int64                            `json:"memoryintfreekbs"`
	Memorykbs             int64                            `json:"memorykbs"`
	Memorytargetkbs       int64                            `json:"memorytargetkbs"`
	Name                  string                           `json:"name"`
	Networkkbsread        int64                            `json:"networkkbsread"`
	Networkkbswrite       int64                            `json:"networkkbswrite"`
	Nic                   []Nic                            `json:"nic"`
	Ostypeid              string                           `json:"ostypeid"`
	Password              string                           `json:"password"`
	Passwordenabled       bool                             `json:"passwordenabled"`
	Project               string                           `json:"project"`
	Projectid             string                           `json:"projectid"`
	Publicip              string                           `json:"publicip"`
	Publicipid            string                           `json:"publicipid"`
	Rootdeviceid          int64                            `json:"rootdeviceid"`
	Rootdevicetype        string                           `json:"rootdevicetype"`
	Securitygroup         []AttachIsoResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                           `json:"serviceofferingid"`
	Serviceofferingname   string                           `json:"serviceofferingname"`
	Servicestate          string                           `json:"servicestate"`
	State                 string                           `json:"state"`
	Tags                  []Tags                           `json:"tags"`
	Templatedisplaytext   string                           `json:"templatedisplaytext"`
	Templateid            string                           `json:"templateid"`
	Templatename          string                           `json:"templatename"`
	Userid                string                           `json:"userid"`
	Username              string                           `json:"username"`
	Vgpu                  string                           `json:"vgpu"`
	Zoneid                string                           `json:"zoneid"`
	Zonename              string                           `json:"zonename"`
}

func (*AttachIsoResponse) UnmarshalJSON

func (r *AttachIsoResponse) UnmarshalJSON(b []byte) error

type AttachIsoResponseAffinitygroup

type AttachIsoResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type AttachIsoResponseSecuritygroup

type AttachIsoResponseSecuritygroup struct {
	Account             string                               `json:"account"`
	Description         string                               `json:"description"`
	Domain              string                               `json:"domain"`
	Domainid            string                               `json:"domainid"`
	Egressrule          []AttachIsoResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                               `json:"id"`
	Ingressrule         []AttachIsoResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                               `json:"name"`
	Project             string                               `json:"project"`
	Projectid           string                               `json:"projectid"`
	Tags                []Tags                               `json:"tags"`
	Virtualmachinecount int                                  `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                        `json:"virtualmachineids"`
}

type AttachIsoResponseSecuritygroupRule

type AttachIsoResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type AttachVolumeParams

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

func (*AttachVolumeParams) SetDeviceid

func (p *AttachVolumeParams) SetDeviceid(v int64)

func (*AttachVolumeParams) SetId

func (p *AttachVolumeParams) SetId(v string)

func (*AttachVolumeParams) SetVirtualmachineid

func (p *AttachVolumeParams) SetVirtualmachineid(v string)

type AttachVolumeResponse

type AttachVolumeResponse struct {
	Account                    string `json:"account"`
	Attached                   string `json:"attached"`
	Chaininfo                  string `json:"chaininfo"`
	Clusterid                  string `json:"clusterid"`
	Clustername                string `json:"clustername"`
	Created                    string `json:"created"`
	Destroyed                  bool   `json:"destroyed"`
	Deviceid                   int64  `json:"deviceid"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext"`
	Diskofferingid             string `json:"diskofferingid"`
	Diskofferingname           string `json:"diskofferingname"`
	Displayvolume              bool   `json:"displayvolume"`
	Domain                     string `json:"domain"`
	Domainid                   string `json:"domainid"`
	Hypervisor                 string `json:"hypervisor"`
	Id                         string `json:"id"`
	Isextractable              bool   `json:"isextractable"`
	Isodisplaytext             string `json:"isodisplaytext"`
	Isoid                      string `json:"isoid"`
	Isoname                    string `json:"isoname"`
	JobID                      string `json:"jobid"`
	Jobstatus                  int    `json:"jobstatus"`
	Maxiops                    int64  `json:"maxiops"`
	Miniops                    int64  `json:"miniops"`
	Name                       string `json:"name"`
	Path                       string `json:"path"`
	Physicalsize               int64  `json:"physicalsize"`
	Podid                      string `json:"podid"`
	Podname                    string `json:"podname"`
	Project                    string `json:"project"`
	Projectid                  string `json:"projectid"`
	Provisioningtype           string `json:"provisioningtype"`
	Quiescevm                  bool   `json:"quiescevm"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext"`
	Serviceofferingid          string `json:"serviceofferingid"`
	Serviceofferingname        string `json:"serviceofferingname"`
	Size                       int64  `json:"size"`
	Snapshotid                 string `json:"snapshotid"`
	State                      string `json:"state"`
	Status                     string `json:"status"`
	Storage                    string `json:"storage"`
	Storageid                  string `json:"storageid"`
	Storagetype                string `json:"storagetype"`
	Tags                       []Tags `json:"tags"`
	Templatedisplaytext        string `json:"templatedisplaytext"`
	Templateid                 string `json:"templateid"`
	Templatename               string `json:"templatename"`
	Type                       string `json:"type"`
	Utilization                string `json:"utilization"`
	Virtualmachineid           string `json:"virtualmachineid"`
	Virtualsize                int64  `json:"virtualsize"`
	Vmdisplayname              string `json:"vmdisplayname"`
	Vmname                     string `json:"vmname"`
	Vmstate                    string `json:"vmstate"`
	Zoneid                     string `json:"zoneid"`
	Zonename                   string `json:"zonename"`
}

type AuthenticationService

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

func NewAuthenticationService

func NewAuthenticationService(cs *CloudStackClient) *AuthenticationService

func (*AuthenticationService) Login

Logs a user into the CloudStack. A successful login attempt will generate a JSESSIONID cookie value that can be passed in subsequent Query command calls until the "logout" command has been issued or the session has expired.

func (*AuthenticationService) Logout

Logs out the user

func (*AuthenticationService) NewLoginParams

func (s *AuthenticationService) NewLoginParams(password string, username string) *LoginParams

You should always use this function to get a new LoginParams instance, as then you are sure you have configured all required params

func (*AuthenticationService) NewLogoutParams

func (s *AuthenticationService) NewLogoutParams() *LogoutParams

You should always use this function to get a new LogoutParams instance, as then you are sure you have configured all required params

type AuthorizeSecurityGroupEgressParams

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

func (*AuthorizeSecurityGroupEgressParams) SetAccount

func (p *AuthorizeSecurityGroupEgressParams) SetAccount(v string)

func (*AuthorizeSecurityGroupEgressParams) SetCidrlist

func (p *AuthorizeSecurityGroupEgressParams) SetCidrlist(v []string)

func (*AuthorizeSecurityGroupEgressParams) SetDomainid

func (p *AuthorizeSecurityGroupEgressParams) SetDomainid(v string)

func (*AuthorizeSecurityGroupEgressParams) SetEndport

func (p *AuthorizeSecurityGroupEgressParams) SetEndport(v int)

func (*AuthorizeSecurityGroupEgressParams) SetIcmpcode

func (p *AuthorizeSecurityGroupEgressParams) SetIcmpcode(v int)

func (*AuthorizeSecurityGroupEgressParams) SetIcmptype

func (p *AuthorizeSecurityGroupEgressParams) SetIcmptype(v int)

func (*AuthorizeSecurityGroupEgressParams) SetProjectid

func (p *AuthorizeSecurityGroupEgressParams) SetProjectid(v string)

func (*AuthorizeSecurityGroupEgressParams) SetProtocol

func (p *AuthorizeSecurityGroupEgressParams) SetProtocol(v string)

func (*AuthorizeSecurityGroupEgressParams) SetSecuritygroupid

func (p *AuthorizeSecurityGroupEgressParams) SetSecuritygroupid(v string)

func (*AuthorizeSecurityGroupEgressParams) SetSecuritygroupname

func (p *AuthorizeSecurityGroupEgressParams) SetSecuritygroupname(v string)

func (*AuthorizeSecurityGroupEgressParams) SetStartport

func (p *AuthorizeSecurityGroupEgressParams) SetStartport(v int)

func (*AuthorizeSecurityGroupEgressParams) SetUsersecuritygrouplist

func (p *AuthorizeSecurityGroupEgressParams) SetUsersecuritygrouplist(v map[string]string)

type AuthorizeSecurityGroupEgressResponse

type AuthorizeSecurityGroupEgressResponse struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type AuthorizeSecurityGroupIngressParams

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

func (*AuthorizeSecurityGroupIngressParams) SetAccount

func (*AuthorizeSecurityGroupIngressParams) SetCidrlist

func (p *AuthorizeSecurityGroupIngressParams) SetCidrlist(v []string)

func (*AuthorizeSecurityGroupIngressParams) SetDomainid

func (p *AuthorizeSecurityGroupIngressParams) SetDomainid(v string)

func (*AuthorizeSecurityGroupIngressParams) SetEndport

func (p *AuthorizeSecurityGroupIngressParams) SetEndport(v int)

func (*AuthorizeSecurityGroupIngressParams) SetIcmpcode

func (p *AuthorizeSecurityGroupIngressParams) SetIcmpcode(v int)

func (*AuthorizeSecurityGroupIngressParams) SetIcmptype

func (p *AuthorizeSecurityGroupIngressParams) SetIcmptype(v int)

func (*AuthorizeSecurityGroupIngressParams) SetProjectid

func (p *AuthorizeSecurityGroupIngressParams) SetProjectid(v string)

func (*AuthorizeSecurityGroupIngressParams) SetProtocol

func (p *AuthorizeSecurityGroupIngressParams) SetProtocol(v string)

func (*AuthorizeSecurityGroupIngressParams) SetSecuritygroupid

func (p *AuthorizeSecurityGroupIngressParams) SetSecuritygroupid(v string)

func (*AuthorizeSecurityGroupIngressParams) SetSecuritygroupname

func (p *AuthorizeSecurityGroupIngressParams) SetSecuritygroupname(v string)

func (*AuthorizeSecurityGroupIngressParams) SetStartport

func (p *AuthorizeSecurityGroupIngressParams) SetStartport(v int)

func (*AuthorizeSecurityGroupIngressParams) SetUsersecuritygrouplist

func (p *AuthorizeSecurityGroupIngressParams) SetUsersecuritygrouplist(v map[string]string)

type AuthorizeSecurityGroupIngressResponse

type AuthorizeSecurityGroupIngressResponse struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type AutoScalePolicy

type AutoScalePolicy struct {
	Account    string   `json:"account"`
	Action     string   `json:"action"`
	Conditions []string `json:"conditions"`
	Domain     string   `json:"domain"`
	Domainid   string   `json:"domainid"`
	Duration   int      `json:"duration"`
	Id         string   `json:"id"`
	JobID      string   `json:"jobid"`
	Jobstatus  int      `json:"jobstatus"`
	Project    string   `json:"project"`
	Projectid  string   `json:"projectid"`
	Quiettime  int      `json:"quiettime"`
}

type AutoScaleService

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

func NewAutoScaleService

func NewAutoScaleService(cs *CloudStackClient) *AutoScaleService

func (*AutoScaleService) CreateAutoScalePolicy

Creates an autoscale policy for a provision or deprovision action, the action is taken when the all the conditions evaluates to true for the specified duration. The policy is in effect once it is attached to a autscale vm group.

func (*AutoScaleService) CreateAutoScaleVmGroup

Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.

func (*AutoScaleService) CreateAutoScaleVmProfile

Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature.

func (*AutoScaleService) CreateCondition

Creates a condition

func (*AutoScaleService) CreateCounter

Adds metric counter

func (*AutoScaleService) DeleteAutoScalePolicy

Deletes a autoscale policy.

func (*AutoScaleService) DeleteAutoScaleVmGroup

Deletes a autoscale vm group.

func (*AutoScaleService) DeleteAutoScaleVmProfile

Deletes a autoscale vm profile.

func (*AutoScaleService) DeleteCondition

Removes a condition

func (*AutoScaleService) DeleteCounter

Deletes a counter

func (*AutoScaleService) DisableAutoScaleVmGroup

Disables an AutoScale Vm Group

func (*AutoScaleService) EnableAutoScaleVmGroup

Enables an AutoScale Vm Group

func (*AutoScaleService) GetAutoScalePolicyByID

func (s *AutoScaleService) GetAutoScalePolicyByID(id string, opts ...OptionFunc) (*AutoScalePolicy, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) GetAutoScaleVmGroupByID

func (s *AutoScaleService) GetAutoScaleVmGroupByID(id string, opts ...OptionFunc) (*AutoScaleVmGroup, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) GetAutoScaleVmProfileByID

func (s *AutoScaleService) GetAutoScaleVmProfileByID(id string, opts ...OptionFunc) (*AutoScaleVmProfile, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) GetConditionByID

func (s *AutoScaleService) GetConditionByID(id string, opts ...OptionFunc) (*Condition, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) GetCounterByID

func (s *AutoScaleService) GetCounterByID(id string, opts ...OptionFunc) (*Counter, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) GetCounterByName

func (s *AutoScaleService) GetCounterByName(name string, opts ...OptionFunc) (*Counter, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) GetCounterID

func (s *AutoScaleService) GetCounterID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*AutoScaleService) ListAutoScalePolicies

Lists autoscale policies.

func (*AutoScaleService) ListAutoScaleVmGroups

Lists autoscale vm groups.

func (*AutoScaleService) ListAutoScaleVmProfiles

Lists autoscale vm profiles.

func (*AutoScaleService) ListConditions

List Conditions for the specific user

func (*AutoScaleService) ListCounters

List the counters

func (*AutoScaleService) NewCreateAutoScalePolicyParams

func (s *AutoScaleService) NewCreateAutoScalePolicyParams(action string, conditionids []string, duration int) *CreateAutoScalePolicyParams

You should always use this function to get a new CreateAutoScalePolicyParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewCreateAutoScaleVmGroupParams

func (s *AutoScaleService) NewCreateAutoScaleVmGroupParams(lbruleid string, maxmembers int, minmembers int, scaledownpolicyids []string, scaleuppolicyids []string, vmprofileid string) *CreateAutoScaleVmGroupParams

You should always use this function to get a new CreateAutoScaleVmGroupParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewCreateAutoScaleVmProfileParams

func (s *AutoScaleService) NewCreateAutoScaleVmProfileParams(serviceofferingid string, templateid string, zoneid string) *CreateAutoScaleVmProfileParams

You should always use this function to get a new CreateAutoScaleVmProfileParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewCreateConditionParams

func (s *AutoScaleService) NewCreateConditionParams(counterid string, relationaloperator string, threshold int64) *CreateConditionParams

You should always use this function to get a new CreateConditionParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewCreateCounterParams

func (s *AutoScaleService) NewCreateCounterParams(name string, source string, value string) *CreateCounterParams

You should always use this function to get a new CreateCounterParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewDeleteAutoScalePolicyParams

func (s *AutoScaleService) NewDeleteAutoScalePolicyParams(id string) *DeleteAutoScalePolicyParams

You should always use this function to get a new DeleteAutoScalePolicyParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewDeleteAutoScaleVmGroupParams

func (s *AutoScaleService) NewDeleteAutoScaleVmGroupParams(id string) *DeleteAutoScaleVmGroupParams

You should always use this function to get a new DeleteAutoScaleVmGroupParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewDeleteAutoScaleVmProfileParams

func (s *AutoScaleService) NewDeleteAutoScaleVmProfileParams(id string) *DeleteAutoScaleVmProfileParams

You should always use this function to get a new DeleteAutoScaleVmProfileParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewDeleteConditionParams

func (s *AutoScaleService) NewDeleteConditionParams(id string) *DeleteConditionParams

You should always use this function to get a new DeleteConditionParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewDeleteCounterParams

func (s *AutoScaleService) NewDeleteCounterParams(id string) *DeleteCounterParams

You should always use this function to get a new DeleteCounterParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewDisableAutoScaleVmGroupParams

func (s *AutoScaleService) NewDisableAutoScaleVmGroupParams(id string) *DisableAutoScaleVmGroupParams

You should always use this function to get a new DisableAutoScaleVmGroupParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewEnableAutoScaleVmGroupParams

func (s *AutoScaleService) NewEnableAutoScaleVmGroupParams(id string) *EnableAutoScaleVmGroupParams

You should always use this function to get a new EnableAutoScaleVmGroupParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewListAutoScalePoliciesParams

func (s *AutoScaleService) NewListAutoScalePoliciesParams() *ListAutoScalePoliciesParams

You should always use this function to get a new ListAutoScalePoliciesParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewListAutoScaleVmGroupsParams

func (s *AutoScaleService) NewListAutoScaleVmGroupsParams() *ListAutoScaleVmGroupsParams

You should always use this function to get a new ListAutoScaleVmGroupsParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewListAutoScaleVmProfilesParams

func (s *AutoScaleService) NewListAutoScaleVmProfilesParams() *ListAutoScaleVmProfilesParams

You should always use this function to get a new ListAutoScaleVmProfilesParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewListConditionsParams

func (s *AutoScaleService) NewListConditionsParams() *ListConditionsParams

You should always use this function to get a new ListConditionsParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewListCountersParams

func (s *AutoScaleService) NewListCountersParams() *ListCountersParams

You should always use this function to get a new ListCountersParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewUpdateAutoScalePolicyParams

func (s *AutoScaleService) NewUpdateAutoScalePolicyParams(id string) *UpdateAutoScalePolicyParams

You should always use this function to get a new UpdateAutoScalePolicyParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewUpdateAutoScaleVmGroupParams

func (s *AutoScaleService) NewUpdateAutoScaleVmGroupParams(id string) *UpdateAutoScaleVmGroupParams

You should always use this function to get a new UpdateAutoScaleVmGroupParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) NewUpdateAutoScaleVmProfileParams

func (s *AutoScaleService) NewUpdateAutoScaleVmProfileParams(id string) *UpdateAutoScaleVmProfileParams

You should always use this function to get a new UpdateAutoScaleVmProfileParams instance, as then you are sure you have configured all required params

func (*AutoScaleService) UpdateAutoScalePolicy

Updates an existing autoscale policy.

func (*AutoScaleService) UpdateAutoScaleVmGroup

Updates an existing autoscale vm group.

func (*AutoScaleService) UpdateAutoScaleVmProfile

Updates an existing autoscale vm profile.

type AutoScaleVmGroup

type AutoScaleVmGroup struct {
	Account           string   `json:"account"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Fordisplay        bool     `json:"fordisplay"`
	Id                string   `json:"id"`
	Interval          int      `json:"interval"`
	JobID             string   `json:"jobid"`
	Jobstatus         int      `json:"jobstatus"`
	Lbruleid          string   `json:"lbruleid"`
	Maxmembers        int      `json:"maxmembers"`
	Minmembers        int      `json:"minmembers"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Scaledownpolicies []string `json:"scaledownpolicies"`
	Scaleuppolicies   []string `json:"scaleuppolicies"`
	State             string   `json:"state"`
	Vmprofileid       string   `json:"vmprofileid"`
}

type AutoScaleVmProfile

type AutoScaleVmProfile struct {
	Account              string `json:"account"`
	Autoscaleuserid      string `json:"autoscaleuserid"`
	Destroyvmgraceperiod int    `json:"destroyvmgraceperiod"`
	Domain               string `json:"domain"`
	Domainid             string `json:"domainid"`
	Fordisplay           bool   `json:"fordisplay"`
	Id                   string `json:"id"`
	JobID                string `json:"jobid"`
	Jobstatus            int    `json:"jobstatus"`
	Otherdeployparams    string `json:"otherdeployparams"`
	Project              string `json:"project"`
	Projectid            string `json:"projectid"`
	Serviceofferingid    string `json:"serviceofferingid"`
	Templateid           string `json:"templateid"`
	Zoneid               string `json:"zoneid"`
}

type BaremetalDhcp

type BaremetalDhcp struct {
	Dhcpservertype    string `json:"dhcpservertype"`
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Provider          string `json:"provider"`
	Url               string `json:"url"`
}

type BaremetalPxeServer

type BaremetalPxeServer struct {
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Provider          string `json:"provider"`
	Url               string `json:"url"`
}

type BaremetalRct

type BaremetalRct struct {
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Url       string `json:"url"`
}

type BaremetalService

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

func NewBaremetalService

func NewBaremetalService(cs *CloudStackClient) *BaremetalService

func (*BaremetalService) AddBaremetalDhcp

adds a baremetal dhcp server

func (*BaremetalService) AddBaremetalPxeKickStartServer

add a baremetal pxe server

func (*BaremetalService) AddBaremetalPxePingServer

add a baremetal ping pxe server

func (*BaremetalService) AddBaremetalRct

adds baremetal rack configuration text

func (*BaremetalService) DeleteBaremetalRct

deletes baremetal rack configuration text

func (*BaremetalService) ListBaremetalDhcp

list baremetal dhcp servers

func (*BaremetalService) ListBaremetalPxeServers

list baremetal pxe server

func (*BaremetalService) ListBaremetalRct

list baremetal rack configuration

func (*BaremetalService) NewAddBaremetalDhcpParams

func (s *BaremetalService) NewAddBaremetalDhcpParams(dhcpservertype string, password string, physicalnetworkid string, url string, username string) *AddBaremetalDhcpParams

You should always use this function to get a new AddBaremetalDhcpParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewAddBaremetalPxeKickStartServerParams

func (s *BaremetalService) NewAddBaremetalPxeKickStartServerParams(password string, physicalnetworkid string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxeKickStartServerParams

You should always use this function to get a new AddBaremetalPxeKickStartServerParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewAddBaremetalPxePingServerParams

func (s *BaremetalService) NewAddBaremetalPxePingServerParams(password string, physicalnetworkid string, pingdir string, pingstorageserverip string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxePingServerParams

You should always use this function to get a new AddBaremetalPxePingServerParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewAddBaremetalRctParams

func (s *BaremetalService) NewAddBaremetalRctParams(baremetalrcturl string) *AddBaremetalRctParams

You should always use this function to get a new AddBaremetalRctParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewDeleteBaremetalRctParams

func (s *BaremetalService) NewDeleteBaremetalRctParams(id string) *DeleteBaremetalRctParams

You should always use this function to get a new DeleteBaremetalRctParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewListBaremetalDhcpParams

func (s *BaremetalService) NewListBaremetalDhcpParams(physicalnetworkid string) *ListBaremetalDhcpParams

You should always use this function to get a new ListBaremetalDhcpParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewListBaremetalPxeServersParams

func (s *BaremetalService) NewListBaremetalPxeServersParams(physicalnetworkid string) *ListBaremetalPxeServersParams

You should always use this function to get a new ListBaremetalPxeServersParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewListBaremetalRctParams

func (s *BaremetalService) NewListBaremetalRctParams() *ListBaremetalRctParams

You should always use this function to get a new ListBaremetalRctParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NewNotifyBaremetalProvisionDoneParams

func (s *BaremetalService) NewNotifyBaremetalProvisionDoneParams(mac string) *NotifyBaremetalProvisionDoneParams

You should always use this function to get a new NotifyBaremetalProvisionDoneParams instance, as then you are sure you have configured all required params

func (*BaremetalService) NotifyBaremetalProvisionDone

Notify provision has been done on a host. This api is for baremetal virtual router service, not for end user

type BigSwitchBCFService

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

func NewBigSwitchBCFService

func NewBigSwitchBCFService(cs *CloudStackClient) *BigSwitchBCFService

func (*BigSwitchBCFService) AddBigSwitchBcfDevice

Adds a BigSwitch BCF Controller device

func (*BigSwitchBCFService) DeleteBigSwitchBcfDevice

delete a BigSwitch BCF Controller device

func (*BigSwitchBCFService) ListBigSwitchBcfDevices

Lists BigSwitch BCF Controller devices

func (*BigSwitchBCFService) NewAddBigSwitchBcfDeviceParams

func (s *BigSwitchBCFService) NewAddBigSwitchBcfDeviceParams(hostname string, nat bool, password string, physicalnetworkid string, username string) *AddBigSwitchBcfDeviceParams

You should always use this function to get a new AddBigSwitchBcfDeviceParams instance, as then you are sure you have configured all required params

func (*BigSwitchBCFService) NewDeleteBigSwitchBcfDeviceParams

func (s *BigSwitchBCFService) NewDeleteBigSwitchBcfDeviceParams(bcfdeviceid string) *DeleteBigSwitchBcfDeviceParams

You should always use this function to get a new DeleteBigSwitchBcfDeviceParams instance, as then you are sure you have configured all required params

func (*BigSwitchBCFService) NewListBigSwitchBcfDevicesParams

func (s *BigSwitchBCFService) NewListBigSwitchBcfDevicesParams() *ListBigSwitchBcfDevicesParams

You should always use this function to get a new ListBigSwitchBcfDevicesParams instance, as then you are sure you have configured all required params

type BigSwitchBcfDevice

type BigSwitchBcfDevice struct {
	Bcfdeviceid         string `json:"bcfdeviceid"`
	Bigswitchdevicename string `json:"bigswitchdevicename"`
	Hostname            string `json:"hostname"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Nat                 bool   `json:"nat"`
	Password            string `json:"password"`
	Physicalnetworkid   string `json:"physicalnetworkid"`
	Provider            string `json:"provider"`
	Username            string `json:"username"`
}

type BrocadeVCSService

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

func NewBrocadeVCSService

func NewBrocadeVCSService(cs *CloudStackClient) *BrocadeVCSService

func (*BrocadeVCSService) AddBrocadeVcsDevice

Adds a Brocade VCS Switch

func (*BrocadeVCSService) DeleteBrocadeVcsDevice

delete a Brocade VCS Switch

func (*BrocadeVCSService) GetBrocadeVcsDeviceNetworkID

func (s *BrocadeVCSService) GetBrocadeVcsDeviceNetworkID(keyword string, vcsdeviceid string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*BrocadeVCSService) ListBrocadeVcsDeviceNetworks

lists network that are using a brocade vcs switch

func (*BrocadeVCSService) ListBrocadeVcsDevices

Lists Brocade VCS Switches

func (*BrocadeVCSService) NewAddBrocadeVcsDeviceParams

func (s *BrocadeVCSService) NewAddBrocadeVcsDeviceParams(hostname string, password string, physicalnetworkid string, username string) *AddBrocadeVcsDeviceParams

You should always use this function to get a new AddBrocadeVcsDeviceParams instance, as then you are sure you have configured all required params

func (*BrocadeVCSService) NewDeleteBrocadeVcsDeviceParams

func (s *BrocadeVCSService) NewDeleteBrocadeVcsDeviceParams(vcsdeviceid string) *DeleteBrocadeVcsDeviceParams

You should always use this function to get a new DeleteBrocadeVcsDeviceParams instance, as then you are sure you have configured all required params

func (*BrocadeVCSService) NewListBrocadeVcsDeviceNetworksParams

func (s *BrocadeVCSService) NewListBrocadeVcsDeviceNetworksParams(vcsdeviceid string) *ListBrocadeVcsDeviceNetworksParams

You should always use this function to get a new ListBrocadeVcsDeviceNetworksParams instance, as then you are sure you have configured all required params

func (*BrocadeVCSService) NewListBrocadeVcsDevicesParams

func (s *BrocadeVCSService) NewListBrocadeVcsDevicesParams() *ListBrocadeVcsDevicesParams

You should always use this function to get a new ListBrocadeVcsDevicesParams instance, as then you are sure you have configured all required params

type BrocadeVcsDevice

type BrocadeVcsDevice struct {
	Brocadedevicename string `json:"brocadedevicename"`
	Hostname          string `json:"hostname"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Provider          string `json:"provider"`
	Vcsdeviceid       string `json:"vcsdeviceid"`
}

type BrocadeVcsDeviceNetwork

type BrocadeVcsDeviceNetwork struct {
	Account                     string                           `json:"account"`
	Aclid                       string                           `json:"aclid"`
	Acltype                     string                           `json:"acltype"`
	Broadcastdomaintype         string                           `json:"broadcastdomaintype"`
	Broadcasturi                string                           `json:"broadcasturi"`
	Canusefordeploy             bool                             `json:"canusefordeploy"`
	Cidr                        string                           `json:"cidr"`
	Displaynetwork              bool                             `json:"displaynetwork"`
	Displaytext                 string                           `json:"displaytext"`
	Dns1                        string                           `json:"dns1"`
	Dns2                        string                           `json:"dns2"`
	Domain                      string                           `json:"domain"`
	Domainid                    string                           `json:"domainid"`
	Externalid                  string                           `json:"externalid"`
	Gateway                     string                           `json:"gateway"`
	Id                          string                           `json:"id"`
	Ip6cidr                     string                           `json:"ip6cidr"`
	Ip6gateway                  string                           `json:"ip6gateway"`
	Isdefault                   bool                             `json:"isdefault"`
	Ispersistent                bool                             `json:"ispersistent"`
	Issystem                    bool                             `json:"issystem"`
	JobID                       string                           `json:"jobid"`
	Jobstatus                   int                              `json:"jobstatus"`
	Name                        string                           `json:"name"`
	Netmask                     string                           `json:"netmask"`
	Networkcidr                 string                           `json:"networkcidr"`
	Networkdomain               string                           `json:"networkdomain"`
	Networkofferingavailability string                           `json:"networkofferingavailability"`
	Networkofferingconservemode bool                             `json:"networkofferingconservemode"`
	Networkofferingdisplaytext  string                           `json:"networkofferingdisplaytext"`
	Networkofferingid           string                           `json:"networkofferingid"`
	Networkofferingname         string                           `json:"networkofferingname"`
	Physicalnetworkid           string                           `json:"physicalnetworkid"`
	Project                     string                           `json:"project"`
	Projectid                   string                           `json:"projectid"`
	Redundantrouter             bool                             `json:"redundantrouter"`
	Related                     string                           `json:"related"`
	Reservediprange             string                           `json:"reservediprange"`
	Restartrequired             bool                             `json:"restartrequired"`
	Service                     []BrocadeVcsDeviceNetworkService `json:"service"`
	Specifyipranges             bool                             `json:"specifyipranges"`
	State                       string                           `json:"state"`
	Strechedl2subnet            bool                             `json:"strechedl2subnet"`
	Subdomainaccess             bool                             `json:"subdomainaccess"`
	Tags                        []Tags                           `json:"tags"`
	Traffictype                 string                           `json:"traffictype"`
	Type                        string                           `json:"type"`
	Vlan                        string                           `json:"vlan"`
	Vpcid                       string                           `json:"vpcid"`
	Zoneid                      string                           `json:"zoneid"`
	Zonename                    string                           `json:"zonename"`
	Zonesnetworkspans           []interface{}                    `json:"zonesnetworkspans"`
}

type BrocadeVcsDeviceNetworkService

type BrocadeVcsDeviceNetworkService struct {
	Capability []BrocadeVcsDeviceNetworkServiceCapability `json:"capability"`
	Name       string                                     `json:"name"`
	Provider   []BrocadeVcsDeviceNetworkServiceProvider   `json:"provider"`
}

type BrocadeVcsDeviceNetworkServiceCapability

type BrocadeVcsDeviceNetworkServiceCapability struct {
	Canchooseservicecapability bool   `json:"canchooseservicecapability"`
	Name                       string `json:"name"`
	Value                      string `json:"value"`
}

type BrocadeVcsDeviceNetworkServiceProvider

type BrocadeVcsDeviceNetworkServiceProvider struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type CSError

type CSError struct {
	ErrorCode   int    `json:"errorcode"`
	CSErrorCode int    `json:"cserrorcode"`
	ErrorText   string `json:"errortext"`
}

func (*CSError) Error

func (e *CSError) Error() error

type CancelHostMaintenanceParams

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

func (*CancelHostMaintenanceParams) SetId

func (p *CancelHostMaintenanceParams) SetId(v string)

type CancelHostMaintenanceResponse

type CancelHostMaintenanceResponse struct {
	Annotation                 string                                  `json:"annotation"`
	Averageload                int64                                   `json:"averageload"`
	Capabilities               string                                  `json:"capabilities"`
	Clusterid                  string                                  `json:"clusterid"`
	Clustername                string                                  `json:"clustername"`
	Clustertype                string                                  `json:"clustertype"`
	Cpuallocated               string                                  `json:"cpuallocated"`
	Cpunumber                  int                                     `json:"cpunumber"`
	Cpusockets                 int                                     `json:"cpusockets"`
	Cpuspeed                   int64                                   `json:"cpuspeed"`
	Cpuused                    string                                  `json:"cpuused"`
	Cpuwithoverprovisioning    string                                  `json:"cpuwithoverprovisioning"`
	Created                    string                                  `json:"created"`
	Details                    map[string]string                       `json:"details"`
	Disconnected               string                                  `json:"disconnected"`
	Disksizeallocated          int64                                   `json:"disksizeallocated"`
	Disksizetotal              int64                                   `json:"disksizetotal"`
	Events                     string                                  `json:"events"`
	Gpugroup                   []CancelHostMaintenanceResponseGpugroup `json:"gpugroup"`
	Hahost                     bool                                    `json:"hahost"`
	Hasenoughcapacity          bool                                    `json:"hasenoughcapacity"`
	Hostha                     string                                  `json:"hostha"`
	Hosttags                   string                                  `json:"hosttags"`
	Hypervisor                 string                                  `json:"hypervisor"`
	Hypervisorversion          string                                  `json:"hypervisorversion"`
	Id                         string                                  `json:"id"`
	Ipaddress                  string                                  `json:"ipaddress"`
	Islocalstorageactive       bool                                    `json:"islocalstorageactive"`
	JobID                      string                                  `json:"jobid"`
	Jobstatus                  int                                     `json:"jobstatus"`
	Lastannotated              string                                  `json:"lastannotated"`
	Lastpinged                 string                                  `json:"lastpinged"`
	Managementserverid         int64                                   `json:"managementserverid"`
	Memoryallocated            int64                                   `json:"memoryallocated"`
	Memorytotal                int64                                   `json:"memorytotal"`
	Memoryused                 int64                                   `json:"memoryused"`
	Memorywithoverprovisioning string                                  `json:"memorywithoverprovisioning"`
	Name                       string                                  `json:"name"`
	Networkkbsread             int64                                   `json:"networkkbsread"`
	Networkkbswrite            int64                                   `json:"networkkbswrite"`
	Oscategoryid               string                                  `json:"oscategoryid"`
	Oscategoryname             string                                  `json:"oscategoryname"`
	Outofbandmanagement        OutOfBandManagementResponse             `json:"outofbandmanagement"`
	Podid                      string                                  `json:"podid"`
	Podname                    string                                  `json:"podname"`
	Removed                    string                                  `json:"removed"`
	Resourcestate              string                                  `json:"resourcestate"`
	State                      string                                  `json:"state"`
	Suitableformigration       bool                                    `json:"suitableformigration"`
	Type                       string                                  `json:"type"`
	Username                   string                                  `json:"username"`
	Version                    string                                  `json:"version"`
	Zoneid                     string                                  `json:"zoneid"`
	Zonename                   string                                  `json:"zonename"`
}

type CancelHostMaintenanceResponseGpugroup

type CancelHostMaintenanceResponseGpugroup struct {
	Gpugroupname string                                      `json:"gpugroupname"`
	Vgpu         []CancelHostMaintenanceResponseGpugroupVgpu `json:"vgpu"`
}

type CancelHostMaintenanceResponseGpugroupVgpu

type CancelHostMaintenanceResponseGpugroupVgpu struct {
	Maxcapacity       int64  `json:"maxcapacity"`
	Maxheads          int64  `json:"maxheads"`
	Maxresolutionx    int64  `json:"maxresolutionx"`
	Maxresolutiony    int64  `json:"maxresolutiony"`
	Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu"`
	Remainingcapacity int64  `json:"remainingcapacity"`
	Vgputype          string `json:"vgputype"`
	Videoram          int64  `json:"videoram"`
}

type CancelStorageMaintenanceParams

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

func (*CancelStorageMaintenanceParams) SetId

type CancelStorageMaintenanceResponse

type CancelStorageMaintenanceResponse struct {
	Allocatediops        int64             `json:"allocatediops"`
	Capacityiops         int64             `json:"capacityiops"`
	Clusterid            string            `json:"clusterid"`
	Clustername          string            `json:"clustername"`
	Created              string            `json:"created"`
	Disksizeallocated    int64             `json:"disksizeallocated"`
	Disksizetotal        int64             `json:"disksizetotal"`
	Disksizeused         int64             `json:"disksizeused"`
	Hypervisor           string            `json:"hypervisor"`
	Id                   string            `json:"id"`
	Ipaddress            string            `json:"ipaddress"`
	JobID                string            `json:"jobid"`
	Jobstatus            int               `json:"jobstatus"`
	Name                 string            `json:"name"`
	Overprovisionfactor  string            `json:"overprovisionfactor"`
	Path                 string            `json:"path"`
	Podid                string            `json:"podid"`
	Podname              string            `json:"podname"`
	Provider             string            `json:"provider"`
	Scope                string            `json:"scope"`
	State                string            `json:"state"`
	Storagecapabilities  map[string]string `json:"storagecapabilities"`
	Suitableformigration bool              `json:"suitableformigration"`
	Tags                 string            `json:"tags"`
	Type                 string            `json:"type"`
	Zoneid               string            `json:"zoneid"`
	Zonename             string            `json:"zonename"`
}

type Capability

type Capability struct {
	Allowusercreateprojects   bool   `json:"allowusercreateprojects"`
	Allowuserexpungerecovervm bool   `json:"allowuserexpungerecovervm"`
	Allowuserviewdestroyedvm  bool   `json:"allowuserviewdestroyedvm"`
	Apilimitinterval          int    `json:"apilimitinterval"`
	Apilimitmax               int    `json:"apilimitmax"`
	Cloudstackversion         string `json:"cloudstackversion"`
	Customdiskofferingmaxsize int64  `json:"customdiskofferingmaxsize"`
	Customdiskofferingminsize int64  `json:"customdiskofferingminsize"`
	Dynamicrolesenabled       bool   `json:"dynamicrolesenabled"`
	JobID                     string `json:"jobid"`
	Jobstatus                 int    `json:"jobstatus"`
	Kvmsnapshotenabled        bool   `json:"kvmsnapshotenabled"`
	Projectinviterequired     bool   `json:"projectinviterequired"`
	Regionsecondaryenabled    bool   `json:"regionsecondaryenabled"`
	Securitygroupsenabled     bool   `json:"securitygroupsenabled"`
	SupportELB                string `json:"supportELB"`
	Userpublictemplateenabled bool   `json:"userpublictemplateenabled"`
}

type Capacity

type Capacity struct {
	Capacityallocated int64  `json:"capacityallocated"`
	Capacitytotal     int64  `json:"capacitytotal"`
	Capacityused      int64  `json:"capacityused"`
	Clusterid         string `json:"clusterid"`
	Clustername       string `json:"clustername"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Name              string `json:"name"`
	Percentused       string `json:"percentused"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Type              int    `json:"type"`
	Zoneid            string `json:"zoneid"`
	Zonename          string `json:"zonename"`
}

type CertificateService

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

func NewCertificateService

func NewCertificateService(cs *CloudStackClient) *CertificateService

func (*CertificateService) NewUploadCustomCertificateParams

func (s *CertificateService) NewUploadCustomCertificateParams(certificate string, domainsuffix string) *UploadCustomCertificateParams

You should always use this function to get a new UploadCustomCertificateParams instance, as then you are sure you have configured all required params

func (*CertificateService) UploadCustomCertificate

Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.

type ChangeOutOfBandManagementPasswordParams

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

func (*ChangeOutOfBandManagementPasswordParams) SetHostid

func (*ChangeOutOfBandManagementPasswordParams) SetPassword

type ChangeOutOfBandManagementPasswordResponse

type ChangeOutOfBandManagementPasswordResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type ChangeServiceForRouterParams

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

func (*ChangeServiceForRouterParams) SetId

func (*ChangeServiceForRouterParams) SetServiceofferingid

func (p *ChangeServiceForRouterParams) SetServiceofferingid(v string)

type ChangeServiceForRouterResponse

type ChangeServiceForRouterResponse struct {
	Account             string `json:"account"`
	Created             string `json:"created"`
	Dns1                string `json:"dns1"`
	Dns2                string `json:"dns2"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Gateway             string `json:"gateway"`
	Guestipaddress      string `json:"guestipaddress"`
	Guestmacaddress     string `json:"guestmacaddress"`
	Guestnetmask        string `json:"guestnetmask"`
	Guestnetworkid      string `json:"guestnetworkid"`
	Guestnetworkname    string `json:"guestnetworkname"`
	Hostid              string `json:"hostid"`
	Hostname            string `json:"hostname"`
	Hypervisor          string `json:"hypervisor"`
	Id                  string `json:"id"`
	Ip6dns1             string `json:"ip6dns1"`
	Ip6dns2             string `json:"ip6dns2"`
	Isredundantrouter   bool   `json:"isredundantrouter"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Linklocalip         string `json:"linklocalip"`
	Linklocalmacaddress string `json:"linklocalmacaddress"`
	Linklocalnetmask    string `json:"linklocalnetmask"`
	Linklocalnetworkid  string `json:"linklocalnetworkid"`
	Name                string `json:"name"`
	Networkdomain       string `json:"networkdomain"`
	Nic                 []Nic  `json:"nic"`
	Podid               string `json:"podid"`
	Project             string `json:"project"`
	Projectid           string `json:"projectid"`
	Publicip            string `json:"publicip"`
	Publicmacaddress    string `json:"publicmacaddress"`
	Publicnetmask       string `json:"publicnetmask"`
	Publicnetworkid     string `json:"publicnetworkid"`
	Redundantstate      string `json:"redundantstate"`
	Requiresupgrade     bool   `json:"requiresupgrade"`
	Role                string `json:"role"`
	Scriptsversion      string `json:"scriptsversion"`
	Serviceofferingid   string `json:"serviceofferingid"`
	Serviceofferingname string `json:"serviceofferingname"`
	State               string `json:"state"`
	Templateid          string `json:"templateid"`
	Version             string `json:"version"`
	Vpcid               string `json:"vpcid"`
	Vpcname             string `json:"vpcname"`
	Zoneid              string `json:"zoneid"`
	Zonename            string `json:"zonename"`
}

type ChangeServiceForSystemVmParams

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

func (*ChangeServiceForSystemVmParams) SetDetails

func (p *ChangeServiceForSystemVmParams) SetDetails(v map[string]string)

func (*ChangeServiceForSystemVmParams) SetId

func (*ChangeServiceForSystemVmParams) SetServiceofferingid

func (p *ChangeServiceForSystemVmParams) SetServiceofferingid(v string)

type ChangeServiceForSystemVmResponse

type ChangeServiceForSystemVmResponse struct {
	Activeviewersessions int      `json:"activeviewersessions"`
	Created              string   `json:"created"`
	Dns1                 string   `json:"dns1"`
	Dns2                 string   `json:"dns2"`
	Gateway              string   `json:"gateway"`
	Guestvlan            string   `json:"guestvlan"`
	Hostid               string   `json:"hostid"`
	Hostname             string   `json:"hostname"`
	Hypervisor           string   `json:"hypervisor"`
	Id                   string   `json:"id"`
	JobID                string   `json:"jobid"`
	Jobstatus            int      `json:"jobstatus"`
	Linklocalip          string   `json:"linklocalip"`
	Linklocalmacaddress  string   `json:"linklocalmacaddress"`
	Linklocalnetmask     string   `json:"linklocalnetmask"`
	Name                 string   `json:"name"`
	Networkdomain        string   `json:"networkdomain"`
	Podid                string   `json:"podid"`
	Privateip            string   `json:"privateip"`
	Privatemacaddress    string   `json:"privatemacaddress"`
	Privatenetmask       string   `json:"privatenetmask"`
	Publicip             string   `json:"publicip"`
	Publicmacaddress     string   `json:"publicmacaddress"`
	Publicnetmask        string   `json:"publicnetmask"`
	Publicvlan           []string `json:"publicvlan"`
	State                string   `json:"state"`
	Systemvmtype         string   `json:"systemvmtype"`
	Templateid           string   `json:"templateid"`
	Zoneid               string   `json:"zoneid"`
	Zonename             string   `json:"zonename"`
}

type ChangeServiceForVirtualMachineParams

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

func (*ChangeServiceForVirtualMachineParams) SetDetails

func (p *ChangeServiceForVirtualMachineParams) SetDetails(v map[string]string)

func (*ChangeServiceForVirtualMachineParams) SetId

func (*ChangeServiceForVirtualMachineParams) SetServiceofferingid

func (p *ChangeServiceForVirtualMachineParams) SetServiceofferingid(v string)

type ChangeServiceForVirtualMachineResponse

type ChangeServiceForVirtualMachineResponse struct {
	Account               string                                                `json:"account"`
	Affinitygroup         []ChangeServiceForVirtualMachineResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                                                   `json:"cpunumber"`
	Cpuspeed              int                                                   `json:"cpuspeed"`
	Cpuused               string                                                `json:"cpuused"`
	Created               string                                                `json:"created"`
	Details               map[string]string                                     `json:"details"`
	Diskioread            int64                                                 `json:"diskioread"`
	Diskiowrite           int64                                                 `json:"diskiowrite"`
	Diskkbsread           int64                                                 `json:"diskkbsread"`
	Diskkbswrite          int64                                                 `json:"diskkbswrite"`
	Diskofferingid        string                                                `json:"diskofferingid"`
	Diskofferingname      string                                                `json:"diskofferingname"`
	Displayname           string                                                `json:"displayname"`
	Displayvm             bool                                                  `json:"displayvm"`
	Domain                string                                                `json:"domain"`
	Domainid              string                                                `json:"domainid"`
	Forvirtualnetwork     bool                                                  `json:"forvirtualnetwork"`
	Group                 string                                                `json:"group"`
	Groupid               string                                                `json:"groupid"`
	Guestosid             string                                                `json:"guestosid"`
	Haenable              bool                                                  `json:"haenable"`
	Hostid                string                                                `json:"hostid"`
	Hostname              string                                                `json:"hostname"`
	Hypervisor            string                                                `json:"hypervisor"`
	Id                    string                                                `json:"id"`
	Instancename          string                                                `json:"instancename"`
	Isdynamicallyscalable bool                                                  `json:"isdynamicallyscalable"`
	Isodisplaytext        string                                                `json:"isodisplaytext"`
	Isoid                 string                                                `json:"isoid"`
	Isoname               string                                                `json:"isoname"`
	JobID                 string                                                `json:"jobid"`
	Jobstatus             int                                                   `json:"jobstatus"`
	Keypair               string                                                `json:"keypair"`
	Memory                int                                                   `json:"memory"`
	Memoryintfreekbs      int64                                                 `json:"memoryintfreekbs"`
	Memorykbs             int64                                                 `json:"memorykbs"`
	Memorytargetkbs       int64                                                 `json:"memorytargetkbs"`
	Name                  string                                                `json:"name"`
	Networkkbsread        int64                                                 `json:"networkkbsread"`
	Networkkbswrite       int64                                                 `json:"networkkbswrite"`
	Nic                   []Nic                                                 `json:"nic"`
	Ostypeid              string                                                `json:"ostypeid"`
	Password              string                                                `json:"password"`
	Passwordenabled       bool                                                  `json:"passwordenabled"`
	Project               string                                                `json:"project"`
	Projectid             string                                                `json:"projectid"`
	Publicip              string                                                `json:"publicip"`
	Publicipid            string                                                `json:"publicipid"`
	Rootdeviceid          int64                                                 `json:"rootdeviceid"`
	Rootdevicetype        string                                                `json:"rootdevicetype"`
	Securitygroup         []ChangeServiceForVirtualMachineResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                                                `json:"serviceofferingid"`
	Serviceofferingname   string                                                `json:"serviceofferingname"`
	Servicestate          string                                                `json:"servicestate"`
	State                 string                                                `json:"state"`
	Tags                  []Tags                                                `json:"tags"`
	Templatedisplaytext   string                                                `json:"templatedisplaytext"`
	Templateid            string                                                `json:"templateid"`
	Templatename          string                                                `json:"templatename"`
	Userid                string                                                `json:"userid"`
	Username              string                                                `json:"username"`
	Vgpu                  string                                                `json:"vgpu"`
	Zoneid                string                                                `json:"zoneid"`
	Zonename              string                                                `json:"zonename"`
}

func (*ChangeServiceForVirtualMachineResponse) UnmarshalJSON

func (r *ChangeServiceForVirtualMachineResponse) UnmarshalJSON(b []byte) error

type ChangeServiceForVirtualMachineResponseAffinitygroup

type ChangeServiceForVirtualMachineResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type ChangeServiceForVirtualMachineResponseSecuritygroup

type ChangeServiceForVirtualMachineResponseSecuritygroup struct {
	Account             string                                                    `json:"account"`
	Description         string                                                    `json:"description"`
	Domain              string                                                    `json:"domain"`
	Domainid            string                                                    `json:"domainid"`
	Egressrule          []ChangeServiceForVirtualMachineResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                                                    `json:"id"`
	Ingressrule         []ChangeServiceForVirtualMachineResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                                                    `json:"name"`
	Project             string                                                    `json:"project"`
	Projectid           string                                                    `json:"projectid"`
	Tags                []Tags                                                    `json:"tags"`
	Virtualmachinecount int                                                       `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                                             `json:"virtualmachineids"`
}

type ChangeServiceForVirtualMachineResponseSecuritygroupRule

type ChangeServiceForVirtualMachineResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type CleanVMReservationsParams

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

type CleanVMReservationsResponse

type CleanVMReservationsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type ClientOption

type ClientOption func(*CloudStackClient)

ClientOption can be passed to new client functions to set custom options

func WithAsyncTimeout

func WithAsyncTimeout(timeout int64) ClientOption

WithAsyncTimeout takes a custom timeout to be used by the CloudStackClient

func WithHTTPClient

func WithHTTPClient(client *http.Client) ClientOption

WithHTTPClient takes a custom HTTP client to be used by the CloudStackClient

type CloudIdentifierService

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

func NewCloudIdentifierService

func NewCloudIdentifierService(cs *CloudStackClient) *CloudIdentifierService

func (*CloudIdentifierService) GetCloudIdentifier

Retrieves a cloud identifier.

func (*CloudIdentifierService) NewGetCloudIdentifierParams

func (s *CloudIdentifierService) NewGetCloudIdentifierParams(userid string) *GetCloudIdentifierParams

You should always use this function to get a new GetCloudIdentifierParams instance, as then you are sure you have configured all required params

type CloudStackClient

type CloudStackClient struct {
	HTTPGETOnly bool // If `true` only use HTTP GET calls

	APIDiscovery        *APIDiscoveryService
	Account             *AccountService
	Address             *AddressService
	AffinityGroup       *AffinityGroupService
	Alert               *AlertService
	Asyncjob            *AsyncjobService
	Authentication      *AuthenticationService
	AutoScale           *AutoScaleService
	Baremetal           *BaremetalService
	BigSwitchBCF        *BigSwitchBCFService
	BrocadeVCS          *BrocadeVCSService
	Certificate         *CertificateService
	CloudIdentifier     *CloudIdentifierService
	Cluster             *ClusterService
	Configuration       *ConfigurationService
	Custom              *CustomService
	DiskOffering        *DiskOfferingService
	Domain              *DomainService
	Event               *EventService
	Firewall            *FirewallService
	GuestOS             *GuestOSService
	Host                *HostService
	Hypervisor          *HypervisorService
	ISO                 *ISOService
	ImageStore          *ImageStoreService
	InternalLB          *InternalLBService
	LDAP                *LDAPService
	Limit               *LimitService
	LoadBalancer        *LoadBalancerService
	NAT                 *NATService
	NetworkACL          *NetworkACLService
	NetworkDevice       *NetworkDeviceService
	NetworkOffering     *NetworkOfferingService
	Network             *NetworkService
	Nic                 *NicService
	NiciraNVP           *NiciraNVPService
	NuageVSP            *NuageVSPService
	OutofbandManagement *OutofbandManagementService
	OvsElement          *OvsElementService
	Pod                 *PodService
	Pool                *PoolService
	PortableIP          *PortableIPService
	Project             *ProjectService
	Quota               *QuotaService
	Region              *RegionService
	Resourcemetadata    *ResourcemetadataService
	Resourcetags        *ResourcetagsService
	Role                *RoleService
	Router              *RouterService
	SSH                 *SSHService
	SecurityGroup       *SecurityGroupService
	ServiceOffering     *ServiceOfferingService
	Snapshot            *SnapshotService
	StoragePool         *StoragePoolService
	StratosphereSSP     *StratosphereSSPService
	Swift               *SwiftService
	SystemCapacity      *SystemCapacityService
	SystemVM            *SystemVMService
	Template            *TemplateService
	UCS                 *UCSService
	Usage               *UsageService
	User                *UserService
	VLAN                *VLANService
	VMGroup             *VMGroupService
	VPC                 *VPCService
	VPN                 *VPNService
	VirtualMachine      *VirtualMachineService
	Volume              *VolumeService
	Zone                *ZoneService
	// contains filtered or unexported fields
}

func NewAsyncClient

func NewAsyncClient(apiurl string, apikey string, secret string, verifyssl bool, options ...ClientOption) *CloudStackClient

For sync API calls this client behaves exactly the same as a standard client call, but for async API calls this client will wait until the async job is finished or until the configured AsyncTimeout is reached. When the async job finishes successfully it will return actual object received from the API and nil, but when the timout is reached it will return the initial object containing the async job ID for the running job and a warning.

func NewClient

func NewClient(apiurl string, apikey string, secret string, verifyssl bool, options ...ClientOption) *CloudStackClient

Default non-async client. So for async calls you need to implement and check the async job result yourself. When using HTTPS with a self-signed certificate to connect to your CloudStack API, you would probably want to set 'verifyssl' to false so the call ignores the SSL errors/warnings.

func (*CloudStackClient) AsyncTimeout

func (cs *CloudStackClient) AsyncTimeout(timeoutInSeconds int64)

When using the async client an api call will wait for the async call to finish before returning. The default is to poll for 300 seconds seconds, to check if the async job is finished.

func (*CloudStackClient) DefaultOptions

func (cs *CloudStackClient) DefaultOptions(options ...OptionFunc)

Set any default options that would be added to all API calls that support it.

func (*CloudStackClient) GetAsyncJobResult

func (cs *CloudStackClient) GetAsyncJobResult(jobid string, timeout int64) (json.RawMessage, error)

A helper function that you can use to get the result of a running async job. If the job is not finished within the configured timeout, the async job returns a AsyncTimeoutErr.

type Cluster

type Cluster struct {
	Allocationstate       string            `json:"allocationstate"`
	Capacity              []ClusterCapacity `json:"capacity"`
	Clustertype           string            `json:"clustertype"`
	Cpuovercommitratio    string            `json:"cpuovercommitratio"`
	Hypervisortype        string            `json:"hypervisortype"`
	Id                    string            `json:"id"`
	JobID                 string            `json:"jobid"`
	Jobstatus             int               `json:"jobstatus"`
	Managedstate          string            `json:"managedstate"`
	Memoryovercommitratio string            `json:"memoryovercommitratio"`
	Name                  string            `json:"name"`
	Ovm3vip               string            `json:"ovm3vip"`
	Podid                 string            `json:"podid"`
	Podname               string            `json:"podname"`
	Resourcedetails       map[string]string `json:"resourcedetails"`
	Zoneid                string            `json:"zoneid"`
	Zonename              string            `json:"zonename"`
}

type ClusterCapacity

type ClusterCapacity struct {
	Capacityallocated int64  `json:"capacityallocated"`
	Capacitytotal     int64  `json:"capacitytotal"`
	Capacityused      int64  `json:"capacityused"`
	Clusterid         string `json:"clusterid"`
	Clustername       string `json:"clustername"`
	Name              string `json:"name"`
	Percentused       string `json:"percentused"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Type              int    `json:"type"`
	Zoneid            string `json:"zoneid"`
	Zonename          string `json:"zonename"`
}

type ClusterService

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

func NewClusterService

func NewClusterService(cs *CloudStackClient) *ClusterService

func (*ClusterService) AddCluster

Adds a new cluster

func (*ClusterService) DedicateCluster

Dedicate an existing cluster

func (*ClusterService) DeleteCluster

Deletes a cluster.

func (*ClusterService) DisableOutOfBandManagementForCluster

Disables out-of-band management for a cluster

func (*ClusterService) EnableOutOfBandManagementForCluster

Enables out-of-band management for a cluster

func (*ClusterService) GetClusterByID

func (s *ClusterService) GetClusterByID(id string, opts ...OptionFunc) (*Cluster, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ClusterService) GetClusterByName

func (s *ClusterService) GetClusterByName(name string, opts ...OptionFunc) (*Cluster, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ClusterService) GetClusterID

func (s *ClusterService) GetClusterID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ClusterService) GetClustersMetricByID

func (s *ClusterService) GetClustersMetricByID(id string, opts ...OptionFunc) (*ClustersMetric, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ClusterService) GetClustersMetricByName

func (s *ClusterService) GetClustersMetricByName(name string, opts ...OptionFunc) (*ClustersMetric, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ClusterService) GetClustersMetricID

func (s *ClusterService) GetClustersMetricID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ClusterService) ListClusters

Lists clusters.

func (*ClusterService) ListClustersMetrics

Lists clusters metrics

func (*ClusterService) ListDedicatedClusters

Lists dedicated clusters.

func (*ClusterService) NewAddClusterParams

func (s *ClusterService) NewAddClusterParams(clustername string, clustertype string, hypervisor string, podid string, zoneid string) *AddClusterParams

You should always use this function to get a new AddClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewDedicateClusterParams

func (s *ClusterService) NewDedicateClusterParams(clusterid string, domainid string) *DedicateClusterParams

You should always use this function to get a new DedicateClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewDeleteClusterParams

func (s *ClusterService) NewDeleteClusterParams(id string) *DeleteClusterParams

You should always use this function to get a new DeleteClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewDisableOutOfBandManagementForClusterParams

func (s *ClusterService) NewDisableOutOfBandManagementForClusterParams(clusterid string) *DisableOutOfBandManagementForClusterParams

You should always use this function to get a new DisableOutOfBandManagementForClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewEnableOutOfBandManagementForClusterParams

func (s *ClusterService) NewEnableOutOfBandManagementForClusterParams(clusterid string) *EnableOutOfBandManagementForClusterParams

You should always use this function to get a new EnableOutOfBandManagementForClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewListClustersMetricsParams

func (s *ClusterService) NewListClustersMetricsParams() *ListClustersMetricsParams

You should always use this function to get a new ListClustersMetricsParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewListClustersParams

func (s *ClusterService) NewListClustersParams() *ListClustersParams

You should always use this function to get a new ListClustersParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewListDedicatedClustersParams

func (s *ClusterService) NewListDedicatedClustersParams() *ListDedicatedClustersParams

You should always use this function to get a new ListDedicatedClustersParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewReleaseDedicatedClusterParams

func (s *ClusterService) NewReleaseDedicatedClusterParams(clusterid string) *ReleaseDedicatedClusterParams

You should always use this function to get a new ReleaseDedicatedClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) NewUpdateClusterParams

func (s *ClusterService) NewUpdateClusterParams(id string) *UpdateClusterParams

You should always use this function to get a new UpdateClusterParams instance, as then you are sure you have configured all required params

func (*ClusterService) ReleaseDedicatedCluster

Release the dedication for cluster

func (*ClusterService) UpdateCluster

Updates an existing cluster

type ClustersMetric

type ClustersMetric struct {
	Allocationstate                 string                   `json:"allocationstate"`
	Capacity                        []ClustersMetricCapacity `json:"capacity"`
	Clustertype                     string                   `json:"clustertype"`
	Cpuallocated                    string                   `json:"cpuallocated"`
	Cpuallocateddisablethreshold    bool                     `json:"cpuallocateddisablethreshold"`
	Cpuallocatedthreshold           bool                     `json:"cpuallocatedthreshold"`
	Cpudisablethreshold             bool                     `json:"cpudisablethreshold"`
	Cpumaxdeviation                 string                   `json:"cpumaxdeviation"`
	Cpuovercommitratio              string                   `json:"cpuovercommitratio"`
	Cputhreshold                    bool                     `json:"cputhreshold"`
	Cputotal                        string                   `json:"cputotal"`
	Cpuused                         string                   `json:"cpuused"`
	Hosts                           string                   `json:"hosts"`
	Hypervisortype                  string                   `json:"hypervisortype"`
	Id                              string                   `json:"id"`
	JobID                           string                   `json:"jobid"`
	Jobstatus                       int                      `json:"jobstatus"`
	Managedstate                    string                   `json:"managedstate"`
	Memoryallocated                 string                   `json:"memoryallocated"`
	Memoryallocateddisablethreshold bool                     `json:"memoryallocateddisablethreshold"`
	Memoryallocatedthreshold        bool                     `json:"memoryallocatedthreshold"`
	Memorydisablethreshold          bool                     `json:"memorydisablethreshold"`
	Memorymaxdeviation              string                   `json:"memorymaxdeviation"`
	Memoryovercommitratio           string                   `json:"memoryovercommitratio"`
	Memorythreshold                 bool                     `json:"memorythreshold"`
	Memorytotal                     string                   `json:"memorytotal"`
	Memoryused                      string                   `json:"memoryused"`
	Name                            string                   `json:"name"`
	Ovm3vip                         string                   `json:"ovm3vip"`
	Podid                           string                   `json:"podid"`
	Podname                         string                   `json:"podname"`
	Resourcedetails                 map[string]string        `json:"resourcedetails"`
	State                           string                   `json:"state"`
	Zoneid                          string                   `json:"zoneid"`
	Zonename                        string                   `json:"zonename"`
}

type ClustersMetricCapacity

type ClustersMetricCapacity struct {
	Capacityallocated int64  `json:"capacityallocated"`
	Capacitytotal     int64  `json:"capacitytotal"`
	Capacityused      int64  `json:"capacityused"`
	Clusterid         string `json:"clusterid"`
	Clustername       string `json:"clustername"`
	Name              string `json:"name"`
	Percentused       string `json:"percentused"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Type              int    `json:"type"`
	Zoneid            string `json:"zoneid"`
	Zonename          string `json:"zonename"`
}

type Condition

type Condition struct {
	Account            string   `json:"account"`
	Counter            []string `json:"counter"`
	Domain             string   `json:"domain"`
	Domainid           string   `json:"domainid"`
	Id                 string   `json:"id"`
	JobID              string   `json:"jobid"`
	Jobstatus          int      `json:"jobstatus"`
	Project            string   `json:"project"`
	Projectid          string   `json:"projectid"`
	Relationaloperator string   `json:"relationaloperator"`
	Threshold          int64    `json:"threshold"`
	Zoneid             string   `json:"zoneid"`
}

type Configuration

type Configuration struct {
	Category    string `json:"category"`
	Description string `json:"description"`
	Id          int64  `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Scope       string `json:"scope"`
	Value       string `json:"value"`
}

type ConfigurationService

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

func NewConfigurationService

func NewConfigurationService(cs *CloudStackClient) *ConfigurationService

func (*ConfigurationService) ListCapabilities

Lists capabilities

func (*ConfigurationService) ListConfigurations

Lists all configurations.

func (*ConfigurationService) ListDeploymentPlanners

Lists all DeploymentPlanners available.

func (*ConfigurationService) NewListCapabilitiesParams

func (s *ConfigurationService) NewListCapabilitiesParams() *ListCapabilitiesParams

You should always use this function to get a new ListCapabilitiesParams instance, as then you are sure you have configured all required params

func (*ConfigurationService) NewListConfigurationsParams

func (s *ConfigurationService) NewListConfigurationsParams() *ListConfigurationsParams

You should always use this function to get a new ListConfigurationsParams instance, as then you are sure you have configured all required params

func (*ConfigurationService) NewListDeploymentPlannersParams

func (s *ConfigurationService) NewListDeploymentPlannersParams() *ListDeploymentPlannersParams

You should always use this function to get a new ListDeploymentPlannersParams instance, as then you are sure you have configured all required params

func (*ConfigurationService) NewUpdateConfigurationParams

func (s *ConfigurationService) NewUpdateConfigurationParams(name string) *UpdateConfigurationParams

You should always use this function to get a new UpdateConfigurationParams instance, as then you are sure you have configured all required params

func (*ConfigurationService) UpdateConfiguration

Updates a configuration.

type ConfigureInternalLoadBalancerElementParams

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

func (*ConfigureInternalLoadBalancerElementParams) SetEnabled

func (*ConfigureInternalLoadBalancerElementParams) SetId

type ConfigureNetscalerLoadBalancerParams

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

func (*ConfigureNetscalerLoadBalancerParams) SetInline

func (*ConfigureNetscalerLoadBalancerParams) SetLbdevicecapacity

func (p *ConfigureNetscalerLoadBalancerParams) SetLbdevicecapacity(v int64)

func (*ConfigureNetscalerLoadBalancerParams) SetLbdevicededicated

func (p *ConfigureNetscalerLoadBalancerParams) SetLbdevicededicated(v bool)

func (*ConfigureNetscalerLoadBalancerParams) SetLbdeviceid

func (p *ConfigureNetscalerLoadBalancerParams) SetLbdeviceid(v string)

func (*ConfigureNetscalerLoadBalancerParams) SetPodids

func (p *ConfigureNetscalerLoadBalancerParams) SetPodids(v []string)

type ConfigureOutOfBandManagementParams

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

func (*ConfigureOutOfBandManagementParams) SetAddress

func (p *ConfigureOutOfBandManagementParams) SetAddress(v string)

func (*ConfigureOutOfBandManagementParams) SetDriver

func (*ConfigureOutOfBandManagementParams) SetHostid

func (*ConfigureOutOfBandManagementParams) SetPassword

func (p *ConfigureOutOfBandManagementParams) SetPassword(v string)

func (*ConfigureOutOfBandManagementParams) SetPort

func (*ConfigureOutOfBandManagementParams) SetUsername

func (p *ConfigureOutOfBandManagementParams) SetUsername(v string)

type ConfigureOvsElementParams

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

func (*ConfigureOvsElementParams) SetEnabled

func (p *ConfigureOvsElementParams) SetEnabled(v bool)

func (*ConfigureOvsElementParams) SetId

func (p *ConfigureOvsElementParams) SetId(v string)

type ConfigurePaloAltoFirewallParams

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

func (*ConfigurePaloAltoFirewallParams) SetFwdevicecapacity

func (p *ConfigurePaloAltoFirewallParams) SetFwdevicecapacity(v int64)

func (*ConfigurePaloAltoFirewallParams) SetFwdeviceid

func (p *ConfigurePaloAltoFirewallParams) SetFwdeviceid(v string)

type ConfigureVirtualRouterElementParams

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

func (*ConfigureVirtualRouterElementParams) SetEnabled

func (p *ConfigureVirtualRouterElementParams) SetEnabled(v bool)

func (*ConfigureVirtualRouterElementParams) SetId

type CopyIsoParams

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

func (*CopyIsoParams) SetDestzoneid

func (p *CopyIsoParams) SetDestzoneid(v string)

func (*CopyIsoParams) SetDestzoneids

func (p *CopyIsoParams) SetDestzoneids(v []string)

func (*CopyIsoParams) SetId

func (p *CopyIsoParams) SetId(v string)

func (*CopyIsoParams) SetSourcezoneid

func (p *CopyIsoParams) SetSourcezoneid(v string)

type CopyIsoResponse

type CopyIsoResponse struct {
	Account               string            `json:"account"`
	Accountid             string            `json:"accountid"`
	Bits                  int               `json:"bits"`
	Bootable              bool              `json:"bootable"`
	Checksum              string            `json:"checksum"`
	Childtemplates        []interface{}     `json:"childtemplates"`
	Created               string            `json:"created"`
	CrossZones            bool              `json:"crossZones"`
	Details               map[string]string `json:"details"`
	Directdownload        bool              `json:"directdownload"`
	Displaytext           string            `json:"displaytext"`
	Domain                string            `json:"domain"`
	Domainid              string            `json:"domainid"`
	Format                string            `json:"format"`
	Hostid                string            `json:"hostid"`
	Hostname              string            `json:"hostname"`
	Hypervisor            string            `json:"hypervisor"`
	Id                    string            `json:"id"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable"`
	Isextractable         bool              `json:"isextractable"`
	Isfeatured            bool              `json:"isfeatured"`
	Ispublic              bool              `json:"ispublic"`
	Isready               bool              `json:"isready"`
	JobID                 string            `json:"jobid"`
	Jobstatus             int               `json:"jobstatus"`
	Name                  string            `json:"name"`
	Ostypeid              string            `json:"ostypeid"`
	Ostypename            string            `json:"ostypename"`
	Parenttemplateid      string            `json:"parenttemplateid"`
	Passwordenabled       bool              `json:"passwordenabled"`
	Physicalsize          int64             `json:"physicalsize"`
	Project               string            `json:"project"`
	Projectid             string            `json:"projectid"`
	Removed               string            `json:"removed"`
	Requireshvm           bool              `json:"requireshvm"`
	Size                  int64             `json:"size"`
	Sourcetemplateid      string            `json:"sourcetemplateid"`
	Sshkeyenabled         bool              `json:"sshkeyenabled"`
	Status                string            `json:"status"`
	Tags                  []Tags            `json:"tags"`
	Templatetag           string            `json:"templatetag"`
	Templatetype          string            `json:"templatetype"`
	Zoneid                string            `json:"zoneid"`
	Zonename              string            `json:"zonename"`
}

func (*CopyIsoResponse) UnmarshalJSON

func (r *CopyIsoResponse) UnmarshalJSON(b []byte) error

type CopyTemplateParams

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

func (*CopyTemplateParams) SetDestzoneid

func (p *CopyTemplateParams) SetDestzoneid(v string)

func (*CopyTemplateParams) SetDestzoneids

func (p *CopyTemplateParams) SetDestzoneids(v []string)

func (*CopyTemplateParams) SetId

func (p *CopyTemplateParams) SetId(v string)

func (*CopyTemplateParams) SetSourcezoneid

func (p *CopyTemplateParams) SetSourcezoneid(v string)

type CopyTemplateResponse

type CopyTemplateResponse struct {
	Account               string            `json:"account"`
	Accountid             string            `json:"accountid"`
	Bits                  int               `json:"bits"`
	Bootable              bool              `json:"bootable"`
	Checksum              string            `json:"checksum"`
	Childtemplates        []interface{}     `json:"childtemplates"`
	Created               string            `json:"created"`
	CrossZones            bool              `json:"crossZones"`
	Details               map[string]string `json:"details"`
	Directdownload        bool              `json:"directdownload"`
	Displaytext           string            `json:"displaytext"`
	Domain                string            `json:"domain"`
	Domainid              string            `json:"domainid"`
	Format                string            `json:"format"`
	Hostid                string            `json:"hostid"`
	Hostname              string            `json:"hostname"`
	Hypervisor            string            `json:"hypervisor"`
	Id                    string            `json:"id"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable"`
	Isextractable         bool              `json:"isextractable"`
	Isfeatured            bool              `json:"isfeatured"`
	Ispublic              bool              `json:"ispublic"`
	Isready               bool              `json:"isready"`
	JobID                 string            `json:"jobid"`
	Jobstatus             int               `json:"jobstatus"`
	Name                  string            `json:"name"`
	Ostypeid              string            `json:"ostypeid"`
	Ostypename            string            `json:"ostypename"`
	Parenttemplateid      string            `json:"parenttemplateid"`
	Passwordenabled       bool              `json:"passwordenabled"`
	Physicalsize          int64             `json:"physicalsize"`
	Project               string            `json:"project"`
	Projectid             string            `json:"projectid"`
	Removed               string            `json:"removed"`
	Requireshvm           bool              `json:"requireshvm"`
	Size                  int64             `json:"size"`
	Sourcetemplateid      string            `json:"sourcetemplateid"`
	Sshkeyenabled         bool              `json:"sshkeyenabled"`
	Status                string            `json:"status"`
	Tags                  []Tags            `json:"tags"`
	Templatetag           string            `json:"templatetag"`
	Templatetype          string            `json:"templatetype"`
	Zoneid                string            `json:"zoneid"`
	Zonename              string            `json:"zonename"`
}

func (*CopyTemplateResponse) UnmarshalJSON

func (r *CopyTemplateResponse) UnmarshalJSON(b []byte) error

type Counter

type Counter struct {
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
	Source    string `json:"source"`
	Value     string `json:"value"`
	Zoneid    string `json:"zoneid"`
}

type CreateAccountParams

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

func (*CreateAccountParams) SetAccount

func (p *CreateAccountParams) SetAccount(v string)

func (*CreateAccountParams) SetAccountdetails

func (p *CreateAccountParams) SetAccountdetails(v map[string]string)

func (*CreateAccountParams) SetAccountid

func (p *CreateAccountParams) SetAccountid(v string)

func (*CreateAccountParams) SetAccounttype

func (p *CreateAccountParams) SetAccounttype(v int)

func (*CreateAccountParams) SetDomainid

func (p *CreateAccountParams) SetDomainid(v string)

func (*CreateAccountParams) SetEmail

func (p *CreateAccountParams) SetEmail(v string)

func (*CreateAccountParams) SetFirstname

func (p *CreateAccountParams) SetFirstname(v string)

func (*CreateAccountParams) SetLastname

func (p *CreateAccountParams) SetLastname(v string)

func (*CreateAccountParams) SetNetworkdomain

func (p *CreateAccountParams) SetNetworkdomain(v string)

func (*CreateAccountParams) SetPassword

func (p *CreateAccountParams) SetPassword(v string)

func (*CreateAccountParams) SetRoleid

func (p *CreateAccountParams) SetRoleid(v string)

func (*CreateAccountParams) SetTimezone

func (p *CreateAccountParams) SetTimezone(v string)

func (*CreateAccountParams) SetUserid

func (p *CreateAccountParams) SetUserid(v string)

func (*CreateAccountParams) SetUsername

func (p *CreateAccountParams) SetUsername(v string)

type CreateAccountResponse

type CreateAccountResponse struct {
	Accountdetails            map[string]string           `json:"accountdetails"`
	Accounttype               int                         `json:"accounttype"`
	Cpuavailable              string                      `json:"cpuavailable"`
	Cpulimit                  string                      `json:"cpulimit"`
	Cputotal                  int64                       `json:"cputotal"`
	Defaultzoneid             string                      `json:"defaultzoneid"`
	Domain                    string                      `json:"domain"`
	Domainid                  string                      `json:"domainid"`
	Groups                    []string                    `json:"groups"`
	Id                        string                      `json:"id"`
	Ipavailable               string                      `json:"ipavailable"`
	Iplimit                   string                      `json:"iplimit"`
	Iptotal                   int64                       `json:"iptotal"`
	Iscleanuprequired         bool                        `json:"iscleanuprequired"`
	Isdefault                 bool                        `json:"isdefault"`
	JobID                     string                      `json:"jobid"`
	Jobstatus                 int                         `json:"jobstatus"`
	Memoryavailable           string                      `json:"memoryavailable"`
	Memorylimit               string                      `json:"memorylimit"`
	Memorytotal               int64                       `json:"memorytotal"`
	Name                      string                      `json:"name"`
	Networkavailable          string                      `json:"networkavailable"`
	Networkdomain             string                      `json:"networkdomain"`
	Networklimit              string                      `json:"networklimit"`
	Networktotal              int64                       `json:"networktotal"`
	Primarystorageavailable   string                      `json:"primarystorageavailable"`
	Primarystoragelimit       string                      `json:"primarystoragelimit"`
	Primarystoragetotal       int64                       `json:"primarystoragetotal"`
	Projectavailable          string                      `json:"projectavailable"`
	Projectlimit              string                      `json:"projectlimit"`
	Projecttotal              int64                       `json:"projecttotal"`
	Receivedbytes             int64                       `json:"receivedbytes"`
	Roleid                    string                      `json:"roleid"`
	Rolename                  string                      `json:"rolename"`
	Roletype                  string                      `json:"roletype"`
	Secondarystorageavailable string                      `json:"secondarystorageavailable"`
	Secondarystoragelimit     string                      `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64                     `json:"secondarystoragetotal"`
	Sentbytes                 int64                       `json:"sentbytes"`
	Snapshotavailable         string                      `json:"snapshotavailable"`
	Snapshotlimit             string                      `json:"snapshotlimit"`
	Snapshottotal             int64                       `json:"snapshottotal"`
	State                     string                      `json:"state"`
	Templateavailable         string                      `json:"templateavailable"`
	Templatelimit             string                      `json:"templatelimit"`
	Templatetotal             int64                       `json:"templatetotal"`
	User                      []CreateAccountResponseUser `json:"user"`
	Vmavailable               string                      `json:"vmavailable"`
	Vmlimit                   string                      `json:"vmlimit"`
	Vmrunning                 int                         `json:"vmrunning"`
	Vmstopped                 int                         `json:"vmstopped"`
	Vmtotal                   int64                       `json:"vmtotal"`
	Volumeavailable           string                      `json:"volumeavailable"`
	Volumelimit               string                      `json:"volumelimit"`
	Volumetotal               int64                       `json:"volumetotal"`
	Vpcavailable              string                      `json:"vpcavailable"`
	Vpclimit                  string                      `json:"vpclimit"`
	Vpctotal                  int64                       `json:"vpctotal"`
}

type CreateAccountResponseUser

type CreateAccountResponseUser struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type CreateAffinityGroupParams

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

func (*CreateAffinityGroupParams) SetAccount

func (p *CreateAffinityGroupParams) SetAccount(v string)

func (*CreateAffinityGroupParams) SetDescription

func (p *CreateAffinityGroupParams) SetDescription(v string)

func (*CreateAffinityGroupParams) SetDomainid

func (p *CreateAffinityGroupParams) SetDomainid(v string)

func (*CreateAffinityGroupParams) SetName

func (p *CreateAffinityGroupParams) SetName(v string)

func (*CreateAffinityGroupParams) SetProjectid

func (p *CreateAffinityGroupParams) SetProjectid(v string)

func (*CreateAffinityGroupParams) SetType

func (p *CreateAffinityGroupParams) SetType(v string)

type CreateAffinityGroupResponse

type CreateAffinityGroupResponse struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	JobID             string   `json:"jobid"`
	Jobstatus         int      `json:"jobstatus"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type CreateAutoScalePolicyParams

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

func (*CreateAutoScalePolicyParams) SetAction

func (p *CreateAutoScalePolicyParams) SetAction(v string)

func (*CreateAutoScalePolicyParams) SetConditionids

func (p *CreateAutoScalePolicyParams) SetConditionids(v []string)

func (*CreateAutoScalePolicyParams) SetDuration

func (p *CreateAutoScalePolicyParams) SetDuration(v int)

func (*CreateAutoScalePolicyParams) SetQuiettime

func (p *CreateAutoScalePolicyParams) SetQuiettime(v int)

type CreateAutoScalePolicyResponse

type CreateAutoScalePolicyResponse struct {
	Account    string   `json:"account"`
	Action     string   `json:"action"`
	Conditions []string `json:"conditions"`
	Domain     string   `json:"domain"`
	Domainid   string   `json:"domainid"`
	Duration   int      `json:"duration"`
	Id         string   `json:"id"`
	JobID      string   `json:"jobid"`
	Jobstatus  int      `json:"jobstatus"`
	Project    string   `json:"project"`
	Projectid  string   `json:"projectid"`
	Quiettime  int      `json:"quiettime"`
}

type CreateAutoScaleVmGroupParams

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

func (*CreateAutoScaleVmGroupParams) SetFordisplay

func (p *CreateAutoScaleVmGroupParams) SetFordisplay(v bool)

func (*CreateAutoScaleVmGroupParams) SetInterval

func (p *CreateAutoScaleVmGroupParams) SetInterval(v int)

func (*CreateAutoScaleVmGroupParams) SetLbruleid

func (p *CreateAutoScaleVmGroupParams) SetLbruleid(v string)

func (*CreateAutoScaleVmGroupParams) SetMaxmembers

func (p *CreateAutoScaleVmGroupParams) SetMaxmembers(v int)

func (*CreateAutoScaleVmGroupParams) SetMinmembers

func (p *CreateAutoScaleVmGroupParams) SetMinmembers(v int)

func (*CreateAutoScaleVmGroupParams) SetScaledownpolicyids

func (p *CreateAutoScaleVmGroupParams) SetScaledownpolicyids(v []string)

func (*CreateAutoScaleVmGroupParams) SetScaleuppolicyids

func (p *CreateAutoScaleVmGroupParams) SetScaleuppolicyids(v []string)

func (*CreateAutoScaleVmGroupParams) SetVmprofileid

func (p *CreateAutoScaleVmGroupParams) SetVmprofileid(v string)

type CreateAutoScaleVmGroupResponse

type CreateAutoScaleVmGroupResponse struct {
	Account           string   `json:"account"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Fordisplay        bool     `json:"fordisplay"`
	Id                string   `json:"id"`
	Interval          int      `json:"interval"`
	JobID             string   `json:"jobid"`
	Jobstatus         int      `json:"jobstatus"`
	Lbruleid          string   `json:"lbruleid"`
	Maxmembers        int      `json:"maxmembers"`
	Minmembers        int      `json:"minmembers"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Scaledownpolicies []string `json:"scaledownpolicies"`
	Scaleuppolicies   []string `json:"scaleuppolicies"`
	State             string   `json:"state"`
	Vmprofileid       string   `json:"vmprofileid"`
}

type CreateAutoScaleVmProfileParams

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

func (*CreateAutoScaleVmProfileParams) SetAutoscaleuserid

func (p *CreateAutoScaleVmProfileParams) SetAutoscaleuserid(v string)

func (*CreateAutoScaleVmProfileParams) SetCounterparam

func (p *CreateAutoScaleVmProfileParams) SetCounterparam(v map[string]string)

func (*CreateAutoScaleVmProfileParams) SetDestroyvmgraceperiod

func (p *CreateAutoScaleVmProfileParams) SetDestroyvmgraceperiod(v int)

func (*CreateAutoScaleVmProfileParams) SetFordisplay

func (p *CreateAutoScaleVmProfileParams) SetFordisplay(v bool)

func (*CreateAutoScaleVmProfileParams) SetOtherdeployparams

func (p *CreateAutoScaleVmProfileParams) SetOtherdeployparams(v string)

func (*CreateAutoScaleVmProfileParams) SetServiceofferingid

func (p *CreateAutoScaleVmProfileParams) SetServiceofferingid(v string)

func (*CreateAutoScaleVmProfileParams) SetTemplateid

func (p *CreateAutoScaleVmProfileParams) SetTemplateid(v string)

func (*CreateAutoScaleVmProfileParams) SetZoneid

func (p *CreateAutoScaleVmProfileParams) SetZoneid(v string)

type CreateAutoScaleVmProfileResponse

type CreateAutoScaleVmProfileResponse struct {
	Account              string `json:"account"`
	Autoscaleuserid      string `json:"autoscaleuserid"`
	Destroyvmgraceperiod int    `json:"destroyvmgraceperiod"`
	Domain               string `json:"domain"`
	Domainid             string `json:"domainid"`
	Fordisplay           bool   `json:"fordisplay"`
	Id                   string `json:"id"`
	JobID                string `json:"jobid"`
	Jobstatus            int    `json:"jobstatus"`
	Otherdeployparams    string `json:"otherdeployparams"`
	Project              string `json:"project"`
	Projectid            string `json:"projectid"`
	Serviceofferingid    string `json:"serviceofferingid"`
	Templateid           string `json:"templateid"`
	Zoneid               string `json:"zoneid"`
}

type CreateConditionParams

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

func (*CreateConditionParams) SetAccount

func (p *CreateConditionParams) SetAccount(v string)

func (*CreateConditionParams) SetCounterid

func (p *CreateConditionParams) SetCounterid(v string)

func (*CreateConditionParams) SetDomainid

func (p *CreateConditionParams) SetDomainid(v string)

func (*CreateConditionParams) SetRelationaloperator

func (p *CreateConditionParams) SetRelationaloperator(v string)

func (*CreateConditionParams) SetThreshold

func (p *CreateConditionParams) SetThreshold(v int64)

type CreateConditionResponse

type CreateConditionResponse struct {
	Account            string   `json:"account"`
	Counter            []string `json:"counter"`
	Domain             string   `json:"domain"`
	Domainid           string   `json:"domainid"`
	Id                 string   `json:"id"`
	JobID              string   `json:"jobid"`
	Jobstatus          int      `json:"jobstatus"`
	Project            string   `json:"project"`
	Projectid          string   `json:"projectid"`
	Relationaloperator string   `json:"relationaloperator"`
	Threshold          int64    `json:"threshold"`
	Zoneid             string   `json:"zoneid"`
}

type CreateCounterParams

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

func (*CreateCounterParams) SetName

func (p *CreateCounterParams) SetName(v string)

func (*CreateCounterParams) SetSource

func (p *CreateCounterParams) SetSource(v string)

func (*CreateCounterParams) SetValue

func (p *CreateCounterParams) SetValue(v string)

type CreateCounterResponse

type CreateCounterResponse struct {
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
	Source    string `json:"source"`
	Value     string `json:"value"`
	Zoneid    string `json:"zoneid"`
}

type CreateDiskOfferingParams

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

func (*CreateDiskOfferingParams) SetBytesreadrate

func (p *CreateDiskOfferingParams) SetBytesreadrate(v int64)

func (*CreateDiskOfferingParams) SetBytesreadratemax

func (p *CreateDiskOfferingParams) SetBytesreadratemax(v int64)

func (*CreateDiskOfferingParams) SetBytesreadratemaxlength

func (p *CreateDiskOfferingParams) SetBytesreadratemaxlength(v int64)

func (*CreateDiskOfferingParams) SetByteswriterate

func (p *CreateDiskOfferingParams) SetByteswriterate(v int64)

func (*CreateDiskOfferingParams) SetByteswriteratemax

func (p *CreateDiskOfferingParams) SetByteswriteratemax(v int64)

func (*CreateDiskOfferingParams) SetByteswriteratemaxlength

func (p *CreateDiskOfferingParams) SetByteswriteratemaxlength(v int64)

func (*CreateDiskOfferingParams) SetCustomized

func (p *CreateDiskOfferingParams) SetCustomized(v bool)

func (*CreateDiskOfferingParams) SetCustomizediops

func (p *CreateDiskOfferingParams) SetCustomizediops(v bool)

func (*CreateDiskOfferingParams) SetDisksize

func (p *CreateDiskOfferingParams) SetDisksize(v int64)

func (*CreateDiskOfferingParams) SetDisplayoffering

func (p *CreateDiskOfferingParams) SetDisplayoffering(v bool)

func (*CreateDiskOfferingParams) SetDisplaytext

func (p *CreateDiskOfferingParams) SetDisplaytext(v string)

func (*CreateDiskOfferingParams) SetDomainid

func (p *CreateDiskOfferingParams) SetDomainid(v string)

func (*CreateDiskOfferingParams) SetHypervisorsnapshotreserve

func (p *CreateDiskOfferingParams) SetHypervisorsnapshotreserve(v int)

func (*CreateDiskOfferingParams) SetIopsreadrate

func (p *CreateDiskOfferingParams) SetIopsreadrate(v int64)

func (*CreateDiskOfferingParams) SetIopsreadratemax

func (p *CreateDiskOfferingParams) SetIopsreadratemax(v int64)

func (*CreateDiskOfferingParams) SetIopsreadratemaxlength

func (p *CreateDiskOfferingParams) SetIopsreadratemaxlength(v int64)

func (*CreateDiskOfferingParams) SetIopswriterate

func (p *CreateDiskOfferingParams) SetIopswriterate(v int64)

func (*CreateDiskOfferingParams) SetIopswriteratemax

func (p *CreateDiskOfferingParams) SetIopswriteratemax(v int64)

func (*CreateDiskOfferingParams) SetIopswriteratemaxlength

func (p *CreateDiskOfferingParams) SetIopswriteratemaxlength(v int64)

func (*CreateDiskOfferingParams) SetMaxiops

func (p *CreateDiskOfferingParams) SetMaxiops(v int64)

func (*CreateDiskOfferingParams) SetMiniops

func (p *CreateDiskOfferingParams) SetMiniops(v int64)

func (*CreateDiskOfferingParams) SetName

func (p *CreateDiskOfferingParams) SetName(v string)

func (*CreateDiskOfferingParams) SetProvisioningtype

func (p *CreateDiskOfferingParams) SetProvisioningtype(v string)

func (*CreateDiskOfferingParams) SetStoragetype

func (p *CreateDiskOfferingParams) SetStoragetype(v string)

func (*CreateDiskOfferingParams) SetTags

func (p *CreateDiskOfferingParams) SetTags(v string)

type CreateDiskOfferingResponse

type CreateDiskOfferingResponse struct {
	CacheMode                   string `json:"cacheMode"`
	Created                     string `json:"created"`
	DiskBytesReadRate           int64  `json:"diskBytesReadRate"`
	DiskBytesReadRateMax        int64  `json:"diskBytesReadRateMax"`
	DiskBytesReadRateMaxLength  int64  `json:"diskBytesReadRateMaxLength"`
	DiskBytesWriteRate          int64  `json:"diskBytesWriteRate"`
	DiskBytesWriteRateMax       int64  `json:"diskBytesWriteRateMax"`
	DiskBytesWriteRateMaxLength int64  `json:"diskBytesWriteRateMaxLength"`
	DiskIopsReadRate            int64  `json:"diskIopsReadRate"`
	DiskIopsReadRateMax         int64  `json:"diskIopsReadRateMax"`
	DiskIopsReadRateMaxLength   int64  `json:"diskIopsReadRateMaxLength"`
	DiskIopsWriteRate           int64  `json:"diskIopsWriteRate"`
	DiskIopsWriteRateMax        int64  `json:"diskIopsWriteRateMax"`
	DiskIopsWriteRateMaxLength  int64  `json:"diskIopsWriteRateMaxLength"`
	Disksize                    int64  `json:"disksize"`
	Displayoffering             bool   `json:"displayoffering"`
	Displaytext                 string `json:"displaytext"`
	Domain                      string `json:"domain"`
	Domainid                    string `json:"domainid"`
	Hypervisorsnapshotreserve   int    `json:"hypervisorsnapshotreserve"`
	Id                          string `json:"id"`
	Iscustomized                bool   `json:"iscustomized"`
	Iscustomizediops            bool   `json:"iscustomizediops"`
	JobID                       string `json:"jobid"`
	Jobstatus                   int    `json:"jobstatus"`
	Maxiops                     int64  `json:"maxiops"`
	Miniops                     int64  `json:"miniops"`
	Name                        string `json:"name"`
	Provisioningtype            string `json:"provisioningtype"`
	Storagetype                 string `json:"storagetype"`
	Tags                        string `json:"tags"`
}

type CreateDomainParams

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

func (*CreateDomainParams) SetDomainid

func (p *CreateDomainParams) SetDomainid(v string)

func (*CreateDomainParams) SetName

func (p *CreateDomainParams) SetName(v string)

func (*CreateDomainParams) SetNetworkdomain

func (p *CreateDomainParams) SetNetworkdomain(v string)

func (*CreateDomainParams) SetParentdomainid

func (p *CreateDomainParams) SetParentdomainid(v string)

type CreateDomainResponse

type CreateDomainResponse struct {
	Cpuavailable              string  `json:"cpuavailable"`
	Cpulimit                  string  `json:"cpulimit"`
	Cputotal                  int64   `json:"cputotal"`
	Haschild                  bool    `json:"haschild"`
	Id                        string  `json:"id"`
	Ipavailable               string  `json:"ipavailable"`
	Iplimit                   string  `json:"iplimit"`
	Iptotal                   int64   `json:"iptotal"`
	JobID                     string  `json:"jobid"`
	Jobstatus                 int     `json:"jobstatus"`
	Level                     int     `json:"level"`
	Memoryavailable           string  `json:"memoryavailable"`
	Memorylimit               string  `json:"memorylimit"`
	Memorytotal               int64   `json:"memorytotal"`
	Name                      string  `json:"name"`
	Networkavailable          string  `json:"networkavailable"`
	Networkdomain             string  `json:"networkdomain"`
	Networklimit              string  `json:"networklimit"`
	Networktotal              int64   `json:"networktotal"`
	Parentdomainid            string  `json:"parentdomainid"`
	Parentdomainname          string  `json:"parentdomainname"`
	Path                      string  `json:"path"`
	Primarystorageavailable   string  `json:"primarystorageavailable"`
	Primarystoragelimit       string  `json:"primarystoragelimit"`
	Primarystoragetotal       int64   `json:"primarystoragetotal"`
	Projectavailable          string  `json:"projectavailable"`
	Projectlimit              string  `json:"projectlimit"`
	Projecttotal              int64   `json:"projecttotal"`
	Secondarystorageavailable string  `json:"secondarystorageavailable"`
	Secondarystoragelimit     string  `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64 `json:"secondarystoragetotal"`
	Snapshotavailable         string  `json:"snapshotavailable"`
	Snapshotlimit             string  `json:"snapshotlimit"`
	Snapshottotal             int64   `json:"snapshottotal"`
	State                     string  `json:"state"`
	Templateavailable         string  `json:"templateavailable"`
	Templatelimit             string  `json:"templatelimit"`
	Templatetotal             int64   `json:"templatetotal"`
	Vmavailable               string  `json:"vmavailable"`
	Vmlimit                   string  `json:"vmlimit"`
	Vmtotal                   int64   `json:"vmtotal"`
	Volumeavailable           string  `json:"volumeavailable"`
	Volumelimit               string  `json:"volumelimit"`
	Volumetotal               int64   `json:"volumetotal"`
	Vpcavailable              string  `json:"vpcavailable"`
	Vpclimit                  string  `json:"vpclimit"`
	Vpctotal                  int64   `json:"vpctotal"`
}

type CreateEgressFirewallRuleParams

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

func (*CreateEgressFirewallRuleParams) SetCidrlist

func (p *CreateEgressFirewallRuleParams) SetCidrlist(v []string)

func (*CreateEgressFirewallRuleParams) SetDestcidrlist

func (p *CreateEgressFirewallRuleParams) SetDestcidrlist(v []string)

func (*CreateEgressFirewallRuleParams) SetEndport

func (p *CreateEgressFirewallRuleParams) SetEndport(v int)

func (*CreateEgressFirewallRuleParams) SetFordisplay

func (p *CreateEgressFirewallRuleParams) SetFordisplay(v bool)

func (*CreateEgressFirewallRuleParams) SetIcmpcode

func (p *CreateEgressFirewallRuleParams) SetIcmpcode(v int)

func (*CreateEgressFirewallRuleParams) SetIcmptype

func (p *CreateEgressFirewallRuleParams) SetIcmptype(v int)

func (*CreateEgressFirewallRuleParams) SetNetworkid

func (p *CreateEgressFirewallRuleParams) SetNetworkid(v string)

func (*CreateEgressFirewallRuleParams) SetProtocol

func (p *CreateEgressFirewallRuleParams) SetProtocol(v string)

func (*CreateEgressFirewallRuleParams) SetStartport

func (p *CreateEgressFirewallRuleParams) SetStartport(v int)

func (*CreateEgressFirewallRuleParams) SetType

func (p *CreateEgressFirewallRuleParams) SetType(v string)

type CreateEgressFirewallRuleResponse

type CreateEgressFirewallRuleResponse struct {
	Cidrlist     string `json:"cidrlist"`
	Destcidrlist string `json:"destcidrlist"`
	Endport      int    `json:"endport"`
	Fordisplay   bool   `json:"fordisplay"`
	Icmpcode     int    `json:"icmpcode"`
	Icmptype     int    `json:"icmptype"`
	Id           string `json:"id"`
	Ipaddress    string `json:"ipaddress"`
	Ipaddressid  string `json:"ipaddressid"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Networkid    string `json:"networkid"`
	Protocol     string `json:"protocol"`
	Startport    int    `json:"startport"`
	State        string `json:"state"`
	Tags         []Tags `json:"tags"`
}

type CreateFirewallRuleParams

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

func (*CreateFirewallRuleParams) SetCidrlist

func (p *CreateFirewallRuleParams) SetCidrlist(v []string)

func (*CreateFirewallRuleParams) SetEndport

func (p *CreateFirewallRuleParams) SetEndport(v int)

func (*CreateFirewallRuleParams) SetFordisplay

func (p *CreateFirewallRuleParams) SetFordisplay(v bool)

func (*CreateFirewallRuleParams) SetIcmpcode

func (p *CreateFirewallRuleParams) SetIcmpcode(v int)

func (*CreateFirewallRuleParams) SetIcmptype

func (p *CreateFirewallRuleParams) SetIcmptype(v int)

func (*CreateFirewallRuleParams) SetIpaddressid

func (p *CreateFirewallRuleParams) SetIpaddressid(v string)

func (*CreateFirewallRuleParams) SetProtocol

func (p *CreateFirewallRuleParams) SetProtocol(v string)

func (*CreateFirewallRuleParams) SetStartport

func (p *CreateFirewallRuleParams) SetStartport(v int)

func (*CreateFirewallRuleParams) SetType

func (p *CreateFirewallRuleParams) SetType(v string)

type CreateFirewallRuleResponse

type CreateFirewallRuleResponse struct {
	Cidrlist     string `json:"cidrlist"`
	Destcidrlist string `json:"destcidrlist"`
	Endport      int    `json:"endport"`
	Fordisplay   bool   `json:"fordisplay"`
	Icmpcode     int    `json:"icmpcode"`
	Icmptype     int    `json:"icmptype"`
	Id           string `json:"id"`
	Ipaddress    string `json:"ipaddress"`
	Ipaddressid  string `json:"ipaddressid"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Networkid    string `json:"networkid"`
	Protocol     string `json:"protocol"`
	Startport    int    `json:"startport"`
	State        string `json:"state"`
	Tags         []Tags `json:"tags"`
}

type CreateGlobalLoadBalancerRuleParams

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

func (*CreateGlobalLoadBalancerRuleParams) SetAccount

func (p *CreateGlobalLoadBalancerRuleParams) SetAccount(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetDescription

func (p *CreateGlobalLoadBalancerRuleParams) SetDescription(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetDomainid

func (p *CreateGlobalLoadBalancerRuleParams) SetDomainid(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetGslbdomainname

func (p *CreateGlobalLoadBalancerRuleParams) SetGslbdomainname(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetGslblbmethod

func (p *CreateGlobalLoadBalancerRuleParams) SetGslblbmethod(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetGslbservicetype

func (p *CreateGlobalLoadBalancerRuleParams) SetGslbservicetype(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname

func (p *CreateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname(v string)

func (*CreateGlobalLoadBalancerRuleParams) SetName

func (*CreateGlobalLoadBalancerRuleParams) SetRegionid

func (p *CreateGlobalLoadBalancerRuleParams) SetRegionid(v int)

type CreateGlobalLoadBalancerRuleResponse

type CreateGlobalLoadBalancerRuleResponse struct {
	Account                     string                                                 `json:"account"`
	Description                 string                                                 `json:"description"`
	Domain                      string                                                 `json:"domain"`
	Domainid                    string                                                 `json:"domainid"`
	Gslbdomainname              string                                                 `json:"gslbdomainname"`
	Gslblbmethod                string                                                 `json:"gslblbmethod"`
	Gslbservicetype             string                                                 `json:"gslbservicetype"`
	Gslbstickysessionmethodname string                                                 `json:"gslbstickysessionmethodname"`
	Id                          string                                                 `json:"id"`
	JobID                       string                                                 `json:"jobid"`
	Jobstatus                   int                                                    `json:"jobstatus"`
	Loadbalancerrule            []CreateGlobalLoadBalancerRuleResponseLoadbalancerrule `json:"loadbalancerrule"`
	Name                        string                                                 `json:"name"`
	Project                     string                                                 `json:"project"`
	Projectid                   string                                                 `json:"projectid"`
	Regionid                    int                                                    `json:"regionid"`
}

type CreateGlobalLoadBalancerRuleResponseLoadbalancerrule

type CreateGlobalLoadBalancerRuleResponseLoadbalancerrule struct {
	Account     string `json:"account"`
	Algorithm   string `json:"algorithm"`
	Cidrlist    string `json:"cidrlist"`
	Description string `json:"description"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Fordisplay  bool   `json:"fordisplay"`
	Id          string `json:"id"`
	Name        string `json:"name"`
	Networkid   string `json:"networkid"`
	Privateport string `json:"privateport"`
	Project     string `json:"project"`
	Projectid   string `json:"projectid"`
	Protocol    string `json:"protocol"`
	Publicip    string `json:"publicip"`
	Publicipid  string `json:"publicipid"`
	Publicport  string `json:"publicport"`
	State       string `json:"state"`
	Tags        []Tags `json:"tags"`
	Zoneid      string `json:"zoneid"`
	Zonename    string `json:"zonename"`
}

type CreateInstanceGroupParams

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

func (*CreateInstanceGroupParams) SetAccount

func (p *CreateInstanceGroupParams) SetAccount(v string)

func (*CreateInstanceGroupParams) SetDomainid

func (p *CreateInstanceGroupParams) SetDomainid(v string)

func (*CreateInstanceGroupParams) SetName

func (p *CreateInstanceGroupParams) SetName(v string)

func (*CreateInstanceGroupParams) SetProjectid

func (p *CreateInstanceGroupParams) SetProjectid(v string)

type CreateInstanceGroupResponse

type CreateInstanceGroupResponse struct {
	Account   string `json:"account"`
	Created   string `json:"created"`
	Domain    string `json:"domain"`
	Domainid  string `json:"domainid"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
	Project   string `json:"project"`
	Projectid string `json:"projectid"`
}

type CreateInternalLoadBalancerElementParams

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

func (*CreateInternalLoadBalancerElementParams) SetNspid

type CreateInternalLoadBalancerElementResponse

type CreateInternalLoadBalancerElementResponse struct {
	Enabled   bool   `json:"enabled"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Nspid     string `json:"nspid"`
}

type CreateIpForwardingRuleParams

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

func (*CreateIpForwardingRuleParams) SetCidrlist

func (p *CreateIpForwardingRuleParams) SetCidrlist(v []string)

func (*CreateIpForwardingRuleParams) SetEndport

func (p *CreateIpForwardingRuleParams) SetEndport(v int)

func (*CreateIpForwardingRuleParams) SetIpaddressid

func (p *CreateIpForwardingRuleParams) SetIpaddressid(v string)

func (*CreateIpForwardingRuleParams) SetOpenfirewall

func (p *CreateIpForwardingRuleParams) SetOpenfirewall(v bool)

func (*CreateIpForwardingRuleParams) SetProtocol

func (p *CreateIpForwardingRuleParams) SetProtocol(v string)

func (*CreateIpForwardingRuleParams) SetStartport

func (p *CreateIpForwardingRuleParams) SetStartport(v int)

type CreateIpForwardingRuleResponse

type CreateIpForwardingRuleResponse struct {
	Cidrlist                  string `json:"cidrlist"`
	Fordisplay                bool   `json:"fordisplay"`
	Id                        string `json:"id"`
	Ipaddress                 string `json:"ipaddress"`
	Ipaddressid               string `json:"ipaddressid"`
	JobID                     string `json:"jobid"`
	Jobstatus                 int    `json:"jobstatus"`
	Networkid                 string `json:"networkid"`
	Privateendport            string `json:"privateendport"`
	Privateport               string `json:"privateport"`
	Protocol                  string `json:"protocol"`
	Publicendport             string `json:"publicendport"`
	Publicport                string `json:"publicport"`
	State                     string `json:"state"`
	Tags                      []Tags `json:"tags"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname"`
	Virtualmachineid          string `json:"virtualmachineid"`
	Virtualmachinename        string `json:"virtualmachinename"`
	Vmguestip                 string `json:"vmguestip"`
}

type CreateLBHealthCheckPolicyParams

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

func (*CreateLBHealthCheckPolicyParams) SetDescription

func (p *CreateLBHealthCheckPolicyParams) SetDescription(v string)

func (*CreateLBHealthCheckPolicyParams) SetFordisplay

func (p *CreateLBHealthCheckPolicyParams) SetFordisplay(v bool)

func (*CreateLBHealthCheckPolicyParams) SetHealthythreshold

func (p *CreateLBHealthCheckPolicyParams) SetHealthythreshold(v int)

func (*CreateLBHealthCheckPolicyParams) SetIntervaltime

func (p *CreateLBHealthCheckPolicyParams) SetIntervaltime(v int)

func (*CreateLBHealthCheckPolicyParams) SetLbruleid

func (p *CreateLBHealthCheckPolicyParams) SetLbruleid(v string)

func (*CreateLBHealthCheckPolicyParams) SetPingpath

func (p *CreateLBHealthCheckPolicyParams) SetPingpath(v string)

func (*CreateLBHealthCheckPolicyParams) SetResponsetimeout

func (p *CreateLBHealthCheckPolicyParams) SetResponsetimeout(v int)

func (*CreateLBHealthCheckPolicyParams) SetUnhealthythreshold

func (p *CreateLBHealthCheckPolicyParams) SetUnhealthythreshold(v int)

type CreateLBHealthCheckPolicyResponse

type CreateLBHealthCheckPolicyResponse struct {
	Account           string                                               `json:"account"`
	Domain            string                                               `json:"domain"`
	Domainid          string                                               `json:"domainid"`
	Healthcheckpolicy []CreateLBHealthCheckPolicyResponseHealthcheckpolicy `json:"healthcheckpolicy"`
	JobID             string                                               `json:"jobid"`
	Jobstatus         int                                                  `json:"jobstatus"`
	Lbruleid          string                                               `json:"lbruleid"`
	Zoneid            string                                               `json:"zoneid"`
}

type CreateLBHealthCheckPolicyResponseHealthcheckpolicy

type CreateLBHealthCheckPolicyResponseHealthcheckpolicy struct {
	Description             string `json:"description"`
	Fordisplay              bool   `json:"fordisplay"`
	Healthcheckinterval     int    `json:"healthcheckinterval"`
	Healthcheckthresshold   int    `json:"healthcheckthresshold"`
	Id                      string `json:"id"`
	Pingpath                string `json:"pingpath"`
	Responsetime            int    `json:"responsetime"`
	State                   string `json:"state"`
	Unhealthcheckthresshold int    `json:"unhealthcheckthresshold"`
}

type CreateLBStickinessPolicyParams

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

func (*CreateLBStickinessPolicyParams) SetDescription

func (p *CreateLBStickinessPolicyParams) SetDescription(v string)

func (*CreateLBStickinessPolicyParams) SetFordisplay

func (p *CreateLBStickinessPolicyParams) SetFordisplay(v bool)

func (*CreateLBStickinessPolicyParams) SetLbruleid

func (p *CreateLBStickinessPolicyParams) SetLbruleid(v string)

func (*CreateLBStickinessPolicyParams) SetMethodname

func (p *CreateLBStickinessPolicyParams) SetMethodname(v string)

func (*CreateLBStickinessPolicyParams) SetName

func (p *CreateLBStickinessPolicyParams) SetName(v string)

func (*CreateLBStickinessPolicyParams) SetParam

func (p *CreateLBStickinessPolicyParams) SetParam(v map[string]string)

type CreateLBStickinessPolicyResponse

type CreateLBStickinessPolicyResponse struct {
	Account          string                                             `json:"account"`
	Description      string                                             `json:"description"`
	Domain           string                                             `json:"domain"`
	Domainid         string                                             `json:"domainid"`
	JobID            string                                             `json:"jobid"`
	Jobstatus        int                                                `json:"jobstatus"`
	Lbruleid         string                                             `json:"lbruleid"`
	Name             string                                             `json:"name"`
	State            string                                             `json:"state"`
	Stickinesspolicy []CreateLBStickinessPolicyResponseStickinesspolicy `json:"stickinesspolicy"`
	Zoneid           string                                             `json:"zoneid"`
}

type CreateLBStickinessPolicyResponseStickinesspolicy

type CreateLBStickinessPolicyResponseStickinesspolicy struct {
	Description string            `json:"description"`
	Fordisplay  bool              `json:"fordisplay"`
	Id          string            `json:"id"`
	Methodname  string            `json:"methodname"`
	Name        string            `json:"name"`
	Params      map[string]string `json:"params"`
	State       string            `json:"state"`
}

type CreateLoadBalancerParams

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

func (*CreateLoadBalancerParams) SetAlgorithm

func (p *CreateLoadBalancerParams) SetAlgorithm(v string)

func (*CreateLoadBalancerParams) SetDescription

func (p *CreateLoadBalancerParams) SetDescription(v string)

func (*CreateLoadBalancerParams) SetFordisplay

func (p *CreateLoadBalancerParams) SetFordisplay(v bool)

func (*CreateLoadBalancerParams) SetInstanceport

func (p *CreateLoadBalancerParams) SetInstanceport(v int)

func (*CreateLoadBalancerParams) SetName

func (p *CreateLoadBalancerParams) SetName(v string)

func (*CreateLoadBalancerParams) SetNetworkid

func (p *CreateLoadBalancerParams) SetNetworkid(v string)

func (*CreateLoadBalancerParams) SetScheme

func (p *CreateLoadBalancerParams) SetScheme(v string)

func (*CreateLoadBalancerParams) SetSourceipaddress

func (p *CreateLoadBalancerParams) SetSourceipaddress(v string)

func (*CreateLoadBalancerParams) SetSourceipaddressnetworkid

func (p *CreateLoadBalancerParams) SetSourceipaddressnetworkid(v string)

func (*CreateLoadBalancerParams) SetSourceport

func (p *CreateLoadBalancerParams) SetSourceport(v int)

type CreateLoadBalancerResponse

type CreateLoadBalancerResponse struct {
	Account                  string                                           `json:"account"`
	Algorithm                string                                           `json:"algorithm"`
	Description              string                                           `json:"description"`
	Domain                   string                                           `json:"domain"`
	Domainid                 string                                           `json:"domainid"`
	Fordisplay               bool                                             `json:"fordisplay"`
	Id                       string                                           `json:"id"`
	JobID                    string                                           `json:"jobid"`
	Jobstatus                int                                              `json:"jobstatus"`
	Loadbalancerinstance     []CreateLoadBalancerResponseLoadbalancerinstance `json:"loadbalancerinstance"`
	Loadbalancerrule         []CreateLoadBalancerResponseLoadbalancerrule     `json:"loadbalancerrule"`
	Name                     string                                           `json:"name"`
	Networkid                string                                           `json:"networkid"`
	Project                  string                                           `json:"project"`
	Projectid                string                                           `json:"projectid"`
	Sourceipaddress          string                                           `json:"sourceipaddress"`
	Sourceipaddressnetworkid string                                           `json:"sourceipaddressnetworkid"`
	Tags                     []Tags                                           `json:"tags"`
}

type CreateLoadBalancerResponseLoadbalancerinstance

type CreateLoadBalancerResponseLoadbalancerinstance struct {
	Id        string `json:"id"`
	Ipaddress string `json:"ipaddress"`
	Name      string `json:"name"`
	State     string `json:"state"`
}

type CreateLoadBalancerResponseLoadbalancerrule

type CreateLoadBalancerResponseLoadbalancerrule struct {
	Instanceport int    `json:"instanceport"`
	Sourceport   int    `json:"sourceport"`
	State        string `json:"state"`
}

type CreateLoadBalancerRuleParams

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

func (*CreateLoadBalancerRuleParams) SetAccount

func (p *CreateLoadBalancerRuleParams) SetAccount(v string)

func (*CreateLoadBalancerRuleParams) SetAlgorithm

func (p *CreateLoadBalancerRuleParams) SetAlgorithm(v string)

func (*CreateLoadBalancerRuleParams) SetCidrlist

func (p *CreateLoadBalancerRuleParams) SetCidrlist(v []string)

func (*CreateLoadBalancerRuleParams) SetDescription

func (p *CreateLoadBalancerRuleParams) SetDescription(v string)

func (*CreateLoadBalancerRuleParams) SetDomainid

func (p *CreateLoadBalancerRuleParams) SetDomainid(v string)

func (*CreateLoadBalancerRuleParams) SetFordisplay

func (p *CreateLoadBalancerRuleParams) SetFordisplay(v bool)

func (*CreateLoadBalancerRuleParams) SetName

func (p *CreateLoadBalancerRuleParams) SetName(v string)

func (*CreateLoadBalancerRuleParams) SetNetworkid

func (p *CreateLoadBalancerRuleParams) SetNetworkid(v string)

func (*CreateLoadBalancerRuleParams) SetOpenfirewall

func (p *CreateLoadBalancerRuleParams) SetOpenfirewall(v bool)

func (*CreateLoadBalancerRuleParams) SetPrivateport

func (p *CreateLoadBalancerRuleParams) SetPrivateport(v int)

func (*CreateLoadBalancerRuleParams) SetProtocol

func (p *CreateLoadBalancerRuleParams) SetProtocol(v string)

func (*CreateLoadBalancerRuleParams) SetPublicipid

func (p *CreateLoadBalancerRuleParams) SetPublicipid(v string)

func (*CreateLoadBalancerRuleParams) SetPublicport

func (p *CreateLoadBalancerRuleParams) SetPublicport(v int)

func (*CreateLoadBalancerRuleParams) SetZoneid

func (p *CreateLoadBalancerRuleParams) SetZoneid(v string)

type CreateLoadBalancerRuleResponse

type CreateLoadBalancerRuleResponse struct {
	Account     string `json:"account"`
	Algorithm   string `json:"algorithm"`
	Cidrlist    string `json:"cidrlist"`
	Description string `json:"description"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Fordisplay  bool   `json:"fordisplay"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Networkid   string `json:"networkid"`
	Privateport string `json:"privateport"`
	Project     string `json:"project"`
	Projectid   string `json:"projectid"`
	Protocol    string `json:"protocol"`
	Publicip    string `json:"publicip"`
	Publicipid  string `json:"publicipid"`
	Publicport  string `json:"publicport"`
	State       string `json:"state"`
	Tags        []Tags `json:"tags"`
	Zoneid      string `json:"zoneid"`
	Zonename    string `json:"zonename"`
}

type CreateNetworkACLListParams

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

func (*CreateNetworkACLListParams) SetDescription

func (p *CreateNetworkACLListParams) SetDescription(v string)

func (*CreateNetworkACLListParams) SetFordisplay

func (p *CreateNetworkACLListParams) SetFordisplay(v bool)

func (*CreateNetworkACLListParams) SetName

func (p *CreateNetworkACLListParams) SetName(v string)

func (*CreateNetworkACLListParams) SetVpcid

func (p *CreateNetworkACLListParams) SetVpcid(v string)

type CreateNetworkACLListResponse

type CreateNetworkACLListResponse struct {
	Description string `json:"description"`
	Fordisplay  bool   `json:"fordisplay"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Vpcid       string `json:"vpcid"`
}

type CreateNetworkACLParams

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

func (*CreateNetworkACLParams) SetAclid

func (p *CreateNetworkACLParams) SetAclid(v string)

func (*CreateNetworkACLParams) SetAction

func (p *CreateNetworkACLParams) SetAction(v string)

func (*CreateNetworkACLParams) SetCidrlist

func (p *CreateNetworkACLParams) SetCidrlist(v []string)

func (*CreateNetworkACLParams) SetEndport

func (p *CreateNetworkACLParams) SetEndport(v int)

func (*CreateNetworkACLParams) SetFordisplay

func (p *CreateNetworkACLParams) SetFordisplay(v bool)

func (*CreateNetworkACLParams) SetIcmpcode

func (p *CreateNetworkACLParams) SetIcmpcode(v int)

func (*CreateNetworkACLParams) SetIcmptype

func (p *CreateNetworkACLParams) SetIcmptype(v int)

func (*CreateNetworkACLParams) SetNetworkid

func (p *CreateNetworkACLParams) SetNetworkid(v string)

func (*CreateNetworkACLParams) SetNumber

func (p *CreateNetworkACLParams) SetNumber(v int)

func (*CreateNetworkACLParams) SetProtocol

func (p *CreateNetworkACLParams) SetProtocol(v string)

func (*CreateNetworkACLParams) SetReason

func (p *CreateNetworkACLParams) SetReason(v string)

func (*CreateNetworkACLParams) SetStartport

func (p *CreateNetworkACLParams) SetStartport(v int)

func (*CreateNetworkACLParams) SetTraffictype

func (p *CreateNetworkACLParams) SetTraffictype(v string)

type CreateNetworkACLResponse

type CreateNetworkACLResponse struct {
	Aclid       string `json:"aclid"`
	Action      string `json:"action"`
	Cidrlist    string `json:"cidrlist"`
	Endport     string `json:"endport"`
	Fordisplay  bool   `json:"fordisplay"`
	Icmpcode    int    `json:"icmpcode"`
	Icmptype    int    `json:"icmptype"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Number      int    `json:"number"`
	Protocol    string `json:"protocol"`
	Reason      string `json:"reason"`
	Startport   string `json:"startport"`
	State       string `json:"state"`
	Tags        []Tags `json:"tags"`
	Traffictype string `json:"traffictype"`
}

type CreateNetworkOfferingParams

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

func (*CreateNetworkOfferingParams) SetAvailability

func (p *CreateNetworkOfferingParams) SetAvailability(v string)

func (*CreateNetworkOfferingParams) SetConservemode

func (p *CreateNetworkOfferingParams) SetConservemode(v bool)

func (*CreateNetworkOfferingParams) SetDetails

func (p *CreateNetworkOfferingParams) SetDetails(v map[string]string)

func (*CreateNetworkOfferingParams) SetDisplaytext

func (p *CreateNetworkOfferingParams) SetDisplaytext(v string)

func (*CreateNetworkOfferingParams) SetEgressdefaultpolicy

func (p *CreateNetworkOfferingParams) SetEgressdefaultpolicy(v bool)

func (*CreateNetworkOfferingParams) SetForvpc

func (p *CreateNetworkOfferingParams) SetForvpc(v bool)

func (*CreateNetworkOfferingParams) SetGuestiptype

func (p *CreateNetworkOfferingParams) SetGuestiptype(v string)

func (*CreateNetworkOfferingParams) SetIspersistent

func (p *CreateNetworkOfferingParams) SetIspersistent(v bool)

func (*CreateNetworkOfferingParams) SetKeepaliveenabled

func (p *CreateNetworkOfferingParams) SetKeepaliveenabled(v bool)

func (*CreateNetworkOfferingParams) SetMaxconnections

func (p *CreateNetworkOfferingParams) SetMaxconnections(v int)

func (*CreateNetworkOfferingParams) SetName

func (p *CreateNetworkOfferingParams) SetName(v string)

func (*CreateNetworkOfferingParams) SetNetworkrate

func (p *CreateNetworkOfferingParams) SetNetworkrate(v int)

func (*CreateNetworkOfferingParams) SetServicecapabilitylist

func (p *CreateNetworkOfferingParams) SetServicecapabilitylist(v map[string]string)

func (*CreateNetworkOfferingParams) SetServiceofferingid

func (p *CreateNetworkOfferingParams) SetServiceofferingid(v string)

func (*CreateNetworkOfferingParams) SetServiceproviderlist

func (p *CreateNetworkOfferingParams) SetServiceproviderlist(v map[string]string)

func (*CreateNetworkOfferingParams) SetSpecifyipranges

func (p *CreateNetworkOfferingParams) SetSpecifyipranges(v bool)

func (*CreateNetworkOfferingParams) SetSpecifyvlan

func (p *CreateNetworkOfferingParams) SetSpecifyvlan(v bool)

func (*CreateNetworkOfferingParams) SetSupportedservices

func (p *CreateNetworkOfferingParams) SetSupportedservices(v []string)

func (*CreateNetworkOfferingParams) SetTags

func (p *CreateNetworkOfferingParams) SetTags(v string)

func (*CreateNetworkOfferingParams) SetTraffictype

func (p *CreateNetworkOfferingParams) SetTraffictype(v string)

type CreateNetworkOfferingResponse

type CreateNetworkOfferingResponse struct {
	Availability             string                                 `json:"availability"`
	Conservemode             bool                                   `json:"conservemode"`
	Created                  string                                 `json:"created"`
	Details                  map[string]string                      `json:"details"`
	Displaytext              string                                 `json:"displaytext"`
	Egressdefaultpolicy      bool                                   `json:"egressdefaultpolicy"`
	Forvpc                   bool                                   `json:"forvpc"`
	Guestiptype              string                                 `json:"guestiptype"`
	Id                       string                                 `json:"id"`
	Isdefault                bool                                   `json:"isdefault"`
	Ispersistent             bool                                   `json:"ispersistent"`
	JobID                    string                                 `json:"jobid"`
	Jobstatus                int                                    `json:"jobstatus"`
	Maxconnections           int                                    `json:"maxconnections"`
	Name                     string                                 `json:"name"`
	Networkrate              int                                    `json:"networkrate"`
	Service                  []CreateNetworkOfferingResponseService `json:"service"`
	Serviceofferingid        string                                 `json:"serviceofferingid"`
	Specifyipranges          bool                                   `json:"specifyipranges"`
	Specifyvlan              bool                                   `json:"specifyvlan"`
	State                    string                                 `json:"state"`
	Supportspublicaccess     bool                                   `json:"supportspublicaccess"`
	Supportsstrechedl2subnet bool                                   `json:"supportsstrechedl2subnet"`
	Tags                     string                                 `json:"tags"`
	Traffictype              string                                 `json:"traffictype"`
}

type CreateNetworkOfferingResponseService

type CreateNetworkOfferingResponseService struct {
	Capability []CreateNetworkOfferingResponseServiceCapability `json:"capability"`
	Name       string                                           `json:"name"`
	Provider   []CreateNetworkOfferingResponseServiceProvider   `json:"provider"`
}

type CreateNetworkOfferingResponseServiceCapability

type CreateNetworkOfferingResponseServiceCapability struct {
	Canchooseservicecapability bool   `json:"canchooseservicecapability"`
	Name                       string `json:"name"`
	Value                      string `json:"value"`
}

type CreateNetworkOfferingResponseServiceProvider

type CreateNetworkOfferingResponseServiceProvider struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type CreateNetworkParams

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

func (*CreateNetworkParams) SetAccount

func (p *CreateNetworkParams) SetAccount(v string)

func (*CreateNetworkParams) SetAclid

func (p *CreateNetworkParams) SetAclid(v string)

func (*CreateNetworkParams) SetAcltype

func (p *CreateNetworkParams) SetAcltype(v string)

func (*CreateNetworkParams) SetBypassvlanoverlapcheck

func (p *CreateNetworkParams) SetBypassvlanoverlapcheck(v bool)

func (*CreateNetworkParams) SetDisplaynetwork

func (p *CreateNetworkParams) SetDisplaynetwork(v bool)

func (*CreateNetworkParams) SetDisplaytext

func (p *CreateNetworkParams) SetDisplaytext(v string)

func (*CreateNetworkParams) SetDomainid

func (p *CreateNetworkParams) SetDomainid(v string)

func (*CreateNetworkParams) SetEndip

func (p *CreateNetworkParams) SetEndip(v string)

func (*CreateNetworkParams) SetEndipv6

func (p *CreateNetworkParams) SetEndipv6(v string)

func (*CreateNetworkParams) SetExternalid

func (p *CreateNetworkParams) SetExternalid(v string)

func (*CreateNetworkParams) SetGateway

func (p *CreateNetworkParams) SetGateway(v string)

func (*CreateNetworkParams) SetIp6cidr

func (p *CreateNetworkParams) SetIp6cidr(v string)

func (*CreateNetworkParams) SetIp6gateway

func (p *CreateNetworkParams) SetIp6gateway(v string)

func (*CreateNetworkParams) SetIsolatedpvlan

func (p *CreateNetworkParams) SetIsolatedpvlan(v string)

func (*CreateNetworkParams) SetName

func (p *CreateNetworkParams) SetName(v string)

func (*CreateNetworkParams) SetNetmask

func (p *CreateNetworkParams) SetNetmask(v string)

func (*CreateNetworkParams) SetNetworkdomain

func (p *CreateNetworkParams) SetNetworkdomain(v string)

func (*CreateNetworkParams) SetNetworkofferingid

func (p *CreateNetworkParams) SetNetworkofferingid(v string)

func (*CreateNetworkParams) SetPhysicalnetworkid

func (p *CreateNetworkParams) SetPhysicalnetworkid(v string)

func (*CreateNetworkParams) SetProjectid

func (p *CreateNetworkParams) SetProjectid(v string)

func (*CreateNetworkParams) SetStartip

func (p *CreateNetworkParams) SetStartip(v string)

func (*CreateNetworkParams) SetStartipv6

func (p *CreateNetworkParams) SetStartipv6(v string)

func (*CreateNetworkParams) SetSubdomainaccess

func (p *CreateNetworkParams) SetSubdomainaccess(v bool)

func (*CreateNetworkParams) SetVlan

func (p *CreateNetworkParams) SetVlan(v string)

func (*CreateNetworkParams) SetVpcid

func (p *CreateNetworkParams) SetVpcid(v string)

func (*CreateNetworkParams) SetZoneid

func (p *CreateNetworkParams) SetZoneid(v string)

type CreateNetworkResponse

type CreateNetworkResponse struct {
	Account                     string                         `json:"account"`
	Aclid                       string                         `json:"aclid"`
	Acltype                     string                         `json:"acltype"`
	Broadcastdomaintype         string                         `json:"broadcastdomaintype"`
	Broadcasturi                string                         `json:"broadcasturi"`
	Canusefordeploy             bool                           `json:"canusefordeploy"`
	Cidr                        string                         `json:"cidr"`
	Displaynetwork              bool                           `json:"displaynetwork"`
	Displaytext                 string                         `json:"displaytext"`
	Dns1                        string                         `json:"dns1"`
	Dns2                        string                         `json:"dns2"`
	Domain                      string                         `json:"domain"`
	Domainid                    string                         `json:"domainid"`
	Externalid                  string                         `json:"externalid"`
	Gateway                     string                         `json:"gateway"`
	Id                          string                         `json:"id"`
	Ip6cidr                     string                         `json:"ip6cidr"`
	Ip6gateway                  string                         `json:"ip6gateway"`
	Isdefault                   bool                           `json:"isdefault"`
	Ispersistent                bool                           `json:"ispersistent"`
	Issystem                    bool                           `json:"issystem"`
	JobID                       string                         `json:"jobid"`
	Jobstatus                   int                            `json:"jobstatus"`
	Name                        string                         `json:"name"`
	Netmask                     string                         `json:"netmask"`
	Networkcidr                 string                         `json:"networkcidr"`
	Networkdomain               string                         `json:"networkdomain"`
	Networkofferingavailability string                         `json:"networkofferingavailability"`
	Networkofferingconservemode bool                           `json:"networkofferingconservemode"`
	Networkofferingdisplaytext  string                         `json:"networkofferingdisplaytext"`
	Networkofferingid           string                         `json:"networkofferingid"`
	Networkofferingname         string                         `json:"networkofferingname"`
	Physicalnetworkid           string                         `json:"physicalnetworkid"`
	Project                     string                         `json:"project"`
	Projectid                   string                         `json:"projectid"`
	Redundantrouter             bool                           `json:"redundantrouter"`
	Related                     string                         `json:"related"`
	Reservediprange             string                         `json:"reservediprange"`
	Restartrequired             bool                           `json:"restartrequired"`
	Service                     []CreateNetworkResponseService `json:"service"`
	Specifyipranges             bool                           `json:"specifyipranges"`
	State                       string                         `json:"state"`
	Strechedl2subnet            bool                           `json:"strechedl2subnet"`
	Subdomainaccess             bool                           `json:"subdomainaccess"`
	Tags                        []Tags                         `json:"tags"`
	Traffictype                 string                         `json:"traffictype"`
	Type                        string                         `json:"type"`
	Vlan                        string                         `json:"vlan"`
	Vpcid                       string                         `json:"vpcid"`
	Zoneid                      string                         `json:"zoneid"`
	Zonename                    string                         `json:"zonename"`
	Zonesnetworkspans           []interface{}                  `json:"zonesnetworkspans"`
}

type CreateNetworkResponseService

type CreateNetworkResponseService struct {
	Capability []CreateNetworkResponseServiceCapability `json:"capability"`
	Name       string                                   `json:"name"`
	Provider   []CreateNetworkResponseServiceProvider   `json:"provider"`
}

type CreateNetworkResponseServiceCapability

type CreateNetworkResponseServiceCapability struct {
	Canchooseservicecapability bool   `json:"canchooseservicecapability"`
	Name                       string `json:"name"`
	Value                      string `json:"value"`
}

type CreateNetworkResponseServiceProvider

type CreateNetworkResponseServiceProvider struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type CreatePhysicalNetworkParams

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

func (*CreatePhysicalNetworkParams) SetBroadcastdomainrange

func (p *CreatePhysicalNetworkParams) SetBroadcastdomainrange(v string)

func (*CreatePhysicalNetworkParams) SetDomainid

func (p *CreatePhysicalNetworkParams) SetDomainid(v string)

func (*CreatePhysicalNetworkParams) SetIsolationmethods

func (p *CreatePhysicalNetworkParams) SetIsolationmethods(v []string)

func (*CreatePhysicalNetworkParams) SetName

func (p *CreatePhysicalNetworkParams) SetName(v string)

func (*CreatePhysicalNetworkParams) SetNetworkspeed

func (p *CreatePhysicalNetworkParams) SetNetworkspeed(v string)

func (*CreatePhysicalNetworkParams) SetTags

func (p *CreatePhysicalNetworkParams) SetTags(v []string)

func (*CreatePhysicalNetworkParams) SetVlan

func (p *CreatePhysicalNetworkParams) SetVlan(v string)

func (*CreatePhysicalNetworkParams) SetZoneid

func (p *CreatePhysicalNetworkParams) SetZoneid(v string)

type CreatePhysicalNetworkResponse

type CreatePhysicalNetworkResponse struct {
	Broadcastdomainrange string `json:"broadcastdomainrange"`
	Domainid             string `json:"domainid"`
	Id                   string `json:"id"`
	Isolationmethods     string `json:"isolationmethods"`
	JobID                string `json:"jobid"`
	Jobstatus            int    `json:"jobstatus"`
	Name                 string `json:"name"`
	Networkspeed         string `json:"networkspeed"`
	State                string `json:"state"`
	Tags                 string `json:"tags"`
	Vlan                 string `json:"vlan"`
	Zoneid               string `json:"zoneid"`
}

type CreatePodParams

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

func (*CreatePodParams) SetAllocationstate

func (p *CreatePodParams) SetAllocationstate(v string)

func (*CreatePodParams) SetEndip

func (p *CreatePodParams) SetEndip(v string)

func (*CreatePodParams) SetGateway

func (p *CreatePodParams) SetGateway(v string)

func (*CreatePodParams) SetName

func (p *CreatePodParams) SetName(v string)

func (*CreatePodParams) SetNetmask

func (p *CreatePodParams) SetNetmask(v string)

func (*CreatePodParams) SetStartip

func (p *CreatePodParams) SetStartip(v string)

func (*CreatePodParams) SetZoneid

func (p *CreatePodParams) SetZoneid(v string)

type CreatePodResponse

type CreatePodResponse struct {
	Allocationstate string                      `json:"allocationstate"`
	Capacity        []CreatePodResponseCapacity `json:"capacity"`
	Endip           []string                    `json:"endip"`
	Forsystemvms    []string                    `json:"forsystemvms"`
	Gateway         string                      `json:"gateway"`
	Id              string                      `json:"id"`
	JobID           string                      `json:"jobid"`
	Jobstatus       int                         `json:"jobstatus"`
	Name            string                      `json:"name"`
	Netmask         string                      `json:"netmask"`
	Startip         []string                    `json:"startip"`
	Vlanid          []string                    `json:"vlanid"`
	Zoneid          string                      `json:"zoneid"`
	Zonename        string                      `json:"zonename"`
}

type CreatePodResponseCapacity

type CreatePodResponseCapacity struct {
	Capacityallocated int64  `json:"capacityallocated"`
	Capacitytotal     int64  `json:"capacitytotal"`
	Capacityused      int64  `json:"capacityused"`
	Clusterid         string `json:"clusterid"`
	Clustername       string `json:"clustername"`
	Name              string `json:"name"`
	Percentused       string `json:"percentused"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Type              int    `json:"type"`
	Zoneid            string `json:"zoneid"`
	Zonename          string `json:"zonename"`
}

type CreatePortForwardingRuleParams

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

func (*CreatePortForwardingRuleParams) SetCidrlist

func (p *CreatePortForwardingRuleParams) SetCidrlist(v []string)

func (*CreatePortForwardingRuleParams) SetFordisplay

func (p *CreatePortForwardingRuleParams) SetFordisplay(v bool)

func (*CreatePortForwardingRuleParams) SetIpaddressid

func (p *CreatePortForwardingRuleParams) SetIpaddressid(v string)

func (*CreatePortForwardingRuleParams) SetNetworkid

func (p *CreatePortForwardingRuleParams) SetNetworkid(v string)

func (*CreatePortForwardingRuleParams) SetOpenfirewall

func (p *CreatePortForwardingRuleParams) SetOpenfirewall(v bool)

func (*CreatePortForwardingRuleParams) SetPrivateendport

func (p *CreatePortForwardingRuleParams) SetPrivateendport(v int)

func (*CreatePortForwardingRuleParams) SetPrivateport

func (p *CreatePortForwardingRuleParams) SetPrivateport(v int)

func (*CreatePortForwardingRuleParams) SetProtocol

func (p *CreatePortForwardingRuleParams) SetProtocol(v string)

func (*CreatePortForwardingRuleParams) SetPublicendport

func (p *CreatePortForwardingRuleParams) SetPublicendport(v int)

func (*CreatePortForwardingRuleParams) SetPublicport

func (p *CreatePortForwardingRuleParams) SetPublicport(v int)

func (*CreatePortForwardingRuleParams) SetVirtualmachineid

func (p *CreatePortForwardingRuleParams) SetVirtualmachineid(v string)

func (*CreatePortForwardingRuleParams) SetVmguestip

func (p *CreatePortForwardingRuleParams) SetVmguestip(v string)

type CreatePortForwardingRuleResponse

type CreatePortForwardingRuleResponse struct {
	Cidrlist                  string `json:"cidrlist"`
	Fordisplay                bool   `json:"fordisplay"`
	Id                        string `json:"id"`
	Ipaddress                 string `json:"ipaddress"`
	Ipaddressid               string `json:"ipaddressid"`
	JobID                     string `json:"jobid"`
	Jobstatus                 int    `json:"jobstatus"`
	Networkid                 string `json:"networkid"`
	Privateendport            string `json:"privateendport"`
	Privateport               string `json:"privateport"`
	Protocol                  string `json:"protocol"`
	Publicendport             string `json:"publicendport"`
	Publicport                string `json:"publicport"`
	State                     string `json:"state"`
	Tags                      []Tags `json:"tags"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname"`
	Virtualmachineid          string `json:"virtualmachineid"`
	Virtualmachinename        string `json:"virtualmachinename"`
	Vmguestip                 string `json:"vmguestip"`
}

type CreatePortableIpRangeParams

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

func (*CreatePortableIpRangeParams) SetEndip

func (p *CreatePortableIpRangeParams) SetEndip(v string)

func (*CreatePortableIpRangeParams) SetGateway

func (p *CreatePortableIpRangeParams) SetGateway(v string)

func (*CreatePortableIpRangeParams) SetNetmask

func (p *CreatePortableIpRangeParams) SetNetmask(v string)

func (*CreatePortableIpRangeParams) SetRegionid

func (p *CreatePortableIpRangeParams) SetRegionid(v int)

func (*CreatePortableIpRangeParams) SetStartip

func (p *CreatePortableIpRangeParams) SetStartip(v string)

func (*CreatePortableIpRangeParams) SetVlan

func (p *CreatePortableIpRangeParams) SetVlan(v string)

type CreatePortableIpRangeResponse

type CreatePortableIpRangeResponse struct {
	Endip             string                                           `json:"endip"`
	Gateway           string                                           `json:"gateway"`
	Id                string                                           `json:"id"`
	JobID             string                                           `json:"jobid"`
	Jobstatus         int                                              `json:"jobstatus"`
	Netmask           string                                           `json:"netmask"`
	Portableipaddress []CreatePortableIpRangeResponsePortableipaddress `json:"portableipaddress"`
	Regionid          int                                              `json:"regionid"`
	Startip           string                                           `json:"startip"`
	Vlan              string                                           `json:"vlan"`
}

type CreatePortableIpRangeResponsePortableipaddress

type CreatePortableIpRangeResponsePortableipaddress struct {
	Accountid         string `json:"accountid"`
	Allocated         string `json:"allocated"`
	Domainid          string `json:"domainid"`
	Ipaddress         string `json:"ipaddress"`
	Networkid         string `json:"networkid"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Regionid          int    `json:"regionid"`
	State             string `json:"state"`
	Vpcid             string `json:"vpcid"`
	Zoneid            string `json:"zoneid"`
}

type CreatePrivateGatewayParams

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

func (*CreatePrivateGatewayParams) SetAclid

func (p *CreatePrivateGatewayParams) SetAclid(v string)

func (*CreatePrivateGatewayParams) SetGateway

func (p *CreatePrivateGatewayParams) SetGateway(v string)

func (*CreatePrivateGatewayParams) SetIpaddress

func (p *CreatePrivateGatewayParams) SetIpaddress(v string)

func (*CreatePrivateGatewayParams) SetNetmask

func (p *CreatePrivateGatewayParams) SetNetmask(v string)

func (*CreatePrivateGatewayParams) SetNetworkofferingid

func (p *CreatePrivateGatewayParams) SetNetworkofferingid(v string)

func (*CreatePrivateGatewayParams) SetPhysicalnetworkid

func (p *CreatePrivateGatewayParams) SetPhysicalnetworkid(v string)

func (*CreatePrivateGatewayParams) SetSourcenatsupported

func (p *CreatePrivateGatewayParams) SetSourcenatsupported(v bool)

func (*CreatePrivateGatewayParams) SetVlan

func (p *CreatePrivateGatewayParams) SetVlan(v string)

func (*CreatePrivateGatewayParams) SetVpcid

func (p *CreatePrivateGatewayParams) SetVpcid(v string)

type CreatePrivateGatewayResponse

type CreatePrivateGatewayResponse struct {
	Account            string `json:"account"`
	Aclid              string `json:"aclid"`
	Domain             string `json:"domain"`
	Domainid           string `json:"domainid"`
	Gateway            string `json:"gateway"`
	Id                 string `json:"id"`
	Ipaddress          string `json:"ipaddress"`
	JobID              string `json:"jobid"`
	Jobstatus          int    `json:"jobstatus"`
	Netmask            string `json:"netmask"`
	Physicalnetworkid  string `json:"physicalnetworkid"`
	Project            string `json:"project"`
	Projectid          string `json:"projectid"`
	Sourcenatsupported bool   `json:"sourcenatsupported"`
	State              string `json:"state"`
	Vlan               string `json:"vlan"`
	Vpcid              string `json:"vpcid"`
	Zoneid             string `json:"zoneid"`
	Zonename           string `json:"zonename"`
}

type CreateProjectParams

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

func (*CreateProjectParams) SetAccount

func (p *CreateProjectParams) SetAccount(v string)

func (*CreateProjectParams) SetDisplaytext

func (p *CreateProjectParams) SetDisplaytext(v string)

func (*CreateProjectParams) SetDomainid

func (p *CreateProjectParams) SetDomainid(v string)

func (*CreateProjectParams) SetName

func (p *CreateProjectParams) SetName(v string)

type CreateProjectResponse

type CreateProjectResponse struct {
	Account                   string  `json:"account"`
	Cpuavailable              string  `json:"cpuavailable"`
	Cpulimit                  string  `json:"cpulimit"`
	Cputotal                  int64   `json:"cputotal"`
	Displaytext               string  `json:"displaytext"`
	Domain                    string  `json:"domain"`
	Domainid                  string  `json:"domainid"`
	Id                        string  `json:"id"`
	Ipavailable               string  `json:"ipavailable"`
	Iplimit                   string  `json:"iplimit"`
	Iptotal                   int64   `json:"iptotal"`
	JobID                     string  `json:"jobid"`
	Jobstatus                 int     `json:"jobstatus"`
	Memoryavailable           string  `json:"memoryavailable"`
	Memorylimit               string  `json:"memorylimit"`
	Memorytotal               int64   `json:"memorytotal"`
	Name                      string  `json:"name"`
	Networkavailable          string  `json:"networkavailable"`
	Networklimit              string  `json:"networklimit"`
	Networktotal              int64   `json:"networktotal"`
	Primarystorageavailable   string  `json:"primarystorageavailable"`
	Primarystoragelimit       string  `json:"primarystoragelimit"`
	Primarystoragetotal       int64   `json:"primarystoragetotal"`
	Projectaccountname        string  `json:"projectaccountname"`
	Secondarystorageavailable string  `json:"secondarystorageavailable"`
	Secondarystoragelimit     string  `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64 `json:"secondarystoragetotal"`
	Snapshotavailable         string  `json:"snapshotavailable"`
	Snapshotlimit             string  `json:"snapshotlimit"`
	Snapshottotal             int64   `json:"snapshottotal"`
	State                     string  `json:"state"`
	Tags                      []Tags  `json:"tags"`
	Templateavailable         string  `json:"templateavailable"`
	Templatelimit             string  `json:"templatelimit"`
	Templatetotal             int64   `json:"templatetotal"`
	Vmavailable               string  `json:"vmavailable"`
	Vmlimit                   string  `json:"vmlimit"`
	Vmrunning                 int     `json:"vmrunning"`
	Vmstopped                 int     `json:"vmstopped"`
	Vmtotal                   int64   `json:"vmtotal"`
	Volumeavailable           string  `json:"volumeavailable"`
	Volumelimit               string  `json:"volumelimit"`
	Volumetotal               int64   `json:"volumetotal"`
	Vpcavailable              string  `json:"vpcavailable"`
	Vpclimit                  string  `json:"vpclimit"`
	Vpctotal                  int64   `json:"vpctotal"`
}

type CreateRemoteAccessVpnParams

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

func (*CreateRemoteAccessVpnParams) SetAccount

func (p *CreateRemoteAccessVpnParams) SetAccount(v string)

func (*CreateRemoteAccessVpnParams) SetDomainid

func (p *CreateRemoteAccessVpnParams) SetDomainid(v string)

func (*CreateRemoteAccessVpnParams) SetFordisplay

func (p *CreateRemoteAccessVpnParams) SetFordisplay(v bool)

func (*CreateRemoteAccessVpnParams) SetIprange

func (p *CreateRemoteAccessVpnParams) SetIprange(v string)

func (*CreateRemoteAccessVpnParams) SetOpenfirewall

func (p *CreateRemoteAccessVpnParams) SetOpenfirewall(v bool)

func (*CreateRemoteAccessVpnParams) SetPublicipid

func (p *CreateRemoteAccessVpnParams) SetPublicipid(v string)

type CreateRemoteAccessVpnResponse

type CreateRemoteAccessVpnResponse struct {
	Account      string `json:"account"`
	Domain       string `json:"domain"`
	Domainid     string `json:"domainid"`
	Fordisplay   bool   `json:"fordisplay"`
	Id           string `json:"id"`
	Iprange      string `json:"iprange"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Presharedkey string `json:"presharedkey"`
	Project      string `json:"project"`
	Projectid    string `json:"projectid"`
	Publicip     string `json:"publicip"`
	Publicipid   string `json:"publicipid"`
	State        string `json:"state"`
}

type CreateRoleParams

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

func (*CreateRoleParams) SetDescription

func (p *CreateRoleParams) SetDescription(v string)

func (*CreateRoleParams) SetName

func (p *CreateRoleParams) SetName(v string)

func (*CreateRoleParams) SetType

func (p *CreateRoleParams) SetType(v string)

type CreateRolePermissionParams

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

func (*CreateRolePermissionParams) SetDescription

func (p *CreateRolePermissionParams) SetDescription(v string)

func (*CreateRolePermissionParams) SetPermission

func (p *CreateRolePermissionParams) SetPermission(v string)

func (*CreateRolePermissionParams) SetRoleid

func (p *CreateRolePermissionParams) SetRoleid(v string)

func (*CreateRolePermissionParams) SetRule

func (p *CreateRolePermissionParams) SetRule(v string)

type CreateRolePermissionResponse

type CreateRolePermissionResponse struct {
	Description string `json:"description"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Permission  string `json:"permission"`
	Roleid      string `json:"roleid"`
	Rolename    string `json:"rolename"`
	Rule        string `json:"rule"`
}

type CreateRoleResponse

type CreateRoleResponse struct {
	Description string `json:"description"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Type        string `json:"type"`
}

type CreateSSHKeyPairParams

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

func (*CreateSSHKeyPairParams) SetAccount

func (p *CreateSSHKeyPairParams) SetAccount(v string)

func (*CreateSSHKeyPairParams) SetDomainid

func (p *CreateSSHKeyPairParams) SetDomainid(v string)

func (*CreateSSHKeyPairParams) SetName

func (p *CreateSSHKeyPairParams) SetName(v string)

func (*CreateSSHKeyPairParams) SetProjectid

func (p *CreateSSHKeyPairParams) SetProjectid(v string)

type CreateSSHKeyPairResponse

type CreateSSHKeyPairResponse struct {
	Account     string `json:"account"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Fingerprint string `json:"fingerprint"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Privatekey  string `json:"privatekey"`
}

type CreateSecondaryStagingStoreParams

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

func (*CreateSecondaryStagingStoreParams) SetDetails

func (p *CreateSecondaryStagingStoreParams) SetDetails(v map[string]string)

func (*CreateSecondaryStagingStoreParams) SetProvider

func (p *CreateSecondaryStagingStoreParams) SetProvider(v string)

func (*CreateSecondaryStagingStoreParams) SetScope

func (*CreateSecondaryStagingStoreParams) SetUrl

func (*CreateSecondaryStagingStoreParams) SetZoneid

func (p *CreateSecondaryStagingStoreParams) SetZoneid(v string)

type CreateSecondaryStagingStoreResponse

type CreateSecondaryStagingStoreResponse struct {
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Name         string `json:"name"`
	Protocol     string `json:"protocol"`
	Providername string `json:"providername"`
	Scope        string `json:"scope"`
	Url          string `json:"url"`
	Zoneid       string `json:"zoneid"`
	Zonename     string `json:"zonename"`
}

type CreateSecurityGroupParams

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

func (*CreateSecurityGroupParams) SetAccount

func (p *CreateSecurityGroupParams) SetAccount(v string)

func (*CreateSecurityGroupParams) SetDescription

func (p *CreateSecurityGroupParams) SetDescription(v string)

func (*CreateSecurityGroupParams) SetDomainid

func (p *CreateSecurityGroupParams) SetDomainid(v string)

func (*CreateSecurityGroupParams) SetName

func (p *CreateSecurityGroupParams) SetName(v string)

func (*CreateSecurityGroupParams) SetProjectid

func (p *CreateSecurityGroupParams) SetProjectid(v string)

type CreateSecurityGroupResponse

type CreateSecurityGroupResponse struct {
	Account             string                            `json:"account"`
	Description         string                            `json:"description"`
	Domain              string                            `json:"domain"`
	Domainid            string                            `json:"domainid"`
	Egressrule          []CreateSecurityGroupResponseRule `json:"egressrule"`
	Id                  string                            `json:"id"`
	Ingressrule         []CreateSecurityGroupResponseRule `json:"ingressrule"`
	JobID               string                            `json:"jobid"`
	Jobstatus           int                               `json:"jobstatus"`
	Name                string                            `json:"name"`
	Project             string                            `json:"project"`
	Projectid           string                            `json:"projectid"`
	Tags                []Tags                            `json:"tags"`
	Virtualmachinecount int                               `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                     `json:"virtualmachineids"`
}

type CreateSecurityGroupResponseRule

type CreateSecurityGroupResponseRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type CreateServiceInstanceParams

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

func (*CreateServiceInstanceParams) SetAccount

func (p *CreateServiceInstanceParams) SetAccount(v string)

func (*CreateServiceInstanceParams) SetDomainid

func (p *CreateServiceInstanceParams) SetDomainid(v string)

func (*CreateServiceInstanceParams) SetLeftnetworkid

func (p *CreateServiceInstanceParams) SetLeftnetworkid(v string)

func (*CreateServiceInstanceParams) SetName

func (p *CreateServiceInstanceParams) SetName(v string)

func (*CreateServiceInstanceParams) SetProjectid

func (p *CreateServiceInstanceParams) SetProjectid(v string)

func (*CreateServiceInstanceParams) SetRightnetworkid

func (p *CreateServiceInstanceParams) SetRightnetworkid(v string)

func (*CreateServiceInstanceParams) SetServiceofferingid

func (p *CreateServiceInstanceParams) SetServiceofferingid(v string)

func (*CreateServiceInstanceParams) SetTemplateid

func (p *CreateServiceInstanceParams) SetTemplateid(v string)

func (*CreateServiceInstanceParams) SetZoneid

func (p *CreateServiceInstanceParams) SetZoneid(v string)

type CreateServiceInstanceResponse

type CreateServiceInstanceResponse struct {
	Account     string `json:"account"`
	Displayname string `json:"displayname"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Project     string `json:"project"`
	Projectid   string `json:"projectid"`
}

type CreateServiceOfferingParams

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

func (*CreateServiceOfferingParams) SetBytesreadrate

func (p *CreateServiceOfferingParams) SetBytesreadrate(v int64)

func (*CreateServiceOfferingParams) SetBytesreadratemax

func (p *CreateServiceOfferingParams) SetBytesreadratemax(v int64)

func (*CreateServiceOfferingParams) SetBytesreadratemaxlength

func (p *CreateServiceOfferingParams) SetBytesreadratemaxlength(v int64)

func (*CreateServiceOfferingParams) SetByteswriterate

func (p *CreateServiceOfferingParams) SetByteswriterate(v int64)

func (*CreateServiceOfferingParams) SetByteswriteratemax

func (p *CreateServiceOfferingParams) SetByteswriteratemax(v int64)

func (*CreateServiceOfferingParams) SetByteswriteratemaxlength

func (p *CreateServiceOfferingParams) SetByteswriteratemaxlength(v int64)

func (*CreateServiceOfferingParams) SetCpunumber

func (p *CreateServiceOfferingParams) SetCpunumber(v int)

func (*CreateServiceOfferingParams) SetCpuspeed

func (p *CreateServiceOfferingParams) SetCpuspeed(v int)

func (*CreateServiceOfferingParams) SetCustomizediops

func (p *CreateServiceOfferingParams) SetCustomizediops(v bool)

func (*CreateServiceOfferingParams) SetDeploymentplanner

func (p *CreateServiceOfferingParams) SetDeploymentplanner(v string)

func (*CreateServiceOfferingParams) SetDisplaytext

func (p *CreateServiceOfferingParams) SetDisplaytext(v string)

func (*CreateServiceOfferingParams) SetDomainid

func (p *CreateServiceOfferingParams) SetDomainid(v string)

func (*CreateServiceOfferingParams) SetHosttags

func (p *CreateServiceOfferingParams) SetHosttags(v string)

func (*CreateServiceOfferingParams) SetHypervisorsnapshotreserve

func (p *CreateServiceOfferingParams) SetHypervisorsnapshotreserve(v int)

func (*CreateServiceOfferingParams) SetIopsreadrate

func (p *CreateServiceOfferingParams) SetIopsreadrate(v int64)

func (*CreateServiceOfferingParams) SetIopsreadratemax

func (p *CreateServiceOfferingParams) SetIopsreadratemax(v int64)

func (*CreateServiceOfferingParams) SetIopsreadratemaxlength

func (p *CreateServiceOfferingParams) SetIopsreadratemaxlength(v int64)

func (*CreateServiceOfferingParams) SetIopswriterate

func (p *CreateServiceOfferingParams) SetIopswriterate(v int64)

func (*CreateServiceOfferingParams) SetIopswriteratemax

func (p *CreateServiceOfferingParams) SetIopswriteratemax(v int64)

func (*CreateServiceOfferingParams) SetIopswriteratemaxlength

func (p *CreateServiceOfferingParams) SetIopswriteratemaxlength(v int64)

func (*CreateServiceOfferingParams) SetIssystem

func (p *CreateServiceOfferingParams) SetIssystem(v bool)

func (*CreateServiceOfferingParams) SetIsvolatile

func (p *CreateServiceOfferingParams) SetIsvolatile(v bool)

func (*CreateServiceOfferingParams) SetLimitcpuuse

func (p *CreateServiceOfferingParams) SetLimitcpuuse(v bool)

func (*CreateServiceOfferingParams) SetMaxiops

func (p *CreateServiceOfferingParams) SetMaxiops(v int64)

func (*CreateServiceOfferingParams) SetMemory

func (p *CreateServiceOfferingParams) SetMemory(v int)

func (*CreateServiceOfferingParams) SetMiniops

func (p *CreateServiceOfferingParams) SetMiniops(v int64)

func (*CreateServiceOfferingParams) SetName

func (p *CreateServiceOfferingParams) SetName(v string)

func (*CreateServiceOfferingParams) SetNetworkrate

func (p *CreateServiceOfferingParams) SetNetworkrate(v int)

func (*CreateServiceOfferingParams) SetOfferha

func (p *CreateServiceOfferingParams) SetOfferha(v bool)

func (*CreateServiceOfferingParams) SetProvisioningtype

func (p *CreateServiceOfferingParams) SetProvisioningtype(v string)

func (*CreateServiceOfferingParams) SetServiceofferingdetails

func (p *CreateServiceOfferingParams) SetServiceofferingdetails(v map[string]string)

func (*CreateServiceOfferingParams) SetStoragetype

func (p *CreateServiceOfferingParams) SetStoragetype(v string)

func (*CreateServiceOfferingParams) SetSystemvmtype

func (p *CreateServiceOfferingParams) SetSystemvmtype(v string)

func (*CreateServiceOfferingParams) SetTags

func (p *CreateServiceOfferingParams) SetTags(v string)

type CreateServiceOfferingResponse

type CreateServiceOfferingResponse struct {
	Cpunumber                   int               `json:"cpunumber"`
	Cpuspeed                    int               `json:"cpuspeed"`
	Created                     string            `json:"created"`
	Defaultuse                  bool              `json:"defaultuse"`
	Deploymentplanner           string            `json:"deploymentplanner"`
	DiskBytesReadRate           int64             `json:"diskBytesReadRate"`
	DiskBytesReadRateMax        int64             `json:"diskBytesReadRateMax"`
	DiskBytesReadRateMaxLength  int64             `json:"diskBytesReadRateMaxLength"`
	DiskBytesWriteRate          int64             `json:"diskBytesWriteRate"`
	DiskBytesWriteRateMax       int64             `json:"diskBytesWriteRateMax"`
	DiskBytesWriteRateMaxLength int64             `json:"diskBytesWriteRateMaxLength"`
	DiskIopsReadRate            int64             `json:"diskIopsReadRate"`
	DiskIopsReadRateMax         int64             `json:"diskIopsReadRateMax"`
	DiskIopsReadRateMaxLength   int64             `json:"diskIopsReadRateMaxLength"`
	DiskIopsWriteRate           int64             `json:"diskIopsWriteRate"`
	DiskIopsWriteRateMax        int64             `json:"diskIopsWriteRateMax"`
	DiskIopsWriteRateMaxLength  int64             `json:"diskIopsWriteRateMaxLength"`
	Displaytext                 string            `json:"displaytext"`
	Domain                      string            `json:"domain"`
	Domainid                    string            `json:"domainid"`
	Hosttags                    string            `json:"hosttags"`
	Hypervisorsnapshotreserve   int               `json:"hypervisorsnapshotreserve"`
	Id                          string            `json:"id"`
	Iscustomized                bool              `json:"iscustomized"`
	Iscustomizediops            bool              `json:"iscustomizediops"`
	Issystem                    bool              `json:"issystem"`
	Isvolatile                  bool              `json:"isvolatile"`
	JobID                       string            `json:"jobid"`
	Jobstatus                   int               `json:"jobstatus"`
	Limitcpuuse                 bool              `json:"limitcpuuse"`
	Maxiops                     int64             `json:"maxiops"`
	Memory                      int               `json:"memory"`
	Miniops                     int64             `json:"miniops"`
	Name                        string            `json:"name"`
	Networkrate                 int               `json:"networkrate"`
	Offerha                     bool              `json:"offerha"`
	Provisioningtype            string            `json:"provisioningtype"`
	Serviceofferingdetails      map[string]string `json:"serviceofferingdetails"`
	Storagetype                 string            `json:"storagetype"`
	Systemvmtype                string            `json:"systemvmtype"`
	Tags                        string            `json:"tags"`
}

type CreateSnapshotParams

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

func (*CreateSnapshotParams) SetAccount

func (p *CreateSnapshotParams) SetAccount(v string)

func (*CreateSnapshotParams) SetAsyncbackup

func (p *CreateSnapshotParams) SetAsyncbackup(v bool)

func (*CreateSnapshotParams) SetDomainid

func (p *CreateSnapshotParams) SetDomainid(v string)

func (*CreateSnapshotParams) SetLocationtype

func (p *CreateSnapshotParams) SetLocationtype(v string)

func (*CreateSnapshotParams) SetName

func (p *CreateSnapshotParams) SetName(v string)

func (*CreateSnapshotParams) SetPolicyid

func (p *CreateSnapshotParams) SetPolicyid(v string)

func (*CreateSnapshotParams) SetQuiescevm

func (p *CreateSnapshotParams) SetQuiescevm(v bool)

func (*CreateSnapshotParams) SetVolumeid

func (p *CreateSnapshotParams) SetVolumeid(v string)

type CreateSnapshotPolicyParams

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

func (*CreateSnapshotPolicyParams) SetFordisplay

func (p *CreateSnapshotPolicyParams) SetFordisplay(v bool)

func (*CreateSnapshotPolicyParams) SetIntervaltype

func (p *CreateSnapshotPolicyParams) SetIntervaltype(v string)

func (*CreateSnapshotPolicyParams) SetMaxsnaps

func (p *CreateSnapshotPolicyParams) SetMaxsnaps(v int)

func (*CreateSnapshotPolicyParams) SetSchedule

func (p *CreateSnapshotPolicyParams) SetSchedule(v string)

func (*CreateSnapshotPolicyParams) SetTimezone

func (p *CreateSnapshotPolicyParams) SetTimezone(v string)

func (*CreateSnapshotPolicyParams) SetVolumeid

func (p *CreateSnapshotPolicyParams) SetVolumeid(v string)

type CreateSnapshotPolicyResponse

type CreateSnapshotPolicyResponse struct {
	Fordisplay   bool   `json:"fordisplay"`
	Id           string `json:"id"`
	Intervaltype int    `json:"intervaltype"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Maxsnaps     int    `json:"maxsnaps"`
	Schedule     string `json:"schedule"`
	Timezone     string `json:"timezone"`
	Volumeid     string `json:"volumeid"`
}

type CreateSnapshotResponse

type CreateSnapshotResponse struct {
	Account       string `json:"account"`
	Created       string `json:"created"`
	Domain        string `json:"domain"`
	Domainid      string `json:"domainid"`
	Id            string `json:"id"`
	Intervaltype  string `json:"intervaltype"`
	JobID         string `json:"jobid"`
	Jobstatus     int    `json:"jobstatus"`
	Locationtype  string `json:"locationtype"`
	Name          string `json:"name"`
	Osdisplayname string `json:"osdisplayname"`
	Ostypeid      string `json:"ostypeid"`
	Physicalsize  int64  `json:"physicalsize"`
	Project       string `json:"project"`
	Projectid     string `json:"projectid"`
	Revertable    bool   `json:"revertable"`
	Snapshottype  string `json:"snapshottype"`
	State         string `json:"state"`
	Tags          []Tags `json:"tags"`
	Virtualsize   int64  `json:"virtualsize"`
	Volumeid      string `json:"volumeid"`
	Volumename    string `json:"volumename"`
	Volumetype    string `json:"volumetype"`
	Zoneid        string `json:"zoneid"`
}

func (*CreateSnapshotResponse) UnmarshalJSON

func (r *CreateSnapshotResponse) UnmarshalJSON(b []byte) error

type CreateStaticRouteParams

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

func (*CreateStaticRouteParams) SetCidr

func (p *CreateStaticRouteParams) SetCidr(v string)

func (*CreateStaticRouteParams) SetGatewayid

func (p *CreateStaticRouteParams) SetGatewayid(v string)

type CreateStaticRouteResponse

type CreateStaticRouteResponse struct {
	Account   string `json:"account"`
	Cidr      string `json:"cidr"`
	Domain    string `json:"domain"`
	Domainid  string `json:"domainid"`
	Gatewayid string `json:"gatewayid"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Project   string `json:"project"`
	Projectid string `json:"projectid"`
	State     string `json:"state"`
	Tags      []Tags `json:"tags"`
	Vpcid     string `json:"vpcid"`
}

type CreateStorageNetworkIpRangeParams

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

func (*CreateStorageNetworkIpRangeParams) SetEndip

func (*CreateStorageNetworkIpRangeParams) SetGateway

func (p *CreateStorageNetworkIpRangeParams) SetGateway(v string)

func (*CreateStorageNetworkIpRangeParams) SetNetmask

func (p *CreateStorageNetworkIpRangeParams) SetNetmask(v string)

func (*CreateStorageNetworkIpRangeParams) SetPodid

func (*CreateStorageNetworkIpRangeParams) SetStartip

func (p *CreateStorageNetworkIpRangeParams) SetStartip(v string)

func (*CreateStorageNetworkIpRangeParams) SetVlan

func (p *CreateStorageNetworkIpRangeParams) SetVlan(v int)

type CreateStorageNetworkIpRangeResponse

type CreateStorageNetworkIpRangeResponse struct {
	Endip     string `json:"endip"`
	Gateway   string `json:"gateway"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Netmask   string `json:"netmask"`
	Networkid string `json:"networkid"`
	Podid     string `json:"podid"`
	Startip   string `json:"startip"`
	Vlan      int    `json:"vlan"`
	Zoneid    string `json:"zoneid"`
}

type CreateStoragePoolParams

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

func (*CreateStoragePoolParams) SetCapacitybytes

func (p *CreateStoragePoolParams) SetCapacitybytes(v int64)

func (*CreateStoragePoolParams) SetCapacityiops

func (p *CreateStoragePoolParams) SetCapacityiops(v int64)

func (*CreateStoragePoolParams) SetClusterid

func (p *CreateStoragePoolParams) SetClusterid(v string)

func (*CreateStoragePoolParams) SetDetails

func (p *CreateStoragePoolParams) SetDetails(v map[string]string)

func (*CreateStoragePoolParams) SetHypervisor

func (p *CreateStoragePoolParams) SetHypervisor(v string)

func (*CreateStoragePoolParams) SetManaged

func (p *CreateStoragePoolParams) SetManaged(v bool)

func (*CreateStoragePoolParams) SetName

func (p *CreateStoragePoolParams) SetName(v string)

func (*CreateStoragePoolParams) SetPodid

func (p *CreateStoragePoolParams) SetPodid(v string)

func (*CreateStoragePoolParams) SetProvider

func (p *CreateStoragePoolParams) SetProvider(v string)

func (*CreateStoragePoolParams) SetScope

func (p *CreateStoragePoolParams) SetScope(v string)

func (*CreateStoragePoolParams) SetTags

func (p *CreateStoragePoolParams) SetTags(v string)

func (*CreateStoragePoolParams) SetUrl

func (p *CreateStoragePoolParams) SetUrl(v string)

func (*CreateStoragePoolParams) SetZoneid

func (p *CreateStoragePoolParams) SetZoneid(v string)

type CreateStoragePoolResponse

type CreateStoragePoolResponse struct {
	Allocatediops        int64             `json:"allocatediops"`
	Capacityiops         int64             `json:"capacityiops"`
	Clusterid            string            `json:"clusterid"`
	Clustername          string            `json:"clustername"`
	Created              string            `json:"created"`
	Disksizeallocated    int64             `json:"disksizeallocated"`
	Disksizetotal        int64             `json:"disksizetotal"`
	Disksizeused         int64             `json:"disksizeused"`
	Hypervisor           string            `json:"hypervisor"`
	Id                   string            `json:"id"`
	Ipaddress            string            `json:"ipaddress"`
	JobID                string            `json:"jobid"`
	Jobstatus            int               `json:"jobstatus"`
	Name                 string            `json:"name"`
	Overprovisionfactor  string            `json:"overprovisionfactor"`
	Path                 string            `json:"path"`
	Podid                string            `json:"podid"`
	Podname              string            `json:"podname"`
	Provider             string            `json:"provider"`
	Scope                string            `json:"scope"`
	State                string            `json:"state"`
	Storagecapabilities  map[string]string `json:"storagecapabilities"`
	Suitableformigration bool              `json:"suitableformigration"`
	Tags                 string            `json:"tags"`
	Type                 string            `json:"type"`
	Zoneid               string            `json:"zoneid"`
	Zonename             string            `json:"zonename"`
}

type CreateTagsParams

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

func (*CreateTagsParams) SetCustomer

func (p *CreateTagsParams) SetCustomer(v string)

func (*CreateTagsParams) SetResourceids

func (p *CreateTagsParams) SetResourceids(v []string)

func (*CreateTagsParams) SetResourcetype

func (p *CreateTagsParams) SetResourcetype(v string)

func (*CreateTagsParams) SetTags

func (p *CreateTagsParams) SetTags(v map[string]string)

type CreateTagsResponse

type CreateTagsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type CreateTemplateParams

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

func (*CreateTemplateParams) SetBits

func (p *CreateTemplateParams) SetBits(v int)

func (*CreateTemplateParams) SetDetails

func (p *CreateTemplateParams) SetDetails(v map[string]string)

func (*CreateTemplateParams) SetDisplaytext

func (p *CreateTemplateParams) SetDisplaytext(v string)

func (*CreateTemplateParams) SetIsdynamicallyscalable

func (p *CreateTemplateParams) SetIsdynamicallyscalable(v bool)

func (*CreateTemplateParams) SetIsfeatured

func (p *CreateTemplateParams) SetIsfeatured(v bool)

func (*CreateTemplateParams) SetIspublic

func (p *CreateTemplateParams) SetIspublic(v bool)

func (*CreateTemplateParams) SetName

func (p *CreateTemplateParams) SetName(v string)

func (*CreateTemplateParams) SetOstypeid

func (p *CreateTemplateParams) SetOstypeid(v string)

func (*CreateTemplateParams) SetPasswordenabled

func (p *CreateTemplateParams) SetPasswordenabled(v bool)

func (*CreateTemplateParams) SetProjectid

func (p *CreateTemplateParams) SetProjectid(v string)

func (*CreateTemplateParams) SetRequireshvm

func (p *CreateTemplateParams) SetRequireshvm(v bool)

func (*CreateTemplateParams) SetSnapshotid

func (p *CreateTemplateParams) SetSnapshotid(v string)

func (*CreateTemplateParams) SetSshkeyenabled

func (p *CreateTemplateParams) SetSshkeyenabled(v bool)

func (*CreateTemplateParams) SetTemplatetag

func (p *CreateTemplateParams) SetTemplatetag(v string)

func (*CreateTemplateParams) SetUrl

func (p *CreateTemplateParams) SetUrl(v string)

func (*CreateTemplateParams) SetVirtualmachineid

func (p *CreateTemplateParams) SetVirtualmachineid(v string)

func (*CreateTemplateParams) SetVolumeid

func (p *CreateTemplateParams) SetVolumeid(v string)

type CreateTemplateResponse

type CreateTemplateResponse struct {
	Account               string            `json:"account"`
	Accountid             string            `json:"accountid"`
	Bits                  int               `json:"bits"`
	Bootable              bool              `json:"bootable"`
	Checksum              string            `json:"checksum"`
	Childtemplates        []interface{}     `json:"childtemplates"`
	Created               string            `json:"created"`
	CrossZones            bool              `json:"crossZones"`
	Details               map[string]string `json:"details"`
	Directdownload        bool              `json:"directdownload"`
	Displaytext           string            `json:"displaytext"`
	Domain                string            `json:"domain"`
	Domainid              string            `json:"domainid"`
	Format                string            `json:"format"`
	Hostid                string            `json:"hostid"`
	Hostname              string            `json:"hostname"`
	Hypervisor            string            `json:"hypervisor"`
	Id                    string            `json:"id"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable"`
	Isextractable         bool              `json:"isextractable"`
	Isfeatured            bool              `json:"isfeatured"`
	Ispublic              bool              `json:"ispublic"`
	Isready               bool              `json:"isready"`
	JobID                 string            `json:"jobid"`
	Jobstatus             int               `json:"jobstatus"`
	Name                  string            `json:"name"`
	Ostypeid              string            `json:"ostypeid"`
	Ostypename            string            `json:"ostypename"`
	Parenttemplateid      string            `json:"parenttemplateid"`
	Passwordenabled       bool              `json:"passwordenabled"`
	Physicalsize          int64             `json:"physicalsize"`
	Project               string            `json:"project"`
	Projectid             string            `json:"projectid"`
	Removed               string            `json:"removed"`
	Requireshvm           bool              `json:"requireshvm"`
	Size                  int64             `json:"size"`
	Sourcetemplateid      string            `json:"sourcetemplateid"`
	Sshkeyenabled         bool              `json:"sshkeyenabled"`
	Status                string            `json:"status"`
	Tags                  []Tags            `json:"tags"`
	Templatetag           string            `json:"templatetag"`
	Templatetype          string            `json:"templatetype"`
	Zoneid                string            `json:"zoneid"`
	Zonename              string            `json:"zonename"`
}

func (*CreateTemplateResponse) UnmarshalJSON

func (r *CreateTemplateResponse) UnmarshalJSON(b []byte) error

type CreateUserParams

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

func (*CreateUserParams) SetAccount

func (p *CreateUserParams) SetAccount(v string)

func (*CreateUserParams) SetDomainid

func (p *CreateUserParams) SetDomainid(v string)

func (*CreateUserParams) SetEmail

func (p *CreateUserParams) SetEmail(v string)

func (*CreateUserParams) SetFirstname

func (p *CreateUserParams) SetFirstname(v string)

func (*CreateUserParams) SetLastname

func (p *CreateUserParams) SetLastname(v string)

func (*CreateUserParams) SetPassword

func (p *CreateUserParams) SetPassword(v string)

func (*CreateUserParams) SetTimezone

func (p *CreateUserParams) SetTimezone(v string)

func (*CreateUserParams) SetUserid

func (p *CreateUserParams) SetUserid(v string)

func (*CreateUserParams) SetUsername

func (p *CreateUserParams) SetUsername(v string)

type CreateUserResponse

type CreateUserResponse struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type CreateVMSnapshotParams

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

func (*CreateVMSnapshotParams) SetDescription

func (p *CreateVMSnapshotParams) SetDescription(v string)

func (*CreateVMSnapshotParams) SetName

func (p *CreateVMSnapshotParams) SetName(v string)

func (*CreateVMSnapshotParams) SetQuiescevm

func (p *CreateVMSnapshotParams) SetQuiescevm(v bool)

func (*CreateVMSnapshotParams) SetSnapshotmemory

func (p *CreateVMSnapshotParams) SetSnapshotmemory(v bool)

func (*CreateVMSnapshotParams) SetVirtualmachineid

func (p *CreateVMSnapshotParams) SetVirtualmachineid(v string)

type CreateVMSnapshotResponse

type CreateVMSnapshotResponse struct {
	Account          string `json:"account"`
	Created          string `json:"created"`
	Current          bool   `json:"current"`
	Description      string `json:"description"`
	Displayname      string `json:"displayname"`
	Domain           string `json:"domain"`
	Domainid         string `json:"domainid"`
	Id               string `json:"id"`
	JobID            string `json:"jobid"`
	Jobstatus        int    `json:"jobstatus"`
	Name             string `json:"name"`
	Parent           string `json:"parent"`
	ParentName       string `json:"parentName"`
	Project          string `json:"project"`
	Projectid        string `json:"projectid"`
	State            string `json:"state"`
	Type             string `json:"type"`
	Virtualmachineid string `json:"virtualmachineid"`
	Zoneid           string `json:"zoneid"`
}

type CreateVPCOfferingParams

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

func (*CreateVPCOfferingParams) SetDisplaytext

func (p *CreateVPCOfferingParams) SetDisplaytext(v string)

func (*CreateVPCOfferingParams) SetName

func (p *CreateVPCOfferingParams) SetName(v string)

func (*CreateVPCOfferingParams) SetServicecapabilitylist

func (p *CreateVPCOfferingParams) SetServicecapabilitylist(v map[string]string)

func (*CreateVPCOfferingParams) SetServiceofferingid

func (p *CreateVPCOfferingParams) SetServiceofferingid(v string)

func (*CreateVPCOfferingParams) SetServiceproviderlist

func (p *CreateVPCOfferingParams) SetServiceproviderlist(v map[string]string)

func (*CreateVPCOfferingParams) SetSupportedservices

func (p *CreateVPCOfferingParams) SetSupportedservices(v []string)

type CreateVPCOfferingResponse

type CreateVPCOfferingResponse struct {
	Created                string                             `json:"created"`
	Displaytext            string                             `json:"displaytext"`
	Distributedvpcrouter   bool                               `json:"distributedvpcrouter"`
	Id                     string                             `json:"id"`
	Isdefault              bool                               `json:"isdefault"`
	JobID                  string                             `json:"jobid"`
	Jobstatus              int                                `json:"jobstatus"`
	Name                   string                             `json:"name"`
	Service                []CreateVPCOfferingResponseService `json:"service"`
	State                  string                             `json:"state"`
	SupportsregionLevelvpc bool                               `json:"supportsregionLevelvpc"`
}

type CreateVPCOfferingResponseService

type CreateVPCOfferingResponseService struct {
	Capability []CreateVPCOfferingResponseServiceCapability `json:"capability"`
	Name       string                                       `json:"name"`
	Provider   []CreateVPCOfferingResponseServiceProvider   `json:"provider"`
}

type CreateVPCOfferingResponseServiceCapability

type CreateVPCOfferingResponseServiceCapability struct {
	Canchooseservicecapability bool   `json:"canchooseservicecapability"`
	Name                       string `json:"name"`
	Value                      string `json:"value"`
}

type CreateVPCOfferingResponseServiceProvider

type CreateVPCOfferingResponseServiceProvider struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type CreateVPCParams

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

func (*CreateVPCParams) SetAccount

func (p *CreateVPCParams) SetAccount(v string)

func (*CreateVPCParams) SetCidr

func (p *CreateVPCParams) SetCidr(v string)

func (*CreateVPCParams) SetDisplaytext

func (p *CreateVPCParams) SetDisplaytext(v string)

func (*CreateVPCParams) SetDomainid

func (p *CreateVPCParams) SetDomainid(v string)

func (*CreateVPCParams) SetFordisplay

func (p *CreateVPCParams) SetFordisplay(v bool)

func (*CreateVPCParams) SetName

func (p *CreateVPCParams) SetName(v string)

func (*CreateVPCParams) SetNetworkdomain

func (p *CreateVPCParams) SetNetworkdomain(v string)

func (*CreateVPCParams) SetProjectid

func (p *CreateVPCParams) SetProjectid(v string)

func (*CreateVPCParams) SetStart

func (p *CreateVPCParams) SetStart(v bool)

func (*CreateVPCParams) SetVpcofferingid

func (p *CreateVPCParams) SetVpcofferingid(v string)

func (*CreateVPCParams) SetZoneid

func (p *CreateVPCParams) SetZoneid(v string)

type CreateVPCResponse

type CreateVPCResponse struct {
	Account              string                     `json:"account"`
	Cidr                 string                     `json:"cidr"`
	Created              string                     `json:"created"`
	Displaytext          string                     `json:"displaytext"`
	Distributedvpcrouter bool                       `json:"distributedvpcrouter"`
	Domain               string                     `json:"domain"`
	Domainid             string                     `json:"domainid"`
	Fordisplay           bool                       `json:"fordisplay"`
	Id                   string                     `json:"id"`
	JobID                string                     `json:"jobid"`
	Jobstatus            int                        `json:"jobstatus"`
	Name                 string                     `json:"name"`
	Network              []CreateVPCResponseNetwork `json:"network"`
	Networkdomain        string                     `json:"networkdomain"`
	Project              string                     `json:"project"`
	Projectid            string                     `json:"projectid"`
	Redundantvpcrouter   bool                       `json:"redundantvpcrouter"`
	Regionlevelvpc       bool                       `json:"regionlevelvpc"`
	Restartrequired      bool                       `json:"restartrequired"`
	Service              []CreateVPCResponseService `json:"service"`
	State                string                     `json:"state"`
	Tags                 []Tags                     `json:"tags"`
	Vpcofferingid        string                     `json:"vpcofferingid"`
	Zoneid               string                     `json:"zoneid"`
	Zonename             string                     `json:"zonename"`
}

type CreateVPCResponseNetwork

type CreateVPCResponseNetwork struct {
	Account                     string                            `json:"account"`
	Aclid                       string                            `json:"aclid"`
	Acltype                     string                            `json:"acltype"`
	Broadcastdomaintype         string                            `json:"broadcastdomaintype"`
	Broadcasturi                string                            `json:"broadcasturi"`
	Canusefordeploy             bool                              `json:"canusefordeploy"`
	Cidr                        string                            `json:"cidr"`
	Displaynetwork              bool                              `json:"displaynetwork"`
	Displaytext                 string                            `json:"displaytext"`
	Dns1                        string                            `json:"dns1"`
	Dns2                        string                            `json:"dns2"`
	Domain                      string                            `json:"domain"`
	Domainid                    string                            `json:"domainid"`
	Externalid                  string                            `json:"externalid"`
	Gateway                     string                            `json:"gateway"`
	Id                          string                            `json:"id"`
	Ip6cidr                     string                            `json:"ip6cidr"`
	Ip6gateway                  string                            `json:"ip6gateway"`
	Isdefault                   bool                              `json:"isdefault"`
	Ispersistent                bool                              `json:"ispersistent"`
	Issystem                    bool                              `json:"issystem"`
	Name                        string                            `json:"name"`
	Netmask                     string                            `json:"netmask"`
	Networkcidr                 string                            `json:"networkcidr"`
	Networkdomain               string                            `json:"networkdomain"`
	Networkofferingavailability string                            `json:"networkofferingavailability"`
	Networkofferingconservemode bool                              `json:"networkofferingconservemode"`
	Networkofferingdisplaytext  string                            `json:"networkofferingdisplaytext"`
	Networkofferingid           string                            `json:"networkofferingid"`
	Networkofferingname         string                            `json:"networkofferingname"`
	Physicalnetworkid           string                            `json:"physicalnetworkid"`
	Project                     string                            `json:"project"`
	Projectid                   string                            `json:"projectid"`
	Redundantrouter             bool                              `json:"redundantrouter"`
	Related                     string                            `json:"related"`
	Reservediprange             string                            `json:"reservediprange"`
	Restartrequired             bool                              `json:"restartrequired"`
	Service                     []CreateVPCResponseNetworkService `json:"service"`
	Specifyipranges             bool                              `json:"specifyipranges"`
	State                       string                            `json:"state"`
	Strechedl2subnet            bool                              `json:"strechedl2subnet"`
	Subdomainaccess             bool                              `json:"subdomainaccess"`
	Tags                        []Tags                            `json:"tags"`
	Traffictype                 string                            `json:"traffictype"`
	Type                        string                            `json:"type"`
	Vlan                        string                            `json:"vlan"`
	Vpcid                       string                            `json:"vpcid"`
	Zoneid                      string                            `json:"zoneid"`
	Zonename                    string                            `json:"zonename"`
	Zonesnetworkspans           []interface{}                     `json:"zonesnetworkspans"`
}

type CreateVPCResponseNetworkService

type CreateVPCResponseNetworkService struct {
	Capability []CreateVPCResponseNetworkServiceCapability `json:"capability"`
	Name       string                                      `json:"name"`
	Provider   []CreateVPCResponseNetworkServiceProvider   `json:"provider"`
}

type CreateVPCResponseNetworkServiceCapability

type CreateVPCResponseNetworkServiceCapability struct {
	Canchooseservicecapability bool   `json:"canchooseservicecapability"`
	Name                       string `json:"name"`
	Value                      string `json:"value"`
}

type CreateVPCResponseNetworkServiceProvider

type CreateVPCResponseNetworkServiceProvider struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type CreateVPCResponseService

type CreateVPCResponseService struct {
	Capability []CreateVPCResponseServiceCapability `json:"capability"`
	Name       string                               `json:"name"`
	Provider   []CreateVPCResponseServiceProvider   `json:"provider"`
}

type CreateVPCResponseServiceCapability

type CreateVPCResponseServiceCapability struct {
	Canchooseservicecapability bool   `json:"canchooseservicecapability"`
	Name                       string `json:"name"`
	Value                      string `json:"value"`
}

type CreateVPCResponseServiceProvider

type CreateVPCResponseServiceProvider struct {
	Canenableindividualservice   bool     `json:"canenableindividualservice"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid"`
	Id                           string   `json:"id"`
	Name                         string   `json:"name"`
	Physicalnetworkid            string   `json:"physicalnetworkid"`
	Servicelist                  []string `json:"servicelist"`
	State                        string   `json:"state"`
}

type CreateVirtualRouterElementParams

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

func (*CreateVirtualRouterElementParams) SetNspid

func (*CreateVirtualRouterElementParams) SetProvidertype

func (p *CreateVirtualRouterElementParams) SetProvidertype(v string)

type CreateVirtualRouterElementResponse

type CreateVirtualRouterElementResponse struct {
	Account   string `json:"account"`
	Domain    string `json:"domain"`
	Domainid  string `json:"domainid"`
	Enabled   bool   `json:"enabled"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Nspid     string `json:"nspid"`
	Project   string `json:"project"`
	Projectid string `json:"projectid"`
}

type CreateVlanIpRangeParams

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

func (*CreateVlanIpRangeParams) SetAccount

func (p *CreateVlanIpRangeParams) SetAccount(v string)

func (*CreateVlanIpRangeParams) SetDomainid

func (p *CreateVlanIpRangeParams) SetDomainid(v string)

func (*CreateVlanIpRangeParams) SetEndip

func (p *CreateVlanIpRangeParams) SetEndip(v string)

func (*CreateVlanIpRangeParams) SetEndipv6

func (p *CreateVlanIpRangeParams) SetEndipv6(v string)

func (*CreateVlanIpRangeParams) SetForsystemvms

func (p *CreateVlanIpRangeParams) SetForsystemvms(v bool)

func (*CreateVlanIpRangeParams) SetForvirtualnetwork

func (p *CreateVlanIpRangeParams) SetForvirtualnetwork(v bool)

func (*CreateVlanIpRangeParams) SetGateway

func (p *CreateVlanIpRangeParams) SetGateway(v string)

func (*CreateVlanIpRangeParams) SetIp6cidr

func (p *CreateVlanIpRangeParams) SetIp6cidr(v string)

func (*CreateVlanIpRangeParams) SetIp6gateway

func (p *CreateVlanIpRangeParams) SetIp6gateway(v string)

func (*CreateVlanIpRangeParams) SetNetmask

func (p *CreateVlanIpRangeParams) SetNetmask(v string)

func (*CreateVlanIpRangeParams) SetNetworkid

func (p *CreateVlanIpRangeParams) SetNetworkid(v string)

func (*CreateVlanIpRangeParams) SetPhysicalnetworkid

func (p *CreateVlanIpRangeParams) SetPhysicalnetworkid(v string)

func (*CreateVlanIpRangeParams) SetPodid

func (p *CreateVlanIpRangeParams) SetPodid(v string)

func (*CreateVlanIpRangeParams) SetProjectid

func (p *CreateVlanIpRangeParams) SetProjectid(v string)

func (*CreateVlanIpRangeParams) SetStartip

func (p *CreateVlanIpRangeParams) SetStartip(v string)

func (*CreateVlanIpRangeParams) SetStartipv6

func (p *CreateVlanIpRangeParams) SetStartipv6(v string)

func (*CreateVlanIpRangeParams) SetVlan

func (p *CreateVlanIpRangeParams) SetVlan(v string)

func (*CreateVlanIpRangeParams) SetZoneid

func (p *CreateVlanIpRangeParams) SetZoneid(v string)

type CreateVlanIpRangeResponse

type CreateVlanIpRangeResponse struct {
	Account           string `json:"account"`
	Description       string `json:"description"`
	Domain            string `json:"domain"`
	Domainid          string `json:"domainid"`
	Endip             string `json:"endip"`
	Endipv6           string `json:"endipv6"`
	Forsystemvms      bool   `json:"forsystemvms"`
	Forvirtualnetwork bool   `json:"forvirtualnetwork"`
	Gateway           string `json:"gateway"`
	Id                string `json:"id"`
	Ip6cidr           string `json:"ip6cidr"`
	Ip6gateway        string `json:"ip6gateway"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Netmask           string `json:"netmask"`
	Networkid         string `json:"networkid"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Project           string `json:"project"`
	Projectid         string `json:"projectid"`
	Startip           string `json:"startip"`
	Startipv6         string `json:"startipv6"`
	Vlan              string `json:"vlan"`
	Zoneid            string `json:"zoneid"`
}

type CreateVolumeParams

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

func (*CreateVolumeParams) SetAccount

func (p *CreateVolumeParams) SetAccount(v string)

func (*CreateVolumeParams) SetCustomid

func (p *CreateVolumeParams) SetCustomid(v string)

func (*CreateVolumeParams) SetDiskofferingid

func (p *CreateVolumeParams) SetDiskofferingid(v string)

func (*CreateVolumeParams) SetDisplayvolume

func (p *CreateVolumeParams) SetDisplayvolume(v bool)

func (*CreateVolumeParams) SetDomainid

func (p *CreateVolumeParams) SetDomainid(v string)

func (*CreateVolumeParams) SetMaxiops

func (p *CreateVolumeParams) SetMaxiops(v int64)

func (*CreateVolumeParams) SetMiniops

func (p *CreateVolumeParams) SetMiniops(v int64)

func (*CreateVolumeParams) SetName

func (p *CreateVolumeParams) SetName(v string)

func (*CreateVolumeParams) SetProjectid

func (p *CreateVolumeParams) SetProjectid(v string)

func (*CreateVolumeParams) SetSize

func (p *CreateVolumeParams) SetSize(v int64)

func (*CreateVolumeParams) SetSnapshotid

func (p *CreateVolumeParams) SetSnapshotid(v string)

func (*CreateVolumeParams) SetVirtualmachineid

func (p *CreateVolumeParams) SetVirtualmachineid(v string)

func (*CreateVolumeParams) SetZoneid

func (p *CreateVolumeParams) SetZoneid(v string)

type CreateVolumeResponse

type CreateVolumeResponse struct {
	Account                    string `json:"account"`
	Attached                   string `json:"attached"`
	Chaininfo                  string `json:"chaininfo"`
	Clusterid                  string `json:"clusterid"`
	Clustername                string `json:"clustername"`
	Created                    string `json:"created"`
	Destroyed                  bool   `json:"destroyed"`
	Deviceid                   int64  `json:"deviceid"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext"`
	Diskofferingid             string `json:"diskofferingid"`
	Diskofferingname           string `json:"diskofferingname"`
	Displayvolume              bool   `json:"displayvolume"`
	Domain                     string `json:"domain"`
	Domainid                   string `json:"domainid"`
	Hypervisor                 string `json:"hypervisor"`
	Id                         string `json:"id"`
	Isextractable              bool   `json:"isextractable"`
	Isodisplaytext             string `json:"isodisplaytext"`
	Isoid                      string `json:"isoid"`
	Isoname                    string `json:"isoname"`
	JobID                      string `json:"jobid"`
	Jobstatus                  int    `json:"jobstatus"`
	Maxiops                    int64  `json:"maxiops"`
	Miniops                    int64  `json:"miniops"`
	Name                       string `json:"name"`
	Path                       string `json:"path"`
	Physicalsize               int64  `json:"physicalsize"`
	Podid                      string `json:"podid"`
	Podname                    string `json:"podname"`
	Project                    string `json:"project"`
	Projectid                  string `json:"projectid"`
	Provisioningtype           string `json:"provisioningtype"`
	Quiescevm                  bool   `json:"quiescevm"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext"`
	Serviceofferingid          string `json:"serviceofferingid"`
	Serviceofferingname        string `json:"serviceofferingname"`
	Size                       int64  `json:"size"`
	Snapshotid                 string `json:"snapshotid"`
	State                      string `json:"state"`
	Status                     string `json:"status"`
	Storage                    string `json:"storage"`
	Storageid                  string `json:"storageid"`
	Storagetype                string `json:"storagetype"`
	Tags                       []Tags `json:"tags"`
	Templatedisplaytext        string `json:"templatedisplaytext"`
	Templateid                 string `json:"templateid"`
	Templatename               string `json:"templatename"`
	Type                       string `json:"type"`
	Utilization                string `json:"utilization"`
	Virtualmachineid           string `json:"virtualmachineid"`
	Virtualsize                int64  `json:"virtualsize"`
	Vmdisplayname              string `json:"vmdisplayname"`
	Vmname                     string `json:"vmname"`
	Vmstate                    string `json:"vmstate"`
	Zoneid                     string `json:"zoneid"`
	Zonename                   string `json:"zonename"`
}

type CreateVpnConnectionParams

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

func (*CreateVpnConnectionParams) SetFordisplay

func (p *CreateVpnConnectionParams) SetFordisplay(v bool)

func (*CreateVpnConnectionParams) SetPassive

func (p *CreateVpnConnectionParams) SetPassive(v bool)

func (*CreateVpnConnectionParams) SetS2scustomergatewayid

func (p *CreateVpnConnectionParams) SetS2scustomergatewayid(v string)

func (*CreateVpnConnectionParams) SetS2svpngatewayid

func (p *CreateVpnConnectionParams) SetS2svpngatewayid(v string)

type CreateVpnConnectionResponse

type CreateVpnConnectionResponse struct {
	Account              string `json:"account"`
	Cidrlist             string `json:"cidrlist"`
	Created              string `json:"created"`
	Domain               string `json:"domain"`
	Domainid             string `json:"domainid"`
	Dpd                  bool   `json:"dpd"`
	Esplifetime          int64  `json:"esplifetime"`
	Esppolicy            string `json:"esppolicy"`
	Forceencap           bool   `json:"forceencap"`
	Fordisplay           bool   `json:"fordisplay"`
	Gateway              string `json:"gateway"`
	Id                   string `json:"id"`
	Ikelifetime          int64  `json:"ikelifetime"`
	Ikepolicy            string `json:"ikepolicy"`
	Ipsecpsk             string `json:"ipsecpsk"`
	JobID                string `json:"jobid"`
	Jobstatus            int    `json:"jobstatus"`
	Passive              bool   `json:"passive"`
	Project              string `json:"project"`
	Projectid            string `json:"projectid"`
	Publicip             string `json:"publicip"`
	Removed              string `json:"removed"`
	S2scustomergatewayid string `json:"s2scustomergatewayid"`
	S2svpngatewayid      string `json:"s2svpngatewayid"`
	State                string `json:"state"`
}

type CreateVpnCustomerGatewayParams

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

func (*CreateVpnCustomerGatewayParams) SetAccount

func (p *CreateVpnCustomerGatewayParams) SetAccount(v string)

func (*CreateVpnCustomerGatewayParams) SetCidrlist

func (p *CreateVpnCustomerGatewayParams) SetCidrlist(v string)

func (*CreateVpnCustomerGatewayParams) SetDomainid

func (p *CreateVpnCustomerGatewayParams) SetDomainid(v string)

func (*CreateVpnCustomerGatewayParams) SetDpd

func (p *CreateVpnCustomerGatewayParams) SetDpd(v bool)

func (*CreateVpnCustomerGatewayParams) SetEsplifetime

func (p *CreateVpnCustomerGatewayParams) SetEsplifetime(v int64)

func (*CreateVpnCustomerGatewayParams) SetEsppolicy

func (p *CreateVpnCustomerGatewayParams) SetEsppolicy(v string)

func (*CreateVpnCustomerGatewayParams) SetForceencap

func (p *CreateVpnCustomerGatewayParams) SetForceencap(v bool)

func (*CreateVpnCustomerGatewayParams) SetGateway

func (p *CreateVpnCustomerGatewayParams) SetGateway(v string)

func (*CreateVpnCustomerGatewayParams) SetIkelifetime

func (p *CreateVpnCustomerGatewayParams) SetIkelifetime(v int64)

func (*CreateVpnCustomerGatewayParams) SetIkepolicy

func (p *CreateVpnCustomerGatewayParams) SetIkepolicy(v string)

func (*CreateVpnCustomerGatewayParams) SetIpsecpsk

func (p *CreateVpnCustomerGatewayParams) SetIpsecpsk(v string)

func (*CreateVpnCustomerGatewayParams) SetName

func (p *CreateVpnCustomerGatewayParams) SetName(v string)

func (*CreateVpnCustomerGatewayParams) SetProjectid

func (p *CreateVpnCustomerGatewayParams) SetProjectid(v string)

type CreateVpnCustomerGatewayResponse

type CreateVpnCustomerGatewayResponse struct {
	Account     string `json:"account"`
	Cidrlist    string `json:"cidrlist"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Dpd         bool   `json:"dpd"`
	Esplifetime int64  `json:"esplifetime"`
	Esppolicy   string `json:"esppolicy"`
	Forceencap  bool   `json:"forceencap"`
	Gateway     string `json:"gateway"`
	Id          string `json:"id"`
	Ikelifetime int64  `json:"ikelifetime"`
	Ikepolicy   string `json:"ikepolicy"`
	Ipaddress   string `json:"ipaddress"`
	Ipsecpsk    string `json:"ipsecpsk"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Name        string `json:"name"`
	Project     string `json:"project"`
	Projectid   string `json:"projectid"`
	Removed     string `json:"removed"`
}

type CreateVpnGatewayParams

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

func (*CreateVpnGatewayParams) SetFordisplay

func (p *CreateVpnGatewayParams) SetFordisplay(v bool)

func (*CreateVpnGatewayParams) SetVpcid

func (p *CreateVpnGatewayParams) SetVpcid(v string)

type CreateVpnGatewayResponse

type CreateVpnGatewayResponse struct {
	Account    string `json:"account"`
	Domain     string `json:"domain"`
	Domainid   string `json:"domainid"`
	Fordisplay bool   `json:"fordisplay"`
	Id         string `json:"id"`
	JobID      string `json:"jobid"`
	Jobstatus  int    `json:"jobstatus"`
	Project    string `json:"project"`
	Projectid  string `json:"projectid"`
	Publicip   string `json:"publicip"`
	Removed    string `json:"removed"`
	Vpcid      string `json:"vpcid"`
}

type CreateZoneParams

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

func (*CreateZoneParams) SetAllocationstate

func (p *CreateZoneParams) SetAllocationstate(v string)

func (*CreateZoneParams) SetDns1

func (p *CreateZoneParams) SetDns1(v string)

func (*CreateZoneParams) SetDns2

func (p *CreateZoneParams) SetDns2(v string)

func (*CreateZoneParams) SetDomain

func (p *CreateZoneParams) SetDomain(v string)

func (*CreateZoneParams) SetDomainid

func (p *CreateZoneParams) SetDomainid(v string)

func (*CreateZoneParams) SetGuestcidraddress

func (p *CreateZoneParams) SetGuestcidraddress(v string)

func (*CreateZoneParams) SetInternaldns1

func (p *CreateZoneParams) SetInternaldns1(v string)

func (*CreateZoneParams) SetInternaldns2

func (p *CreateZoneParams) SetInternaldns2(v string)

func (*CreateZoneParams) SetIp6dns1

func (p *CreateZoneParams) SetIp6dns1(v string)

func (*CreateZoneParams) SetIp6dns2

func (p *CreateZoneParams) SetIp6dns2(v string)

func (*CreateZoneParams) SetLocalstorageenabled

func (p *CreateZoneParams) SetLocalstorageenabled(v bool)

func (*CreateZoneParams) SetName

func (p *CreateZoneParams) SetName(v string)

func (*CreateZoneParams) SetNetworktype

func (p *CreateZoneParams) SetNetworktype(v string)

func (*CreateZoneParams) SetSecuritygroupenabled

func (p *CreateZoneParams) SetSecuritygroupenabled(v bool)

type CreateZoneResponse

type CreateZoneResponse struct {
	Allocationstate       string                       `json:"allocationstate"`
	Capacity              []CreateZoneResponseCapacity `json:"capacity"`
	Description           string                       `json:"description"`
	Dhcpprovider          string                       `json:"dhcpprovider"`
	Displaytext           string                       `json:"displaytext"`
	Dns1                  string                       `json:"dns1"`
	Dns2                  string                       `json:"dns2"`
	Domain                string                       `json:"domain"`
	Domainid              string                       `json:"domainid"`
	Domainname            string                       `json:"domainname"`
	Guestcidraddress      string                       `json:"guestcidraddress"`
	Id                    string                       `json:"id"`
	Internaldns1          string                       `json:"internaldns1"`
	Internaldns2          string                       `json:"internaldns2"`
	Ip6dns1               string                       `json:"ip6dns1"`
	Ip6dns2               string                       `json:"ip6dns2"`
	JobID                 string                       `json:"jobid"`
	Jobstatus             int                          `json:"jobstatus"`
	Localstorageenabled   bool                         `json:"localstorageenabled"`
	Name                  string                       `json:"name"`
	Networktype           string                       `json:"networktype"`
	Resourcedetails       map[string]string            `json:"resourcedetails"`
	Securitygroupsenabled bool                         `json:"securitygroupsenabled"`
	Tags                  []Tags                       `json:"tags"`
	Zonetoken             string                       `json:"zonetoken"`
}

type CreateZoneResponseCapacity

type CreateZoneResponseCapacity struct {
	Capacityallocated int64  `json:"capacityallocated"`
	Capacitytotal     int64  `json:"capacitytotal"`
	Capacityused      int64  `json:"capacityused"`
	Clusterid         string `json:"clusterid"`
	Clustername       string `json:"clustername"`
	Name              string `json:"name"`
	Percentused       string `json:"percentused"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Type              int    `json:"type"`
	Zoneid            string `json:"zoneid"`
	Zonename          string `json:"zonename"`
}

type CustomService

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

func NewCustomService

func NewCustomService(cs *CloudStackClient) *CustomService

func (*CustomService) CustomRequest

func (s *CustomService) CustomRequest(api string, p *CustomServiceParams, result interface{}) error

type CustomServiceParams

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

func (*CustomServiceParams) SetParam

func (p *CustomServiceParams) SetParam(param string, v interface{})

type DedicateClusterParams

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

func (*DedicateClusterParams) SetAccount

func (p *DedicateClusterParams) SetAccount(v string)

func (*DedicateClusterParams) SetClusterid

func (p *DedicateClusterParams) SetClusterid(v string)

func (*DedicateClusterParams) SetDomainid

func (p *DedicateClusterParams) SetDomainid(v string)

type DedicateClusterResponse

type DedicateClusterResponse struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Clusterid       string `json:"clusterid"`
	Clustername     string `json:"clustername"`
	Domainid        string `json:"domainid"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
}

type DedicateGuestVlanRangeParams

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

func (*DedicateGuestVlanRangeParams) SetAccount

func (p *DedicateGuestVlanRangeParams) SetAccount(v string)

func (*DedicateGuestVlanRangeParams) SetDomainid

func (p *DedicateGuestVlanRangeParams) SetDomainid(v string)

func (*DedicateGuestVlanRangeParams) SetPhysicalnetworkid

func (p *DedicateGuestVlanRangeParams) SetPhysicalnetworkid(v string)

func (*DedicateGuestVlanRangeParams) SetProjectid

func (p *DedicateGuestVlanRangeParams) SetProjectid(v string)

func (*DedicateGuestVlanRangeParams) SetVlanrange

func (p *DedicateGuestVlanRangeParams) SetVlanrange(v string)

type DedicateGuestVlanRangeResponse

type DedicateGuestVlanRangeResponse struct {
	Account           string `json:"account"`
	Domain            string `json:"domain"`
	Domainid          string `json:"domainid"`
	Guestvlanrange    string `json:"guestvlanrange"`
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid int64  `json:"physicalnetworkid"`
	Project           string `json:"project"`
	Projectid         string `json:"projectid"`
	Zoneid            int64  `json:"zoneid"`
}

type DedicateHostParams

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

func (*DedicateHostParams) SetAccount

func (p *DedicateHostParams) SetAccount(v string)

func (*DedicateHostParams) SetDomainid

func (p *DedicateHostParams) SetDomainid(v string)

func (*DedicateHostParams) SetHostid

func (p *DedicateHostParams) SetHostid(v string)

type DedicateHostResponse

type DedicateHostResponse struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Domainid        string `json:"domainid"`
	Hostid          string `json:"hostid"`
	Hostname        string `json:"hostname"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
}

type DedicatePodParams

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

func (*DedicatePodParams) SetAccount

func (p *DedicatePodParams) SetAccount(v string)

func (*DedicatePodParams) SetDomainid

func (p *DedicatePodParams) SetDomainid(v string)

func (*DedicatePodParams) SetPodid

func (p *DedicatePodParams) SetPodid(v string)

type DedicatePodResponse

type DedicatePodResponse struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Domainid        string `json:"domainid"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	Podid           string `json:"podid"`
	Podname         string `json:"podname"`
}

type DedicatePublicIpRangeParams

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

func (*DedicatePublicIpRangeParams) SetAccount

func (p *DedicatePublicIpRangeParams) SetAccount(v string)

func (*DedicatePublicIpRangeParams) SetDomainid

func (p *DedicatePublicIpRangeParams) SetDomainid(v string)

func (*DedicatePublicIpRangeParams) SetId

func (p *DedicatePublicIpRangeParams) SetId(v string)

func (*DedicatePublicIpRangeParams) SetProjectid

func (p *DedicatePublicIpRangeParams) SetProjectid(v string)

type DedicatePublicIpRangeResponse

type DedicatePublicIpRangeResponse struct {
	Account           string `json:"account"`
	Description       string `json:"description"`
	Domain            string `json:"domain"`
	Domainid          string `json:"domainid"`
	Endip             string `json:"endip"`
	Endipv6           string `json:"endipv6"`
	Forsystemvms      bool   `json:"forsystemvms"`
	Forvirtualnetwork bool   `json:"forvirtualnetwork"`
	Gateway           string `json:"gateway"`
	Id                string `json:"id"`
	Ip6cidr           string `json:"ip6cidr"`
	Ip6gateway        string `json:"ip6gateway"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Netmask           string `json:"netmask"`
	Networkid         string `json:"networkid"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Podid             string `json:"podid"`
	Podname           string `json:"podname"`
	Project           string `json:"project"`
	Projectid         string `json:"projectid"`
	Startip           string `json:"startip"`
	Startipv6         string `json:"startipv6"`
	Vlan              string `json:"vlan"`
	Zoneid            string `json:"zoneid"`
}

type DedicateZoneParams

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

func (*DedicateZoneParams) SetAccount

func (p *DedicateZoneParams) SetAccount(v string)

func (*DedicateZoneParams) SetDomainid

func (p *DedicateZoneParams) SetDomainid(v string)

func (*DedicateZoneParams) SetZoneid

func (p *DedicateZoneParams) SetZoneid(v string)

type DedicateZoneResponse

type DedicateZoneResponse struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Domainid        string `json:"domainid"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	Zoneid          string `json:"zoneid"`
	Zonename        string `json:"zonename"`
}

type DedicatedCluster

type DedicatedCluster struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Clusterid       string `json:"clusterid"`
	Clustername     string `json:"clustername"`
	Domainid        string `json:"domainid"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
}

type DedicatedGuestVlanRange

type DedicatedGuestVlanRange struct {
	Account           string `json:"account"`
	Domain            string `json:"domain"`
	Domainid          string `json:"domainid"`
	Guestvlanrange    string `json:"guestvlanrange"`
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Physicalnetworkid int64  `json:"physicalnetworkid"`
	Project           string `json:"project"`
	Projectid         string `json:"projectid"`
	Zoneid            int64  `json:"zoneid"`
}

type DedicatedHost

type DedicatedHost struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Domainid        string `json:"domainid"`
	Hostid          string `json:"hostid"`
	Hostname        string `json:"hostname"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
}

type DedicatedPod

type DedicatedPod struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Domainid        string `json:"domainid"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	Podid           string `json:"podid"`
	Podname         string `json:"podname"`
}

type DedicatedZone

type DedicatedZone struct {
	Accountid       string `json:"accountid"`
	Affinitygroupid string `json:"affinitygroupid"`
	Domainid        string `json:"domainid"`
	Id              string `json:"id"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	Zoneid          string `json:"zoneid"`
	Zonename        string `json:"zonename"`
}

type DeleteAccountFromProjectParams

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

func (*DeleteAccountFromProjectParams) SetAccount

func (p *DeleteAccountFromProjectParams) SetAccount(v string)

func (*DeleteAccountFromProjectParams) SetProjectid

func (p *DeleteAccountFromProjectParams) SetProjectid(v string)

type DeleteAccountFromProjectResponse

type DeleteAccountFromProjectResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteAccountParams

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

func (*DeleteAccountParams) SetId

func (p *DeleteAccountParams) SetId(v string)

type DeleteAccountResponse

type DeleteAccountResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteAffinityGroupParams

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

func (*DeleteAffinityGroupParams) SetAccount

func (p *DeleteAffinityGroupParams) SetAccount(v string)

func (*DeleteAffinityGroupParams) SetDomainid

func (p *DeleteAffinityGroupParams) SetDomainid(v string)

func (*DeleteAffinityGroupParams) SetId

func (p *DeleteAffinityGroupParams) SetId(v string)

func (*DeleteAffinityGroupParams) SetName

func (p *DeleteAffinityGroupParams) SetName(v string)

func (*DeleteAffinityGroupParams) SetProjectid

func (p *DeleteAffinityGroupParams) SetProjectid(v string)

type DeleteAffinityGroupResponse

type DeleteAffinityGroupResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteAlertsParams

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

func (*DeleteAlertsParams) SetEnddate

func (p *DeleteAlertsParams) SetEnddate(v string)

func (*DeleteAlertsParams) SetIds

func (p *DeleteAlertsParams) SetIds(v []string)

func (*DeleteAlertsParams) SetStartdate

func (p *DeleteAlertsParams) SetStartdate(v string)

func (*DeleteAlertsParams) SetType

func (p *DeleteAlertsParams) SetType(v string)

type DeleteAlertsResponse

type DeleteAlertsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteAlertsResponse) UnmarshalJSON

func (r *DeleteAlertsResponse) UnmarshalJSON(b []byte) error

type DeleteAutoScalePolicyParams

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

func (*DeleteAutoScalePolicyParams) SetId

func (p *DeleteAutoScalePolicyParams) SetId(v string)

type DeleteAutoScalePolicyResponse

type DeleteAutoScalePolicyResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteAutoScaleVmGroupParams

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

func (*DeleteAutoScaleVmGroupParams) SetId

type DeleteAutoScaleVmGroupResponse

type DeleteAutoScaleVmGroupResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteAutoScaleVmProfileParams

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

func (*DeleteAutoScaleVmProfileParams) SetId

type DeleteAutoScaleVmProfileResponse

type DeleteAutoScaleVmProfileResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteBaremetalRctParams

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

func (*DeleteBaremetalRctParams) SetId

func (p *DeleteBaremetalRctParams) SetId(v string)

type DeleteBaremetalRctResponse

type DeleteBaremetalRctResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteBigSwitchBcfDeviceParams

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

func (*DeleteBigSwitchBcfDeviceParams) SetBcfdeviceid

func (p *DeleteBigSwitchBcfDeviceParams) SetBcfdeviceid(v string)

type DeleteBigSwitchBcfDeviceResponse

type DeleteBigSwitchBcfDeviceResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteBrocadeVcsDeviceParams

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

func (*DeleteBrocadeVcsDeviceParams) SetVcsdeviceid

func (p *DeleteBrocadeVcsDeviceParams) SetVcsdeviceid(v string)

type DeleteBrocadeVcsDeviceResponse

type DeleteBrocadeVcsDeviceResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteClusterParams

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

func (*DeleteClusterParams) SetId

func (p *DeleteClusterParams) SetId(v string)

type DeleteClusterResponse

type DeleteClusterResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteClusterResponse) UnmarshalJSON

func (r *DeleteClusterResponse) UnmarshalJSON(b []byte) error

type DeleteConditionParams

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

func (*DeleteConditionParams) SetId

func (p *DeleteConditionParams) SetId(v string)

type DeleteConditionResponse

type DeleteConditionResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteCounterParams

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

func (*DeleteCounterParams) SetId

func (p *DeleteCounterParams) SetId(v string)

type DeleteCounterResponse

type DeleteCounterResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteDiskOfferingParams

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

func (*DeleteDiskOfferingParams) SetId

func (p *DeleteDiskOfferingParams) SetId(v string)

type DeleteDiskOfferingResponse

type DeleteDiskOfferingResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteDiskOfferingResponse) UnmarshalJSON

func (r *DeleteDiskOfferingResponse) UnmarshalJSON(b []byte) error

type DeleteDomainParams

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

func (*DeleteDomainParams) SetCleanup

func (p *DeleteDomainParams) SetCleanup(v bool)

func (*DeleteDomainParams) SetId

func (p *DeleteDomainParams) SetId(v string)

type DeleteDomainResponse

type DeleteDomainResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteEgressFirewallRuleParams

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

func (*DeleteEgressFirewallRuleParams) SetId

type DeleteEgressFirewallRuleResponse

type DeleteEgressFirewallRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteEventsParams

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

func (*DeleteEventsParams) SetEnddate

func (p *DeleteEventsParams) SetEnddate(v string)

func (*DeleteEventsParams) SetIds

func (p *DeleteEventsParams) SetIds(v []string)

func (*DeleteEventsParams) SetStartdate

func (p *DeleteEventsParams) SetStartdate(v string)

func (*DeleteEventsParams) SetType

func (p *DeleteEventsParams) SetType(v string)

type DeleteEventsResponse

type DeleteEventsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteEventsResponse) UnmarshalJSON

func (r *DeleteEventsResponse) UnmarshalJSON(b []byte) error

type DeleteFirewallRuleParams

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

func (*DeleteFirewallRuleParams) SetId

func (p *DeleteFirewallRuleParams) SetId(v string)

type DeleteFirewallRuleResponse

type DeleteFirewallRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteGlobalLoadBalancerRuleParams

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

func (*DeleteGlobalLoadBalancerRuleParams) SetId

type DeleteGlobalLoadBalancerRuleResponse

type DeleteGlobalLoadBalancerRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteHostParams

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

func (*DeleteHostParams) SetForced

func (p *DeleteHostParams) SetForced(v bool)

func (*DeleteHostParams) SetForcedestroylocalstorage

func (p *DeleteHostParams) SetForcedestroylocalstorage(v bool)

func (*DeleteHostParams) SetId

func (p *DeleteHostParams) SetId(v string)

type DeleteHostResponse

type DeleteHostResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteHostResponse) UnmarshalJSON

func (r *DeleteHostResponse) UnmarshalJSON(b []byte) error

type DeleteImageStoreParams

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

func (*DeleteImageStoreParams) SetId

func (p *DeleteImageStoreParams) SetId(v string)

type DeleteImageStoreResponse

type DeleteImageStoreResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteImageStoreResponse) UnmarshalJSON

func (r *DeleteImageStoreResponse) UnmarshalJSON(b []byte) error

type DeleteInstanceGroupParams

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

func (*DeleteInstanceGroupParams) SetId

func (p *DeleteInstanceGroupParams) SetId(v string)

type DeleteInstanceGroupResponse

type DeleteInstanceGroupResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteInstanceGroupResponse) UnmarshalJSON

func (r *DeleteInstanceGroupResponse) UnmarshalJSON(b []byte) error

type DeleteIpForwardingRuleParams

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

func (*DeleteIpForwardingRuleParams) SetId

type DeleteIpForwardingRuleResponse

type DeleteIpForwardingRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteIsoParams

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

func (*DeleteIsoParams) SetId

func (p *DeleteIsoParams) SetId(v string)

func (*DeleteIsoParams) SetZoneid

func (p *DeleteIsoParams) SetZoneid(v string)

type DeleteIsoResponse

type DeleteIsoResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteLBHealthCheckPolicyParams

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

func (*DeleteLBHealthCheckPolicyParams) SetId

type DeleteLBHealthCheckPolicyResponse

type DeleteLBHealthCheckPolicyResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteLBStickinessPolicyParams

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

func (*DeleteLBStickinessPolicyParams) SetId

type DeleteLBStickinessPolicyResponse

type DeleteLBStickinessPolicyResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteLdapConfigurationParams

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

func (*DeleteLdapConfigurationParams) SetDomainid

func (p *DeleteLdapConfigurationParams) SetDomainid(v string)

func (*DeleteLdapConfigurationParams) SetHostname

func (p *DeleteLdapConfigurationParams) SetHostname(v string)

func (*DeleteLdapConfigurationParams) SetPort

func (p *DeleteLdapConfigurationParams) SetPort(v int)

type DeleteLdapConfigurationResponse

type DeleteLdapConfigurationResponse struct {
	Domainid  string `json:"domainid"`
	Hostname  string `json:"hostname"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Port      int    `json:"port"`
}

type DeleteLoadBalancerParams

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

func (*DeleteLoadBalancerParams) SetId

func (p *DeleteLoadBalancerParams) SetId(v string)

type DeleteLoadBalancerResponse

type DeleteLoadBalancerResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteLoadBalancerRuleParams

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

func (*DeleteLoadBalancerRuleParams) SetId

type DeleteLoadBalancerRuleResponse

type DeleteLoadBalancerRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNetscalerLoadBalancerParams

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

func (*DeleteNetscalerLoadBalancerParams) SetLbdeviceid

func (p *DeleteNetscalerLoadBalancerParams) SetLbdeviceid(v string)

type DeleteNetscalerLoadBalancerResponse

type DeleteNetscalerLoadBalancerResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNetworkACLListParams

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

func (*DeleteNetworkACLListParams) SetId

func (p *DeleteNetworkACLListParams) SetId(v string)

type DeleteNetworkACLListResponse

type DeleteNetworkACLListResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNetworkACLParams

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

func (*DeleteNetworkACLParams) SetId

func (p *DeleteNetworkACLParams) SetId(v string)

type DeleteNetworkACLResponse

type DeleteNetworkACLResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNetworkDeviceParams

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

func (*DeleteNetworkDeviceParams) SetId

func (p *DeleteNetworkDeviceParams) SetId(v string)

type DeleteNetworkDeviceResponse

type DeleteNetworkDeviceResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteNetworkDeviceResponse) UnmarshalJSON

func (r *DeleteNetworkDeviceResponse) UnmarshalJSON(b []byte) error

type DeleteNetworkOfferingParams

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

func (*DeleteNetworkOfferingParams) SetId

func (p *DeleteNetworkOfferingParams) SetId(v string)

type DeleteNetworkOfferingResponse

type DeleteNetworkOfferingResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteNetworkOfferingResponse) UnmarshalJSON

func (r *DeleteNetworkOfferingResponse) UnmarshalJSON(b []byte) error

type DeleteNetworkParams

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

func (*DeleteNetworkParams) SetForced

func (p *DeleteNetworkParams) SetForced(v bool)

func (*DeleteNetworkParams) SetId

func (p *DeleteNetworkParams) SetId(v string)

type DeleteNetworkResponse

type DeleteNetworkResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNetworkServiceProviderParams

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

func (*DeleteNetworkServiceProviderParams) SetId

type DeleteNetworkServiceProviderResponse

type DeleteNetworkServiceProviderResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNiciraNvpDeviceParams

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

func (*DeleteNiciraNvpDeviceParams) SetNvpdeviceid

func (p *DeleteNiciraNvpDeviceParams) SetNvpdeviceid(v string)

type DeleteNiciraNvpDeviceResponse

type DeleteNiciraNvpDeviceResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteNuageVspDeviceParams

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

func (*DeleteNuageVspDeviceParams) SetVspdeviceid

func (p *DeleteNuageVspDeviceParams) SetVspdeviceid(v string)

type DeleteNuageVspDeviceResponse

type DeleteNuageVspDeviceResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteOpenDaylightControllerParams

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

func (*DeleteOpenDaylightControllerParams) SetId

type DeleteOpenDaylightControllerResponse

type DeleteOpenDaylightControllerResponse struct {
	Id                string `json:"id"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Name              string `json:"name"`
	Physicalnetworkid string `json:"physicalnetworkid"`
	Url               string `json:"url"`
	Username          string `json:"username"`
}

type DeletePaloAltoFirewallParams

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

func (*DeletePaloAltoFirewallParams) SetFwdeviceid

func (p *DeletePaloAltoFirewallParams) SetFwdeviceid(v string)

type DeletePaloAltoFirewallResponse

type DeletePaloAltoFirewallResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeletePhysicalNetworkParams

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

func (*DeletePhysicalNetworkParams) SetId

func (p *DeletePhysicalNetworkParams) SetId(v string)

type DeletePhysicalNetworkResponse

type DeletePhysicalNetworkResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeletePodParams

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

func (*DeletePodParams) SetId

func (p *DeletePodParams) SetId(v string)

type DeletePodResponse

type DeletePodResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeletePodResponse) UnmarshalJSON

func (r *DeletePodResponse) UnmarshalJSON(b []byte) error

type DeletePortForwardingRuleParams

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

func (*DeletePortForwardingRuleParams) SetId

type DeletePortForwardingRuleResponse

type DeletePortForwardingRuleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeletePortableIpRangeParams

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

func (*DeletePortableIpRangeParams) SetId

func (p *DeletePortableIpRangeParams) SetId(v string)

type DeletePortableIpRangeResponse

type DeletePortableIpRangeResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeletePrivateGatewayParams

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

func (*DeletePrivateGatewayParams) SetId

func (p *DeletePrivateGatewayParams) SetId(v string)

type DeletePrivateGatewayResponse

type DeletePrivateGatewayResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteProjectInvitationParams

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

func (*DeleteProjectInvitationParams) SetId

type DeleteProjectInvitationResponse

type DeleteProjectInvitationResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteProjectParams

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

func (*DeleteProjectParams) SetId

func (p *DeleteProjectParams) SetId(v string)

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteRemoteAccessVpnParams

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

func (*DeleteRemoteAccessVpnParams) SetPublicipid

func (p *DeleteRemoteAccessVpnParams) SetPublicipid(v string)

type DeleteRemoteAccessVpnResponse

type DeleteRemoteAccessVpnResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteRoleParams

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

func (*DeleteRoleParams) SetId

func (p *DeleteRoleParams) SetId(v string)

type DeleteRolePermissionParams

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

func (*DeleteRolePermissionParams) SetId

func (p *DeleteRolePermissionParams) SetId(v string)

type DeleteRolePermissionResponse

type DeleteRolePermissionResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteRolePermissionResponse) UnmarshalJSON

func (r *DeleteRolePermissionResponse) UnmarshalJSON(b []byte) error

type DeleteRoleResponse

type DeleteRoleResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteRoleResponse) UnmarshalJSON

func (r *DeleteRoleResponse) UnmarshalJSON(b []byte) error

type DeleteSSHKeyPairParams

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

func (*DeleteSSHKeyPairParams) SetAccount

func (p *DeleteSSHKeyPairParams) SetAccount(v string)

func (*DeleteSSHKeyPairParams) SetDomainid

func (p *DeleteSSHKeyPairParams) SetDomainid(v string)

func (*DeleteSSHKeyPairParams) SetName

func (p *DeleteSSHKeyPairParams) SetName(v string)

func (*DeleteSSHKeyPairParams) SetProjectid

func (p *DeleteSSHKeyPairParams) SetProjectid(v string)

type DeleteSSHKeyPairResponse

type DeleteSSHKeyPairResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteSSHKeyPairResponse) UnmarshalJSON

func (r *DeleteSSHKeyPairResponse) UnmarshalJSON(b []byte) error

type DeleteSecondaryStagingStoreParams

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

func (*DeleteSecondaryStagingStoreParams) SetId

type DeleteSecondaryStagingStoreResponse

type DeleteSecondaryStagingStoreResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteSecondaryStagingStoreResponse) UnmarshalJSON

func (r *DeleteSecondaryStagingStoreResponse) UnmarshalJSON(b []byte) error

type DeleteSecurityGroupParams

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

func (*DeleteSecurityGroupParams) SetAccount

func (p *DeleteSecurityGroupParams) SetAccount(v string)

func (*DeleteSecurityGroupParams) SetDomainid

func (p *DeleteSecurityGroupParams) SetDomainid(v string)

func (*DeleteSecurityGroupParams) SetId

func (p *DeleteSecurityGroupParams) SetId(v string)

func (*DeleteSecurityGroupParams) SetName

func (p *DeleteSecurityGroupParams) SetName(v string)

func (*DeleteSecurityGroupParams) SetProjectid

func (p *DeleteSecurityGroupParams) SetProjectid(v string)

type DeleteSecurityGroupResponse

type DeleteSecurityGroupResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteSecurityGroupResponse) UnmarshalJSON

func (r *DeleteSecurityGroupResponse) UnmarshalJSON(b []byte) error

type DeleteServiceOfferingParams

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

func (*DeleteServiceOfferingParams) SetId

func (p *DeleteServiceOfferingParams) SetId(v string)

type DeleteServiceOfferingResponse

type DeleteServiceOfferingResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteServiceOfferingResponse) UnmarshalJSON

func (r *DeleteServiceOfferingResponse) UnmarshalJSON(b []byte) error

type DeleteSnapshotParams

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

func (*DeleteSnapshotParams) SetId

func (p *DeleteSnapshotParams) SetId(v string)

type DeleteSnapshotPoliciesParams

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

func (*DeleteSnapshotPoliciesParams) SetId

func (*DeleteSnapshotPoliciesParams) SetIds

func (p *DeleteSnapshotPoliciesParams) SetIds(v []string)

type DeleteSnapshotPoliciesResponse

type DeleteSnapshotPoliciesResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteSnapshotPoliciesResponse) UnmarshalJSON

func (r *DeleteSnapshotPoliciesResponse) UnmarshalJSON(b []byte) error

type DeleteSnapshotResponse

type DeleteSnapshotResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteSslCertParams

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

func (*DeleteSslCertParams) SetId

func (p *DeleteSslCertParams) SetId(v string)

type DeleteSslCertResponse

type DeleteSslCertResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteSslCertResponse) UnmarshalJSON

func (r *DeleteSslCertResponse) UnmarshalJSON(b []byte) error

type DeleteStaticRouteParams

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

func (*DeleteStaticRouteParams) SetId

func (p *DeleteStaticRouteParams) SetId(v string)

type DeleteStaticRouteResponse

type DeleteStaticRouteResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteStorageNetworkIpRangeParams

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

func (*DeleteStorageNetworkIpRangeParams) SetId

type DeleteStorageNetworkIpRangeResponse

type DeleteStorageNetworkIpRangeResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteStoragePoolParams

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

func (*DeleteStoragePoolParams) SetForced

func (p *DeleteStoragePoolParams) SetForced(v bool)

func (*DeleteStoragePoolParams) SetId

func (p *DeleteStoragePoolParams) SetId(v string)

type DeleteStoragePoolResponse

type DeleteStoragePoolResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteStoragePoolResponse) UnmarshalJSON

func (r *DeleteStoragePoolResponse) UnmarshalJSON(b []byte) error

type DeleteStratosphereSspParams

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

func (*DeleteStratosphereSspParams) SetHostid

func (p *DeleteStratosphereSspParams) SetHostid(v string)

type DeleteStratosphereSspResponse

type DeleteStratosphereSspResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteStratosphereSspResponse) UnmarshalJSON

func (r *DeleteStratosphereSspResponse) UnmarshalJSON(b []byte) error

type DeleteTagsParams

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

func (*DeleteTagsParams) SetResourceids

func (p *DeleteTagsParams) SetResourceids(v []string)

func (*DeleteTagsParams) SetResourcetype

func (p *DeleteTagsParams) SetResourcetype(v string)

func (*DeleteTagsParams) SetTags

func (p *DeleteTagsParams) SetTags(v map[string]string)

type DeleteTagsResponse

type DeleteTagsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteTemplateParams

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

func (*DeleteTemplateParams) SetForced

func (p *DeleteTemplateParams) SetForced(v bool)

func (*DeleteTemplateParams) SetId

func (p *DeleteTemplateParams) SetId(v string)

func (*DeleteTemplateParams) SetZoneid

func (p *DeleteTemplateParams) SetZoneid(v string)

type DeleteTemplateResponse

type DeleteTemplateResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteTrafficMonitorParams

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

func (*DeleteTrafficMonitorParams) SetId

func (p *DeleteTrafficMonitorParams) SetId(v string)

type DeleteTrafficMonitorResponse

type DeleteTrafficMonitorResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteTrafficMonitorResponse) UnmarshalJSON

func (r *DeleteTrafficMonitorResponse) UnmarshalJSON(b []byte) error

type DeleteTrafficTypeParams

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

func (*DeleteTrafficTypeParams) SetId

func (p *DeleteTrafficTypeParams) SetId(v string)

type DeleteTrafficTypeResponse

type DeleteTrafficTypeResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteUcsManagerParams

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

func (*DeleteUcsManagerParams) SetUcsmanagerid

func (p *DeleteUcsManagerParams) SetUcsmanagerid(v string)

type DeleteUcsManagerResponse

type DeleteUcsManagerResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteUcsManagerResponse) UnmarshalJSON

func (r *DeleteUcsManagerResponse) UnmarshalJSON(b []byte) error

type DeleteUserParams

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

func (*DeleteUserParams) SetId

func (p *DeleteUserParams) SetId(v string)

type DeleteUserResponse

type DeleteUserResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteUserResponse) UnmarshalJSON

func (r *DeleteUserResponse) UnmarshalJSON(b []byte) error

type DeleteVMSnapshotParams

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

func (*DeleteVMSnapshotParams) SetVmsnapshotid

func (p *DeleteVMSnapshotParams) SetVmsnapshotid(v string)

type DeleteVMSnapshotResponse

type DeleteVMSnapshotResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteVPCOfferingParams

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

func (*DeleteVPCOfferingParams) SetId

func (p *DeleteVPCOfferingParams) SetId(v string)

type DeleteVPCOfferingResponse

type DeleteVPCOfferingResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteVPCParams

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

func (*DeleteVPCParams) SetId

func (p *DeleteVPCParams) SetId(v string)

type DeleteVPCResponse

type DeleteVPCResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteVlanIpRangeParams

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

func (*DeleteVlanIpRangeParams) SetId

func (p *DeleteVlanIpRangeParams) SetId(v string)

type DeleteVlanIpRangeResponse

type DeleteVlanIpRangeResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteVlanIpRangeResponse) UnmarshalJSON

func (r *DeleteVlanIpRangeResponse) UnmarshalJSON(b []byte) error

type DeleteVolumeParams

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

func (*DeleteVolumeParams) SetId

func (p *DeleteVolumeParams) SetId(v string)

type DeleteVolumeResponse

type DeleteVolumeResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteVolumeResponse) UnmarshalJSON

func (r *DeleteVolumeResponse) UnmarshalJSON(b []byte) error

type DeleteVpnConnectionParams

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

func (*DeleteVpnConnectionParams) SetId

func (p *DeleteVpnConnectionParams) SetId(v string)

type DeleteVpnConnectionResponse

type DeleteVpnConnectionResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteVpnCustomerGatewayParams

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

func (*DeleteVpnCustomerGatewayParams) SetId

type DeleteVpnCustomerGatewayResponse

type DeleteVpnCustomerGatewayResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteVpnGatewayParams

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

func (*DeleteVpnGatewayParams) SetId

func (p *DeleteVpnGatewayParams) SetId(v string)

type DeleteVpnGatewayResponse

type DeleteVpnGatewayResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DeleteZoneParams

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

func (*DeleteZoneParams) SetId

func (p *DeleteZoneParams) SetId(v string)

type DeleteZoneResponse

type DeleteZoneResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*DeleteZoneResponse) UnmarshalJSON

func (r *DeleteZoneResponse) UnmarshalJSON(b []byte) error

type DeployVirtualMachineParams

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

func (*DeployVirtualMachineParams) SetAccount

func (p *DeployVirtualMachineParams) SetAccount(v string)

func (*DeployVirtualMachineParams) SetAffinitygroupids

func (p *DeployVirtualMachineParams) SetAffinitygroupids(v []string)

func (*DeployVirtualMachineParams) SetAffinitygroupnames

func (p *DeployVirtualMachineParams) SetAffinitygroupnames(v []string)

func (*DeployVirtualMachineParams) SetCustomid

func (p *DeployVirtualMachineParams) SetCustomid(v string)

func (*DeployVirtualMachineParams) SetDatadiskofferinglist

func (p *DeployVirtualMachineParams) SetDatadiskofferinglist(v map[string]string)

func (*DeployVirtualMachineParams) SetDeploymentplanner

func (p *DeployVirtualMachineParams) SetDeploymentplanner(v string)

func (*DeployVirtualMachineParams) SetDetails

func (p *DeployVirtualMachineParams) SetDetails(v map[string]string)

func (*DeployVirtualMachineParams) SetDhcpoptionsnetworklist

func (p *DeployVirtualMachineParams) SetDhcpoptionsnetworklist(v map[string]string)

func (*DeployVirtualMachineParams) SetDiskofferingid

func (p *DeployVirtualMachineParams) SetDiskofferingid(v string)

func (*DeployVirtualMachineParams) SetDisplayname

func (p *DeployVirtualMachineParams) SetDisplayname(v string)

func (*DeployVirtualMachineParams) SetDisplayvm

func (p *DeployVirtualMachineParams) SetDisplayvm(v bool)

func (*DeployVirtualMachineParams) SetDomainid

func (p *DeployVirtualMachineParams) SetDomainid(v string)

func (*DeployVirtualMachineParams) SetExtraconfig

func (p *DeployVirtualMachineParams) SetExtraconfig(v string)

func (*DeployVirtualMachineParams) SetGroup

func (p *DeployVirtualMachineParams) SetGroup(v string)

func (*DeployVirtualMachineParams) SetHostid

func (p *DeployVirtualMachineParams) SetHostid(v string)

func (*DeployVirtualMachineParams) SetHypervisor

func (p *DeployVirtualMachineParams) SetHypervisor(v string)

func (*DeployVirtualMachineParams) SetIp6address

func (p *DeployVirtualMachineParams) SetIp6address(v string)

func (*DeployVirtualMachineParams) SetIpaddress

func (p *DeployVirtualMachineParams) SetIpaddress(v string)

func (*DeployVirtualMachineParams) SetIptonetworklist

func (p *DeployVirtualMachineParams) SetIptonetworklist(v map[string]string)

func (*DeployVirtualMachineParams) SetKeyboard

func (p *DeployVirtualMachineParams) SetKeyboard(v string)

func (*DeployVirtualMachineParams) SetKeypair

func (p *DeployVirtualMachineParams) SetKeypair(v string)

func (*DeployVirtualMachineParams) SetMacaddress

func (p *DeployVirtualMachineParams) SetMacaddress(v string)

func (*DeployVirtualMachineParams) SetName

func (p *DeployVirtualMachineParams) SetName(v string)

func (*DeployVirtualMachineParams) SetNetworkids

func (p *DeployVirtualMachineParams) SetNetworkids(v []string)

func (*DeployVirtualMachineParams) SetProjectid

func (p *DeployVirtualMachineParams) SetProjectid(v string)

func (*DeployVirtualMachineParams) SetRootdisksize

func (p *DeployVirtualMachineParams) SetRootdisksize(v int64)

func (*DeployVirtualMachineParams) SetSecuritygroupids

func (p *DeployVirtualMachineParams) SetSecuritygroupids(v []string)

func (*DeployVirtualMachineParams) SetSecuritygroupnames

func (p *DeployVirtualMachineParams) SetSecuritygroupnames(v []string)

func (*DeployVirtualMachineParams) SetServiceofferingid

func (p *DeployVirtualMachineParams) SetServiceofferingid(v string)

func (*DeployVirtualMachineParams) SetSize

func (p *DeployVirtualMachineParams) SetSize(v int64)

func (*DeployVirtualMachineParams) SetStartvm

func (p *DeployVirtualMachineParams) SetStartvm(v bool)

func (*DeployVirtualMachineParams) SetTemplateid

func (p *DeployVirtualMachineParams) SetTemplateid(v string)

func (*DeployVirtualMachineParams) SetUserdata

func (p *DeployVirtualMachineParams) SetUserdata(v string)

func (*DeployVirtualMachineParams) SetZoneid

func (p *DeployVirtualMachineParams) SetZoneid(v string)

type DeployVirtualMachineResponse

type DeployVirtualMachineResponse struct {
	Account               string                                      `json:"account"`
	Affinitygroup         []DeployVirtualMachineResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                                         `json:"cpunumber"`
	Cpuspeed              int                                         `json:"cpuspeed"`
	Cpuused               string                                      `json:"cpuused"`
	Created               string                                      `json:"created"`
	Details               map[string]string                           `json:"details"`
	Diskioread            int64                                       `json:"diskioread"`
	Diskiowrite           int64                                       `json:"diskiowrite"`
	Diskkbsread           int64                                       `json:"diskkbsread"`
	Diskkbswrite          int64                                       `json:"diskkbswrite"`
	Diskofferingid        string                                      `json:"diskofferingid"`
	Diskofferingname      string                                      `json:"diskofferingname"`
	Displayname           string                                      `json:"displayname"`
	Displayvm             bool                                        `json:"displayvm"`
	Domain                string                                      `json:"domain"`
	Domainid              string                                      `json:"domainid"`
	Forvirtualnetwork     bool                                        `json:"forvirtualnetwork"`
	Group                 string                                      `json:"group"`
	Groupid               string                                      `json:"groupid"`
	Guestosid             string                                      `json:"guestosid"`
	Haenable              bool                                        `json:"haenable"`
	Hostid                string                                      `json:"hostid"`
	Hostname              string                                      `json:"hostname"`
	Hypervisor            string                                      `json:"hypervisor"`
	Id                    string                                      `json:"id"`
	Instancename          string                                      `json:"instancename"`
	Isdynamicallyscalable bool                                        `json:"isdynamicallyscalable"`
	Isodisplaytext        string                                      `json:"isodisplaytext"`
	Isoid                 string                                      `json:"isoid"`
	Isoname               string                                      `json:"isoname"`
	JobID                 string                                      `json:"jobid"`
	Jobstatus             int                                         `json:"jobstatus"`
	Keypair               string                                      `json:"keypair"`
	Memory                int                                         `json:"memory"`
	Memoryintfreekbs      int64                                       `json:"memoryintfreekbs"`
	Memorykbs             int64                                       `json:"memorykbs"`
	Memorytargetkbs       int64                                       `json:"memorytargetkbs"`
	Name                  string                                      `json:"name"`
	Networkkbsread        int64                                       `json:"networkkbsread"`
	Networkkbswrite       int64                                       `json:"networkkbswrite"`
	Nic                   []Nic                                       `json:"nic"`
	Ostypeid              string                                      `json:"ostypeid"`
	Password              string                                      `json:"password"`
	Passwordenabled       bool                                        `json:"passwordenabled"`
	Project               string                                      `json:"project"`
	Projectid             string                                      `json:"projectid"`
	Publicip              string                                      `json:"publicip"`
	Publicipid            string                                      `json:"publicipid"`
	Rootdeviceid          int64                                       `json:"rootdeviceid"`
	Rootdevicetype        string                                      `json:"rootdevicetype"`
	Securitygroup         []DeployVirtualMachineResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                                      `json:"serviceofferingid"`
	Serviceofferingname   string                                      `json:"serviceofferingname"`
	Servicestate          string                                      `json:"servicestate"`
	State                 string                                      `json:"state"`
	Tags                  []Tags                                      `json:"tags"`
	Templatedisplaytext   string                                      `json:"templatedisplaytext"`
	Templateid            string                                      `json:"templateid"`
	Templatename          string                                      `json:"templatename"`
	Userid                string                                      `json:"userid"`
	Username              string                                      `json:"username"`
	Vgpu                  string                                      `json:"vgpu"`
	Zoneid                string                                      `json:"zoneid"`
	Zonename              string                                      `json:"zonename"`
}

func (*DeployVirtualMachineResponse) UnmarshalJSON

func (r *DeployVirtualMachineResponse) UnmarshalJSON(b []byte) error

type DeployVirtualMachineResponseAffinitygroup

type DeployVirtualMachineResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type DeployVirtualMachineResponseSecuritygroup

type DeployVirtualMachineResponseSecuritygroup struct {
	Account             string                                          `json:"account"`
	Description         string                                          `json:"description"`
	Domain              string                                          `json:"domain"`
	Domainid            string                                          `json:"domainid"`
	Egressrule          []DeployVirtualMachineResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                                          `json:"id"`
	Ingressrule         []DeployVirtualMachineResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                                          `json:"name"`
	Project             string                                          `json:"project"`
	Projectid           string                                          `json:"projectid"`
	Tags                []Tags                                          `json:"tags"`
	Virtualmachinecount int                                             `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                                   `json:"virtualmachineids"`
}

type DeployVirtualMachineResponseSecuritygroupRule

type DeployVirtualMachineResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type DeploymentPlanner

type DeploymentPlanner struct {
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
}

type DestroyRouterParams

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

func (*DestroyRouterParams) SetId

func (p *DestroyRouterParams) SetId(v string)

type DestroyRouterResponse

type DestroyRouterResponse struct {
	Account             string `json:"account"`
	Created             string `json:"created"`
	Dns1                string `json:"dns1"`
	Dns2                string `json:"dns2"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Gateway             string `json:"gateway"`
	Guestipaddress      string `json:"guestipaddress"`
	Guestmacaddress     string `json:"guestmacaddress"`
	Guestnetmask        string `json:"guestnetmask"`
	Guestnetworkid      string `json:"guestnetworkid"`
	Guestnetworkname    string `json:"guestnetworkname"`
	Hostid              string `json:"hostid"`
	Hostname            string `json:"hostname"`
	Hypervisor          string `json:"hypervisor"`
	Id                  string `json:"id"`
	Ip6dns1             string `json:"ip6dns1"`
	Ip6dns2             string `json:"ip6dns2"`
	Isredundantrouter   bool   `json:"isredundantrouter"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Linklocalip         string `json:"linklocalip"`
	Linklocalmacaddress string `json:"linklocalmacaddress"`
	Linklocalnetmask    string `json:"linklocalnetmask"`
	Linklocalnetworkid  string `json:"linklocalnetworkid"`
	Name                string `json:"name"`
	Networkdomain       string `json:"networkdomain"`
	Nic                 []Nic  `json:"nic"`
	Podid               string `json:"podid"`
	Project             string `json:"project"`
	Projectid           string `json:"projectid"`
	Publicip            string `json:"publicip"`
	Publicmacaddress    string `json:"publicmacaddress"`
	Publicnetmask       string `json:"publicnetmask"`
	Publicnetworkid     string `json:"publicnetworkid"`
	Redundantstate      string `json:"redundantstate"`
	Requiresupgrade     bool   `json:"requiresupgrade"`
	Role                string `json:"role"`
	Scriptsversion      string `json:"scriptsversion"`
	Serviceofferingid   string `json:"serviceofferingid"`
	Serviceofferingname string `json:"serviceofferingname"`
	State               string `json:"state"`
	Templateid          string `json:"templateid"`
	Version             string `json:"version"`
	Vpcid               string `json:"vpcid"`
	Vpcname             string `json:"vpcname"`
	Zoneid              string `json:"zoneid"`
	Zonename            string `json:"zonename"`
}

type DestroySystemVmParams

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

func (*DestroySystemVmParams) SetId

func (p *DestroySystemVmParams) SetId(v string)

type DestroySystemVmResponse

type DestroySystemVmResponse struct {
	Activeviewersessions int      `json:"activeviewersessions"`
	Created              string   `json:"created"`
	Dns1                 string   `json:"dns1"`
	Dns2                 string   `json:"dns2"`
	Gateway              string   `json:"gateway"`
	Guestvlan            string   `json:"guestvlan"`
	Hostid               string   `json:"hostid"`
	Hostname             string   `json:"hostname"`
	Hypervisor           string   `json:"hypervisor"`
	Id                   string   `json:"id"`
	JobID                string   `json:"jobid"`
	Jobstatus            int      `json:"jobstatus"`
	Linklocalip          string   `json:"linklocalip"`
	Linklocalmacaddress  string   `json:"linklocalmacaddress"`
	Linklocalnetmask     string   `json:"linklocalnetmask"`
	Name                 string   `json:"name"`
	Networkdomain        string   `json:"networkdomain"`
	Podid                string   `json:"podid"`
	Privateip            string   `json:"privateip"`
	Privatemacaddress    string   `json:"privatemacaddress"`
	Privatenetmask       string   `json:"privatenetmask"`
	Publicip             string   `json:"publicip"`
	Publicmacaddress     string   `json:"publicmacaddress"`
	Publicnetmask        string   `json:"publicnetmask"`
	Publicvlan           []string `json:"publicvlan"`
	State                string   `json:"state"`
	Systemvmtype         string   `json:"systemvmtype"`
	Templateid           string   `json:"templateid"`
	Zoneid               string   `json:"zoneid"`
	Zonename             string   `json:"zonename"`
}

type DestroyVirtualMachineParams

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

func (*DestroyVirtualMachineParams) SetExpunge

func (p *DestroyVirtualMachineParams) SetExpunge(v bool)

func (*DestroyVirtualMachineParams) SetId

func (p *DestroyVirtualMachineParams) SetId(v string)

func (*DestroyVirtualMachineParams) SetVolumeids

func (p *DestroyVirtualMachineParams) SetVolumeids(v []string)

type DestroyVirtualMachineResponse

type DestroyVirtualMachineResponse struct {
	Account               string                                       `json:"account"`
	Affinitygroup         []DestroyVirtualMachineResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                                          `json:"cpunumber"`
	Cpuspeed              int                                          `json:"cpuspeed"`
	Cpuused               string                                       `json:"cpuused"`
	Created               string                                       `json:"created"`
	Details               map[string]string                            `json:"details"`
	Diskioread            int64                                        `json:"diskioread"`
	Diskiowrite           int64                                        `json:"diskiowrite"`
	Diskkbsread           int64                                        `json:"diskkbsread"`
	Diskkbswrite          int64                                        `json:"diskkbswrite"`
	Diskofferingid        string                                       `json:"diskofferingid"`
	Diskofferingname      string                                       `json:"diskofferingname"`
	Displayname           string                                       `json:"displayname"`
	Displayvm             bool                                         `json:"displayvm"`
	Domain                string                                       `json:"domain"`
	Domainid              string                                       `json:"domainid"`
	Forvirtualnetwork     bool                                         `json:"forvirtualnetwork"`
	Group                 string                                       `json:"group"`
	Groupid               string                                       `json:"groupid"`
	Guestosid             string                                       `json:"guestosid"`
	Haenable              bool                                         `json:"haenable"`
	Hostid                string                                       `json:"hostid"`
	Hostname              string                                       `json:"hostname"`
	Hypervisor            string                                       `json:"hypervisor"`
	Id                    string                                       `json:"id"`
	Instancename          string                                       `json:"instancename"`
	Isdynamicallyscalable bool                                         `json:"isdynamicallyscalable"`
	Isodisplaytext        string                                       `json:"isodisplaytext"`
	Isoid                 string                                       `json:"isoid"`
	Isoname               string                                       `json:"isoname"`
	JobID                 string                                       `json:"jobid"`
	Jobstatus             int                                          `json:"jobstatus"`
	Keypair               string                                       `json:"keypair"`
	Memory                int                                          `json:"memory"`
	Memoryintfreekbs      int64                                        `json:"memoryintfreekbs"`
	Memorykbs             int64                                        `json:"memorykbs"`
	Memorytargetkbs       int64                                        `json:"memorytargetkbs"`
	Name                  string                                       `json:"name"`
	Networkkbsread        int64                                        `json:"networkkbsread"`
	Networkkbswrite       int64                                        `json:"networkkbswrite"`
	Nic                   []Nic                                        `json:"nic"`
	Ostypeid              string                                       `json:"ostypeid"`
	Password              string                                       `json:"password"`
	Passwordenabled       bool                                         `json:"passwordenabled"`
	Project               string                                       `json:"project"`
	Projectid             string                                       `json:"projectid"`
	Publicip              string                                       `json:"publicip"`
	Publicipid            string                                       `json:"publicipid"`
	Rootdeviceid          int64                                        `json:"rootdeviceid"`
	Rootdevicetype        string                                       `json:"rootdevicetype"`
	Securitygroup         []DestroyVirtualMachineResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                                       `json:"serviceofferingid"`
	Serviceofferingname   string                                       `json:"serviceofferingname"`
	Servicestate          string                                       `json:"servicestate"`
	State                 string                                       `json:"state"`
	Tags                  []Tags                                       `json:"tags"`
	Templatedisplaytext   string                                       `json:"templatedisplaytext"`
	Templateid            string                                       `json:"templateid"`
	Templatename          string                                       `json:"templatename"`
	Userid                string                                       `json:"userid"`
	Username              string                                       `json:"username"`
	Vgpu                  string                                       `json:"vgpu"`
	Zoneid                string                                       `json:"zoneid"`
	Zonename              string                                       `json:"zonename"`
}

func (*DestroyVirtualMachineResponse) UnmarshalJSON

func (r *DestroyVirtualMachineResponse) UnmarshalJSON(b []byte) error

type DestroyVirtualMachineResponseAffinitygroup

type DestroyVirtualMachineResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type DestroyVirtualMachineResponseSecuritygroup

type DestroyVirtualMachineResponseSecuritygroup struct {
	Account             string                                           `json:"account"`
	Description         string                                           `json:"description"`
	Domain              string                                           `json:"domain"`
	Domainid            string                                           `json:"domainid"`
	Egressrule          []DestroyVirtualMachineResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                                           `json:"id"`
	Ingressrule         []DestroyVirtualMachineResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                                           `json:"name"`
	Project             string                                           `json:"project"`
	Projectid           string                                           `json:"projectid"`
	Tags                []Tags                                           `json:"tags"`
	Virtualmachinecount int                                              `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                                    `json:"virtualmachineids"`
}

type DestroyVirtualMachineResponseSecuritygroupRule

type DestroyVirtualMachineResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type DetachIsoParams

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

func (*DetachIsoParams) SetVirtualmachineid

func (p *DetachIsoParams) SetVirtualmachineid(v string)

type DetachIsoResponse

type DetachIsoResponse struct {
	Account               string                           `json:"account"`
	Affinitygroup         []DetachIsoResponseAffinitygroup `json:"affinitygroup"`
	Cpunumber             int                              `json:"cpunumber"`
	Cpuspeed              int                              `json:"cpuspeed"`
	Cpuused               string                           `json:"cpuused"`
	Created               string                           `json:"created"`
	Details               map[string]string                `json:"details"`
	Diskioread            int64                            `json:"diskioread"`
	Diskiowrite           int64                            `json:"diskiowrite"`
	Diskkbsread           int64                            `json:"diskkbsread"`
	Diskkbswrite          int64                            `json:"diskkbswrite"`
	Diskofferingid        string                           `json:"diskofferingid"`
	Diskofferingname      string                           `json:"diskofferingname"`
	Displayname           string                           `json:"displayname"`
	Displayvm             bool                             `json:"displayvm"`
	Domain                string                           `json:"domain"`
	Domainid              string                           `json:"domainid"`
	Forvirtualnetwork     bool                             `json:"forvirtualnetwork"`
	Group                 string                           `json:"group"`
	Groupid               string                           `json:"groupid"`
	Guestosid             string                           `json:"guestosid"`
	Haenable              bool                             `json:"haenable"`
	Hostid                string                           `json:"hostid"`
	Hostname              string                           `json:"hostname"`
	Hypervisor            string                           `json:"hypervisor"`
	Id                    string                           `json:"id"`
	Instancename          string                           `json:"instancename"`
	Isdynamicallyscalable bool                             `json:"isdynamicallyscalable"`
	Isodisplaytext        string                           `json:"isodisplaytext"`
	Isoid                 string                           `json:"isoid"`
	Isoname               string                           `json:"isoname"`
	JobID                 string                           `json:"jobid"`
	Jobstatus             int                              `json:"jobstatus"`
	Keypair               string                           `json:"keypair"`
	Memory                int                              `json:"memory"`
	Memoryintfreekbs      int64                            `json:"memoryintfreekbs"`
	Memorykbs             int64                            `json:"memorykbs"`
	Memorytargetkbs       int64                            `json:"memorytargetkbs"`
	Name                  string                           `json:"name"`
	Networkkbsread        int64                            `json:"networkkbsread"`
	Networkkbswrite       int64                            `json:"networkkbswrite"`
	Nic                   []Nic                            `json:"nic"`
	Ostypeid              string                           `json:"ostypeid"`
	Password              string                           `json:"password"`
	Passwordenabled       bool                             `json:"passwordenabled"`
	Project               string                           `json:"project"`
	Projectid             string                           `json:"projectid"`
	Publicip              string                           `json:"publicip"`
	Publicipid            string                           `json:"publicipid"`
	Rootdeviceid          int64                            `json:"rootdeviceid"`
	Rootdevicetype        string                           `json:"rootdevicetype"`
	Securitygroup         []DetachIsoResponseSecuritygroup `json:"securitygroup"`
	Serviceofferingid     string                           `json:"serviceofferingid"`
	Serviceofferingname   string                           `json:"serviceofferingname"`
	Servicestate          string                           `json:"servicestate"`
	State                 string                           `json:"state"`
	Tags                  []Tags                           `json:"tags"`
	Templatedisplaytext   string                           `json:"templatedisplaytext"`
	Templateid            string                           `json:"templateid"`
	Templatename          string                           `json:"templatename"`
	Userid                string                           `json:"userid"`
	Username              string                           `json:"username"`
	Vgpu                  string                           `json:"vgpu"`
	Zoneid                string                           `json:"zoneid"`
	Zonename              string                           `json:"zonename"`
}

func (*DetachIsoResponse) UnmarshalJSON

func (r *DetachIsoResponse) UnmarshalJSON(b []byte) error

type DetachIsoResponseAffinitygroup

type DetachIsoResponseAffinitygroup struct {
	Account           string   `json:"account"`
	Description       string   `json:"description"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Type              string   `json:"type"`
	VirtualmachineIds []string `json:"virtualmachineIds"`
}

type DetachIsoResponseSecuritygroup

type DetachIsoResponseSecuritygroup struct {
	Account             string                               `json:"account"`
	Description         string                               `json:"description"`
	Domain              string                               `json:"domain"`
	Domainid            string                               `json:"domainid"`
	Egressrule          []DetachIsoResponseSecuritygroupRule `json:"egressrule"`
	Id                  string                               `json:"id"`
	Ingressrule         []DetachIsoResponseSecuritygroupRule `json:"ingressrule"`
	Name                string                               `json:"name"`
	Project             string                               `json:"project"`
	Projectid           string                               `json:"projectid"`
	Tags                []Tags                               `json:"tags"`
	Virtualmachinecount int                                  `json:"virtualmachinecount"`
	Virtualmachineids   []interface{}                        `json:"virtualmachineids"`
}

type DetachIsoResponseSecuritygroupRule

type DetachIsoResponseSecuritygroupRule struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

type DetachVolumeParams

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

func (*DetachVolumeParams) SetDeviceid

func (p *DetachVolumeParams) SetDeviceid(v int64)

func (*DetachVolumeParams) SetId

func (p *DetachVolumeParams) SetId(v string)

func (*DetachVolumeParams) SetVirtualmachineid

func (p *DetachVolumeParams) SetVirtualmachineid(v string)

type DetachVolumeResponse

type DetachVolumeResponse struct {
	Account                    string `json:"account"`
	Attached                   string `json:"attached"`
	Chaininfo                  string `json:"chaininfo"`
	Clusterid                  string `json:"clusterid"`
	Clustername                string `json:"clustername"`
	Created                    string `json:"created"`
	Destroyed                  bool   `json:"destroyed"`
	Deviceid                   int64  `json:"deviceid"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext"`
	Diskofferingid             string `json:"diskofferingid"`
	Diskofferingname           string `json:"diskofferingname"`
	Displayvolume              bool   `json:"displayvolume"`
	Domain                     string `json:"domain"`
	Domainid                   string `json:"domainid"`
	Hypervisor                 string `json:"hypervisor"`
	Id                         string `json:"id"`
	Isextractable              bool   `json:"isextractable"`
	Isodisplaytext             string `json:"isodisplaytext"`
	Isoid                      string `json:"isoid"`
	Isoname                    string `json:"isoname"`
	JobID                      string `json:"jobid"`
	Jobstatus                  int    `json:"jobstatus"`
	Maxiops                    int64  `json:"maxiops"`
	Miniops                    int64  `json:"miniops"`
	Name                       string `json:"name"`
	Path                       string `json:"path"`
	Physicalsize               int64  `json:"physicalsize"`
	Podid                      string `json:"podid"`
	Podname                    string `json:"podname"`
	Project                    string `json:"project"`
	Projectid                  string `json:"projectid"`
	Provisioningtype           string `json:"provisioningtype"`
	Quiescevm                  bool   `json:"quiescevm"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext"`
	Serviceofferingid          string `json:"serviceofferingid"`
	Serviceofferingname        string `json:"serviceofferingname"`
	Size                       int64  `json:"size"`
	Snapshotid                 string `json:"snapshotid"`
	State                      string `json:"state"`
	Status                     string `json:"status"`
	Storage                    string `json:"storage"`
	Storageid                  string `json:"storageid"`
	Storagetype                string `json:"storagetype"`
	Tags                       []Tags `json:"tags"`
	Templatedisplaytext        string `json:"templatedisplaytext"`
	Templateid                 string `json:"templateid"`
	Templatename               string `json:"templatename"`
	Type                       string `json:"type"`
	Utilization                string `json:"utilization"`
	Virtualmachineid           string `json:"virtualmachineid"`
	Virtualsize                int64  `json:"virtualsize"`
	Vmdisplayname              string `json:"vmdisplayname"`
	Vmname                     string `json:"vmname"`
	Vmstate                    string `json:"vmstate"`
	Zoneid                     string `json:"zoneid"`
	Zonename                   string `json:"zonename"`
}

type DisableAccountParams

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

func (*DisableAccountParams) SetAccount

func (p *DisableAccountParams) SetAccount(v string)

func (*DisableAccountParams) SetDomainid

func (p *DisableAccountParams) SetDomainid(v string)

func (*DisableAccountParams) SetId

func (p *DisableAccountParams) SetId(v string)

func (*DisableAccountParams) SetLock

func (p *DisableAccountParams) SetLock(v bool)

type DisableAccountResponse

type DisableAccountResponse struct {
	Accountdetails            map[string]string            `json:"accountdetails"`
	Accounttype               int                          `json:"accounttype"`
	Cpuavailable              string                       `json:"cpuavailable"`
	Cpulimit                  string                       `json:"cpulimit"`
	Cputotal                  int64                        `json:"cputotal"`
	Defaultzoneid             string                       `json:"defaultzoneid"`
	Domain                    string                       `json:"domain"`
	Domainid                  string                       `json:"domainid"`
	Groups                    []string                     `json:"groups"`
	Id                        string                       `json:"id"`
	Ipavailable               string                       `json:"ipavailable"`
	Iplimit                   string                       `json:"iplimit"`
	Iptotal                   int64                        `json:"iptotal"`
	Iscleanuprequired         bool                         `json:"iscleanuprequired"`
	Isdefault                 bool                         `json:"isdefault"`
	JobID                     string                       `json:"jobid"`
	Jobstatus                 int                          `json:"jobstatus"`
	Memoryavailable           string                       `json:"memoryavailable"`
	Memorylimit               string                       `json:"memorylimit"`
	Memorytotal               int64                        `json:"memorytotal"`
	Name                      string                       `json:"name"`
	Networkavailable          string                       `json:"networkavailable"`
	Networkdomain             string                       `json:"networkdomain"`
	Networklimit              string                       `json:"networklimit"`
	Networktotal              int64                        `json:"networktotal"`
	Primarystorageavailable   string                       `json:"primarystorageavailable"`
	Primarystoragelimit       string                       `json:"primarystoragelimit"`
	Primarystoragetotal       int64                        `json:"primarystoragetotal"`
	Projectavailable          string                       `json:"projectavailable"`
	Projectlimit              string                       `json:"projectlimit"`
	Projecttotal              int64                        `json:"projecttotal"`
	Receivedbytes             int64                        `json:"receivedbytes"`
	Roleid                    string                       `json:"roleid"`
	Rolename                  string                       `json:"rolename"`
	Roletype                  string                       `json:"roletype"`
	Secondarystorageavailable string                       `json:"secondarystorageavailable"`
	Secondarystoragelimit     string                       `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64                      `json:"secondarystoragetotal"`
	Sentbytes                 int64                        `json:"sentbytes"`
	Snapshotavailable         string                       `json:"snapshotavailable"`
	Snapshotlimit             string                       `json:"snapshotlimit"`
	Snapshottotal             int64                        `json:"snapshottotal"`
	State                     string                       `json:"state"`
	Templateavailable         string                       `json:"templateavailable"`
	Templatelimit             string                       `json:"templatelimit"`
	Templatetotal             int64                        `json:"templatetotal"`
	User                      []DisableAccountResponseUser `json:"user"`
	Vmavailable               string                       `json:"vmavailable"`
	Vmlimit                   string                       `json:"vmlimit"`
	Vmrunning                 int                          `json:"vmrunning"`
	Vmstopped                 int                          `json:"vmstopped"`
	Vmtotal                   int64                        `json:"vmtotal"`
	Volumeavailable           string                       `json:"volumeavailable"`
	Volumelimit               string                       `json:"volumelimit"`
	Volumetotal               int64                        `json:"volumetotal"`
	Vpcavailable              string                       `json:"vpcavailable"`
	Vpclimit                  string                       `json:"vpclimit"`
	Vpctotal                  int64                        `json:"vpctotal"`
}

type DisableAccountResponseUser

type DisableAccountResponseUser struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type DisableAutoScaleVmGroupParams

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

func (*DisableAutoScaleVmGroupParams) SetId

type DisableAutoScaleVmGroupResponse

type DisableAutoScaleVmGroupResponse struct {
	Account           string   `json:"account"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Fordisplay        bool     `json:"fordisplay"`
	Id                string   `json:"id"`
	Interval          int      `json:"interval"`
	JobID             string   `json:"jobid"`
	Jobstatus         int      `json:"jobstatus"`
	Lbruleid          string   `json:"lbruleid"`
	Maxmembers        int      `json:"maxmembers"`
	Minmembers        int      `json:"minmembers"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Scaledownpolicies []string `json:"scaledownpolicies"`
	Scaleuppolicies   []string `json:"scaleuppolicies"`
	State             string   `json:"state"`
	Vmprofileid       string   `json:"vmprofileid"`
}

type DisableOutOfBandManagementForClusterParams

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

func (*DisableOutOfBandManagementForClusterParams) SetClusterid

type DisableOutOfBandManagementForClusterResponse

type DisableOutOfBandManagementForClusterResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type DisableOutOfBandManagementForHostParams

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

func (*DisableOutOfBandManagementForHostParams) SetHostid

type DisableOutOfBandManagementForHostResponse

type DisableOutOfBandManagementForHostResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type DisableOutOfBandManagementForZoneParams

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

func (*DisableOutOfBandManagementForZoneParams) SetZoneid

type DisableOutOfBandManagementForZoneResponse

type DisableOutOfBandManagementForZoneResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type DisableStaticNatParams

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

func (*DisableStaticNatParams) SetIpaddressid

func (p *DisableStaticNatParams) SetIpaddressid(v string)

type DisableStaticNatResponse

type DisableStaticNatResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DisableUserParams

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

func (*DisableUserParams) SetId

func (p *DisableUserParams) SetId(v string)

type DisableUserResponse

type DisableUserResponse struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type DisassociateIpAddressParams

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

func (*DisassociateIpAddressParams) SetId

func (p *DisassociateIpAddressParams) SetId(v string)

type DisassociateIpAddressResponse

type DisassociateIpAddressResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type DiskOffering

type DiskOffering struct {
	CacheMode                   string `json:"cacheMode"`
	Created                     string `json:"created"`
	DiskBytesReadRate           int64  `json:"diskBytesReadRate"`
	DiskBytesReadRateMax        int64  `json:"diskBytesReadRateMax"`
	DiskBytesReadRateMaxLength  int64  `json:"diskBytesReadRateMaxLength"`
	DiskBytesWriteRate          int64  `json:"diskBytesWriteRate"`
	DiskBytesWriteRateMax       int64  `json:"diskBytesWriteRateMax"`
	DiskBytesWriteRateMaxLength int64  `json:"diskBytesWriteRateMaxLength"`
	DiskIopsReadRate            int64  `json:"diskIopsReadRate"`
	DiskIopsReadRateMax         int64  `json:"diskIopsReadRateMax"`
	DiskIopsReadRateMaxLength   int64  `json:"diskIopsReadRateMaxLength"`
	DiskIopsWriteRate           int64  `json:"diskIopsWriteRate"`
	DiskIopsWriteRateMax        int64  `json:"diskIopsWriteRateMax"`
	DiskIopsWriteRateMaxLength  int64  `json:"diskIopsWriteRateMaxLength"`
	Disksize                    int64  `json:"disksize"`
	Displayoffering             bool   `json:"displayoffering"`
	Displaytext                 string `json:"displaytext"`
	Domain                      string `json:"domain"`
	Domainid                    string `json:"domainid"`
	Hypervisorsnapshotreserve   int    `json:"hypervisorsnapshotreserve"`
	Id                          string `json:"id"`
	Iscustomized                bool   `json:"iscustomized"`
	Iscustomizediops            bool   `json:"iscustomizediops"`
	JobID                       string `json:"jobid"`
	Jobstatus                   int    `json:"jobstatus"`
	Maxiops                     int64  `json:"maxiops"`
	Miniops                     int64  `json:"miniops"`
	Name                        string `json:"name"`
	Provisioningtype            string `json:"provisioningtype"`
	Storagetype                 string `json:"storagetype"`
	Tags                        string `json:"tags"`
}

type DiskOfferingService

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

func NewDiskOfferingService

func NewDiskOfferingService(cs *CloudStackClient) *DiskOfferingService

func (*DiskOfferingService) CreateDiskOffering

Creates a disk offering.

func (*DiskOfferingService) DeleteDiskOffering

Updates a disk offering.

func (*DiskOfferingService) GetDiskOfferingByID

func (s *DiskOfferingService) GetDiskOfferingByID(id string, opts ...OptionFunc) (*DiskOffering, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DiskOfferingService) GetDiskOfferingByName

func (s *DiskOfferingService) GetDiskOfferingByName(name string, opts ...OptionFunc) (*DiskOffering, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DiskOfferingService) GetDiskOfferingID

func (s *DiskOfferingService) GetDiskOfferingID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DiskOfferingService) ListDiskOfferings

Lists all available disk offerings.

func (*DiskOfferingService) NewCreateDiskOfferingParams

func (s *DiskOfferingService) NewCreateDiskOfferingParams(displaytext string, name string) *CreateDiskOfferingParams

You should always use this function to get a new CreateDiskOfferingParams instance, as then you are sure you have configured all required params

func (*DiskOfferingService) NewDeleteDiskOfferingParams

func (s *DiskOfferingService) NewDeleteDiskOfferingParams(id string) *DeleteDiskOfferingParams

You should always use this function to get a new DeleteDiskOfferingParams instance, as then you are sure you have configured all required params

func (*DiskOfferingService) NewListDiskOfferingsParams

func (s *DiskOfferingService) NewListDiskOfferingsParams() *ListDiskOfferingsParams

You should always use this function to get a new ListDiskOfferingsParams instance, as then you are sure you have configured all required params

func (*DiskOfferingService) NewUpdateDiskOfferingParams

func (s *DiskOfferingService) NewUpdateDiskOfferingParams(id string) *UpdateDiskOfferingParams

You should always use this function to get a new UpdateDiskOfferingParams instance, as then you are sure you have configured all required params

func (*DiskOfferingService) UpdateDiskOffering

Updates a disk offering.

type Domain

type Domain struct {
	Cpuavailable              string  `json:"cpuavailable"`
	Cpulimit                  string  `json:"cpulimit"`
	Cputotal                  int64   `json:"cputotal"`
	Haschild                  bool    `json:"haschild"`
	Id                        string  `json:"id"`
	Ipavailable               string  `json:"ipavailable"`
	Iplimit                   string  `json:"iplimit"`
	Iptotal                   int64   `json:"iptotal"`
	JobID                     string  `json:"jobid"`
	Jobstatus                 int     `json:"jobstatus"`
	Level                     int     `json:"level"`
	Memoryavailable           string  `json:"memoryavailable"`
	Memorylimit               string  `json:"memorylimit"`
	Memorytotal               int64   `json:"memorytotal"`
	Name                      string  `json:"name"`
	Networkavailable          string  `json:"networkavailable"`
	Networkdomain             string  `json:"networkdomain"`
	Networklimit              string  `json:"networklimit"`
	Networktotal              int64   `json:"networktotal"`
	Parentdomainid            string  `json:"parentdomainid"`
	Parentdomainname          string  `json:"parentdomainname"`
	Path                      string  `json:"path"`
	Primarystorageavailable   string  `json:"primarystorageavailable"`
	Primarystoragelimit       string  `json:"primarystoragelimit"`
	Primarystoragetotal       int64   `json:"primarystoragetotal"`
	Projectavailable          string  `json:"projectavailable"`
	Projectlimit              string  `json:"projectlimit"`
	Projecttotal              int64   `json:"projecttotal"`
	Secondarystorageavailable string  `json:"secondarystorageavailable"`
	Secondarystoragelimit     string  `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64 `json:"secondarystoragetotal"`
	Snapshotavailable         string  `json:"snapshotavailable"`
	Snapshotlimit             string  `json:"snapshotlimit"`
	Snapshottotal             int64   `json:"snapshottotal"`
	State                     string  `json:"state"`
	Templateavailable         string  `json:"templateavailable"`
	Templatelimit             string  `json:"templatelimit"`
	Templatetotal             int64   `json:"templatetotal"`
	Vmavailable               string  `json:"vmavailable"`
	Vmlimit                   string  `json:"vmlimit"`
	Vmtotal                   int64   `json:"vmtotal"`
	Volumeavailable           string  `json:"volumeavailable"`
	Volumelimit               string  `json:"volumelimit"`
	Volumetotal               int64   `json:"volumetotal"`
	Vpcavailable              string  `json:"vpcavailable"`
	Vpclimit                  string  `json:"vpclimit"`
	Vpctotal                  int64   `json:"vpctotal"`
}

type DomainChildren

type DomainChildren struct {
	Cpuavailable              string  `json:"cpuavailable"`
	Cpulimit                  string  `json:"cpulimit"`
	Cputotal                  int64   `json:"cputotal"`
	Haschild                  bool    `json:"haschild"`
	Id                        string  `json:"id"`
	Ipavailable               string  `json:"ipavailable"`
	Iplimit                   string  `json:"iplimit"`
	Iptotal                   int64   `json:"iptotal"`
	JobID                     string  `json:"jobid"`
	Jobstatus                 int     `json:"jobstatus"`
	Level                     int     `json:"level"`
	Memoryavailable           string  `json:"memoryavailable"`
	Memorylimit               string  `json:"memorylimit"`
	Memorytotal               int64   `json:"memorytotal"`
	Name                      string  `json:"name"`
	Networkavailable          string  `json:"networkavailable"`
	Networkdomain             string  `json:"networkdomain"`
	Networklimit              string  `json:"networklimit"`
	Networktotal              int64   `json:"networktotal"`
	Parentdomainid            string  `json:"parentdomainid"`
	Parentdomainname          string  `json:"parentdomainname"`
	Path                      string  `json:"path"`
	Primarystorageavailable   string  `json:"primarystorageavailable"`
	Primarystoragelimit       string  `json:"primarystoragelimit"`
	Primarystoragetotal       int64   `json:"primarystoragetotal"`
	Projectavailable          string  `json:"projectavailable"`
	Projectlimit              string  `json:"projectlimit"`
	Projecttotal              int64   `json:"projecttotal"`
	Secondarystorageavailable string  `json:"secondarystorageavailable"`
	Secondarystoragelimit     string  `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64 `json:"secondarystoragetotal"`
	Snapshotavailable         string  `json:"snapshotavailable"`
	Snapshotlimit             string  `json:"snapshotlimit"`
	Snapshottotal             int64   `json:"snapshottotal"`
	State                     string  `json:"state"`
	Templateavailable         string  `json:"templateavailable"`
	Templatelimit             string  `json:"templatelimit"`
	Templatetotal             int64   `json:"templatetotal"`
	Vmavailable               string  `json:"vmavailable"`
	Vmlimit                   string  `json:"vmlimit"`
	Vmtotal                   int64   `json:"vmtotal"`
	Volumeavailable           string  `json:"volumeavailable"`
	Volumelimit               string  `json:"volumelimit"`
	Volumetotal               int64   `json:"volumetotal"`
	Vpcavailable              string  `json:"vpcavailable"`
	Vpclimit                  string  `json:"vpclimit"`
	Vpctotal                  int64   `json:"vpctotal"`
}

type DomainIDSetter

type DomainIDSetter interface {
	SetDomainid(string)
}

DomainIDSetter is an interface that every type that can set a domain ID must implement

type DomainService

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

func NewDomainService

func NewDomainService(cs *CloudStackClient) *DomainService

func (*DomainService) CreateDomain

Creates a domain

func (*DomainService) DeleteDomain

Deletes a specified domain

func (*DomainService) GetDomainByID

func (s *DomainService) GetDomainByID(id string, opts ...OptionFunc) (*Domain, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DomainService) GetDomainByName

func (s *DomainService) GetDomainByName(name string, opts ...OptionFunc) (*Domain, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DomainService) GetDomainChildrenByID

func (s *DomainService) GetDomainChildrenByID(id string, opts ...OptionFunc) (*DomainChildren, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DomainService) GetDomainChildrenByName

func (s *DomainService) GetDomainChildrenByName(name string, opts ...OptionFunc) (*DomainChildren, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DomainService) GetDomainChildrenID

func (s *DomainService) GetDomainChildrenID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DomainService) GetDomainID

func (s *DomainService) GetDomainID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*DomainService) ListDomainChildren

Lists all children domains belonging to a specified domain

func (*DomainService) ListDomains

Lists domains and provides detailed information for listed domains

func (*DomainService) NewCreateDomainParams

func (s *DomainService) NewCreateDomainParams(name string) *CreateDomainParams

You should always use this function to get a new CreateDomainParams instance, as then you are sure you have configured all required params

func (*DomainService) NewDeleteDomainParams

func (s *DomainService) NewDeleteDomainParams(id string) *DeleteDomainParams

You should always use this function to get a new DeleteDomainParams instance, as then you are sure you have configured all required params

func (*DomainService) NewListDomainChildrenParams

func (s *DomainService) NewListDomainChildrenParams() *ListDomainChildrenParams

You should always use this function to get a new ListDomainChildrenParams instance, as then you are sure you have configured all required params

func (*DomainService) NewListDomainsParams

func (s *DomainService) NewListDomainsParams() *ListDomainsParams

You should always use this function to get a new ListDomainsParams instance, as then you are sure you have configured all required params

func (*DomainService) NewUpdateDomainParams

func (s *DomainService) NewUpdateDomainParams(id string) *UpdateDomainParams

You should always use this function to get a new UpdateDomainParams instance, as then you are sure you have configured all required params

func (*DomainService) UpdateDomain

Updates a domain with a new name

type EgressFirewallRule

type EgressFirewallRule struct {
	Cidrlist     string `json:"cidrlist"`
	Destcidrlist string `json:"destcidrlist"`
	Endport      int    `json:"endport"`
	Fordisplay   bool   `json:"fordisplay"`
	Icmpcode     int    `json:"icmpcode"`
	Icmptype     int    `json:"icmptype"`
	Id           string `json:"id"`
	Ipaddress    string `json:"ipaddress"`
	Ipaddressid  string `json:"ipaddressid"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Networkid    string `json:"networkid"`
	Protocol     string `json:"protocol"`
	Startport    int    `json:"startport"`
	State        string `json:"state"`
	Tags         []Tags `json:"tags"`
}

type EnableAccountParams

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

func (*EnableAccountParams) SetAccount

func (p *EnableAccountParams) SetAccount(v string)

func (*EnableAccountParams) SetDomainid

func (p *EnableAccountParams) SetDomainid(v string)

func (*EnableAccountParams) SetId

func (p *EnableAccountParams) SetId(v string)

type EnableAccountResponse

type EnableAccountResponse struct {
	Accountdetails            map[string]string           `json:"accountdetails"`
	Accounttype               int                         `json:"accounttype"`
	Cpuavailable              string                      `json:"cpuavailable"`
	Cpulimit                  string                      `json:"cpulimit"`
	Cputotal                  int64                       `json:"cputotal"`
	Defaultzoneid             string                      `json:"defaultzoneid"`
	Domain                    string                      `json:"domain"`
	Domainid                  string                      `json:"domainid"`
	Groups                    []string                    `json:"groups"`
	Id                        string                      `json:"id"`
	Ipavailable               string                      `json:"ipavailable"`
	Iplimit                   string                      `json:"iplimit"`
	Iptotal                   int64                       `json:"iptotal"`
	Iscleanuprequired         bool                        `json:"iscleanuprequired"`
	Isdefault                 bool                        `json:"isdefault"`
	JobID                     string                      `json:"jobid"`
	Jobstatus                 int                         `json:"jobstatus"`
	Memoryavailable           string                      `json:"memoryavailable"`
	Memorylimit               string                      `json:"memorylimit"`
	Memorytotal               int64                       `json:"memorytotal"`
	Name                      string                      `json:"name"`
	Networkavailable          string                      `json:"networkavailable"`
	Networkdomain             string                      `json:"networkdomain"`
	Networklimit              string                      `json:"networklimit"`
	Networktotal              int64                       `json:"networktotal"`
	Primarystorageavailable   string                      `json:"primarystorageavailable"`
	Primarystoragelimit       string                      `json:"primarystoragelimit"`
	Primarystoragetotal       int64                       `json:"primarystoragetotal"`
	Projectavailable          string                      `json:"projectavailable"`
	Projectlimit              string                      `json:"projectlimit"`
	Projecttotal              int64                       `json:"projecttotal"`
	Receivedbytes             int64                       `json:"receivedbytes"`
	Roleid                    string                      `json:"roleid"`
	Rolename                  string                      `json:"rolename"`
	Roletype                  string                      `json:"roletype"`
	Secondarystorageavailable string                      `json:"secondarystorageavailable"`
	Secondarystoragelimit     string                      `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64                     `json:"secondarystoragetotal"`
	Sentbytes                 int64                       `json:"sentbytes"`
	Snapshotavailable         string                      `json:"snapshotavailable"`
	Snapshotlimit             string                      `json:"snapshotlimit"`
	Snapshottotal             int64                       `json:"snapshottotal"`
	State                     string                      `json:"state"`
	Templateavailable         string                      `json:"templateavailable"`
	Templatelimit             string                      `json:"templatelimit"`
	Templatetotal             int64                       `json:"templatetotal"`
	User                      []EnableAccountResponseUser `json:"user"`
	Vmavailable               string                      `json:"vmavailable"`
	Vmlimit                   string                      `json:"vmlimit"`
	Vmrunning                 int                         `json:"vmrunning"`
	Vmstopped                 int                         `json:"vmstopped"`
	Vmtotal                   int64                       `json:"vmtotal"`
	Volumeavailable           string                      `json:"volumeavailable"`
	Volumelimit               string                      `json:"volumelimit"`
	Volumetotal               int64                       `json:"volumetotal"`
	Vpcavailable              string                      `json:"vpcavailable"`
	Vpclimit                  string                      `json:"vpclimit"`
	Vpctotal                  int64                       `json:"vpctotal"`
}

type EnableAccountResponseUser

type EnableAccountResponseUser struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type EnableAutoScaleVmGroupParams

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

func (*EnableAutoScaleVmGroupParams) SetId

type EnableAutoScaleVmGroupResponse

type EnableAutoScaleVmGroupResponse struct {
	Account           string   `json:"account"`
	Domain            string   `json:"domain"`
	Domainid          string   `json:"domainid"`
	Fordisplay        bool     `json:"fordisplay"`
	Id                string   `json:"id"`
	Interval          int      `json:"interval"`
	JobID             string   `json:"jobid"`
	Jobstatus         int      `json:"jobstatus"`
	Lbruleid          string   `json:"lbruleid"`
	Maxmembers        int      `json:"maxmembers"`
	Minmembers        int      `json:"minmembers"`
	Project           string   `json:"project"`
	Projectid         string   `json:"projectid"`
	Scaledownpolicies []string `json:"scaledownpolicies"`
	Scaleuppolicies   []string `json:"scaleuppolicies"`
	State             string   `json:"state"`
	Vmprofileid       string   `json:"vmprofileid"`
}

type EnableOutOfBandManagementForClusterParams

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

func (*EnableOutOfBandManagementForClusterParams) SetClusterid

type EnableOutOfBandManagementForClusterResponse

type EnableOutOfBandManagementForClusterResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type EnableOutOfBandManagementForHostParams

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

func (*EnableOutOfBandManagementForHostParams) SetHostid

type EnableOutOfBandManagementForHostResponse

type EnableOutOfBandManagementForHostResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type EnableOutOfBandManagementForZoneParams

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

func (*EnableOutOfBandManagementForZoneParams) SetZoneid

type EnableOutOfBandManagementForZoneResponse

type EnableOutOfBandManagementForZoneResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type EnableStaticNatParams

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

func (*EnableStaticNatParams) SetIpaddressid

func (p *EnableStaticNatParams) SetIpaddressid(v string)

func (*EnableStaticNatParams) SetNetworkid

func (p *EnableStaticNatParams) SetNetworkid(v string)

func (*EnableStaticNatParams) SetVirtualmachineid

func (p *EnableStaticNatParams) SetVirtualmachineid(v string)

func (*EnableStaticNatParams) SetVmguestip

func (p *EnableStaticNatParams) SetVmguestip(v string)

type EnableStaticNatResponse

type EnableStaticNatResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*EnableStaticNatResponse) UnmarshalJSON

func (r *EnableStaticNatResponse) UnmarshalJSON(b []byte) error

type EnableStorageMaintenanceParams

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

func (*EnableStorageMaintenanceParams) SetId

type EnableStorageMaintenanceResponse

type EnableStorageMaintenanceResponse struct {
	Allocatediops        int64             `json:"allocatediops"`
	Capacityiops         int64             `json:"capacityiops"`
	Clusterid            string            `json:"clusterid"`
	Clustername          string            `json:"clustername"`
	Created              string            `json:"created"`
	Disksizeallocated    int64             `json:"disksizeallocated"`
	Disksizetotal        int64             `json:"disksizetotal"`
	Disksizeused         int64             `json:"disksizeused"`
	Hypervisor           string            `json:"hypervisor"`
	Id                   string            `json:"id"`
	Ipaddress            string            `json:"ipaddress"`
	JobID                string            `json:"jobid"`
	Jobstatus            int               `json:"jobstatus"`
	Name                 string            `json:"name"`
	Overprovisionfactor  string            `json:"overprovisionfactor"`
	Path                 string            `json:"path"`
	Podid                string            `json:"podid"`
	Podname              string            `json:"podname"`
	Provider             string            `json:"provider"`
	Scope                string            `json:"scope"`
	State                string            `json:"state"`
	Storagecapabilities  map[string]string `json:"storagecapabilities"`
	Suitableformigration bool              `json:"suitableformigration"`
	Tags                 string            `json:"tags"`
	Type                 string            `json:"type"`
	Zoneid               string            `json:"zoneid"`
	Zonename             string            `json:"zonename"`
}

type EnableUserParams

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

func (*EnableUserParams) SetId

func (p *EnableUserParams) SetId(v string)

type EnableUserResponse

type EnableUserResponse struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type Event

type Event struct {
	Account     string `json:"account"`
	Created     string `json:"created"`
	Description string `json:"description"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Id          string `json:"id"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Level       string `json:"level"`
	Parentid    string `json:"parentid"`
	Project     string `json:"project"`
	Projectid   string `json:"projectid"`
	State       string `json:"state"`
	Type        string `json:"type"`
	Username    string `json:"username"`
}

type EventService

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

func NewEventService

func NewEventService(cs *CloudStackClient) *EventService

func (*EventService) ArchiveEvents

Archive one or more events.

func (*EventService) DeleteEvents

Delete one or more events.

func (*EventService) GetEventByID

func (s *EventService) GetEventByID(id string, opts ...OptionFunc) (*Event, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*EventService) ListEventTypes

List Event Types

func (*EventService) ListEvents

func (s *EventService) ListEvents(p *ListEventsParams) (*ListEventsResponse, error)

A command to list events.

func (*EventService) NewArchiveEventsParams

func (s *EventService) NewArchiveEventsParams() *ArchiveEventsParams

You should always use this function to get a new ArchiveEventsParams instance, as then you are sure you have configured all required params

func (*EventService) NewDeleteEventsParams

func (s *EventService) NewDeleteEventsParams() *DeleteEventsParams

You should always use this function to get a new DeleteEventsParams instance, as then you are sure you have configured all required params

func (*EventService) NewListEventTypesParams

func (s *EventService) NewListEventTypesParams() *ListEventTypesParams

You should always use this function to get a new ListEventTypesParams instance, as then you are sure you have configured all required params

func (*EventService) NewListEventsParams

func (s *EventService) NewListEventsParams() *ListEventsParams

You should always use this function to get a new ListEventsParams instance, as then you are sure you have configured all required params

type EventType

type EventType struct {
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
}

type ExpungeVirtualMachineParams

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

func (*ExpungeVirtualMachineParams) SetId

func (p *ExpungeVirtualMachineParams) SetId(v string)

type ExpungeVirtualMachineResponse

type ExpungeVirtualMachineResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type ExtractIsoParams

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

func (*ExtractIsoParams) SetId

func (p *ExtractIsoParams) SetId(v string)

func (*ExtractIsoParams) SetMode

func (p *ExtractIsoParams) SetMode(v string)

func (*ExtractIsoParams) SetUrl

func (p *ExtractIsoParams) SetUrl(v string)

func (*ExtractIsoParams) SetZoneid

func (p *ExtractIsoParams) SetZoneid(v string)

type ExtractIsoResponse

type ExtractIsoResponse struct {
	Accountid        string `json:"accountid"`
	Created          string `json:"created"`
	ExtractId        string `json:"extractId"`
	ExtractMode      string `json:"extractMode"`
	Id               string `json:"id"`
	JobID            string `json:"jobid"`
	Jobstatus        int    `json:"jobstatus"`
	Name             string `json:"name"`
	Resultstring     string `json:"resultstring"`
	State            string `json:"state"`
	Status           string `json:"status"`
	Storagetype      string `json:"storagetype"`
	Uploadpercentage int    `json:"uploadpercentage"`
	Url              string `json:"url"`
	Zoneid           string `json:"zoneid"`
	Zonename         string `json:"zonename"`
}

type ExtractTemplateParams

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

func (*ExtractTemplateParams) SetId

func (p *ExtractTemplateParams) SetId(v string)

func (*ExtractTemplateParams) SetMode

func (p *ExtractTemplateParams) SetMode(v string)

func (*ExtractTemplateParams) SetUrl

func (p *ExtractTemplateParams) SetUrl(v string)

func (*ExtractTemplateParams) SetZoneid

func (p *ExtractTemplateParams) SetZoneid(v string)

type ExtractTemplateResponse

type ExtractTemplateResponse struct {
	Accountid        string `json:"accountid"`
	Created          string `json:"created"`
	ExtractId        string `json:"extractId"`
	ExtractMode      string `json:"extractMode"`
	Id               string `json:"id"`
	JobID            string `json:"jobid"`
	Jobstatus        int    `json:"jobstatus"`
	Name             string `json:"name"`
	Resultstring     string `json:"resultstring"`
	State            string `json:"state"`
	Status           string `json:"status"`
	Storagetype      string `json:"storagetype"`
	Uploadpercentage int    `json:"uploadpercentage"`
	Url              string `json:"url"`
	Zoneid           string `json:"zoneid"`
	Zonename         string `json:"zonename"`
}

type ExtractVolumeParams

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

func (*ExtractVolumeParams) SetId

func (p *ExtractVolumeParams) SetId(v string)

func (*ExtractVolumeParams) SetMode

func (p *ExtractVolumeParams) SetMode(v string)

func (*ExtractVolumeParams) SetUrl

func (p *ExtractVolumeParams) SetUrl(v string)

func (*ExtractVolumeParams) SetZoneid

func (p *ExtractVolumeParams) SetZoneid(v string)

type ExtractVolumeResponse

type ExtractVolumeResponse struct {
	Accountid        string `json:"accountid"`
	Created          string `json:"created"`
	ExtractId        string `json:"extractId"`
	ExtractMode      string `json:"extractMode"`
	Id               string `json:"id"`
	JobID            string `json:"jobid"`
	Jobstatus        int    `json:"jobstatus"`
	Name             string `json:"name"`
	Resultstring     string `json:"resultstring"`
	State            string `json:"state"`
	Status           string `json:"status"`
	Storagetype      string `json:"storagetype"`
	Uploadpercentage int    `json:"uploadpercentage"`
	Url              string `json:"url"`
	Zoneid           string `json:"zoneid"`
	Zonename         string `json:"zonename"`
}

type FindHostsForMigrationParams

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

func (*FindHostsForMigrationParams) SetKeyword

func (p *FindHostsForMigrationParams) SetKeyword(v string)

func (*FindHostsForMigrationParams) SetPage

func (p *FindHostsForMigrationParams) SetPage(v int)

func (*FindHostsForMigrationParams) SetPagesize

func (p *FindHostsForMigrationParams) SetPagesize(v int)

func (*FindHostsForMigrationParams) SetVirtualmachineid

func (p *FindHostsForMigrationParams) SetVirtualmachineid(v string)

type FindHostsForMigrationResponse

type FindHostsForMigrationResponse struct {
	Averageload                int64  `json:"averageload"`
	Capabilities               string `json:"capabilities"`
	Clusterid                  string `json:"clusterid"`
	Clustername                string `json:"clustername"`
	Clustertype                string `json:"clustertype"`
	Cpuallocated               string `json:"cpuallocated"`
	Cpunumber                  int    `json:"cpunumber"`
	Cpuspeed                   int64  `json:"cpuspeed"`
	Cpuused                    string `json:"cpuused"`
	Cpuwithoverprovisioning    string `json:"cpuwithoverprovisioning"`
	Created                    string `json:"created"`
	Disconnected               string `json:"disconnected"`
	Disksizeallocated          int64  `json:"disksizeallocated"`
	Disksizetotal              int64  `json:"disksizetotal"`
	Events                     string `json:"events"`
	Hahost                     bool   `json:"hahost"`
	Hasenoughcapacity          bool   `json:"hasenoughcapacity"`
	Hosttags                   string `json:"hosttags"`
	Hypervisor                 string `json:"hypervisor"`
	Hypervisorversion          string `json:"hypervisorversion"`
	Id                         string `json:"id"`
	Ipaddress                  string `json:"ipaddress"`
	Islocalstorageactive       bool   `json:"islocalstorageactive"`
	JobID                      string `json:"jobid"`
	Jobstatus                  int    `json:"jobstatus"`
	Lastpinged                 string `json:"lastpinged"`
	Managementserverid         int64  `json:"managementserverid"`
	Memoryallocated            string `json:"memoryallocated"`
	Memorytotal                int64  `json:"memorytotal"`
	Memoryused                 int64  `json:"memoryused"`
	Memorywithoverprovisioning string `json:"memorywithoverprovisioning"`
	Name                       string `json:"name"`
	Networkkbsread             int64  `json:"networkkbsread"`
	Networkkbswrite            int64  `json:"networkkbswrite"`
	Oscategoryid               string `json:"oscategoryid"`
	Oscategoryname             string `json:"oscategoryname"`
	Podid                      string `json:"podid"`
	Podname                    string `json:"podname"`
	Removed                    string `json:"removed"`
	RequiresStorageMotion      bool   `json:"requiresStorageMotion"`
	Resourcestate              string `json:"resourcestate"`
	State                      string `json:"state"`
	Suitableformigration       bool   `json:"suitableformigration"`
	Type                       string `json:"type"`
	Version                    string `json:"version"`
	Zoneid                     string `json:"zoneid"`
	Zonename                   string `json:"zonename"`
}

type FindStoragePoolsForMigrationParams

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

func (*FindStoragePoolsForMigrationParams) SetId

func (*FindStoragePoolsForMigrationParams) SetKeyword

func (p *FindStoragePoolsForMigrationParams) SetKeyword(v string)

func (*FindStoragePoolsForMigrationParams) SetPage

func (*FindStoragePoolsForMigrationParams) SetPagesize

func (p *FindStoragePoolsForMigrationParams) SetPagesize(v int)

type FindStoragePoolsForMigrationResponse

type FindStoragePoolsForMigrationResponse struct {
	Allocatediops        int64             `json:"allocatediops"`
	Capacityiops         int64             `json:"capacityiops"`
	Clusterid            string            `json:"clusterid"`
	Clustername          string            `json:"clustername"`
	Created              string            `json:"created"`
	Disksizeallocated    int64             `json:"disksizeallocated"`
	Disksizetotal        int64             `json:"disksizetotal"`
	Disksizeused         int64             `json:"disksizeused"`
	Hypervisor           string            `json:"hypervisor"`
	Id                   string            `json:"id"`
	Ipaddress            string            `json:"ipaddress"`
	JobID                string            `json:"jobid"`
	Jobstatus            int               `json:"jobstatus"`
	Name                 string            `json:"name"`
	Overprovisionfactor  string            `json:"overprovisionfactor"`
	Path                 string            `json:"path"`
	Podid                string            `json:"podid"`
	Podname              string            `json:"podname"`
	Provider             string            `json:"provider"`
	Scope                string            `json:"scope"`
	State                string            `json:"state"`
	Storagecapabilities  map[string]string `json:"storagecapabilities"`
	Suitableformigration bool              `json:"suitableformigration"`
	Tags                 string            `json:"tags"`
	Type                 string            `json:"type"`
	Zoneid               string            `json:"zoneid"`
	Zonename             string            `json:"zonename"`
}

type FirewallRule

type FirewallRule struct {
	Cidrlist     string `json:"cidrlist"`
	Destcidrlist string `json:"destcidrlist"`
	Endport      int    `json:"endport"`
	Fordisplay   bool   `json:"fordisplay"`
	Icmpcode     int    `json:"icmpcode"`
	Icmptype     int    `json:"icmptype"`
	Id           string `json:"id"`
	Ipaddress    string `json:"ipaddress"`
	Ipaddressid  string `json:"ipaddressid"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Networkid    string `json:"networkid"`
	Protocol     string `json:"protocol"`
	Startport    int    `json:"startport"`
	State        string `json:"state"`
	Tags         []Tags `json:"tags"`
}

type FirewallService

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

func NewFirewallService

func NewFirewallService(cs *CloudStackClient) *FirewallService

func (*FirewallService) AddPaloAltoFirewall

Adds a Palo Alto firewall device

func (*FirewallService) ConfigurePaloAltoFirewall

Configures a Palo Alto firewall device

func (*FirewallService) CreateEgressFirewallRule

Creates a egress firewall rule for a given network

func (*FirewallService) CreateFirewallRule

Creates a firewall rule for a given IP address

func (*FirewallService) CreatePortForwardingRule

Creates a port forwarding rule

func (*FirewallService) DeleteEgressFirewallRule

Deletes an egress firewall rule

func (*FirewallService) DeleteFirewallRule

Deletes a firewall rule

func (*FirewallService) DeletePaloAltoFirewall

delete a Palo Alto firewall device

func (*FirewallService) DeletePortForwardingRule

Deletes a port forwarding rule

func (*FirewallService) GetEgressFirewallRuleByID

func (s *FirewallService) GetEgressFirewallRuleByID(id string, opts ...OptionFunc) (*EgressFirewallRule, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*FirewallService) GetFirewallRuleByID

func (s *FirewallService) GetFirewallRuleByID(id string, opts ...OptionFunc) (*FirewallRule, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*FirewallService) GetPortForwardingRuleByID

func (s *FirewallService) GetPortForwardingRuleByID(id string, opts ...OptionFunc) (*PortForwardingRule, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*FirewallService) ListEgressFirewallRules

Lists all egress firewall rules for network ID.

func (*FirewallService) ListFirewallRules

Lists all firewall rules for an IP address.

func (*FirewallService) ListPaloAltoFirewalls

lists Palo Alto firewall devices in a physical network

func (*FirewallService) ListPortForwardingRules

Lists all port forwarding rules for an IP address.

func (*FirewallService) NewAddPaloAltoFirewallParams

func (s *FirewallService) NewAddPaloAltoFirewallParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddPaloAltoFirewallParams

You should always use this function to get a new AddPaloAltoFirewallParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewConfigurePaloAltoFirewallParams

func (s *FirewallService) NewConfigurePaloAltoFirewallParams(fwdeviceid string) *ConfigurePaloAltoFirewallParams

You should always use this function to get a new ConfigurePaloAltoFirewallParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewCreateEgressFirewallRuleParams

func (s *FirewallService) NewCreateEgressFirewallRuleParams(networkid string, protocol string) *CreateEgressFirewallRuleParams

You should always use this function to get a new CreateEgressFirewallRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewCreateFirewallRuleParams

func (s *FirewallService) NewCreateFirewallRuleParams(ipaddressid string, protocol string) *CreateFirewallRuleParams

You should always use this function to get a new CreateFirewallRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewCreatePortForwardingRuleParams

func (s *FirewallService) NewCreatePortForwardingRuleParams(ipaddressid string, privateport int, protocol string, publicport int, virtualmachineid string) *CreatePortForwardingRuleParams

You should always use this function to get a new CreatePortForwardingRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewDeleteEgressFirewallRuleParams

func (s *FirewallService) NewDeleteEgressFirewallRuleParams(id string) *DeleteEgressFirewallRuleParams

You should always use this function to get a new DeleteEgressFirewallRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewDeleteFirewallRuleParams

func (s *FirewallService) NewDeleteFirewallRuleParams(id string) *DeleteFirewallRuleParams

You should always use this function to get a new DeleteFirewallRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewDeletePaloAltoFirewallParams

func (s *FirewallService) NewDeletePaloAltoFirewallParams(fwdeviceid string) *DeletePaloAltoFirewallParams

You should always use this function to get a new DeletePaloAltoFirewallParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewDeletePortForwardingRuleParams

func (s *FirewallService) NewDeletePortForwardingRuleParams(id string) *DeletePortForwardingRuleParams

You should always use this function to get a new DeletePortForwardingRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewListEgressFirewallRulesParams

func (s *FirewallService) NewListEgressFirewallRulesParams() *ListEgressFirewallRulesParams

You should always use this function to get a new ListEgressFirewallRulesParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewListFirewallRulesParams

func (s *FirewallService) NewListFirewallRulesParams() *ListFirewallRulesParams

You should always use this function to get a new ListFirewallRulesParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewListPaloAltoFirewallsParams

func (s *FirewallService) NewListPaloAltoFirewallsParams() *ListPaloAltoFirewallsParams

You should always use this function to get a new ListPaloAltoFirewallsParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewListPortForwardingRulesParams

func (s *FirewallService) NewListPortForwardingRulesParams() *ListPortForwardingRulesParams

You should always use this function to get a new ListPortForwardingRulesParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewUpdateEgressFirewallRuleParams

func (s *FirewallService) NewUpdateEgressFirewallRuleParams(id string) *UpdateEgressFirewallRuleParams

You should always use this function to get a new UpdateEgressFirewallRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewUpdateFirewallRuleParams

func (s *FirewallService) NewUpdateFirewallRuleParams(id string) *UpdateFirewallRuleParams

You should always use this function to get a new UpdateFirewallRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) NewUpdatePortForwardingRuleParams

func (s *FirewallService) NewUpdatePortForwardingRuleParams(id string) *UpdatePortForwardingRuleParams

You should always use this function to get a new UpdatePortForwardingRuleParams instance, as then you are sure you have configured all required params

func (*FirewallService) UpdateEgressFirewallRule

Updates egress firewall rule

func (*FirewallService) UpdateFirewallRule

Updates firewall rule

func (*FirewallService) UpdatePortForwardingRule

Updates a port forwarding rule. Only the private port and the virtual machine can be updated.

type GenerateAlertParams

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

func (*GenerateAlertParams) SetDescription

func (p *GenerateAlertParams) SetDescription(v string)

func (*GenerateAlertParams) SetName

func (p *GenerateAlertParams) SetName(v string)

func (*GenerateAlertParams) SetPodid

func (p *GenerateAlertParams) SetPodid(v string)

func (*GenerateAlertParams) SetType

func (p *GenerateAlertParams) SetType(v int)

func (*GenerateAlertParams) SetZoneid

func (p *GenerateAlertParams) SetZoneid(v string)

type GenerateAlertResponse

type GenerateAlertResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

type GenerateUsageRecordsParams

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

func (*GenerateUsageRecordsParams) SetDomainid

func (p *GenerateUsageRecordsParams) SetDomainid(v string)

func (*GenerateUsageRecordsParams) SetEnddate

func (p *GenerateUsageRecordsParams) SetEnddate(v string)

func (*GenerateUsageRecordsParams) SetStartdate

func (p *GenerateUsageRecordsParams) SetStartdate(v string)

type GenerateUsageRecordsResponse

type GenerateUsageRecordsResponse struct {
	Displaytext string `json:"displaytext"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Success     bool   `json:"success"`
}

func (*GenerateUsageRecordsResponse) UnmarshalJSON

func (r *GenerateUsageRecordsResponse) UnmarshalJSON(b []byte) error

type GetApiLimitParams

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

type GetApiLimitResponse

type GetApiLimitResponse struct {
	Account     string `json:"account"`
	Accountid   string `json:"accountid"`
	ApiAllowed  int    `json:"apiAllowed"`
	ApiIssued   int    `json:"apiIssued"`
	ExpireAfter int64  `json:"expireAfter"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
}

type GetCloudIdentifierParams

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

func (*GetCloudIdentifierParams) SetUserid

func (p *GetCloudIdentifierParams) SetUserid(v string)

type GetCloudIdentifierResponse

type GetCloudIdentifierResponse struct {
	Cloudidentifier string `json:"cloudidentifier"`
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	Signature       string `json:"signature"`
	Userid          string `json:"userid"`
}

type GetPathForVolumeParams

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

func (*GetPathForVolumeParams) SetVolumeid

func (p *GetPathForVolumeParams) SetVolumeid(v string)

type GetPathForVolumeResponse

type GetPathForVolumeResponse struct {
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Path      string `json:"path"`
}

type GetSolidFireAccountIdParams

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

func (*GetSolidFireAccountIdParams) SetAccountid

func (p *GetSolidFireAccountIdParams) SetAccountid(v string)

func (*GetSolidFireAccountIdParams) SetStorageid

func (p *GetSolidFireAccountIdParams) SetStorageid(v string)

type GetSolidFireAccountIdResponse

type GetSolidFireAccountIdResponse struct {
	JobID              string `json:"jobid"`
	Jobstatus          int    `json:"jobstatus"`
	SolidFireAccountId int64  `json:"solidFireAccountId"`
}

type GetSolidFireVolumeSizeParams

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

func (*GetSolidFireVolumeSizeParams) SetVolumeid

func (p *GetSolidFireVolumeSizeParams) SetVolumeid(v string)

type GetSolidFireVolumeSizeResponse

type GetSolidFireVolumeSizeResponse struct {
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	SolidFireVolumeSize int64  `json:"solidFireVolumeSize"`
}

type GetUploadParamsForTemplateParams

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

func (*GetUploadParamsForTemplateParams) SetAccount

func (p *GetUploadParamsForTemplateParams) SetAccount(v string)

func (*GetUploadParamsForTemplateParams) SetBits

func (p *GetUploadParamsForTemplateParams) SetBits(v int)

func (*GetUploadParamsForTemplateParams) SetChecksum

func (p *GetUploadParamsForTemplateParams) SetChecksum(v string)

func (*GetUploadParamsForTemplateParams) SetDetails

func (p *GetUploadParamsForTemplateParams) SetDetails(v map[string]string)

func (*GetUploadParamsForTemplateParams) SetDisplaytext

func (p *GetUploadParamsForTemplateParams) SetDisplaytext(v string)

func (*GetUploadParamsForTemplateParams) SetDomainid

func (p *GetUploadParamsForTemplateParams) SetDomainid(v string)

func (*GetUploadParamsForTemplateParams) SetFormat

func (p *GetUploadParamsForTemplateParams) SetFormat(v string)

func (*GetUploadParamsForTemplateParams) SetHypervisor

func (p *GetUploadParamsForTemplateParams) SetHypervisor(v string)

func (*GetUploadParamsForTemplateParams) SetIsdynamicallyscalable

func (p *GetUploadParamsForTemplateParams) SetIsdynamicallyscalable(v bool)

func (*GetUploadParamsForTemplateParams) SetIsextractable

func (p *GetUploadParamsForTemplateParams) SetIsextractable(v bool)

func (*GetUploadParamsForTemplateParams) SetIsfeatured

func (p *GetUploadParamsForTemplateParams) SetIsfeatured(v bool)

func (*GetUploadParamsForTemplateParams) SetIspublic

func (p *GetUploadParamsForTemplateParams) SetIspublic(v bool)

func (*GetUploadParamsForTemplateParams) SetIsrouting

func (p *GetUploadParamsForTemplateParams) SetIsrouting(v bool)

func (*GetUploadParamsForTemplateParams) SetName

func (*GetUploadParamsForTemplateParams) SetOstypeid

func (p *GetUploadParamsForTemplateParams) SetOstypeid(v string)

func (*GetUploadParamsForTemplateParams) SetPasswordenabled

func (p *GetUploadParamsForTemplateParams) SetPasswordenabled(v bool)

func (*GetUploadParamsForTemplateParams) SetProjectid

func (p *GetUploadParamsForTemplateParams) SetProjectid(v string)

func (*GetUploadParamsForTemplateParams) SetRequireshvm

func (p *GetUploadParamsForTemplateParams) SetRequireshvm(v bool)

func (*GetUploadParamsForTemplateParams) SetSshkeyenabled

func (p *GetUploadParamsForTemplateParams) SetSshkeyenabled(v bool)

func (*GetUploadParamsForTemplateParams) SetTemplatetag

func (p *GetUploadParamsForTemplateParams) SetTemplatetag(v string)

func (*GetUploadParamsForTemplateParams) SetZoneid

func (p *GetUploadParamsForTemplateParams) SetZoneid(v string)

type GetUploadParamsForTemplateResponse

type GetUploadParamsForTemplateResponse struct {
	Expires   string `json:"expires"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Metadata  string `json:"metadata"`
	PostURL   string `json:"postURL"`
	Signature string `json:"signature"`
}

type GetUploadParamsForVolumeParams

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

func (*GetUploadParamsForVolumeParams) SetAccount

func (p *GetUploadParamsForVolumeParams) SetAccount(v string)

func (*GetUploadParamsForVolumeParams) SetChecksum

func (p *GetUploadParamsForVolumeParams) SetChecksum(v string)

func (*GetUploadParamsForVolumeParams) SetDiskofferingid

func (p *GetUploadParamsForVolumeParams) SetDiskofferingid(v string)

func (*GetUploadParamsForVolumeParams) SetDomainid

func (p *GetUploadParamsForVolumeParams) SetDomainid(v string)

func (*GetUploadParamsForVolumeParams) SetFormat

func (p *GetUploadParamsForVolumeParams) SetFormat(v string)

func (*GetUploadParamsForVolumeParams) SetImagestoreuuid

func (p *GetUploadParamsForVolumeParams) SetImagestoreuuid(v string)

func (*GetUploadParamsForVolumeParams) SetName

func (p *GetUploadParamsForVolumeParams) SetName(v string)

func (*GetUploadParamsForVolumeParams) SetProjectid

func (p *GetUploadParamsForVolumeParams) SetProjectid(v string)

func (*GetUploadParamsForVolumeParams) SetZoneid

func (p *GetUploadParamsForVolumeParams) SetZoneid(v string)

type GetUploadParamsForVolumeResponse

type GetUploadParamsForVolumeResponse struct {
	Expires   string `json:"expires"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Metadata  string `json:"metadata"`
	PostURL   string `json:"postURL"`
	Signature string `json:"signature"`
}

type GetUserParams

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

func (*GetUserParams) SetUserapikey

func (p *GetUserParams) SetUserapikey(v string)

type GetUserResponse

type GetUserResponse struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type GetVMPasswordParams

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

func (*GetVMPasswordParams) SetId

func (p *GetVMPasswordParams) SetId(v string)

type GetVMPasswordResponse

type GetVMPasswordResponse struct {
	Encryptedpassword string `json:"encryptedpassword"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
}

type GetVirtualMachineUserDataParams

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

func (*GetVirtualMachineUserDataParams) SetVirtualmachineid

func (p *GetVirtualMachineUserDataParams) SetVirtualmachineid(v string)

type GetVirtualMachineUserDataResponse

type GetVirtualMachineUserDataResponse struct {
	JobID            string `json:"jobid"`
	Jobstatus        int    `json:"jobstatus"`
	Userdata         string `json:"userdata"`
	Virtualmachineid string `json:"virtualmachineid"`
}

type GetVolumeSnapshotDetailsParams

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

func (*GetVolumeSnapshotDetailsParams) SetSnapshotid

func (p *GetVolumeSnapshotDetailsParams) SetSnapshotid(v string)

type GetVolumeSnapshotDetailsResponse

type GetVolumeSnapshotDetailsResponse struct {
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	VolumeiScsiName string `json:"volumeiScsiName"`
}

type GetVolumeiScsiNameParams

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

func (*GetVolumeiScsiNameParams) SetVolumeid

func (p *GetVolumeiScsiNameParams) SetVolumeid(v string)

type GetVolumeiScsiNameResponse

type GetVolumeiScsiNameResponse struct {
	JobID           string `json:"jobid"`
	Jobstatus       int    `json:"jobstatus"`
	VolumeiScsiName string `json:"volumeiScsiName"`
}

type GlobalLoadBalancerRule

type GlobalLoadBalancerRule struct {
	Account                     string                                   `json:"account"`
	Description                 string                                   `json:"description"`
	Domain                      string                                   `json:"domain"`
	Domainid                    string                                   `json:"domainid"`
	Gslbdomainname              string                                   `json:"gslbdomainname"`
	Gslblbmethod                string                                   `json:"gslblbmethod"`
	Gslbservicetype             string                                   `json:"gslbservicetype"`
	Gslbstickysessionmethodname string                                   `json:"gslbstickysessionmethodname"`
	Id                          string                                   `json:"id"`
	JobID                       string                                   `json:"jobid"`
	Jobstatus                   int                                      `json:"jobstatus"`
	Loadbalancerrule            []GlobalLoadBalancerRuleLoadbalancerrule `json:"loadbalancerrule"`
	Name                        string                                   `json:"name"`
	Project                     string                                   `json:"project"`
	Projectid                   string                                   `json:"projectid"`
	Regionid                    int                                      `json:"regionid"`
}

type GlobalLoadBalancerRuleLoadbalancerrule

type GlobalLoadBalancerRuleLoadbalancerrule struct {
	Account     string `json:"account"`
	Algorithm   string `json:"algorithm"`
	Cidrlist    string `json:"cidrlist"`
	Description string `json:"description"`
	Domain      string `json:"domain"`
	Domainid    string `json:"domainid"`
	Fordisplay  bool   `json:"fordisplay"`
	Id          string `json:"id"`
	Name        string `json:"name"`
	Networkid   string `json:"networkid"`
	Privateport string `json:"privateport"`
	Project     string `json:"project"`
	Projectid   string `json:"projectid"`
	Protocol    string `json:"protocol"`
	Publicip    string `json:"publicip"`
	Publicipid  string `json:"publicipid"`
	Publicport  string `json:"publicport"`
	State       string `json:"state"`
	Tags        []Tags `json:"tags"`
	Zoneid      string `json:"zoneid"`
	Zonename    string `json:"zonename"`
}

type GuestOSService

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

func NewGuestOSService

func NewGuestOSService(cs *CloudStackClient) *GuestOSService

func (*GuestOSService) AddGuestOs

Add a new guest OS type

func (*GuestOSService) AddGuestOsMapping

Adds a guest OS name to hypervisor OS name mapping

func (*GuestOSService) GetGuestOsMappingByID

func (s *GuestOSService) GetGuestOsMappingByID(id string, opts ...OptionFunc) (*GuestOsMapping, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*GuestOSService) GetOsCategoryByID

func (s *GuestOSService) GetOsCategoryByID(id string, opts ...OptionFunc) (*OsCategory, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*GuestOSService) GetOsCategoryByName

func (s *GuestOSService) GetOsCategoryByName(name string, opts ...OptionFunc) (*OsCategory, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*GuestOSService) GetOsCategoryID

func (s *GuestOSService) GetOsCategoryID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*GuestOSService) GetOsTypeByID

func (s *GuestOSService) GetOsTypeByID(id string, opts ...OptionFunc) (*OsType, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*GuestOSService) ListGuestOsMapping

Lists all available OS mappings for given hypervisor

func (*GuestOSService) ListOsCategories

Lists all supported OS categories for this cloud.

func (*GuestOSService) ListOsTypes

Lists all supported OS types for this cloud.

func (*GuestOSService) NewAddGuestOsMappingParams

func (s *GuestOSService) NewAddGuestOsMappingParams(hypervisor string, hypervisorversion string, osnameforhypervisor string) *AddGuestOsMappingParams

You should always use this function to get a new AddGuestOsMappingParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewAddGuestOsParams

func (s *GuestOSService) NewAddGuestOsParams(details map[string]string, oscategoryid string, osdisplayname string) *AddGuestOsParams

You should always use this function to get a new AddGuestOsParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewListGuestOsMappingParams

func (s *GuestOSService) NewListGuestOsMappingParams() *ListGuestOsMappingParams

You should always use this function to get a new ListGuestOsMappingParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewListOsCategoriesParams

func (s *GuestOSService) NewListOsCategoriesParams() *ListOsCategoriesParams

You should always use this function to get a new ListOsCategoriesParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewListOsTypesParams

func (s *GuestOSService) NewListOsTypesParams() *ListOsTypesParams

You should always use this function to get a new ListOsTypesParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewRemoveGuestOsMappingParams

func (s *GuestOSService) NewRemoveGuestOsMappingParams(id string) *RemoveGuestOsMappingParams

You should always use this function to get a new RemoveGuestOsMappingParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewRemoveGuestOsParams

func (s *GuestOSService) NewRemoveGuestOsParams(id string) *RemoveGuestOsParams

You should always use this function to get a new RemoveGuestOsParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewUpdateGuestOsMappingParams

func (s *GuestOSService) NewUpdateGuestOsMappingParams(id string, osnameforhypervisor string) *UpdateGuestOsMappingParams

You should always use this function to get a new UpdateGuestOsMappingParams instance, as then you are sure you have configured all required params

func (*GuestOSService) NewUpdateGuestOsParams

func (s *GuestOSService) NewUpdateGuestOsParams(details map[string]string, id string, osdisplayname string) *UpdateGuestOsParams

You should always use this function to get a new UpdateGuestOsParams instance, as then you are sure you have configured all required params

func (*GuestOSService) RemoveGuestOs

Removes a Guest OS from listing.

func (*GuestOSService) RemoveGuestOsMapping

Removes a Guest OS Mapping.

func (*GuestOSService) UpdateGuestOs

Updates the information about Guest OS

func (*GuestOSService) UpdateGuestOsMapping

Updates the information about Guest OS to Hypervisor specific name mapping

type GuestOsMapping

type GuestOsMapping struct {
	Hypervisor          string `json:"hypervisor"`
	Hypervisorversion   string `json:"hypervisorversion"`
	Id                  string `json:"id"`
	Isuserdefined       string `json:"isuserdefined"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Osdisplayname       string `json:"osdisplayname"`
	Osnameforhypervisor string `json:"osnameforhypervisor"`
	Ostypeid            string `json:"ostypeid"`
}

func (*GuestOsMapping) UnmarshalJSON

func (r *GuestOsMapping) UnmarshalJSON(b []byte) error

type Host

type Host struct {
	Annotation                 string                      `json:"annotation"`
	Averageload                int64                       `json:"averageload"`
	Capabilities               string                      `json:"capabilities"`
	Clusterid                  string                      `json:"clusterid"`
	Clustername                string                      `json:"clustername"`
	Clustertype                string                      `json:"clustertype"`
	Cpuallocated               string                      `json:"cpuallocated"`
	Cpunumber                  int                         `json:"cpunumber"`
	Cpusockets                 int                         `json:"cpusockets"`
	Cpuspeed                   int64                       `json:"cpuspeed"`
	Cpuused                    string                      `json:"cpuused"`
	Cpuwithoverprovisioning    string                      `json:"cpuwithoverprovisioning"`
	Created                    string                      `json:"created"`
	Details                    map[string]string           `json:"details"`
	Disconnected               string                      `json:"disconnected"`
	Disksizeallocated          int64                       `json:"disksizeallocated"`
	Disksizetotal              int64                       `json:"disksizetotal"`
	Events                     string                      `json:"events"`
	Gpugroup                   []HostGpugroup              `json:"gpugroup"`
	Hahost                     bool                        `json:"hahost"`
	Hasenoughcapacity          bool                        `json:"hasenoughcapacity"`
	Hostha                     string                      `json:"hostha"`
	Hosttags                   string                      `json:"hosttags"`
	Hypervisor                 string                      `json:"hypervisor"`
	Hypervisorversion          string                      `json:"hypervisorversion"`
	Id                         string                      `json:"id"`
	Ipaddress                  string                      `json:"ipaddress"`
	Islocalstorageactive       bool                        `json:"islocalstorageactive"`
	JobID                      string                      `json:"jobid"`
	Jobstatus                  int                         `json:"jobstatus"`
	Lastannotated              string                      `json:"lastannotated"`
	Lastpinged                 string                      `json:"lastpinged"`
	Managementserverid         int64                       `json:"managementserverid"`
	Memoryallocated            int64                       `json:"memoryallocated"`
	Memorytotal                int64                       `json:"memorytotal"`
	Memoryused                 int64                       `json:"memoryused"`
	Memorywithoverprovisioning string                      `json:"memorywithoverprovisioning"`
	Name                       string                      `json:"name"`
	Networkkbsread             int64                       `json:"networkkbsread"`
	Networkkbswrite            int64                       `json:"networkkbswrite"`
	Oscategoryid               string                      `json:"oscategoryid"`
	Oscategoryname             string                      `json:"oscategoryname"`
	Outofbandmanagement        OutOfBandManagementResponse `json:"outofbandmanagement"`
	Podid                      string                      `json:"podid"`
	Podname                    string                      `json:"podname"`
	Removed                    string                      `json:"removed"`
	Resourcestate              string                      `json:"resourcestate"`
	State                      string                      `json:"state"`
	Suitableformigration       bool                        `json:"suitableformigration"`
	Type                       string                      `json:"type"`
	Username                   string                      `json:"username"`
	Version                    string                      `json:"version"`
	Zoneid                     string                      `json:"zoneid"`
	Zonename                   string                      `json:"zonename"`
}

type HostGpugroup

type HostGpugroup struct {
	Gpugroupname string             `json:"gpugroupname"`
	Vgpu         []HostGpugroupVgpu `json:"vgpu"`
}

type HostGpugroupVgpu

type HostGpugroupVgpu struct {
	Maxcapacity       int64  `json:"maxcapacity"`
	Maxheads          int64  `json:"maxheads"`
	Maxresolutionx    int64  `json:"maxresolutionx"`
	Maxresolutiony    int64  `json:"maxresolutiony"`
	Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu"`
	Remainingcapacity int64  `json:"remainingcapacity"`
	Vgputype          string `json:"vgputype"`
	Videoram          int64  `json:"videoram"`
}

type HostService

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

func NewHostService

func NewHostService(cs *CloudStackClient) *HostService

func (*HostService) AddBaremetalHost

add a baremetal host

func (*HostService) AddGloboDnsHost

Adds the GloboDNS external host

func (*HostService) AddHost

func (s *HostService) AddHost(p *AddHostParams) (*AddHostResponse, error)

Adds a new host.

func (*HostService) AddSecondaryStorage

Adds secondary storage.

func (*HostService) CancelHostMaintenance

Cancels host maintenance.

func (*HostService) DedicateHost

func (s *HostService) DedicateHost(p *DedicateHostParams) (*DedicateHostResponse, error)

Dedicates a host.

func (*HostService) DeleteHost

func (s *HostService) DeleteHost(p *DeleteHostParams) (*DeleteHostResponse, error)

Deletes a host.

func (*HostService) DisableOutOfBandManagementForHost

Disables out-of-band management for a host

func (*HostService) EnableOutOfBandManagementForHost

Enables out-of-band management for a host

func (*HostService) FindHostsForMigration

Find hosts suitable for migrating a virtual machine.

func (*HostService) GetHostByID

func (s *HostService) GetHostByID(id string, opts ...OptionFunc) (*Host, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) GetHostByName

func (s *HostService) GetHostByName(name string, opts ...OptionFunc) (*Host, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) GetHostID

func (s *HostService) GetHostID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) GetHostTagID

func (s *HostService) GetHostTagID(keyword string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) GetHostsMetricByID

func (s *HostService) GetHostsMetricByID(id string, opts ...OptionFunc) (*HostsMetric, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) GetHostsMetricByName

func (s *HostService) GetHostsMetricByName(name string, opts ...OptionFunc) (*HostsMetric, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) GetHostsMetricID

func (s *HostService) GetHostsMetricID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HostService) ListDedicatedHosts

Lists dedicated hosts.

func (*HostService) ListHostTags

func (s *HostService) ListHostTags(p *ListHostTagsParams) (*ListHostTagsResponse, error)

Lists host tags

func (*HostService) ListHosts

func (s *HostService) ListHosts(p *ListHostsParams) (*ListHostsResponse, error)

Lists hosts.

func (*HostService) ListHostsMetrics

Lists hosts metrics

func (*HostService) NewAddBaremetalHostParams

func (s *HostService) NewAddBaremetalHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddBaremetalHostParams

You should always use this function to get a new AddBaremetalHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewAddGloboDnsHostParams

func (s *HostService) NewAddGloboDnsHostParams(password string, physicalnetworkid string, url string, username string) *AddGloboDnsHostParams

You should always use this function to get a new AddGloboDnsHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewAddHostParams

func (s *HostService) NewAddHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddHostParams

You should always use this function to get a new AddHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewAddSecondaryStorageParams

func (s *HostService) NewAddSecondaryStorageParams(url string) *AddSecondaryStorageParams

You should always use this function to get a new AddSecondaryStorageParams instance, as then you are sure you have configured all required params

func (*HostService) NewCancelHostMaintenanceParams

func (s *HostService) NewCancelHostMaintenanceParams(id string) *CancelHostMaintenanceParams

You should always use this function to get a new CancelHostMaintenanceParams instance, as then you are sure you have configured all required params

func (*HostService) NewDedicateHostParams

func (s *HostService) NewDedicateHostParams(domainid string, hostid string) *DedicateHostParams

You should always use this function to get a new DedicateHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewDeleteHostParams

func (s *HostService) NewDeleteHostParams(id string) *DeleteHostParams

You should always use this function to get a new DeleteHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewDisableOutOfBandManagementForHostParams

func (s *HostService) NewDisableOutOfBandManagementForHostParams(hostid string) *DisableOutOfBandManagementForHostParams

You should always use this function to get a new DisableOutOfBandManagementForHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewEnableOutOfBandManagementForHostParams

func (s *HostService) NewEnableOutOfBandManagementForHostParams(hostid string) *EnableOutOfBandManagementForHostParams

You should always use this function to get a new EnableOutOfBandManagementForHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewFindHostsForMigrationParams

func (s *HostService) NewFindHostsForMigrationParams(virtualmachineid string) *FindHostsForMigrationParams

You should always use this function to get a new FindHostsForMigrationParams instance, as then you are sure you have configured all required params

func (*HostService) NewListDedicatedHostsParams

func (s *HostService) NewListDedicatedHostsParams() *ListDedicatedHostsParams

You should always use this function to get a new ListDedicatedHostsParams instance, as then you are sure you have configured all required params

func (*HostService) NewListHostTagsParams

func (s *HostService) NewListHostTagsParams() *ListHostTagsParams

You should always use this function to get a new ListHostTagsParams instance, as then you are sure you have configured all required params

func (*HostService) NewListHostsMetricsParams

func (s *HostService) NewListHostsMetricsParams() *ListHostsMetricsParams

You should always use this function to get a new ListHostsMetricsParams instance, as then you are sure you have configured all required params

func (*HostService) NewListHostsParams

func (s *HostService) NewListHostsParams() *ListHostsParams

You should always use this function to get a new ListHostsParams instance, as then you are sure you have configured all required params

func (*HostService) NewPrepareHostForMaintenanceParams

func (s *HostService) NewPrepareHostForMaintenanceParams(id string) *PrepareHostForMaintenanceParams

You should always use this function to get a new PrepareHostForMaintenanceParams instance, as then you are sure you have configured all required params

func (*HostService) NewReconnectHostParams

func (s *HostService) NewReconnectHostParams(id string) *ReconnectHostParams

You should always use this function to get a new ReconnectHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewReleaseDedicatedHostParams

func (s *HostService) NewReleaseDedicatedHostParams(hostid string) *ReleaseDedicatedHostParams

You should always use this function to get a new ReleaseDedicatedHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewReleaseHostReservationParams

func (s *HostService) NewReleaseHostReservationParams(id string) *ReleaseHostReservationParams

You should always use this function to get a new ReleaseHostReservationParams instance, as then you are sure you have configured all required params

func (*HostService) NewUpdateHostParams

func (s *HostService) NewUpdateHostParams(id string) *UpdateHostParams

You should always use this function to get a new UpdateHostParams instance, as then you are sure you have configured all required params

func (*HostService) NewUpdateHostPasswordParams

func (s *HostService) NewUpdateHostPasswordParams(password string, username string) *UpdateHostPasswordParams

You should always use this function to get a new UpdateHostPasswordParams instance, as then you are sure you have configured all required params

func (*HostService) PrepareHostForMaintenance

Prepares a host for maintenance.

func (*HostService) ReconnectHost

Reconnects a host.

func (*HostService) ReleaseDedicatedHost

Release the dedication for host

func (*HostService) ReleaseHostReservation

Releases host reservation.

func (*HostService) UpdateHost

func (s *HostService) UpdateHost(p *UpdateHostParams) (*UpdateHostResponse, error)

Updates a host.

func (*HostService) UpdateHostPassword

Update password of a host/pool on management server.

type HostTag

type HostTag struct {
	Hostid    int64  `json:"hostid"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
}

type HostsMetric

type HostsMetric struct {
	Annotation                      string                      `json:"annotation"`
	Averageload                     int64                       `json:"averageload"`
	Capabilities                    string                      `json:"capabilities"`
	Clusterid                       string                      `json:"clusterid"`
	Clustername                     string                      `json:"clustername"`
	Clustertype                     string                      `json:"clustertype"`
	Cpuallocated                    string                      `json:"cpuallocated"`
	Cpuallocateddisablethreshold    bool                        `json:"cpuallocateddisablethreshold"`
	Cpuallocatedghz                 string                      `json:"cpuallocatedghz"`
	Cpuallocatedthreshold           bool                        `json:"cpuallocatedthreshold"`
	Cpudisablethreshold             bool                        `json:"cpudisablethreshold"`
	Cpunumber                       int                         `json:"cpunumber"`
	Cpusockets                      int                         `json:"cpusockets"`
	Cpuspeed                        int64                       `json:"cpuspeed"`
	Cputhreshold                    bool                        `json:"cputhreshold"`
	Cputotalghz                     string                      `json:"cputotalghz"`
	Cpuused                         string                      `json:"cpuused"`
	Cpuusedghz                      string                      `json:"cpuusedghz"`
	Cpuwithoverprovisioning         string                      `json:"cpuwithoverprovisioning"`
	Created                         string                      `json:"created"`
	Details                         map[string]string           `json:"details"`
	Disconnected                    string                      `json:"disconnected"`
	Disksizeallocated               int64                       `json:"disksizeallocated"`
	Disksizetotal                   int64                       `json:"disksizetotal"`
	Events                          string                      `json:"events"`
	Gpugroup                        []HostsMetricGpugroup       `json:"gpugroup"`
	Hahost                          bool                        `json:"hahost"`
	Hasenoughcapacity               bool                        `json:"hasenoughcapacity"`
	Hostha                          string                      `json:"hostha"`
	Hosttags                        string                      `json:"hosttags"`
	Hypervisor                      string                      `json:"hypervisor"`
	Hypervisorversion               string                      `json:"hypervisorversion"`
	Id                              string                      `json:"id"`
	Instances                       string                      `json:"instances"`
	Ipaddress                       string                      `json:"ipaddress"`
	Islocalstorageactive            bool                        `json:"islocalstorageactive"`
	JobID                           string                      `json:"jobid"`
	Jobstatus                       int                         `json:"jobstatus"`
	Lastannotated                   string                      `json:"lastannotated"`
	Lastpinged                      string                      `json:"lastpinged"`
	Managementserverid              int64                       `json:"managementserverid"`
	Memoryallocated                 int64                       `json:"memoryallocated"`
	Memoryallocateddisablethreshold bool                        `json:"memoryallocateddisablethreshold"`
	Memoryallocatedgb               string                      `json:"memoryallocatedgb"`
	Memoryallocatedthreshold        bool                        `json:"memoryallocatedthreshold"`
	Memorydisablethreshold          bool                        `json:"memorydisablethreshold"`
	Memorythreshold                 bool                        `json:"memorythreshold"`
	Memorytotal                     int64                       `json:"memorytotal"`
	Memorytotalgb                   string                      `json:"memorytotalgb"`
	Memoryused                      int64                       `json:"memoryused"`
	Memoryusedgb                    string                      `json:"memoryusedgb"`
	Memorywithoverprovisioning      string                      `json:"memorywithoverprovisioning"`
	Name                            string                      `json:"name"`
	Networkkbsread                  int64                       `json:"networkkbsread"`
	Networkkbswrite                 int64                       `json:"networkkbswrite"`
	Networkread                     string                      `json:"networkread"`
	Networkwrite                    string                      `json:"networkwrite"`
	Oscategoryid                    string                      `json:"oscategoryid"`
	Oscategoryname                  string                      `json:"oscategoryname"`
	Outofbandmanagement             OutOfBandManagementResponse `json:"outofbandmanagement"`
	Podid                           string                      `json:"podid"`
	Podname                         string                      `json:"podname"`
	Powerstate                      string                      `json:"powerstate"`
	Removed                         string                      `json:"removed"`
	Resourcestate                   string                      `json:"resourcestate"`
	State                           string                      `json:"state"`
	Suitableformigration            bool                        `json:"suitableformigration"`
	Type                            string                      `json:"type"`
	Username                        string                      `json:"username"`
	Version                         string                      `json:"version"`
	Zoneid                          string                      `json:"zoneid"`
	Zonename                        string                      `json:"zonename"`
}

type HostsMetricGpugroup

type HostsMetricGpugroup struct {
	Gpugroupname string                    `json:"gpugroupname"`
	Vgpu         []HostsMetricGpugroupVgpu `json:"vgpu"`
}

type HostsMetricGpugroupVgpu

type HostsMetricGpugroupVgpu struct {
	Maxcapacity       int64  `json:"maxcapacity"`
	Maxheads          int64  `json:"maxheads"`
	Maxresolutionx    int64  `json:"maxresolutionx"`
	Maxresolutiony    int64  `json:"maxresolutiony"`
	Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu"`
	Remainingcapacity int64  `json:"remainingcapacity"`
	Vgputype          string `json:"vgputype"`
	Videoram          int64  `json:"videoram"`
}

type Hypervisor

type Hypervisor struct {
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
}

type HypervisorCapability

type HypervisorCapability struct {
	Hypervisor           string `json:"hypervisor"`
	Hypervisorversion    string `json:"hypervisorversion"`
	Id                   string `json:"id"`
	JobID                string `json:"jobid"`
	Jobstatus            int    `json:"jobstatus"`
	Maxdatavolumeslimit  int    `json:"maxdatavolumeslimit"`
	Maxguestslimit       int64  `json:"maxguestslimit"`
	Maxhostspercluster   int    `json:"maxhostspercluster"`
	Securitygroupenabled bool   `json:"securitygroupenabled"`
	Storagemotionenabled bool   `json:"storagemotionenabled"`
}

type HypervisorService

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

func NewHypervisorService

func NewHypervisorService(cs *CloudStackClient) *HypervisorService

func (*HypervisorService) GetHypervisorCapabilityByID

func (s *HypervisorService) GetHypervisorCapabilityByID(id string, opts ...OptionFunc) (*HypervisorCapability, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*HypervisorService) ListHypervisorCapabilities

Lists all hypervisor capabilities.

func (*HypervisorService) ListHypervisors

List hypervisors

func (*HypervisorService) NewListHypervisorCapabilitiesParams

func (s *HypervisorService) NewListHypervisorCapabilitiesParams() *ListHypervisorCapabilitiesParams

You should always use this function to get a new ListHypervisorCapabilitiesParams instance, as then you are sure you have configured all required params

func (*HypervisorService) NewListHypervisorsParams

func (s *HypervisorService) NewListHypervisorsParams() *ListHypervisorsParams

You should always use this function to get a new ListHypervisorsParams instance, as then you are sure you have configured all required params

func (*HypervisorService) NewUpdateHypervisorCapabilitiesParams

func (s *HypervisorService) NewUpdateHypervisorCapabilitiesParams() *UpdateHypervisorCapabilitiesParams

You should always use this function to get a new UpdateHypervisorCapabilitiesParams instance, as then you are sure you have configured all required params

func (*HypervisorService) UpdateHypervisorCapabilities

Updates a hypervisor capabilities.

type ISOService

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

func NewISOService

func NewISOService(cs *CloudStackClient) *ISOService

func (*ISOService) AttachIso

func (s *ISOService) AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error)

Attaches an ISO to a virtual machine.

func (*ISOService) CopyIso

func (s *ISOService) CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error)

Copies an iso from one zone to another.

func (*ISOService) DeleteIso

func (s *ISOService) DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error)

Deletes an ISO file.

func (*ISOService) DetachIso

func (s *ISOService) DetachIso(p *DetachIsoParams) (*DetachIsoResponse, error)

Detaches any ISO file (if any) currently attached to a virtual machine.

func (*ISOService) ExtractIso

func (s *ISOService) ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error)

Extracts an ISO

func (*ISOService) GetIsoByID

func (s *ISOService) GetIsoByID(id string, opts ...OptionFunc) (*Iso, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ISOService) GetIsoByName

func (s *ISOService) GetIsoByName(name string, isofilter string, zoneid string, opts ...OptionFunc) (*Iso, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ISOService) GetIsoID

func (s *ISOService) GetIsoID(name string, isofilter string, zoneid string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ISOService) GetIsoPermissionByID

func (s *ISOService) GetIsoPermissionByID(id string, opts ...OptionFunc) (*IsoPermission, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ISOService) ListIsoPermissions

List iso visibility and all accounts that have permissions to view this iso.

func (*ISOService) ListIsos

func (s *ISOService) ListIsos(p *ListIsosParams) (*ListIsosResponse, error)

Lists all available ISO files.

func (*ISOService) NewAttachIsoParams

func (s *ISOService) NewAttachIsoParams(id string, virtualmachineid string) *AttachIsoParams

You should always use this function to get a new AttachIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewCopyIsoParams

func (s *ISOService) NewCopyIsoParams(id string) *CopyIsoParams

You should always use this function to get a new CopyIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewDeleteIsoParams

func (s *ISOService) NewDeleteIsoParams(id string) *DeleteIsoParams

You should always use this function to get a new DeleteIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewDetachIsoParams

func (s *ISOService) NewDetachIsoParams(virtualmachineid string) *DetachIsoParams

You should always use this function to get a new DetachIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewExtractIsoParams

func (s *ISOService) NewExtractIsoParams(id string, mode string) *ExtractIsoParams

You should always use this function to get a new ExtractIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewListIsoPermissionsParams

func (s *ISOService) NewListIsoPermissionsParams(id string) *ListIsoPermissionsParams

You should always use this function to get a new ListIsoPermissionsParams instance, as then you are sure you have configured all required params

func (*ISOService) NewListIsosParams

func (s *ISOService) NewListIsosParams() *ListIsosParams

You should always use this function to get a new ListIsosParams instance, as then you are sure you have configured all required params

func (*ISOService) NewRegisterIsoParams

func (s *ISOService) NewRegisterIsoParams(displaytext string, name string, url string, zoneid string) *RegisterIsoParams

You should always use this function to get a new RegisterIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewUpdateIsoParams

func (s *ISOService) NewUpdateIsoParams(id string) *UpdateIsoParams

You should always use this function to get a new UpdateIsoParams instance, as then you are sure you have configured all required params

func (*ISOService) NewUpdateIsoPermissionsParams

func (s *ISOService) NewUpdateIsoPermissionsParams(id string) *UpdateIsoPermissionsParams

You should always use this function to get a new UpdateIsoPermissionsParams instance, as then you are sure you have configured all required params

func (*ISOService) RegisterIso

func (s *ISOService) RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, error)

Registers an existing ISO into the CloudStack Cloud.

func (*ISOService) UpdateIso

func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error)

Updates an ISO file.

func (*ISOService) UpdateIsoPermissions

Updates ISO permissions

type ImageStore

type ImageStore struct {
	Id           string `json:"id"`
	JobID        string `json:"jobid"`
	Jobstatus    int    `json:"jobstatus"`
	Name         string `json:"name"`
	Protocol     string `json:"protocol"`
	Providername string `json:"providername"`
	Scope        string `json:"scope"`
	Url          string `json:"url"`
	Zoneid       string `json:"zoneid"`
	Zonename     string `json:"zonename"`
}

type ImageStoreService

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

func NewImageStoreService

func NewImageStoreService(cs *CloudStackClient) *ImageStoreService

func (*ImageStoreService) AddImageStore

Adds backup image store.

func (*ImageStoreService) AddImageStoreS3

Adds S3 Image Store

func (*ImageStoreService) CreateSecondaryStagingStore

create secondary staging store.

func (*ImageStoreService) DeleteImageStore

Deletes an image store or Secondary Storage.

func (*ImageStoreService) DeleteSecondaryStagingStore

Deletes a secondary staging store .

func (*ImageStoreService) GetImageStoreByID

func (s *ImageStoreService) GetImageStoreByID(id string, opts ...OptionFunc) (*ImageStore, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ImageStoreService) GetImageStoreByName

func (s *ImageStoreService) GetImageStoreByName(name string, opts ...OptionFunc) (*ImageStore, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ImageStoreService) GetImageStoreID

func (s *ImageStoreService) GetImageStoreID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ImageStoreService) GetSecondaryStagingStoreByID

func (s *ImageStoreService) GetSecondaryStagingStoreByID(id string, opts ...OptionFunc) (*SecondaryStagingStore, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ImageStoreService) GetSecondaryStagingStoreByName

func (s *ImageStoreService) GetSecondaryStagingStoreByName(name string, opts ...OptionFunc) (*SecondaryStagingStore, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ImageStoreService) GetSecondaryStagingStoreID

func (s *ImageStoreService) GetSecondaryStagingStoreID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*ImageStoreService) ListImageStores

Lists image stores.

func (*ImageStoreService) ListSecondaryStagingStores

Lists secondary staging stores.

func (*ImageStoreService) NewAddImageStoreParams

func (s *ImageStoreService) NewAddImageStoreParams(provider string) *AddImageStoreParams

You should always use this function to get a new AddImageStoreParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewAddImageStoreS3Params

func (s *ImageStoreService) NewAddImageStoreS3Params(accesskey string, bucket string, endpoint string, secretkey string) *AddImageStoreS3Params

You should always use this function to get a new AddImageStoreS3Params instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewCreateSecondaryStagingStoreParams

func (s *ImageStoreService) NewCreateSecondaryStagingStoreParams(url string) *CreateSecondaryStagingStoreParams

You should always use this function to get a new CreateSecondaryStagingStoreParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewDeleteImageStoreParams

func (s *ImageStoreService) NewDeleteImageStoreParams(id string) *DeleteImageStoreParams

You should always use this function to get a new DeleteImageStoreParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewDeleteSecondaryStagingStoreParams

func (s *ImageStoreService) NewDeleteSecondaryStagingStoreParams(id string) *DeleteSecondaryStagingStoreParams

You should always use this function to get a new DeleteSecondaryStagingStoreParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewListImageStoresParams

func (s *ImageStoreService) NewListImageStoresParams() *ListImageStoresParams

You should always use this function to get a new ListImageStoresParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewListSecondaryStagingStoresParams

func (s *ImageStoreService) NewListSecondaryStagingStoresParams() *ListSecondaryStagingStoresParams

You should always use this function to get a new ListSecondaryStagingStoresParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) NewUpdateCloudToUseObjectStoreParams

func (s *ImageStoreService) NewUpdateCloudToUseObjectStoreParams(provider string) *UpdateCloudToUseObjectStoreParams

You should always use this function to get a new UpdateCloudToUseObjectStoreParams instance, as then you are sure you have configured all required params

func (*ImageStoreService) UpdateCloudToUseObjectStore

Migrate current NFS secondary storages to use object store.

type ImportLdapUsersParams

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

func (*ImportLdapUsersParams) SetAccount

func (p *ImportLdapUsersParams) SetAccount(v string)

func (*ImportLdapUsersParams) SetAccountdetails

func (p *ImportLdapUsersParams) SetAccountdetails(v map[string]string)

func (*ImportLdapUsersParams) SetAccounttype

func (p *ImportLdapUsersParams) SetAccounttype(v int)

func (*ImportLdapUsersParams) SetDomainid

func (p *ImportLdapUsersParams) SetDomainid(v string)

func (*ImportLdapUsersParams) SetGroup

func (p *ImportLdapUsersParams) SetGroup(v string)

func (*ImportLdapUsersParams) SetKeyword

func (p *ImportLdapUsersParams) SetKeyword(v string)

func (*ImportLdapUsersParams) SetPage

func (p *ImportLdapUsersParams) SetPage(v int)

func (*ImportLdapUsersParams) SetPagesize

func (p *ImportLdapUsersParams) SetPagesize(v int)

func (*ImportLdapUsersParams) SetRoleid

func (p *ImportLdapUsersParams) SetRoleid(v string)

func (*ImportLdapUsersParams) SetTimezone

func (p *ImportLdapUsersParams) SetTimezone(v string)

type ImportLdapUsersResponse

type ImportLdapUsersResponse struct {
	Domain    string `json:"domain"`
	Email     string `json:"email"`
	Firstname string `json:"firstname"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Lastname  string `json:"lastname"`
	Principal string `json:"principal"`
	Username  string `json:"username"`
}

type InstanceGroup

type InstanceGroup struct {
	Account   string `json:"account"`
	Created   string `json:"created"`
	Domain    string `json:"domain"`
	Domainid  string `json:"domainid"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Name      string `json:"name"`
	Project   string `json:"project"`
	Projectid string `json:"projectid"`
}

type InternalLBService

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

func NewInternalLBService

func NewInternalLBService(cs *CloudStackClient) *InternalLBService

func (*InternalLBService) ConfigureInternalLoadBalancerElement

Configures an Internal Load Balancer element.

func (*InternalLBService) CreateInternalLoadBalancerElement

Create an Internal Load Balancer element.

func (*InternalLBService) GetInternalLoadBalancerElementByID

func (s *InternalLBService) GetInternalLoadBalancerElementByID(id string, opts ...OptionFunc) (*InternalLoadBalancerElement, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*InternalLBService) GetInternalLoadBalancerVMByID

func (s *InternalLBService) GetInternalLoadBalancerVMByID(id string, opts ...OptionFunc) (*InternalLoadBalancerVM, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*InternalLBService) GetInternalLoadBalancerVMByName

func (s *InternalLBService) GetInternalLoadBalancerVMByName(name string, opts ...OptionFunc) (*InternalLoadBalancerVM, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*InternalLBService) GetInternalLoadBalancerVMID

func (s *InternalLBService) GetInternalLoadBalancerVMID(name string, opts ...OptionFunc) (string, int, error)

This is a courtesy helper function, which in some cases may not work as expected!

func (*InternalLBService) ListInternalLoadBalancerElements

Lists all available Internal Load Balancer elements.

func (*InternalLBService) ListInternalLoadBalancerVMs

List internal LB VMs.

func (*InternalLBService) NewConfigureInternalLoadBalancerElementParams

func (s *InternalLBService) NewConfigureInternalLoadBalancerElementParams(enabled bool, id string) *ConfigureInternalLoadBalancerElementParams

You should always use this function to get a new ConfigureInternalLoadBalancerElementParams instance, as then you are sure you have configured all required params

func (*InternalLBService) NewCreateInternalLoadBalancerElementParams

func (s *InternalLBService) NewCreateInternalLoadBalancerElementParams(nspid string) *CreateInternalLoadBalancerElementParams

You should always use this function to get a new CreateInternalLoadBalancerElementParams instance, as then you are sure you have configured all required params

func (*InternalLBService) NewListInternalLoadBalancerElementsParams

func (s *InternalLBService) NewListInternalLoadBalancerElementsParams() *ListInternalLoadBalancerElementsParams

You should always use this function to get a new ListInternalLoadBalancerElementsParams instance, as then you are sure you have configured all required params

func (*InternalLBService) NewListInternalLoadBalancerVMsParams

func (s *InternalLBService) NewListInternalLoadBalancerVMsParams() *ListInternalLoadBalancerVMsParams

You should always use this function to get a new ListInternalLoadBalancerVMsParams instance, as then you are sure you have configured all required params

func (*InternalLBService) NewStartInternalLoadBalancerVMParams

func (s *InternalLBService) NewStartInternalLoadBalancerVMParams(id string) *StartInternalLoadBalancerVMParams

You should always use this function to get a new StartInternalLoadBalancerVMParams instance, as then you are sure you have configured all required params

func (*InternalLBService) NewStopInternalLoadBalancerVMParams

func (s *InternalLBService) NewStopInternalLoadBalancerVMParams(id string) *StopInternalLoadBalancerVMParams

You should always use this function to get a new StopInternalLoadBalancerVMParams instance, as then you are sure you have configured all required params

func (*InternalLBService) StartInternalLoadBalancerVM

Starts an existing internal lb vm.

func (*InternalLBService) StopInternalLoadBalancerVM

Stops an Internal LB vm.

type InternalLoadBalancerElement

type InternalLoadBalancerElement struct {
	Enabled   bool   `json:"enabled"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Nspid     string `json:"nspid"`
}

type InternalLoadBalancerElementResponse

type InternalLoadBalancerElementResponse struct {
	Enabled   bool   `json:"enabled"`
	Id        string `json:"id"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Nspid     string `json:"nspid"`
}

type InternalLoadBalancerVM

type InternalLoadBalancerVM struct {
	Account             string `json:"account"`
	Created             string `json:"created"`
	Dns1                string `json:"dns1"`
	Dns2                string `json:"dns2"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Gateway             string `json:"gateway"`
	Guestipaddress      string `json:"guestipaddress"`
	Guestmacaddress     string `json:"guestmacaddress"`
	Guestnetmask        string `json:"guestnetmask"`
	Guestnetworkid      string `json:"guestnetworkid"`
	Guestnetworkname    string `json:"guestnetworkname"`
	Hostid              string `json:"hostid"`
	Hostname            string `json:"hostname"`
	Hypervisor          string `json:"hypervisor"`
	Id                  string `json:"id"`
	Ip6dns1             string `json:"ip6dns1"`
	Ip6dns2             string `json:"ip6dns2"`
	Isredundantrouter   bool   `json:"isredundantrouter"`
	JobID               string `json:"jobid"`
	Jobstatus           int    `json:"jobstatus"`
	Linklocalip         string `json:"linklocalip"`
	Linklocalmacaddress string `json:"linklocalmacaddress"`
	Linklocalnetmask    string `json:"linklocalnetmask"`
	Linklocalnetworkid  string `json:"linklocalnetworkid"`
	Name                string `json:"name"`
	Networkdomain       string `json:"networkdomain"`
	Nic                 []Nic  `json:"nic"`
	Podid               string `json:"podid"`
	Project             string `json:"project"`
	Projectid           string `json:"projectid"`
	Publicip            string `json:"publicip"`
	Publicmacaddress    string `json:"publicmacaddress"`
	Publicnetmask       string `json:"publicnetmask"`
	Publicnetworkid     string `json:"publicnetworkid"`
	Redundantstate      string `json:"redundantstate"`
	Requiresupgrade     bool   `json:"requiresupgrade"`
	Role                string `json:"role"`
	Scriptsversion      string `json:"scriptsversion"`
	Serviceofferingid   string `json:"serviceofferingid"`
	Serviceofferingname string `json:"serviceofferingname"`
	State               string `json:"state"`
	Templateid          string `json:"templateid"`
	Version             string `json:"version"`
	Vpcid               string `json:"vpcid"`
	Vpcname             string `json:"vpcname"`
	Zoneid              string `json:"zoneid"`
	Zonename            string `json:"zonename"`
}

type IpForwardingRule

type IpForwardingRule struct {
	Cidrlist                  string `json:"cidrlist"`
	Fordisplay                bool   `json:"fordisplay"`
	Id                        string `json:"id"`
	Ipaddress                 string `json:"ipaddress"`
	Ipaddressid               string `json:"ipaddressid"`
	JobID                     string `json:"jobid"`
	Jobstatus                 int    `json:"jobstatus"`
	Networkid                 string `json:"networkid"`
	Privateendport            string `json:"privateendport"`
	Privateport               string `json:"privateport"`
	Protocol                  string `json:"protocol"`
	Publicendport             string `json:"publicendport"`
	Publicport                string `json:"publicport"`
	State                     string `json:"state"`
	Tags                      []Tags `json:"tags"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname"`
	Virtualmachineid          string `json:"virtualmachineid"`
	Virtualmachinename        string `json:"virtualmachinename"`
	Vmguestip                 string `json:"vmguestip"`
}

type Iso

type Iso struct {
	Account               string            `json:"account"`
	Accountid             string            `json:"accountid"`
	Bits                  int               `json:"bits"`
	Bootable              bool              `json:"bootable"`
	Checksum              string            `json:"checksum"`
	Childtemplates        []interface{}     `json:"childtemplates"`
	Created               string            `json:"created"`
	CrossZones            bool              `json:"crossZones"`
	Details               map[string]string `json:"details"`
	Directdownload        bool              `json:"directdownload"`
	Displaytext           string            `json:"displaytext"`
	Domain                string            `json:"domain"`
	Domainid              string            `json:"domainid"`
	Format                string            `json:"format"`
	Hostid                string            `json:"hostid"`
	Hostname              string            `json:"hostname"`
	Hypervisor            string            `json:"hypervisor"`
	Id                    string            `json:"id"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable"`
	Isextractable         bool              `json:"isextractable"`
	Isfeatured            bool              `json:"isfeatured"`
	Ispublic              bool              `json:"ispublic"`
	Isready               bool              `json:"isready"`
	JobID                 string            `json:"jobid"`
	Jobstatus             int               `json:"jobstatus"`
	Name                  string            `json:"name"`
	Ostypeid              string            `json:"ostypeid"`
	Ostypename            string            `json:"ostypename"`
	Parenttemplateid      string            `json:"parenttemplateid"`
	Passwordenabled       bool              `json:"passwordenabled"`
	Physicalsize          int64             `json:"physicalsize"`
	Project               string            `json:"project"`
	Projectid             string            `json:"projectid"`
	Removed               string            `json:"removed"`
	Requireshvm           bool              `json:"requireshvm"`
	Size                  int64             `json:"size"`
	Sourcetemplateid      string            `json:"sourcetemplateid"`
	Sshkeyenabled         bool              `json:"sshkeyenabled"`
	Status                string            `json:"status"`
	Tags                  []Tags            `json:"tags"`
	Templatetag           string            `json:"templatetag"`
	Templatetype          string            `json:"templatetype"`
	Zoneid                string            `json:"zoneid"`
	Zonename              string            `json:"zonename"`
}

func (*Iso) UnmarshalJSON

func (r *Iso) UnmarshalJSON(b []byte) error

type IsoPermission

type IsoPermission struct {
	Account    []string `json:"account"`
	Domainid   string   `json:"domainid"`
	Id         string   `json:"id"`
	Ispublic   bool     `json:"ispublic"`
	JobID      string   `json:"jobid"`
	Jobstatus  int      `json:"jobstatus"`
	Projectids []string `json:"projectids"`
}

type IssueOutOfBandManagementPowerActionParams

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

func (*IssueOutOfBandManagementPowerActionParams) SetAction

func (*IssueOutOfBandManagementPowerActionParams) SetHostid

func (*IssueOutOfBandManagementPowerActionParams) SetTimeout

type IssueOutOfBandManagementPowerActionResponse

type IssueOutOfBandManagementPowerActionResponse struct {
	Action      string `json:"action"`
	Address     string `json:"address"`
	Description string `json:"description"`
	Driver      string `json:"driver"`
	Enabled     bool   `json:"enabled"`
	Hostid      string `json:"hostid"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Password    string `json:"password"`
	Port        string `json:"port"`
	Powerstate  string `json:"powerstate"`
	Status      bool   `json:"status"`
	Username    string `json:"username"`
}

type LBHealthCheckPolicy

type LBHealthCheckPolicy struct {
	Account           string                                 `json:"account"`
	Domain            string                                 `json:"domain"`
	Domainid          string                                 `json:"domainid"`
	Healthcheckpolicy []LBHealthCheckPolicyHealthcheckpolicy `json:"healthcheckpolicy"`
	JobID             string                                 `json:"jobid"`
	Jobstatus         int                                    `json:"jobstatus"`
	Lbruleid          string                                 `json:"lbruleid"`
	Zoneid            string                                 `json:"zoneid"`
}

type LBHealthCheckPolicyHealthcheckpolicy

type LBHealthCheckPolicyHealthcheckpolicy struct {
	Description             string `json:"description"`
	Fordisplay              bool   `json:"fordisplay"`
	Healthcheckinterval     int    `json:"healthcheckinterval"`
	Healthcheckthresshold   int    `json:"healthcheckthresshold"`
	Id                      string `json:"id"`
	Pingpath                string `json:"pingpath"`
	Responsetime            int    `json:"responsetime"`
	State                   string `json:"state"`
	Unhealthcheckthresshold int    `json:"unhealthcheckthresshold"`
}

type LBStickinessPolicy

type LBStickinessPolicy struct {
	Account          string                               `json:"account"`
	Description      string                               `json:"description"`
	Domain           string                               `json:"domain"`
	Domainid         string                               `json:"domainid"`
	JobID            string                               `json:"jobid"`
	Jobstatus        int                                  `json:"jobstatus"`
	Lbruleid         string                               `json:"lbruleid"`
	Name             string                               `json:"name"`
	State            string                               `json:"state"`
	Stickinesspolicy []LBStickinessPolicyStickinesspolicy `json:"stickinesspolicy"`
	Zoneid           string                               `json:"zoneid"`
}

type LBStickinessPolicyStickinesspolicy

type LBStickinessPolicyStickinesspolicy struct {
	Description string            `json:"description"`
	Fordisplay  bool              `json:"fordisplay"`
	Id          string            `json:"id"`
	Methodname  string            `json:"methodname"`
	Name        string            `json:"name"`
	Params      map[string]string `json:"params"`
	State       string            `json:"state"`
}

type LDAPService

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

func NewLDAPService

func NewLDAPService(cs *CloudStackClient) *LDAPService

func (*LDAPService) AddLdapConfiguration

Add a new Ldap Configuration

func (*LDAPService) DeleteLdapConfiguration

Remove an Ldap Configuration

func (*LDAPService) ImportLdapUsers

Import LDAP users

func (*LDAPService) LdapConfig

func (s *LDAPService) LdapConfig(p *LdapConfigParams) (*LdapConfigResponse, error)

(Deprecated, use addLdapConfiguration) Configure the LDAP context for this site.

func (*LDAPService) LdapCreateAccount

Creates an account from an LDAP user

func (*LDAPService) LdapRemove

func (s *LDAPService) LdapRemove(p *LdapRemoveParams) (*LdapRemoveResponse, error)

(Deprecated , use deleteLdapConfiguration) Remove the LDAP context for this site.

func (*LDAPService) LinkDomainToLdap

link an existing cloudstack domain to group or OU in ldap

func (*LDAPService) ListLdapConfigurations

Lists all LDAP configurations

func (*LDAPService) ListLdapUsers

Lists all LDAP Users

func (*LDAPService) NewAddLdapConfigurationParams

func (s *LDAPService) NewAddLdapConfigurationParams(hostname string, port int) *AddLdapConfigurationParams

You should always use this function to get a new AddLdapConfigurationParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewDeleteLdapConfigurationParams

func (s *LDAPService) NewDeleteLdapConfigurationParams(hostname string) *DeleteLdapConfigurationParams

You should always use this function to get a new DeleteLdapConfigurationParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewImportLdapUsersParams

func (s *LDAPService) NewImportLdapUsersParams() *ImportLdapUsersParams

You should always use this function to get a new ImportLdapUsersParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewLdapConfigParams

func (s *LDAPService) NewLdapConfigParams() *LdapConfigParams

You should always use this function to get a new LdapConfigParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewLdapCreateAccountParams

func (s *LDAPService) NewLdapCreateAccountParams(username string) *LdapCreateAccountParams

You should always use this function to get a new LdapCreateAccountParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewLdapRemoveParams

func (s *LDAPService) NewLdapRemoveParams() *LdapRemoveParams

You should always use this function to get a new LdapRemoveParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewLinkDomainToLdapParams

func (s *LDAPService) NewLinkDomainToLdapParams(accounttype int, domainid string, lDAPType string) *LinkDomainToLdapParams

You should always use this function to get a new LinkDomainToLdapParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewListLdapConfigurationsParams

func (s *LDAPService) NewListLdapConfigurationsParams() *ListLdapConfigurationsParams

You should always use this function to get a new ListLdapConfigurationsParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewListLdapUsersParams

func (s *LDAPService) NewListLdapUsersParams() *ListLdapUsersParams

You should always use this function to get a new ListLdapUsersParams instance, as then you are sure you have configured all required params

func (*LDAPService) NewSearchLdapParams

func (s *LDAPService) NewSearchLdapParams(query string) *SearchLdapParams

You should always use this function to get a new SearchLdapParams instance, as then you are sure you have configured all required params

func (*LDAPService) SearchLdap

func (s *LDAPService) SearchLdap(p *SearchLdapParams) (*SearchLdapResponse, error)

Searches LDAP based on the username attribute

type LdapConfigParams

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

func (*LdapConfigParams) SetBinddn

func (p *LdapConfigParams) SetBinddn(v string)

func (*LdapConfigParams) SetBindpass

func (p *LdapConfigParams) SetBindpass(v string)

func (*LdapConfigParams) SetHostname

func (p *LdapConfigParams) SetHostname(v string)

func (*LdapConfigParams) SetListall

func (p *LdapConfigParams) SetListall(v bool)

func (*LdapConfigParams) SetPort

func (p *LdapConfigParams) SetPort(v int)

func (*LdapConfigParams) SetQueryfilter

func (p *LdapConfigParams) SetQueryfilter(v string)

func (*LdapConfigParams) SetSearchbase

func (p *LdapConfigParams) SetSearchbase(v string)

func (*LdapConfigParams) SetSsl

func (p *LdapConfigParams) SetSsl(v bool)

func (*LdapConfigParams) SetTruststore

func (p *LdapConfigParams) SetTruststore(v string)

func (*LdapConfigParams) SetTruststorepass

func (p *LdapConfigParams) SetTruststorepass(v string)

type LdapConfigResponse

type LdapConfigResponse struct {
	Binddn      string `json:"binddn"`
	Bindpass    string `json:"bindpass"`
	Hostname    string `json:"hostname"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Port        string `json:"port"`
	Queryfilter string `json:"queryfilter"`
	Searchbase  string `json:"searchbase"`
	Ssl         string `json:"ssl"`
}

type LdapConfiguration

type LdapConfiguration struct {
	Domainid  string `json:"domainid"`
	Hostname  string `json:"hostname"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Port      int    `json:"port"`
}

type LdapCreateAccountParams

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

func (*LdapCreateAccountParams) SetAccount

func (p *LdapCreateAccountParams) SetAccount(v string)

func (*LdapCreateAccountParams) SetAccountdetails

func (p *LdapCreateAccountParams) SetAccountdetails(v map[string]string)

func (*LdapCreateAccountParams) SetAccountid

func (p *LdapCreateAccountParams) SetAccountid(v string)

func (*LdapCreateAccountParams) SetAccounttype

func (p *LdapCreateAccountParams) SetAccounttype(v int)

func (*LdapCreateAccountParams) SetDomainid

func (p *LdapCreateAccountParams) SetDomainid(v string)

func (*LdapCreateAccountParams) SetNetworkdomain

func (p *LdapCreateAccountParams) SetNetworkdomain(v string)

func (*LdapCreateAccountParams) SetRoleid

func (p *LdapCreateAccountParams) SetRoleid(v string)

func (*LdapCreateAccountParams) SetTimezone

func (p *LdapCreateAccountParams) SetTimezone(v string)

func (*LdapCreateAccountParams) SetUserid

func (p *LdapCreateAccountParams) SetUserid(v string)

func (*LdapCreateAccountParams) SetUsername

func (p *LdapCreateAccountParams) SetUsername(v string)

type LdapCreateAccountResponse

type LdapCreateAccountResponse struct {
	Accountdetails            map[string]string               `json:"accountdetails"`
	Accounttype               int                             `json:"accounttype"`
	Cpuavailable              string                          `json:"cpuavailable"`
	Cpulimit                  string                          `json:"cpulimit"`
	Cputotal                  int64                           `json:"cputotal"`
	Defaultzoneid             string                          `json:"defaultzoneid"`
	Domain                    string                          `json:"domain"`
	Domainid                  string                          `json:"domainid"`
	Groups                    []string                        `json:"groups"`
	Id                        string                          `json:"id"`
	Ipavailable               string                          `json:"ipavailable"`
	Iplimit                   string                          `json:"iplimit"`
	Iptotal                   int64                           `json:"iptotal"`
	Iscleanuprequired         bool                            `json:"iscleanuprequired"`
	Isdefault                 bool                            `json:"isdefault"`
	JobID                     string                          `json:"jobid"`
	Jobstatus                 int                             `json:"jobstatus"`
	Memoryavailable           string                          `json:"memoryavailable"`
	Memorylimit               string                          `json:"memorylimit"`
	Memorytotal               int64                           `json:"memorytotal"`
	Name                      string                          `json:"name"`
	Networkavailable          string                          `json:"networkavailable"`
	Networkdomain             string                          `json:"networkdomain"`
	Networklimit              string                          `json:"networklimit"`
	Networktotal              int64                           `json:"networktotal"`
	Primarystorageavailable   string                          `json:"primarystorageavailable"`
	Primarystoragelimit       string                          `json:"primarystoragelimit"`
	Primarystoragetotal       int64                           `json:"primarystoragetotal"`
	Projectavailable          string                          `json:"projectavailable"`
	Projectlimit              string                          `json:"projectlimit"`
	Projecttotal              int64                           `json:"projecttotal"`
	Receivedbytes             int64                           `json:"receivedbytes"`
	Roleid                    string                          `json:"roleid"`
	Rolename                  string                          `json:"rolename"`
	Roletype                  string                          `json:"roletype"`
	Secondarystorageavailable string                          `json:"secondarystorageavailable"`
	Secondarystoragelimit     string                          `json:"secondarystoragelimit"`
	Secondarystoragetotal     float64                         `json:"secondarystoragetotal"`
	Sentbytes                 int64                           `json:"sentbytes"`
	Snapshotavailable         string                          `json:"snapshotavailable"`
	Snapshotlimit             string                          `json:"snapshotlimit"`
	Snapshottotal             int64                           `json:"snapshottotal"`
	State                     string                          `json:"state"`
	Templateavailable         string                          `json:"templateavailable"`
	Templatelimit             string                          `json:"templatelimit"`
	Templatetotal             int64                           `json:"templatetotal"`
	User                      []LdapCreateAccountResponseUser `json:"user"`
	Vmavailable               string                          `json:"vmavailable"`
	Vmlimit                   string                          `json:"vmlimit"`
	Vmrunning                 int                             `json:"vmrunning"`
	Vmstopped                 int                             `json:"vmstopped"`
	Vmtotal                   int64                           `json:"vmtotal"`
	Volumeavailable           string                          `json:"volumeavailable"`
	Volumelimit               string                          `json:"volumelimit"`
	Volumetotal               int64                           `json:"volumetotal"`
	Vpcavailable              string                          `json:"vpcavailable"`
	Vpclimit                  string                          `json:"vpclimit"`
	Vpctotal                  int64                           `json:"vpctotal"`
}

type LdapCreateAccountResponseUser

type LdapCreateAccountResponseUser struct {
	Account             string `json:"account"`
	Accountid           string `json:"accountid"`
	Accounttype         int    `json:"accounttype"`
	Apikey              string `json:"apikey"`
	Created             string `json:"created"`
	Domain              string `json:"domain"`
	Domainid            string `json:"domainid"`
	Email               string `json:"email"`
	Firstname           string `json:"firstname"`
	Id                  string `json:"id"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain"`
	Isdefault           bool   `json:"isdefault"`
	Lastname            string `json:"lastname"`
	Roleid              string `json:"roleid"`
	Rolename            string `json:"rolename"`
	Roletype            string `json:"roletype"`
	Secretkey           string `json:"secretkey"`
	State               string `json:"state"`
	Timezone            string `json:"timezone"`
	Username            string `json:"username"`
	Usersource          string `json:"usersource"`
}

type LdapRemoveParams

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

type LdapRemoveResponse

type LdapRemoveResponse struct {
	Binddn      string `json:"binddn"`
	Bindpass    string `json:"bindpass"`
	Hostname    string `json:"hostname"`
	JobID       string `json:"jobid"`
	Jobstatus   int    `json:"jobstatus"`
	Port        string `json:"port"`
	Queryfilter string `json:"queryfilter"`
	Searchbase  string `json:"searchbase"`
	Ssl         string `json:"ssl"`
}

type LdapUser

type LdapUser struct {
	Domain    string `json:"domain"`
	Email     string `json:"email"`
	Firstname string `json:"firstname"`
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Lastname  string `json:"lastname"`
	Principal string `json:"principal"`
	Username  string `json:"username"`
}

type LimitService

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

func NewLimitService

func NewLimitService(cs *CloudStackClient) *LimitService

func (*LimitService) GetApiLimit

Get API limit count for the caller

func (*LimitService) ListResourceLimits

Lists resource limits.

func (*LimitService) NewGetApiLimitParams

func (s *LimitService) NewGetApiLimitParams() *GetApiLimitParams

You should always use this function to get a new GetApiLimitParams instance, as then you are sure you have configured all required params

func (*LimitService) NewListResourceLimitsParams

func (s *LimitService) NewListResourceLimitsParams() *ListResourceLimitsParams

You should always use this function to get a new ListResourceLimitsParams instance, as then you are sure you have configured all required params

func (*LimitService) NewResetApiLimitParams

func (s *LimitService) NewResetApiLimitParams() *ResetApiLimitParams

You should always use this function to get a new ResetApiLimitParams instance, as then you are sure you have configured all required params

func (*LimitService) NewUpdateResourceCountParams

func (s *LimitService) NewUpdateResourceCountParams(domainid string) *UpdateResourceCountParams

You should always use this function to get a new UpdateResourceCountParams instance, as then you are sure you have configured all required params

func (*LimitService) NewUpdateResourceLimitParams

func (s *LimitService)