cosmic

package
v6.2.8 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: Apache-2.0 Imports: 16 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 Account

type Account struct {
	Accountdetails            map[string]string `json:"accountdetails,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

type AccountService

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

func NewAccountService

func NewAccountService(cs *CosmicClient) *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) 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(accounttype int, 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) 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(newname string) *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 ActivateProjectParams

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

func (*ActivateProjectParams) SetId

func (p *ActivateProjectParams) SetId(v string)

type ActivateProjectResponse

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

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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) SetHypervisor

func (p *AddClusterParams) SetHypervisor(v string)

func (*AddClusterParams) SetPassword

func (p *AddClusterParams) SetPassword(v string)

func (*AddClusterParams) SetPodid

func (p *AddClusterParams) SetPodid(v string)

func (*AddClusterParams) SetUrl

func (p *AddClusterParams) SetUrl(v string)

func (*AddClusterParams) SetUsername

func (p *AddClusterParams) SetUsername(v string)

func (*AddClusterParams) SetZoneid

func (p *AddClusterParams) SetZoneid(v string)

type AddClusterResponse

type AddClusterResponse struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Clustertype           string `json:"clustertype,omitempty"`
	Cpuovercommitratio    string `json:"cpuovercommitratio,omitempty"`
	Hypervisortype        string `json:"hypervisortype,omitempty"`
	Id                    string `json:"id,omitempty"`
	Managedstate          string `json:"managedstate,omitempty"`
	Memoryovercommitratio string `json:"memoryovercommitratio,omitempty"`
	Name                  string `json:"name,omitempty"`
	Podid                 string `json:"podid,omitempty"`
	Podname               string `json:"podname,omitempty"`
	Zoneid                string `json:"zoneid,omitempty"`
	Zonename              string `json:"zonename,omitempty"`
}

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 {
	JobID               string `json:"jobid,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Hypervisorversion   string `json:"hypervisorversion,omitempty"`
	Id                  string `json:"id,omitempty"`
	Isuserdefined       string `json:"isuserdefined,omitempty"`
	Osdisplayname       string `json:"osdisplayname,omitempty"`
	Osnameforhypervisor string `json:"osnameforhypervisor,omitempty"`
	Ostypeid            string `json:"ostypeid,omitempty"`
}

type AddGuestOsParams

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

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 {
	JobID         string `json:"jobid,omitempty"`
	Description   string `json:"description,omitempty"`
	Id            string `json:"id,omitempty"`
	Isuserdefined string `json:"isuserdefined,omitempty"`
	Oscategoryid  string `json:"oscategoryid,omitempty"`
}

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 {
	Accountid               string            `json:"accountid,omitempty"`
	Accountname             string            `json:"accountname,omitempty"`
	Affinitygroupid         string            `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string            `json:"affinitygroupname,omitempty"`
	Averageload             int64             `json:"averageload,omitempty"`
	Capabilities            string            `json:"capabilities,omitempty"`
	Clusterid               string            `json:"clusterid,omitempty"`
	Clustername             string            `json:"clustername,omitempty"`
	Clustertype             string            `json:"clustertype,omitempty"`
	Cpuallocated            string            `json:"cpuallocated,omitempty"`
	Cpunumber               int               `json:"cpunumber,omitempty"`
	Cpusockets              int               `json:"cpusockets,omitempty"`
	Cpuused                 string            `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string            `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string            `json:"created,omitempty"`
	Dedicated               bool              `json:"dedicated,omitempty"`
	Details                 map[string]string `json:"details,omitempty"`
	Disconnected            string            `json:"disconnected,omitempty"`
	Disksizeallocated       int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64             `json:"disksizetotal,omitempty"`
	Domainid                string            `json:"domainid,omitempty"`
	Domainname              string            `json:"domainname,omitempty"`
	Events                  string            `json:"events,omitempty"`
	Gpugroup                []struct {
		Gpugroupname string `json:"gpugroupname,omitempty"`
		Vgpu         []struct {
			Maxcapacity       int64  `json:"maxcapacity,omitempty"`
			Maxheads          int64  `json:"maxheads,omitempty"`
			Maxresolutionx    int64  `json:"maxresolutionx,omitempty"`
			Maxresolutiony    int64  `json:"maxresolutiony,omitempty"`
			Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu,omitempty"`
			Remainingcapacity int64  `json:"remainingcapacity,omitempty"`
			Vgputype          string `json:"vgputype,omitempty"`
			Videoram          int64  `json:"videoram,omitempty"`
		} `json:"vgpu,omitempty"`
	} `json:"gpugroup,omitempty"`
	Hahost               bool   `json:"hahost,omitempty"`
	Hasenoughcapacity    bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags             string `json:"hosttags,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ipaddress            string `json:"ipaddress,omitempty"`
	Islocalstorageactive bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged           string `json:"lastpinged,omitempty"`
	Managementserverid   int64  `json:"managementserverid,omitempty"`
	Memoryallocated      int64  `json:"memoryallocated,omitempty"`
	Memorytotal          int64  `json:"memorytotal,omitempty"`
	Memoryused           int64  `json:"memoryused,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkkbsread       int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite      int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid         string `json:"oscategoryid,omitempty"`
	Oscategoryname       string `json:"oscategoryname,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Podname              string `json:"podname,omitempty"`
	Removed              string `json:"removed,omitempty"`
	Resourcestate        string `json:"resourcestate,omitempty"`
	State                string `json:"state,omitempty"`
	Suitableformigration bool   `json:"suitableformigration,omitempty"`
	Type                 string `json:"type,omitempty"`
	Version              string `json:"version,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

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 {
	Details      []string `json:"details,omitempty"`
	Id           string   `json:"id,omitempty"`
	Name         string   `json:"name,omitempty"`
	Protocol     string   `json:"protocol,omitempty"`
	Providername string   `json:"providername,omitempty"`
	Scope        string   `json:"scope,omitempty"`
	Url          string   `json:"url,omitempty"`
	Zoneid       string   `json:"zoneid,omitempty"`
	Zonename     string   `json:"zonename,omitempty"`
}

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 {
	JobID            string `json:"jobid,omitempty"`
	Id               string `json:"id,omitempty"`
	Ipaddress        string `json:"ipaddress,omitempty"`
	Networkid        string `json:"networkid,omitempty"`
	Nicid            string `json:"nicid,omitempty"`
	Virtualmachineid string `json:"virtualmachineid,omitempty"`
}

type AddLdapConfigurationParams

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

func (*AddLdapConfigurationParams) SetHostname

func (p *AddLdapConfigurationParams) SetHostname(v string)

func (*AddLdapConfigurationParams) SetPort

func (p *AddLdapConfigurationParams) SetPort(v int)

type AddLdapConfigurationResponse

type AddLdapConfigurationResponse struct {
	Hostname string `json:"hostname,omitempty"`
	Port     int    `json:"port,omitempty"`
}

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,omitempty"`
}

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 {
	JobID                        string   `json:"jobid,omitempty"`
	Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
	Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
	Id                           string   `json:"id,omitempty"`
	Name                         string   `json:"name,omitempty"`
	Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
	Servicelist                  []string `json:"servicelist,omitempty"`
	State                        string   `json:"state,omitempty"`
}

type AddNicToVirtualMachineParams

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

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 {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type AddNiciraNvpDeviceParams

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

func (*AddNiciraNvpDeviceParams) SetHostname

func (p *AddNiciraNvpDeviceParams) SetHostname(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 {
	JobID                string `json:"jobid,omitempty"`
	Hostname             string `json:"hostname,omitempty"`
	L3gatewayserviceuuid string `json:"l3gatewayserviceuuid,omitempty"`
	Niciradevicename     string `json:"niciradevicename,omitempty"`
	Nvpdeviceid          string `json:"nvpdeviceid,omitempty"`
	Physicalnetworkid    string `json:"physicalnetworkid,omitempty"`
	Provider             string `json:"provider,omitempty"`
	Transportzoneuuid    string `json:"transportzoneuuid,omitempty"`
}

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,omitempty"`
	Id       int    `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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 {
	Details      []string `json:"details,omitempty"`
	Id           string   `json:"id,omitempty"`
	Name         string   `json:"name,omitempty"`
	Protocol     string   `json:"protocol,omitempty"`
	Providername string   `json:"providername,omitempty"`
	Scope        string   `json:"scope,omitempty"`
	Url          string   `json:"url,omitempty"`
	Zoneid       string   `json:"zoneid,omitempty"`
	Zonename     string   `json:"zonename,omitempty"`
}

type AddTrafficTypeParams

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

func (*AddTrafficTypeParams) SetIsolationmethod

func (p *AddTrafficTypeParams) SetIsolationmethod(v string)

func (*AddTrafficTypeParams) SetKvmnetworklabel

func (p *AddTrafficTypeParams) SetKvmnetworklabel(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) SetXennetworklabel

func (p *AddTrafficTypeParams) SetXennetworklabel(v string)

type AddTrafficTypeResponse

type AddTrafficTypeResponse struct {
	JobID             string `json:"jobid,omitempty"`
	Id                string `json:"id,omitempty"`
	Kvmnetworklabel   string `json:"kvmnetworklabel,omitempty"`
	Physicalnetworkid string `json:"physicalnetworkid,omitempty"`
	Traffictype       string `json:"traffictype,omitempty"`
	Xennetworklabel   string `json:"xennetworklabel,omitempty"`
}

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 {
	JobID     string `json:"jobid,omitempty"`
	Account   string `json:"account,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
	State     string `json:"state,omitempty"`
	Username  string `json:"username,omitempty"`
}

type AffinityGroup

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

type AffinityGroupService

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

func NewAffinityGroupService

func NewAffinityGroupService(cs *CosmicClient) *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 {
	Type string `json:"type,omitempty"`
}

type Alert

type Alert struct {
	Description string `json:"description,omitempty"`
	Id          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Sent        string `json:"sent,omitempty"`
	Type        int    `json:"type,omitempty"`
}

type AlertService

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

func NewAlertService

func NewAlertService(cs *CosmicClient) *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,omitempty"`
	Groupdescription string `json:"groupdescription,omitempty"`
	Groupname        string `json:"groupname,omitempty"`
	Isasync          bool   `json:"isasync,omitempty"`
	Name             string `json:"name,omitempty"`
	Params           []struct {
		Description string `json:"description,omitempty"`
		Length      int    `json:"length,omitempty"`
		Name        string `json:"name,omitempty"`
		Related     string `json:"related,omitempty"`
		Required    bool   `json:"required,omitempty"`
		Since       string `json:"since,omitempty"`
		Type        string `json:"type,omitempty"`
	} `json:"params,omitempty"`
	Related  string `json:"related,omitempty"`
	Response []struct {
		Description string   `json:"description,omitempty"`
		Name        string   `json:"name,omitempty"`
		Response    []string `json:"response,omitempty"`
		Type        string   `json:"type,omitempty"`
	} `json:"response,omitempty"`
	Since string `json:"since,omitempty"`
	Type  string `json:"type,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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) SetVirtualmachineid

func (p *AssignVirtualMachineParams) SetVirtualmachineid(v string)

type AssignVirtualMachineResponse

type AssignVirtualMachineResponse struct {
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

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) SetNetworkid

func (p *AssociateIpAddressParams) SetNetworkid(v string)

func (*AssociateIpAddressParams) SetProjectid

func (p *AssociateIpAddressParams) SetProjectid(v string)

func (*AssociateIpAddressParams) SetVpcid

func (p *AssociateIpAddressParams) SetVpcid(v string)

func (*AssociateIpAddressParams) SetZoneid

func (p *AssociateIpAddressParams) SetZoneid(v string)

type AssociateIpAddressResponse

type AssociateIpAddressResponse struct {
	JobID                 string `json:"jobid,omitempty"`
	Account               string `json:"account,omitempty"`
	Aclid                 string `json:"aclid,omitempty"`
	Aclname               string `json:"aclname,omitempty"`
	Allocated             string `json:"allocated,omitempty"`
	Associatednetworkid   string `json:"associatednetworkid,omitempty"`
	Associatednetworkname string `json:"associatednetworkname,omitempty"`
	Domain                string `json:"domain,omitempty"`
	Domainid              string `json:"domainid,omitempty"`
	Fordisplay            bool   `json:"fordisplay,omitempty"`
	Forvirtualnetwork     bool   `json:"forvirtualnetwork,omitempty"`
	Id                    string `json:"id,omitempty"`
	Ipaddress             string `json:"ipaddress,omitempty"`
	Issourcenat           bool   `json:"issourcenat,omitempty"`
	Isstaticnat           bool   `json:"isstaticnat,omitempty"`
	Issystem              bool   `json:"issystem,omitempty"`
	Networkid             string `json:"networkid,omitempty"`
	Physicalnetworkid     string `json:"physicalnetworkid,omitempty"`
	Project               string `json:"project,omitempty"`
	Projectid             string `json:"projectid,omitempty"`
	Purpose               string `json:"purpose,omitempty"`
	State                 string `json:"state,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vlanid                    string `json:"vlanid,omitempty"`
	Vlanname                  string `json:"vlanname,omitempty"`
	Vmipaddress               string `json:"vmipaddress,omitempty"`
	Vpcid                     string `json:"vpcid,omitempty"`
	Zoneid                    string `json:"zoneid,omitempty"`
	Zonename                  string `json:"zonename,omitempty"`
}

type AsyncJob

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

type AsyncjobService

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

func NewAsyncjobService

func NewAsyncjobService(cs *CosmicClient) *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 {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

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 {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type AuthenticationService

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

func NewAuthenticationService

func NewAuthenticationService(cs *CosmicClient) *AuthenticationService

func (*AuthenticationService) AddLdapConfiguration

Add a new Ldap Configuration

func (*AuthenticationService) DeleteLdapConfiguration

Remove an Ldap Configuration

func (*AuthenticationService) ImportLdapUsers

Import LDAP users

func (*AuthenticationService) LdapCreateAccount

Creates an account from an LDAP user

func (*AuthenticationService) LinkDomainToLdap

link an existing cloudstack domain to group or OU in ldap

list link of domain to group or OU in ldap

func (*AuthenticationService) ListLdapConfigurations

Lists all LDAP configurations

func (*AuthenticationService) ListLdapUsers

Lists all LDAP Users

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) NewAddLdapConfigurationParams

func (s *AuthenticationService) 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 (*AuthenticationService) NewDeleteLdapConfigurationParams

func (s *AuthenticationService) 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 (*AuthenticationService) NewImportLdapUsersParams

func (s *AuthenticationService) NewImportLdapUsersParams(accounttype int) *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 (*AuthenticationService) NewLdapCreateAccountParams

func (s *AuthenticationService) NewLdapCreateAccountParams(accounttype int, 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 (*AuthenticationService) NewLinkDomainToLdapParams

func (s *AuthenticationService) NewLinkDomainToLdapParams(accounttype int, domainid string, name string, authenticationType 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 (*AuthenticationService) NewListDomainLdapLinkParams

func (s *AuthenticationService) NewListDomainLdapLinkParams(domainid string) *ListDomainLdapLinkParams

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

func (*AuthenticationService) NewListLdapConfigurationsParams

func (s *AuthenticationService) 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 (*AuthenticationService) NewListLdapUsersParams

func (s *AuthenticationService) 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 (*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 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 {
	JobID                   string            `json:"jobid,omitempty"`
	Accountid               string            `json:"accountid,omitempty"`
	Accountname             string            `json:"accountname,omitempty"`
	Affinitygroupid         string            `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string            `json:"affinitygroupname,omitempty"`
	Averageload             int64             `json:"averageload,omitempty"`
	Capabilities            string            `json:"capabilities,omitempty"`
	Clusterid               string            `json:"clusterid,omitempty"`
	Clustername             string            `json:"clustername,omitempty"`
	Clustertype             string            `json:"clustertype,omitempty"`
	Cpuallocated            string            `json:"cpuallocated,omitempty"`
	Cpunumber               int               `json:"cpunumber,omitempty"`
	Cpusockets              int               `json:"cpusockets,omitempty"`
	Cpuused                 string            `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string            `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string            `json:"created,omitempty"`
	Dedicated               bool              `json:"dedicated,omitempty"`
	Details                 map[string]string `json:"details,omitempty"`
	Disconnected            string            `json:"disconnected,omitempty"`
	Disksizeallocated       int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64             `json:"disksizetotal,omitempty"`
	Domainid                string            `json:"domainid,omitempty"`
	Domainname              string            `json:"domainname,omitempty"`
	Events                  string            `json:"events,omitempty"`
	Gpugroup                []struct {
		Gpugroupname string `json:"gpugroupname,omitempty"`
		Vgpu         []struct {
			Maxcapacity       int64  `json:"maxcapacity,omitempty"`
			Maxheads          int64  `json:"maxheads,omitempty"`
			Maxresolutionx    int64  `json:"maxresolutionx,omitempty"`
			Maxresolutiony    int64  `json:"maxresolutiony,omitempty"`
			Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu,omitempty"`
			Remainingcapacity int64  `json:"remainingcapacity,omitempty"`
			Vgputype          string `json:"vgputype,omitempty"`
			Videoram          int64  `json:"videoram,omitempty"`
		} `json:"vgpu,omitempty"`
	} `json:"gpugroup,omitempty"`
	Hahost               bool   `json:"hahost,omitempty"`
	Hasenoughcapacity    bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags             string `json:"hosttags,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ipaddress            string `json:"ipaddress,omitempty"`
	Islocalstorageactive bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged           string `json:"lastpinged,omitempty"`
	Managementserverid   int64  `json:"managementserverid,omitempty"`
	Memoryallocated      int64  `json:"memoryallocated,omitempty"`
	Memorytotal          int64  `json:"memorytotal,omitempty"`
	Memoryused           int64  `json:"memoryused,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkkbsread       int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite      int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid         string `json:"oscategoryid,omitempty"`
	Oscategoryname       string `json:"oscategoryname,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Podname              string `json:"podname,omitempty"`
	Removed              string `json:"removed,omitempty"`
	Resourcestate        string `json:"resourcestate,omitempty"`
	State                string `json:"state,omitempty"`
	Suitableformigration bool   `json:"suitableformigration,omitempty"`
	Type                 string `json:"type,omitempty"`
	Version              string `json:"version,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

type CancelStorageMaintenanceParams

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

func (*CancelStorageMaintenanceParams) SetId

type CancelStorageMaintenanceResponse

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

type Capability

type Capability struct {
	Allowusercreateprojects     bool   `json:"allowusercreateprojects,omitempty"`
	Allowuserexpungerecovervm   bool   `json:"allowuserexpungerecovervm,omitempty"`
	Allowuserviewdestroyedvm    bool   `json:"allowuserviewdestroyedvm,omitempty"`
	Apilimitinterval            int    `json:"apilimitinterval,omitempty"`
	Apilimitmax                 int    `json:"apilimitmax,omitempty"`
	Cloudstackversion           string `json:"cloudstackversion,omitempty"`
	Cosmic                      bool   `json:"cosmic,omitempty"`
	Customdiskofferingmaxsize   int64  `json:"customdiskofferingmaxsize,omitempty"`
	Customdiskofferingminsize   int64  `json:"customdiskofferingminsize,omitempty"`
	Kvmdeploymentsenabled       bool   `json:"kvmdeploymentsenabled,omitempty"`
	Kvmsnapshotenabled          bool   `json:"kvmsnapshotenabled,omitempty"`
	Projectinviterequired       bool   `json:"projectinviterequired,omitempty"`
	Regionsecondaryenabled      bool   `json:"regionsecondaryenabled,omitempty"`
	SupportELB                  string `json:"supportELB,omitempty"`
	Userpublictemplateenabled   bool   `json:"userpublictemplateenabled,omitempty"`
	Xenserverdeploymentsenabled bool   `json:"xenserverdeploymentsenabled,omitempty"`
}

type Capacity

type Capacity struct {
	Capacitytotal       int64  `json:"capacitytotal,omitempty"`
	Capacityused        int64  `json:"capacityused,omitempty"`
	Clusterid           string `json:"clusterid,omitempty"`
	Clustername         string `json:"clustername,omitempty"`
	Percentageallocated string `json:"percentageallocated,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Podname             string `json:"podname,omitempty"`
	Type                int    `json:"type,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type CertificateService

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

func NewCertificateService

func NewCertificateService(cs *CosmicClient) *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 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,omitempty"`
	Created             string `json:"created,omitempty"`
	Dns1                string `json:"dns1,omitempty"`
	Dns2                string `json:"dns2,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Gateway             string `json:"gateway,omitempty"`
	Guestipaddress      string `json:"guestipaddress,omitempty"`
	Guestmacaddress     string `json:"guestmacaddress,omitempty"`
	Guestnetmask        string `json:"guestnetmask,omitempty"`
	Guestnetworkid      string `json:"guestnetworkid,omitempty"`
	Guestnetworkname    string `json:"guestnetworkname,omitempty"`
	Hostid              string `json:"hostid,omitempty"`
	Hostname            string `json:"hostname,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Id                  string `json:"id,omitempty"`
	Ip6dns1             string `json:"ip6dns1,omitempty"`
	Ip6dns2             string `json:"ip6dns2,omitempty"`
	Isredundantrouter   bool   `json:"isredundantrouter,omitempty"`
	Laststartdate       string `json:"laststartdate,omitempty"`
	Laststartversion    string `json:"laststartversion,omitempty"`
	Linklocalip         string `json:"linklocalip,omitempty"`
	Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask    string `json:"linklocalnetmask,omitempty"`
	Linklocalnetworkid  string `json:"linklocalnetworkid,omitempty"`
	Name                string `json:"name,omitempty"`
	Networkdomain       string `json:"networkdomain,omitempty"`
	Nic                 []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Project             string `json:"project,omitempty"`
	Projectid           string `json:"projectid,omitempty"`
	Publicip            string `json:"publicip,omitempty"`
	Publicmacaddress    string `json:"publicmacaddress,omitempty"`
	Publicnetmask       string `json:"publicnetmask,omitempty"`
	Publicnetworkid     string `json:"publicnetworkid,omitempty"`
	Redundantstate      string `json:"redundantstate,omitempty"`
	Requiresupgrade     bool   `json:"requiresupgrade,omitempty"`
	Role                string `json:"role,omitempty"`
	Routerunicastid     int64  `json:"routerunicastid,omitempty"`
	Scriptsversion      string `json:"scriptsversion,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Version             string `json:"version,omitempty"`
	Vpcid               string `json:"vpcid,omitempty"`
	Vpcname             string `json:"vpcname,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

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,omitempty"`
	Created              string `json:"created,omitempty"`
	Dns1                 string `json:"dns1,omitempty"`
	Dns2                 string `json:"dns2,omitempty"`
	Gateway              string `json:"gateway,omitempty"`
	Hostid               string `json:"hostid,omitempty"`
	Hostname             string `json:"hostname,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Id                   string `json:"id,omitempty"`
	Jobid                string `json:"jobid,omitempty"`
	Jobstatus            int    `json:"jobstatus,omitempty"`
	Linklocalip          string `json:"linklocalip,omitempty"`
	Linklocalmacaddress  string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask     string `json:"linklocalnetmask,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkdomain        string `json:"networkdomain,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Privateip            string `json:"privateip,omitempty"`
	Privatemacaddress    string `json:"privatemacaddress,omitempty"`
	Privatenetmask       string `json:"privatenetmask,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicmacaddress     string `json:"publicmacaddress,omitempty"`
	Publicnetmask        string `json:"publicnetmask,omitempty"`
	State                string `json:"state,omitempty"`
	Systemvmtype         string `json:"systemvmtype,omitempty"`
	Templateid           string `json:"templateid,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

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,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type CleanVMReservationsParams

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

type CleanVMReservationsResponse

type CleanVMReservationsResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type CloudOpsService

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

func NewCloudOpsService

func NewCloudOpsService(cs *CosmicClient) *CloudOpsService

func (*CloudOpsService) ListHAWorkers

Lists all HA workers

func (*CloudOpsService) ListWhoHasThisIp

Lists all for this IP address

func (*CloudOpsService) ListWhoHasThisMac

Lists all for this MAC address

func (*CloudOpsService) NewListHAWorkersParams

func (s *CloudOpsService) NewListHAWorkersParams() *ListHAWorkersParams

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

func (*CloudOpsService) NewListWhoHasThisIpParams

func (s *CloudOpsService) NewListWhoHasThisIpParams(ipaddress string) *ListWhoHasThisIpParams

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

func (*CloudOpsService) NewListWhoHasThisMacParams

func (s *CloudOpsService) NewListWhoHasThisMacParams() *ListWhoHasThisMacParams

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

type Cluster

type Cluster struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Clustertype           string `json:"clustertype,omitempty"`
	Cpuovercommitratio    string `json:"cpuovercommitratio,omitempty"`
	Hypervisortype        string `json:"hypervisortype,omitempty"`
	Id                    string `json:"id,omitempty"`
	Managedstate          string `json:"managedstate,omitempty"`
	Memoryovercommitratio string `json:"memoryovercommitratio,omitempty"`
	Name                  string `json:"name,omitempty"`
	Podid                 string `json:"podid,omitempty"`
	Podname               string `json:"podname,omitempty"`
	Zoneid                string `json:"zoneid,omitempty"`
	Zonename              string `json:"zonename,omitempty"`
}

type ClusterService

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

func NewClusterService

func NewClusterService(cs *CosmicClient) *ClusterService

func (*ClusterService) AddCluster

Adds a new cluster

func (*ClusterService) DedicateCluster

Dedicate an existing cluster

func (*ClusterService) DeleteCluster

Deletes 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) ListClusters

Lists clusters.

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) 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 Configuration

type Configuration struct {
	Category    string `json:"category,omitempty"`
	Description string `json:"description,omitempty"`
	Id          int64  `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Scope       string `json:"scope,omitempty"`
	Value       string `json:"value,omitempty"`
}

type ConfigurationService

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

func NewConfigurationService

func NewConfigurationService(cs *CosmicClient) *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 ConfigureVirtualRouterElementParams

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

func (*ConfigureVirtualRouterElementParams) SetEnabled

func (p *ConfigureVirtualRouterElementParams) SetEnabled(v bool)

func (*ConfigureVirtualRouterElementParams) SetId

type ConfigureVirtualRouterElementResponse

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

type CopyIsoParams

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

func (*CopyIsoParams) SetDestzoneid

func (p *CopyIsoParams) SetDestzoneid(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 {
	JobID                 string            `json:"jobid,omitempty"`
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type CopyTemplateParams

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

func (*CopyTemplateParams) SetDestzoneid

func (p *CopyTemplateParams) SetDestzoneid(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 {
	JobID                 string            `json:"jobid,omitempty"`
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type CosmicClient

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

	Account          *AccountService
	AffinityGroup    *AffinityGroupService
	Alert            *AlertService
	Asyncjob         *AsyncjobService
	Authentication   *AuthenticationService
	Certificate      *CertificateService
	CloudOps         *CloudOpsService
	Cluster          *ClusterService
	Configuration    *ConfigurationService
	DiskOffering     *DiskOfferingService
	Domain           *DomainService
	Event            *EventService
	Firewall         *FirewallService
	GuestOS          *GuestOSService
	Host             *HostService
	Hypervisor       *HypervisorService
	ISO              *ISOService
	ImageStore       *ImageStoreService
	Limit            *LimitService
	LoadBalancer     *LoadBalancerService
	NAT              *NATService
	NetworkACL       *NetworkACLService
	NetworkDevice    *NetworkDeviceService
	NetworkOffering  *NetworkOfferingService
	Network          *NetworkService
	Nic              *NicService
	NiciraNVP        *NiciraNVPService
	Pod              *PodService
	Project          *ProjectService
	PublicIPAddress  *PublicIPAddressService
	Region           *RegionService
	Resourcemetadata *ResourcemetadataService
	Resourcetags     *ResourcetagsService
	Router           *RouterService
	SSH              *SSHService
	ServiceOffering  *ServiceOfferingService
	Snapshot         *SnapshotService
	StoragePool      *StoragePoolService
	System           *SystemService
	SystemVM         *SystemVMService
	Template         *TemplateService
	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, tlsConfig *tls.Config, timeout int64) *CosmicClient

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. Timeout for the http request is in seconds.

func NewClient

func NewClient(apiurl string, apikey string, secret string, tlsConfig *tls.Config, timeout int64) *CosmicClient

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 Cosmic API, you would probably want to set 'verifyssl' to false so the call ignores the SSL errors/warnings. Timeout for the http request is in seconds.

func (*CosmicClient) AsyncTimeout

func (cs *CosmicClient) 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 (*CosmicClient) GetAsyncJobResult

func (cs *CosmicClient) 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 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) 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,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

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 {
	JobID             string   `json:"jobid,omitempty"`
	Account           string   `json:"account,omitempty"`
	Description       string   `json:"description,omitempty"`
	Domain            string   `json:"domain,omitempty"`
	Domainid          string   `json:"domainid,omitempty"`
	Id                string   `json:"id,omitempty"`
	Name              string   `json:"name,omitempty"`
	Project           string   `json:"project,omitempty"`
	Projectid         string   `json:"projectid,omitempty"`
	Type              string   `json:"type,omitempty"`
	VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
}

type CreateDiskOfferingParams

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

func (*CreateDiskOfferingParams) SetBytesreadrate

func (p *CreateDiskOfferingParams) SetBytesreadrate(v int64)

func (*CreateDiskOfferingParams) SetByteswriterate

func (p *CreateDiskOfferingParams) SetByteswriterate(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) SetIopsratepergb

func (p *CreateDiskOfferingParams) SetIopsratepergb(v bool)

func (*CreateDiskOfferingParams) SetIopsreadrate

func (p *CreateDiskOfferingParams) SetIopsreadrate(v int64)

func (*CreateDiskOfferingParams) SetIopstotalrate

func (p *CreateDiskOfferingParams) SetIopstotalrate(v int64)

func (*CreateDiskOfferingParams) SetIopswriterate

func (p *CreateDiskOfferingParams) SetIopswriterate(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,omitempty"`
	Created                   string `json:"created,omitempty"`
	DiskBytesReadRate         int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate        int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb         bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate          int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate         int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate         int64  `json:"diskIopsWriteRate,omitempty"`
	Disksize                  int64  `json:"disksize,omitempty"`
	Displayoffering           bool   `json:"displayoffering,omitempty"`
	Displaytext               string `json:"displaytext,omitempty"`
	Domain                    string `json:"domain,omitempty"`
	Domainid                  string `json:"domainid,omitempty"`
	Hypervisorsnapshotreserve int    `json:"hypervisorsnapshotreserve,omitempty"`
	Id                        string `json:"id,omitempty"`
	Iscustomized              bool   `json:"iscustomized,omitempty"`
	Iscustomizediops          bool   `json:"iscustomizediops,omitempty"`
	Maxiops                   int64  `json:"maxiops,omitempty"`
	Miniops                   int64  `json:"miniops,omitempty"`
	Name                      string `json:"name,omitempty"`
	Provisioningtype          string `json:"provisioningtype,omitempty"`
	Storagetype               string `json:"storagetype,omitempty"`
	Tags                      string `json:"tags,omitempty"`
}

type CreateDomainParams

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

func (*CreateDomainParams) SetDomainid

func (p *CreateDomainParams) SetDomainid(v string)

func (*CreateDomainParams) SetEmail

func (p *CreateDomainParams) SetEmail(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,omitempty"`
	Cpulimit                  string `json:"cpulimit,omitempty"`
	Cputotal                  int64  `json:"cputotal,omitempty"`
	Email                     string `json:"email,omitempty"`
	Haschild                  bool   `json:"haschild,omitempty"`
	Id                        string `json:"id,omitempty"`
	Ipavailable               string `json:"ipavailable,omitempty"`
	Iplimit                   string `json:"iplimit,omitempty"`
	Iptotal                   int64  `json:"iptotal,omitempty"`
	Level                     int    `json:"level,omitempty"`
	Memoryavailable           string `json:"memoryavailable,omitempty"`
	Memorylimit               string `json:"memorylimit,omitempty"`
	Memorytotal               int64  `json:"memorytotal,omitempty"`
	Name                      string `json:"name,omitempty"`
	Networkavailable          string `json:"networkavailable,omitempty"`
	Networkdomain             string `json:"networkdomain,omitempty"`
	Networklimit              string `json:"networklimit,omitempty"`
	Networktotal              int64  `json:"networktotal,omitempty"`
	Parentdomainid            string `json:"parentdomainid,omitempty"`
	Parentdomainname          string `json:"parentdomainname,omitempty"`
	Path                      string `json:"path,omitempty"`
	Primarystorageavailable   string `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64  `json:"primarystoragetotal,omitempty"`
	Projectavailable          string `json:"projectavailable,omitempty"`
	Projectlimit              string `json:"projectlimit,omitempty"`
	Projecttotal              int64  `json:"projecttotal,omitempty"`
	Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64  `json:"secondarystoragetotal,omitempty"`
	Snapshotavailable         string `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64  `json:"snapshottotal,omitempty"`
	State                     string `json:"state,omitempty"`
	Templateavailable         string `json:"templateavailable,omitempty"`
	Templatelimit             string `json:"templatelimit,omitempty"`
	Templatetotal             int64  `json:"templatetotal,omitempty"`
	Vmavailable               string `json:"vmavailable,omitempty"`
	Vmlimit                   string `json:"vmlimit,omitempty"`
	Vmtotal                   int64  `json:"vmtotal,omitempty"`
	Volumeavailable           string `json:"volumeavailable,omitempty"`
	Volumelimit               string `json:"volumelimit,omitempty"`
	Volumetotal               int64  `json:"volumetotal,omitempty"`
	Vpcavailable              string `json:"vpcavailable,omitempty"`
	Vpclimit                  string `json:"vpclimit,omitempty"`
	Vpctotal                  int64  `json:"vpctotal,omitempty"`
}

type CreateEgressFirewallRuleParams

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

func (*CreateEgressFirewallRuleParams) SetCidrlist

func (p *CreateEgressFirewallRuleParams) SetCidrlist(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 {
	JobID       string `json:"jobid,omitempty"`
	Cidrlist    string `json:"cidrlist,omitempty"`
	Endport     int    `json:"endport,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Icmpcode    int    `json:"icmpcode,omitempty"`
	Icmptype    int    `json:"icmptype,omitempty"`
	Id          string `json:"id,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipaddressid string `json:"ipaddressid,omitempty"`
	Networkid   string `json:"networkid,omitempty"`
	Protocol    string `json:"protocol,omitempty"`
	Startport   int    `json:"startport,omitempty"`
	State       string `json:"state,omitempty"`
	Tags        []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Cidrlist    string `json:"cidrlist,omitempty"`
	Endport     int    `json:"endport,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Icmpcode    int    `json:"icmpcode,omitempty"`
	Icmptype    int    `json:"icmptype,omitempty"`
	Id          string `json:"id,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipaddressid string `json:"ipaddressid,omitempty"`
	Networkid   string `json:"networkid,omitempty"`
	Protocol    string `json:"protocol,omitempty"`
	Startport   int    `json:"startport,omitempty"`
	State       string `json:"state,omitempty"`
	Tags        []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

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,omitempty"`
	Created   string `json:"created,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
}

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 {
	JobID          string `json:"jobid,omitempty"`
	Cidrlist       string `json:"cidrlist,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Ipaddress      string `json:"ipaddress,omitempty"`
	Ipaddressid    string `json:"ipaddressid,omitempty"`
	Networkid      string `json:"networkid,omitempty"`
	Privateendport string `json:"privateendport,omitempty"`
	Privateport    string `json:"privateport,omitempty"`
	Protocol       string `json:"protocol,omitempty"`
	Publicendport  string `json:"publicendport,omitempty"`
	Publicport     string `json:"publicport,omitempty"`
	State          string `json:"state,omitempty"`
	Tags           []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vmguestip                 string `json:"vmguestip,omitempty"`
}

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 {
	JobID             string `json:"jobid,omitempty"`
	Account           string `json:"account,omitempty"`
	Domain            string `json:"domain,omitempty"`
	Domainid          string `json:"domainid,omitempty"`
	Healthcheckpolicy []struct {
		Description             string `json:"description,omitempty"`
		Fordisplay              bool   `json:"fordisplay,omitempty"`
		Healthcheckinterval     int    `json:"healthcheckinterval,omitempty"`
		Healthcheckthresshold   int    `json:"healthcheckthresshold,omitempty"`
		Id                      string `json:"id,omitempty"`
		Pingpath                string `json:"pingpath,omitempty"`
		Responsetime            int    `json:"responsetime,omitempty"`
		State                   string `json:"state,omitempty"`
		Unhealthcheckthresshold int    `json:"unhealthcheckthresshold,omitempty"`
	} `json:"healthcheckpolicy,omitempty"`
	Lbruleid string `json:"lbruleid,omitempty"`
	Zoneid   string `json:"zoneid,omitempty"`
}

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 {
	JobID            string `json:"jobid,omitempty"`
	Account          string `json:"account,omitempty"`
	Description      string `json:"description,omitempty"`
	Domain           string `json:"domain,omitempty"`
	Domainid         string `json:"domainid,omitempty"`
	Lbruleid         string `json:"lbruleid,omitempty"`
	Name             string `json:"name,omitempty"`
	State            string `json:"state,omitempty"`
	Stickinesspolicy []struct {
		Description string            `json:"description,omitempty"`
		Fordisplay  bool              `json:"fordisplay,omitempty"`
		Id          string            `json:"id,omitempty"`
		Methodname  string            `json:"methodname,omitempty"`
		Name        string            `json:"name,omitempty"`
		Params      map[string]string `json:"params,omitempty"`
		State       string            `json:"state,omitempty"`
	} `json:"stickinesspolicy,omitempty"`
	Zoneid string `json:"zoneid,omitempty"`
}

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) SetClienttimeout

func (p *CreateLoadBalancerRuleParams) SetClienttimeout(v int)

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) SetServertimeout

func (p *CreateLoadBalancerRuleParams) SetServertimeout(v int)

func (*CreateLoadBalancerRuleParams) SetZoneid

func (p *CreateLoadBalancerRuleParams) SetZoneid(v string)

type CreateLoadBalancerRuleResponse

type CreateLoadBalancerRuleResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Algorithm     string `json:"algorithm,omitempty"`
	Cidrlist      string `json:"cidrlist,omitempty"`
	Clienttimeout int    `json:"clienttimeout,omitempty"`
	Description   string `json:"description,omitempty"`
	Domain        string `json:"domain,omitempty"`
	Domainid      string `json:"domainid,omitempty"`
	Fordisplay    bool   `json:"fordisplay,omitempty"`
	Id            string `json:"id,omitempty"`
	Name          string `json:"name,omitempty"`
	Networkid     string `json:"networkid,omitempty"`
	Privateport   string `json:"privateport,omitempty"`
	Project       string `json:"project,omitempty"`
	Projectid     string `json:"projectid,omitempty"`
	Protocol      string `json:"protocol,omitempty"`
	Publicip      string `json:"publicip,omitempty"`
	Publicipid    string `json:"publicipid,omitempty"`
	Publicport    string `json:"publicport,omitempty"`
	Servertimeout int    `json:"servertimeout,omitempty"`
	State         string `json:"state,omitempty"`
	Tags          []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Zoneid string `json:"zoneid,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Description string `json:"description,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Id          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Vpcid       string `json:"vpcid,omitempty"`
}

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) SetStartport

func (p *CreateNetworkACLParams) SetStartport(v int)

func (*CreateNetworkACLParams) SetTraffictype

func (p *CreateNetworkACLParams) SetTraffictype(v string)

type CreateNetworkACLResponse

type CreateNetworkACLResponse struct {
	JobID      string `json:"jobid,omitempty"`
	Aclid      string `json:"aclid,omitempty"`
	Action     string `json:"action,omitempty"`
	Cidrlist   string `json:"cidrlist,omitempty"`
	Endport    string `json:"endport,omitempty"`
	Fordisplay bool   `json:"fordisplay,omitempty"`
	Icmpcode   int    `json:"icmpcode,omitempty"`
	Icmptype   int    `json:"icmptype,omitempty"`
	Id         string `json:"id,omitempty"`
	Number     int    `json:"number,omitempty"`
	Protocol   string `json:"protocol,omitempty"`
	Startport  string `json:"startport,omitempty"`
	State      string `json:"state,omitempty"`
	Tags       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype string `json:"traffictype,omitempty"`
}

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) 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) SetSecondaryserviceofferingid

func (p *CreateNetworkOfferingParams) SetSecondaryserviceofferingid(v string)

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,omitempty"`
	Conservemode                 bool              `json:"conservemode,omitempty"`
	Created                      string            `json:"created,omitempty"`
	Details                      map[string]string `json:"details,omitempty"`
	Displaytext                  string            `json:"displaytext,omitempty"`
	Egressdefaultpolicy          bool              `json:"egressdefaultpolicy,omitempty"`
	Forvpc                       bool              `json:"forvpc,omitempty"`
	Guestiptype                  string            `json:"guestiptype,omitempty"`
	Id                           string            `json:"id,omitempty"`
	Isdefault                    bool              `json:"isdefault,omitempty"`
	Ispersistent                 bool              `json:"ispersistent,omitempty"`
	Maxconnections               int               `json:"maxconnections,omitempty"`
	Name                         string            `json:"name,omitempty"`
	Networkrate                  int               `json:"networkrate,omitempty"`
	Secondaryserviceofferingid   string            `json:"secondaryserviceofferingid,omitempty"`
	Secondaryserviceofferingname string            `json:"secondaryserviceofferingname,omitempty"`
	Service                      []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Serviceofferingid        string `json:"serviceofferingid,omitempty"`
	Serviceofferingname      string `json:"serviceofferingname,omitempty"`
	Specifyipranges          bool   `json:"specifyipranges,omitempty"`
	Specifyvlan              bool   `json:"specifyvlan,omitempty"`
	State                    string `json:"state,omitempty"`
	Supportsstrechedl2subnet bool   `json:"supportsstrechedl2subnet,omitempty"`
	Tags                     string `json:"tags,omitempty"`
	Traffictype              string `json:"traffictype,omitempty"`
}

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) SetCidr

func (p *CreateNetworkParams) SetCidr(v string)

func (*CreateNetworkParams) SetDhcpbootfilename

func (p *CreateNetworkParams) SetDhcpbootfilename(v string)

func (*CreateNetworkParams) SetDhcptftpserver

func (p *CreateNetworkParams) SetDhcptftpserver(v string)

func (*CreateNetworkParams) SetDisplaynetwork

func (p *CreateNetworkParams) SetDisplaynetwork(v bool)

func (*CreateNetworkParams) SetDisplaytext

func (p *CreateNetworkParams) SetDisplaytext(v string)

func (*CreateNetworkParams) SetDns1

func (p *CreateNetworkParams) SetDns1(v string)

func (*CreateNetworkParams) SetDns2

func (p *CreateNetworkParams) SetDns2(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) 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) SetIpexclusionlist

func (p *CreateNetworkParams) SetIpexclusionlist(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,omitempty"`
	Aclid                       string `json:"aclid,omitempty"`
	Aclname                     string `json:"aclname,omitempty"`
	Acltype                     string `json:"acltype,omitempty"`
	Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
	Broadcasturi                string `json:"broadcasturi,omitempty"`
	Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
	Cidr                        string `json:"cidr,omitempty"`
	Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
	Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
	Displaynetwork              bool   `json:"displaynetwork,omitempty"`
	Displaytext                 string `json:"displaytext,omitempty"`
	Dns1                        string `json:"dns1,omitempty"`
	Dns2                        string `json:"dns2,omitempty"`
	Domain                      string `json:"domain,omitempty"`
	Domainid                    string `json:"domainid,omitempty"`
	Gateway                     string `json:"gateway,omitempty"`
	Id                          string `json:"id,omitempty"`
	Ip6cidr                     string `json:"ip6cidr,omitempty"`
	Ip6gateway                  string `json:"ip6gateway,omitempty"`
	Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
	Isdefault                   bool   `json:"isdefault,omitempty"`
	Ispersistent                bool   `json:"ispersistent,omitempty"`
	Issystem                    bool   `json:"issystem,omitempty"`
	Name                        string `json:"name,omitempty"`
	Netmask                     string `json:"netmask,omitempty"`
	Networkcidr                 string `json:"networkcidr,omitempty"`
	Networkdomain               string `json:"networkdomain,omitempty"`
	Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
	Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
	Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
	Networkofferingid           string `json:"networkofferingid,omitempty"`
	Networkofferingname         string `json:"networkofferingname,omitempty"`
	Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
	Project                     string `json:"project,omitempty"`
	Projectid                   string `json:"projectid,omitempty"`
	Related                     string `json:"related,omitempty"`
	Reservediprange             string `json:"reservediprange,omitempty"`
	Restartrequired             bool   `json:"restartrequired,omitempty"`
	Service                     []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Specifyipranges  bool   `json:"specifyipranges,omitempty"`
	State            string `json:"state,omitempty"`
	Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
	Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype       string   `json:"traffictype,omitempty"`
	Type              string   `json:"type,omitempty"`
	Vlan              string   `json:"vlan,omitempty"`
	Vpcid             string   `json:"vpcid,omitempty"`
	Vpcname           string   `json:"vpcname,omitempty"`
	Zoneid            string   `json:"zoneid,omitempty"`
	Zonename          string   `json:"zonename,omitempty"`
	Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
}

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 {
	JobID                string `json:"jobid,omitempty"`
	Broadcastdomainrange string `json:"broadcastdomainrange,omitempty"`
	Domainid             string `json:"domainid,omitempty"`
	Id                   string `json:"id,omitempty"`
	Isolationmethods     string `json:"isolationmethods,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkspeed         string `json:"networkspeed,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 string `json:"tags,omitempty"`
	Vlan                 string `json:"vlan,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
}

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,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Endip    string `json:"endip,omitempty"`
	Gateway  string `json:"gateway,omitempty"`
	Id       string `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
	Netmask  string `json:"netmask,omitempty"`
	Startip  string `json:"startip,omitempty"`
	Zoneid   string `json:"zoneid,omitempty"`
	Zonename string `json:"zonename,omitempty"`
}

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 {
	JobID          string `json:"jobid,omitempty"`
	Cidrlist       string `json:"cidrlist,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Ipaddress      string `json:"ipaddress,omitempty"`
	Ipaddressid    string `json:"ipaddressid,omitempty"`
	Networkid      string `json:"networkid,omitempty"`
	Privateendport string `json:"privateendport,omitempty"`
	Privateport    string `json:"privateport,omitempty"`
	Protocol       string `json:"protocol,omitempty"`
	Publicendport  string `json:"publicendport,omitempty"`
	Publicport     string `json:"publicport,omitempty"`
	State          string `json:"state,omitempty"`
	Tags           []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vmguestip                 string `json:"vmguestip,omitempty"`
}

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) SetNetworkid

func (p *CreatePrivateGatewayParams) SetNetworkid(v string)

func (*CreatePrivateGatewayParams) SetSourcenatsupported

func (p *CreatePrivateGatewayParams) SetSourcenatsupported(v bool)

func (*CreatePrivateGatewayParams) SetVpcid

func (p *CreatePrivateGatewayParams) SetVpcid(v string)

type CreatePrivateGatewayResponse

type CreatePrivateGatewayResponse struct {
	JobID              string `json:"jobid,omitempty"`
	Account            string `json:"account,omitempty"`
	Aclid              string `json:"aclid,omitempty"`
	Cidr               string `json:"cidr,omitempty"`
	Domain             string `json:"domain,omitempty"`
	Domainid           string `json:"domainid,omitempty"`
	Id                 string `json:"id,omitempty"`
	Ipaddress          string `json:"ipaddress,omitempty"`
	Networkid          string `json:"networkid,omitempty"`
	Networkname        string `json:"networkname,omitempty"`
	Project            string `json:"project,omitempty"`
	Projectid          string `json:"projectid,omitempty"`
	Sourcenatsupported bool   `json:"sourcenatsupported,omitempty"`
	State              string `json:"state,omitempty"`
	Vlan               string `json:"vlan,omitempty"`
	Vpcid              string `json:"vpcid,omitempty"`
	Zoneid             string `json:"zoneid,omitempty"`
	Zonename           string `json:"zonename,omitempty"`
}

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 {
	JobID                     string `json:"jobid,omitempty"`
	Account                   string `json:"account,omitempty"`
	Cpuavailable              string `json:"cpuavailable,omitempty"`
	Cpulimit                  string `json:"cpulimit,omitempty"`
	Cputotal                  int64  `json:"cputotal,omitempty"`
	Displaytext               string `json:"displaytext,omitempty"`
	Domain                    string `json:"domain,omitempty"`
	Domainid                  string `json:"domainid,omitempty"`
	Id                        string `json:"id,omitempty"`
	Ipavailable               string `json:"ipavailable,omitempty"`
	Iplimit                   string `json:"iplimit,omitempty"`
	Iptotal                   int64  `json:"iptotal,omitempty"`
	Memoryavailable           string `json:"memoryavailable,omitempty"`
	Memorylimit               string `json:"memorylimit,omitempty"`
	Memorytotal               int64  `json:"memorytotal,omitempty"`
	Name                      string `json:"name,omitempty"`
	Networkavailable          string `json:"networkavailable,omitempty"`
	Networklimit              string `json:"networklimit,omitempty"`
	Networktotal              int64  `json:"networktotal,omitempty"`
	Primarystorageavailable   string `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64  `json:"primarystoragetotal,omitempty"`
	Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64  `json:"secondarystoragetotal,omitempty"`
	Snapshotavailable         string `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64  `json:"snapshottotal,omitempty"`
	State                     string `json:"state,omitempty"`
	Tags                      []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templateavailable string `json:"templateavailable,omitempty"`
	Templatelimit     string `json:"templatelimit,omitempty"`
	Templatetotal     int64  `json:"templatetotal,omitempty"`
	Vmavailable       string `json:"vmavailable,omitempty"`
	Vmlimit           string `json:"vmlimit,omitempty"`
	Vmrunning         int    `json:"vmrunning,omitempty"`
	Vmstopped         int    `json:"vmstopped,omitempty"`
	Vmtotal           int64  `json:"vmtotal,omitempty"`
	Volumeavailable   string `json:"volumeavailable,omitempty"`
	Volumelimit       string `json:"volumelimit,omitempty"`
	Volumetotal       int64  `json:"volumetotal,omitempty"`
	Vpcavailable      string `json:"vpcavailable,omitempty"`
	Vpclimit          string `json:"vpclimit,omitempty"`
	Vpctotal          int64  `json:"vpctotal,omitempty"`
}

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 {
	JobID        string `json:"jobid,omitempty"`
	Account      string `json:"account,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Fordisplay   bool   `json:"fordisplay,omitempty"`
	Id           string `json:"id,omitempty"`
	Iprange      string `json:"iprange,omitempty"`
	Presharedkey string `json:"presharedkey,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Publicip     string `json:"publicip,omitempty"`
	Publicipid   string `json:"publicipid,omitempty"`
	State        string `json:"state,omitempty"`
}

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 {
	Privatekey string `json:"privatekey,omitempty"`
}

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 {
	Details      []string `json:"details,omitempty"`
	Id           string   `json:"id,omitempty"`
	Name         string   `json:"name,omitempty"`
	Protocol     string   `json:"protocol,omitempty"`
	Providername string   `json:"providername,omitempty"`
	Scope        string   `json:"scope,omitempty"`
	Url          string   `json:"url,omitempty"`
	Zoneid       string   `json:"zoneid,omitempty"`
	Zonename     string   `json:"zonename,omitempty"`
}

type CreateServiceOfferingParams

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

func (*CreateServiceOfferingParams) SetBytesreadrate

func (p *CreateServiceOfferingParams) SetBytesreadrate(v int64)

func (*CreateServiceOfferingParams) SetByteswriterate

func (p *CreateServiceOfferingParams) SetByteswriterate(v int64)

func (*CreateServiceOfferingParams) SetCpunumber

func (p *CreateServiceOfferingParams) SetCpunumber(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) SetIopsratepergb

func (p *CreateServiceOfferingParams) SetIopsratepergb(v bool)

func (*CreateServiceOfferingParams) SetIopsreadrate

func (p *CreateServiceOfferingParams) SetIopsreadrate(v int64)

func (*CreateServiceOfferingParams) SetIopstotalrate

func (p *CreateServiceOfferingParams) SetIopstotalrate(v int64)

func (*CreateServiceOfferingParams) SetIopswriterate

func (p *CreateServiceOfferingParams) SetIopswriterate(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,omitempty"`
	Created                   string            `json:"created,omitempty"`
	Defaultuse                bool              `json:"defaultuse,omitempty"`
	Deploymentplanner         string            `json:"deploymentplanner,omitempty"`
	DiskBytesReadRate         int64             `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate        int64             `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb         bool              `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate          int64             `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate         int64             `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate         int64             `json:"diskIopsWriteRate,omitempty"`
	Displaytext               string            `json:"displaytext,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Hosttags                  string            `json:"hosttags,omitempty"`
	Hypervisorsnapshotreserve int               `json:"hypervisorsnapshotreserve,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Iscustomized              bool              `json:"iscustomized,omitempty"`
	Iscustomizediops          bool              `json:"iscustomizediops,omitempty"`
	Issystem                  bool              `json:"issystem,omitempty"`
	Isvolatile                bool              `json:"isvolatile,omitempty"`
	Limitcpuuse               bool              `json:"limitcpuuse,omitempty"`
	Maxiops                   int64             `json:"maxiops,omitempty"`
	Memory                    int               `json:"memory,omitempty"`
	Miniops                   int64             `json:"miniops,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkrate               int               `json:"networkrate,omitempty"`
	Offerha                   bool              `json:"offerha,omitempty"`
	Provisioningtype          string            `json:"provisioningtype,omitempty"`
	Serviceofferingdetails    map[string]string `json:"serviceofferingdetails,omitempty"`
	Storagetype               string            `json:"storagetype,omitempty"`
	Systemvmtype              string            `json:"systemvmtype,omitempty"`
	Tags                      string            `json:"tags,omitempty"`
}

type CreateSnapshotFromVMSnapshotParams

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

func (*CreateSnapshotFromVMSnapshotParams) SetName

func (*CreateSnapshotFromVMSnapshotParams) SetVmsnapshotid

func (p *CreateSnapshotFromVMSnapshotParams) SetVmsnapshotid(v string)

func (*CreateSnapshotFromVMSnapshotParams) SetVolumeid

func (p *CreateSnapshotFromVMSnapshotParams) SetVolumeid(v string)

type CreateSnapshotFromVMSnapshotResponse

type CreateSnapshotFromVMSnapshotResponse struct {
	JobID        string `json:"jobid,omitempty"`
	Account      string `json:"account,omitempty"`
	Created      string `json:"created,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Id           string `json:"id,omitempty"`
	Intervaltype string `json:"intervaltype,omitempty"`
	Name         string `json:"name,omitempty"`
	Physicalsize int64  `json:"physicalsize,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Revertable   bool   `json:"revertable,omitempty"`
	Snapshottype string `json:"snapshottype,omitempty"`
	State        string `json:"state,omitempty"`
	Tags         []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Volumeid   string `json:"volumeid,omitempty"`
	Volumename string `json:"volumename,omitempty"`
	Volumetype string `json:"volumetype,omitempty"`
	Zoneid     string `json:"zoneid,omitempty"`
}

type CreateSnapshotParams

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

func (*CreateSnapshotParams) SetAccount

func (p *CreateSnapshotParams) SetAccount(v string)

func (*CreateSnapshotParams) SetDomainid

func (p *CreateSnapshotParams) SetDomainid(v string)

func (*CreateSnapshotParams) SetName

func (p *CreateSnapshotParams) SetName(v string)

func (*CreateSnapshotParams) SetVolumeid

func (p *CreateSnapshotParams) SetVolumeid(v string)

type CreateSnapshotResponse

type CreateSnapshotResponse struct {
	JobID        string `json:"jobid,omitempty"`
	Account      string `json:"account,omitempty"`
	Created      string `json:"created,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Id           string `json:"id,omitempty"`
	Intervaltype string `json:"intervaltype,omitempty"`
	Name         string `json:"name,omitempty"`
	Physicalsize int64  `json:"physicalsize,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Revertable   bool   `json:"revertable,omitempty"`
	Snapshottype string `json:"snapshottype,omitempty"`
	State        string `json:"state,omitempty"`
	Tags         []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Volumeid   string `json:"volumeid,omitempty"`
	Volumename string `json:"volumename,omitempty"`
	Volumetype string `json:"volumetype,omitempty"`
	Zoneid     string `json:"zoneid,omitempty"`
}

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)

func (*CreateStaticRouteParams) SetNexthop

func (p *CreateStaticRouteParams) SetNexthop(v string)

func (*CreateStaticRouteParams) SetVpcid

func (p *CreateStaticRouteParams) SetVpcid(v string)

type CreateStaticRouteResponse

type CreateStaticRouteResponse struct {
	JobID     string `json:"jobid,omitempty"`
	Account   string `json:"account,omitempty"`
	Cidr      string `json:"cidr,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Nexthop   string `json:"nexthop,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
	State     string `json:"state,omitempty"`
	Tags      []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Vpcid string `json:"vpcid,omitempty"`
}

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 {
	JobID     string `json:"jobid,omitempty"`
	Endip     string `json:"endip,omitempty"`
	Gateway   string `json:"gateway,omitempty"`
	Id        string `json:"id,omitempty"`
	Netmask   string `json:"netmask,omitempty"`
	Networkid string `json:"networkid,omitempty"`
	Podid     string `json:"podid,omitempty"`
	Startip   string `json:"startip,omitempty"`
	Vlan      int    `json:"vlan,omitempty"`
	Zoneid    string `json:"zoneid,omitempty"`
}

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 {
	Capacityiops         int64             `json:"capacityiops,omitempty"`
	Clusterid            string            `json:"clusterid,omitempty"`
	Clustername          string            `json:"clustername,omitempty"`
	Created              string            `json:"created,omitempty"`
	Disksizeallocated    int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal        int64             `json:"disksizetotal,omitempty"`
	Disksizeused         int64             `json:"disksizeused,omitempty"`
	Hypervisor           string            `json:"hypervisor,omitempty"`
	Id                   string            `json:"id,omitempty"`
	Ipaddress            string            `json:"ipaddress,omitempty"`
	Name                 string            `json:"name,omitempty"`
	Overprovisionfactor  string            `json:"overprovisionfactor,omitempty"`
	Path                 string            `json:"path,omitempty"`
	Podid                string            `json:"podid,omitempty"`
	Podname              string            `json:"podname,omitempty"`
	Scope                string            `json:"scope,omitempty"`
	State                string            `json:"state,omitempty"`
	Storagecapabilities  map[string]string `json:"storagecapabilities,omitempty"`
	Suitableformigration bool              `json:"suitableformigration,omitempty"`
	Tags                 string            `json:"tags,omitempty"`
	Type                 string            `json:"type,omitempty"`
	Zoneid               string            `json:"zoneid,omitempty"`
	Zonename             string            `json:"zonename,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type CreateTemplateParams

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

func (*CreateTemplateParams) SetBits

func (p *CreateTemplateParams) SetBits(v int)

func (*CreateTemplateParams) SetCpuflags

func (p *CreateTemplateParams) SetCpuflags(v string)

func (*CreateTemplateParams) SetDetails

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

func (*CreateTemplateParams) SetDisplaytext

func (p *CreateTemplateParams) SetDisplaytext(v string)

func (*CreateTemplateParams) SetHypervisor

func (p *CreateTemplateParams) SetHypervisor(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) SetMaclearning

func (p *CreateTemplateParams) SetMaclearning(v string)

func (*CreateTemplateParams) SetMaintenancepolicy

func (p *CreateTemplateParams) SetMaintenancepolicy(v string)

func (*CreateTemplateParams) SetManufacturerstring

func (p *CreateTemplateParams) SetManufacturerstring(v string)

func (*CreateTemplateParams) SetName

func (p *CreateTemplateParams) SetName(v string)

func (*CreateTemplateParams) SetOptimisefor

func (p *CreateTemplateParams) SetOptimisefor(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) SetSnapshotid

func (p *CreateTemplateParams) SetSnapshotid(v string)

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 {
	JobID                 string            `json:"jobid,omitempty"`
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

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,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

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) SetVirtualmachineid

func (p *CreateVMSnapshotParams) SetVirtualmachineid(v string)

type CreateVMSnapshotResponse

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

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) SetSecondaryserviceofferingid

func (p *CreateVPCOfferingParams) SetSecondaryserviceofferingid(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 {
	JobID                        string `json:"jobid,omitempty"`
	Created                      string `json:"created,omitempty"`
	Displaytext                  string `json:"displaytext,omitempty"`
	Id                           string `json:"id,omitempty"`
	Isdefault                    bool   `json:"isdefault,omitempty"`
	Name                         string `json:"name,omitempty"`
	Secondaryserviceofferingid   string `json:"secondaryserviceofferingid,omitempty"`
	Secondaryserviceofferingname string `json:"secondaryserviceofferingname,omitempty"`
	Service                      []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
}

type CreateVPCParams

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

func (*CreateVPCParams) SetAccount

func (p *CreateVPCParams) SetAccount(v string)

func (*CreateVPCParams) SetAdvertinterval

func (p *CreateVPCParams) SetAdvertinterval(v int64)

func (*CreateVPCParams) SetAdvertmethod

func (p *CreateVPCParams) SetAdvertmethod(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) SetSourcenatlist

func (p *CreateVPCParams) SetSourcenatlist(v string)

func (*CreateVPCParams) SetStart

func (p *CreateVPCParams) SetStart(v bool)

func (*CreateVPCParams) SetSyslogserverlist

func (p *CreateVPCParams) SetSyslogserverlist(v string)

func (*CreateVPCParams) SetVpcofferingid

func (p *CreateVPCParams) SetVpcofferingid(v string)

func (*CreateVPCParams) SetZoneid

func (p *CreateVPCParams) SetZoneid(v string)

type CreateVPCResponse

type CreateVPCResponse struct {
	JobID          string `json:"jobid,omitempty"`
	Account        string `json:"account,omitempty"`
	Advertinterval int64  `json:"advertinterval,omitempty"`
	Advertmethod   string `json:"advertmethod,omitempty"`
	Cidr           string `json:"cidr,omitempty"`
	Created        string `json:"created,omitempty"`
	Displaytext    string `json:"displaytext,omitempty"`
	Domain         string `json:"domain,omitempty"`
	Domainid       string `json:"domainid,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	Network        []struct {
		Account                     string `json:"account,omitempty"`
		Aclid                       string `json:"aclid,omitempty"`
		Aclname                     string `json:"aclname,omitempty"`
		Acltype                     string `json:"acltype,omitempty"`
		Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
		Broadcasturi                string `json:"broadcasturi,omitempty"`
		Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
		Cidr                        string `json:"cidr,omitempty"`
		Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
		Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
		Displaynetwork              bool   `json:"displaynetwork,omitempty"`
		Displaytext                 string `json:"displaytext,omitempty"`
		Dns1                        string `json:"dns1,omitempty"`
		Dns2                        string `json:"dns2,omitempty"`
		Domain                      string `json:"domain,omitempty"`
		Domainid                    string `json:"domainid,omitempty"`
		Gateway                     string `json:"gateway,omitempty"`
		Id                          string `json:"id,omitempty"`
		Ip6cidr                     string `json:"ip6cidr,omitempty"`
		Ip6gateway                  string `json:"ip6gateway,omitempty"`
		Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
		Isdefault                   bool   `json:"isdefault,omitempty"`
		Ispersistent                bool   `json:"ispersistent,omitempty"`
		Issystem                    bool   `json:"issystem,omitempty"`
		Name                        string `json:"name,omitempty"`
		Netmask                     string `json:"netmask,omitempty"`
		Networkcidr                 string `json:"networkcidr,omitempty"`
		Networkdomain               string `json:"networkdomain,omitempty"`
		Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
		Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
		Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
		Networkofferingid           string `json:"networkofferingid,omitempty"`
		Networkofferingname         string `json:"networkofferingname,omitempty"`
		Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
		Project                     string `json:"project,omitempty"`
		Projectid                   string `json:"projectid,omitempty"`
		Related                     string `json:"related,omitempty"`
		Reservediprange             string `json:"reservediprange,omitempty"`
		Restartrequired             bool   `json:"restartrequired,omitempty"`
		Service                     []struct {
			Capability []struct {
				Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
				Name                       string `json:"name,omitempty"`
				Value                      string `json:"value,omitempty"`
			} `json:"capability,omitempty"`
			Name     string `json:"name,omitempty"`
			Provider []struct {
				Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
				Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
				Id                           string   `json:"id,omitempty"`
				Name                         string   `json:"name,omitempty"`
				Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
				Servicelist                  []string `json:"servicelist,omitempty"`
				State                        string   `json:"state,omitempty"`
			} `json:"provider,omitempty"`
		} `json:"service,omitempty"`
		Specifyipranges  bool   `json:"specifyipranges,omitempty"`
		State            string `json:"state,omitempty"`
		Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
		Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
		Tags             []struct {
			Account      string `json:"account,omitempty"`
			Customer     string `json:"customer,omitempty"`
			Domain       string `json:"domain,omitempty"`
			Domainid     string `json:"domainid,omitempty"`
			Key          string `json:"key,omitempty"`
			Project      string `json:"project,omitempty"`
			Projectid    string `json:"projectid,omitempty"`
			Resourceid   string `json:"resourceid,omitempty"`
			Resourcetype string `json:"resourcetype,omitempty"`
			Value        string `json:"value,omitempty"`
		} `json:"tags,omitempty"`
		Traffictype       string   `json:"traffictype,omitempty"`
		Type              string   `json:"type,omitempty"`
		Vlan              string   `json:"vlan,omitempty"`
		Vpcid             string   `json:"vpcid,omitempty"`
		Vpcname           string   `json:"vpcname,omitempty"`
		Zoneid            string   `json:"zoneid,omitempty"`
		Zonename          string   `json:"zonename,omitempty"`
		Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
	} `json:"network,omitempty"`
	Networkdomain      string `json:"networkdomain,omitempty"`
	Project            string `json:"project,omitempty"`
	Projectid          string `json:"projectid,omitempty"`
	Redundantvpcrouter bool   `json:"redundantvpcrouter,omitempty"`
	Restartrequired    bool   `json:"restartrequired,omitempty"`
	Service            []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Sourcenatlist    string `json:"sourcenatlist,omitempty"`
	State            string `json:"state,omitempty"`
	Syslogserverlist string `json:"syslogserverlist,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Vpcofferingdisplaytext string `json:"vpcofferingdisplaytext,omitempty"`
	Vpcofferingid          string `json:"vpcofferingid,omitempty"`
	Vpcofferingname        string `json:"vpcofferingname,omitempty"`
	Zoneid                 string `json:"zoneid,omitempty"`
	Zonename               string `json:"zonename,omitempty"`
}

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 {
	JobID     string `json:"jobid,omitempty"`
	Account   string `json:"account,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Enabled   bool   `json:"enabled,omitempty"`
	Id        string `json:"id,omitempty"`
	Nspid     string `json:"nspid,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
}

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) 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,omitempty"`
	Description       string `json:"description,omitempty"`
	Domain            string `json:"domain,omitempty"`
	Domainid          string `json:"domainid,omitempty"`
	Endip             string `json:"endip,omitempty"`
	Endipv6           string `json:"endipv6,omitempty"`
	Forvirtualnetwork bool   `json:"forvirtualnetwork,omitempty"`
	Gateway           string `json:"gateway,omitempty"`
	Id                string `json:"id,omitempty"`
	Ip6cidr           string `json:"ip6cidr,omitempty"`
	Ip6gateway        string `json:"ip6gateway,omitempty"`
	Netmask           string `json:"netmask,omitempty"`
	Networkid         string `json:"networkid,omitempty"`
	Physicalnetworkid string `json:"physicalnetworkid,omitempty"`
	Podid             string `json:"podid,omitempty"`
	Podname           string `json:"podname,omitempty"`
	Project           string `json:"project,omitempty"`
	Projectid         string `json:"projectid,omitempty"`
	Startip           string `json:"startip,omitempty"`
	Startipv6         string `json:"startipv6,omitempty"`
	Vlan              string `json:"vlan,omitempty"`
	Zoneid            string `json:"zoneid,omitempty"`
}

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) SetDiskcontroller

func (p *CreateVolumeParams) SetDiskcontroller(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) SetFormat

func (p *CreateVolumeParams) SetFormat(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 {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

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 {
	JobID                string `json:"jobid,omitempty"`
	Account              string `json:"account,omitempty"`
	Cidrlist             string `json:"cidrlist,omitempty"`
	Created              string `json:"created,omitempty"`
	Domain               string `json:"domain,omitempty"`
	Domainid             string `json:"domainid,omitempty"`
	Dpd                  bool   `json:"dpd,omitempty"`
	Esplifetime          int64  `json:"esplifetime,omitempty"`
	Esppolicy            string `json:"esppolicy,omitempty"`
	Forceencap           bool   `json:"forceencap,omitempty"`
	Fordisplay           bool   `json:"fordisplay,omitempty"`
	Gateway              string `json:"gateway,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ikelifetime          int64  `json:"ikelifetime,omitempty"`
	Ikepolicy            string `json:"ikepolicy,omitempty"`
	Ipsecpsk             string `json:"ipsecpsk,omitempty"`
	Passive              bool   `json:"passive,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Removed              string `json:"removed,omitempty"`
	S2scustomergatewayid string `json:"s2scustomergatewayid,omitempty"`
	S2svpngatewayid      string `json:"s2svpngatewayid,omitempty"`
	State                string `json:"state,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Account     string `json:"account,omitempty"`
	Cidrlist    string `json:"cidrlist,omitempty"`
	Domain      string `json:"domain,omitempty"`
	Domainid    string `json:"domainid,omitempty"`
	Dpd         bool   `json:"dpd,omitempty"`
	Esplifetime int64  `json:"esplifetime,omitempty"`
	Esppolicy   string `json:"esppolicy,omitempty"`
	Forceencap  bool   `json:"forceencap,omitempty"`
	Gateway     string `json:"gateway,omitempty"`
	Id          string `json:"id,omitempty"`
	Ikelifetime int64  `json:"ikelifetime,omitempty"`
	Ikepolicy   string `json:"ikepolicy,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipsecpsk    string `json:"ipsecpsk,omitempty"`
	Name        string `json:"name,omitempty"`
	Project     string `json:"project,omitempty"`
	Projectid   string `json:"projectid,omitempty"`
	Removed     string `json:"removed,omitempty"`
}

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 {
	JobID      string `json:"jobid,omitempty"`
	Account    string `json:"account,omitempty"`
	Domain     string `json:"domain,omitempty"`
	Domainid   string `json:"domainid,omitempty"`
	Fordisplay bool   `json:"fordisplay,omitempty"`
	Id         string `json:"id,omitempty"`
	Project    string `json:"project,omitempty"`
	Projectid  string `json:"projectid,omitempty"`
	Publicip   string `json:"publicip,omitempty"`
	Removed    string `json:"removed,omitempty"`
	Vpcid      string `json:"vpcid,omitempty"`
}

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)

type CreateZoneResponse

type CreateZoneResponse struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Description         string            `json:"description,omitempty"`
	Dhcpprovider        string            `json:"dhcpprovider,omitempty"`
	Displaytext         string            `json:"displaytext,omitempty"`
	Dns1                string            `json:"dns1,omitempty"`
	Dns2                string            `json:"dns2,omitempty"`
	Domain              string            `json:"domain,omitempty"`
	Domainid            string            `json:"domainid,omitempty"`
	Domainname          string            `json:"domainname,omitempty"`
	Guestcidraddress    string            `json:"guestcidraddress,omitempty"`
	Id                  string            `json:"id,omitempty"`
	Internaldns1        string            `json:"internaldns1,omitempty"`
	Internaldns2        string            `json:"internaldns2,omitempty"`
	Ip6dns1             string            `json:"ip6dns1,omitempty"`
	Ip6dns2             string            `json:"ip6dns2,omitempty"`
	Localstorageenabled bool              `json:"localstorageenabled,omitempty"`
	Name                string            `json:"name,omitempty"`
	Networktype         string            `json:"networktype,omitempty"`
	Resourcedetails     map[string]string `json:"resourcedetails,omitempty"`
	Tags                []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Zonetoken string `json:"zonetoken,omitempty"`
}

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 {
	JobID           string `json:"jobid,omitempty"`
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Clusterid       string `json:"clusterid,omitempty"`
	Clustername     string `json:"clustername,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Id              string `json:"id,omitempty"`
}

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,omitempty"`
	Domain            string `json:"domain,omitempty"`
	Domainid          string `json:"domainid,omitempty"`
	Guestvlanrange    string `json:"guestvlanrange,omitempty"`
	Id                string `json:"id,omitempty"`
	Physicalnetworkid int64  `json:"physicalnetworkid,omitempty"`
	Project           string `json:"project,omitempty"`
	Projectid         string `json:"projectid,omitempty"`
	Zoneid            int64  `json:"zoneid,omitempty"`
}

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 {
	JobID           string `json:"jobid,omitempty"`
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Hostid          string `json:"hostid,omitempty"`
	Hostname        string `json:"hostname,omitempty"`
	Id              string `json:"id,omitempty"`
}

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 {
	JobID           string `json:"jobid,omitempty"`
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Id              string `json:"id,omitempty"`
	Podid           string `json:"podid,omitempty"`
	Podname         string `json:"podname,omitempty"`
}

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,omitempty"`
	Description       string `json:"description,omitempty"`
	Domain            string `json:"domain,omitempty"`
	Domainid          string `json:"domainid,omitempty"`
	Endip             string `json:"endip,omitempty"`
	Endipv6           string `json:"endipv6,omitempty"`
	Forvirtualnetwork bool   `json:"forvirtualnetwork,omitempty"`
	Gateway           string `json:"gateway,omitempty"`
	Id                string `json:"id,omitempty"`
	Ip6cidr           string `json:"ip6cidr,omitempty"`
	Ip6gateway        string `json:"ip6gateway,omitempty"`
	Netmask           string `json:"netmask,omitempty"`
	Networkid         string `json:"networkid,omitempty"`
	Physicalnetworkid string `json:"physicalnetworkid,omitempty"`
	Podid             string `json:"podid,omitempty"`
	Podname           string `json:"podname,omitempty"`
	Project           string `json:"project,omitempty"`
	Projectid         string `json:"projectid,omitempty"`
	Startip           string `json:"startip,omitempty"`
	Startipv6         string `json:"startipv6,omitempty"`
	Vlan              string `json:"vlan,omitempty"`
	Zoneid            string `json:"zoneid,omitempty"`
}

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 {
	JobID           string `json:"jobid,omitempty"`
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Id              string `json:"id,omitempty"`
	Zoneid          string `json:"zoneid,omitempty"`
	Zonename        string `json:"zonename,omitempty"`
}

type DedicatedCluster

type DedicatedCluster struct {
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Clusterid       string `json:"clusterid,omitempty"`
	Clustername     string `json:"clustername,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Id              string `json:"id,omitempty"`
}

type DedicatedGuestVlanRange

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

type DedicatedHost

type DedicatedHost struct {
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Hostid          string `json:"hostid,omitempty"`
	Hostname        string `json:"hostname,omitempty"`
	Id              string `json:"id,omitempty"`
}

type DedicatedPod

type DedicatedPod struct {
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Id              string `json:"id,omitempty"`
	Podid           string `json:"podid,omitempty"`
	Podname         string `json:"podname,omitempty"`
}

type DedicatedZone

type DedicatedZone struct {
	Accountid       string `json:"accountid,omitempty"`
	Accountname     string `json:"accountname,omitempty"`
	Affinitygroupid string `json:"affinitygroupid,omitempty"`
	Domainid        string `json:"domainid,omitempty"`
	Domainname      string `json:"domainname,omitempty"`
	Id              string `json:"id,omitempty"`
	Zoneid          string `json:"zoneid,omitempty"`
	Zonename        string `json:"zonename,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteAccountParams

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

func (*DeleteAccountParams) SetId

func (p *DeleteAccountParams) SetId(v string)

type DeleteAccountResponse

type DeleteAccountResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteEgressFirewallRuleParams

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

func (*DeleteEgressFirewallRuleParams) SetId

type DeleteEgressFirewallRuleResponse

type DeleteEgressFirewallRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteFirewallRuleParams

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

func (*DeleteFirewallRuleParams) SetId

func (p *DeleteFirewallRuleParams) SetId(v string)

type DeleteFirewallRuleResponse

type DeleteFirewallRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteIpForwardingRuleParams

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

func (*DeleteIpForwardingRuleParams) SetId

type DeleteIpForwardingRuleResponse

type DeleteIpForwardingRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteLBHealthCheckPolicyParams

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

func (*DeleteLBHealthCheckPolicyParams) SetId

type DeleteLBHealthCheckPolicyResponse

type DeleteLBHealthCheckPolicyResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteLBStickinessPolicyParams

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

func (*DeleteLBStickinessPolicyParams) SetId

type DeleteLBStickinessPolicyResponse

type DeleteLBStickinessPolicyResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteLdapConfigurationParams

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

func (*DeleteLdapConfigurationParams) SetHostname

func (p *DeleteLdapConfigurationParams) SetHostname(v string)

type DeleteLdapConfigurationResponse

type DeleteLdapConfigurationResponse struct {
	Hostname string `json:"hostname,omitempty"`
	Port     int    `json:"port,omitempty"`
}

type DeleteLoadBalancerRuleParams

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

func (*DeleteLoadBalancerRuleParams) SetId

type DeleteLoadBalancerRuleResponse

type DeleteLoadBalancerRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteNetworkACLListParams

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

func (*DeleteNetworkACLListParams) SetId

func (p *DeleteNetworkACLListParams) SetId(v string)

type DeleteNetworkACLListResponse

type DeleteNetworkACLListResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteNetworkACLParams

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

func (*DeleteNetworkACLParams) SetId

func (p *DeleteNetworkACLParams) SetId(v string)

type DeleteNetworkACLResponse

type DeleteNetworkACLResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteNetworkServiceProviderParams

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

func (*DeleteNetworkServiceProviderParams) SetId

type DeleteNetworkServiceProviderResponse

type DeleteNetworkServiceProviderResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteNiciraNvpDeviceParams

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

func (*DeleteNiciraNvpDeviceParams) SetNvpdeviceid

func (p *DeleteNiciraNvpDeviceParams) SetNvpdeviceid(v string)

type DeleteNiciraNvpDeviceResponse

type DeleteNiciraNvpDeviceResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeletePhysicalNetworkParams

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

func (*DeletePhysicalNetworkParams) SetId

func (p *DeletePhysicalNetworkParams) SetId(v string)

type DeletePhysicalNetworkResponse

type DeletePhysicalNetworkResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeletePortForwardingRuleParams

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

func (*DeletePortForwardingRuleParams) SetId

type DeletePortForwardingRuleResponse

type DeletePortForwardingRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeletePrivateGatewayParams

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

func (*DeletePrivateGatewayParams) SetId

func (p *DeletePrivateGatewayParams) SetId(v string)

type DeletePrivateGatewayResponse

type DeletePrivateGatewayResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteProjectInvitationParams

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

func (*DeleteProjectInvitationParams) SetId

type DeleteProjectInvitationResponse

type DeleteProjectInvitationResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteProjectParams

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

func (*DeleteProjectParams) SetId

func (p *DeleteProjectParams) SetId(v string)

type DeleteProjectResponse

type DeleteProjectResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteRemoteAccessVpnParams

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

func (*DeleteRemoteAccessVpnParams) SetPublicipid

func (p *DeleteRemoteAccessVpnParams) SetPublicipid(v string)

type DeleteRemoteAccessVpnResponse

type DeleteRemoteAccessVpnResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteSecondaryStagingStoreParams

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

func (*DeleteSecondaryStagingStoreParams) SetId

type DeleteSecondaryStagingStoreResponse

type DeleteSecondaryStagingStoreResponse struct {
	Displaytext string `json:"displaytext,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteSnapshotParams

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

func (*DeleteSnapshotParams) SetId

func (p *DeleteSnapshotParams) SetId(v string)

type DeleteSnapshotResponse

type DeleteSnapshotResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteStaticRouteParams

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

func (*DeleteStaticRouteParams) SetId

func (p *DeleteStaticRouteParams) SetId(v string)

type DeleteStaticRouteResponse

type DeleteStaticRouteResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteStorageNetworkIpRangeParams

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

func (*DeleteStorageNetworkIpRangeParams) SetId

type DeleteStorageNetworkIpRangeResponse

type DeleteStorageNetworkIpRangeResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteTemplateParams

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

func (*DeleteTemplateParams) SetId

func (p *DeleteTemplateParams) SetId(v string)

func (*DeleteTemplateParams) SetZoneid

func (p *DeleteTemplateParams) SetZoneid(v string)

type DeleteTemplateResponse

type DeleteTemplateResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteTrafficTypeParams

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

func (*DeleteTrafficTypeParams) SetId

func (p *DeleteTrafficTypeParams) SetId(v string)

type DeleteTrafficTypeResponse

type DeleteTrafficTypeResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteVMSnapshotParams

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

func (*DeleteVMSnapshotParams) SetVmsnapshotid

func (p *DeleteVMSnapshotParams) SetVmsnapshotid(v string)

type DeleteVMSnapshotResponse

type DeleteVMSnapshotResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteVPCOfferingParams

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

func (*DeleteVPCOfferingParams) SetId

func (p *DeleteVPCOfferingParams) SetId(v string)

type DeleteVPCOfferingResponse

type DeleteVPCOfferingResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteVPCParams

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

func (*DeleteVPCParams) SetId

func (p *DeleteVPCParams) SetId(v string)

type DeleteVPCResponse

type DeleteVPCResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type DeleteVpnConnectionParams

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

func (*DeleteVpnConnectionParams) SetId

func (p *DeleteVpnConnectionParams) SetId(v string)

type DeleteVpnConnectionResponse

type DeleteVpnConnectionResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteVpnCustomerGatewayParams

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

func (*DeleteVpnCustomerGatewayParams) SetId

type DeleteVpnCustomerGatewayResponse

type DeleteVpnCustomerGatewayResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DeleteVpnGatewayParams

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

func (*DeleteVpnGatewayParams) SetId

func (p *DeleteVpnGatewayParams) SetId(v string)

type DeleteVpnGatewayResponse

type DeleteVpnGatewayResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

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) SetBootmenutimeout

func (p *DeployVirtualMachineParams) SetBootmenutimeout(v int64)

func (*DeployVirtualMachineParams) SetCustomid

func (p *DeployVirtualMachineParams) SetCustomid(v string)

func (*DeployVirtualMachineParams) SetDeploymentplanner

func (p *DeployVirtualMachineParams) SetDeploymentplanner(v string)

func (*DeployVirtualMachineParams) SetDetails

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

func (*DeployVirtualMachineParams) SetDiskcontroller

func (p *DeployVirtualMachineParams) SetDiskcontroller(v 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) 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) SetMaintenancepolicy

func (p *DeployVirtualMachineParams) SetMaintenancepolicy(v string)

func (*DeployVirtualMachineParams) SetManufacturerstring

func (p *DeployVirtualMachineParams) SetManufacturerstring(v string)

func (*DeployVirtualMachineParams) SetName

func (p *DeployVirtualMachineParams) SetName(v string)

func (*DeployVirtualMachineParams) SetNetworkids

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

func (*DeployVirtualMachineParams) SetOptimisefor

func (p *DeployVirtualMachineParams) SetOptimisefor(v string)

func (*DeployVirtualMachineParams) SetProjectid

func (p *DeployVirtualMachineParams) SetProjectid(v string)

func (*DeployVirtualMachineParams) SetRootdisksize

func (p *DeployVirtualMachineParams) SetRootdisksize(v int64)

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 {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type DeploymentPlanner

type DeploymentPlanner struct {
	Name string `json:"name,omitempty"`
}

type DestroyRouterParams

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

func (*DestroyRouterParams) SetId

func (p *DestroyRouterParams) SetId(v string)

type DestroyRouterResponse

type DestroyRouterResponse struct {
	JobID               string `json:"jobid,omitempty"`
	Account             string `json:"account,omitempty"`
	Created             string `json:"created,omitempty"`
	Dns1                string `json:"dns1,omitempty"`
	Dns2                string `json:"dns2,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Gateway             string `json:"gateway,omitempty"`
	Guestipaddress      string `json:"guestipaddress,omitempty"`
	Guestmacaddress     string `json:"guestmacaddress,omitempty"`
	Guestnetmask        string `json:"guestnetmask,omitempty"`
	Guestnetworkid      string `json:"guestnetworkid,omitempty"`
	Guestnetworkname    string `json:"guestnetworkname,omitempty"`
	Hostid              string `json:"hostid,omitempty"`
	Hostname            string `json:"hostname,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Id                  string `json:"id,omitempty"`
	Ip6dns1             string `json:"ip6dns1,omitempty"`
	Ip6dns2             string `json:"ip6dns2,omitempty"`
	Isredundantrouter   bool   `json:"isredundantrouter,omitempty"`
	Laststartdate       string `json:"laststartdate,omitempty"`
	Laststartversion    string `json:"laststartversion,omitempty"`
	Linklocalip         string `json:"linklocalip,omitempty"`
	Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask    string `json:"linklocalnetmask,omitempty"`
	Linklocalnetworkid  string `json:"linklocalnetworkid,omitempty"`
	Name                string `json:"name,omitempty"`
	Networkdomain       string `json:"networkdomain,omitempty"`
	Nic                 []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Project             string `json:"project,omitempty"`
	Projectid           string `json:"projectid,omitempty"`
	Publicip            string `json:"publicip,omitempty"`
	Publicmacaddress    string `json:"publicmacaddress,omitempty"`
	Publicnetmask       string `json:"publicnetmask,omitempty"`
	Publicnetworkid     string `json:"publicnetworkid,omitempty"`
	Redundantstate      string `json:"redundantstate,omitempty"`
	Requiresupgrade     bool   `json:"requiresupgrade,omitempty"`
	Role                string `json:"role,omitempty"`
	Routerunicastid     int64  `json:"routerunicastid,omitempty"`
	Scriptsversion      string `json:"scriptsversion,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Version             string `json:"version,omitempty"`
	Vpcid               string `json:"vpcid,omitempty"`
	Vpcname             string `json:"vpcname,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type DestroySystemVmParams

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

func (*DestroySystemVmParams) SetId

func (p *DestroySystemVmParams) SetId(v string)

type DestroySystemVmResponse

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

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)

type DestroyVirtualMachineResponse

type DestroyVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type DetachIsoParams

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

func (*DetachIsoParams) SetVirtualmachineid

func (p *DetachIsoParams) SetVirtualmachineid(v string)

type DetachIsoResponse

type DetachIsoResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

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 {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

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 {
	JobID                     string            `json:"jobid,omitempty"`
	Accountdetails            map[string]string `json:"accountdetails,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

type DisableStaticNatParams

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

func (*DisableStaticNatParams) SetIpaddressid

func (p *DisableStaticNatParams) SetIpaddressid(v string)

type DisableStaticNatResponse

type DisableStaticNatResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DisableUserParams

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

func (*DisableUserParams) SetId

func (p *DisableUserParams) SetId(v string)

type DisableUserResponse

type DisableUserResponse struct {
	JobID               string `json:"jobid,omitempty"`
	Account             string `json:"account,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

type DisassociateIpAddressParams

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

func (*DisassociateIpAddressParams) SetId

func (p *DisassociateIpAddressParams) SetId(v string)

type DisassociateIpAddressResponse

type DisassociateIpAddressResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type DiskOffering

type DiskOffering struct {
	CacheMode                 string `json:"cacheMode,omitempty"`
	Created                   string `json:"created,omitempty"`
	DiskBytesReadRate         int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate        int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb         bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate          int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate         int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate         int64  `json:"diskIopsWriteRate,omitempty"`
	Disksize                  int64  `json:"disksize,omitempty"`
	Displayoffering           bool   `json:"displayoffering,omitempty"`
	Displaytext               string `json:"displaytext,omitempty"`
	Domain                    string `json:"domain,omitempty"`
	Domainid                  string `json:"domainid,omitempty"`
	Hypervisorsnapshotreserve int    `json:"hypervisorsnapshotreserve,omitempty"`
	Id                        string `json:"id,omitempty"`
	Iscustomized              bool   `json:"iscustomized,omitempty"`
	Iscustomizediops          bool   `json:"iscustomizediops,omitempty"`
	Maxiops                   int64  `json:"maxiops,omitempty"`
	Miniops                   int64  `json:"miniops,omitempty"`
	Name                      string `json:"name,omitempty"`
	Provisioningtype          string `json:"provisioningtype,omitempty"`
	Storagetype               string `json:"storagetype,omitempty"`
	Tags                      string `json:"tags,omitempty"`
}

type DiskOfferingService

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

func NewDiskOfferingService

func NewDiskOfferingService(cs *CosmicClient) *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,omitempty"`
	Cpulimit                  string `json:"cpulimit,omitempty"`
	Cputotal                  int64  `json:"cputotal,omitempty"`
	Email                     string `json:"email,omitempty"`
	Haschild                  bool   `json:"haschild,omitempty"`
	Id                        string `json:"id,omitempty"`
	Ipavailable               string `json:"ipavailable,omitempty"`
	Iplimit                   string `json:"iplimit,omitempty"`
	Iptotal                   int64  `json:"iptotal,omitempty"`
	Level                     int    `json:"level,omitempty"`
	Memoryavailable           string `json:"memoryavailable,omitempty"`
	Memorylimit               string `json:"memorylimit,omitempty"`
	Memorytotal               int64  `json:"memorytotal,omitempty"`
	Name                      string `json:"name,omitempty"`
	Networkavailable          string `json:"networkavailable,omitempty"`
	Networkdomain             string `json:"networkdomain,omitempty"`
	Networklimit              string `json:"networklimit,omitempty"`
	Networktotal              int64  `json:"networktotal,omitempty"`
	Parentdomainid            string `json:"parentdomainid,omitempty"`
	Parentdomainname          string `json:"parentdomainname,omitempty"`
	Path                      string `json:"path,omitempty"`
	Primarystorageavailable   string `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64  `json:"primarystoragetotal,omitempty"`
	Projectavailable          string `json:"projectavailable,omitempty"`
	Projectlimit              string `json:"projectlimit,omitempty"`
	Projecttotal              int64  `json:"projecttotal,omitempty"`
	Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64  `json:"secondarystoragetotal,omitempty"`
	Snapshotavailable         string `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64  `json:"snapshottotal,omitempty"`
	State                     string `json:"state,omitempty"`
	Templateavailable         string `json:"templateavailable,omitempty"`
	Templatelimit             string `json:"templatelimit,omitempty"`
	Templatetotal             int64  `json:"templatetotal,omitempty"`
	Vmavailable               string `json:"vmavailable,omitempty"`
	Vmlimit                   string `json:"vmlimit,omitempty"`
	Vmtotal                   int64  `json:"vmtotal,omitempty"`
	Volumeavailable           string `json:"volumeavailable,omitempty"`
	Volumelimit               string `json:"volumelimit,omitempty"`
	Volumetotal               int64  `json:"volumetotal,omitempty"`
	Vpcavailable              string `json:"vpcavailable,omitempty"`
	Vpclimit                  string `json:"vpclimit,omitempty"`
	Vpctotal                  int64  `json:"vpctotal,omitempty"`
}

type DomainChildren

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

type DomainService

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

func NewDomainService

func NewDomainService(cs *CosmicClient) *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,omitempty"`
	Endport     int    `json:"endport,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Icmpcode    int    `json:"icmpcode,omitempty"`
	Icmptype    int    `json:"icmptype,omitempty"`
	Id          string `json:"id,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipaddressid string `json:"ipaddressid,omitempty"`
	Networkid   string `json:"networkid,omitempty"`
	Protocol    string `json:"protocol,omitempty"`
	Startport   int    `json:"startport,omitempty"`
	State       string `json:"state,omitempty"`
	Tags        []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

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,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

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,omitempty"`
	Success     string `json:"success,omitempty"`
}

type EnableStorageMaintenanceParams

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

func (*EnableStorageMaintenanceParams) SetId

type EnableStorageMaintenanceResponse

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

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,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

type Event

type Event struct {
	Account     string `json:"account,omitempty"`
	Created     string `json:"created,omitempty"`
	Description string `json:"description,omitempty"`
	Domain      string `json:"domain,omitempty"`
	Domainid    string `json:"domainid,omitempty"`
	Id          string `json:"id,omitempty"`
	Level       string `json:"level,omitempty"`
	Parentid    string `json:"parentid,omitempty"`
	Project     string `json:"project,omitempty"`
	Projectid   string `json:"projectid,omitempty"`
	State       string `json:"state,omitempty"`
	Type        string `json:"type,omitempty"`
	Username    string `json:"username,omitempty"`
}

type EventService

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

func NewEventService

func NewEventService(cs *CosmicClient) *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 {
	Name string `json:"name,omitempty"`
}

type ExpungeVirtualMachineParams

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

func (*ExpungeVirtualMachineParams) SetId

func (p *ExpungeVirtualMachineParams) SetId(v string)

type ExpungeVirtualMachineResponse

type ExpungeVirtualMachineResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

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 {
	JobID            string `json:"jobid,omitempty"`
	Accountid        string `json:"accountid,omitempty"`
	Created          string `json:"created,omitempty"`
	ExtractId        string `json:"extractId,omitempty"`
	ExtractMode      string `json:"extractMode,omitempty"`
	Id               string `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	Resultstring     string `json:"resultstring,omitempty"`
	State            string `json:"state,omitempty"`
	Status           string `json:"status,omitempty"`
	Storagetype      string `json:"storagetype,omitempty"`
	Uploadpercentage int    `json:"uploadpercentage,omitempty"`
	Url              string `json:"url,omitempty"`
	Zoneid           string `json:"zoneid,omitempty"`
	Zonename         string `json:"zonename,omitempty"`
}

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 {
	JobID            string `json:"jobid,omitempty"`
	Accountid        string `json:"accountid,omitempty"`
	Created          string `json:"created,omitempty"`
	ExtractId        string `json:"extractId,omitempty"`
	ExtractMode      string `json:"extractMode,omitempty"`
	Id               string `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	Resultstring     string `json:"resultstring,omitempty"`
	State            string `json:"state,omitempty"`
	Status           string `json:"status,omitempty"`
	Storagetype      string `json:"storagetype,omitempty"`
	Uploadpercentage int    `json:"uploadpercentage,omitempty"`
	Url              string `json:"url,omitempty"`
	Zoneid           string `json:"zoneid,omitempty"`
	Zonename         string `json:"zonename,omitempty"`
}

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 {
	JobID            string `json:"jobid,omitempty"`
	Accountid        string `json:"accountid,omitempty"`
	Created          string `json:"created,omitempty"`
	ExtractId        string `json:"extractId,omitempty"`
	ExtractMode      string `json:"extractMode,omitempty"`
	Id               string `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	Resultstring     string `json:"resultstring,omitempty"`
	State            string `json:"state,omitempty"`
	Status           string `json:"status,omitempty"`
	Storagetype      string `json:"storagetype,omitempty"`
	Uploadpercentage int    `json:"uploadpercentage,omitempty"`
	Url              string `json:"url,omitempty"`
	Zoneid           string `json:"zoneid,omitempty"`
	Zonename         string `json:"zonename,omitempty"`
}

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 {
	Accountid               string `json:"accountid,omitempty"`
	Accountname             string `json:"accountname,omitempty"`
	Affinitygroupid         string `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string `json:"affinitygroupname,omitempty"`
	Averageload             int64  `json:"averageload,omitempty"`
	Capabilities            string `json:"capabilities,omitempty"`
	Clusterid               string `json:"clusterid,omitempty"`
	Clustername             string `json:"clustername,omitempty"`
	Clustertype             string `json:"clustertype,omitempty"`
	Cpuallocated            string `json:"cpuallocated,omitempty"`
	Cpunumber               int    `json:"cpunumber,omitempty"`
	Cpuused                 string `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string `json:"created,omitempty"`
	Dedicated               bool   `json:"dedicated,omitempty"`
	Disconnected            string `json:"disconnected,omitempty"`
	Disksizeallocated       int64  `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64  `json:"disksizetotal,omitempty"`
	Domainid                string `json:"domainid,omitempty"`
	Domainname              string `json:"domainname,omitempty"`
	Events                  string `json:"events,omitempty"`
	Hahost                  bool   `json:"hahost,omitempty"`
	Hasenoughcapacity       bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags                string `json:"hosttags,omitempty"`
	Hypervisor              string `json:"hypervisor,omitempty"`
	Hypervisorversion       string `json:"hypervisorversion,omitempty"`
	Id                      string `json:"id,omitempty"`
	Ipaddress               string `json:"ipaddress,omitempty"`
	Islocalstorageactive    bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged              string `json:"lastpinged,omitempty"`
	Managementserverid      int64  `json:"managementserverid,omitempty"`
	Memoryallocated         int64  `json:"memoryallocated,omitempty"`
	Memorytotal             int64  `json:"memorytotal,omitempty"`
	Memoryused              int64  `json:"memoryused,omitempty"`
	Name                    string `json:"name,omitempty"`
	Networkkbsread          int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite         int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid            string `json:"oscategoryid,omitempty"`
	Oscategoryname          string `json:"oscategoryname,omitempty"`
	Podid                   string `json:"podid,omitempty"`
	Podname                 string `json:"podname,omitempty"`
	Removed                 string `json:"removed,omitempty"`
	RequiresStorageMotion   bool   `json:"requiresStorageMotion,omitempty"`
	Resourcestate           string `json:"resourcestate,omitempty"`
	State                   string `json:"state,omitempty"`
	Suitableformigration    bool   `json:"suitableformigration,omitempty"`
	Type                    string `json:"type,omitempty"`
	Version                 string `json:"version,omitempty"`
	Zoneid                  string `json:"zoneid,omitempty"`
	Zonename                string `json:"zonename,omitempty"`
}

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 {
	Capacityiops         int64             `json:"capacityiops,omitempty"`
	Clusterid            string            `json:"clusterid,omitempty"`
	Clustername          string            `json:"clustername,omitempty"`
	Created              string            `json:"created,omitempty"`
	Disksizeallocated    int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal        int64             `json:"disksizetotal,omitempty"`
	Disksizeused         int64             `json:"disksizeused,omitempty"`
	Hypervisor           string            `json:"hypervisor,omitempty"`
	Id                   string            `json:"id,omitempty"`
	Ipaddress            string            `json:"ipaddress,omitempty"`
	Name                 string            `json:"name,omitempty"`
	Overprovisionfactor  string            `json:"overprovisionfactor,omitempty"`
	Path                 string            `json:"path,omitempty"`
	Podid                string            `json:"podid,omitempty"`
	Podname              string            `json:"podname,omitempty"`
	Scope                string            `json:"scope,omitempty"`
	State                string            `json:"state,omitempty"`
	Storagecapabilities  map[string]string `json:"storagecapabilities,omitempty"`
	Suitableformigration bool              `json:"suitableformigration,omitempty"`
	Tags                 string            `json:"tags,omitempty"`
	Type                 string            `json:"type,omitempty"`
	Zoneid               string            `json:"zoneid,omitempty"`
	Zonename             string            `json:"zonename,omitempty"`
}

type FirewallRule

type FirewallRule struct {
	Cidrlist    string `json:"cidrlist,omitempty"`
	Endport     int    `json:"endport,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Icmpcode    int    `json:"icmpcode,omitempty"`
	Icmptype    int    `json:"icmptype,omitempty"`
	Id          string `json:"id,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipaddressid string `json:"ipaddressid,omitempty"`
	Networkid   string `json:"networkid,omitempty"`
	Protocol    string `json:"protocol,omitempty"`
	Startport   int    `json:"startport,omitempty"`
	State       string `json:"state,omitempty"`
	Tags        []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

type FirewallService

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

func NewFirewallService

func NewFirewallService(cs *CosmicClient) *FirewallService

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) 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) ListPortForwardingRules

Lists all port forwarding rules for an IP address.

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) 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) 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 {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type GetApiLimitParams

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

type GetApiLimitResponse

type GetApiLimitResponse struct {
	Account     string `json:"account,omitempty"`
	Accountid   string `json:"accountid,omitempty"`
	ApiAllowed  int    `json:"apiAllowed,omitempty"`
	ApiIssued   int    `json:"apiIssued,omitempty"`
	ExpireAfter int64  `json:"expireAfter,omitempty"`
}

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,omitempty"`
	Signature       string `json:"signature,omitempty"`
	Userid          string `json:"userid,omitempty"`
}

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) 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,omitempty"`
	Id        string `json:"id,omitempty"`
	Metadata  string `json:"metadata,omitempty"`
	PostURL   string `json:"postURL,omitempty"`
	Signature string `json:"signature,omitempty"`
}

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,omitempty"`
	Id        string `json:"id,omitempty"`
	Metadata  string `json:"metadata,omitempty"`
	PostURL   string `json:"postURL,omitempty"`
	Signature string `json:"signature,omitempty"`
}

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,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

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,omitempty"`
}

type GetVirtualMachineUserDataParams

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

func (*GetVirtualMachineUserDataParams) SetVirtualmachineid

func (p *GetVirtualMachineUserDataParams) SetVirtualmachineid(v string)

type GetVirtualMachineUserDataResponse

type GetVirtualMachineUserDataResponse struct {
	Userdata         string `json:"userdata,omitempty"`
	Virtualmachineid string `json:"virtualmachineid,omitempty"`
}

type GuestOSService

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

func NewGuestOSService

func NewGuestOSService(cs *CosmicClient) *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(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(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,omitempty"`
	Hypervisorversion   string `json:"hypervisorversion,omitempty"`
	Id                  string `json:"id,omitempty"`
	Isuserdefined       string `json:"isuserdefined,omitempty"`
	Osdisplayname       string `json:"osdisplayname,omitempty"`
	Osnameforhypervisor string `json:"osnameforhypervisor,omitempty"`
	Ostypeid            string `json:"ostypeid,omitempty"`
}

type HAWorker

type HAWorker struct {
	Created              string `json:"created,omitempty"`
	Domainid             string `json:"domainid,omitempty"`
	Domainname           string `json:"domainname,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Id                   int64  `json:"id,omitempty"`
	Managementservername string `json:"managementservername,omitempty"`
	State                string `json:"state,omitempty"`
	Step                 string `json:"step,omitempty"`
	Taken                string `json:"taken,omitempty"`
	Type                 string `json:"type,omitempty"`
	Virtualmachineid     string `json:"virtualmachineid,omitempty"`
	Virtualmachinename   string `json:"virtualmachinename,omitempty"`
	Virtualmachinestate  string `json:"virtualmachinestate,omitempty"`
}

type Host

type Host struct {
	Accountid               string            `json:"accountid,omitempty"`
	Accountname             string            `json:"accountname,omitempty"`
	Affinitygroupid         string            `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string            `json:"affinitygroupname,omitempty"`
	Averageload             int64             `json:"averageload,omitempty"`
	Capabilities            string            `json:"capabilities,omitempty"`
	Clusterid               string            `json:"clusterid,omitempty"`
	Clustername             string            `json:"clustername,omitempty"`
	Clustertype             string            `json:"clustertype,omitempty"`
	Cpuallocated            string            `json:"cpuallocated,omitempty"`
	Cpunumber               int               `json:"cpunumber,omitempty"`
	Cpusockets              int               `json:"cpusockets,omitempty"`
	Cpuused                 string            `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string            `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string            `json:"created,omitempty"`
	Dedicated               bool              `json:"dedicated,omitempty"`
	Details                 map[string]string `json:"details,omitempty"`
	Disconnected            string            `json:"disconnected,omitempty"`
	Disksizeallocated       int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64             `json:"disksizetotal,omitempty"`
	Domainid                string            `json:"domainid,omitempty"`
	Domainname              string            `json:"domainname,omitempty"`
	Events                  string            `json:"events,omitempty"`
	Gpugroup                []struct {
		Gpugroupname string `json:"gpugroupname,omitempty"`
		Vgpu         []struct {
			Maxcapacity       int64  `json:"maxcapacity,omitempty"`
			Maxheads          int64  `json:"maxheads,omitempty"`
			Maxresolutionx    int64  `json:"maxresolutionx,omitempty"`
			Maxresolutiony    int64  `json:"maxresolutiony,omitempty"`
			Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu,omitempty"`
			Remainingcapacity int64  `json:"remainingcapacity,omitempty"`
			Vgputype          string `json:"vgputype,omitempty"`
			Videoram          int64  `json:"videoram,omitempty"`
		} `json:"vgpu,omitempty"`
	} `json:"gpugroup,omitempty"`
	Hahost               bool   `json:"hahost,omitempty"`
	Hasenoughcapacity    bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags             string `json:"hosttags,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ipaddress            string `json:"ipaddress,omitempty"`
	Islocalstorageactive bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged           string `json:"lastpinged,omitempty"`
	Managementserverid   int64  `json:"managementserverid,omitempty"`
	Memoryallocated      int64  `json:"memoryallocated,omitempty"`
	Memorytotal          int64  `json:"memorytotal,omitempty"`
	Memoryused           int64  `json:"memoryused,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkkbsread       int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite      int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid         string `json:"oscategoryid,omitempty"`
	Oscategoryname       string `json:"oscategoryname,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Podname              string `json:"podname,omitempty"`
	Removed              string `json:"removed,omitempty"`
	Resourcestate        string `json:"resourcestate,omitempty"`
	State                string `json:"state,omitempty"`
	Suitableformigration bool   `json:"suitableformigration,omitempty"`
	Type                 string `json:"type,omitempty"`
	Version              string `json:"version,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

type HostService

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

func NewHostService

func NewHostService(cs *CosmicClient) *HostService

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) 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) 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) 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) 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) 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,omitempty"`
	Id     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
}

type Hypervisor

type Hypervisor struct {
	Name string `json:"name,omitempty"`
}

type HypervisorCapability

type HypervisorCapability struct {
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Maxdatavolumeslimit  int    `json:"maxdatavolumeslimit,omitempty"`
	Maxguestslimit       int64  `json:"maxguestslimit,omitempty"`
	Maxhostspercluster   int    `json:"maxhostspercluster,omitempty"`
	Storagemotionenabled bool   `json:"storagemotionenabled,omitempty"`
}

type HypervisorService

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

func NewHypervisorService

func NewHypervisorService(cs *CosmicClient) *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 *CosmicClient) *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(destzoneid string, 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 {
	Details      []string `json:"details,omitempty"`
	Id           string   `json:"id,omitempty"`
	Name         string   `json:"name,omitempty"`
	Protocol     string   `json:"protocol,omitempty"`
	Providername string   `json:"providername,omitempty"`
	Scope        string   `json:"scope,omitempty"`
	Url          string   `json:"url,omitempty"`
	Zoneid       string   `json:"zoneid,omitempty"`
	Zonename     string   `json:"zonename,omitempty"`
}

type ImageStoreService

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

func NewImageStoreService

func NewImageStoreService(cs *CosmicClient) *ImageStoreService

func (*ImageStoreService) AddImageStore

Adds backup 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) 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

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) SetTimezone

func (p *ImportLdapUsersParams) SetTimezone(v string)

type ImportLdapUsersResponse

type ImportLdapUsersResponse struct {
	Domain    string `json:"domain,omitempty"`
	Email     string `json:"email,omitempty"`
	Firstname string `json:"firstname,omitempty"`
	Lastname  string `json:"lastname,omitempty"`
	Principal string `json:"principal,omitempty"`
	Username  string `json:"username,omitempty"`
}

type InstanceGroup

type InstanceGroup struct {
	Account   string `json:"account,omitempty"`
	Created   string `json:"created,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
}

type IpForwardingRule

type IpForwardingRule struct {
	Cidrlist       string `json:"cidrlist,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Ipaddress      string `json:"ipaddress,omitempty"`
	Ipaddressid    string `json:"ipaddressid,omitempty"`
	Networkid      string `json:"networkid,omitempty"`
	Privateendport string `json:"privateendport,omitempty"`
	Privateport    string `json:"privateport,omitempty"`
	Protocol       string `json:"protocol,omitempty"`
	Publicendport  string `json:"publicendport,omitempty"`
	Publicport     string `json:"publicport,omitempty"`
	State          string `json:"state,omitempty"`
	Tags           []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vmguestip                 string `json:"vmguestip,omitempty"`
}

type Iso

type Iso struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type IsoPermission

type IsoPermission struct {
	Account    []string `json:"account,omitempty"`
	Domainid   string   `json:"domainid,omitempty"`
	Id         string   `json:"id,omitempty"`
	Ispublic   bool     `json:"ispublic,omitempty"`
	Projectids []string `json:"projectids,omitempty"`
}

type LBHealthCheckPolicy

type LBHealthCheckPolicy struct {
	Account           string `json:"account,omitempty"`
	Domain            string `json:"domain,omitempty"`
	Domainid          string `json:"domainid,omitempty"`
	Healthcheckpolicy []struct {
		Description             string `json:"description,omitempty"`
		Fordisplay              bool   `json:"fordisplay,omitempty"`
		Healthcheckinterval     int    `json:"healthcheckinterval,omitempty"`
		Healthcheckthresshold   int    `json:"healthcheckthresshold,omitempty"`
		Id                      string `json:"id,omitempty"`
		Pingpath                string `json:"pingpath,omitempty"`
		Responsetime            int    `json:"responsetime,omitempty"`
		State                   string `json:"state,omitempty"`
		Unhealthcheckthresshold int    `json:"unhealthcheckthresshold,omitempty"`
	} `json:"healthcheckpolicy,omitempty"`
	Lbruleid string `json:"lbruleid,omitempty"`
	Zoneid   string `json:"zoneid,omitempty"`
}

type LBStickinessPolicy

type LBStickinessPolicy struct {
	Account          string `json:"account,omitempty"`
	Description      string `json:"description,omitempty"`
	Domain           string `json:"domain,omitempty"`
	Domainid         string `json:"domainid,omitempty"`
	Lbruleid         string `json:"lbruleid,omitempty"`
	Name             string `json:"name,omitempty"`
	State            string `json:"state,omitempty"`
	Stickinesspolicy []struct {
		Description string            `json:"description,omitempty"`
		Fordisplay  bool              `json:"fordisplay,omitempty"`
		Id          string            `json:"id,omitempty"`
		Methodname  string            `json:"methodname,omitempty"`
		Name        string            `json:"name,omitempty"`
		Params      map[string]string `json:"params,omitempty"`
		State       string            `json:"state,omitempty"`
	} `json:"stickinesspolicy,omitempty"`
	Zoneid string `json:"zoneid,omitempty"`
}

type LdapConfiguration

type LdapConfiguration struct {
	Hostname string `json:"hostname,omitempty"`
	Port     int    `json:"port,omitempty"`
}

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) 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,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

type LdapUser

type LdapUser struct {
	Domain    string `json:"domain,omitempty"`
	Email     string `json:"email,omitempty"`
	Firstname string `json:"firstname,omitempty"`
	Lastname  string `json:"lastname,omitempty"`
	Principal string `json:"principal,omitempty"`
	Username  string `json:"username,omitempty"`
}

type LimitService

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

func NewLimitService

func NewLimitService(cs *CosmicClient) *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) NewUpdateResourceLimitParams(resourcetype int) *UpdateResourceLimitParams

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

func (*LimitService) ResetApiLimit

Reset api count

func (*LimitService) UpdateResourceCount

Recalculate and update resource count for an account or domain.

func (*LimitService) UpdateResourceLimit

Updates resource limits for an account or domain.

type LinkDomainToLdapParams

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

func (*LinkDomainToLdapParams) SetAccounttype

func (p *LinkDomainToLdapParams) SetAccounttype(v int)

func (*LinkDomainToLdapParams) SetAdmin

func (p *LinkDomainToLdapParams) SetAdmin(v string)

func (*LinkDomainToLdapParams) SetDomainid

func (p *LinkDomainToLdapParams) SetDomainid(v string)

func (*LinkDomainToLdapParams) SetName

func (p *LinkDomainToLdapParams) SetName(v string)

func (*LinkDomainToLdapParams) SetType

func (p *LinkDomainToLdapParams) SetType(v string)

type LinkDomainToLdapResponse

type LinkDomainToLdapResponse struct {
	Accountid   string `json:"accountid,omitempty"`
	Accounttype int    `json:"accounttype,omitempty"`
	Domainid    string `json:"domainid,omitempty"`
	Ldapenabled bool   `json:"ldapenabled,omitempty"`
	Name        string `json:"name,omitempty"`
	Type        string `json:"type,omitempty"`
}

type ListAccountsParams

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

func (*ListAccountsParams) SetAccounttype

func (p *ListAccountsParams) SetAccounttype(v int64)

func (*ListAccountsParams) SetDomainid

func (p *ListAccountsParams) SetDomainid(v string)

func (*ListAccountsParams) SetId

func (p *ListAccountsParams) SetId(v string)

func (*ListAccountsParams) SetIscleanuprequired

func (p *ListAccountsParams) SetIscleanuprequired(v bool)

func (*ListAccountsParams) SetIsrecursive

func (p *ListAccountsParams) SetIsrecursive(v bool)

func (*ListAccountsParams) SetKeyword

func (p *ListAccountsParams) SetKeyword(v string)

func (*ListAccountsParams) SetListall

func (p *ListAccountsParams) SetListall(v bool)

func (*ListAccountsParams) SetName

func (p *ListAccountsParams) SetName(v string)

func (*ListAccountsParams) SetPage

func (p *ListAccountsParams) SetPage(v int)

func (*ListAccountsParams) SetPagesize

func (p *ListAccountsParams) SetPagesize(v int)

func (*ListAccountsParams) SetState

func (p *ListAccountsParams) SetState(v string)

type ListAccountsResponse

type ListAccountsResponse struct {
	Count    int        `json:"count"`
	Accounts []*Account `json:"account"`
}

type ListAffinityGroupTypesParams

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

func (*ListAffinityGroupTypesParams) SetKeyword

func (p *ListAffinityGroupTypesParams) SetKeyword(v string)

func (*ListAffinityGroupTypesParams) SetPage

func (p *ListAffinityGroupTypesParams) SetPage(v int)

func (*ListAffinityGroupTypesParams) SetPagesize

func (p *ListAffinityGroupTypesParams) SetPagesize(v int)

type ListAffinityGroupTypesResponse

type ListAffinityGroupTypesResponse struct {
	Count              int                  `json:"count"`
	AffinityGroupTypes []*AffinityGroupType `json:"affinitygrouptype"`
}

type ListAffinityGroupsParams

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

func (*ListAffinityGroupsParams) SetAccount

func (p *ListAffinityGroupsParams) SetAccount(v string)

func (*ListAffinityGroupsParams) SetDomainid

func (p *ListAffinityGroupsParams) SetDomainid(v string)

func (*ListAffinityGroupsParams) SetId

func (p *ListAffinityGroupsParams) SetId(v string)

func (*ListAffinityGroupsParams) SetIsrecursive

func (p *ListAffinityGroupsParams) SetIsrecursive(v bool)

func (*ListAffinityGroupsParams) SetKeyword

func (p *ListAffinityGroupsParams) SetKeyword(v string)

func (*ListAffinityGroupsParams) SetListall

func (p *ListAffinityGroupsParams) SetListall(v bool)

func (*ListAffinityGroupsParams) SetName

func (p *ListAffinityGroupsParams) SetName(v string)

func (*ListAffinityGroupsParams) SetPage

func (p *ListAffinityGroupsParams) SetPage(v int)

func (*ListAffinityGroupsParams) SetPagesize

func (p *ListAffinityGroupsParams) SetPagesize(v int)

func (*ListAffinityGroupsParams) SetProjectid

func (p *ListAffinityGroupsParams) SetProjectid(v string)

func (*ListAffinityGroupsParams) SetType

func (p *ListAffinityGroupsParams) SetType(v string)

func (*ListAffinityGroupsParams) SetVirtualmachineid

func (p *ListAffinityGroupsParams) SetVirtualmachineid(v string)

type ListAffinityGroupsResponse

type ListAffinityGroupsResponse struct {
	Count          int              `json:"count"`
	AffinityGroups []*AffinityGroup `json:"affinitygroup"`
}

type ListAlertsParams

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

func (*ListAlertsParams) SetId

func (p *ListAlertsParams) SetId(v string)

func (*ListAlertsParams) SetKeyword

func (p *ListAlertsParams) SetKeyword(v string)

func (*ListAlertsParams) SetName

func (p *ListAlertsParams) SetName(v string)

func (*ListAlertsParams) SetPage

func (p *ListAlertsParams) SetPage(v int)

func (*ListAlertsParams) SetPagesize

func (p *ListAlertsParams) SetPagesize(v int)

func (*ListAlertsParams) SetType

func (p *ListAlertsParams) SetType(v string)

type ListAlertsResponse

type ListAlertsResponse struct {
	Count  int      `json:"count"`
	Alerts []*Alert `json:"alert"`
}

type ListApisParams

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

func (*ListApisParams) SetName

func (p *ListApisParams) SetName(v string)

type ListApisResponse

type ListApisResponse struct {
	Count int    `json:"count"`
	Apis  []*Api `json:"api"`
}

type ListAsyncJobsParams

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

func (*ListAsyncJobsParams) SetAccount

func (p *ListAsyncJobsParams) SetAccount(v string)

func (*ListAsyncJobsParams) SetDomainid

func (p *ListAsyncJobsParams) SetDomainid(v string)

func (*ListAsyncJobsParams) SetIsrecursive

func (p *ListAsyncJobsParams) SetIsrecursive(v bool)

func (*ListAsyncJobsParams) SetKeyword

func (p *ListAsyncJobsParams) SetKeyword(v string)

func (*ListAsyncJobsParams) SetListall

func (p *ListAsyncJobsParams) SetListall(v bool)

func (*ListAsyncJobsParams) SetPage

func (p *ListAsyncJobsParams) SetPage(v int)

func (*ListAsyncJobsParams) SetPagesize

func (p *ListAsyncJobsParams) SetPagesize(v int)

func (*ListAsyncJobsParams) SetStartdate

func (p *ListAsyncJobsParams) SetStartdate(v string)

type ListAsyncJobsResponse

type ListAsyncJobsResponse struct {
	Count     int         `json:"count"`
	AsyncJobs []*AsyncJob `json:"asyncjobs"`
}

type ListCapabilitiesParams

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

type ListCapabilitiesResponse

type ListCapabilitiesResponse struct {
	Count        int         `json:"count"`
	Capabilities *Capability `json:"capability"`
}

type ListCapacityParams

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

func (*ListCapacityParams) SetClusterid

func (p *ListCapacityParams) SetClusterid(v string)

func (*ListCapacityParams) SetFetchlatest

func (p *ListCapacityParams) SetFetchlatest(v bool)

func (*ListCapacityParams) SetKeyword

func (p *ListCapacityParams) SetKeyword(v string)

func (*ListCapacityParams) SetPage

func (p *ListCapacityParams) SetPage(v int)

func (*ListCapacityParams) SetPagesize

func (p *ListCapacityParams) SetPagesize(v int)

func (*ListCapacityParams) SetPodid

func (p *ListCapacityParams) SetPodid(v string)

func (*ListCapacityParams) SetSortby

func (p *ListCapacityParams) SetSortby(v string)

func (*ListCapacityParams) SetType

func (p *ListCapacityParams) SetType(v int)

func (*ListCapacityParams) SetZoneid

func (p *ListCapacityParams) SetZoneid(v string)

type ListCapacityResponse

type ListCapacityResponse struct {
	Count    int         `json:"count"`
	Capacity []*Capacity `json:"capacity"`
}

type ListClustersParams

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

func (*ListClustersParams) SetAllocationstate

func (p *ListClustersParams) SetAllocationstate(v string)

func (*ListClustersParams) SetClustertype

func (p *ListClustersParams) SetClustertype(v string)

func (*ListClustersParams) SetHypervisor

func (p *ListClustersParams) SetHypervisor(v string)

func (*ListClustersParams) SetId

func (p *ListClustersParams) SetId(v string)

func (*ListClustersParams) SetKeyword

func (p *ListClustersParams) SetKeyword(v string)

func (*ListClustersParams) SetManagedstate

func (p *ListClustersParams) SetManagedstate(v string)

func (*ListClustersParams) SetName

func (p *ListClustersParams) SetName(v string)

func (*ListClustersParams) SetPage

func (p *ListClustersParams) SetPage(v int)

func (*ListClustersParams) SetPagesize

func (p *ListClustersParams) SetPagesize(v int)

func (*ListClustersParams) SetPodid

func (p *ListClustersParams) SetPodid(v string)

func (*ListClustersParams) SetShowcapacities

func (p *ListClustersParams) SetShowcapacities(v bool)

func (*ListClustersParams) SetZoneid

func (p *ListClustersParams) SetZoneid(v string)

type ListClustersResponse

type ListClustersResponse struct {
	Count    int        `json:"count"`
	Clusters []*Cluster `json:"cluster"`
}

type ListConfigurationsParams

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

func (*ListConfigurationsParams) SetAccountid

func (p *ListConfigurationsParams) SetAccountid(v string)

func (*ListConfigurationsParams) SetCategory

func (p *ListConfigurationsParams) SetCategory(v string)

func (*ListConfigurationsParams) SetClusterid

func (p *ListConfigurationsParams) SetClusterid(v string)

func (*ListConfigurationsParams) SetKeyword

func (p *ListConfigurationsParams) SetKeyword(v string)

func (*ListConfigurationsParams) SetName

func (p *ListConfigurationsParams) SetName(v string)

func (*ListConfigurationsParams) SetPage

func (p *ListConfigurationsParams) SetPage(v int)

func (*ListConfigurationsParams) SetPagesize

func (p *ListConfigurationsParams) SetPagesize(v int)

func (*ListConfigurationsParams) SetStorageid

func (p *ListConfigurationsParams) SetStorageid(v string)

func (*ListConfigurationsParams) SetZoneid

func (p *ListConfigurationsParams) SetZoneid(v string)

type ListConfigurationsResponse

type ListConfigurationsResponse struct {
	Count          int              `json:"count"`
	Configurations []*Configuration `json:"configuration"`
}

type ListDedicatedClustersParams

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

func (*ListDedicatedClustersParams) SetAccount

func (p *ListDedicatedClustersParams) SetAccount(v string)

func (*ListDedicatedClustersParams) SetAffinitygroupid

func (p *ListDedicatedClustersParams) SetAffinitygroupid(v string)

func (*ListDedicatedClustersParams) SetClusterid

func (p *ListDedicatedClustersParams) SetClusterid(v string)

func (*ListDedicatedClustersParams) SetDomainid

func (p *ListDedicatedClustersParams) SetDomainid(v string)

func (*ListDedicatedClustersParams) SetKeyword

func (p *ListDedicatedClustersParams) SetKeyword(v string)

func (*ListDedicatedClustersParams) SetPage

func (p *ListDedicatedClustersParams) SetPage(v int)

func (*ListDedicatedClustersParams) SetPagesize

func (p *ListDedicatedClustersParams) SetPagesize(v int)

type ListDedicatedClustersResponse

type ListDedicatedClustersResponse struct {
	Count             int                 `json:"count"`
	DedicatedClusters []*DedicatedCluster `json:"dedicatedcluster"`
}

type ListDedicatedGuestVlanRangesParams

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

func (*ListDedicatedGuestVlanRangesParams) SetAccount

func (p *ListDedicatedGuestVlanRangesParams) SetAccount(v string)

func (*ListDedicatedGuestVlanRangesParams) SetDomainid

func (p *ListDedicatedGuestVlanRangesParams) SetDomainid(v string)

func (*ListDedicatedGuestVlanRangesParams) SetGuestvlanrange

func (p *ListDedicatedGuestVlanRangesParams) SetGuestvlanrange(v string)

func (*ListDedicatedGuestVlanRangesParams) SetId

func (*ListDedicatedGuestVlanRangesParams) SetKeyword

func (p *ListDedicatedGuestVlanRangesParams) SetKeyword(v string)

func (*ListDedicatedGuestVlanRangesParams) SetPage

func (*ListDedicatedGuestVlanRangesParams) SetPagesize

func (p *ListDedicatedGuestVlanRangesParams) SetPagesize(v int)

func (*ListDedicatedGuestVlanRangesParams) SetPhysicalnetworkid

func (p *ListDedicatedGuestVlanRangesParams) SetPhysicalnetworkid(v string)

func (*ListDedicatedGuestVlanRangesParams) SetProjectid

func (p *ListDedicatedGuestVlanRangesParams) SetProjectid(v string)

func (*ListDedicatedGuestVlanRangesParams) SetZoneid

type ListDedicatedGuestVlanRangesResponse

type ListDedicatedGuestVlanRangesResponse struct {
	Count                    int                        `json:"count"`
	DedicatedGuestVlanRanges []*DedicatedGuestVlanRange `json:"dedicatedguestvlanrange"`
}

type ListDedicatedHostsParams

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

func (*ListDedicatedHostsParams) SetAccount

func (p *ListDedicatedHostsParams) SetAccount(v string)

func (*ListDedicatedHostsParams) SetAffinitygroupid

func (p *ListDedicatedHostsParams) SetAffinitygroupid(v string)

func (*ListDedicatedHostsParams) SetDomainid

func (p *ListDedicatedHostsParams) SetDomainid(v string)

func (*ListDedicatedHostsParams) SetHostid

func (p *ListDedicatedHostsParams) SetHostid(v string)

func (*ListDedicatedHostsParams) SetKeyword

func (p *ListDedicatedHostsParams) SetKeyword(v string)

func (*ListDedicatedHostsParams) SetPage

func (p *ListDedicatedHostsParams) SetPage(v int)

func (*ListDedicatedHostsParams) SetPagesize

func (p *ListDedicatedHostsParams) SetPagesize(v int)

type ListDedicatedHostsResponse

type ListDedicatedHostsResponse struct {
	Count          int              `json:"count"`
	DedicatedHosts []*DedicatedHost `json:"dedicatedhost"`
}

type ListDedicatedPodsParams

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

func (*ListDedicatedPodsParams) SetAccount

func (p *ListDedicatedPodsParams) SetAccount(v string)

func (*ListDedicatedPodsParams) SetAffinitygroupid

func (p *ListDedicatedPodsParams) SetAffinitygroupid(v string)

func (*ListDedicatedPodsParams) SetDomainid

func (p *ListDedicatedPodsParams) SetDomainid(v string)

func (*ListDedicatedPodsParams) SetKeyword

func (p *ListDedicatedPodsParams) SetKeyword(v string)

func (*ListDedicatedPodsParams) SetPage

func (p *ListDedicatedPodsParams) SetPage(v int)

func (*ListDedicatedPodsParams) SetPagesize

func (p *ListDedicatedPodsParams) SetPagesize(v int)

func (*ListDedicatedPodsParams) SetPodid

func (p *ListDedicatedPodsParams) SetPodid(v string)

type ListDedicatedPodsResponse

type ListDedicatedPodsResponse struct {
	Count         int             `json:"count"`
	DedicatedPods []*DedicatedPod `json:"dedicatedpod"`
}

type ListDedicatedZonesParams

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

func (*ListDedicatedZonesParams) SetAccount

func (p *ListDedicatedZonesParams) SetAccount(v string)

func (*ListDedicatedZonesParams) SetAffinitygroupid

func (p *ListDedicatedZonesParams) SetAffinitygroupid(v string)

func (*ListDedicatedZonesParams) SetDomainid

func (p *ListDedicatedZonesParams) SetDomainid(v string)

func (*ListDedicatedZonesParams) SetKeyword

func (p *ListDedicatedZonesParams) SetKeyword(v string)

func (*ListDedicatedZonesParams) SetPage

func (p *ListDedicatedZonesParams) SetPage(v int)

func (*ListDedicatedZonesParams) SetPagesize

func (p *ListDedicatedZonesParams) SetPagesize(v int)

func (*ListDedicatedZonesParams) SetZoneid

func (p *ListDedicatedZonesParams) SetZoneid(v string)

type ListDedicatedZonesResponse

type ListDedicatedZonesResponse struct {
	Count          int              `json:"count"`
	DedicatedZones []*DedicatedZone `json:"dedicatedzone"`
}

type ListDeploymentPlannersParams

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

func (*ListDeploymentPlannersParams) SetKeyword

func (p *ListDeploymentPlannersParams) SetKeyword(v string)

func (*ListDeploymentPlannersParams) SetPage

func (p *ListDeploymentPlannersParams) SetPage(v int)

func (*ListDeploymentPlannersParams) SetPagesize

func (p *ListDeploymentPlannersParams) SetPagesize(v int)

type ListDeploymentPlannersResponse

type ListDeploymentPlannersResponse struct {
	Count              int                  `json:"count"`
	DeploymentPlanners []*DeploymentPlanner `json:"deploymentplanner"`
}

type ListDiskOfferingsParams

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

func (*ListDiskOfferingsParams) SetDomainid

func (p *ListDiskOfferingsParams) SetDomainid(v string)

func (*ListDiskOfferingsParams) SetId

func (p *ListDiskOfferingsParams) SetId(v string)

func (*ListDiskOfferingsParams) SetIsrecursive

func (p *ListDiskOfferingsParams) SetIsrecursive(v bool)

func (*ListDiskOfferingsParams) SetKeyword

func (p *ListDiskOfferingsParams) SetKeyword(v string)

func (*ListDiskOfferingsParams) SetListall

func (p *ListDiskOfferingsParams) SetListall(v bool)

func (*ListDiskOfferingsParams) SetName

func (p *ListDiskOfferingsParams) SetName(v string)

func (*ListDiskOfferingsParams) SetPage

func (p *ListDiskOfferingsParams) SetPage(v int)

func (*ListDiskOfferingsParams) SetPagesize

func (p *ListDiskOfferingsParams) SetPagesize(v int)

type ListDiskOfferingsResponse

type ListDiskOfferingsResponse struct {
	Count         int             `json:"count"`
	DiskOfferings []*DiskOffering `json:"diskoffering"`
}

type ListDomainChildrenParams

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

func (*ListDomainChildrenParams) SetId

func (p *ListDomainChildrenParams) SetId(v string)

func (*ListDomainChildrenParams) SetIsrecursive

func (p *ListDomainChildrenParams) SetIsrecursive(v bool)

func (*ListDomainChildrenParams) SetKeyword

func (p *ListDomainChildrenParams) SetKeyword(v string)

func (*ListDomainChildrenParams) SetListall

func (p *ListDomainChildrenParams) SetListall(v bool)

func (*ListDomainChildrenParams) SetName

func (p *ListDomainChildrenParams) SetName(v string)

func (*ListDomainChildrenParams) SetPage

func (p *ListDomainChildrenParams) SetPage(v int)

func (*ListDomainChildrenParams) SetPagesize

func (p *ListDomainChildrenParams) SetPagesize(v int)

type ListDomainChildrenResponse

type ListDomainChildrenResponse struct {
	Count          int               `json:"count"`
	DomainChildren []*DomainChildren `json:"domainchildren"`
}

type ListDomainLdapLinkParams

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

func (*ListDomainLdapLinkParams) SetDomainid

func (p *ListDomainLdapLinkParams) SetDomainid(v string)

type ListDomainLdapLinkResponse

type ListDomainLdapLinkResponse struct {
	Count          int               `json:"count"`
	DomainLdapLink []*DomainLdapLink `json:"domainldaplink"`
}

type ListDomainsParams

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

func (*ListDomainsParams) SetId

func (p *ListDomainsParams) SetId(v string)

func (*ListDomainsParams) SetKeyword

func (p *ListDomainsParams) SetKeyword(v string)

func (*ListDomainsParams) SetLevel

func (p *ListDomainsParams) SetLevel(v int)

func (*ListDomainsParams) SetListall

func (p *ListDomainsParams) SetListall(v bool)

func (*ListDomainsParams) SetName

func (p *ListDomainsParams) SetName(v string)

func (*ListDomainsParams) SetPage

func (p *ListDomainsParams) SetPage(v int)

func (*ListDomainsParams) SetPagesize

func (p *ListDomainsParams) SetPagesize(v int)

type ListDomainsResponse

type ListDomainsResponse struct {
	Count   int       `json:"count"`
	Domains []*Domain `json:"domain"`
}

type ListEgressFirewallRulesParams

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

func (*ListEgressFirewallRulesParams) SetAccount

func (p *ListEgressFirewallRulesParams) SetAccount(v string)

func (*ListEgressFirewallRulesParams) SetDomainid

func (p *ListEgressFirewallRulesParams) SetDomainid(v string)

func (*ListEgressFirewallRulesParams) SetFordisplay

func (p *ListEgressFirewallRulesParams) SetFordisplay(v bool)

func (*ListEgressFirewallRulesParams) SetId

func (*ListEgressFirewallRulesParams) SetIpaddressid

func (p *ListEgressFirewallRulesParams) SetIpaddressid(v string)

func (*ListEgressFirewallRulesParams) SetIsrecursive

func (p *ListEgressFirewallRulesParams) SetIsrecursive(v bool)

func (*ListEgressFirewallRulesParams) SetKeyword

func (p *ListEgressFirewallRulesParams) SetKeyword(v string)

func (*ListEgressFirewallRulesParams) SetListall

func (p *ListEgressFirewallRulesParams) SetListall(v bool)

func (*ListEgressFirewallRulesParams) SetNetworkid

func (p *ListEgressFirewallRulesParams) SetNetworkid(v string)

func (*ListEgressFirewallRulesParams) SetPage

func (p *ListEgressFirewallRulesParams) SetPage(v int)

func (*ListEgressFirewallRulesParams) SetPagesize

func (p *ListEgressFirewallRulesParams) SetPagesize(v int)

func (*ListEgressFirewallRulesParams) SetProjectid

func (p *ListEgressFirewallRulesParams) SetProjectid(v string)

func (*ListEgressFirewallRulesParams) SetTags

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

type ListEgressFirewallRulesResponse

type ListEgressFirewallRulesResponse struct {
	Count               int                   `json:"count"`
	EgressFirewallRules []*EgressFirewallRule `json:"firewallrule"`
}

type ListEventTypesParams

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

type ListEventTypesResponse

type ListEventTypesResponse struct {
	Count      int          `json:"count"`
	EventTypes []*EventType `json:"eventtype"`
}

type ListEventsParams

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

func (*ListEventsParams) SetAccount

func (p *ListEventsParams) SetAccount(v string)

func (*ListEventsParams) SetDomainid

func (p *ListEventsParams) SetDomainid(v string)

func (*ListEventsParams) SetDuration

func (p *ListEventsParams) SetDuration(v int)

func (*ListEventsParams) SetEnddate

func (p *ListEventsParams) SetEnddate(v string)

func (*ListEventsParams) SetEntrytime

func (p *ListEventsParams) SetEntrytime(v int)

func (*ListEventsParams) SetId

func (p *ListEventsParams) SetId(v string)

func (*ListEventsParams) SetIsrecursive

func (p *ListEventsParams) SetIsrecursive(v bool)

func (*ListEventsParams) SetKeyword

func (p *ListEventsParams) SetKeyword(v string)

func (*ListEventsParams) SetLevel

func (p *ListEventsParams) SetLevel(v string)

func (*ListEventsParams) SetListall

func (p *ListEventsParams) SetListall(v bool)

func (*ListEventsParams) SetPage

func (p *ListEventsParams) SetPage(v int)

func (*ListEventsParams) SetPagesize

func (p *ListEventsParams) SetPagesize(v int)

func (*ListEventsParams) SetProjectid

func (p *ListEventsParams) SetProjectid(v string)

func (*ListEventsParams) SetStartdate

func (p *ListEventsParams) SetStartdate(v string)

func (*ListEventsParams) SetType

func (p *ListEventsParams) SetType(v string)

type ListEventsResponse

type ListEventsResponse struct {
	Count  int      `json:"count"`
	Events []*Event `json:"event"`
}

type ListFirewallRulesParams

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

func (*ListFirewallRulesParams) SetAccount

func (p *ListFirewallRulesParams) SetAccount(v string)

func (*ListFirewallRulesParams) SetDomainid

func (p *ListFirewallRulesParams) SetDomainid(v string)

func (*ListFirewallRulesParams) SetFordisplay

func (p *ListFirewallRulesParams) SetFordisplay(v bool)

func (*ListFirewallRulesParams) SetId

func (p *ListFirewallRulesParams) SetId(v string)

func (*ListFirewallRulesParams) SetIpaddressid

func (p *ListFirewallRulesParams) SetIpaddressid(v string)

func (*ListFirewallRulesParams) SetIsrecursive

func (p *ListFirewallRulesParams) SetIsrecursive(v bool)

func (*ListFirewallRulesParams) SetKeyword

func (p *ListFirewallRulesParams) SetKeyword(v string)

func (*ListFirewallRulesParams) SetListall

func (p *ListFirewallRulesParams) SetListall(v bool)

func (*ListFirewallRulesParams) SetNetworkid

func (p *ListFirewallRulesParams) SetNetworkid(v string)

func (*ListFirewallRulesParams) SetPage

func (p *ListFirewallRulesParams) SetPage(v int)

func (*ListFirewallRulesParams) SetPagesize

func (p *ListFirewallRulesParams) SetPagesize(v int)

func (*ListFirewallRulesParams) SetProjectid

func (p *ListFirewallRulesParams) SetProjectid(v string)

func (*ListFirewallRulesParams) SetTags

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

type ListFirewallRulesResponse

type ListFirewallRulesResponse struct {
	Count         int             `json:"count"`
	FirewallRules []*FirewallRule `json:"firewallrule"`
}

type ListGuestOsMappingParams

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

func (*ListGuestOsMappingParams) SetHypervisor

func (p *ListGuestOsMappingParams) SetHypervisor(v string)

func (*ListGuestOsMappingParams) SetHypervisorversion

func (p *ListGuestOsMappingParams) SetHypervisorversion(v string)

func (*ListGuestOsMappingParams) SetId

func (p *ListGuestOsMappingParams) SetId(v string)

func (*ListGuestOsMappingParams) SetKeyword

func (p *ListGuestOsMappingParams) SetKeyword(v string)

func (*ListGuestOsMappingParams) SetOstypeid

func (p *ListGuestOsMappingParams) SetOstypeid(v string)

func (*ListGuestOsMappingParams) SetPage

func (p *ListGuestOsMappingParams) SetPage(v int)

func (*ListGuestOsMappingParams) SetPagesize

func (p *ListGuestOsMappingParams) SetPagesize(v int)

type ListGuestOsMappingResponse

type ListGuestOsMappingResponse struct {
	Count          int               `json:"count"`
	GuestOsMapping []*GuestOsMapping `json:"guestosmapping"`
}

type ListHAWorkersParams

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

func (*ListHAWorkersParams) SetDomainid

func (p *ListHAWorkersParams) SetDomainid(v string)

func (*ListHAWorkersParams) SetId

func (p *ListHAWorkersParams) SetId(v int64)

func (*ListHAWorkersParams) SetIsrecursive

func (p *ListHAWorkersParams) SetIsrecursive(v bool)

func (*ListHAWorkersParams) SetKeyword

func (p *ListHAWorkersParams) SetKeyword(v string)

func (*ListHAWorkersParams) SetListall

func (p *ListHAWorkersParams) SetListall(v bool)

func (*ListHAWorkersParams) SetPage

func (p *ListHAWorkersParams) SetPage(v int)

func (*ListHAWorkersParams) SetPagesize

func (p *ListHAWorkersParams) SetPagesize(v int)

type ListHAWorkersResponse

type ListHAWorkersResponse struct {
	Count     int         `json:"count"`
	HAWorkers []*HAWorker `json:"haworker"`
}

type ListHostTagsParams

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

func (*ListHostTagsParams) SetKeyword

func (p *ListHostTagsParams) SetKeyword(v string)

func (*ListHostTagsParams) SetPage

func (p *ListHostTagsParams) SetPage(v int)

func (*ListHostTagsParams) SetPagesize

func (p *ListHostTagsParams) SetPagesize(v int)

type ListHostTagsResponse

type ListHostTagsResponse struct {
	Count    int        `json:"count"`
	HostTags []*HostTag `json:"hosttag"`
}

type ListHostsParams

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

func (*ListHostsParams) SetClusterid

func (p *ListHostsParams) SetClusterid(v string)

func (*ListHostsParams) SetDetails

func (p *ListHostsParams) SetDetails(v []string)

func (*ListHostsParams) SetHahost

func (p *ListHostsParams) SetHahost(v bool)

func (*ListHostsParams) SetHypervisor

func (p *ListHostsParams) SetHypervisor(v string)

func (*ListHostsParams) SetId

func (p *ListHostsParams) SetId(v string)

func (*ListHostsParams) SetKeyword

func (p *ListHostsParams) SetKeyword(v string)

func (*ListHostsParams) SetName

func (p *ListHostsParams) SetName(v string)

func (*ListHostsParams) SetPage

func (p *ListHostsParams) SetPage(v int)

func (*ListHostsParams) SetPagesize

func (p *ListHostsParams) SetPagesize(v int)

func (*ListHostsParams) SetPodid

func (p *ListHostsParams) SetPodid(v string)

func (*ListHostsParams) SetResourcestate

func (p *ListHostsParams) SetResourcestate(v string)

func (*ListHostsParams) SetState

func (p *ListHostsParams) SetState(v string)

func (*ListHostsParams) SetType

func (p *ListHostsParams) SetType(v string)

func (*ListHostsParams) SetVirtualmachineid

func (p *ListHostsParams) SetVirtualmachineid(v string)

func (*ListHostsParams) SetZoneid

func (p *ListHostsParams) SetZoneid(v string)

type ListHostsResponse

type ListHostsResponse struct {
	Count int     `json:"count"`
	Hosts []*Host `json:"host"`
}

type ListHypervisorCapabilitiesParams

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

func (*ListHypervisorCapabilitiesParams) SetHypervisor

func (p *ListHypervisorCapabilitiesParams) SetHypervisor(v string)

func (*ListHypervisorCapabilitiesParams) SetId

func (*ListHypervisorCapabilitiesParams) SetKeyword

func (p *ListHypervisorCapabilitiesParams) SetKeyword(v string)

func (*ListHypervisorCapabilitiesParams) SetPage

func (p *ListHypervisorCapabilitiesParams) SetPage(v int)

func (*ListHypervisorCapabilitiesParams) SetPagesize

func (p *ListHypervisorCapabilitiesParams) SetPagesize(v int)

type ListHypervisorCapabilitiesResponse

type ListHypervisorCapabilitiesResponse struct {
	Count                  int                     `json:"count"`
	HypervisorCapabilities []*HypervisorCapability `json:"hypervisorcapability"`
}

type ListHypervisorsParams

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

func (*ListHypervisorsParams) SetZoneid

func (p *ListHypervisorsParams) SetZoneid(v string)

type ListHypervisorsResponse

type ListHypervisorsResponse struct {
	Count       int           `json:"count"`
	Hypervisors []*Hypervisor `json:"hypervisor"`
}

type ListImageStoresParams

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

func (*ListImageStoresParams) SetId

func (p *ListImageStoresParams) SetId(v string)

func (*ListImageStoresParams) SetKeyword

func (p *ListImageStoresParams) SetKeyword(v string)

func (*ListImageStoresParams) SetName

func (p *ListImageStoresParams) SetName(v string)

func (*ListImageStoresParams) SetPage

func (p *ListImageStoresParams) SetPage(v int)

func (*ListImageStoresParams) SetPagesize

func (p *ListImageStoresParams) SetPagesize(v int)

func (*ListImageStoresParams) SetProtocol

func (p *ListImageStoresParams) SetProtocol(v string)

func (*ListImageStoresParams) SetProvider

func (p *ListImageStoresParams) SetProvider(v string)

func (*ListImageStoresParams) SetZoneid

func (p *ListImageStoresParams) SetZoneid(v string)

type ListImageStoresResponse

type ListImageStoresResponse struct {
	Count       int           `json:"count"`
	ImageStores []*ImageStore `json:"imagestore"`
}

type ListInstanceGroupsParams

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

func (*ListInstanceGroupsParams) SetAccount

func (p *ListInstanceGroupsParams) SetAccount(v string)

func (*ListInstanceGroupsParams) SetDomainid

func (p *ListInstanceGroupsParams) SetDomainid(v string)

func (*ListInstanceGroupsParams) SetId

func (p *ListInstanceGroupsParams) SetId(v string)

func (*ListInstanceGroupsParams) SetIsrecursive

func (p *ListInstanceGroupsParams) SetIsrecursive(v bool)

func (*ListInstanceGroupsParams) SetKeyword

func (p *ListInstanceGroupsParams) SetKeyword(v string)

func (*ListInstanceGroupsParams) SetListall

func (p *ListInstanceGroupsParams) SetListall(v bool)

func (*ListInstanceGroupsParams) SetName

func (p *ListInstanceGroupsParams) SetName(v string)

func (*ListInstanceGroupsParams) SetPage

func (p *ListInstanceGroupsParams) SetPage(v int)

func (*ListInstanceGroupsParams) SetPagesize

func (p *ListInstanceGroupsParams) SetPagesize(v int)

func (*ListInstanceGroupsParams) SetProjectid

func (p *ListInstanceGroupsParams) SetProjectid(v string)

type ListInstanceGroupsResponse

type ListInstanceGroupsResponse struct {
	Count          int              `json:"count"`
	InstanceGroups []*InstanceGroup `json:"instancegroup"`
}

type ListIpForwardingRulesParams

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

func (*ListIpForwardingRulesParams) SetAccount

func (p *ListIpForwardingRulesParams) SetAccount(v string)

func (*ListIpForwardingRulesParams) SetDomainid

func (p *ListIpForwardingRulesParams) SetDomainid(v string)

func (*ListIpForwardingRulesParams) SetId

func (p *ListIpForwardingRulesParams) SetId(v string)

func (*ListIpForwardingRulesParams) SetIpaddressid

func (p *ListIpForwardingRulesParams) SetIpaddressid(v string)

func (*ListIpForwardingRulesParams) SetIsrecursive

func (p *ListIpForwardingRulesParams) SetIsrecursive(v bool)

func (*ListIpForwardingRulesParams) SetKeyword

func (p *ListIpForwardingRulesParams) SetKeyword(v string)

func (*ListIpForwardingRulesParams) SetListall

func (p *ListIpForwardingRulesParams) SetListall(v bool)

func (*ListIpForwardingRulesParams) SetPage

func (p *ListIpForwardingRulesParams) SetPage(v int)

func (*ListIpForwardingRulesParams) SetPagesize

func (p *ListIpForwardingRulesParams) SetPagesize(v int)

func (*ListIpForwardingRulesParams) SetProjectid

func (p *ListIpForwardingRulesParams) SetProjectid(v string)

func (*ListIpForwardingRulesParams) SetVirtualmachineid

func (p *ListIpForwardingRulesParams) SetVirtualmachineid(v string)

type ListIpForwardingRulesResponse

type ListIpForwardingRulesResponse struct {
	Count             int                 `json:"count"`
	IpForwardingRules []*IpForwardingRule `json:"ipforwardingrule"`
}

type ListIsoPermissionsParams

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

func (*ListIsoPermissionsParams) SetId

func (p *ListIsoPermissionsParams) SetId(v string)

type ListIsoPermissionsResponse

type ListIsoPermissionsResponse struct {
	Count          int              `json:"count"`
	IsoPermissions []*IsoPermission `json:"isopermission"`
}

type ListIsosParams

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

func (*ListIsosParams) SetAccount

func (p *ListIsosParams) SetAccount(v string)

func (*ListIsosParams) SetBootable

func (p *ListIsosParams) SetBootable(v bool)

func (*ListIsosParams) SetDomainid

func (p *ListIsosParams) SetDomainid(v string)

func (*ListIsosParams) SetHypervisor

func (p *ListIsosParams) SetHypervisor(v string)

func (*ListIsosParams) SetId

func (p *ListIsosParams) SetId(v string)

func (*ListIsosParams) SetIsofilter

func (p *ListIsosParams) SetIsofilter(v string)

func (*ListIsosParams) SetIspublic

func (p *ListIsosParams) SetIspublic(v bool)

func (*ListIsosParams) SetIsready

func (p *ListIsosParams) SetIsready(v bool)

func (*ListIsosParams) SetIsrecursive

func (p *ListIsosParams) SetIsrecursive(v bool)

func (*ListIsosParams) SetKeyword

func (p *ListIsosParams) SetKeyword(v string)

func (*ListIsosParams) SetListall

func (p *ListIsosParams) SetListall(v bool)

func (*ListIsosParams) SetName

func (p *ListIsosParams) SetName(v string)

func (*ListIsosParams) SetPage

func (p *ListIsosParams) SetPage(v int)

func (*ListIsosParams) SetPagesize

func (p *ListIsosParams) SetPagesize(v int)

func (*ListIsosParams) SetProjectid

func (p *ListIsosParams) SetProjectid(v string)

func (*ListIsosParams) SetShowremoved

func (p *ListIsosParams) SetShowremoved(v bool)

func (*ListIsosParams) SetTags

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

func (*ListIsosParams) SetZoneid

func (p *ListIsosParams) SetZoneid(v string)

type ListIsosResponse

type ListIsosResponse struct {
	Count int    `json:"count"`
	Isos  []*Iso `json:"iso"`
}

type ListLBHealthCheckPoliciesParams

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

func (*ListLBHealthCheckPoliciesParams) SetFordisplay

func (p *ListLBHealthCheckPoliciesParams) SetFordisplay(v bool)

func (*ListLBHealthCheckPoliciesParams) SetId

func (*ListLBHealthCheckPoliciesParams) SetKeyword

func (p *ListLBHealthCheckPoliciesParams) SetKeyword(v string)

func (*ListLBHealthCheckPoliciesParams) SetLbruleid

func (p *ListLBHealthCheckPoliciesParams) SetLbruleid(v string)

func (*ListLBHealthCheckPoliciesParams) SetPage

func (p *ListLBHealthCheckPoliciesParams) SetPage(v int)

func (*ListLBHealthCheckPoliciesParams) SetPagesize

func (p *ListLBHealthCheckPoliciesParams) SetPagesize(v int)

type ListLBHealthCheckPoliciesResponse

type ListLBHealthCheckPoliciesResponse struct {
	Count                 int                    `json:"count"`
	LBHealthCheckPolicies []*LBHealthCheckPolicy `json:"lbhealthcheckpolicy"`
}

type ListLBStickinessPoliciesParams

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

func (*ListLBStickinessPoliciesParams) SetFordisplay

func (p *ListLBStickinessPoliciesParams) SetFordisplay(v bool)

func (*ListLBStickinessPoliciesParams) SetId

func (*ListLBStickinessPoliciesParams) SetKeyword

func (p *ListLBStickinessPoliciesParams) SetKeyword(v string)

func (*ListLBStickinessPoliciesParams) SetLbruleid

func (p *ListLBStickinessPoliciesParams) SetLbruleid(v string)

func (*ListLBStickinessPoliciesParams) SetPage

func (p *ListLBStickinessPoliciesParams) SetPage(v int)

func (*ListLBStickinessPoliciesParams) SetPagesize

func (p *ListLBStickinessPoliciesParams) SetPagesize(v int)

type ListLBStickinessPoliciesResponse

type ListLBStickinessPoliciesResponse struct {
	Count                int                   `json:"count"`
	LBStickinessPolicies []*LBStickinessPolicy `json:"lbstickinesspolicy"`
}

type ListLdapConfigurationsParams

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

func (*ListLdapConfigurationsParams) SetHostname

func (p *ListLdapConfigurationsParams) SetHostname(v string)

func (*ListLdapConfigurationsParams) SetKeyword

func (p *ListLdapConfigurationsParams) SetKeyword(v string)

func (*ListLdapConfigurationsParams) SetPage

func (p *ListLdapConfigurationsParams) SetPage(v int)

func (*ListLdapConfigurationsParams) SetPagesize

func (p *ListLdapConfigurationsParams) SetPagesize(v int)

func (*ListLdapConfigurationsParams) SetPort

func (p *ListLdapConfigurationsParams) SetPort(v int)

type ListLdapConfigurationsResponse

type ListLdapConfigurationsResponse struct {
	Count              int                  `json:"count"`
	LdapConfigurations []*LdapConfiguration `json:"ldapconfiguration"`
}

type ListLdapUsersParams

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

func (*ListLdapUsersParams) SetKeyword

func (p *ListLdapUsersParams) SetKeyword(v string)

func (*ListLdapUsersParams) SetListtype

func (p *ListLdapUsersParams) SetListtype(v string)

func (*ListLdapUsersParams) SetPage

func (p *ListLdapUsersParams) SetPage(v int)

func (*ListLdapUsersParams) SetPagesize

func (p *ListLdapUsersParams) SetPagesize(v int)

type ListLdapUsersResponse

type ListLdapUsersResponse struct {
	Count     int         `json:"count"`
	LdapUsers []*LdapUser `json:"ldapuser"`
}

type ListLoadBalancerRuleInstancesParams

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

func (*ListLoadBalancerRuleInstancesParams) SetApplied

func (p *ListLoadBalancerRuleInstancesParams) SetApplied(v bool)

func (*ListLoadBalancerRuleInstancesParams) SetId

func (*ListLoadBalancerRuleInstancesParams) SetKeyword

func (*ListLoadBalancerRuleInstancesParams) SetLbvmips

func (p *ListLoadBalancerRuleInstancesParams) SetLbvmips(v bool)

func (*ListLoadBalancerRuleInstancesParams) SetPage

func (*ListLoadBalancerRuleInstancesParams) SetPagesize

func (p *ListLoadBalancerRuleInstancesParams) SetPagesize(v int)

type ListLoadBalancerRuleInstancesResponse

type ListLoadBalancerRuleInstancesResponse struct {
	Count                     int                         `json:"count"`
	LBRuleVMIDIPs             []*LoadBalancerRuleInstance `json:"lbrulevmidip,omitempty"`
	LoadBalancerRuleInstances []*VirtualMachine           `json:"loadbalancerruleinstance,omitempty"`
}

type ListLoadBalancerRulesParams

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

func (*ListLoadBalancerRulesParams) SetAccount

func (p *ListLoadBalancerRulesParams) SetAccount(v string)

func (*ListLoadBalancerRulesParams) SetDomainid

func (p *ListLoadBalancerRulesParams) SetDomainid(v string)

func (*ListLoadBalancerRulesParams) SetFordisplay

func (p *ListLoadBalancerRulesParams) SetFordisplay(v bool)

func (*ListLoadBalancerRulesParams) SetId

func (p *ListLoadBalancerRulesParams) SetId(v string)

func (*ListLoadBalancerRulesParams) SetIsrecursive

func (p *ListLoadBalancerRulesParams) SetIsrecursive(v bool)

func (*ListLoadBalancerRulesParams) SetKeyword

func (p *ListLoadBalancerRulesParams) SetKeyword(v string)

func (*ListLoadBalancerRulesParams) SetListall

func (p *ListLoadBalancerRulesParams) SetListall(v bool)

func (*ListLoadBalancerRulesParams) SetName

func (p *ListLoadBalancerRulesParams) SetName(v string)

func (*ListLoadBalancerRulesParams) SetNetworkid

func (p *ListLoadBalancerRulesParams) SetNetworkid(v string)

func (*ListLoadBalancerRulesParams) SetPage

func (p *ListLoadBalancerRulesParams) SetPage(v int)

func (*ListLoadBalancerRulesParams) SetPagesize

func (p *ListLoadBalancerRulesParams) SetPagesize(v int)

func (*ListLoadBalancerRulesParams) SetProjectid

func (p *ListLoadBalancerRulesParams) SetProjectid(v string)

func (*ListLoadBalancerRulesParams) SetPublicipid

func (p *ListLoadBalancerRulesParams) SetPublicipid(v string)

func (*ListLoadBalancerRulesParams) SetTags

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

func (*ListLoadBalancerRulesParams) SetVirtualmachineid

func (p *ListLoadBalancerRulesParams) SetVirtualmachineid(v string)

func (*ListLoadBalancerRulesParams) SetZoneid

func (p *ListLoadBalancerRulesParams) SetZoneid(v string)

type ListLoadBalancerRulesResponse

type ListLoadBalancerRulesResponse struct {
	Count             int                 `json:"count"`
	LoadBalancerRules []*LoadBalancerRule `json:"loadbalancerrule"`
}

type ListNetworkACLListsParams

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

func (*ListNetworkACLListsParams) SetAccount

func (p *ListNetworkACLListsParams) SetAccount(v string)

func (*ListNetworkACLListsParams) SetDomainid

func (p *ListNetworkACLListsParams) SetDomainid(v string)

func (*ListNetworkACLListsParams) SetFordisplay

func (p *ListNetworkACLListsParams) SetFordisplay(v bool)

func (*ListNetworkACLListsParams) SetId

func (p *ListNetworkACLListsParams) SetId(v string)

func (*ListNetworkACLListsParams) SetIsrecursive

func (p *ListNetworkACLListsParams) SetIsrecursive(v bool)

func (*ListNetworkACLListsParams) SetKeyword

func (p *ListNetworkACLListsParams) SetKeyword(v string)

func (*ListNetworkACLListsParams) SetListall

func (p *ListNetworkACLListsParams) SetListall(v bool)

func (*ListNetworkACLListsParams) SetName

func (p *ListNetworkACLListsParams) SetName(v string)

func (*ListNetworkACLListsParams) SetNetworkid

func (p *ListNetworkACLListsParams) SetNetworkid(v string)

func (*ListNetworkACLListsParams) SetPage

func (p *ListNetworkACLListsParams) SetPage(v int)

func (*ListNetworkACLListsParams) SetPagesize

func (p *ListNetworkACLListsParams) SetPagesize(v int)

func (*ListNetworkACLListsParams) SetProjectid

func (p *ListNetworkACLListsParams) SetProjectid(v string)

func (*ListNetworkACLListsParams) SetVpcid

func (p *ListNetworkACLListsParams) SetVpcid(v string)

type ListNetworkACLListsResponse

type ListNetworkACLListsResponse struct {
	Count           int               `json:"count"`
	NetworkACLLists []*NetworkACLList `json:"networkacllist"`
}

type ListNetworkACLsParams

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

func (*ListNetworkACLsParams) SetAccount

func (p *ListNetworkACLsParams) SetAccount(v string)

func (*ListNetworkACLsParams) SetAclid

func (p *ListNetworkACLsParams) SetAclid(v string)

func (*ListNetworkACLsParams) SetAction

func (p *ListNetworkACLsParams) SetAction(v string)

func (*ListNetworkACLsParams) SetDomainid

func (p *ListNetworkACLsParams) SetDomainid(v string)

func (*ListNetworkACLsParams) SetFordisplay

func (p *ListNetworkACLsParams) SetFordisplay(v bool)

func (*ListNetworkACLsParams) SetId

func (p *ListNetworkACLsParams) SetId(v string)

func (*ListNetworkACLsParams) SetIsrecursive

func (p *ListNetworkACLsParams) SetIsrecursive(v bool)

func (*ListNetworkACLsParams) SetKeyword

func (p *ListNetworkACLsParams) SetKeyword(v string)

func (*ListNetworkACLsParams) SetListall

func (p *ListNetworkACLsParams) SetListall(v bool)

func (*ListNetworkACLsParams) SetNetworkid

func (p *ListNetworkACLsParams) SetNetworkid(v string)

func (*ListNetworkACLsParams) SetPage

func (p *ListNetworkACLsParams) SetPage(v int)

func (*ListNetworkACLsParams) SetPagesize

func (p *ListNetworkACLsParams) SetPagesize(v int)

func (*ListNetworkACLsParams) SetProjectid

func (p *ListNetworkACLsParams) SetProjectid(v string)

func (*ListNetworkACLsParams) SetProtocol

func (p *ListNetworkACLsParams) SetProtocol(v string)

func (*ListNetworkACLsParams) SetTags

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

func (*ListNetworkACLsParams) SetTraffictype

func (p *ListNetworkACLsParams) SetTraffictype(v string)

type ListNetworkACLsResponse

type ListNetworkACLsResponse struct {
	Count       int           `json:"count"`
	NetworkACLs []*NetworkACL `json:"networkacl"`
}

type ListNetworkDeviceParams

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

func (*ListNetworkDeviceParams) SetKeyword

func (p *ListNetworkDeviceParams) SetKeyword(v string)

func (*ListNetworkDeviceParams) SetNetworkdeviceparameterlist

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

func (*ListNetworkDeviceParams) SetNetworkdevicetype

func (p *ListNetworkDeviceParams) SetNetworkdevicetype(v string)

func (*ListNetworkDeviceParams) SetPage

func (p *ListNetworkDeviceParams) SetPage(v int)

func (*ListNetworkDeviceParams) SetPagesize

func (p *ListNetworkDeviceParams) SetPagesize(v int)

type ListNetworkDeviceResponse

type ListNetworkDeviceResponse struct {
	Count         int              `json:"count"`
	NetworkDevice []*NetworkDevice `json:"networkdevice"`
}

type ListNetworkIsolationMethodsParams

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

func (*ListNetworkIsolationMethodsParams) SetKeyword

func (p *ListNetworkIsolationMethodsParams) SetKeyword(v string)

func (*ListNetworkIsolationMethodsParams) SetPage

func (p *ListNetworkIsolationMethodsParams) SetPage(v int)

func (*ListNetworkIsolationMethodsParams) SetPagesize

func (p *ListNetworkIsolationMethodsParams) SetPagesize(v int)

type ListNetworkIsolationMethodsResponse

type ListNetworkIsolationMethodsResponse struct {
	Count                   int                       `json:"count"`
	NetworkIsolationMethods []*NetworkIsolationMethod `json:"networkisolationmethod"`
}

type ListNetworkOfferingsParams

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

func (*ListNetworkOfferingsParams) SetAvailability

func (p *ListNetworkOfferingsParams) SetAvailability(v string)

func (*ListNetworkOfferingsParams) SetDisplaytext

func (p *ListNetworkOfferingsParams) SetDisplaytext(v string)

func (*ListNetworkOfferingsParams) SetForvpc

func (p *ListNetworkOfferingsParams) SetForvpc(v bool)

func (*ListNetworkOfferingsParams) SetGuestiptype

func (p *ListNetworkOfferingsParams) SetGuestiptype(v string)

func (*ListNetworkOfferingsParams) SetId

func (p *ListNetworkOfferingsParams) SetId(v string)

func (*ListNetworkOfferingsParams) SetIsdefault

func (p *ListNetworkOfferingsParams) SetIsdefault(v bool)

func (*ListNetworkOfferingsParams) SetIstagged

func (p *ListNetworkOfferingsParams) SetIstagged(v bool)

func (*ListNetworkOfferingsParams) SetKeyword

func (p *ListNetworkOfferingsParams) SetKeyword(v string)

func (*ListNetworkOfferingsParams) SetName

func (p *ListNetworkOfferingsParams) SetName(v string)

func (*ListNetworkOfferingsParams) SetNetworkid

func (p *ListNetworkOfferingsParams) SetNetworkid(v string)

func (*ListNetworkOfferingsParams) SetPage

func (p *ListNetworkOfferingsParams) SetPage(v int)

func (*ListNetworkOfferingsParams) SetPagesize

func (p *ListNetworkOfferingsParams) SetPagesize(v int)

func (*ListNetworkOfferingsParams) SetSourcenatsupported

func (p *ListNetworkOfferingsParams) SetSourcenatsupported(v bool)

func (*ListNetworkOfferingsParams) SetSpecifyipranges

func (p *ListNetworkOfferingsParams) SetSpecifyipranges(v bool)

func (*ListNetworkOfferingsParams) SetSpecifyvlan

func (p *ListNetworkOfferingsParams) SetSpecifyvlan(v bool)

func (*ListNetworkOfferingsParams) SetState

func (p *ListNetworkOfferingsParams) SetState(v string)

func (*ListNetworkOfferingsParams) SetSupportedservices

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

func (*ListNetworkOfferingsParams) SetTags

func (p *ListNetworkOfferingsParams) SetTags(v string)

func (*ListNetworkOfferingsParams) SetTraffictype

func (p *ListNetworkOfferingsParams) SetTraffictype(v string)

func (*ListNetworkOfferingsParams) SetZoneid

func (p *ListNetworkOfferingsParams) SetZoneid(v string)

type ListNetworkOfferingsResponse

type ListNetworkOfferingsResponse struct {
	Count            int                `json:"count"`
	NetworkOfferings []*NetworkOffering `json:"networkoffering"`
}

type ListNetworkServiceProvidersParams

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

func (*ListNetworkServiceProvidersParams) SetKeyword

func (p *ListNetworkServiceProvidersParams) SetKeyword(v string)

func (*ListNetworkServiceProvidersParams) SetName

func (*ListNetworkServiceProvidersParams) SetPage

func (p *ListNetworkServiceProvidersParams) SetPage(v int)

func (*ListNetworkServiceProvidersParams) SetPagesize

func (p *ListNetworkServiceProvidersParams) SetPagesize(v int)

func (*ListNetworkServiceProvidersParams) SetPhysicalnetworkid

func (p *ListNetworkServiceProvidersParams) SetPhysicalnetworkid(v string)

func (*ListNetworkServiceProvidersParams) SetState

type ListNetworkServiceProvidersResponse

type ListNetworkServiceProvidersResponse struct {
	Count                   int                       `json:"count"`
	NetworkServiceProviders []*NetworkServiceProvider `json:"networkserviceprovider"`
}

type ListNetworksParams

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

func (*ListNetworksParams) SetAccount

func (p *ListNetworksParams) SetAccount(v string)

func (*ListNetworksParams) SetAcltype

func (p *ListNetworksParams) SetAcltype(v string)

func (*ListNetworksParams) SetCanusefordeploy

func (p *ListNetworksParams) SetCanusefordeploy(v bool)

func (*ListNetworksParams) SetDisplaynetwork

func (p *ListNetworksParams) SetDisplaynetwork(v bool)

func (*ListNetworksParams) SetDomainid

func (p *ListNetworksParams) SetDomainid(v string)

func (*ListNetworksParams) SetForvpc

func (p *ListNetworksParams) SetForvpc(v bool)

func (*ListNetworksParams) SetId

func (p *ListNetworksParams) SetId(v string)

func (*ListNetworksParams) SetIsrecursive

func (p *ListNetworksParams) SetIsrecursive(v bool)

func (*ListNetworksParams) SetIssystem

func (p *ListNetworksParams) SetIssystem(v bool)

func (*ListNetworksParams) SetKeyword

func (p *ListNetworksParams) SetKeyword(v string)

func (*ListNetworksParams) SetListall

func (p *ListNetworksParams) SetListall(v bool)

func (*ListNetworksParams) SetPage

func (p *ListNetworksParams) SetPage(v int)

func (*ListNetworksParams) SetPagesize

func (p *ListNetworksParams) SetPagesize(v int)

func (*ListNetworksParams) SetPhysicalnetworkid

func (p *ListNetworksParams) SetPhysicalnetworkid(v string)

func (*ListNetworksParams) SetProjectid

func (p *ListNetworksParams) SetProjectid(v string)

func (*ListNetworksParams) SetRestartrequired

func (p *ListNetworksParams) SetRestartrequired(v bool)

func (*ListNetworksParams) SetSpecifyipranges

func (p *ListNetworksParams) SetSpecifyipranges(v bool)

func (*ListNetworksParams) SetSupportedservices

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

func (*ListNetworksParams) SetTags

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

func (*ListNetworksParams) SetTraffictype

func (p *ListNetworksParams) SetTraffictype(v string)

func (*ListNetworksParams) SetType

func (p *ListNetworksParams) SetType(v string)

func (*ListNetworksParams) SetVpcid

func (p *ListNetworksParams) SetVpcid(v string)

func (*ListNetworksParams) SetZoneid

func (p *ListNetworksParams) SetZoneid(v string)

type ListNetworksResponse

type ListNetworksResponse struct {
	Count    int        `json:"count"`
	Networks []*Network `json:"network"`
}

type ListNiciraNvpDeviceNetworksParams

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

func (*ListNiciraNvpDeviceNetworksParams) SetKeyword

func (p *ListNiciraNvpDeviceNetworksParams) SetKeyword(v string)

func (*ListNiciraNvpDeviceNetworksParams) SetNvpdeviceid

func (p *ListNiciraNvpDeviceNetworksParams) SetNvpdeviceid(v string)

func (*ListNiciraNvpDeviceNetworksParams) SetPage

func (p *ListNiciraNvpDeviceNetworksParams) SetPage(v int)

func (*ListNiciraNvpDeviceNetworksParams) SetPagesize

func (p *ListNiciraNvpDeviceNetworksParams) SetPagesize(v int)

type ListNiciraNvpDeviceNetworksResponse

type ListNiciraNvpDeviceNetworksResponse struct {
	Count                   int                       `json:"count"`
	NiciraNvpDeviceNetworks []*NiciraNvpDeviceNetwork `json:"niciranvpdevicenetwork"`
}

type ListNiciraNvpDevicesParams

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

func (*ListNiciraNvpDevicesParams) SetKeyword

func (p *ListNiciraNvpDevicesParams) SetKeyword(v string)

func (*ListNiciraNvpDevicesParams) SetNvpdeviceid

func (p *ListNiciraNvpDevicesParams) SetNvpdeviceid(v string)

func (*ListNiciraNvpDevicesParams) SetPage

func (p *ListNiciraNvpDevicesParams) SetPage(v int)

func (*ListNiciraNvpDevicesParams) SetPagesize

func (p *ListNiciraNvpDevicesParams) SetPagesize(v int)

func (*ListNiciraNvpDevicesParams) SetPhysicalnetworkid

func (p *ListNiciraNvpDevicesParams) SetPhysicalnetworkid(v string)

type ListNiciraNvpDevicesResponse

type ListNiciraNvpDevicesResponse struct {
	Count            int                `json:"count"`
	NiciraNvpDevices []*NiciraNvpDevice `json:"niciranvpdevice"`
}

type ListNicsParams

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

func (*ListNicsParams) SetFordisplay

func (p *ListNicsParams) SetFordisplay(v bool)

func (*ListNicsParams) SetKeyword

func (p *ListNicsParams) SetKeyword(v string)

func (*ListNicsParams) SetNetworkid

func (p *ListNicsParams) SetNetworkid(v string)

func (*ListNicsParams) SetNicid

func (p *ListNicsParams) SetNicid(v string)

func (*ListNicsParams) SetPage

func (p *ListNicsParams) SetPage(v int)

func (*ListNicsParams) SetPagesize

func (p *ListNicsParams) SetPagesize(v int)

func (*ListNicsParams) SetVirtualmachineid

func (p *ListNicsParams) SetVirtualmachineid(v string)

type ListNicsResponse

type ListNicsResponse struct {
	Count int    `json:"count"`
	Nics  []*Nic `json:"nic"`
}

type ListOsCategoriesParams

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

func (*ListOsCategoriesParams) SetId

func (p *ListOsCategoriesParams) SetId(v string)

func (*ListOsCategoriesParams) SetKeyword

func (p *ListOsCategoriesParams) SetKeyword(v string)

func (*ListOsCategoriesParams) SetName

func (p *ListOsCategoriesParams) SetName(v string)

func (*ListOsCategoriesParams) SetPage

func (p *ListOsCategoriesParams) SetPage(v int)

func (*ListOsCategoriesParams) SetPagesize

func (p *ListOsCategoriesParams) SetPagesize(v int)

type ListOsCategoriesResponse

type ListOsCategoriesResponse struct {
	Count        int           `json:"count"`
	OsCategories []*OsCategory `json:"oscategory"`
}

type ListOsTypesParams

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

func (*ListOsTypesParams) SetDescription

func (p *ListOsTypesParams) SetDescription(v string)

func (*ListOsTypesParams) SetId

func (p *ListOsTypesParams) SetId(v string)

func (*ListOsTypesParams) SetKeyword

func (p *ListOsTypesParams) SetKeyword(v string)

func (*ListOsTypesParams) SetOscategoryid

func (p *ListOsTypesParams) SetOscategoryid(v string)

func (*ListOsTypesParams) SetPage

func (p *ListOsTypesParams) SetPage(v int)

func (*ListOsTypesParams) SetPagesize

func (p *ListOsTypesParams) SetPagesize(v int)

type ListOsTypesResponse

type ListOsTypesResponse struct {
	Count   int       `json:"count"`
	OsTypes []*OsType `json:"ostype"`
}

type ListPhysicalNetworksParams

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

func (*ListPhysicalNetworksParams) SetId

func (p *ListPhysicalNetworksParams) SetId(v string)

func (*ListPhysicalNetworksParams) SetKeyword

func (p *ListPhysicalNetworksParams) SetKeyword(v string)

func (*ListPhysicalNetworksParams) SetName

func (p *ListPhysicalNetworksParams) SetName(v string)

func (*ListPhysicalNetworksParams) SetPage

func (p *ListPhysicalNetworksParams) SetPage(v int)

func (*ListPhysicalNetworksParams) SetPagesize

func (p *ListPhysicalNetworksParams) SetPagesize(v int)

func (*ListPhysicalNetworksParams) SetZoneid

func (p *ListPhysicalNetworksParams) SetZoneid(v string)

type ListPhysicalNetworksResponse

type ListPhysicalNetworksResponse struct {
	Count            int                `json:"count"`
	PhysicalNetworks []*PhysicalNetwork `json:"physicalnetwork"`
}

type ListPodsParams

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

func (*ListPodsParams) SetAllocationstate

func (p *ListPodsParams) SetAllocationstate(v string)

func (*ListPodsParams) SetId

func (p *ListPodsParams) SetId(v string)

func (*ListPodsParams) SetKeyword

func (p *ListPodsParams) SetKeyword(v string)

func (*ListPodsParams) SetName

func (p *ListPodsParams) SetName(v string)

func (*ListPodsParams) SetPage

func (p *ListPodsParams) SetPage(v int)

func (*ListPodsParams) SetPagesize

func (p *ListPodsParams) SetPagesize(v int)

func (*ListPodsParams) SetShowcapacities

func (p *ListPodsParams) SetShowcapacities(v bool)

func (*ListPodsParams) SetZoneid

func (p *ListPodsParams) SetZoneid(v string)

type ListPodsResponse

type ListPodsResponse struct {
	Count int    `json:"count"`
	Pods  []*Pod `json:"pod"`
}

type ListPortForwardingRulesParams

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

func (*ListPortForwardingRulesParams) SetAccount

func (p *ListPortForwardingRulesParams) SetAccount(v string)

func (*ListPortForwardingRulesParams) SetDomainid

func (p *ListPortForwardingRulesParams) SetDomainid(v string)

func (*ListPortForwardingRulesParams) SetFordisplay

func (p *ListPortForwardingRulesParams) SetFordisplay(v bool)

func (*ListPortForwardingRulesParams) SetId

func (*ListPortForwardingRulesParams) SetIpaddressid

func (p *ListPortForwardingRulesParams) SetIpaddressid(v string)

func (*ListPortForwardingRulesParams) SetIsrecursive

func (p *ListPortForwardingRulesParams) SetIsrecursive(v bool)

func (*ListPortForwardingRulesParams) SetKeyword

func (p *ListPortForwardingRulesParams) SetKeyword(v string)

func (*ListPortForwardingRulesParams) SetListall

func (p *ListPortForwardingRulesParams) SetListall(v bool)

func (*ListPortForwardingRulesParams) SetNetworkid

func (p *ListPortForwardingRulesParams) SetNetworkid(v string)

func (*ListPortForwardingRulesParams) SetPage

func (p *ListPortForwardingRulesParams) SetPage(v int)

func (*ListPortForwardingRulesParams) SetPagesize

func (p *ListPortForwardingRulesParams) SetPagesize(v int)

func (*ListPortForwardingRulesParams) SetProjectid

func (p *ListPortForwardingRulesParams) SetProjectid(v string)

func (*ListPortForwardingRulesParams) SetTags

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

type ListPortForwardingRulesResponse

type ListPortForwardingRulesResponse struct {
	Count               int                   `json:"count"`
	PortForwardingRules []*PortForwardingRule `json:"portforwardingrule"`
}

type ListPrivateGatewaysParams

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

func (*ListPrivateGatewaysParams) SetAccount

func (p *ListPrivateGatewaysParams) SetAccount(v string)

func (*ListPrivateGatewaysParams) SetDomainid

func (p *ListPrivateGatewaysParams) SetDomainid(v string)

func (*ListPrivateGatewaysParams) SetId

func (p *ListPrivateGatewaysParams) SetId(v string)

func (*ListPrivateGatewaysParams) SetIpaddress

func (p *ListPrivateGatewaysParams) SetIpaddress(v string)

func (*ListPrivateGatewaysParams) SetIsrecursive

func (p *ListPrivateGatewaysParams) SetIsrecursive(v bool)

func (*ListPrivateGatewaysParams) SetKeyword

func (p *ListPrivateGatewaysParams) SetKeyword(v string)

func (*ListPrivateGatewaysParams) SetListall

func (p *ListPrivateGatewaysParams) SetListall(v bool)

func (*ListPrivateGatewaysParams) SetNetworkid

func (p *ListPrivateGatewaysParams) SetNetworkid(v string)

func (*ListPrivateGatewaysParams) SetPage

func (p *ListPrivateGatewaysParams) SetPage(v int)

func (*ListPrivateGatewaysParams) SetPagesize

func (p *ListPrivateGatewaysParams) SetPagesize(v int)

func (*ListPrivateGatewaysParams) SetProjectid

func (p *ListPrivateGatewaysParams) SetProjectid(v string)

func (*ListPrivateGatewaysParams) SetState

func (p *ListPrivateGatewaysParams) SetState(v string)

func (*ListPrivateGatewaysParams) SetVpcid

func (p *ListPrivateGatewaysParams) SetVpcid(v string)

type ListPrivateGatewaysResponse

type ListPrivateGatewaysResponse struct {
	Count           int               `json:"count"`
	PrivateGateways []*PrivateGateway `json:"privategateway"`
}

type ListProjectAccountsParams

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

func (*ListProjectAccountsParams) SetAccount

func (p *ListProjectAccountsParams) SetAccount(v string)

func (*ListProjectAccountsParams) SetKeyword

func (p *ListProjectAccountsParams) SetKeyword(v string)

func (*ListProjectAccountsParams) SetPage

func (p *ListProjectAccountsParams) SetPage(v int)

func (*ListProjectAccountsParams) SetPagesize

func (p *ListProjectAccountsParams) SetPagesize(v int)

func (*ListProjectAccountsParams) SetProjectid

func (p *ListProjectAccountsParams) SetProjectid(v string)

func (*ListProjectAccountsParams) SetRole

func (p *ListProjectAccountsParams) SetRole(v string)

type ListProjectAccountsResponse

type ListProjectAccountsResponse struct {
	Count           int               `json:"count"`
	ProjectAccounts []*ProjectAccount `json:"projectaccount"`
}

type ListProjectInvitationsParams

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

func (*ListProjectInvitationsParams) SetAccount

func (p *ListProjectInvitationsParams) SetAccount(v string)

func (*ListProjectInvitationsParams) SetActiveonly

func (p *ListProjectInvitationsParams) SetActiveonly(v bool)

func (*ListProjectInvitationsParams) SetDomainid

func (p *ListProjectInvitationsParams) SetDomainid(v string)

func (*ListProjectInvitationsParams) SetId

func (*ListProjectInvitationsParams) SetIsrecursive

func (p *ListProjectInvitationsParams) SetIsrecursive(v bool)

func (*ListProjectInvitationsParams) SetKeyword

func (p *ListProjectInvitationsParams) SetKeyword(v string)

func (*ListProjectInvitationsParams) SetListall

func (p *ListProjectInvitationsParams) SetListall(v bool)

func (*ListProjectInvitationsParams) SetPage

func (p *ListProjectInvitationsParams) SetPage(v int)

func (*ListProjectInvitationsParams) SetPagesize

func (p *ListProjectInvitationsParams) SetPagesize(v int)

func (*ListProjectInvitationsParams) SetProjectid

func (p *ListProjectInvitationsParams) SetProjectid(v string)

func (*ListProjectInvitationsParams) SetState

func (p *ListProjectInvitationsParams) SetState(v string)

type ListProjectInvitationsResponse

type ListProjectInvitationsResponse struct {
	Count              int                  `json:"count"`
	ProjectInvitations []*ProjectInvitation `json:"projectinvitation"`
}

type ListProjectsParams

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

func (*ListProjectsParams) SetAccount

func (p *ListProjectsParams) SetAccount(v string)

func (*ListProjectsParams) SetDisplaytext

func (p *ListProjectsParams) SetDisplaytext(v string)

func (*ListProjectsParams) SetDomainid

func (p *ListProjectsParams) SetDomainid(v string)

func (*ListProjectsParams) SetId

func (p *ListProjectsParams) SetId(v string)

func (*ListProjectsParams) SetIsrecursive

func (p *ListProjectsParams) SetIsrecursive(v bool)

func (*ListProjectsParams) SetKeyword

func (p *ListProjectsParams) SetKeyword(v string)

func (*ListProjectsParams) SetListall

func (p *ListProjectsParams) SetListall(v bool)

func (*ListProjectsParams) SetName

func (p *ListProjectsParams) SetName(v string)

func (*ListProjectsParams) SetPage

func (p *ListProjectsParams) SetPage(v int)

func (*ListProjectsParams) SetPagesize

func (p *ListProjectsParams) SetPagesize(v int)

func (*ListProjectsParams) SetState

func (p *ListProjectsParams) SetState(v string)

func (*ListProjectsParams) SetTags

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

type ListProjectsResponse

type ListProjectsResponse struct {
	Count    int        `json:"count"`
	Projects []*Project `json:"project"`
}

type ListPublicIpAddressesParams

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

func (*ListPublicIpAddressesParams) SetAccount

func (p *ListPublicIpAddressesParams) SetAccount(v string)

func (*ListPublicIpAddressesParams) SetAllocatedonly

func (p *ListPublicIpAddressesParams) SetAllocatedonly(v bool)

func (*ListPublicIpAddressesParams) SetAssociatednetworkid

func (p *ListPublicIpAddressesParams) SetAssociatednetworkid(v string)

func (*ListPublicIpAddressesParams) SetDomainid

func (p *ListPublicIpAddressesParams) SetDomainid(v string)

func (*ListPublicIpAddressesParams) SetFordisplay

func (p *ListPublicIpAddressesParams) SetFordisplay(v bool)

func (*ListPublicIpAddressesParams) SetForloadbalancing

func (p *ListPublicIpAddressesParams) SetForloadbalancing(v bool)

func (*ListPublicIpAddressesParams) SetForvirtualnetwork

func (p *ListPublicIpAddressesParams) SetForvirtualnetwork(v bool)

func (*ListPublicIpAddressesParams) SetId

func (p *ListPublicIpAddressesParams) SetId(v string)

func (*ListPublicIpAddressesParams) SetIpaddress

func (p *ListPublicIpAddressesParams) SetIpaddress(v string)

func (*ListPublicIpAddressesParams) SetIsrecursive

func (p *ListPublicIpAddressesParams) SetIsrecursive(v bool)

func (*ListPublicIpAddressesParams) SetIssourcenat

func (p *ListPublicIpAddressesParams) SetIssourcenat(v bool)

func (*ListPublicIpAddressesParams) SetIsstaticnat

func (p *ListPublicIpAddressesParams) SetIsstaticnat(v bool)

func (*ListPublicIpAddressesParams) SetKeyword

func (p *ListPublicIpAddressesParams) SetKeyword(v string)

func (*ListPublicIpAddressesParams) SetListall

func (p *ListPublicIpAddressesParams) SetListall(v bool)

func (*ListPublicIpAddressesParams) SetPage

func (p *ListPublicIpAddressesParams) SetPage(v int)

func (*ListPublicIpAddressesParams) SetPagesize

func (p *ListPublicIpAddressesParams) SetPagesize(v int)

func (*ListPublicIpAddressesParams) SetPhysicalnetworkid

func (p *ListPublicIpAddressesParams) SetPhysicalnetworkid(v string)

func (*ListPublicIpAddressesParams) SetProjectid

func (p *ListPublicIpAddressesParams) SetProjectid(v string)

func (*ListPublicIpAddressesParams) SetState

func (p *ListPublicIpAddressesParams) SetState(v string)

func (*ListPublicIpAddressesParams) SetTags

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

func (*ListPublicIpAddressesParams) SetVlanid

func (p *ListPublicIpAddressesParams) SetVlanid(v string)

func (*ListPublicIpAddressesParams) SetVpcid

func (p *ListPublicIpAddressesParams) SetVpcid(v string)

func (*ListPublicIpAddressesParams) SetZoneid

func (p *ListPublicIpAddressesParams) SetZoneid(v string)

type ListPublicIpAddressesResponse

type ListPublicIpAddressesResponse struct {
	Count             int                `json:"count"`
	PublicIpAddresses []*PublicIpAddress `json:"publicipaddress"`
}

type ListRegionsParams

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

func (*ListRegionsParams) SetId

func (p *ListRegionsParams) SetId(v int)

func (*ListRegionsParams) SetKeyword

func (p *ListRegionsParams) SetKeyword(v string)

func (*ListRegionsParams) SetName

func (p *ListRegionsParams) SetName(v string)

func (*ListRegionsParams) SetPage

func (p *ListRegionsParams) SetPage(v int)

func (*ListRegionsParams) SetPagesize

func (p *ListRegionsParams) SetPagesize(v int)

type ListRegionsResponse

type ListRegionsResponse struct {
	Count   int       `json:"count"`
	Regions []*Region `json:"region"`
}

type ListRemoteAccessVpnsParams

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

func (*ListRemoteAccessVpnsParams) SetAccount

func (p *ListRemoteAccessVpnsParams) SetAccount(v string)

func (*ListRemoteAccessVpnsParams) SetDomainid

func (p *ListRemoteAccessVpnsParams) SetDomainid(v string)

func (*ListRemoteAccessVpnsParams) SetFordisplay

func (p *ListRemoteAccessVpnsParams) SetFordisplay(v bool)

func (*ListRemoteAccessVpnsParams) SetId

func (p *ListRemoteAccessVpnsParams) SetId(v string)

func (*ListRemoteAccessVpnsParams) SetIsrecursive

func (p *ListRemoteAccessVpnsParams) SetIsrecursive(v bool)

func (*ListRemoteAccessVpnsParams) SetKeyword

func (p *ListRemoteAccessVpnsParams) SetKeyword(v string)

func (*ListRemoteAccessVpnsParams) SetListall

func (p *ListRemoteAccessVpnsParams) SetListall(v bool)

func (*ListRemoteAccessVpnsParams) SetNetworkid

func (p *ListRemoteAccessVpnsParams) SetNetworkid(v string)

func (*ListRemoteAccessVpnsParams) SetPage

func (p *ListRemoteAccessVpnsParams) SetPage(v int)

func (*ListRemoteAccessVpnsParams) SetPagesize

func (p *ListRemoteAccessVpnsParams) SetPagesize(v int)

func (*ListRemoteAccessVpnsParams) SetProjectid

func (p *ListRemoteAccessVpnsParams) SetProjectid(v string)

func (*ListRemoteAccessVpnsParams) SetPublicipid

func (p *ListRemoteAccessVpnsParams) SetPublicipid(v string)

type ListRemoteAccessVpnsResponse

type ListRemoteAccessVpnsResponse struct {
	Count            int                `json:"count"`
	RemoteAccessVpns []*RemoteAccessVpn `json:"remoteaccessvpn"`
}

type ListResourceDetailsParams

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

func (*ListResourceDetailsParams) SetAccount

func (p *ListResourceDetailsParams) SetAccount(v string)

func (*ListResourceDetailsParams) SetDomainid

func (p *ListResourceDetailsParams) SetDomainid(v string)

func (*ListResourceDetailsParams) SetFordisplay

func (p *ListResourceDetailsParams) SetFordisplay(v bool)

func (*ListResourceDetailsParams) SetIsrecursive

func (p *ListResourceDetailsParams) SetIsrecursive(v bool)

func (*ListResourceDetailsParams) SetKey

func (p *ListResourceDetailsParams) SetKey(v string)

func (*ListResourceDetailsParams) SetKeyword

func (p *ListResourceDetailsParams) SetKeyword(v string)

func (*ListResourceDetailsParams) SetListall

func (p *ListResourceDetailsParams) SetListall(v bool)

func (*ListResourceDetailsParams) SetPage

func (p *ListResourceDetailsParams) SetPage(v int)

func (*ListResourceDetailsParams) SetPagesize

func (p *ListResourceDetailsParams) SetPagesize(v int)

func (*ListResourceDetailsParams) SetProjectid

func (p *ListResourceDetailsParams) SetProjectid(v string)

func (*ListResourceDetailsParams) SetResourceid

func (p *ListResourceDetailsParams) SetResourceid(v string)

func (*ListResourceDetailsParams) SetResourcetype

func (p *ListResourceDetailsParams) SetResourcetype(v string)

func (*ListResourceDetailsParams) SetValue

func (p *ListResourceDetailsParams) SetValue(v string)

type ListResourceDetailsResponse

type ListResourceDetailsResponse struct {
	Count           int               `json:"count"`
	ResourceDetails []*ResourceDetail `json:"resourcedetail"`
}

type ListResourceLimitsParams

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

func (*ListResourceLimitsParams) SetAccount

func (p *ListResourceLimitsParams) SetAccount(v string)

func (*ListResourceLimitsParams) SetDomainid

func (p *ListResourceLimitsParams) SetDomainid(v string)

func (*ListResourceLimitsParams) SetId

func (p *ListResourceLimitsParams) SetId(v int64)

func (*ListResourceLimitsParams) SetIsrecursive

func (p *ListResourceLimitsParams) SetIsrecursive(v bool)

func (*ListResourceLimitsParams) SetKeyword

func (p *ListResourceLimitsParams) SetKeyword(v string)

func (*ListResourceLimitsParams) SetListall

func (p *ListResourceLimitsParams) SetListall(v bool)

func (*ListResourceLimitsParams) SetPage

func (p *ListResourceLimitsParams) SetPage(v int)

func (*ListResourceLimitsParams) SetPagesize

func (p *ListResourceLimitsParams) SetPagesize(v int)

func (*ListResourceLimitsParams) SetProjectid

func (p *ListResourceLimitsParams) SetProjectid(v string)

func (*ListResourceLimitsParams) SetResourcetype

func (p *ListResourceLimitsParams) SetResourcetype(v int)

type ListResourceLimitsResponse

type ListResourceLimitsResponse struct {
	Count          int              `json:"count"`
	ResourceLimits []*ResourceLimit `json:"resourcelimit"`
}

type ListRoutersParams

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

func (*ListRoutersParams) SetAccount

func (p *ListRoutersParams) SetAccount(v string)

func (*ListRoutersParams) SetClusterid

func (p *ListRoutersParams) SetClusterid(v string)

func (*ListRoutersParams) SetDomainid

func (p *ListRoutersParams) SetDomainid(v string)

func (*ListRoutersParams) SetForvpc

func (p *ListRoutersParams) SetForvpc(v bool)

func (*ListRoutersParams) SetHostid

func (p *ListRoutersParams) SetHostid(v string)

func (*ListRoutersParams) SetId

func (p *ListRoutersParams) SetId(v string)

func (*ListRoutersParams) SetIsrecursive

func (p *ListRoutersParams) SetIsrecursive(v bool)

func (*ListRoutersParams) SetKeyword

func (p *ListRoutersParams) SetKeyword(v string)

func (*ListRoutersParams) SetListall

func (p *ListRoutersParams) SetListall(v bool)

func (*ListRoutersParams) SetName

func (p *ListRoutersParams) SetName(v string)

func (*ListRoutersParams) SetNetworkid

func (p *ListRoutersParams) SetNetworkid(v string)

func (*ListRoutersParams) SetPage

func (p *ListRoutersParams) SetPage(v int)

func (*ListRoutersParams) SetPagesize

func (p *ListRoutersParams) SetPagesize(v int)

func (*ListRoutersParams) SetPodid

func (p *ListRoutersParams) SetPodid(v string)

func (*ListRoutersParams) SetProjectid

func (p *ListRoutersParams) SetProjectid(v string)

func (*ListRoutersParams) SetState

func (p *ListRoutersParams) SetState(v string)

func (*ListRoutersParams) SetVersion

func (p *ListRoutersParams) SetVersion(v string)

func (*ListRoutersParams) SetVpcid

func (p *ListRoutersParams) SetVpcid(v string)

func (*ListRoutersParams) SetZoneid

func (p *ListRoutersParams) SetZoneid(v string)

type ListRoutersResponse

type ListRoutersResponse struct {
	Count   int       `json:"count"`
	Routers []*Router `json:"router"`
}

type ListSSHKeyPairsParams

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

func (*ListSSHKeyPairsParams) SetAccount

func (p *ListSSHKeyPairsParams) SetAccount(v string)

func (*ListSSHKeyPairsParams) SetDomainid

func (p *ListSSHKeyPairsParams) SetDomainid(v string)

func (*ListSSHKeyPairsParams) SetFingerprint

func (p *ListSSHKeyPairsParams) SetFingerprint(v string)

func (*ListSSHKeyPairsParams) SetIsrecursive

func (p *ListSSHKeyPairsParams) SetIsrecursive(v bool)

func (*ListSSHKeyPairsParams) SetKeyword

func (p *ListSSHKeyPairsParams) SetKeyword(v string)

func (*ListSSHKeyPairsParams) SetListall

func (p *ListSSHKeyPairsParams) SetListall(v bool)

func (*ListSSHKeyPairsParams) SetName

func (p *ListSSHKeyPairsParams) SetName(v string)

func (*ListSSHKeyPairsParams) SetPage

func (p *ListSSHKeyPairsParams) SetPage(v int)

func (*ListSSHKeyPairsParams) SetPagesize

func (p *ListSSHKeyPairsParams) SetPagesize(v int)

func (*ListSSHKeyPairsParams) SetProjectid

func (p *ListSSHKeyPairsParams) SetProjectid(v string)

type ListSSHKeyPairsResponse

type ListSSHKeyPairsResponse struct {
	Count       int           `json:"count"`
	SSHKeyPairs []*SSHKeyPair `json:"sshkeypair"`
}

type ListSecondaryStagingStoresParams

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

func (*ListSecondaryStagingStoresParams) SetId

func (*ListSecondaryStagingStoresParams) SetKeyword

func (p *ListSecondaryStagingStoresParams) SetKeyword(v string)

func (*ListSecondaryStagingStoresParams) SetName

func (*ListSecondaryStagingStoresParams) SetPage

func (p *ListSecondaryStagingStoresParams) SetPage(v int)

func (*ListSecondaryStagingStoresParams) SetPagesize

func (p *ListSecondaryStagingStoresParams) SetPagesize(v int)

func (*ListSecondaryStagingStoresParams) SetProtocol

func (p *ListSecondaryStagingStoresParams) SetProtocol(v string)

func (*ListSecondaryStagingStoresParams) SetProvider

func (p *ListSecondaryStagingStoresParams) SetProvider(v string)

func (*ListSecondaryStagingStoresParams) SetZoneid

func (p *ListSecondaryStagingStoresParams) SetZoneid(v string)

type ListSecondaryStagingStoresResponse

type ListSecondaryStagingStoresResponse struct {
	Count                  int                      `json:"count"`
	SecondaryStagingStores []*SecondaryStagingStore `json:"secondarystagingstore"`
}

type ListServiceOfferingsParams

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

func (*ListServiceOfferingsParams) SetDomainid

func (p *ListServiceOfferingsParams) SetDomainid(v string)

func (*ListServiceOfferingsParams) SetId

func (p *ListServiceOfferingsParams) SetId(v string)

func (*ListServiceOfferingsParams) SetIsrecursive

func (p *ListServiceOfferingsParams) SetIsrecursive(v bool)

func (*ListServiceOfferingsParams) SetIssystem

func (p *ListServiceOfferingsParams) SetIssystem(v bool)

func (*ListServiceOfferingsParams) SetKeyword

func (p *ListServiceOfferingsParams) SetKeyword(v string)

func (*ListServiceOfferingsParams) SetListall

func (p *ListServiceOfferingsParams) SetListall(v bool)

func (*ListServiceOfferingsParams) SetName

func (p *ListServiceOfferingsParams) SetName(v string)

func (*ListServiceOfferingsParams) SetPage

func (p *ListServiceOfferingsParams) SetPage(v int)

func (*ListServiceOfferingsParams) SetPagesize

func (p *ListServiceOfferingsParams) SetPagesize(v int)

func (*ListServiceOfferingsParams) SetSystemvmtype

func (p *ListServiceOfferingsParams) SetSystemvmtype(v string)

func (*ListServiceOfferingsParams) SetVirtualmachineid

func (p *ListServiceOfferingsParams) SetVirtualmachineid(v string)

type ListServiceOfferingsResponse

type ListServiceOfferingsResponse struct {
	Count            int                `json:"count"`
	ServiceOfferings []*ServiceOffering `json:"serviceoffering"`
}

type ListSnapshotsParams

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

func (*ListSnapshotsParams) SetAccount

func (p *ListSnapshotsParams) SetAccount(v string)

func (*ListSnapshotsParams) SetDomainid

func (p *ListSnapshotsParams) SetDomainid(v string)

func (*ListSnapshotsParams) SetId

func (p *ListSnapshotsParams) SetId(v string)

func (*ListSnapshotsParams) SetIntervaltype

func (p *ListSnapshotsParams) SetIntervaltype(v string)

func (*ListSnapshotsParams) SetIsrecursive

func (p *ListSnapshotsParams) SetIsrecursive(v bool)

func (*ListSnapshotsParams) SetKeyword

func (p *ListSnapshotsParams) SetKeyword(v string)

func (*ListSnapshotsParams) SetListall

func (p *ListSnapshotsParams) SetListall(v bool)

func (*ListSnapshotsParams) SetName

func (p *ListSnapshotsParams) SetName(v string)

func (*ListSnapshotsParams) SetPage

func (p *ListSnapshotsParams) SetPage(v int)

func (*ListSnapshotsParams) SetPagesize

func (p *ListSnapshotsParams) SetPagesize(v int)

func (*ListSnapshotsParams) SetProjectid

func (p *ListSnapshotsParams) SetProjectid(v string)

func (*ListSnapshotsParams) SetSnapshottype

func (p *ListSnapshotsParams) SetSnapshottype(v string)

func (*ListSnapshotsParams) SetTags

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

func (*ListSnapshotsParams) SetVolumeid

func (p *ListSnapshotsParams) SetVolumeid(v string)

func (*ListSnapshotsParams) SetZoneid

func (p *ListSnapshotsParams) SetZoneid(v string)

type ListSnapshotsResponse

type ListSnapshotsResponse struct {
	Count     int         `json:"count"`
	Snapshots []*Snapshot `json:"snapshot"`
}

type ListSslCertsParams

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

func (*ListSslCertsParams) SetAccountid

func (p *ListSslCertsParams) SetAccountid(v string)

func (*ListSslCertsParams) SetCertid

func (p *ListSslCertsParams) SetCertid(v string)

func (*ListSslCertsParams) SetLbruleid

func (p *ListSslCertsParams) SetLbruleid(v string)

func (*ListSslCertsParams) SetProjectid

func (p *ListSslCertsParams) SetProjectid(v string)

type ListSslCertsResponse

type ListSslCertsResponse struct {
	Count    int        `json:"count"`
	SslCerts []*SslCert `json:"sslcert"`
}

type ListStaticRoutesParams

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

func (*ListStaticRoutesParams) SetAccount

func (p *ListStaticRoutesParams) SetAccount(v string)

func (*ListStaticRoutesParams) SetCidr

func (p *ListStaticRoutesParams) SetCidr(v string)

func (*ListStaticRoutesParams) SetDomainid

func (p *ListStaticRoutesParams) SetDomainid(v string)

func (*ListStaticRoutesParams) SetGatewayid

func (p *ListStaticRoutesParams) SetGatewayid(v string)

func (*ListStaticRoutesParams) SetId

func (p *ListStaticRoutesParams) SetId(v string)

func (*ListStaticRoutesParams) SetIsrecursive

func (p *ListStaticRoutesParams) SetIsrecursive(v bool)

func (*ListStaticRoutesParams) SetKeyword

func (p *ListStaticRoutesParams) SetKeyword(v string)

func (*ListStaticRoutesParams) SetListall

func (p *ListStaticRoutesParams) SetListall(v bool)

func (*ListStaticRoutesParams) SetNexthop

func (p *ListStaticRoutesParams) SetNexthop(v string)

func (*ListStaticRoutesParams) SetPage

func (p *ListStaticRoutesParams) SetPage(v int)

func (*ListStaticRoutesParams) SetPagesize

func (p *ListStaticRoutesParams) SetPagesize(v int)

func (*ListStaticRoutesParams) SetProjectid

func (p *ListStaticRoutesParams) SetProjectid(v string)

func (*ListStaticRoutesParams) SetTags

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

func (*ListStaticRoutesParams) SetVpcid

func (p *ListStaticRoutesParams) SetVpcid(v string)

type ListStaticRoutesResponse

type ListStaticRoutesResponse struct {
	Count        int            `json:"count"`
	StaticRoutes []*StaticRoute `json:"staticroute"`
}

type ListStorageNetworkIpRangeParams

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

func (*ListStorageNetworkIpRangeParams) SetId

func (*ListStorageNetworkIpRangeParams) SetKeyword

func (p *ListStorageNetworkIpRangeParams) SetKeyword(v string)

func (*ListStorageNetworkIpRangeParams) SetPage

func (p *ListStorageNetworkIpRangeParams) SetPage(v int)

func (*ListStorageNetworkIpRangeParams) SetPagesize

func (p *ListStorageNetworkIpRangeParams) SetPagesize(v int)

func (*ListStorageNetworkIpRangeParams) SetPodid

func (p *ListStorageNetworkIpRangeParams) SetPodid(v string)

func (*ListStorageNetworkIpRangeParams) SetZoneid

func (p *ListStorageNetworkIpRangeParams) SetZoneid(v string)

type ListStorageNetworkIpRangeResponse

type ListStorageNetworkIpRangeResponse struct {
	Count                 int                      `json:"count"`
	StorageNetworkIpRange []*StorageNetworkIpRange `json:"storagenetworkiprange"`
}

type ListStoragePoolsParams

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

func (*ListStoragePoolsParams) SetClusterid

func (p *ListStoragePoolsParams) SetClusterid(v string)

func (*ListStoragePoolsParams) SetId

func (p *ListStoragePoolsParams) SetId(v string)

func (*ListStoragePoolsParams) SetIpaddress

func (p *ListStoragePoolsParams) SetIpaddress(v string)

func (*ListStoragePoolsParams) SetKeyword

func (p *ListStoragePoolsParams) SetKeyword(v string)

func (*ListStoragePoolsParams) SetName

func (p *ListStoragePoolsParams) SetName(v string)

func (*ListStoragePoolsParams) SetPage

func (p *ListStoragePoolsParams) SetPage(v int)

func (*ListStoragePoolsParams) SetPagesize

func (p *ListStoragePoolsParams) SetPagesize(v int)

func (*ListStoragePoolsParams) SetPath

func (p *ListStoragePoolsParams) SetPath(v string)

func (*ListStoragePoolsParams) SetPodid

func (p *ListStoragePoolsParams) SetPodid(v string)

func (*ListStoragePoolsParams) SetScope

func (p *ListStoragePoolsParams) SetScope(v string)

func (*ListStoragePoolsParams) SetZoneid

func (p *ListStoragePoolsParams) SetZoneid(v string)

type ListStoragePoolsResponse

type ListStoragePoolsResponse struct {
	Count        int            `json:"count"`
	StoragePools []*StoragePool `json:"storagepool"`
}

type ListStorageProvidersParams

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

func (*ListStorageProvidersParams) SetKeyword

func (p *ListStorageProvidersParams) SetKeyword(v string)

func (*ListStorageProvidersParams) SetPage

func (p *ListStorageProvidersParams) SetPage(v int)

func (*ListStorageProvidersParams) SetPagesize

func (p *ListStorageProvidersParams) SetPagesize(v int)

func (*ListStorageProvidersParams) SetType

func (p *ListStorageProvidersParams) SetType(v string)

type ListStorageProvidersResponse

type ListStorageProvidersResponse struct {
	Count            int                `json:"count"`
	StorageProviders []*StorageProvider `json:"storageprovider"`
}

type ListStorageTagsParams

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

func (*ListStorageTagsParams) SetKeyword

func (p *ListStorageTagsParams) SetKeyword(v string)

func (*ListStorageTagsParams) SetPage

func (p *ListStorageTagsParams) SetPage(v int)

func (*ListStorageTagsParams) SetPagesize

func (p *ListStorageTagsParams) SetPagesize(v int)

type ListStorageTagsResponse

type ListStorageTagsResponse struct {
	Count       int           `json:"count"`
	StorageTags []*StorageTag `json:"storagetag"`
}

type ListSupportedNetworkServicesParams

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

func (*ListSupportedNetworkServicesParams) SetKeyword

func (p *ListSupportedNetworkServicesParams) SetKeyword(v string)

func (*ListSupportedNetworkServicesParams) SetPage

func (*ListSupportedNetworkServicesParams) SetPagesize

func (p *ListSupportedNetworkServicesParams) SetPagesize(v int)

func (*ListSupportedNetworkServicesParams) SetProvider

func (p *ListSupportedNetworkServicesParams) SetProvider(v string)

func (*ListSupportedNetworkServicesParams) SetService

func (p *ListSupportedNetworkServicesParams) SetService(v string)

type ListSupportedNetworkServicesResponse

type ListSupportedNetworkServicesResponse struct {
	Count                    int                        `json:"count"`
	SupportedNetworkServices []*SupportedNetworkService `json:"supportednetworkservice"`
}

type ListSystemVmsParams

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

func (*ListSystemVmsParams) SetHostid

func (p *ListSystemVmsParams) SetHostid(v string)

func (*ListSystemVmsParams) SetId

func (p *ListSystemVmsParams) SetId(v string)

func (*ListSystemVmsParams) SetKeyword

func (p *ListSystemVmsParams) SetKeyword(v string)

func (*ListSystemVmsParams) SetName

func (p *ListSystemVmsParams) SetName(v string)

func (*ListSystemVmsParams) SetPage

func (p *ListSystemVmsParams) SetPage(v int)

func (*ListSystemVmsParams) SetPagesize

func (p *ListSystemVmsParams) SetPagesize(v int)

func (*ListSystemVmsParams) SetPodid

func (p *ListSystemVmsParams) SetPodid(v string)

func (*ListSystemVmsParams) SetState

func (p *ListSystemVmsParams) SetState(v string)

func (*ListSystemVmsParams) SetStorageid

func (p *ListSystemVmsParams) SetStorageid(v string)

func (*ListSystemVmsParams) SetSystemvmtype

func (p *ListSystemVmsParams) SetSystemvmtype(v string)

func (*ListSystemVmsParams) SetZoneid

func (p *ListSystemVmsParams) SetZoneid(v string)

type ListSystemVmsResponse

type ListSystemVmsResponse struct {
	Count     int         `json:"count"`
	SystemVms []*SystemVm `json:"systemvm"`
}

type ListTagsParams

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

func (*ListTagsParams) SetAccount

func (p *ListTagsParams) SetAccount(v string)

func (*ListTagsParams) SetCustomer

func (p *ListTagsParams) SetCustomer(v string)

func (*ListTagsParams) SetDomainid

func (p *ListTagsParams) SetDomainid(v string)

func (*ListTagsParams) SetIsrecursive

func (p *ListTagsParams) SetIsrecursive(v bool)

func (*ListTagsParams) SetKey

func (p *ListTagsParams) SetKey(v string)

func (*ListTagsParams) SetKeyword

func (p *ListTagsParams) SetKeyword(v string)

func (*ListTagsParams) SetListall

func (p *ListTagsParams) SetListall(v bool)

func (*ListTagsParams) SetPage

func (p *ListTagsParams) SetPage(v int)

func (*ListTagsParams) SetPagesize

func (p *ListTagsParams) SetPagesize(v int)

func (*ListTagsParams) SetProjectid

func (p *ListTagsParams) SetProjectid(v string)

func (*ListTagsParams) SetResourceid

func (p *ListTagsParams) SetResourceid(v string)

func (*ListTagsParams) SetResourcetype

func (p *ListTagsParams) SetResourcetype(v string)

func (*ListTagsParams) SetValue

func (p *ListTagsParams) SetValue(v string)

type ListTagsResponse

type ListTagsResponse struct {
	Count int    `json:"count"`
	Tags  []*Tag `json:"tag"`
}

type ListTemplatePermissionsParams

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

func (*ListTemplatePermissionsParams) SetId

type ListTemplatePermissionsResponse

type ListTemplatePermissionsResponse struct {
	Count               int                   `json:"count"`
	TemplatePermissions []*TemplatePermission `json:"templatepermission"`
}

type ListTemplatesParams

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

func (*ListTemplatesParams) SetAccount

func (p *ListTemplatesParams) SetAccount(v string)

func (*ListTemplatesParams) SetDomainid

func (p *ListTemplatesParams) SetDomainid(v string)

func (*ListTemplatesParams) SetHypervisor

func (p *ListTemplatesParams) SetHypervisor(v string)

func (*ListTemplatesParams) SetId

func (p *ListTemplatesParams) SetId(v string)

func (*ListTemplatesParams) SetIsrecursive

func (p *ListTemplatesParams) SetIsrecursive(v bool)

func (*ListTemplatesParams) SetKeyword

func (p *ListTemplatesParams) SetKeyword(v string)

func (*ListTemplatesParams) SetListall

func (p *ListTemplatesParams) SetListall(v bool)

func (*ListTemplatesParams) SetName

func (p *ListTemplatesParams) SetName(v string)

func (*ListTemplatesParams) SetPage

func (p *ListTemplatesParams) SetPage(v int)

func (*ListTemplatesParams) SetPagesize

func (p *ListTemplatesParams) SetPagesize(v int)

func (*ListTemplatesParams) SetProjectid

func (p *ListTemplatesParams) SetProjectid(v string)

func (*ListTemplatesParams) SetShowremoved

func (p *ListTemplatesParams) SetShowremoved(v bool)

func (*ListTemplatesParams) SetTags

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

func (*ListTemplatesParams) SetTemplatefilter

func (p *ListTemplatesParams) SetTemplatefilter(v string)

func (*ListTemplatesParams) SetZoneid

func (p *ListTemplatesParams) SetZoneid(v string)

type ListTemplatesResponse

type ListTemplatesResponse struct {
	Count     int         `json:"count"`
	Templates []*Template `json:"template"`
}

type ListTrafficTypesParams

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

func (*ListTrafficTypesParams) SetKeyword

func (p *ListTrafficTypesParams) SetKeyword(v string)

func (*ListTrafficTypesParams) SetPage

func (p *ListTrafficTypesParams) SetPage(v int)

func (*ListTrafficTypesParams) SetPagesize

func (p *ListTrafficTypesParams) SetPagesize(v int)

func (*ListTrafficTypesParams) SetPhysicalnetworkid

func (p *ListTrafficTypesParams) SetPhysicalnetworkid(v string)

type ListTrafficTypesResponse

type ListTrafficTypesResponse struct {
	Count        int            `json:"count"`
	TrafficTypes []*TrafficType `json:"traffictype"`
}

type ListUsersParams

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

func (*ListUsersParams) SetAccount

func (p *ListUsersParams) SetAccount(v string)

func (*ListUsersParams) SetAccounttype

func (p *ListUsersParams) SetAccounttype(v int64)

func (*ListUsersParams) SetDomainid

func (p *ListUsersParams) SetDomainid(v string)

func (*ListUsersParams) SetId

func (p *ListUsersParams) SetId(v string)

func (*ListUsersParams) SetIsrecursive

func (p *ListUsersParams) SetIsrecursive(v bool)

func (*ListUsersParams) SetKeyword

func (p *ListUsersParams) SetKeyword(v string)

func (*ListUsersParams) SetListall

func (p *ListUsersParams) SetListall(v bool)

func (*ListUsersParams) SetPage

func (p *ListUsersParams) SetPage(v int)

func (*ListUsersParams) SetPagesize

func (p *ListUsersParams) SetPagesize(v int)

func (*ListUsersParams) SetState

func (p *ListUsersParams) SetState(v string)

func (*ListUsersParams) SetUsername

func (p *ListUsersParams) SetUsername(v string)

type ListUsersResponse

type ListUsersResponse struct {
	Count int     `json:"count"`
	Users []*User `json:"user"`
}

type ListVMSnapshotParams

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

func (*ListVMSnapshotParams) SetAccount

func (p *ListVMSnapshotParams) SetAccount(v string)

func (*ListVMSnapshotParams) SetDomainid

func (p *ListVMSnapshotParams) SetDomainid(v string)

func (*ListVMSnapshotParams) SetIsrecursive

func (p *ListVMSnapshotParams) SetIsrecursive(v bool)

func (*ListVMSnapshotParams) SetKeyword

func (p *ListVMSnapshotParams) SetKeyword(v string)

func (*ListVMSnapshotParams) SetListall

func (p *ListVMSnapshotParams) SetListall(v bool)

func (*ListVMSnapshotParams) SetName

func (p *ListVMSnapshotParams) SetName(v string)

func (*ListVMSnapshotParams) SetPage

func (p *ListVMSnapshotParams) SetPage(v int)

func (*ListVMSnapshotParams) SetPagesize

func (p *ListVMSnapshotParams) SetPagesize(v int)

func (*ListVMSnapshotParams) SetProjectid

func (p *ListVMSnapshotParams) SetProjectid(v string)

func (*ListVMSnapshotParams) SetState

func (p *ListVMSnapshotParams) SetState(v string)

func (*ListVMSnapshotParams) SetTags

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

func (*ListVMSnapshotParams) SetVirtualmachineid

func (p *ListVMSnapshotParams) SetVirtualmachineid(v string)

func (*ListVMSnapshotParams) SetVmsnapshotid

func (p *ListVMSnapshotParams) SetVmsnapshotid(v string)

type ListVMSnapshotResponse

type ListVMSnapshotResponse struct {
	Count      int           `json:"count"`
	VMSnapshot []*VMSnapshot `json:"vmsnapshot"`
}

type ListVPCOfferingsParams

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

func (*ListVPCOfferingsParams) SetDisplaytext

func (p *ListVPCOfferingsParams) SetDisplaytext(v string)

func (*ListVPCOfferingsParams) SetId

func (p *ListVPCOfferingsParams) SetId(v string)

func (*ListVPCOfferingsParams) SetIsdefault

func (p *ListVPCOfferingsParams) SetIsdefault(v bool)

func (*ListVPCOfferingsParams) SetKeyword

func (p *ListVPCOfferingsParams) SetKeyword(v string)

func (*ListVPCOfferingsParams) SetName

func (p *ListVPCOfferingsParams) SetName(v string)

func (*ListVPCOfferingsParams) SetPage

func (p *ListVPCOfferingsParams) SetPage(v int)

func (*ListVPCOfferingsParams) SetPagesize

func (p *ListVPCOfferingsParams) SetPagesize(v int)

func (*ListVPCOfferingsParams) SetState

func (p *ListVPCOfferingsParams) SetState(v string)

func (*ListVPCOfferingsParams) SetSupportedservices

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

type ListVPCOfferingsResponse

type ListVPCOfferingsResponse struct {
	Count        int            `json:"count"`
	VPCOfferings []*VPCOffering `json:"vpcoffering"`
}

type ListVPCsParams

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

func (*ListVPCsParams) SetAccount

func (p *ListVPCsParams) SetAccount(v string)

func (*ListVPCsParams) SetCidr

func (p *ListVPCsParams) SetCidr(v string)

func (*ListVPCsParams) SetDisplaytext

func (p *ListVPCsParams) SetDisplaytext(v string)

func (*ListVPCsParams) SetDomainid

func (p *ListVPCsParams) SetDomainid(v string)

func (*ListVPCsParams) SetFordisplay

func (p *ListVPCsParams) SetFordisplay(v bool)

func (*ListVPCsParams) SetId

func (p *ListVPCsParams) SetId(v string)

func (*ListVPCsParams) SetIsrecursive

func (p *ListVPCsParams) SetIsrecursive(v bool)

func (*ListVPCsParams) SetKeyword

func (p *ListVPCsParams) SetKeyword(v string)

func (*ListVPCsParams) SetListall

func (p *ListVPCsParams) SetListall(v bool)

func (*ListVPCsParams) SetName

func (p *ListVPCsParams) SetName(v string)

func (*ListVPCsParams) SetPage

func (p *ListVPCsParams) SetPage(v int)

func (*ListVPCsParams) SetPagesize

func (p *ListVPCsParams) SetPagesize(v int)

func (*ListVPCsParams) SetProjectid

func (p *ListVPCsParams) SetProjectid(v string)

func (*ListVPCsParams) SetRestartrequired

func (p *ListVPCsParams) SetRestartrequired(v bool)

func (*ListVPCsParams) SetState

func (p *ListVPCsParams) SetState(v string)

func (*ListVPCsParams) SetSupportedservices

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

func (*ListVPCsParams) SetTags

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

func (*ListVPCsParams) SetVpcofferingid

func (p *ListVPCsParams) SetVpcofferingid(v string)

func (*ListVPCsParams) SetZoneid

func (p *ListVPCsParams) SetZoneid(v string)

type ListVPCsResponse

type ListVPCsResponse struct {
	Count int    `json:"count"`
	VPCs  []*VPC `json:"vpc"`
}

type ListVirtualMachinesParams

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

func (*ListVirtualMachinesParams) SetAccount

func (p *ListVirtualMachinesParams) SetAccount(v string)

func (*ListVirtualMachinesParams) SetAffinitygroupid

func (p *ListVirtualMachinesParams) SetAffinitygroupid(v string)

func (*ListVirtualMachinesParams) SetDetails

func (p *ListVirtualMachinesParams) SetDetails(v []string)

func (*ListVirtualMachinesParams) SetDisplayvm

func (p *ListVirtualMachinesParams) SetDisplayvm(v bool)

func (*ListVirtualMachinesParams) SetDomainid

func (p *ListVirtualMachinesParams) SetDomainid(v string)

func (*ListVirtualMachinesParams) SetForvirtualnetwork

func (p *ListVirtualMachinesParams) SetForvirtualnetwork(v bool)

func (*ListVirtualMachinesParams) SetGroupid

func (p *ListVirtualMachinesParams) SetGroupid(v string)

func (*ListVirtualMachinesParams) SetHostid

func (p *ListVirtualMachinesParams) SetHostid(v string)

func (*ListVirtualMachinesParams) SetHypervisor

func (p *ListVirtualMachinesParams) SetHypervisor(v string)

func (*ListVirtualMachinesParams) SetId

func (p *ListVirtualMachinesParams) SetId(v string)

func (*ListVirtualMachinesParams) SetIds

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

func (*ListVirtualMachinesParams) SetIsoid

func (p *ListVirtualMachinesParams) SetIsoid(v string)

func (*ListVirtualMachinesParams) SetIsrecursive

func (p *ListVirtualMachinesParams) SetIsrecursive(v bool)

func (*ListVirtualMachinesParams) SetKeypair

func (p *ListVirtualMachinesParams) SetKeypair(v string)

func (*ListVirtualMachinesParams) SetKeyword

func (p *ListVirtualMachinesParams) SetKeyword(v string)

func (*ListVirtualMachinesParams) SetListall

func (p *ListVirtualMachinesParams) SetListall(v bool)

func (*ListVirtualMachinesParams) SetName

func (p *ListVirtualMachinesParams) SetName(v string)

func (*ListVirtualMachinesParams) SetNetworkid

func (p *ListVirtualMachinesParams) SetNetworkid(v string)

func (*ListVirtualMachinesParams) SetPage

func (p *ListVirtualMachinesParams) SetPage(v int)

func (*ListVirtualMachinesParams) SetPagesize

func (p *ListVirtualMachinesParams) SetPagesize(v int)

func (*ListVirtualMachinesParams) SetPodid

func (p *ListVirtualMachinesParams) SetPodid(v string)

func (*ListVirtualMachinesParams) SetProjectid

func (p *ListVirtualMachinesParams) SetProjectid(v string)

func (*ListVirtualMachinesParams) SetServiceofferingid

func (p *ListVirtualMachinesParams) SetServiceofferingid(v string)

func (*ListVirtualMachinesParams) SetState

func (p *ListVirtualMachinesParams) SetState(v string)

func (*ListVirtualMachinesParams) SetStorageid

func (p *ListVirtualMachinesParams) SetStorageid(v string)

func (*ListVirtualMachinesParams) SetTags

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

func (*ListVirtualMachinesParams) SetTemplateid

func (p *ListVirtualMachinesParams) SetTemplateid(v string)

func (*ListVirtualMachinesParams) SetUserid

func (p *ListVirtualMachinesParams) SetUserid(v string)

func (*ListVirtualMachinesParams) SetVpcid

func (p *ListVirtualMachinesParams) SetVpcid(v string)

func (*ListVirtualMachinesParams) SetZoneid

func (p *ListVirtualMachinesParams) SetZoneid(v string)

type ListVirtualMachinesResponse

type ListVirtualMachinesResponse struct {
	Count           int               `json:"count"`
	VirtualMachines []*VirtualMachine `json:"virtualmachine"`
}

type ListVirtualRouterElementsParams

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

func (*ListVirtualRouterElementsParams) SetEnabled

func (p *ListVirtualRouterElementsParams) SetEnabled(v bool)

func (*ListVirtualRouterElementsParams) SetId

func (*ListVirtualRouterElementsParams) SetKeyword

func (p *ListVirtualRouterElementsParams) SetKeyword(v string)

func (*ListVirtualRouterElementsParams) SetNspid

func (p *ListVirtualRouterElementsParams) SetNspid(v string)

func (*ListVirtualRouterElementsParams) SetPage

func (p *ListVirtualRouterElementsParams) SetPage(v int)

func (*ListVirtualRouterElementsParams) SetPagesize

func (p *ListVirtualRouterElementsParams) SetPagesize(v int)

type ListVirtualRouterElementsResponse

type ListVirtualRouterElementsResponse struct {
	Count                 int                     `json:"count"`
	VirtualRouterElements []*VirtualRouterElement `json:"virtualrouterelement"`
}

type ListVlanIpRangesParams

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

func (*ListVlanIpRangesParams) SetAccount

func (p *ListVlanIpRangesParams) SetAccount(v string)

func (*ListVlanIpRangesParams) SetDomainid

func (p *ListVlanIpRangesParams) SetDomainid(v string)

func (*ListVlanIpRangesParams) SetForvirtualnetwork

func (p *ListVlanIpRangesParams) SetForvirtualnetwork(v bool)

func (*ListVlanIpRangesParams) SetId

func (p *ListVlanIpRangesParams) SetId(v string)

func (*ListVlanIpRangesParams) SetKeyword

func (p *ListVlanIpRangesParams) SetKeyword(v string)

func (*ListVlanIpRangesParams) SetNetworkid

func (p *ListVlanIpRangesParams) SetNetworkid(v string)

func (*ListVlanIpRangesParams) SetPage

func (p *ListVlanIpRangesParams) SetPage(v int)

func (*ListVlanIpRangesParams) SetPagesize

func (p *ListVlanIpRangesParams) SetPagesize(v int)

func (*ListVlanIpRangesParams) SetPhysicalnetworkid

func (p *ListVlanIpRangesParams) SetPhysicalnetworkid(v string)

func (*ListVlanIpRangesParams) SetPodid

func (p *ListVlanIpRangesParams) SetPodid(v string)

func (*ListVlanIpRangesParams) SetProjectid

func (p *ListVlanIpRangesParams) SetProjectid(v string)

func (*ListVlanIpRangesParams) SetVlan

func (p *ListVlanIpRangesParams) SetVlan(v string)

func (*ListVlanIpRangesParams) SetZoneid

func (p *ListVlanIpRangesParams) SetZoneid(v string)

type ListVlanIpRangesResponse

type ListVlanIpRangesResponse struct {
	Count        int            `json:"count"`
	VlanIpRanges []*VlanIpRange `json:"vlaniprange"`
}

type ListVolumesParams

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

func (*ListVolumesParams) SetAccount

func (p *ListVolumesParams) SetAccount(v string)

func (*ListVolumesParams) SetDiskofferingid

func (p *ListVolumesParams) SetDiskofferingid(v string)

func (*ListVolumesParams) SetDisplayvolume

func (p *ListVolumesParams) SetDisplayvolume(v bool)

func (*ListVolumesParams) SetDomainid

func (p *ListVolumesParams) SetDomainid(v string)

func (*ListVolumesParams) SetHostid

func (p *ListVolumesParams) SetHostid(v string)

func (*ListVolumesParams) SetId

func (p *ListVolumesParams) SetId(v string)

func (*ListVolumesParams) SetIsrecursive

func (p *ListVolumesParams) SetIsrecursive(v bool)

func (*ListVolumesParams) SetKeyword

func (p *ListVolumesParams) SetKeyword(v string)

func (*ListVolumesParams) SetListall

func (p *ListVolumesParams) SetListall(v bool)

func (*ListVolumesParams) SetName

func (p *ListVolumesParams) SetName(v string)

func (*ListVolumesParams) SetPage

func (p *ListVolumesParams) SetPage(v int)

func (*ListVolumesParams) SetPagesize

func (p *ListVolumesParams) SetPagesize(v int)

func (*ListVolumesParams) SetPodid

func (p *ListVolumesParams) SetPodid(v string)

func (*ListVolumesParams) SetProjectid

func (p *ListVolumesParams) SetProjectid(v string)

func (*ListVolumesParams) SetStorageid

func (p *ListVolumesParams) SetStorageid(v string)

func (*ListVolumesParams) SetTags

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

func (*ListVolumesParams) SetType

func (p *ListVolumesParams) SetType(v string)

func (*ListVolumesParams) SetVirtualmachineid

func (p *ListVolumesParams) SetVirtualmachineid(v string)

func (*ListVolumesParams) SetZoneid

func (p *ListVolumesParams) SetZoneid(v string)

type ListVolumesResponse

type ListVolumesResponse struct {
	Count   int       `json:"count"`
	Volumes []*Volume `json:"volume"`
}

type ListVpnConnectionsParams

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

func (*ListVpnConnectionsParams) SetAccount

func (p *ListVpnConnectionsParams) SetAccount(v string)

func (*ListVpnConnectionsParams) SetDomainid

func (p *ListVpnConnectionsParams) SetDomainid(v string)

func (*ListVpnConnectionsParams) SetFordisplay

func (p *ListVpnConnectionsParams) SetFordisplay(v bool)

func (*ListVpnConnectionsParams) SetId

func (p *ListVpnConnectionsParams) SetId(v string)

func (*ListVpnConnectionsParams) SetIsrecursive

func (p *ListVpnConnectionsParams) SetIsrecursive(v bool)

func (*ListVpnConnectionsParams) SetKeyword

func (p *ListVpnConnectionsParams) SetKeyword(v string)

func (*ListVpnConnectionsParams) SetListall

func (p *ListVpnConnectionsParams) SetListall(v bool)

func (*ListVpnConnectionsParams) SetPage

func (p *ListVpnConnectionsParams) SetPage(v int)

func (*ListVpnConnectionsParams) SetPagesize

func (p *ListVpnConnectionsParams) SetPagesize(v int)

func (*ListVpnConnectionsParams) SetProjectid

func (p *ListVpnConnectionsParams) SetProjectid(v string)

func (*ListVpnConnectionsParams) SetVpcid

func (p *ListVpnConnectionsParams) SetVpcid(v string)

type ListVpnConnectionsResponse

type ListVpnConnectionsResponse struct {
	Count          int              `json:"count"`
	VpnConnections []*VpnConnection `json:"vpnconnection"`
}

type ListVpnCustomerGatewaysParams

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

func (*ListVpnCustomerGatewaysParams) SetAccount

func (p *ListVpnCustomerGatewaysParams) SetAccount(v string)

func (*ListVpnCustomerGatewaysParams) SetDomainid

func (p *ListVpnCustomerGatewaysParams) SetDomainid(v string)

func (*ListVpnCustomerGatewaysParams) SetId

func (*ListVpnCustomerGatewaysParams) SetIsrecursive

func (p *ListVpnCustomerGatewaysParams) SetIsrecursive(v bool)

func (*ListVpnCustomerGatewaysParams) SetKeyword

func (p *ListVpnCustomerGatewaysParams) SetKeyword(v string)

func (*ListVpnCustomerGatewaysParams) SetListall

func (p *ListVpnCustomerGatewaysParams) SetListall(v bool)

func (*ListVpnCustomerGatewaysParams) SetPage

func (p *ListVpnCustomerGatewaysParams) SetPage(v int)

func (*ListVpnCustomerGatewaysParams) SetPagesize

func (p *ListVpnCustomerGatewaysParams) SetPagesize(v int)

func (*ListVpnCustomerGatewaysParams) SetProjectid

func (p *ListVpnCustomerGatewaysParams) SetProjectid(v string)

type ListVpnCustomerGatewaysResponse

type ListVpnCustomerGatewaysResponse struct {
	Count               int                   `json:"count"`
	VpnCustomerGateways []*VpnCustomerGateway `json:"vpncustomergateway"`
}

type ListVpnGatewaysParams

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

func (*ListVpnGatewaysParams) SetAccount

func (p *ListVpnGatewaysParams) SetAccount(v string)

func (*ListVpnGatewaysParams) SetDomainid

func (p *ListVpnGatewaysParams) SetDomainid(v string)

func (*ListVpnGatewaysParams) SetFordisplay

func (p *ListVpnGatewaysParams) SetFordisplay(v bool)

func (*ListVpnGatewaysParams) SetId

func (p *ListVpnGatewaysParams) SetId(v string)

func (*ListVpnGatewaysParams) SetIsrecursive

func (p *ListVpnGatewaysParams) SetIsrecursive(v bool)

func (*ListVpnGatewaysParams) SetKeyword

func (p *ListVpnGatewaysParams) SetKeyword(v string)

func (*ListVpnGatewaysParams) SetListall

func (p *ListVpnGatewaysParams) SetListall(v bool)

func (*ListVpnGatewaysParams) SetPage

func (p *ListVpnGatewaysParams) SetPage(v int)

func (*ListVpnGatewaysParams) SetPagesize

func (p *ListVpnGatewaysParams) SetPagesize(v int)

func (*ListVpnGatewaysParams) SetProjectid

func (p *ListVpnGatewaysParams) SetProjectid(v string)

func (*ListVpnGatewaysParams) SetVpcid

func (p *ListVpnGatewaysParams) SetVpcid(v string)

type ListVpnGatewaysResponse

type ListVpnGatewaysResponse struct {
	Count       int           `json:"count"`
	VpnGateways []*VpnGateway `json:"vpngateway"`
}

type ListVpnUsersParams

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

func (*ListVpnUsersParams) SetAccount

func (p *ListVpnUsersParams) SetAccount(v string)

func (*ListVpnUsersParams) SetDomainid

func (p *ListVpnUsersParams) SetDomainid(v string)

func (*ListVpnUsersParams) SetId

func (p *ListVpnUsersParams) SetId(v string)

func (*ListVpnUsersParams) SetIsrecursive

func (p *ListVpnUsersParams) SetIsrecursive(v bool)

func (*ListVpnUsersParams) SetKeyword

func (p *ListVpnUsersParams) SetKeyword(v string)

func (*ListVpnUsersParams) SetListall

func (p *ListVpnUsersParams) SetListall(v bool)

func (*ListVpnUsersParams) SetPage

func (p *ListVpnUsersParams) SetPage(v int)

func (*ListVpnUsersParams) SetPagesize

func (p *ListVpnUsersParams) SetPagesize(v int)

func (*ListVpnUsersParams) SetProjectid

func (p *ListVpnUsersParams) SetProjectid(v string)

func (*ListVpnUsersParams) SetUsername

func (p *ListVpnUsersParams) SetUsername(v string)

type ListVpnUsersResponse

type ListVpnUsersResponse struct {
	Count    int        `json:"count"`
	VpnUsers []*VpnUser `json:"vpnuser"`
}

type ListWhoHasThisIpParams

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

func (*ListWhoHasThisIpParams) SetDomainid

func (p *ListWhoHasThisIpParams) SetDomainid(v string)

func (*ListWhoHasThisIpParams) SetIpaddress

func (p *ListWhoHasThisIpParams) SetIpaddress(v string)

func (*ListWhoHasThisIpParams) SetIsrecursive

func (p *ListWhoHasThisIpParams) SetIsrecursive(v bool)

func (*ListWhoHasThisIpParams) SetKeyword

func (p *ListWhoHasThisIpParams) SetKeyword(v string)

func (*ListWhoHasThisIpParams) SetListall

func (p *ListWhoHasThisIpParams) SetListall(v bool)

func (*ListWhoHasThisIpParams) SetPage

func (p *ListWhoHasThisIpParams) SetPage(v int)

func (*ListWhoHasThisIpParams) SetPagesize

func (p *ListWhoHasThisIpParams) SetPagesize(v int)

func (*ListWhoHasThisIpParams) SetUuid

func (p *ListWhoHasThisIpParams) SetUuid(v string)

type ListWhoHasThisIpResponse

type ListWhoHasThisIpResponse struct {
	Count        int             `json:"count"`
	WhoHasThisIp []*WhoHasThisIp `json:"whohasthisip"`
}

type ListWhoHasThisMacParams

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

func (*ListWhoHasThisMacParams) SetDomainid

func (p *ListWhoHasThisMacParams) SetDomainid(v string)

func (*ListWhoHasThisMacParams) SetIsrecursive

func (p *ListWhoHasThisMacParams) SetIsrecursive(v bool)

func (*ListWhoHasThisMacParams) SetKeyword

func (p *ListWhoHasThisMacParams) SetKeyword(v string)

func (*ListWhoHasThisMacParams) SetListall

func (p *ListWhoHasThisMacParams) SetListall(v bool)

func (*ListWhoHasThisMacParams) SetMacaddress

func (p *ListWhoHasThisMacParams) SetMacaddress(v string)

func (*ListWhoHasThisMacParams) SetPage

func (p *ListWhoHasThisMacParams) SetPage(v int)

func (*ListWhoHasThisMacParams) SetPagesize

func (p *ListWhoHasThisMacParams) SetPagesize(v int)

func (*ListWhoHasThisMacParams) SetUuid

func (p *ListWhoHasThisMacParams) SetUuid(v string)

type ListWhoHasThisMacResponse

type ListWhoHasThisMacResponse struct {
	Count         int              `json:"count"`
	WhoHasThisMac []*WhoHasThisMac `json:"whohasthismac"`
}

type ListZonesParams

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

func (*ListZonesParams) SetAvailable

func (p *ListZonesParams) SetAvailable(v bool)

func (*ListZonesParams) SetDomainid

func (p *ListZonesParams) SetDomainid(v string)

func (*ListZonesParams) SetId

func (p *ListZonesParams) SetId(v string)

func (*ListZonesParams) SetKeyword

func (p *ListZonesParams) SetKeyword(v string)

func (*ListZonesParams) SetName

func (p *ListZonesParams) SetName(v string)

func (*ListZonesParams) SetNetworktype

func (p *ListZonesParams) SetNetworktype(v string)

func (*ListZonesParams) SetPage

func (p *ListZonesParams) SetPage(v int)

func (*ListZonesParams) SetPagesize

func (p *ListZonesParams) SetPagesize(v int)

func (*ListZonesParams) SetShowcapacities

func (p *ListZonesParams) SetShowcapacities(v bool)

func (*ListZonesParams) SetTags

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

type ListZonesResponse

type ListZonesResponse struct {
	Count int     `json:"count"`
	Zones []*Zone `json:"zone"`
}

type LoadBalancerRule

type LoadBalancerRule struct {
	Account       string `json:"account,omitempty"`
	Algorithm     string `json:"algorithm,omitempty"`
	Cidrlist      string `json:"cidrlist,omitempty"`
	Clienttimeout int    `json:"clienttimeout,omitempty"`
	Description   string `json:"description,omitempty"`
	Domain        string `json:"domain,omitempty"`
	Domainid      string `json:"domainid,omitempty"`
	Fordisplay    bool   `json:"fordisplay,omitempty"`
	Id            string `json:"id,omitempty"`
	Name          string `json:"name,omitempty"`
	Networkid     string `json:"networkid,omitempty"`
	Privateport   string `json:"privateport,omitempty"`
	Project       string `json:"project,omitempty"`
	Projectid     string `json:"projectid,omitempty"`
	Protocol      string `json:"protocol,omitempty"`
	Publicip      string `json:"publicip,omitempty"`
	Publicipid    string `json:"publicipid,omitempty"`
	Publicport    string `json:"publicport,omitempty"`
	Servertimeout int    `json:"servertimeout,omitempty"`
	State         string `json:"state,omitempty"`
	Tags          []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Zoneid string `json:"zoneid,omitempty"`
}

type LoadBalancerRuleInstance

type LoadBalancerRuleInstance struct {
	Lbvmipaddresses          []string        `json:"lbvmipaddresses,omitempty"`
	Loadbalancerruleinstance *VirtualMachine `json:"loadbalancerruleinstance,omitempty"`
}

type LoadBalancerService

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

func NewLoadBalancerService

func NewLoadBalancerService(cs *CosmicClient) *LoadBalancerService

func (*LoadBalancerService) AssignCertToLoadBalancer

Assigns a certificate to a load balancer rule

func (*LoadBalancerService) AssignToLoadBalancerRule

Assigns virtual machine or a list of virtual machines to a load balancer rule.

func (*LoadBalancerService) CreateLBHealthCheckPolicy

Creates a load balancer health check policy

func (*LoadBalancerService) CreateLBStickinessPolicy

Creates a load balancer stickiness policy

func (*LoadBalancerService) CreateLoadBalancerRule

Creates a load balancer rule

func (*LoadBalancerService) DeleteLBHealthCheckPolicy

Deletes a load balancer health check policy.

func (*LoadBalancerService) DeleteLBStickinessPolicy

Deletes a load balancer stickiness policy.

func (*LoadBalancerService) DeleteLoadBalancerRule

Deletes a load balancer rule.

func (*LoadBalancerService) DeleteSslCert

Delete a certificate to CloudStack

func (*LoadBalancerService) GetLBHealthCheckPolicyByID

func (s *LoadBalancerService) GetLBHealthCheckPolicyByID(id string, opts ...OptionFunc) (*LBHealthCheckPolicy, int, error)

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

func (*LoadBalancerService) GetLBStickinessPolicyByID

func (s *LoadBalancerService) GetLBStickinessPolicyByID(id string, opts ...OptionFunc) (*LBStickinessPolicy, int, error)

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

func (*LoadBalancerService) GetLoadBalancerRuleByID

func (s *LoadBalancerService) GetLoadBalancerRuleByID(id string, opts ...OptionFunc) (*LoadBalancerRule, int, error)

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

func (*LoadBalancerService) GetLoadBalancerRuleByName

func (s *LoadBalancerService) GetLoadBalancerRuleByName(name string, opts ...OptionFunc) (*LoadBalancerRule, int, error)

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

func (*LoadBalancerService) GetLoadBalancerRuleID

func (s *LoadBalancerService) GetLoadBalancerRuleID(name string, opts ...OptionFunc) (string, int, error)

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

func (*LoadBalancerService) GetLoadBalancerRuleInstanceByID

func (s *LoadBalancerService) GetLoadBalancerRuleInstanceByID(id string, opts ...OptionFunc) (*VirtualMachine, int, error)

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

func (*LoadBalancerService) ListLBHealthCheckPolicies

Lists load balancer health check policies.

func (*LoadBalancerService) ListLBStickinessPolicies

Lists load balancer stickiness policies.

func (*LoadBalancerService) ListLoadBalancerRuleInstances

List all virtual machine instances that are assigned to a load balancer rule.

func (*LoadBalancerService) ListLoadBalancerRules

Lists load balancer rules.

func (*LoadBalancerService) ListSslCerts

Lists SSL certificates

func (*LoadBalancerService) NewAssignCertToLoadBalancerParams

func (s *LoadBalancerService) NewAssignCertToLoadBalancerParams(certid string, lbruleid string) *AssignCertToLoadBalancerParams

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

func (*LoadBalancerService) NewAssignToLoadBalancerRuleParams

func (s *LoadBalancerService) NewAssignToLoadBalancerRuleParams(id string) *AssignToLoadBalancerRuleParams

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

func (*LoadBalancerService) NewCreateLBHealthCheckPolicyParams

func (s *LoadBalancerService) NewCreateLBHealthCheckPolicyParams(lbruleid string) *CreateLBHealthCheckPolicyParams

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

func (*LoadBalancerService) NewCreateLBStickinessPolicyParams

func (s *LoadBalancerService) NewCreateLBStickinessPolicyParams(lbruleid string, methodname string, name string) *CreateLBStickinessPolicyParams

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

func (*LoadBalancerService) NewCreateLoadBalancerRuleParams

func (s *LoadBalancerService) NewCreateLoadBalancerRuleParams(algorithm string, name string, privateport int, publicport int) *CreateLoadBalancerRuleParams

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

func (*LoadBalancerService) NewDeleteLBHealthCheckPolicyParams

func (s *LoadBalancerService) NewDeleteLBHealthCheckPolicyParams(id string) *DeleteLBHealthCheckPolicyParams

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

func (*LoadBalancerService) NewDeleteLBStickinessPolicyParams

func (s *LoadBalancerService) NewDeleteLBStickinessPolicyParams(id string) *DeleteLBStickinessPolicyParams

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

func (*LoadBalancerService) NewDeleteLoadBalancerRuleParams

func (s *LoadBalancerService) NewDeleteLoadBalancerRuleParams(id string) *DeleteLoadBalancerRuleParams

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

func (*LoadBalancerService) NewDeleteSslCertParams

func (s *LoadBalancerService) NewDeleteSslCertParams(id string) *DeleteSslCertParams

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

func (*LoadBalancerService) NewListLBHealthCheckPoliciesParams

func (s *LoadBalancerService) NewListLBHealthCheckPoliciesParams() *ListLBHealthCheckPoliciesParams

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

func (*LoadBalancerService) NewListLBStickinessPoliciesParams

func (s *LoadBalancerService) NewListLBStickinessPoliciesParams() *ListLBStickinessPoliciesParams

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

func (*LoadBalancerService) NewListLoadBalancerRuleInstancesParams

func (s *LoadBalancerService) NewListLoadBalancerRuleInstancesParams(id string) *ListLoadBalancerRuleInstancesParams

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

func (*LoadBalancerService) NewListLoadBalancerRulesParams

func (s *LoadBalancerService) NewListLoadBalancerRulesParams() *ListLoadBalancerRulesParams

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

func (*LoadBalancerService) NewListSslCertsParams

func (s *LoadBalancerService) NewListSslCertsParams() *ListSslCertsParams

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

func (*LoadBalancerService) NewRemoveCertFromLoadBalancerParams

func (s *LoadBalancerService) NewRemoveCertFromLoadBalancerParams(lbruleid string) *RemoveCertFromLoadBalancerParams

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

func (*LoadBalancerService) NewRemoveFromLoadBalancerRuleParams

func (s *LoadBalancerService) NewRemoveFromLoadBalancerRuleParams(id string) *RemoveFromLoadBalancerRuleParams

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

func (*LoadBalancerService) NewUpdateLBHealthCheckPolicyParams

func (s *LoadBalancerService) NewUpdateLBHealthCheckPolicyParams(id string) *UpdateLBHealthCheckPolicyParams

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

func (*LoadBalancerService) NewUpdateLBStickinessPolicyParams

func (s *LoadBalancerService) NewUpdateLBStickinessPolicyParams(id string) *UpdateLBStickinessPolicyParams

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

func (*LoadBalancerService) NewUpdateLoadBalancerRuleParams

func (s *LoadBalancerService) NewUpdateLoadBalancerRuleParams(id string) *UpdateLoadBalancerRuleParams

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

func (*LoadBalancerService) NewUploadSslCertParams

func (s *LoadBalancerService) NewUploadSslCertParams(certificate string, privatekey string) *UploadSslCertParams

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

func (*LoadBalancerService) RemoveCertFromLoadBalancer

Removes a certificate from a load balancer rule

func (*LoadBalancerService) RemoveFromLoadBalancerRule

Removes a virtual machine or a list of virtual machines from a load balancer rule.

func (*LoadBalancerService) UpdateLBHealthCheckPolicy

Updates load balancer health check policy

func (*LoadBalancerService) UpdateLBStickinessPolicy

Updates load balancer stickiness policy

func (*LoadBalancerService) UpdateLoadBalancerRule

Updates load balancer

func (*LoadBalancerService) UploadSslCert

Upload a certificate to CloudStack

type LockAccountParams

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

func (*LockAccountParams) SetAccount

func (p *LockAccountParams) SetAccount(v string)

func (*LockAccountParams) SetDomainid

func (p *LockAccountParams) SetDomainid(v string)

type LockAccountResponse

type LockAccountResponse struct {
	Accountdetails            map[string]string `json:"accountdetails,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

type LockUserParams

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

func (*LockUserParams) SetId

func (p *LockUserParams) SetId(v string)

type LockUserResponse

type LockUserResponse struct {
	Account             string `json:"account,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

type LoginParams

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

func (*LoginParams) SetDomain

func (p *LoginParams) SetDomain(v string)

func (*LoginParams) SetDomainId

func (p *LoginParams) SetDomainId(v int64)

func (*LoginParams) SetPassword

func (p *LoginParams) SetPassword(v string)

func (*LoginParams) SetUsername

func (p *LoginParams) SetUsername(v string)

type LoginResponse

type LoginResponse struct {
	Account    string `json:"account,omitempty"`
	Domainid   string `json:"domainid,omitempty"`
	Domainname string `json:"domainname,omitempty"`
	Firstname  string `json:"firstname,omitempty"`
	Lastname   string `json:"lastname,omitempty"`
	Registered string `json:"registered,omitempty"`
	Sessionkey string `json:"sessionkey,omitempty"`
	Timeout    int    `json:"timeout,omitempty"`
	Timezone   string `json:"timezone,omitempty"`
	Type       string `json:"type,omitempty"`
	Userid     string `json:"userid,omitempty"`
	Username   string `json:"username,omitempty"`
}

type LogoutParams

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

type LogoutResponse

type LogoutResponse struct {
	Description string `json:"description,omitempty"`
}

type MarkDefaultZoneForAccountParams

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

func (*MarkDefaultZoneForAccountParams) SetAccount

func (p *MarkDefaultZoneForAccountParams) SetAccount(v string)

func (*MarkDefaultZoneForAccountParams) SetDomainid

func (p *MarkDefaultZoneForAccountParams) SetDomainid(v string)

func (*MarkDefaultZoneForAccountParams) SetZoneid

func (p *MarkDefaultZoneForAccountParams) SetZoneid(v string)

type MarkDefaultZoneForAccountResponse

type MarkDefaultZoneForAccountResponse struct {
	JobID                     string            `json:"jobid,omitempty"`
	Accountdetails            map[string]string `json:"accountdetails,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

type MigrateSystemVmParams

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

func (*MigrateSystemVmParams) SetHostid

func (p *MigrateSystemVmParams) SetHostid(v string)

func (*MigrateSystemVmParams) SetVirtualmachineid

func (p *MigrateSystemVmParams) SetVirtualmachineid(v string)

type MigrateSystemVmResponse

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

type MigrateVirtualMachineParams

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

func (*MigrateVirtualMachineParams) SetHostid

func (p *MigrateVirtualMachineParams) SetHostid(v string)

func (*MigrateVirtualMachineParams) SetStorageid

func (p *MigrateVirtualMachineParams) SetStorageid(v string)

func (*MigrateVirtualMachineParams) SetVirtualmachineid

func (p *MigrateVirtualMachineParams) SetVirtualmachineid(v string)

type MigrateVirtualMachineResponse

type MigrateVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type MigrateVirtualMachineWithVolumeParams

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

func (*MigrateVirtualMachineWithVolumeParams) SetHostid

func (*MigrateVirtualMachineWithVolumeParams) SetMigrateto

func (p *MigrateVirtualMachineWithVolumeParams) SetMigrateto(v map[string]string)

func (*MigrateVirtualMachineWithVolumeParams) SetVirtualmachineid

func (p *MigrateVirtualMachineWithVolumeParams) SetVirtualmachineid(v string)

type MigrateVirtualMachineWithVolumeResponse

type MigrateVirtualMachineWithVolumeResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type MigrateVolumeParams

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

func (*MigrateVolumeParams) SetLivemigrate

func (p *MigrateVolumeParams) SetLivemigrate(v bool)

func (*MigrateVolumeParams) SetStorageid

func (p *MigrateVolumeParams) SetStorageid(v string)

func (*MigrateVolumeParams) SetVolumeid

func (p *MigrateVolumeParams) SetVolumeid(v string)

type MigrateVolumeResponse

type MigrateVolumeResponse struct {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type NATService

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

func NewNATService

func NewNATService(cs *CosmicClient) *NATService

func (*NATService) CreateIpForwardingRule

Creates an IP forwarding rule

func (*NATService) DeleteIpForwardingRule

Deletes an IP forwarding rule

func (*NATService) DisableStaticNat

Disables static rule for given IP address

func (*NATService) EnableStaticNat

Enables static NAT for given IP address

func (*NATService) GetIpForwardingRuleByID

func (s *NATService) GetIpForwardingRuleByID(id string, opts ...OptionFunc) (*IpForwardingRule, int, error)

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

func (*NATService) ListIpForwardingRules

List the IP forwarding rules

func (*NATService) NewCreateIpForwardingRuleParams

func (s *NATService) NewCreateIpForwardingRuleParams(ipaddressid string, protocol string, startport int) *CreateIpForwardingRuleParams

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

func (*NATService) NewDeleteIpForwardingRuleParams

func (s *NATService) NewDeleteIpForwardingRuleParams(id string) *DeleteIpForwardingRuleParams

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

func (*NATService) NewDisableStaticNatParams

func (s *NATService) NewDisableStaticNatParams(ipaddressid string) *DisableStaticNatParams

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

func (*NATService) NewEnableStaticNatParams

func (s *NATService) NewEnableStaticNatParams(ipaddressid string, virtualmachineid string) *EnableStaticNatParams

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

func (*NATService) NewListIpForwardingRulesParams

func (s *NATService) NewListIpForwardingRulesParams() *ListIpForwardingRulesParams

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

type Network

type Network struct {
	Account                     string `json:"account,omitempty"`
	Aclid                       string `json:"aclid,omitempty"`
	Aclname                     string `json:"aclname,omitempty"`
	Acltype                     string `json:"acltype,omitempty"`
	Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
	Broadcasturi                string `json:"broadcasturi,omitempty"`
	Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
	Cidr                        string `json:"cidr,omitempty"`
	Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
	Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
	Displaynetwork              bool   `json:"displaynetwork,omitempty"`
	Displaytext                 string `json:"displaytext,omitempty"`
	Dns1                        string `json:"dns1,omitempty"`
	Dns2                        string `json:"dns2,omitempty"`
	Domain                      string `json:"domain,omitempty"`
	Domainid                    string `json:"domainid,omitempty"`
	Gateway                     string `json:"gateway,omitempty"`
	Id                          string `json:"id,omitempty"`
	Ip6cidr                     string `json:"ip6cidr,omitempty"`
	Ip6gateway                  string `json:"ip6gateway,omitempty"`
	Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
	Isdefault                   bool   `json:"isdefault,omitempty"`
	Ispersistent                bool   `json:"ispersistent,omitempty"`
	Issystem                    bool   `json:"issystem,omitempty"`
	Name                        string `json:"name,omitempty"`
	Netmask                     string `json:"netmask,omitempty"`
	Networkcidr                 string `json:"networkcidr,omitempty"`
	Networkdomain               string `json:"networkdomain,omitempty"`
	Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
	Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
	Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
	Networkofferingid           string `json:"networkofferingid,omitempty"`
	Networkofferingname         string `json:"networkofferingname,omitempty"`
	Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
	Project                     string `json:"project,omitempty"`
	Projectid                   string `json:"projectid,omitempty"`
	Related                     string `json:"related,omitempty"`
	Reservediprange             string `json:"reservediprange,omitempty"`
	Restartrequired             bool   `json:"restartrequired,omitempty"`
	Service                     []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Specifyipranges  bool   `json:"specifyipranges,omitempty"`
	State            string `json:"state,omitempty"`
	Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
	Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype       string   `json:"traffictype,omitempty"`
	Type              string   `json:"type,omitempty"`
	Vlan              string   `json:"vlan,omitempty"`
	Vpcid             string   `json:"vpcid,omitempty"`
	Vpcname           string   `json:"vpcname,omitempty"`
	Zoneid            string   `json:"zoneid,omitempty"`
	Zonename          string   `json:"zonename,omitempty"`
	Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
}

type NetworkACL

type NetworkACL struct {
	Aclid      string `json:"aclid,omitempty"`
	Action     string `json:"action,omitempty"`
	Cidrlist   string `json:"cidrlist,omitempty"`
	Endport    string `json:"endport,omitempty"`
	Fordisplay bool   `json:"fordisplay,omitempty"`
	Icmpcode   int    `json:"icmpcode,omitempty"`
	Icmptype   int    `json:"icmptype,omitempty"`
	Id         string `json:"id,omitempty"`
	Number     int    `json:"number,omitempty"`
	Protocol   string `json:"protocol,omitempty"`
	Startport  string `json:"startport,omitempty"`
	State      string `json:"state,omitempty"`
	Tags       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype string `json:"traffictype,omitempty"`
}

type NetworkACLList

type NetworkACLList struct {
	Description string `json:"description,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Id          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Vpcid       string `json:"vpcid,omitempty"`
}

type NetworkACLService

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

func NewNetworkACLService

func NewNetworkACLService(cs *CosmicClient) *NetworkACLService

func (*NetworkACLService) CreateNetworkACL

Creates a ACL rule in the given network (the network has to belong to VPC)

func (*NetworkACLService) CreateNetworkACLList

Creates a network ACL for the given VPC

func (*NetworkACLService) DeleteNetworkACL

Deletes a network ACL

func (*NetworkACLService) DeleteNetworkACLList

Deletes a network ACL

func (*NetworkACLService) GetNetworkACLByID

func (s *NetworkACLService) GetNetworkACLByID(id string, opts ...OptionFunc) (*NetworkACL, int, error)

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

func (*NetworkACLService) GetNetworkACLListByID

func (s *NetworkACLService) GetNetworkACLListByID(id string, opts ...OptionFunc) (*NetworkACLList, int, error)

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

func (*NetworkACLService) GetNetworkACLListByName

func (s *NetworkACLService) GetNetworkACLListByName(name string, opts ...OptionFunc) (*NetworkACLList, int, error)

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

func (*NetworkACLService) GetNetworkACLListID

func (s *NetworkACLService) GetNetworkACLListID(name string, opts ...OptionFunc) (string, int, error)

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

func (*NetworkACLService) ListNetworkACLLists

Lists all network ACLs

func (*NetworkACLService) ListNetworkACLs

Lists all network ACL items

func (*NetworkACLService) NewCreateNetworkACLListParams

func (s *NetworkACLService) NewCreateNetworkACLListParams(name string, vpcid string) *CreateNetworkACLListParams

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

func (*NetworkACLService) NewCreateNetworkACLParams

func (s *NetworkACLService) NewCreateNetworkACLParams(protocol string) *CreateNetworkACLParams

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

func (*NetworkACLService) NewDeleteNetworkACLListParams

func (s *NetworkACLService) NewDeleteNetworkACLListParams(id string) *DeleteNetworkACLListParams

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

func (*NetworkACLService) NewDeleteNetworkACLParams

func (s *NetworkACLService) NewDeleteNetworkACLParams(id string) *DeleteNetworkACLParams

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

func (*NetworkACLService) NewListNetworkACLListsParams

func (s *NetworkACLService) NewListNetworkACLListsParams() *ListNetworkACLListsParams

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

func (*NetworkACLService) NewListNetworkACLsParams

func (s *NetworkACLService) NewListNetworkACLsParams() *ListNetworkACLsParams

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

func (*NetworkACLService) NewReplaceNetworkACLListParams

func (s *NetworkACLService) NewReplaceNetworkACLListParams(aclid string) *ReplaceNetworkACLListParams

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

func (*NetworkACLService) NewUpdateNetworkACLItemParams

func (s *NetworkACLService) NewUpdateNetworkACLItemParams(id string) *UpdateNetworkACLItemParams

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

func (*NetworkACLService) NewUpdateNetworkACLListParams

func (s *NetworkACLService) NewUpdateNetworkACLListParams(id string) *UpdateNetworkACLListParams

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

func (*NetworkACLService) ReplaceNetworkACLList

Replaces ACL associated with a network or private gateway

func (*NetworkACLService) UpdateNetworkACLItem

Updates ACL item with specified ID

func (*NetworkACLService) UpdateNetworkACLList

Updates network ACL list

type NetworkDevice

type NetworkDevice struct {
	Id string `json:"id,omitempty"`
}

type NetworkDeviceService

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

func NewNetworkDeviceService

func NewNetworkDeviceService(cs *CosmicClient) *NetworkDeviceService

func (*NetworkDeviceService) AddNetworkDevice

Adds a network device of one of the following types: ExternalDhcp, ExternalLoadBalancer

func (*NetworkDeviceService) DeleteNetworkDevice

Deletes network device.

func (*NetworkDeviceService) ListNetworkDevice

List network devices

func (*NetworkDeviceService) NewAddNetworkDeviceParams

func (s *NetworkDeviceService) NewAddNetworkDeviceParams() *AddNetworkDeviceParams

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

func (*NetworkDeviceService) NewDeleteNetworkDeviceParams

func (s *NetworkDeviceService) NewDeleteNetworkDeviceParams(id string) *DeleteNetworkDeviceParams

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

func (*NetworkDeviceService) NewListNetworkDeviceParams

func (s *NetworkDeviceService) NewListNetworkDeviceParams() *ListNetworkDeviceParams

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

type NetworkIsolationMethod

type NetworkIsolationMethod struct {
	Name string `json:"name,omitempty"`
}

type NetworkOffering

type NetworkOffering struct {
	Availability                 string            `json:"availability,omitempty"`
	Conservemode                 bool              `json:"conservemode,omitempty"`
	Created                      string            `json:"created,omitempty"`
	Details                      map[string]string `json:"details,omitempty"`
	Displaytext                  string            `json:"displaytext,omitempty"`
	Egressdefaultpolicy          bool              `json:"egressdefaultpolicy,omitempty"`
	Forvpc                       bool              `json:"forvpc,omitempty"`
	Guestiptype                  string            `json:"guestiptype,omitempty"`
	Id                           string            `json:"id,omitempty"`
	Isdefault                    bool              `json:"isdefault,omitempty"`
	Ispersistent                 bool              `json:"ispersistent,omitempty"`
	Maxconnections               int               `json:"maxconnections,omitempty"`
	Name                         string            `json:"name,omitempty"`
	Networkrate                  int               `json:"networkrate,omitempty"`
	Secondaryserviceofferingid   string            `json:"secondaryserviceofferingid,omitempty"`
	Secondaryserviceofferingname string            `json:"secondaryserviceofferingname,omitempty"`
	Service                      []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Serviceofferingid        string `json:"serviceofferingid,omitempty"`
	Serviceofferingname      string `json:"serviceofferingname,omitempty"`
	Specifyipranges          bool   `json:"specifyipranges,omitempty"`
	Specifyvlan              bool   `json:"specifyvlan,omitempty"`
	State                    string `json:"state,omitempty"`
	Supportsstrechedl2subnet bool   `json:"supportsstrechedl2subnet,omitempty"`
	Tags                     string `json:"tags,omitempty"`
	Traffictype              string `json:"traffictype,omitempty"`
}

type NetworkOfferingService

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

func NewNetworkOfferingService

func NewNetworkOfferingService(cs *CosmicClient) *NetworkOfferingService

func (*NetworkOfferingService) CreateNetworkOffering

Creates a network offering.

func (*NetworkOfferingService) DeleteNetworkOffering

Deletes a network offering.

func (*NetworkOfferingService) GetNetworkOfferingByID

func (s *NetworkOfferingService) GetNetworkOfferingByID(id string, opts ...OptionFunc) (*NetworkOffering, int, error)

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

func (*NetworkOfferingService) GetNetworkOfferingByName

func (s *NetworkOfferingService) GetNetworkOfferingByName(name string, opts ...OptionFunc) (*NetworkOffering, int, error)

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

func (*NetworkOfferingService) GetNetworkOfferingID

func (s *NetworkOfferingService) GetNetworkOfferingID(name string, opts ...OptionFunc) (string, int, error)

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

func (*NetworkOfferingService) ListNetworkOfferings

Lists all available network offerings.

func (*NetworkOfferingService) NewCreateNetworkOfferingParams

func (s *NetworkOfferingService) NewCreateNetworkOfferingParams(displaytext string, guestiptype string, name string, supportedservices []string, traffictype string) *CreateNetworkOfferingParams

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

func (*NetworkOfferingService) NewDeleteNetworkOfferingParams

func (s *NetworkOfferingService) NewDeleteNetworkOfferingParams(id string) *DeleteNetworkOfferingParams

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

func (*NetworkOfferingService) NewListNetworkOfferingsParams

func (s *NetworkOfferingService) NewListNetworkOfferingsParams() *ListNetworkOfferingsParams

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

func (*NetworkOfferingService) NewUpdateNetworkOfferingParams

func (s *NetworkOfferingService) NewUpdateNetworkOfferingParams() *UpdateNetworkOfferingParams

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

func (*NetworkOfferingService) UpdateNetworkOffering

Updates a network offering.

type NetworkService

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

func NewNetworkService

func NewNetworkService(cs *CosmicClient) *NetworkService

func (*NetworkService) AddNetworkServiceProvider

Adds a network serviceProvider to a physical network

func (*NetworkService) CreateNetwork

Creates a network

func (*NetworkService) CreatePhysicalNetwork

Creates a physical network

func (*NetworkService) CreateStorageNetworkIpRange

Creates a Storage network IP range.

func (*NetworkService) DedicatePublicIpRange

Dedicates a Public IP range to an account

func (*NetworkService) DeleteNetwork

Deletes a network

func (*NetworkService) DeleteNetworkServiceProvider

Deletes a Network Service Provider.

func (*NetworkService) DeletePhysicalNetwork

Deletes a Physical Network.

func (*NetworkService) DeleteStorageNetworkIpRange

Deletes a storage network IP Range.

func (*NetworkService) GetNetworkByID

func (s *NetworkService) GetNetworkByID(id string, opts ...OptionFunc) (*Network, int, error)

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

func (*NetworkService) GetNetworkByName

func (s *NetworkService) GetNetworkByName(name string, opts ...OptionFunc) (*Network, int, error)

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

func (*NetworkService) GetNetworkID

func (s *NetworkService) GetNetworkID(keyword string, opts ...OptionFunc) (string, int, error)

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

func (*NetworkService) GetNetworkServiceProviderID

func (s *NetworkService) GetNetworkServiceProviderID(name string, opts ...OptionFunc) (string, int, error)

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

func (*NetworkService) GetNiciraNvpDeviceNetworkID

func (s *NetworkService) GetNiciraNvpDeviceNetworkID(keyword string, nvpdeviceid string, opts ...OptionFunc) (string, int, error)

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

func (*NetworkService) GetPhysicalNetworkByID

func (s *NetworkService) GetPhysicalNetworkByID(id string, opts ...OptionFunc) (*PhysicalNetwork, int, error)

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

func (*NetworkService) GetPhysicalNetworkByName

func (s *NetworkService) GetPhysicalNetworkByName(name string, opts ...OptionFunc) (*PhysicalNetwork, int, error)

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

func (*NetworkService) GetPhysicalNetworkID

func (s *NetworkService) GetPhysicalNetworkID(name string, opts ...OptionFunc) (string, int, error)

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

func (*NetworkService) GetStorageNetworkIpRangeByID

func (s *NetworkService) GetStorageNetworkIpRangeByID(id string, opts ...OptionFunc) (*StorageNetworkIpRange, int, error)

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

func (*NetworkService) ListNetworkIsolationMethods

Lists supported methods of network isolation

func (*NetworkService) ListNetworkServiceProviders

Lists network serviceproviders for a given physical network.

func (*NetworkService) ListNetworks

Lists all available networks.

func (*NetworkService) ListNiciraNvpDeviceNetworks

lists network that are using a nicira nvp device

func (*NetworkService) ListPhysicalNetworks

Lists physical networks

func (*NetworkService) ListStorageNetworkIpRange

List a storage network IP range.

func (*NetworkService) ListSupportedNetworkServices

Lists all network services provided by CloudStack or for the given Provider.

func (*NetworkService) NewAddNetworkServiceProviderParams

func (s *NetworkService) NewAddNetworkServiceProviderParams(name string, physicalnetworkid string) *AddNetworkServiceProviderParams

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

func (*NetworkService) NewCreateNetworkParams

func (s *NetworkService) NewCreateNetworkParams(displaytext string, name string, networkofferingid string, zoneid string) *CreateNetworkParams

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

func (*NetworkService) NewCreatePhysicalNetworkParams

func (s *NetworkService) NewCreatePhysicalNetworkParams(name string, zoneid string) *CreatePhysicalNetworkParams

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

func (*NetworkService) NewCreateStorageNetworkIpRangeParams

func (s *NetworkService) NewCreateStorageNetworkIpRangeParams(gateway string, netmask string, podid string, startip string) *CreateStorageNetworkIpRangeParams

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

func (*NetworkService) NewDedicatePublicIpRangeParams

func (s *NetworkService) NewDedicatePublicIpRangeParams(domainid string, id string) *DedicatePublicIpRangeParams

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

func (*NetworkService) NewDeleteNetworkParams

func (s *NetworkService) NewDeleteNetworkParams(id string) *DeleteNetworkParams

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

func (*NetworkService) NewDeleteNetworkServiceProviderParams

func (s *NetworkService) NewDeleteNetworkServiceProviderParams(id string) *DeleteNetworkServiceProviderParams

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

func (*NetworkService) NewDeletePhysicalNetworkParams

func (s *NetworkService) NewDeletePhysicalNetworkParams(id string) *DeletePhysicalNetworkParams

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

func (*NetworkService) NewDeleteStorageNetworkIpRangeParams

func (s *NetworkService) NewDeleteStorageNetworkIpRangeParams(id string) *DeleteStorageNetworkIpRangeParams

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

func (*NetworkService) NewListNetworkIsolationMethodsParams

func (s *NetworkService) NewListNetworkIsolationMethodsParams() *ListNetworkIsolationMethodsParams

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

func (*NetworkService) NewListNetworkServiceProvidersParams

func (s *NetworkService) NewListNetworkServiceProvidersParams() *ListNetworkServiceProvidersParams

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

func (*NetworkService) NewListNetworksParams

func (s *NetworkService) NewListNetworksParams() *ListNetworksParams

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

func (*NetworkService) NewListNiciraNvpDeviceNetworksParams

func (s *NetworkService) NewListNiciraNvpDeviceNetworksParams(nvpdeviceid string) *ListNiciraNvpDeviceNetworksParams

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

func (*NetworkService) NewListPhysicalNetworksParams

func (s *NetworkService) NewListPhysicalNetworksParams() *ListPhysicalNetworksParams

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

func (*NetworkService) NewListStorageNetworkIpRangeParams

func (s *NetworkService) NewListStorageNetworkIpRangeParams() *ListStorageNetworkIpRangeParams

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

func (*NetworkService) NewListSupportedNetworkServicesParams

func (s *NetworkService) NewListSupportedNetworkServicesParams() *ListSupportedNetworkServicesParams

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

func (*NetworkService) NewReleasePublicIpRangeParams

func (s *NetworkService) NewReleasePublicIpRangeParams(id string) *ReleasePublicIpRangeParams

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

func (*NetworkService) NewRestartNetworkParams

func (s *NetworkService) NewRestartNetworkParams(id string) *RestartNetworkParams

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

func (*NetworkService) NewUpdateNetworkParams

func (s *NetworkService) NewUpdateNetworkParams(id string) *UpdateNetworkParams

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

func (*NetworkService) NewUpdateNetworkServiceProviderParams

func (s *NetworkService) NewUpdateNetworkServiceProviderParams(id string) *UpdateNetworkServiceProviderParams

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

func (*NetworkService) NewUpdatePhysicalNetworkParams

func (s *NetworkService) NewUpdatePhysicalNetworkParams(id string) *UpdatePhysicalNetworkParams

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

func (*NetworkService) NewUpdateStorageNetworkIpRangeParams

func (s *NetworkService) NewUpdateStorageNetworkIpRangeParams(id string) *UpdateStorageNetworkIpRangeParams

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

func (*NetworkService) ReleasePublicIpRange

Releases a Public IP range back to the system pool

func (*NetworkService) RestartNetwork

Restarts the network; includes 1) restarting network elements - virtual routers, DHCP servers 2) reapplying all public IPs 3) reapplying loadBalancing/portForwarding rules

func (*NetworkService) UpdateNetwork

Updates a network

func (*NetworkService) UpdateNetworkServiceProvider

Updates a network serviceProvider of a physical network

func (*NetworkService) UpdatePhysicalNetwork

Updates a physical network

func (*NetworkService) UpdateStorageNetworkIpRange

Update a Storage network IP range, only allowed when no IPs in this range have been allocated.

type NetworkServiceProvider

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

type Nic

type Nic struct {
	Broadcasturi string `json:"broadcasturi,omitempty"`
	Gateway      string `json:"gateway,omitempty"`
	Id           string `json:"id,omitempty"`
	Ip6address   string `json:"ip6address,omitempty"`
	Ip6cidr      string `json:"ip6cidr,omitempty"`
	Ip6gateway   string `json:"ip6gateway,omitempty"`
	Ipaddress    string `json:"ipaddress,omitempty"`
	Isdefault    bool   `json:"isdefault,omitempty"`
	Isolationuri string `json:"isolationuri,omitempty"`
	Macaddress   string `json:"macaddress,omitempty"`
	Netmask      string `json:"netmask,omitempty"`
	Networkid    string `json:"networkid,omitempty"`
	Networkname  string `json:"networkname,omitempty"`
	Secondaryip  []struct {
		Id        string `json:"id,omitempty"`
		Ipaddress string `json:"ipaddress,omitempty"`
	} `json:"secondaryip,omitempty"`
	Traffictype      string `json:"traffictype,omitempty"`
	Type             string `json:"type,omitempty"`
	Virtualmachineid string `json:"virtualmachineid,omitempty"`
}

type NicService

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

func NewNicService

func NewNicService(cs *CosmicClient) *NicService

func (*NicService) AddIpToNic

func (s *NicService) AddIpToNic(p *AddIpToNicParams) (*AddIpToNicResponse, error)

Assigns secondary IP to NIC

func (*NicService) ListNics

func (s *NicService) ListNics(p *ListNicsParams) (*ListNicsResponse, error)

list the vm nics IP to NIC

func (*NicService) NewAddIpToNicParams

func (s *NicService) NewAddIpToNicParams(nicid string) *AddIpToNicParams

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

func (*NicService) NewListNicsParams

func (s *NicService) NewListNicsParams(virtualmachineid string) *ListNicsParams

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

func (*NicService) NewRemoveIpFromNicParams

func (s *NicService) NewRemoveIpFromNicParams(id string) *RemoveIpFromNicParams

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

func (*NicService) NewUpdateVmNicIpParams

func (s *NicService) NewUpdateVmNicIpParams(nicid string) *UpdateVmNicIpParams

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

func (*NicService) RemoveIpFromNic

Removes secondary IP from the NIC.

func (*NicService) UpdateVmNicIp

func (s *NicService) UpdateVmNicIp(p *UpdateVmNicIpParams) (*UpdateVmNicIpResponse, error)

Update the default Ip of a VM Nic

type NiciraNVPService

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

func NewNiciraNVPService

func NewNiciraNVPService(cs *CosmicClient) *NiciraNVPService

func (*NiciraNVPService) AddNiciraNvpDevice

Adds a Nicira NVP device

func (*NiciraNVPService) DeleteNiciraNvpDevice

delete a nicira nvp device

func (*NiciraNVPService) ListNiciraNvpDevices

Lists Nicira NVP devices

func (*NiciraNVPService) NewAddNiciraNvpDeviceParams

func (s *NiciraNVPService) NewAddNiciraNvpDeviceParams(hostname string, password string, physicalnetworkid string, transportzoneuuid string, username string) *AddNiciraNvpDeviceParams

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

func (*NiciraNVPService) NewDeleteNiciraNvpDeviceParams

func (s *NiciraNVPService) NewDeleteNiciraNvpDeviceParams(nvpdeviceid string) *DeleteNiciraNvpDeviceParams

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

func (*NiciraNVPService) NewListNiciraNvpDevicesParams

func (s *NiciraNVPService) NewListNiciraNvpDevicesParams() *ListNiciraNvpDevicesParams

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

type NiciraNvpDevice

type NiciraNvpDevice struct {
	Hostname             string `json:"hostname,omitempty"`
	L3gatewayserviceuuid string `json:"l3gatewayserviceuuid,omitempty"`
	Niciradevicename     string `json:"niciradevicename,omitempty"`
	Nvpdeviceid          string `json:"nvpdeviceid,omitempty"`
	Physicalnetworkid    string `json:"physicalnetworkid,omitempty"`
	Provider             string `json:"provider,omitempty"`
	Transportzoneuuid    string `json:"transportzoneuuid,omitempty"`
}

type NiciraNvpDeviceNetwork

type NiciraNvpDeviceNetwork struct {
	Account                     string `json:"account,omitempty"`
	Aclid                       string `json:"aclid,omitempty"`
	Aclname                     string `json:"aclname,omitempty"`
	Acltype                     string `json:"acltype,omitempty"`
	Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
	Broadcasturi                string `json:"broadcasturi,omitempty"`
	Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
	Cidr                        string `json:"cidr,omitempty"`
	Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
	Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
	Displaynetwork              bool   `json:"displaynetwork,omitempty"`
	Displaytext                 string `json:"displaytext,omitempty"`
	Dns1                        string `json:"dns1,omitempty"`
	Dns2                        string `json:"dns2,omitempty"`
	Domain                      string `json:"domain,omitempty"`
	Domainid                    string `json:"domainid,omitempty"`
	Gateway                     string `json:"gateway,omitempty"`
	Id                          string `json:"id,omitempty"`
	Ip6cidr                     string `json:"ip6cidr,omitempty"`
	Ip6gateway                  string `json:"ip6gateway,omitempty"`
	Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
	Isdefault                   bool   `json:"isdefault,omitempty"`
	Ispersistent                bool   `json:"ispersistent,omitempty"`
	Issystem                    bool   `json:"issystem,omitempty"`
	Name                        string `json:"name,omitempty"`
	Netmask                     string `json:"netmask,omitempty"`
	Networkcidr                 string `json:"networkcidr,omitempty"`
	Networkdomain               string `json:"networkdomain,omitempty"`
	Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
	Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
	Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
	Networkofferingid           string `json:"networkofferingid,omitempty"`
	Networkofferingname         string `json:"networkofferingname,omitempty"`
	Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
	Project                     string `json:"project,omitempty"`
	Projectid                   string `json:"projectid,omitempty"`
	Related                     string `json:"related,omitempty"`
	Reservediprange             string `json:"reservediprange,omitempty"`
	Restartrequired             bool   `json:"restartrequired,omitempty"`
	Service                     []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Specifyipranges  bool   `json:"specifyipranges,omitempty"`
	State            string `json:"state,omitempty"`
	Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
	Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype       string   `json:"traffictype,omitempty"`
	Type              string   `json:"type,omitempty"`
	Vlan              string   `json:"vlan,omitempty"`
	Vpcid             string   `json:"vpcid,omitempty"`
	Vpcname           string   `json:"vpcname,omitempty"`
	Zoneid            string   `json:"zoneid,omitempty"`
	Zonename          string   `json:"zonename,omitempty"`
	Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
}

type OptionFunc

type OptionFunc func(*CosmicClient, interface{}) error

OptionFunc can be passed to the courtesy helper functions to set additional parameters

func WithProject

func WithProject(project string) OptionFunc

WithProject takes either a project name or ID and sets the `projectid` parameter

func WithVPCID

func WithVPCID(id string) OptionFunc

WithVPCID takes a vpc ID and sets the `vpcid` parameter

type OsCategory

type OsCategory struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type OsType

type OsType struct {
	Description   string `json:"description,omitempty"`
	Id            string `json:"id,omitempty"`
	Isuserdefined string `json:"isuserdefined,omitempty"`
	Oscategoryid  string `json:"oscategoryid,omitempty"`
}

type PhysicalNetwork

type PhysicalNetwork struct {
	Broadcastdomainrange string `json:"broadcastdomainrange,omitempty"`
	Domainid             string `json:"domainid,omitempty"`
	Id                   string `json:"id,omitempty"`
	Isolationmethods     string `json:"isolationmethods,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkspeed         string `json:"networkspeed,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 string `json:"tags,omitempty"`
	Vlan                 string `json:"vlan,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
}

type Pod

type Pod struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Endip    string `json:"endip,omitempty"`
	Gateway  string `json:"gateway,omitempty"`
	Id       string `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
	Netmask  string `json:"netmask,omitempty"`
	Startip  string `json:"startip,omitempty"`
	Zoneid   string `json:"zoneid,omitempty"`
	Zonename string `json:"zonename,omitempty"`
}

type PodService

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

func NewPodService

func NewPodService(cs *CosmicClient) *PodService

func (*PodService) CreatePod

func (s *PodService) CreatePod(p *CreatePodParams) (*CreatePodResponse, error)

Creates a new Pod.

func (*PodService) DedicatePod

func (s *PodService) DedicatePod(p *DedicatePodParams) (*DedicatePodResponse, error)

Dedicates a Pod.

func (*PodService) DeletePod

func (s *PodService) DeletePod(p *DeletePodParams) (*DeletePodResponse, error)

Deletes a Pod.

func (*PodService) GetPodByID

func (s *PodService) GetPodByID(id string, opts ...OptionFunc) (*Pod, int, error)

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

func (*PodService) GetPodByName

func (s *PodService) GetPodByName(name string, opts ...OptionFunc) (*Pod, int, error)

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

func (*PodService) GetPodID

func (s *PodService) GetPodID(name string, opts ...OptionFunc) (string, int, error)

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

func (*PodService) ListDedicatedPods

Lists dedicated pods.

func (*PodService) ListPods

func (s *PodService) ListPods(p *ListPodsParams) (*ListPodsResponse, error)

Lists all Pods.

func (*PodService) NewCreatePodParams

func (s *PodService) NewCreatePodParams(gateway string, name string, netmask string, startip string, zoneid string) *CreatePodParams

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

func (*PodService) NewDedicatePodParams

func (s *PodService) NewDedicatePodParams(domainid string, podid string) *DedicatePodParams

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

func (*PodService) NewDeletePodParams

func (s *PodService) NewDeletePodParams(id string) *DeletePodParams

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

func (*PodService) NewListDedicatedPodsParams

func (s *PodService) NewListDedicatedPodsParams() *ListDedicatedPodsParams

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

func (*PodService) NewListPodsParams

func (s *PodService) NewListPodsParams() *ListPodsParams

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

func (*PodService) NewReleaseDedicatedPodParams

func (s *PodService) NewReleaseDedicatedPodParams(podid string) *ReleaseDedicatedPodParams

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

func (*PodService) NewUpdatePodParams

func (s *PodService) NewUpdatePodParams(id string) *UpdatePodParams

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

func (*PodService) ReleaseDedicatedPod

Release the dedication for the pod

func (*PodService) UpdatePod

func (s *PodService) UpdatePod(p *UpdatePodParams) (*UpdatePodResponse, error)

Updates a Pod.

type PortForwardingRule

type PortForwardingRule struct {
	Cidrlist       string `json:"cidrlist,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Ipaddress      string `json:"ipaddress,omitempty"`
	Ipaddressid    string `json:"ipaddressid,omitempty"`
	Networkid      string `json:"networkid,omitempty"`
	Privateendport string `json:"privateendport,omitempty"`
	Privateport    string `json:"privateport,omitempty"`
	Protocol       string `json:"protocol,omitempty"`
	Publicendport  string `json:"publicendport,omitempty"`
	Publicport     string `json:"publicport,omitempty"`
	State          string `json:"state,omitempty"`
	Tags           []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vmguestip                 string `json:"vmguestip,omitempty"`
}

type PrepareHostForMaintenanceParams

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

func (*PrepareHostForMaintenanceParams) SetId

type PrepareHostForMaintenanceResponse

type PrepareHostForMaintenanceResponse struct {
	JobID                   string            `json:"jobid,omitempty"`
	Accountid               string            `json:"accountid,omitempty"`
	Accountname             string            `json:"accountname,omitempty"`
	Affinitygroupid         string            `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string            `json:"affinitygroupname,omitempty"`
	Averageload             int64             `json:"averageload,omitempty"`
	Capabilities            string            `json:"capabilities,omitempty"`
	Clusterid               string            `json:"clusterid,omitempty"`
	Clustername             string            `json:"clustername,omitempty"`
	Clustertype             string            `json:"clustertype,omitempty"`
	Cpuallocated            string            `json:"cpuallocated,omitempty"`
	Cpunumber               int               `json:"cpunumber,omitempty"`
	Cpusockets              int               `json:"cpusockets,omitempty"`
	Cpuused                 string            `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string            `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string            `json:"created,omitempty"`
	Dedicated               bool              `json:"dedicated,omitempty"`
	Details                 map[string]string `json:"details,omitempty"`
	Disconnected            string            `json:"disconnected,omitempty"`
	Disksizeallocated       int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64             `json:"disksizetotal,omitempty"`
	Domainid                string            `json:"domainid,omitempty"`
	Domainname              string            `json:"domainname,omitempty"`
	Events                  string            `json:"events,omitempty"`
	Gpugroup                []struct {
		Gpugroupname string `json:"gpugroupname,omitempty"`
		Vgpu         []struct {
			Maxcapacity       int64  `json:"maxcapacity,omitempty"`
			Maxheads          int64  `json:"maxheads,omitempty"`
			Maxresolutionx    int64  `json:"maxresolutionx,omitempty"`
			Maxresolutiony    int64  `json:"maxresolutiony,omitempty"`
			Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu,omitempty"`
			Remainingcapacity int64  `json:"remainingcapacity,omitempty"`
			Vgputype          string `json:"vgputype,omitempty"`
			Videoram          int64  `json:"videoram,omitempty"`
		} `json:"vgpu,omitempty"`
	} `json:"gpugroup,omitempty"`
	Hahost               bool   `json:"hahost,omitempty"`
	Hasenoughcapacity    bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags             string `json:"hosttags,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ipaddress            string `json:"ipaddress,omitempty"`
	Islocalstorageactive bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged           string `json:"lastpinged,omitempty"`
	Managementserverid   int64  `json:"managementserverid,omitempty"`
	Memoryallocated      int64  `json:"memoryallocated,omitempty"`
	Memorytotal          int64  `json:"memorytotal,omitempty"`
	Memoryused           int64  `json:"memoryused,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkkbsread       int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite      int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid         string `json:"oscategoryid,omitempty"`
	Oscategoryname       string `json:"oscategoryname,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Podname              string `json:"podname,omitempty"`
	Removed              string `json:"removed,omitempty"`
	Resourcestate        string `json:"resourcestate,omitempty"`
	State                string `json:"state,omitempty"`
	Suitableformigration bool   `json:"suitableformigration,omitempty"`
	Type                 string `json:"type,omitempty"`
	Version              string `json:"version,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

type PrepareTemplateParams

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

func (*PrepareTemplateParams) SetStorageid

func (p *PrepareTemplateParams) SetStorageid(v string)

func (*PrepareTemplateParams) SetTemplateid

func (p *PrepareTemplateParams) SetTemplateid(v string)

func (*PrepareTemplateParams) SetZoneid

func (p *PrepareTemplateParams) SetZoneid(v string)

type PrepareTemplateResponse

type PrepareTemplateResponse struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type PrivateGateway

type PrivateGateway struct {
	Account            string `json:"account,omitempty"`
	Aclid              string `json:"aclid,omitempty"`
	Cidr               string `json:"cidr,omitempty"`
	Domain             string `json:"domain,omitempty"`
	Domainid           string `json:"domainid,omitempty"`
	Id                 string `json:"id,omitempty"`
	Ipaddress          string `json:"ipaddress,omitempty"`
	Networkid          string `json:"networkid,omitempty"`
	Networkname        string `json:"networkname,omitempty"`
	Project            string `json:"project,omitempty"`
	Projectid          string `json:"projectid,omitempty"`
	Sourcenatsupported bool   `json:"sourcenatsupported,omitempty"`
	State              string `json:"state,omitempty"`
	Vlan               string `json:"vlan,omitempty"`
	Vpcid              string `json:"vpcid,omitempty"`
	Zoneid             string `json:"zoneid,omitempty"`
	Zonename           string `json:"zonename,omitempty"`
}

type Project

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

type ProjectAccount

type ProjectAccount struct {
	Account                   string `json:"account,omitempty"`
	Cpuavailable              string `json:"cpuavailable,omitempty"`
	Cpulimit                  string `json:"cpulimit,omitempty"`
	Cputotal                  int64  `json:"cputotal,omitempty"`
	Displaytext               string `json:"displaytext,omitempty"`
	Domain                    string `json:"domain,omitempty"`
	Domainid                  string `json:"domainid,omitempty"`
	Id                        string `json:"id,omitempty"`
	Ipavailable               string `json:"ipavailable,omitempty"`
	Iplimit                   string `json:"iplimit,omitempty"`
	Iptotal                   int64  `json:"iptotal,omitempty"`
	Memoryavailable           string `json:"memoryavailable,omitempty"`
	Memorylimit               string `json:"memorylimit,omitempty"`
	Memorytotal               int64  `json:"memorytotal,omitempty"`
	Name                      string `json:"name,omitempty"`
	Networkavailable          string `json:"networkavailable,omitempty"`
	Networklimit              string `json:"networklimit,omitempty"`
	Networktotal              int64  `json:"networktotal,omitempty"`
	Primarystorageavailable   string `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64  `json:"primarystoragetotal,omitempty"`
	Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64  `json:"secondarystoragetotal,omitempty"`
	Snapshotavailable         string `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64  `json:"snapshottotal,omitempty"`
	State                     string `json:"state,omitempty"`
	Tags                      []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templateavailable string `json:"templateavailable,omitempty"`
	Templatelimit     string `json:"templatelimit,omitempty"`
	Templatetotal     int64  `json:"templatetotal,omitempty"`
	Vmavailable       string `json:"vmavailable,omitempty"`
	Vmlimit           string `json:"vmlimit,omitempty"`
	Vmrunning         int    `json:"vmrunning,omitempty"`
	Vmstopped         int    `json:"vmstopped,omitempty"`
	Vmtotal           int64  `json:"vmtotal,omitempty"`
	Volumeavailable   string `json:"volumeavailable,omitempty"`
	Volumelimit       string `json:"volumelimit,omitempty"`
	Volumetotal       int64  `json:"volumetotal,omitempty"`
	Vpcavailable      string `json:"vpcavailable,omitempty"`
	Vpclimit          string `json:"vpclimit,omitempty"`
	Vpctotal          int64  `json:"vpctotal,omitempty"`
}

type ProjectIDSetter

type ProjectIDSetter interface {
	SetProjectid(string)
}

ProjectIDSetter is an interface that every type that can set a project ID must implement

type ProjectInvitation

type ProjectInvitation struct {
	Account   string `json:"account,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Email     string `json:"email,omitempty"`
	Id        string `json:"id,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
	State     string `json:"state,omitempty"`
}

type ProjectService

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

func NewProjectService

func NewProjectService(cs *CosmicClient) *ProjectService

func (*ProjectService) ActivateProject

Activates a project

func (*ProjectService) CreateProject

Creates a project

func (*ProjectService) DeleteProject

Deletes a project

func (*ProjectService) DeleteProjectInvitation

Deletes project invitation

func (*ProjectService) GetProjectByID

func (s *ProjectService) GetProjectByID(id string, opts ...OptionFunc) (*Project, int, error)

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

func (*ProjectService) GetProjectByName

func (s *ProjectService) GetProjectByName(name string, opts ...OptionFunc) (*Project, int, error)

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

func (*ProjectService) GetProjectID

func (s *ProjectService) GetProjectID(name string, opts ...OptionFunc) (string, int, error)

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

func (*ProjectService) GetProjectInvitationByID

func (s *ProjectService) GetProjectInvitationByID(id string, opts ...OptionFunc) (*ProjectInvitation, int, error)

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

func (*ProjectService) ListProjectInvitations

Lists project invitations and provides detailed information for listed invitations

func (*ProjectService) ListProjects

Lists projects and provides detailed information for listed projects

func (*ProjectService) NewActivateProjectParams

func (s *ProjectService) NewActivateProjectParams(id string) *ActivateProjectParams

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

func (*ProjectService) NewCreateProjectParams

func (s *ProjectService) NewCreateProjectParams(displaytext string, name string) *CreateProjectParams

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

func (*ProjectService) NewDeleteProjectInvitationParams

func (s *ProjectService) NewDeleteProjectInvitationParams(id string) *DeleteProjectInvitationParams

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

func (*ProjectService) NewDeleteProjectParams

func (s *ProjectService) NewDeleteProjectParams(id string) *DeleteProjectParams

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

func (*ProjectService) NewListProjectInvitationsParams

func (s *ProjectService) NewListProjectInvitationsParams() *ListProjectInvitationsParams

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

func (*ProjectService) NewListProjectsParams

func (s *ProjectService) NewListProjectsParams() *ListProjectsParams

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

func (*ProjectService) NewSuspendProjectParams

func (s *ProjectService) NewSuspendProjectParams(id string) *SuspendProjectParams

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

func (*ProjectService) NewUpdateProjectInvitationParams

func (s *ProjectService) NewUpdateProjectInvitationParams(projectid string) *UpdateProjectInvitationParams

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

func (*ProjectService) NewUpdateProjectParams

func (s *ProjectService) NewUpdateProjectParams(id string) *UpdateProjectParams

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

func (*ProjectService) SuspendProject

Suspends a project

func (*ProjectService) UpdateProject

Updates a project

func (*ProjectService) UpdateProjectInvitation

Accepts or declines project invitation

type PublicIPAddressService

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

func NewPublicIPAddressService

func NewPublicIPAddressService(cs *CosmicClient) *PublicIPAddressService

func (*PublicIPAddressService) AssociateIpAddress

Acquires and associates a public IP to an account.

func (*PublicIPAddressService) DisassociateIpAddress

Disassociates an IP address from the account.

func (*PublicIPAddressService) GetPublicIpAddressByID

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

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

func (*PublicIPAddressService) ListPublicIpAddresses

Lists all public ip addresses

func (*PublicIPAddressService) NewAssociateIpAddressParams

func (s *PublicIPAddressService) 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 (*PublicIPAddressService) NewDisassociateIpAddressParams

func (s *PublicIPAddressService) 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 (*PublicIPAddressService) NewListPublicIpAddressesParams

func (s *PublicIPAddressService) 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 (*PublicIPAddressService) NewUpdateIpAddressParams

func (s *PublicIPAddressService) 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 (*PublicIPAddressService) UpdateIpAddress

Updates an IP address

type PublicIpAddress

type PublicIpAddress struct {
	Account               string `json:"account,omitempty"`
	Aclid                 string `json:"aclid,omitempty"`
	Aclname               string `json:"aclname,omitempty"`
	Allocated             string `json:"allocated,omitempty"`
	Associatednetworkid   string `json:"associatednetworkid,omitempty"`
	Associatednetworkname string `json:"associatednetworkname,omitempty"`
	Domain                string `json:"domain,omitempty"`
	Domainid              string `json:"domainid,omitempty"`
	Fordisplay            bool   `json:"fordisplay,omitempty"`
	Forvirtualnetwork     bool   `json:"forvirtualnetwork,omitempty"`
	Id                    string `json:"id,omitempty"`
	Ipaddress             string `json:"ipaddress,omitempty"`
	Issourcenat           bool   `json:"issourcenat,omitempty"`
	Isstaticnat           bool   `json:"isstaticnat,omitempty"`
	Issystem              bool   `json:"issystem,omitempty"`
	Networkid             string `json:"networkid,omitempty"`
	Physicalnetworkid     string `json:"physicalnetworkid,omitempty"`
	Project               string `json:"project,omitempty"`
	Projectid             string `json:"projectid,omitempty"`
	Purpose               string `json:"purpose,omitempty"`
	State                 string `json:"state,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vlanid                    string `json:"vlanid,omitempty"`
	Vlanname                  string `json:"vlanname,omitempty"`
	Vmipaddress               string `json:"vmipaddress,omitempty"`
	Vpcid                     string `json:"vpcid,omitempty"`
	Zoneid                    string `json:"zoneid,omitempty"`
	Zonename                  string `json:"zonename,omitempty"`
}

type QueryAsyncJobResultParams

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

func (*QueryAsyncJobResultParams) SetJobid

func (p *QueryAsyncJobResultParams) SetJobid(v string)

type QueryAsyncJobResultResponse

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

type RebootRouterParams

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

func (*RebootRouterParams) SetId

func (p *RebootRouterParams) SetId(v string)

type RebootRouterResponse

type RebootRouterResponse struct {
	JobID               string `json:"jobid,omitempty"`
	Account             string `json:"account,omitempty"`
	Created             string `json:"created,omitempty"`
	Dns1                string `json:"dns1,omitempty"`
	Dns2                string `json:"dns2,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Gateway             string `json:"gateway,omitempty"`
	Guestipaddress      string `json:"guestipaddress,omitempty"`
	Guestmacaddress     string `json:"guestmacaddress,omitempty"`
	Guestnetmask        string `json:"guestnetmask,omitempty"`
	Guestnetworkid      string `json:"guestnetworkid,omitempty"`
	Guestnetworkname    string `json:"guestnetworkname,omitempty"`
	Hostid              string `json:"hostid,omitempty"`
	Hostname            string `json:"hostname,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Id                  string `json:"id,omitempty"`
	Ip6dns1             string `json:"ip6dns1,omitempty"`
	Ip6dns2             string `json:"ip6dns2,omitempty"`
	Isredundantrouter   bool   `json:"isredundantrouter,omitempty"`
	Laststartdate       string `json:"laststartdate,omitempty"`
	Laststartversion    string `json:"laststartversion,omitempty"`
	Linklocalip         string `json:"linklocalip,omitempty"`
	Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask    string `json:"linklocalnetmask,omitempty"`
	Linklocalnetworkid  string `json:"linklocalnetworkid,omitempty"`
	Name                string `json:"name,omitempty"`
	Networkdomain       string `json:"networkdomain,omitempty"`
	Nic                 []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Project             string `json:"project,omitempty"`
	Projectid           string `json:"projectid,omitempty"`
	Publicip            string `json:"publicip,omitempty"`
	Publicmacaddress    string `json:"publicmacaddress,omitempty"`
	Publicnetmask       string `json:"publicnetmask,omitempty"`
	Publicnetworkid     string `json:"publicnetworkid,omitempty"`
	Redundantstate      string `json:"redundantstate,omitempty"`
	Requiresupgrade     bool   `json:"requiresupgrade,omitempty"`
	Role                string `json:"role,omitempty"`
	Routerunicastid     int64  `json:"routerunicastid,omitempty"`
	Scriptsversion      string `json:"scriptsversion,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Version             string `json:"version,omitempty"`
	Vpcid               string `json:"vpcid,omitempty"`
	Vpcname             string `json:"vpcname,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type RebootSystemVmParams

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

func (*RebootSystemVmParams) SetId

func (p *RebootSystemVmParams) SetId(v string)

type RebootSystemVmResponse

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

type RebootVirtualMachineParams

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

func (*RebootVirtualMachineParams) SetId

func (p *RebootVirtualMachineParams) SetId(v string)

type RebootVirtualMachineResponse

type RebootVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type ReconnectHostParams

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

func (*ReconnectHostParams) SetId

func (p *ReconnectHostParams) SetId(v string)

type ReconnectHostResponse

type ReconnectHostResponse struct {
	JobID                   string            `json:"jobid,omitempty"`
	Accountid               string            `json:"accountid,omitempty"`
	Accountname             string            `json:"accountname,omitempty"`
	Affinitygroupid         string            `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string            `json:"affinitygroupname,omitempty"`
	Averageload             int64             `json:"averageload,omitempty"`
	Capabilities            string            `json:"capabilities,omitempty"`
	Clusterid               string            `json:"clusterid,omitempty"`
	Clustername             string            `json:"clustername,omitempty"`
	Clustertype             string            `json:"clustertype,omitempty"`
	Cpuallocated            string            `json:"cpuallocated,omitempty"`
	Cpunumber               int               `json:"cpunumber,omitempty"`
	Cpusockets              int               `json:"cpusockets,omitempty"`
	Cpuused                 string            `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string            `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string            `json:"created,omitempty"`
	Dedicated               bool              `json:"dedicated,omitempty"`
	Details                 map[string]string `json:"details,omitempty"`
	Disconnected            string            `json:"disconnected,omitempty"`
	Disksizeallocated       int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64             `json:"disksizetotal,omitempty"`
	Domainid                string            `json:"domainid,omitempty"`
	Domainname              string            `json:"domainname,omitempty"`
	Events                  string            `json:"events,omitempty"`
	Gpugroup                []struct {
		Gpugroupname string `json:"gpugroupname,omitempty"`
		Vgpu         []struct {
			Maxcapacity       int64  `json:"maxcapacity,omitempty"`
			Maxheads          int64  `json:"maxheads,omitempty"`
			Maxresolutionx    int64  `json:"maxresolutionx,omitempty"`
			Maxresolutiony    int64  `json:"maxresolutiony,omitempty"`
			Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu,omitempty"`
			Remainingcapacity int64  `json:"remainingcapacity,omitempty"`
			Vgputype          string `json:"vgputype,omitempty"`
			Videoram          int64  `json:"videoram,omitempty"`
		} `json:"vgpu,omitempty"`
	} `json:"gpugroup,omitempty"`
	Hahost               bool   `json:"hahost,omitempty"`
	Hasenoughcapacity    bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags             string `json:"hosttags,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ipaddress            string `json:"ipaddress,omitempty"`
	Islocalstorageactive bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged           string `json:"lastpinged,omitempty"`
	Managementserverid   int64  `json:"managementserverid,omitempty"`
	Memoryallocated      int64  `json:"memoryallocated,omitempty"`
	Memorytotal          int64  `json:"memorytotal,omitempty"`
	Memoryused           int64  `json:"memoryused,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkkbsread       int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite      int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid         string `json:"oscategoryid,omitempty"`
	Oscategoryname       string `json:"oscategoryname,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Podname              string `json:"podname,omitempty"`
	Removed              string `json:"removed,omitempty"`
	Resourcestate        string `json:"resourcestate,omitempty"`
	State                string `json:"state,omitempty"`
	Suitableformigration bool   `json:"suitableformigration,omitempty"`
	Type                 string `json:"type,omitempty"`
	Version              string `json:"version,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

type RecoverVirtualMachineParams

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

func (*RecoverVirtualMachineParams) SetId

func (p *RecoverVirtualMachineParams) SetId(v string)

type RecoverVirtualMachineResponse

type RecoverVirtualMachineResponse struct {
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type Region

type Region struct {
	Endpoint string `json:"endpoint,omitempty"`
	Id       int    `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
}

type RegionService

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

func NewRegionService

func NewRegionService(cs *CosmicClient) *RegionService

func (*RegionService) AddRegion

Adds a Region

func (*RegionService) ListRegions

Lists Regions

func (*RegionService) NewAddRegionParams

func (s *RegionService) NewAddRegionParams(endpoint string, id int, name string) *AddRegionParams

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

func (*RegionService) NewListRegionsParams

func (s *RegionService) NewListRegionsParams() *ListRegionsParams

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

func (*RegionService) NewRemoveRegionParams

func (s *RegionService) NewRemoveRegionParams(id int) *RemoveRegionParams

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

func (*RegionService) NewUpdateRegionParams

func (s *RegionService) NewUpdateRegionParams(id int) *UpdateRegionParams

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

func (*RegionService) RemoveRegion

Removes specified region

func (*RegionService) UpdateRegion

Updates a region

type RegisterIsoParams

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

func (*RegisterIsoParams) SetAccount

func (p *RegisterIsoParams) SetAccount(v string)

func (*RegisterIsoParams) SetBootable

func (p *RegisterIsoParams) SetBootable(v bool)

func (*RegisterIsoParams) SetChecksum

func (p *RegisterIsoParams) SetChecksum(v string)

func (*RegisterIsoParams) SetDisplaytext

func (p *RegisterIsoParams) SetDisplaytext(v string)

func (*RegisterIsoParams) SetDomainid

func (p *RegisterIsoParams) SetDomainid(v string)

func (*RegisterIsoParams) SetImagestoreuuid

func (p *RegisterIsoParams) SetImagestoreuuid(v string)

func (*RegisterIsoParams) SetIsdynamicallyscalable

func (p *RegisterIsoParams) SetIsdynamicallyscalable(v bool)

func (*RegisterIsoParams) SetIsextractable

func (p *RegisterIsoParams) SetIsextractable(v bool)

func (*RegisterIsoParams) SetIsfeatured

func (p *RegisterIsoParams) SetIsfeatured(v bool)

func (*RegisterIsoParams) SetIspublic

func (p *RegisterIsoParams) SetIspublic(v bool)

func (*RegisterIsoParams) SetMaintenancepolicy

func (p *RegisterIsoParams) SetMaintenancepolicy(v string)

func (*RegisterIsoParams) SetManufacturerstring

func (p *RegisterIsoParams) SetManufacturerstring(v string)

func (*RegisterIsoParams) SetName

func (p *RegisterIsoParams) SetName(v string)

func (*RegisterIsoParams) SetOptimisefor

func (p *RegisterIsoParams) SetOptimisefor(v string)

func (*RegisterIsoParams) SetOstypeid

func (p *RegisterIsoParams) SetOstypeid(v string)

func (*RegisterIsoParams) SetProjectid

func (p *RegisterIsoParams) SetProjectid(v string)

func (*RegisterIsoParams) SetUrl

func (p *RegisterIsoParams) SetUrl(v string)

func (*RegisterIsoParams) SetZoneid

func (p *RegisterIsoParams) SetZoneid(v string)

type RegisterIsoResponse

type RegisterIsoResponse struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type RegisterSSHKeyPairParams

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

func (*RegisterSSHKeyPairParams) SetAccount

func (p *RegisterSSHKeyPairParams) SetAccount(v string)

func (*RegisterSSHKeyPairParams) SetDomainid

func (p *RegisterSSHKeyPairParams) SetDomainid(v string)

func (*RegisterSSHKeyPairParams) SetName

func (p *RegisterSSHKeyPairParams) SetName(v string)

func (*RegisterSSHKeyPairParams) SetProjectid

func (p *RegisterSSHKeyPairParams) SetProjectid(v string)

func (*RegisterSSHKeyPairParams) SetPublickey

func (p *RegisterSSHKeyPairParams) SetPublickey(v string)

type RegisterSSHKeyPairResponse

type RegisterSSHKeyPairResponse struct {
	Account     string `json:"account,omitempty"`
	Domain      string `json:"domain,omitempty"`
	Domainid    string `json:"domainid,omitempty"`
	Fingerprint string `json:"fingerprint,omitempty"`
	Name        string `json:"name,omitempty"`
}

type RegisterTemplate

type RegisterTemplate struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type RegisterTemplateParams

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

func (*RegisterTemplateParams) SetAccount

func (p *RegisterTemplateParams) SetAccount(v string)

func (*RegisterTemplateParams) SetBits

func (p *RegisterTemplateParams) SetBits(v int)

func (*RegisterTemplateParams) SetChecksum

func (p *RegisterTemplateParams) SetChecksum(v string)

func (*RegisterTemplateParams) SetDetails

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

func (*RegisterTemplateParams) SetDisplaytext

func (p *RegisterTemplateParams) SetDisplaytext(v string)

func (*RegisterTemplateParams) SetDomainid

func (p *RegisterTemplateParams) SetDomainid(v string)

func (*RegisterTemplateParams) SetFormat

func (p *RegisterTemplateParams) SetFormat(v string)

func (*RegisterTemplateParams) SetHypervisor

func (p *RegisterTemplateParams) SetHypervisor(v string)

func (*RegisterTemplateParams) SetIsdynamicallyscalable

func (p *RegisterTemplateParams) SetIsdynamicallyscalable(v bool)

func (*RegisterTemplateParams) SetIsextractable

func (p *RegisterTemplateParams) SetIsextractable(v bool)

func (*RegisterTemplateParams) SetIsfeatured

func (p *RegisterTemplateParams) SetIsfeatured(v bool)

func (*RegisterTemplateParams) SetIspublic

func (p *RegisterTemplateParams) SetIspublic(v bool)

func (*RegisterTemplateParams) SetIsrouting

func (p *RegisterTemplateParams) SetIsrouting(v bool)

func (*RegisterTemplateParams) SetMaintenancepolicy

func (p *RegisterTemplateParams) SetMaintenancepolicy(v string)

func (*RegisterTemplateParams) SetManufacturerstring

func (p *RegisterTemplateParams) SetManufacturerstring(v string)

func (*RegisterTemplateParams) SetName

func (p *RegisterTemplateParams) SetName(v string)

func (*RegisterTemplateParams) SetOptimisefor

func (p *RegisterTemplateParams) SetOptimisefor(v string)

func (*RegisterTemplateParams) SetOstypeid

func (p *RegisterTemplateParams) SetOstypeid(v string)

func (*RegisterTemplateParams) SetPasswordenabled

func (p *RegisterTemplateParams) SetPasswordenabled(v bool)

func (*RegisterTemplateParams) SetProjectid

func (p *RegisterTemplateParams) SetProjectid(v string)

func (*RegisterTemplateParams) SetSshkeyenabled

func (p *RegisterTemplateParams) SetSshkeyenabled(v bool)

func (*RegisterTemplateParams) SetTemplatetag

func (p *RegisterTemplateParams) SetTemplatetag(v string)

func (*RegisterTemplateParams) SetUrl

func (p *RegisterTemplateParams) SetUrl(v string)

func (*RegisterTemplateParams) SetZoneid

func (p *RegisterTemplateParams) SetZoneid(v string)

type RegisterTemplateResponse

type RegisterTemplateResponse struct {
	Count            int                 `json:"count"`
	RegisterTemplate []*RegisterTemplate `json:"template"`
}

type RegisterUserKeysParams

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

func (*RegisterUserKeysParams) SetId

func (p *RegisterUserKeysParams) SetId(v string)

type RegisterUserKeysResponse

type RegisterUserKeysResponse struct {
	Apikey    string `json:"apikey,omitempty"`
	Secretkey string `json:"secretkey,omitempty"`
}

type ReleaseDedicatedClusterParams

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

func (*ReleaseDedicatedClusterParams) SetClusterid

func (p *ReleaseDedicatedClusterParams) SetClusterid(v string)

type ReleaseDedicatedClusterResponse

type ReleaseDedicatedClusterResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReleaseDedicatedGuestVlanRangeParams

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

func (*ReleaseDedicatedGuestVlanRangeParams) SetId

type ReleaseDedicatedGuestVlanRangeResponse

type ReleaseDedicatedGuestVlanRangeResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReleaseDedicatedHostParams

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

func (*ReleaseDedicatedHostParams) SetHostid

func (p *ReleaseDedicatedHostParams) SetHostid(v string)

type ReleaseDedicatedHostResponse

type ReleaseDedicatedHostResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReleaseDedicatedPodParams

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

func (*ReleaseDedicatedPodParams) SetPodid

func (p *ReleaseDedicatedPodParams) SetPodid(v string)

type ReleaseDedicatedPodResponse

type ReleaseDedicatedPodResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReleaseDedicatedZoneParams

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

func (*ReleaseDedicatedZoneParams) SetZoneid

func (p *ReleaseDedicatedZoneParams) SetZoneid(v string)

type ReleaseDedicatedZoneResponse

type ReleaseDedicatedZoneResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReleaseHostReservationParams

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

func (*ReleaseHostReservationParams) SetId

type ReleaseHostReservationResponse

type ReleaseHostReservationResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReleasePublicIpRangeParams

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

func (*ReleasePublicIpRangeParams) SetId

func (p *ReleasePublicIpRangeParams) SetId(v string)

type ReleasePublicIpRangeResponse

type ReleasePublicIpRangeResponse struct {
	Displaytext string `json:"displaytext,omitempty"`
	Success     string `json:"success,omitempty"`
}

type RemoteAccessVpn

type RemoteAccessVpn struct {
	Account      string `json:"account,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Fordisplay   bool   `json:"fordisplay,omitempty"`
	Id           string `json:"id,omitempty"`
	Iprange      string `json:"iprange,omitempty"`
	Presharedkey string `json:"presharedkey,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Publicip     string `json:"publicip,omitempty"`
	Publicipid   string `json:"publicipid,omitempty"`
	State        string `json:"state,omitempty"`
}

type RemoveCertFromLoadBalancerParams

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

func (*RemoveCertFromLoadBalancerParams) SetLbruleid

func (p *RemoveCertFromLoadBalancerParams) SetLbruleid(v string)

type RemoveCertFromLoadBalancerResponse

type RemoveCertFromLoadBalancerResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type RemoveFromLoadBalancerRuleParams

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

func (*RemoveFromLoadBalancerRuleParams) SetId

func (*RemoveFromLoadBalancerRuleParams) SetVirtualmachineids

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

func (*RemoveFromLoadBalancerRuleParams) SetVmidipmap

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

type RemoveFromLoadBalancerRuleResponse

type RemoveFromLoadBalancerRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type RemoveGuestOsMappingParams

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

func (*RemoveGuestOsMappingParams) SetId

func (p *RemoveGuestOsMappingParams) SetId(v string)

type RemoveGuestOsMappingResponse

type RemoveGuestOsMappingResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type RemoveGuestOsParams

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

func (*RemoveGuestOsParams) SetId

func (p *RemoveGuestOsParams) SetId(v string)

type RemoveGuestOsResponse

type RemoveGuestOsResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type RemoveIpFromNicParams

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

func (*RemoveIpFromNicParams) SetId

func (p *RemoveIpFromNicParams) SetId(v string)

type RemoveIpFromNicResponse

type RemoveIpFromNicResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type RemoveNicFromVirtualMachineParams

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

func (*RemoveNicFromVirtualMachineParams) SetNicid

func (*RemoveNicFromVirtualMachineParams) SetVirtualmachineid

func (p *RemoveNicFromVirtualMachineParams) SetVirtualmachineid(v string)

type RemoveNicFromVirtualMachineResponse

type RemoveNicFromVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type RemoveRegionParams

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

func (*RemoveRegionParams) SetId

func (p *RemoveRegionParams) SetId(v int)

type RemoveRegionResponse

type RemoveRegionResponse struct {
	Displaytext string `json:"displaytext,omitempty"`
	Success     string `json:"success,omitempty"`
}

type RemoveResourceDetailParams

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

func (*RemoveResourceDetailParams) SetKey

func (p *RemoveResourceDetailParams) SetKey(v string)

func (*RemoveResourceDetailParams) SetResourceid

func (p *RemoveResourceDetailParams) SetResourceid(v string)

func (*RemoveResourceDetailParams) SetResourcetype

func (p *RemoveResourceDetailParams) SetResourcetype(v string)

type RemoveResourceDetailResponse

type RemoveResourceDetailResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type RemoveVpnUserParams

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

func (*RemoveVpnUserParams) SetAccount

func (p *RemoveVpnUserParams) SetAccount(v string)

func (*RemoveVpnUserParams) SetDomainid

func (p *RemoveVpnUserParams) SetDomainid(v string)

func (*RemoveVpnUserParams) SetProjectid

func (p *RemoveVpnUserParams) SetProjectid(v string)

func (*RemoveVpnUserParams) SetUsername

func (p *RemoveVpnUserParams) SetUsername(v string)

type RemoveVpnUserResponse

type RemoveVpnUserResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ReplaceNetworkACLListParams

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

func (*ReplaceNetworkACLListParams) SetAclid

func (p *ReplaceNetworkACLListParams) SetAclid(v string)

func (*ReplaceNetworkACLListParams) SetGatewayid

func (p *ReplaceNetworkACLListParams) SetGatewayid(v string)

func (*ReplaceNetworkACLListParams) SetNetworkid

func (p *ReplaceNetworkACLListParams) SetNetworkid(v string)

func (*ReplaceNetworkACLListParams) SetPublicipid

func (p *ReplaceNetworkACLListParams) SetPublicipid(v string)

type ReplaceNetworkACLListResponse

type ReplaceNetworkACLListResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type ResetApiLimitParams

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

func (*ResetApiLimitParams) SetAccount

func (p *ResetApiLimitParams) SetAccount(v string)

type ResetApiLimitResponse

type ResetApiLimitResponse struct {
	Account     string `json:"account,omitempty"`
	Accountid   string `json:"accountid,omitempty"`
	ApiAllowed  int    `json:"apiAllowed,omitempty"`
	ApiIssued   int    `json:"apiIssued,omitempty"`
	ExpireAfter int64  `json:"expireAfter,omitempty"`
}

type ResetPasswordForVirtualMachineParams

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

func (*ResetPasswordForVirtualMachineParams) SetId

type ResetPasswordForVirtualMachineResponse

type ResetPasswordForVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type ResetSSHKeyForVirtualMachineParams

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

func (*ResetSSHKeyForVirtualMachineParams) SetAccount

func (p *ResetSSHKeyForVirtualMachineParams) SetAccount(v string)

func (*ResetSSHKeyForVirtualMachineParams) SetDomainid

func (p *ResetSSHKeyForVirtualMachineParams) SetDomainid(v string)

func (*ResetSSHKeyForVirtualMachineParams) SetId

func (*ResetSSHKeyForVirtualMachineParams) SetKeypair

func (p *ResetSSHKeyForVirtualMachineParams) SetKeypair(v string)

func (*ResetSSHKeyForVirtualMachineParams) SetProjectid

func (p *ResetSSHKeyForVirtualMachineParams) SetProjectid(v string)

type ResetSSHKeyForVirtualMachineResponse

type ResetSSHKeyForVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type ResetVpnConnectionParams

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

func (*ResetVpnConnectionParams) SetAccount

func (p *ResetVpnConnectionParams) SetAccount(v string)

func (*ResetVpnConnectionParams) SetDomainid

func (p *ResetVpnConnectionParams) SetDomainid(v string)

func (*ResetVpnConnectionParams) SetId

func (p *ResetVpnConnectionParams) SetId(v string)

type ResetVpnConnectionResponse

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

type ResizeVolumeParams

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

func (*ResizeVolumeParams) SetDiskofferingid

func (p *ResizeVolumeParams) SetDiskofferingid(v string)

func (*ResizeVolumeParams) SetId

func (p *ResizeVolumeParams) SetId(v string)

func (*ResizeVolumeParams) SetMaxiops

func (p *ResizeVolumeParams) SetMaxiops(v int64)

func (*ResizeVolumeParams) SetMiniops

func (p *ResizeVolumeParams) SetMiniops(v int64)

func (*ResizeVolumeParams) SetShrinkok

func (p *ResizeVolumeParams) SetShrinkok(v bool)

func (*ResizeVolumeParams) SetSize

func (p *ResizeVolumeParams) SetSize(v int64)

type ResizeVolumeResponse

type ResizeVolumeResponse struct {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type ResourceDetail

type ResourceDetail struct {
	Account      string `json:"account,omitempty"`
	Customer     string `json:"customer,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Key          string `json:"key,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Resourceid   string `json:"resourceid,omitempty"`
	Resourcetype string `json:"resourcetype,omitempty"`
	Value        string `json:"value,omitempty"`
}

type ResourceLimit

type ResourceLimit struct {
	Account      string `json:"account,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Max          int64  `json:"max,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Resourcetype string `json:"resourcetype,omitempty"`
}

type ResourcemetadataService

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

func NewResourcemetadataService

func NewResourcemetadataService(cs *CosmicClient) *ResourcemetadataService

func (*ResourcemetadataService) AddResourceDetail

Adds detail for the Resource.

func (*ResourcemetadataService) ListResourceDetails

List resource detail(s)

func (*ResourcemetadataService) NewAddResourceDetailParams

func (s *ResourcemetadataService) NewAddResourceDetailParams(details map[string]string, resourceid string, resourcetype string) *AddResourceDetailParams

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

func (*ResourcemetadataService) NewListResourceDetailsParams

func (s *ResourcemetadataService) NewListResourceDetailsParams(resourcetype string) *ListResourceDetailsParams

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

func (*ResourcemetadataService) NewRemoveResourceDetailParams

func (s *ResourcemetadataService) NewRemoveResourceDetailParams(resourceid string, resourcetype string) *RemoveResourceDetailParams

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

func (*ResourcemetadataService) RemoveResourceDetail

Removes detail for the Resource.

type ResourcetagsService

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

func NewResourcetagsService

func NewResourcetagsService(cs *CosmicClient) *ResourcetagsService

func (*ResourcetagsService) CreateTags

Creates resource tag(s)

func (*ResourcetagsService) DeleteTags

Deleting resource tag(s)

func (*ResourcetagsService) GetStorageTagID

func (s *ResourcetagsService) GetStorageTagID(keyword string, opts ...OptionFunc) (string, int, error)

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

func (*ResourcetagsService) ListStorageTags

Lists storage tags

func (*ResourcetagsService) ListTags

List resource tag(s)

func (*ResourcetagsService) NewCreateTagsParams

func (s *ResourcetagsService) NewCreateTagsParams(resourceids []string, resourcetype string, tags map[string]string) *CreateTagsParams

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

func (*ResourcetagsService) NewDeleteTagsParams

func (s *ResourcetagsService) NewDeleteTagsParams(resourceids []string, resourcetype string) *DeleteTagsParams

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

func (*ResourcetagsService) NewListStorageTagsParams

func (s *ResourcetagsService) NewListStorageTagsParams() *ListStorageTagsParams

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

func (*ResourcetagsService) NewListTagsParams

func (s *ResourcetagsService) NewListTagsParams() *ListTagsParams

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

type RestartNetworkParams

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

func (*RestartNetworkParams) SetCleanup

func (p *RestartNetworkParams) SetCleanup(v bool)

func (*RestartNetworkParams) SetId

func (p *RestartNetworkParams) SetId(v string)

type RestartNetworkResponse

type RestartNetworkResponse struct {
	JobID                 string `json:"jobid,omitempty"`
	Account               string `json:"account,omitempty"`
	Aclid                 string `json:"aclid,omitempty"`
	Aclname               string `json:"aclname,omitempty"`
	Allocated             string `json:"allocated,omitempty"`
	Associatednetworkid   string `json:"associatednetworkid,omitempty"`
	Associatednetworkname string `json:"associatednetworkname,omitempty"`
	Domain                string `json:"domain,omitempty"`
	Domainid              string `json:"domainid,omitempty"`
	Fordisplay            bool   `json:"fordisplay,omitempty"`
	Forvirtualnetwork     bool   `json:"forvirtualnetwork,omitempty"`
	Id                    string `json:"id,omitempty"`
	Ipaddress             string `json:"ipaddress,omitempty"`
	Issourcenat           bool   `json:"issourcenat,omitempty"`
	Isstaticnat           bool   `json:"isstaticnat,omitempty"`
	Issystem              bool   `json:"issystem,omitempty"`
	Networkid             string `json:"networkid,omitempty"`
	Physicalnetworkid     string `json:"physicalnetworkid,omitempty"`
	Project               string `json:"project,omitempty"`
	Projectid             string `json:"projectid,omitempty"`
	Purpose               string `json:"purpose,omitempty"`
	State                 string `json:"state,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vlanid                    string `json:"vlanid,omitempty"`
	Vlanname                  string `json:"vlanname,omitempty"`
	Vmipaddress               string `json:"vmipaddress,omitempty"`
	Vpcid                     string `json:"vpcid,omitempty"`
	Zoneid                    string `json:"zoneid,omitempty"`
	Zonename                  string `json:"zonename,omitempty"`
}

type RestartVPCParams

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

func (*RestartVPCParams) SetCleanup

func (p *RestartVPCParams) SetCleanup(v bool)

func (*RestartVPCParams) SetId

func (p *RestartVPCParams) SetId(v string)

type RestartVPCResponse

type RestartVPCResponse struct {
	JobID          string `json:"jobid,omitempty"`
	Account        string `json:"account,omitempty"`
	Advertinterval int64  `json:"advertinterval,omitempty"`
	Advertmethod   string `json:"advertmethod,omitempty"`
	Cidr           string `json:"cidr,omitempty"`
	Created        string `json:"created,omitempty"`
	Displaytext    string `json:"displaytext,omitempty"`
	Domain         string `json:"domain,omitempty"`
	Domainid       string `json:"domainid,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	Network        []struct {
		Account                     string `json:"account,omitempty"`
		Aclid                       string `json:"aclid,omitempty"`
		Aclname                     string `json:"aclname,omitempty"`
		Acltype                     string `json:"acltype,omitempty"`
		Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
		Broadcasturi                string `json:"broadcasturi,omitempty"`
		Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
		Cidr                        string `json:"cidr,omitempty"`
		Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
		Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
		Displaynetwork              bool   `json:"displaynetwork,omitempty"`
		Displaytext                 string `json:"displaytext,omitempty"`
		Dns1                        string `json:"dns1,omitempty"`
		Dns2                        string `json:"dns2,omitempty"`
		Domain                      string `json:"domain,omitempty"`
		Domainid                    string `json:"domainid,omitempty"`
		Gateway                     string `json:"gateway,omitempty"`
		Id                          string `json:"id,omitempty"`
		Ip6cidr                     string `json:"ip6cidr,omitempty"`
		Ip6gateway                  string `json:"ip6gateway,omitempty"`
		Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
		Isdefault                   bool   `json:"isdefault,omitempty"`
		Ispersistent                bool   `json:"ispersistent,omitempty"`
		Issystem                    bool   `json:"issystem,omitempty"`
		Name                        string `json:"name,omitempty"`
		Netmask                     string `json:"netmask,omitempty"`
		Networkcidr                 string `json:"networkcidr,omitempty"`
		Networkdomain               string `json:"networkdomain,omitempty"`
		Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
		Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
		Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
		Networkofferingid           string `json:"networkofferingid,omitempty"`
		Networkofferingname         string `json:"networkofferingname,omitempty"`
		Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
		Project                     string `json:"project,omitempty"`
		Projectid                   string `json:"projectid,omitempty"`
		Related                     string `json:"related,omitempty"`
		Reservediprange             string `json:"reservediprange,omitempty"`
		Restartrequired             bool   `json:"restartrequired,omitempty"`
		Service                     []struct {
			Capability []struct {
				Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
				Name                       string `json:"name,omitempty"`
				Value                      string `json:"value,omitempty"`
			} `json:"capability,omitempty"`
			Name     string `json:"name,omitempty"`
			Provider []struct {
				Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
				Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
				Id                           string   `json:"id,omitempty"`
				Name                         string   `json:"name,omitempty"`
				Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
				Servicelist                  []string `json:"servicelist,omitempty"`
				State                        string   `json:"state,omitempty"`
			} `json:"provider,omitempty"`
		} `json:"service,omitempty"`
		Specifyipranges  bool   `json:"specifyipranges,omitempty"`
		State            string `json:"state,omitempty"`
		Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
		Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
		Tags             []struct {
			Account      string `json:"account,omitempty"`
			Customer     string `json:"customer,omitempty"`
			Domain       string `json:"domain,omitempty"`
			Domainid     string `json:"domainid,omitempty"`
			Key          string `json:"key,omitempty"`
			Project      string `json:"project,omitempty"`
			Projectid    string `json:"projectid,omitempty"`
			Resourceid   string `json:"resourceid,omitempty"`
			Resourcetype string `json:"resourcetype,omitempty"`
			Value        string `json:"value,omitempty"`
		} `json:"tags,omitempty"`
		Traffictype       string   `json:"traffictype,omitempty"`
		Type              string   `json:"type,omitempty"`
		Vlan              string   `json:"vlan,omitempty"`
		Vpcid             string   `json:"vpcid,omitempty"`
		Vpcname           string   `json:"vpcname,omitempty"`
		Zoneid            string   `json:"zoneid,omitempty"`
		Zonename          string   `json:"zonename,omitempty"`
		Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
	} `json:"network,omitempty"`
	Networkdomain      string `json:"networkdomain,omitempty"`
	Project            string `json:"project,omitempty"`
	Projectid          string `json:"projectid,omitempty"`
	Redundantvpcrouter bool   `json:"redundantvpcrouter,omitempty"`
	Restartrequired    bool   `json:"restartrequired,omitempty"`
	Service            []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Sourcenatlist    string `json:"sourcenatlist,omitempty"`
	State            string `json:"state,omitempty"`
	Syslogserverlist string `json:"syslogserverlist,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Vpcofferingdisplaytext string `json:"vpcofferingdisplaytext,omitempty"`
	Vpcofferingid          string `json:"vpcofferingid,omitempty"`
	Vpcofferingname        string `json:"vpcofferingname,omitempty"`
	Zoneid                 string `json:"zoneid,omitempty"`
	Zonename               string `json:"zonename,omitempty"`
}

type RestoreVirtualMachineParams

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

func (*RestoreVirtualMachineParams) SetTemplateid

func (p *RestoreVirtualMachineParams) SetTemplateid(v string)

func (*RestoreVirtualMachineParams) SetVirtualmachineid

func (p *RestoreVirtualMachineParams) SetVirtualmachineid(v string)

type RestoreVirtualMachineResponse

type RestoreVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type RevertSnapshotParams

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

func (*RevertSnapshotParams) SetId

func (p *RevertSnapshotParams) SetId(v string)

type RevertSnapshotResponse

type RevertSnapshotResponse struct {
	JobID        string `json:"jobid,omitempty"`
	Account      string `json:"account,omitempty"`
	Created      string `json:"created,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Id           string `json:"id,omitempty"`
	Intervaltype string `json:"intervaltype,omitempty"`
	Name         string `json:"name,omitempty"`
	Physicalsize int64  `json:"physicalsize,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Revertable   bool   `json:"revertable,omitempty"`
	Snapshottype string `json:"snapshottype,omitempty"`
	State        string `json:"state,omitempty"`
	Tags         []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Volumeid   string `json:"volumeid,omitempty"`
	Volumename string `json:"volumename,omitempty"`
	Volumetype string `json:"volumetype,omitempty"`
	Zoneid     string `json:"zoneid,omitempty"`
}

type RevertToVMSnapshotParams

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

func (*RevertToVMSnapshotParams) SetVmsnapshotid

func (p *RevertToVMSnapshotParams) SetVmsnapshotid(v string)

type RevertToVMSnapshotResponse

type RevertToVMSnapshotResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type Router

type Router struct {
	Account             string `json:"account,omitempty"`
	Created             string `json:"created,omitempty"`
	Dns1                string `json:"dns1,omitempty"`
	Dns2                string `json:"dns2,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Gateway             string `json:"gateway,omitempty"`
	Guestipaddress      string `json:"guestipaddress,omitempty"`
	Guestmacaddress     string `json:"guestmacaddress,omitempty"`
	Guestnetmask        string `json:"guestnetmask,omitempty"`
	Guestnetworkid      string `json:"guestnetworkid,omitempty"`
	Guestnetworkname    string `json:"guestnetworkname,omitempty"`
	Hostid              string `json:"hostid,omitempty"`
	Hostname            string `json:"hostname,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Id                  string `json:"id,omitempty"`
	Ip6dns1             string `json:"ip6dns1,omitempty"`
	Ip6dns2             string `json:"ip6dns2,omitempty"`
	Isredundantrouter   bool   `json:"isredundantrouter,omitempty"`
	Laststartdate       string `json:"laststartdate,omitempty"`
	Laststartversion    string `json:"laststartversion,omitempty"`
	Linklocalip         string `json:"linklocalip,omitempty"`
	Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask    string `json:"linklocalnetmask,omitempty"`
	Linklocalnetworkid  string `json:"linklocalnetworkid,omitempty"`
	Name                string `json:"name,omitempty"`
	Networkdomain       string `json:"networkdomain,omitempty"`
	Nic                 []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Project             string `json:"project,omitempty"`
	Projectid           string `json:"projectid,omitempty"`
	Publicip            string `json:"publicip,omitempty"`
	Publicmacaddress    string `json:"publicmacaddress,omitempty"`
	Publicnetmask       string `json:"publicnetmask,omitempty"`
	Publicnetworkid     string `json:"publicnetworkid,omitempty"`
	Redundantstate      string `json:"redundantstate,omitempty"`
	Requiresupgrade     bool   `json:"requiresupgrade,omitempty"`
	Role                string `json:"role,omitempty"`
	Routerunicastid     int64  `json:"routerunicastid,omitempty"`
	Scriptsversion      string `json:"scriptsversion,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Version             string `json:"version,omitempty"`
	Vpcid               string `json:"vpcid,omitempty"`
	Vpcname             string `json:"vpcname,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type RouterService

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

func NewRouterService

func NewRouterService(cs *CosmicClient) *RouterService

func (*RouterService) ChangeServiceForRouter

Upgrades domain router to a new service offering

func (*RouterService) ConfigureVirtualRouterElement

Configures a virtual router element.

func (*RouterService) CreateVirtualRouterElement

Create a virtual router element.

func (*RouterService) DestroyRouter

Destroys a router.

func (*RouterService) GetRouterByID

func (s *RouterService) GetRouterByID(id string, opts ...OptionFunc) (*Router, int, error)

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

func (*RouterService) GetRouterByName

func (s *RouterService) GetRouterByName(name string, opts ...OptionFunc) (*Router, int, error)

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

func (*RouterService) GetRouterID

func (s *RouterService) GetRouterID(name string, opts ...OptionFunc) (string, int, error)

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

func (*RouterService) GetVirtualRouterElementByID

func (s *RouterService) GetVirtualRouterElementByID(id string, opts ...OptionFunc) (*VirtualRouterElement, int, error)

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

func (*RouterService) ListRouters

List routers.

func (*RouterService) ListVirtualRouterElements

Lists all available virtual router elements.

func (*RouterService) NewChangeServiceForRouterParams

func (s *RouterService) NewChangeServiceForRouterParams(id string, serviceofferingid string) *ChangeServiceForRouterParams

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

func (*RouterService) NewConfigureVirtualRouterElementParams

func (s *RouterService) NewConfigureVirtualRouterElementParams(enabled bool, id string) *ConfigureVirtualRouterElementParams

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

func (*RouterService) NewCreateVirtualRouterElementParams

func (s *RouterService) NewCreateVirtualRouterElementParams(nspid string) *CreateVirtualRouterElementParams

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

func (*RouterService) NewDestroyRouterParams

func (s *RouterService) NewDestroyRouterParams(id string) *DestroyRouterParams

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

func (*RouterService) NewListRoutersParams

func (s *RouterService) NewListRoutersParams() *ListRoutersParams

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

func (*RouterService) NewListVirtualRouterElementsParams

func (s *RouterService) NewListVirtualRouterElementsParams() *ListVirtualRouterElementsParams

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

func (*RouterService) NewRebootRouterParams

func (s *RouterService) NewRebootRouterParams(id string) *RebootRouterParams

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

func (*RouterService) NewStartRouterParams

func (s *RouterService) NewStartRouterParams(id string) *StartRouterParams

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

func (*RouterService) NewStopRouterParams

func (s *RouterService) NewStopRouterParams(id string) *StopRouterParams

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

func (*RouterService) RebootRouter

Starts a router.

func (*RouterService) StartRouter

Starts a router.

func (*RouterService) StopRouter

Stops a router.

type SSHKeyPair

type SSHKeyPair struct {
	Account     string `json:"account,omitempty"`
	Domain      string `json:"domain,omitempty"`
	Domainid    string `json:"domainid,omitempty"`
	Fingerprint string `json:"fingerprint,omitempty"`
	Name        string `json:"name,omitempty"`
}

type SSHService

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

func NewSSHService

func NewSSHService(cs *CosmicClient) *SSHService

func (*SSHService) CreateSSHKeyPair

Create a new keypair and returns the private key

func (*SSHService) DeleteSSHKeyPair

Deletes a keypair by name

func (*SSHService) ListSSHKeyPairs

List registered keypairs

func (*SSHService) NewCreateSSHKeyPairParams

func (s *SSHService) NewCreateSSHKeyPairParams(name string) *CreateSSHKeyPairParams

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

func (*SSHService) NewDeleteSSHKeyPairParams

func (s *SSHService) NewDeleteSSHKeyPairParams(name string) *DeleteSSHKeyPairParams

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

func (*SSHService) NewListSSHKeyPairsParams

func (s *SSHService) NewListSSHKeyPairsParams() *ListSSHKeyPairsParams

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

func (*SSHService) NewRegisterSSHKeyPairParams

func (s *SSHService) NewRegisterSSHKeyPairParams(name string, publickey string) *RegisterSSHKeyPairParams

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

func (*SSHService) NewResetSSHKeyForVirtualMachineParams

func (s *SSHService) NewResetSSHKeyForVirtualMachineParams(id string, keypair string) *ResetSSHKeyForVirtualMachineParams

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

func (*SSHService) RegisterSSHKeyPair

Register a public key in a keypair under a certain name

func (*SSHService) ResetSSHKeyForVirtualMachine

Resets the SSH Key for virtual machine. The virtual machine must be in a "Stopped" state. [async]

type ScaleSystemVmParams

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

func (*ScaleSystemVmParams) SetDetails

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

func (*ScaleSystemVmParams) SetId

func (p *ScaleSystemVmParams) SetId(v string)

func (*ScaleSystemVmParams) SetServiceofferingid

func (p *ScaleSystemVmParams) SetServiceofferingid(v string)

type ScaleSystemVmResponse

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

type ScaleVirtualMachineParams

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

func (*ScaleVirtualMachineParams) SetDetails

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

func (*ScaleVirtualMachineParams) SetId

func (p *ScaleVirtualMachineParams) SetId(v string)

func (*ScaleVirtualMachineParams) SetServiceofferingid

func (p *ScaleVirtualMachineParams) SetServiceofferingid(v string)

type ScaleVirtualMachineResponse

type ScaleVirtualMachineResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type SecondaryStagingStore

type SecondaryStagingStore struct {
	Details      []string `json:"details,omitempty"`
	Id           string   `json:"id,omitempty"`
	Name         string   `json:"name,omitempty"`
	Protocol     string   `json:"protocol,omitempty"`
	Providername string   `json:"providername,omitempty"`
	Scope        string   `json:"scope,omitempty"`
	Url          string   `json:"url,omitempty"`
	Zoneid       string   `json:"zoneid,omitempty"`
	Zonename     string   `json:"zonename,omitempty"`
}

type ServiceOffering

type ServiceOffering struct {
	Cpunumber                 int               `json:"cpunumber,omitempty"`
	Created                   string            `json:"created,omitempty"`
	Defaultuse                bool              `json:"defaultuse,omitempty"`
	Deploymentplanner         string            `json:"deploymentplanner,omitempty"`
	DiskBytesReadRate         int64             `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate        int64             `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb         bool              `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate          int64             `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate         int64             `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate         int64             `json:"diskIopsWriteRate,omitempty"`
	Displaytext               string            `json:"displaytext,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Hosttags                  string            `json:"hosttags,omitempty"`
	Hypervisorsnapshotreserve int               `json:"hypervisorsnapshotreserve,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Iscustomized              bool              `json:"iscustomized,omitempty"`
	Iscustomizediops          bool              `json:"iscustomizediops,omitempty"`
	Issystem                  bool              `json:"issystem,omitempty"`
	Isvolatile                bool              `json:"isvolatile,omitempty"`
	Limitcpuuse               bool              `json:"limitcpuuse,omitempty"`
	Maxiops                   int64             `json:"maxiops,omitempty"`
	Memory                    int               `json:"memory,omitempty"`
	Miniops                   int64             `json:"miniops,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkrate               int               `json:"networkrate,omitempty"`
	Offerha                   bool              `json:"offerha,omitempty"`
	Provisioningtype          string            `json:"provisioningtype,omitempty"`
	Serviceofferingdetails    map[string]string `json:"serviceofferingdetails,omitempty"`
	Storagetype               string            `json:"storagetype,omitempty"`
	Systemvmtype              string            `json:"systemvmtype,omitempty"`
	Tags                      string            `json:"tags,omitempty"`
}

type ServiceOfferingService

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

func NewServiceOfferingService

func NewServiceOfferingService(cs *CosmicClient) *ServiceOfferingService

func (*ServiceOfferingService) CreateServiceOffering

Creates a service offering.

func (*ServiceOfferingService) DeleteServiceOffering

Deletes a service offering.

func (*ServiceOfferingService) GetServiceOfferingByID

func (s *ServiceOfferingService) GetServiceOfferingByID(id string, opts ...OptionFunc) (*ServiceOffering, int, error)

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

func (*ServiceOfferingService) GetServiceOfferingByName

func (s *ServiceOfferingService) GetServiceOfferingByName(name string, opts ...OptionFunc) (*ServiceOffering, int, error)

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

func (*ServiceOfferingService) GetServiceOfferingID

func (s *ServiceOfferingService) GetServiceOfferingID(name string, opts ...OptionFunc) (string, int, error)

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

func (*ServiceOfferingService) ListServiceOfferings

Lists all available service offerings.

func (*ServiceOfferingService) NewCreateServiceOfferingParams

func (s *ServiceOfferingService) NewCreateServiceOfferingParams(displaytext string, name string) *CreateServiceOfferingParams

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

func (*ServiceOfferingService) NewDeleteServiceOfferingParams

func (s *ServiceOfferingService) NewDeleteServiceOfferingParams(id string) *DeleteServiceOfferingParams

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

func (*ServiceOfferingService) NewListServiceOfferingsParams

func (s *ServiceOfferingService) NewListServiceOfferingsParams() *ListServiceOfferingsParams

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

func (*ServiceOfferingService) NewUpdateServiceOfferingParams

func (s *ServiceOfferingService) NewUpdateServiceOfferingParams(id string) *UpdateServiceOfferingParams

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

func (*ServiceOfferingService) UpdateServiceOffering

Updates a service offering.

type Snapshot

type Snapshot struct {
	Account      string `json:"account,omitempty"`
	Created      string `json:"created,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Id           string `json:"id,omitempty"`
	Intervaltype string `json:"intervaltype,omitempty"`
	Name         string `json:"name,omitempty"`
	Physicalsize int64  `json:"physicalsize,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Revertable   bool   `json:"revertable,omitempty"`
	Snapshottype string `json:"snapshottype,omitempty"`
	State        string `json:"state,omitempty"`
	Tags         []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Volumeid   string `json:"volumeid,omitempty"`
	Volumename string `json:"volumename,omitempty"`
	Volumetype string `json:"volumetype,omitempty"`
	Zoneid     string `json:"zoneid,omitempty"`
}

type SnapshotService

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

func NewSnapshotService

func NewSnapshotService(cs *CosmicClient) *SnapshotService

func (*SnapshotService) CreateSnapshot

Creates an instant snapshot of a volume.

func (*SnapshotService) CreateSnapshotFromVMSnapshot

Creates an instant snapshot of a volume from existing vm snapshot.

func (*SnapshotService) CreateVMSnapshot

Creates snapshot for a vm.

func (*SnapshotService) DeleteSnapshot

Deletes a snapshot of a disk volume.

func (*SnapshotService) DeleteVMSnapshot

Deletes a vmsnapshot.

func (*SnapshotService) GetSnapshotByID

func (s *SnapshotService) GetSnapshotByID(id string, opts ...OptionFunc) (*Snapshot, int, error)

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

func (*SnapshotService) GetSnapshotByName

func (s *SnapshotService) GetSnapshotByName(name string, opts ...OptionFunc) (*Snapshot, int, error)

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

func (*SnapshotService) GetSnapshotID

func (s *SnapshotService) GetSnapshotID(name string, opts ...OptionFunc) (string, int, error)

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

func (*SnapshotService) GetVMSnapshotID

func (s *SnapshotService) GetVMSnapshotID(name string, opts ...OptionFunc) (string, int, error)

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

func (*SnapshotService) ListSnapshots

Lists all available snapshots for the account.

func (*SnapshotService) ListVMSnapshot

List virtual machine snapshot by conditions

func (*SnapshotService) NewCreateSnapshotFromVMSnapshotParams

func (s *SnapshotService) NewCreateSnapshotFromVMSnapshotParams(vmsnapshotid string, volumeid string) *CreateSnapshotFromVMSnapshotParams

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

func (*SnapshotService) NewCreateSnapshotParams

func (s *SnapshotService) NewCreateSnapshotParams(volumeid string) *CreateSnapshotParams

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

func (*SnapshotService) NewCreateVMSnapshotParams

func (s *SnapshotService) NewCreateVMSnapshotParams(virtualmachineid string) *CreateVMSnapshotParams

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

func (*SnapshotService) NewDeleteSnapshotParams

func (s *SnapshotService) NewDeleteSnapshotParams(id string) *DeleteSnapshotParams

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

func (*SnapshotService) NewDeleteVMSnapshotParams

func (s *SnapshotService) NewDeleteVMSnapshotParams(vmsnapshotid string) *DeleteVMSnapshotParams

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

func (*SnapshotService) NewListSnapshotsParams

func (s *SnapshotService) NewListSnapshotsParams() *ListSnapshotsParams

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

func (*SnapshotService) NewListVMSnapshotParams

func (s *SnapshotService) NewListVMSnapshotParams() *ListVMSnapshotParams

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

func (*SnapshotService) NewRevertSnapshotParams

func (s *SnapshotService) NewRevertSnapshotParams(id string) *RevertSnapshotParams

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

func (*SnapshotService) NewRevertToVMSnapshotParams

func (s *SnapshotService) NewRevertToVMSnapshotParams(vmsnapshotid string) *RevertToVMSnapshotParams

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

func (*SnapshotService) RevertSnapshot

revert a volume snapshot.

func (*SnapshotService) RevertToVMSnapshot

Revert VM from a vmsnapshot.

type SslCert

type SslCert struct {
	Account              string   `json:"account,omitempty"`
	Certchain            string   `json:"certchain,omitempty"`
	Certificate          string   `json:"certificate,omitempty"`
	Domain               string   `json:"domain,omitempty"`
	Domainid             string   `json:"domainid,omitempty"`
	Fingerprint          string   `json:"fingerprint,omitempty"`
	Id                   string   `json:"id,omitempty"`
	Loadbalancerrulelist []string `json:"loadbalancerrulelist,omitempty"`
	Project              string   `json:"project,omitempty"`
	Projectid            string   `json:"projectid,omitempty"`
}

type StartRouterParams

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

func (*StartRouterParams) SetId

func (p *StartRouterParams) SetId(v string)

type StartRouterResponse

type StartRouterResponse struct {
	JobID               string `json:"jobid,omitempty"`
	Account             string `json:"account,omitempty"`
	Created             string `json:"created,omitempty"`
	Dns1                string `json:"dns1,omitempty"`
	Dns2                string `json:"dns2,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Gateway             string `json:"gateway,omitempty"`
	Guestipaddress      string `json:"guestipaddress,omitempty"`
	Guestmacaddress     string `json:"guestmacaddress,omitempty"`
	Guestnetmask        string `json:"guestnetmask,omitempty"`
	Guestnetworkid      string `json:"guestnetworkid,omitempty"`
	Guestnetworkname    string `json:"guestnetworkname,omitempty"`
	Hostid              string `json:"hostid,omitempty"`
	Hostname            string `json:"hostname,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Id                  string `json:"id,omitempty"`
	Ip6dns1             string `json:"ip6dns1,omitempty"`
	Ip6dns2             string `json:"ip6dns2,omitempty"`
	Isredundantrouter   bool   `json:"isredundantrouter,omitempty"`
	Laststartdate       string `json:"laststartdate,omitempty"`
	Laststartversion    string `json:"laststartversion,omitempty"`
	Linklocalip         string `json:"linklocalip,omitempty"`
	Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask    string `json:"linklocalnetmask,omitempty"`
	Linklocalnetworkid  string `json:"linklocalnetworkid,omitempty"`
	Name                string `json:"name,omitempty"`
	Networkdomain       string `json:"networkdomain,omitempty"`
	Nic                 []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Project             string `json:"project,omitempty"`
	Projectid           string `json:"projectid,omitempty"`
	Publicip            string `json:"publicip,omitempty"`
	Publicmacaddress    string `json:"publicmacaddress,omitempty"`
	Publicnetmask       string `json:"publicnetmask,omitempty"`
	Publicnetworkid     string `json:"publicnetworkid,omitempty"`
	Redundantstate      string `json:"redundantstate,omitempty"`
	Requiresupgrade     bool   `json:"requiresupgrade,omitempty"`
	Role                string `json:"role,omitempty"`
	Routerunicastid     int64  `json:"routerunicastid,omitempty"`
	Scriptsversion      string `json:"scriptsversion,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Version             string `json:"version,omitempty"`
	Vpcid               string `json:"vpcid,omitempty"`
	Vpcname             string `json:"vpcname,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type StartSystemVmParams

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

func (*StartSystemVmParams) SetId

func (p *StartSystemVmParams) SetId(v string)

type StartSystemVmResponse

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

type StartVirtualMachineParams

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

func (*StartVirtualMachineParams) SetDeploymentplanner

func (p *StartVirtualMachineParams) SetDeploymentplanner(v string)

func (*StartVirtualMachineParams) SetHostid

func (p *StartVirtualMachineParams) SetHostid(v string)

func (*StartVirtualMachineParams) SetId

func (p *StartVirtualMachineParams) SetId(v string)

type StartVirtualMachineResponse

type StartVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type StaticRoute

type StaticRoute struct {
	Account   string `json:"account,omitempty"`
	Cidr      string `json:"cidr,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Nexthop   string `json:"nexthop,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
	State     string `json:"state,omitempty"`
	Tags      []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Vpcid string `json:"vpcid,omitempty"`
}

type StopRouterParams

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

func (*StopRouterParams) SetForced

func (p *StopRouterParams) SetForced(v bool)

func (*StopRouterParams) SetId

func (p *StopRouterParams) SetId(v string)

type StopRouterResponse

type StopRouterResponse struct {
	JobID               string `json:"jobid,omitempty"`
	Account             string `json:"account,omitempty"`
	Created             string `json:"created,omitempty"`
	Dns1                string `json:"dns1,omitempty"`
	Dns2                string `json:"dns2,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Gateway             string `json:"gateway,omitempty"`
	Guestipaddress      string `json:"guestipaddress,omitempty"`
	Guestmacaddress     string `json:"guestmacaddress,omitempty"`
	Guestnetmask        string `json:"guestnetmask,omitempty"`
	Guestnetworkid      string `json:"guestnetworkid,omitempty"`
	Guestnetworkname    string `json:"guestnetworkname,omitempty"`
	Hostid              string `json:"hostid,omitempty"`
	Hostname            string `json:"hostname,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Id                  string `json:"id,omitempty"`
	Ip6dns1             string `json:"ip6dns1,omitempty"`
	Ip6dns2             string `json:"ip6dns2,omitempty"`
	Isredundantrouter   bool   `json:"isredundantrouter,omitempty"`
	Laststartdate       string `json:"laststartdate,omitempty"`
	Laststartversion    string `json:"laststartversion,omitempty"`
	Linklocalip         string `json:"linklocalip,omitempty"`
	Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"`
	Linklocalnetmask    string `json:"linklocalnetmask,omitempty"`
	Linklocalnetworkid  string `json:"linklocalnetworkid,omitempty"`
	Name                string `json:"name,omitempty"`
	Networkdomain       string `json:"networkdomain,omitempty"`
	Nic                 []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Podid               string `json:"podid,omitempty"`
	Project             string `json:"project,omitempty"`
	Projectid           string `json:"projectid,omitempty"`
	Publicip            string `json:"publicip,omitempty"`
	Publicmacaddress    string `json:"publicmacaddress,omitempty"`
	Publicnetmask       string `json:"publicnetmask,omitempty"`
	Publicnetworkid     string `json:"publicnetworkid,omitempty"`
	Redundantstate      string `json:"redundantstate,omitempty"`
	Requiresupgrade     bool   `json:"requiresupgrade,omitempty"`
	Role                string `json:"role,omitempty"`
	Routerunicastid     int64  `json:"routerunicastid,omitempty"`
	Scriptsversion      string `json:"scriptsversion,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Version             string `json:"version,omitempty"`
	Vpcid               string `json:"vpcid,omitempty"`
	Vpcname             string `json:"vpcname,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type StopSystemVmParams

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

func (*StopSystemVmParams) SetForced

func (p *StopSystemVmParams) SetForced(v bool)

func (*StopSystemVmParams) SetId

func (p *StopSystemVmParams) SetId(v string)

type StopSystemVmResponse

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

type StopVirtualMachineParams

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

func (*StopVirtualMachineParams) SetForced

func (p *StopVirtualMachineParams) SetForced(v bool)

func (*StopVirtualMachineParams) SetId

func (p *StopVirtualMachineParams) SetId(v string)

type StopVirtualMachineResponse

type StopVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type StorageNetworkIpRange

type StorageNetworkIpRange struct {
	Endip     string `json:"endip,omitempty"`
	Gateway   string `json:"gateway,omitempty"`
	Id        string `json:"id,omitempty"`
	Netmask   string `json:"netmask,omitempty"`
	Networkid string `json:"networkid,omitempty"`
	Podid     string `json:"podid,omitempty"`
	Startip   string `json:"startip,omitempty"`
	Vlan      int    `json:"vlan,omitempty"`
	Zoneid    string `json:"zoneid,omitempty"`
}

type StoragePool

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

type StoragePoolService

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

func NewStoragePoolService

func NewStoragePoolService(cs *CosmicClient) *StoragePoolService

func (*StoragePoolService) CancelStorageMaintenance

Cancels maintenance for primary storage

func (*StoragePoolService) CreateStoragePool

Creates a storage pool.

func (*StoragePoolService) DeleteStoragePool

Deletes a storage pool.

func (*StoragePoolService) EnableStorageMaintenance

Puts storage pool into maintenance state

func (*StoragePoolService) FindStoragePoolsForMigration

Lists storage pools available for migration of a volume.

func (*StoragePoolService) GetStoragePoolByID

func (s *StoragePoolService) GetStoragePoolByID(id string, opts ...OptionFunc) (*StoragePool, int, error)

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

func (*StoragePoolService) GetStoragePoolByName

func (s *StoragePoolService) GetStoragePoolByName(name string, opts ...OptionFunc) (*StoragePool, int, error)

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

func (*StoragePoolService) GetStoragePoolID

func (s *StoragePoolService) GetStoragePoolID(name string, opts ...OptionFunc) (string, int, error)

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

func (*StoragePoolService) ListStoragePools

Lists storage pools.

func (*StoragePoolService) ListStorageProviders

Lists storage providers.

func (*StoragePoolService) NewCancelStorageMaintenanceParams

func (s *StoragePoolService) NewCancelStorageMaintenanceParams(id string) *CancelStorageMaintenanceParams

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

func (*StoragePoolService) NewCreateStoragePoolParams

func (s *StoragePoolService) NewCreateStoragePoolParams(name string, url string, zoneid string) *CreateStoragePoolParams

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

func (*StoragePoolService) NewDeleteStoragePoolParams

func (s *StoragePoolService) NewDeleteStoragePoolParams(id string) *DeleteStoragePoolParams

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

func (*StoragePoolService) NewEnableStorageMaintenanceParams

func (s *StoragePoolService) NewEnableStorageMaintenanceParams(id string) *EnableStorageMaintenanceParams

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

func (*StoragePoolService) NewFindStoragePoolsForMigrationParams

func (s *StoragePoolService) NewFindStoragePoolsForMigrationParams(id string) *FindStoragePoolsForMigrationParams

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

func (*StoragePoolService) NewListStoragePoolsParams

func (s *StoragePoolService) NewListStoragePoolsParams() *ListStoragePoolsParams

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

func (*StoragePoolService) NewListStorageProvidersParams

func (s *StoragePoolService) NewListStorageProvidersParams(storagePoolType string) *ListStorageProvidersParams

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

func (*StoragePoolService) NewUpdateStoragePoolParams

func (s *StoragePoolService) NewUpdateStoragePoolParams(id string) *UpdateStoragePoolParams

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

func (*StoragePoolService) UpdateStoragePool

Updates a storage pool.

type StorageProvider

type StorageProvider struct {
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type StorageTag

type StorageTag struct {
	Id     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
	Poolid int64  `json:"poolid,omitempty"`
}

type SupportedNetworkService

type SupportedNetworkService struct {
	Capability []struct {
		Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
		Name                       string `json:"name,omitempty"`
		Value                      string `json:"value,omitempty"`
	} `json:"capability,omitempty"`
	Name     string `json:"name,omitempty"`
	Provider []struct {
		Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
		Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
		Id                           string   `json:"id,omitempty"`
		Name                         string   `json:"name,omitempty"`
		Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
		Servicelist                  []string `json:"servicelist,omitempty"`
		State                        string   `json:"state,omitempty"`
	} `json:"provider,omitempty"`
}

type SuspendProjectParams

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

func (*SuspendProjectParams) SetId

func (p *SuspendProjectParams) SetId(v string)

type SuspendProjectResponse

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

type SystemService

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

func NewSystemService

func NewSystemService(cs *CosmicClient) *SystemService

func (*SystemService) GetCloudIdentifier

Retrieves a cloud identifier.

func (*SystemService) ListApis

func (s *SystemService) ListApis(p *ListApisParams) (*ListApisResponse, error)

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

func (*SystemService) ListCapacity

Lists all the system wide capacities.

func (*SystemService) NewGetCloudIdentifierParams

func (s *SystemService) 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

func (*SystemService) NewListApisParams

func (s *SystemService) 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

func (*SystemService) NewListCapacityParams

func (s *SystemService) NewListCapacityParams() *ListCapacityParams

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

type SystemVMService

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

func NewSystemVMService

func NewSystemVMService(cs *CosmicClient) *SystemVMService

func (*SystemVMService) ChangeServiceForSystemVm

Changes the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.

func (*SystemVMService) DestroySystemVm

Destroyes a system virtual machine.

func (*SystemVMService) GetSystemVmByID

func (s *SystemVMService) GetSystemVmByID(id string, opts ...OptionFunc) (*SystemVm, int, error)

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

func (*SystemVMService) GetSystemVmByName

func (s *SystemVMService) GetSystemVmByName(name string, opts ...OptionFunc) (*SystemVm, int, error)

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

func (*SystemVMService) GetSystemVmID

func (s *SystemVMService) GetSystemVmID(name string, opts ...OptionFunc) (string, int, error)

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

func (*SystemVMService) ListSystemVms

List system virtual machines.

func (*SystemVMService) MigrateSystemVm

Attempts Migration of a system virtual machine to the host specified.

func (*SystemVMService) NewChangeServiceForSystemVmParams

func (s *SystemVMService) NewChangeServiceForSystemVmParams(id string, serviceofferingid string) *ChangeServiceForSystemVmParams

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

func (*SystemVMService) NewDestroySystemVmParams

func (s *SystemVMService) NewDestroySystemVmParams(id string) *DestroySystemVmParams

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

func (*SystemVMService) NewListSystemVmsParams

func (s *SystemVMService) NewListSystemVmsParams() *ListSystemVmsParams

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

func (*SystemVMService) NewMigrateSystemVmParams

func (s *SystemVMService) NewMigrateSystemVmParams(hostid string, virtualmachineid string) *MigrateSystemVmParams

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

func (*SystemVMService) NewRebootSystemVmParams

func (s *SystemVMService) NewRebootSystemVmParams(id string) *RebootSystemVmParams

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

func (*SystemVMService) NewScaleSystemVmParams

func (s *SystemVMService) NewScaleSystemVmParams(id string, serviceofferingid string) *ScaleSystemVmParams

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

func (*SystemVMService) NewStartSystemVmParams

func (s *SystemVMService) NewStartSystemVmParams(id string) *StartSystemVmParams

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

func (*SystemVMService) NewStopSystemVmParams

func (s *SystemVMService) NewStopSystemVmParams(id string) *StopSystemVmParams

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

func (*SystemVMService) RebootSystemVm

Reboots a system VM.

func (*SystemVMService) ScaleSystemVm

Scale the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.

func (*SystemVMService) StartSystemVm

Starts a system virtual machine.

func (*SystemVMService) StopSystemVm

Stops a system VM.

type SystemVm

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

type Tag

type Tag struct {
	Account      string `json:"account,omitempty"`
	Customer     string `json:"customer,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Key          string `json:"key,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Resourceid   string `json:"resourceid,omitempty"`
	Resourcetype string `json:"resourcetype,omitempty"`
	Value        string `json:"value,omitempty"`
}

type Template

type Template struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type TemplatePermission

type TemplatePermission struct {
	Account    []string `json:"account,omitempty"`
	Domainid   string   `json:"domainid,omitempty"`
	Id         string   `json:"id,omitempty"`
	Ispublic   bool     `json:"ispublic,omitempty"`
	Projectids []string `json:"projectids,omitempty"`
}

type TemplateService

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

func NewTemplateService

func NewTemplateService(cs *CosmicClient) *TemplateService

func (*TemplateService) CopyTemplate

Copies a template from one zone to another.

func (*TemplateService) CreateTemplate

Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.

func (*TemplateService) DeleteTemplate

Deletes a template from the system. All virtual machines using the deleted template will not be affected.

func (*TemplateService) ExtractTemplate

Extracts a template

func (*TemplateService) GetTemplateByID

func (s *TemplateService) GetTemplateByID(id string, templatefilter string, opts ...OptionFunc) (*Template, int, error)

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

func (*TemplateService) GetTemplateByName

func (s *TemplateService) GetTemplateByName(name string, templatefilter string, zoneid string, opts ...OptionFunc) (*Template, int, error)

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

func (*TemplateService) GetTemplateID

func (s *TemplateService) GetTemplateID(name string, templatefilter string, zoneid string, opts ...OptionFunc) (string, int, error)

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

func (*TemplateService) GetTemplatePermissionByID

func (s *TemplateService) GetTemplatePermissionByID(id string, opts ...OptionFunc) (*TemplatePermission, int, error)

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

func (*TemplateService) GetUploadParamsForTemplate

upload an existing template into the CloudStack cloud.

func (*TemplateService) ListTemplatePermissions

List template visibility and all accounts that have permissions to view this template.

func (*TemplateService) ListTemplates

List all public, private, and privileged templates.

func (*TemplateService) NewCopyTemplateParams

func (s *TemplateService) NewCopyTemplateParams(destzoneid string, id string) *CopyTemplateParams

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

func (*TemplateService) NewCreateTemplateParams

func (s *TemplateService) NewCreateTemplateParams(displaytext string, name string) *CreateTemplateParams

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

func (*TemplateService) NewDeleteTemplateParams

func (s *TemplateService) NewDeleteTemplateParams(id string) *DeleteTemplateParams

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

func (*TemplateService) NewExtractTemplateParams

func (s *TemplateService) NewExtractTemplateParams(id string, mode string) *ExtractTemplateParams

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

func (*TemplateService) NewGetUploadParamsForTemplateParams

func (s *TemplateService) NewGetUploadParamsForTemplateParams(displaytext string, format string, hypervisor string, name string, ostypeid string, zoneid string) *GetUploadParamsForTemplateParams

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

func (*TemplateService) NewListTemplatePermissionsParams

func (s *TemplateService) NewListTemplatePermissionsParams(id string) *ListTemplatePermissionsParams

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

func (*TemplateService) NewListTemplatesParams

func (s *TemplateService) NewListTemplatesParams(templatefilter string) *ListTemplatesParams

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

func (*TemplateService) NewPrepareTemplateParams

func (s *TemplateService) NewPrepareTemplateParams(templateid string, zoneid string) *PrepareTemplateParams

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

func (*TemplateService) NewRegisterTemplateParams

func (s *TemplateService) NewRegisterTemplateParams(displaytext string, format string, hypervisor string, name string, ostypeid string, url string, zoneid string) *RegisterTemplateParams

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

func (*TemplateService) NewUpdateTemplateParams

func (s *TemplateService) NewUpdateTemplateParams(id string) *UpdateTemplateParams

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

func (*TemplateService) NewUpdateTemplatePermissionsParams

func (s *TemplateService) NewUpdateTemplatePermissionsParams(id string) *UpdateTemplatePermissionsParams

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

func (*TemplateService) NewUpgradeRouterTemplateParams

func (s *TemplateService) NewUpgradeRouterTemplateParams() *UpgradeRouterTemplateParams

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

func (*TemplateService) PrepareTemplate

load template into primary storage

func (*TemplateService) RegisterTemplate

Registers an existing template into the CloudStack cloud.

func (*TemplateService) UpdateTemplate

Updates attributes of a template.

func (*TemplateService) UpdateTemplatePermissions

Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A priviledged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.

func (*TemplateService) UpgradeRouterTemplate

Upgrades router to use newer template

type TrafficType

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

type UpdateAccountParams

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

func (*UpdateAccountParams) SetAccount

func (p *UpdateAccountParams) SetAccount(v string)

func (*UpdateAccountParams) SetAccountdetails

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

func (*UpdateAccountParams) SetDomainid

func (p *UpdateAccountParams) SetDomainid(v string)

func (*UpdateAccountParams) SetId

func (p *UpdateAccountParams) SetId(v string)

func (*UpdateAccountParams) SetNetworkdomain

func (p *UpdateAccountParams) SetNetworkdomain(v string)

func (*UpdateAccountParams) SetNewname

func (p *UpdateAccountParams) SetNewname(v string)

type UpdateAccountResponse

type UpdateAccountResponse struct {
	Accountdetails            map[string]string `json:"accountdetails,omitempty"`
	Accounttype               int               `json:"accounttype,omitempty"`
	Cpuavailable              string            `json:"cpuavailable,omitempty"`
	Cpulimit                  string            `json:"cpulimit,omitempty"`
	Cputotal                  int64             `json:"cputotal,omitempty"`
	Defaultzoneid             string            `json:"defaultzoneid,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Ipavailable               string            `json:"ipavailable,omitempty"`
	Iplimit                   string            `json:"iplimit,omitempty"`
	Iptotal                   int64             `json:"iptotal,omitempty"`
	Iscleanuprequired         bool              `json:"iscleanuprequired,omitempty"`
	Isdefault                 bool              `json:"isdefault,omitempty"`
	Memoryavailable           string            `json:"memoryavailable,omitempty"`
	Memorylimit               string            `json:"memorylimit,omitempty"`
	Memorytotal               int64             `json:"memorytotal,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkavailable          string            `json:"networkavailable,omitempty"`
	Networkdomain             string            `json:"networkdomain,omitempty"`
	Networklimit              string            `json:"networklimit,omitempty"`
	Networktotal              int64             `json:"networktotal,omitempty"`
	Primarystorageavailable   string            `json:"primarystorageavailable,omitempty"`
	Primarystoragelimit       string            `json:"primarystoragelimit,omitempty"`
	Primarystoragetotal       int64             `json:"primarystoragetotal,omitempty"`
	Projectavailable          string            `json:"projectavailable,omitempty"`
	Projectlimit              string            `json:"projectlimit,omitempty"`
	Projecttotal              int64             `json:"projecttotal,omitempty"`
	Receivedbytes             int64             `json:"receivedbytes,omitempty"`
	Secondarystorageavailable string            `json:"secondarystorageavailable,omitempty"`
	Secondarystoragelimit     string            `json:"secondarystoragelimit,omitempty"`
	Secondarystoragetotal     int64             `json:"secondarystoragetotal,omitempty"`
	Sentbytes                 int64             `json:"sentbytes,omitempty"`
	Snapshotavailable         string            `json:"snapshotavailable,omitempty"`
	Snapshotlimit             string            `json:"snapshotlimit,omitempty"`
	Snapshottotal             int64             `json:"snapshottotal,omitempty"`
	State                     string            `json:"state,omitempty"`
	Templateavailable         string            `json:"templateavailable,omitempty"`
	Templatelimit             string            `json:"templatelimit,omitempty"`
	Templatetotal             int64             `json:"templatetotal,omitempty"`
	User                      []struct {
		Account             string `json:"account,omitempty"`
		Accountid           string `json:"accountid,omitempty"`
		Accounttype         int    `json:"accounttype,omitempty"`
		Apikey              string `json:"apikey,omitempty"`
		Created             string `json:"created,omitempty"`
		Domain              string `json:"domain,omitempty"`
		Domainid            string `json:"domainid,omitempty"`
		Email               string `json:"email,omitempty"`
		Firstname           string `json:"firstname,omitempty"`
		Id                  string `json:"id,omitempty"`
		Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
		Isdefault           bool   `json:"isdefault,omitempty"`
		Lastname            string `json:"lastname,omitempty"`
		Secretkey           string `json:"secretkey,omitempty"`
		State               string `json:"state,omitempty"`
		Timezone            string `json:"timezone,omitempty"`
		Username            string `json:"username,omitempty"`
	} `json:"user,omitempty"`
	Vmavailable     string `json:"vmavailable,omitempty"`
	Vmlimit         string `json:"vmlimit,omitempty"`
	Vmrunning       int    `json:"vmrunning,omitempty"`
	Vmstopped       int    `json:"vmstopped,omitempty"`
	Vmtotal         int64  `json:"vmtotal,omitempty"`
	Volumeavailable string `json:"volumeavailable,omitempty"`
	Volumelimit     string `json:"volumelimit,omitempty"`
	Volumetotal     int64  `json:"volumetotal,omitempty"`
	Vpcavailable    string `json:"vpcavailable,omitempty"`
	Vpclimit        string `json:"vpclimit,omitempty"`
	Vpctotal        int64  `json:"vpctotal,omitempty"`
}

type UpdateClusterParams

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

func (*UpdateClusterParams) SetAllocationstate

func (p *UpdateClusterParams) SetAllocationstate(v string)

func (*UpdateClusterParams) SetClustername

func (p *UpdateClusterParams) SetClustername(v string)

func (*UpdateClusterParams) SetClustertype

func (p *UpdateClusterParams) SetClustertype(v string)

func (*UpdateClusterParams) SetHypervisor

func (p *UpdateClusterParams) SetHypervisor(v string)

func (*UpdateClusterParams) SetId

func (p *UpdateClusterParams) SetId(v string)

func (*UpdateClusterParams) SetManagedstate

func (p *UpdateClusterParams) SetManagedstate(v string)

type UpdateClusterResponse

type UpdateClusterResponse struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Clustertype           string `json:"clustertype,omitempty"`
	Cpuovercommitratio    string `json:"cpuovercommitratio,omitempty"`
	Hypervisortype        string `json:"hypervisortype,omitempty"`
	Id                    string `json:"id,omitempty"`
	Managedstate          string `json:"managedstate,omitempty"`
	Memoryovercommitratio string `json:"memoryovercommitratio,omitempty"`
	Name                  string `json:"name,omitempty"`
	Podid                 string `json:"podid,omitempty"`
	Podname               string `json:"podname,omitempty"`
	Zoneid                string `json:"zoneid,omitempty"`
	Zonename              string `json:"zonename,omitempty"`
}

type UpdateConfigurationParams

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

func (*UpdateConfigurationParams) SetAccountid

func (p *UpdateConfigurationParams) SetAccountid(v string)

func (*UpdateConfigurationParams) SetClusterid

func (p *UpdateConfigurationParams) SetClusterid(v string)

func (*UpdateConfigurationParams) SetName

func (p *UpdateConfigurationParams) SetName(v string)

func (*UpdateConfigurationParams) SetStorageid

func (p *UpdateConfigurationParams) SetStorageid(v string)

func (*UpdateConfigurationParams) SetValue

func (p *UpdateConfigurationParams) SetValue(v string)

func (*UpdateConfigurationParams) SetZoneid

func (p *UpdateConfigurationParams) SetZoneid(v string)

type UpdateConfigurationResponse

type UpdateConfigurationResponse struct {
	Category    string `json:"category,omitempty"`
	Description string `json:"description,omitempty"`
	Id          int64  `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Scope       string `json:"scope,omitempty"`
	Value       string `json:"value,omitempty"`
}

type UpdateDefaultNicForVirtualMachineParams

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

func (*UpdateDefaultNicForVirtualMachineParams) SetNicid

func (*UpdateDefaultNicForVirtualMachineParams) SetVirtualmachineid

func (p *UpdateDefaultNicForVirtualMachineParams) SetVirtualmachineid(v string)

type UpdateDefaultNicForVirtualMachineResponse

type UpdateDefaultNicForVirtualMachineResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type UpdateDiskOfferingParams

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

func (*UpdateDiskOfferingParams) SetDisplayoffering

func (p *UpdateDiskOfferingParams) SetDisplayoffering(v bool)

func (*UpdateDiskOfferingParams) SetDisplaytext

func (p *UpdateDiskOfferingParams) SetDisplaytext(v string)

func (*UpdateDiskOfferingParams) SetId

func (p *UpdateDiskOfferingParams) SetId(v string)

func (*UpdateDiskOfferingParams) SetName

func (p *UpdateDiskOfferingParams) SetName(v string)

func (*UpdateDiskOfferingParams) SetSortkey

func (p *UpdateDiskOfferingParams) SetSortkey(v int)

type UpdateDiskOfferingResponse

type UpdateDiskOfferingResponse struct {
	CacheMode                 string `json:"cacheMode,omitempty"`
	Created                   string `json:"created,omitempty"`
	DiskBytesReadRate         int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate        int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb         bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate          int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate         int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate         int64  `json:"diskIopsWriteRate,omitempty"`
	Disksize                  int64  `json:"disksize,omitempty"`
	Displayoffering           bool   `json:"displayoffering,omitempty"`
	Displaytext               string `json:"displaytext,omitempty"`
	Domain                    string `json:"domain,omitempty"`
	Domainid                  string `json:"domainid,omitempty"`
	Hypervisorsnapshotreserve int    `json:"hypervisorsnapshotreserve,omitempty"`
	Id                        string `json:"id,omitempty"`
	Iscustomized              bool   `json:"iscustomized,omitempty"`
	Iscustomizediops          bool   `json:"iscustomizediops,omitempty"`
	Maxiops                   int64  `json:"maxiops,omitempty"`
	Miniops                   int64  `json:"miniops,omitempty"`
	Name                      string `json:"name,omitempty"`
	Provisioningtype          string `json:"provisioningtype,omitempty"`
	Storagetype               string `json:"storagetype,omitempty"`
	Tags                      string `json:"tags,omitempty"`
}

type UpdateDomainParams

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

func (*UpdateDomainParams) SetEmail

func (p *UpdateDomainParams) SetEmail(v string)

func (*UpdateDomainParams) SetId

func (p *UpdateDomainParams) SetId(v string)

func (*UpdateDomainParams) SetName

func (p *UpdateDomainParams) SetName(v string)

func (*UpdateDomainParams) SetNetworkdomain

func (p *UpdateDomainParams) SetNetworkdomain(v string)

type UpdateDomainResponse

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

type UpdateEgressFirewallRuleParams

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

func (*UpdateEgressFirewallRuleParams) SetCustomid

func (p *UpdateEgressFirewallRuleParams) SetCustomid(v string)

func (*UpdateEgressFirewallRuleParams) SetFordisplay

func (p *UpdateEgressFirewallRuleParams) SetFordisplay(v bool)

func (*UpdateEgressFirewallRuleParams) SetId

type UpdateEgressFirewallRuleResponse

type UpdateEgressFirewallRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Cidrlist    string `json:"cidrlist,omitempty"`
	Endport     int    `json:"endport,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Icmpcode    int    `json:"icmpcode,omitempty"`
	Icmptype    int    `json:"icmptype,omitempty"`
	Id          string `json:"id,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipaddressid string `json:"ipaddressid,omitempty"`
	Networkid   string `json:"networkid,omitempty"`
	Protocol    string `json:"protocol,omitempty"`
	Startport   int    `json:"startport,omitempty"`
	State       string `json:"state,omitempty"`
	Tags        []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

type UpdateFirewallRuleParams

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

func (*UpdateFirewallRuleParams) SetCustomid

func (p *UpdateFirewallRuleParams) SetCustomid(v string)

func (*UpdateFirewallRuleParams) SetFordisplay

func (p *UpdateFirewallRuleParams) SetFordisplay(v bool)

func (*UpdateFirewallRuleParams) SetId

func (p *UpdateFirewallRuleParams) SetId(v string)

type UpdateFirewallRuleResponse

type UpdateFirewallRuleResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Cidrlist    string `json:"cidrlist,omitempty"`
	Endport     int    `json:"endport,omitempty"`
	Fordisplay  bool   `json:"fordisplay,omitempty"`
	Icmpcode    int    `json:"icmpcode,omitempty"`
	Icmptype    int    `json:"icmptype,omitempty"`
	Id          string `json:"id,omitempty"`
	Ipaddress   string `json:"ipaddress,omitempty"`
	Ipaddressid string `json:"ipaddressid,omitempty"`
	Networkid   string `json:"networkid,omitempty"`
	Protocol    string `json:"protocol,omitempty"`
	Startport   int    `json:"startport,omitempty"`
	State       string `json:"state,omitempty"`
	Tags        []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

type UpdateGuestOsMappingParams

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

func (*UpdateGuestOsMappingParams) SetId

func (p *UpdateGuestOsMappingParams) SetId(v string)

func (*UpdateGuestOsMappingParams) SetOsnameforhypervisor

func (p *UpdateGuestOsMappingParams) SetOsnameforhypervisor(v string)

type UpdateGuestOsMappingResponse

type UpdateGuestOsMappingResponse struct {
	JobID               string `json:"jobid,omitempty"`
	Hypervisor          string `json:"hypervisor,omitempty"`
	Hypervisorversion   string `json:"hypervisorversion,omitempty"`
	Id                  string `json:"id,omitempty"`
	Isuserdefined       string `json:"isuserdefined,omitempty"`
	Osdisplayname       string `json:"osdisplayname,omitempty"`
	Osnameforhypervisor string `json:"osnameforhypervisor,omitempty"`
	Ostypeid            string `json:"ostypeid,omitempty"`
}

type UpdateGuestOsParams

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

func (*UpdateGuestOsParams) SetId

func (p *UpdateGuestOsParams) SetId(v string)

func (*UpdateGuestOsParams) SetOsdisplayname

func (p *UpdateGuestOsParams) SetOsdisplayname(v string)

type UpdateGuestOsResponse

type UpdateGuestOsResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Description   string `json:"description,omitempty"`
	Id            string `json:"id,omitempty"`
	Isuserdefined string `json:"isuserdefined,omitempty"`
	Oscategoryid  string `json:"oscategoryid,omitempty"`
}

type UpdateHostParams

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

func (*UpdateHostParams) SetAllocationstate

func (p *UpdateHostParams) SetAllocationstate(v string)

func (*UpdateHostParams) SetHosttags

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

func (*UpdateHostParams) SetId

func (p *UpdateHostParams) SetId(v string)

func (*UpdateHostParams) SetOscategoryid

func (p *UpdateHostParams) SetOscategoryid(v string)

func (*UpdateHostParams) SetUrl

func (p *UpdateHostParams) SetUrl(v string)

type UpdateHostPasswordParams

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

func (*UpdateHostPasswordParams) SetClusterid

func (p *UpdateHostPasswordParams) SetClusterid(v string)

func (*UpdateHostPasswordParams) SetHostid

func (p *UpdateHostPasswordParams) SetHostid(v string)

func (*UpdateHostPasswordParams) SetPassword

func (p *UpdateHostPasswordParams) SetPassword(v string)

func (*UpdateHostPasswordParams) SetUpdate_passwd_on_host

func (p *UpdateHostPasswordParams) SetUpdate_passwd_on_host(v bool)

func (*UpdateHostPasswordParams) SetUsername

func (p *UpdateHostPasswordParams) SetUsername(v string)

type UpdateHostPasswordResponse

type UpdateHostPasswordResponse struct {
	Displaytext string `json:"displaytext,omitempty"`
	Success     string `json:"success,omitempty"`
}

type UpdateHostResponse

type UpdateHostResponse struct {
	Accountid               string            `json:"accountid,omitempty"`
	Accountname             string            `json:"accountname,omitempty"`
	Affinitygroupid         string            `json:"affinitygroupid,omitempty"`
	Affinitygroupname       string            `json:"affinitygroupname,omitempty"`
	Averageload             int64             `json:"averageload,omitempty"`
	Capabilities            string            `json:"capabilities,omitempty"`
	Clusterid               string            `json:"clusterid,omitempty"`
	Clustername             string            `json:"clustername,omitempty"`
	Clustertype             string            `json:"clustertype,omitempty"`
	Cpuallocated            string            `json:"cpuallocated,omitempty"`
	Cpunumber               int               `json:"cpunumber,omitempty"`
	Cpusockets              int               `json:"cpusockets,omitempty"`
	Cpuused                 string            `json:"cpuused,omitempty"`
	Cpuwithoverprovisioning string            `json:"cpuwithoverprovisioning,omitempty"`
	Created                 string            `json:"created,omitempty"`
	Dedicated               bool              `json:"dedicated,omitempty"`
	Details                 map[string]string `json:"details,omitempty"`
	Disconnected            string            `json:"disconnected,omitempty"`
	Disksizeallocated       int64             `json:"disksizeallocated,omitempty"`
	Disksizetotal           int64             `json:"disksizetotal,omitempty"`
	Domainid                string            `json:"domainid,omitempty"`
	Domainname              string            `json:"domainname,omitempty"`
	Events                  string            `json:"events,omitempty"`
	Gpugroup                []struct {
		Gpugroupname string `json:"gpugroupname,omitempty"`
		Vgpu         []struct {
			Maxcapacity       int64  `json:"maxcapacity,omitempty"`
			Maxheads          int64  `json:"maxheads,omitempty"`
			Maxresolutionx    int64  `json:"maxresolutionx,omitempty"`
			Maxresolutiony    int64  `json:"maxresolutiony,omitempty"`
			Maxvgpuperpgpu    int64  `json:"maxvgpuperpgpu,omitempty"`
			Remainingcapacity int64  `json:"remainingcapacity,omitempty"`
			Vgputype          string `json:"vgputype,omitempty"`
			Videoram          int64  `json:"videoram,omitempty"`
		} `json:"vgpu,omitempty"`
	} `json:"gpugroup,omitempty"`
	Hahost               bool   `json:"hahost,omitempty"`
	Hasenoughcapacity    bool   `json:"hasenoughcapacity,omitempty"`
	Hosttags             string `json:"hosttags,omitempty"`
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Ipaddress            string `json:"ipaddress,omitempty"`
	Islocalstorageactive bool   `json:"islocalstorageactive,omitempty"`
	Lastpinged           string `json:"lastpinged,omitempty"`
	Managementserverid   int64  `json:"managementserverid,omitempty"`
	Memoryallocated      int64  `json:"memoryallocated,omitempty"`
	Memorytotal          int64  `json:"memorytotal,omitempty"`
	Memoryused           int64  `json:"memoryused,omitempty"`
	Name                 string `json:"name,omitempty"`
	Networkkbsread       int64  `json:"networkkbsread,omitempty"`
	Networkkbswrite      int64  `json:"networkkbswrite,omitempty"`
	Oscategoryid         string `json:"oscategoryid,omitempty"`
	Oscategoryname       string `json:"oscategoryname,omitempty"`
	Podid                string `json:"podid,omitempty"`
	Podname              string `json:"podname,omitempty"`
	Removed              string `json:"removed,omitempty"`
	Resourcestate        string `json:"resourcestate,omitempty"`
	State                string `json:"state,omitempty"`
	Suitableformigration bool   `json:"suitableformigration,omitempty"`
	Type                 string `json:"type,omitempty"`
	Version              string `json:"version,omitempty"`
	Zoneid               string `json:"zoneid,omitempty"`
	Zonename             string `json:"zonename,omitempty"`
}

type UpdateHypervisorCapabilitiesParams

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

func (*UpdateHypervisorCapabilitiesParams) SetId

func (*UpdateHypervisorCapabilitiesParams) SetMaxguestslimit

func (p *UpdateHypervisorCapabilitiesParams) SetMaxguestslimit(v int64)

type UpdateHypervisorCapabilitiesResponse

type UpdateHypervisorCapabilitiesResponse struct {
	Hypervisor           string `json:"hypervisor,omitempty"`
	Hypervisorversion    string `json:"hypervisorversion,omitempty"`
	Id                   string `json:"id,omitempty"`
	Maxdatavolumeslimit  int    `json:"maxdatavolumeslimit,omitempty"`
	Maxguestslimit       int64  `json:"maxguestslimit,omitempty"`
	Maxhostspercluster   int    `json:"maxhostspercluster,omitempty"`
	Storagemotionenabled bool   `json:"storagemotionenabled,omitempty"`
}

type UpdateInstanceGroupParams

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

func (*UpdateInstanceGroupParams) SetId

func (p *UpdateInstanceGroupParams) SetId(v string)

func (*UpdateInstanceGroupParams) SetName

func (p *UpdateInstanceGroupParams) SetName(v string)

type UpdateInstanceGroupResponse

type UpdateInstanceGroupResponse struct {
	Account   string `json:"account,omitempty"`
	Created   string `json:"created,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
}

type UpdateIpAddressParams

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

func (*UpdateIpAddressParams) SetCustomid

func (p *UpdateIpAddressParams) SetCustomid(v string)

func (*UpdateIpAddressParams) SetFordisplay

func (p *UpdateIpAddressParams) SetFordisplay(v bool)

func (*UpdateIpAddressParams) SetId

func (p *UpdateIpAddressParams) SetId(v string)

type UpdateIpAddressResponse

type UpdateIpAddressResponse struct {
	JobID                 string `json:"jobid,omitempty"`
	Account               string `json:"account,omitempty"`
	Aclid                 string `json:"aclid,omitempty"`
	Aclname               string `json:"aclname,omitempty"`
	Allocated             string `json:"allocated,omitempty"`
	Associatednetworkid   string `json:"associatednetworkid,omitempty"`
	Associatednetworkname string `json:"associatednetworkname,omitempty"`
	Domain                string `json:"domain,omitempty"`
	Domainid              string `json:"domainid,omitempty"`
	Fordisplay            bool   `json:"fordisplay,omitempty"`
	Forvirtualnetwork     bool   `json:"forvirtualnetwork,omitempty"`
	Id                    string `json:"id,omitempty"`
	Ipaddress             string `json:"ipaddress,omitempty"`
	Issourcenat           bool   `json:"issourcenat,omitempty"`
	Isstaticnat           bool   `json:"isstaticnat,omitempty"`
	Issystem              bool   `json:"issystem,omitempty"`
	Networkid             string `json:"networkid,omitempty"`
	Physicalnetworkid     string `json:"physicalnetworkid,omitempty"`
	Project               string `json:"project,omitempty"`
	Projectid             string `json:"projectid,omitempty"`
	Purpose               string `json:"purpose,omitempty"`
	State                 string `json:"state,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vlanid                    string `json:"vlanid,omitempty"`
	Vlanname                  string `json:"vlanname,omitempty"`
	Vmipaddress               string `json:"vmipaddress,omitempty"`
	Vpcid                     string `json:"vpcid,omitempty"`
	Zoneid                    string `json:"zoneid,omitempty"`
	Zonename                  string `json:"zonename,omitempty"`
}

type UpdateIsoParams

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

func (*UpdateIsoParams) SetBootable

func (p *UpdateIsoParams) SetBootable(v bool)

func (*UpdateIsoParams) SetCpuflags

func (p *UpdateIsoParams) SetCpuflags(v string)

func (*UpdateIsoParams) SetDetails

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

func (*UpdateIsoParams) SetDisplaytext

func (p *UpdateIsoParams) SetDisplaytext(v string)

func (*UpdateIsoParams) SetFormat

func (p *UpdateIsoParams) SetFormat(v string)

func (*UpdateIsoParams) SetId

func (p *UpdateIsoParams) SetId(v string)

func (*UpdateIsoParams) SetIsdynamicallyscalable

func (p *UpdateIsoParams) SetIsdynamicallyscalable(v bool)

func (*UpdateIsoParams) SetIsrouting

func (p *UpdateIsoParams) SetIsrouting(v bool)

func (*UpdateIsoParams) SetMaclearning

func (p *UpdateIsoParams) SetMaclearning(v string)

func (*UpdateIsoParams) SetMaintenancepolicy

func (p *UpdateIsoParams) SetMaintenancepolicy(v string)

func (*UpdateIsoParams) SetManufacturerstring

func (p *UpdateIsoParams) SetManufacturerstring(v string)

func (*UpdateIsoParams) SetName

func (p *UpdateIsoParams) SetName(v string)

func (*UpdateIsoParams) SetOptimisefor

func (p *UpdateIsoParams) SetOptimisefor(v string)

func (*UpdateIsoParams) SetOstypeid

func (p *UpdateIsoParams) SetOstypeid(v string)

func (*UpdateIsoParams) SetPasswordenabled

func (p *UpdateIsoParams) SetPasswordenabled(v bool)

func (*UpdateIsoParams) SetSortkey

func (p *UpdateIsoParams) SetSortkey(v int)

func (*UpdateIsoParams) SetUrl

func (p *UpdateIsoParams) SetUrl(v string)

type UpdateIsoPermissionsParams

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

func (*UpdateIsoPermissionsParams) SetAccounts

func (p *UpdateIsoPermissionsParams) SetAccounts(v []string)

func (*UpdateIsoPermissionsParams) SetId

func (p *UpdateIsoPermissionsParams) SetId(v string)

func (*UpdateIsoPermissionsParams) SetIsextractable

func (p *UpdateIsoPermissionsParams) SetIsextractable(v bool)

func (*UpdateIsoPermissionsParams) SetIsfeatured

func (p *UpdateIsoPermissionsParams) SetIsfeatured(v bool)

func (*UpdateIsoPermissionsParams) SetIspublic

func (p *UpdateIsoPermissionsParams) SetIspublic(v bool)

func (*UpdateIsoPermissionsParams) SetOp

func (p *UpdateIsoPermissionsParams) SetOp(v string)

func (*UpdateIsoPermissionsParams) SetProjectids

func (p *UpdateIsoPermissionsParams) SetProjectids(v []string)

type UpdateIsoPermissionsResponse

type UpdateIsoPermissionsResponse struct {
	Displaytext string `json:"displaytext,omitempty"`
	Success     string `json:"success,omitempty"`
}

type UpdateIsoResponse

type UpdateIsoResponse struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type UpdateLBHealthCheckPolicyParams

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

func (*UpdateLBHealthCheckPolicyParams) SetCustomid

func (p *UpdateLBHealthCheckPolicyParams) SetCustomid(v string)

func (*UpdateLBHealthCheckPolicyParams) SetFordisplay

func (p *UpdateLBHealthCheckPolicyParams) SetFordisplay(v bool)

func (*UpdateLBHealthCheckPolicyParams) SetId

type UpdateLBHealthCheckPolicyResponse

type UpdateLBHealthCheckPolicyResponse struct {
	JobID             string `json:"jobid,omitempty"`
	Account           string `json:"account,omitempty"`
	Domain            string `json:"domain,omitempty"`
	Domainid          string `json:"domainid,omitempty"`
	Healthcheckpolicy []struct {
		Description             string `json:"description,omitempty"`
		Fordisplay              bool   `json:"fordisplay,omitempty"`
		Healthcheckinterval     int    `json:"healthcheckinterval,omitempty"`
		Healthcheckthresshold   int    `json:"healthcheckthresshold,omitempty"`
		Id                      string `json:"id,omitempty"`
		Pingpath                string `json:"pingpath,omitempty"`
		Responsetime            int    `json:"responsetime,omitempty"`
		State                   string `json:"state,omitempty"`
		Unhealthcheckthresshold int    `json:"unhealthcheckthresshold,omitempty"`
	} `json:"healthcheckpolicy,omitempty"`
	Lbruleid string `json:"lbruleid,omitempty"`
	Zoneid   string `json:"zoneid,omitempty"`
}

type UpdateLBStickinessPolicyParams

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

func (*UpdateLBStickinessPolicyParams) SetCustomid

func (p *UpdateLBStickinessPolicyParams) SetCustomid(v string)

func (*UpdateLBStickinessPolicyParams) SetFordisplay

func (p *UpdateLBStickinessPolicyParams) SetFordisplay(v bool)

func (*UpdateLBStickinessPolicyParams) SetId

type UpdateLBStickinessPolicyResponse

type UpdateLBStickinessPolicyResponse struct {
	JobID            string `json:"jobid,omitempty"`
	Account          string `json:"account,omitempty"`
	Description      string `json:"description,omitempty"`
	Domain           string `json:"domain,omitempty"`
	Domainid         string `json:"domainid,omitempty"`
	Lbruleid         string `json:"lbruleid,omitempty"`
	Name             string `json:"name,omitempty"`
	State            string `json:"state,omitempty"`
	Stickinesspolicy []struct {
		Description string            `json:"description,omitempty"`
		Fordisplay  bool              `json:"fordisplay,omitempty"`
		Id          string            `json:"id,omitempty"`
		Methodname  string            `json:"methodname,omitempty"`
		Name        string            `json:"name,omitempty"`
		Params      map[string]string `json:"params,omitempty"`
		State       string            `json:"state,omitempty"`
	} `json:"stickinesspolicy,omitempty"`
	Zoneid string `json:"zoneid,omitempty"`
}

type UpdateLoadBalancerRuleParams

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

func (*UpdateLoadBalancerRuleParams) SetAlgorithm

func (p *UpdateLoadBalancerRuleParams) SetAlgorithm(v string)

func (*UpdateLoadBalancerRuleParams) SetClienttimeout

func (p *UpdateLoadBalancerRuleParams) SetClienttimeout(v int)

func (*UpdateLoadBalancerRuleParams) SetCustomid

func (p *UpdateLoadBalancerRuleParams) SetCustomid(v string)

func (*UpdateLoadBalancerRuleParams) SetDescription

func (p *UpdateLoadBalancerRuleParams) SetDescription(v string)

func (*UpdateLoadBalancerRuleParams) SetFordisplay

func (p *UpdateLoadBalancerRuleParams) SetFordisplay(v bool)

func (*UpdateLoadBalancerRuleParams) SetId

func (*UpdateLoadBalancerRuleParams) SetName

func (p *UpdateLoadBalancerRuleParams) SetName(v string)

func (*UpdateLoadBalancerRuleParams) SetServertimeout

func (p *UpdateLoadBalancerRuleParams) SetServertimeout(v int)

type UpdateLoadBalancerRuleResponse

type UpdateLoadBalancerRuleResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Algorithm     string `json:"algorithm,omitempty"`
	Cidrlist      string `json:"cidrlist,omitempty"`
	Clienttimeout int    `json:"clienttimeout,omitempty"`
	Description   string `json:"description,omitempty"`
	Domain        string `json:"domain,omitempty"`
	Domainid      string `json:"domainid,omitempty"`
	Fordisplay    bool   `json:"fordisplay,omitempty"`
	Id            string `json:"id,omitempty"`
	Name          string `json:"name,omitempty"`
	Networkid     string `json:"networkid,omitempty"`
	Privateport   string `json:"privateport,omitempty"`
	Project       string `json:"project,omitempty"`
	Projectid     string `json:"projectid,omitempty"`
	Protocol      string `json:"protocol,omitempty"`
	Publicip      string `json:"publicip,omitempty"`
	Publicipid    string `json:"publicipid,omitempty"`
	Publicport    string `json:"publicport,omitempty"`
	Servertimeout int    `json:"servertimeout,omitempty"`
	State         string `json:"state,omitempty"`
	Tags          []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Zoneid string `json:"zoneid,omitempty"`
}

type UpdateNetworkACLItemParams

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

func (*UpdateNetworkACLItemParams) SetAction

func (p *UpdateNetworkACLItemParams) SetAction(v string)

func (*UpdateNetworkACLItemParams) SetCidrlist

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

func (*UpdateNetworkACLItemParams) SetCustomid

func (p *UpdateNetworkACLItemParams) SetCustomid(v string)

func (*UpdateNetworkACLItemParams) SetEndport

func (p *UpdateNetworkACLItemParams) SetEndport(v int)

func (*UpdateNetworkACLItemParams) SetFordisplay

func (p *UpdateNetworkACLItemParams) SetFordisplay(v bool)

func (*UpdateNetworkACLItemParams) SetIcmpcode

func (p *UpdateNetworkACLItemParams) SetIcmpcode(v int)

func (*UpdateNetworkACLItemParams) SetIcmptype

func (p *UpdateNetworkACLItemParams) SetIcmptype(v int)

func (*UpdateNetworkACLItemParams) SetId

func (p *UpdateNetworkACLItemParams) SetId(v string)

func (*UpdateNetworkACLItemParams) SetNumber

func (p *UpdateNetworkACLItemParams) SetNumber(v int)

func (*UpdateNetworkACLItemParams) SetProtocol

func (p *UpdateNetworkACLItemParams) SetProtocol(v string)

func (*UpdateNetworkACLItemParams) SetStartport

func (p *UpdateNetworkACLItemParams) SetStartport(v int)

func (*UpdateNetworkACLItemParams) SetTraffictype

func (p *UpdateNetworkACLItemParams) SetTraffictype(v string)

type UpdateNetworkACLItemResponse

type UpdateNetworkACLItemResponse struct {
	JobID      string `json:"jobid,omitempty"`
	Aclid      string `json:"aclid,omitempty"`
	Action     string `json:"action,omitempty"`
	Cidrlist   string `json:"cidrlist,omitempty"`
	Endport    string `json:"endport,omitempty"`
	Fordisplay bool   `json:"fordisplay,omitempty"`
	Icmpcode   int    `json:"icmpcode,omitempty"`
	Icmptype   int    `json:"icmptype,omitempty"`
	Id         string `json:"id,omitempty"`
	Number     int    `json:"number,omitempty"`
	Protocol   string `json:"protocol,omitempty"`
	Startport  string `json:"startport,omitempty"`
	State      string `json:"state,omitempty"`
	Tags       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype string `json:"traffictype,omitempty"`
}

type UpdateNetworkACLListParams

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

func (*UpdateNetworkACLListParams) SetCustomid

func (p *UpdateNetworkACLListParams) SetCustomid(v string)

func (*UpdateNetworkACLListParams) SetDescription

func (p *UpdateNetworkACLListParams) SetDescription(v string)

func (*UpdateNetworkACLListParams) SetFordisplay

func (p *UpdateNetworkACLListParams) SetFordisplay(v bool)

func (*UpdateNetworkACLListParams) SetId

func (p *UpdateNetworkACLListParams) SetId(v string)

func (*UpdateNetworkACLListParams) SetName

func (p *UpdateNetworkACLListParams) SetName(v string)

type UpdateNetworkACLListResponse

type UpdateNetworkACLListResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type UpdateNetworkOfferingParams

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

func (*UpdateNetworkOfferingParams) SetAvailability

func (p *UpdateNetworkOfferingParams) SetAvailability(v string)

func (*UpdateNetworkOfferingParams) SetDisplaytext

func (p *UpdateNetworkOfferingParams) SetDisplaytext(v string)

func (*UpdateNetworkOfferingParams) SetId

func (p *UpdateNetworkOfferingParams) SetId(v string)

func (*UpdateNetworkOfferingParams) SetKeepaliveenabled

func (p *UpdateNetworkOfferingParams) SetKeepaliveenabled(v bool)

func (*UpdateNetworkOfferingParams) SetMaxconnections

func (p *UpdateNetworkOfferingParams) SetMaxconnections(v int)

func (*UpdateNetworkOfferingParams) SetName

func (p *UpdateNetworkOfferingParams) SetName(v string)

func (*UpdateNetworkOfferingParams) SetSortkey

func (p *UpdateNetworkOfferingParams) SetSortkey(v int)

func (*UpdateNetworkOfferingParams) SetState

func (p *UpdateNetworkOfferingParams) SetState(v string)

type UpdateNetworkOfferingResponse

type UpdateNetworkOfferingResponse struct {
	Availability                 string            `json:"availability,omitempty"`
	Conservemode                 bool              `json:"conservemode,omitempty"`
	Created                      string            `json:"created,omitempty"`
	Details                      map[string]string `json:"details,omitempty"`
	Displaytext                  string            `json:"displaytext,omitempty"`
	Egressdefaultpolicy          bool              `json:"egressdefaultpolicy,omitempty"`
	Forvpc                       bool              `json:"forvpc,omitempty"`
	Guestiptype                  string            `json:"guestiptype,omitempty"`
	Id                           string            `json:"id,omitempty"`
	Isdefault                    bool              `json:"isdefault,omitempty"`
	Ispersistent                 bool              `json:"ispersistent,omitempty"`
	Maxconnections               int               `json:"maxconnections,omitempty"`
	Name                         string            `json:"name,omitempty"`
	Networkrate                  int               `json:"networkrate,omitempty"`
	Secondaryserviceofferingid   string            `json:"secondaryserviceofferingid,omitempty"`
	Secondaryserviceofferingname string            `json:"secondaryserviceofferingname,omitempty"`
	Service                      []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Serviceofferingid        string `json:"serviceofferingid,omitempty"`
	Serviceofferingname      string `json:"serviceofferingname,omitempty"`
	Specifyipranges          bool   `json:"specifyipranges,omitempty"`
	Specifyvlan              bool   `json:"specifyvlan,omitempty"`
	State                    string `json:"state,omitempty"`
	Supportsstrechedl2subnet bool   `json:"supportsstrechedl2subnet,omitempty"`
	Tags                     string `json:"tags,omitempty"`
	Traffictype              string `json:"traffictype,omitempty"`
}

type UpdateNetworkParams

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

func (*UpdateNetworkParams) SetChangecidr

func (p *UpdateNetworkParams) SetChangecidr(v bool)

func (*UpdateNetworkParams) SetCustomid

func (p *UpdateNetworkParams) SetCustomid(v string)

func (*UpdateNetworkParams) SetDhcpbootfilename

func (p *UpdateNetworkParams) SetDhcpbootfilename(v string)

func (*UpdateNetworkParams) SetDhcptftpserver

func (p *UpdateNetworkParams) SetDhcptftpserver(v string)

func (*UpdateNetworkParams) SetDisplaynetwork

func (p *UpdateNetworkParams) SetDisplaynetwork(v bool)

func (*UpdateNetworkParams) SetDisplaytext

func (p *UpdateNetworkParams) SetDisplaytext(v string)

func (*UpdateNetworkParams) SetDns1

func (p *UpdateNetworkParams) SetDns1(v string)

func (*UpdateNetworkParams) SetDns2

func (p *UpdateNetworkParams) SetDns2(v string)

func (*UpdateNetworkParams) SetGuestvmcidr

func (p *UpdateNetworkParams) SetGuestvmcidr(v string)

func (*UpdateNetworkParams) SetId

func (p *UpdateNetworkParams) SetId(v string)

func (*UpdateNetworkParams) SetIpexclusionlist

func (p *UpdateNetworkParams) SetIpexclusionlist(v string)

func (*UpdateNetworkParams) SetName

func (p *UpdateNetworkParams) SetName(v string)

func (*UpdateNetworkParams) SetNetworkdomain

func (p *UpdateNetworkParams) SetNetworkdomain(v string)

func (*UpdateNetworkParams) SetNetworkofferingid

func (p *UpdateNetworkParams) SetNetworkofferingid(v string)

type UpdateNetworkResponse

type UpdateNetworkResponse struct {
	JobID                       string `json:"jobid,omitempty"`
	Account                     string `json:"account,omitempty"`
	Aclid                       string `json:"aclid,omitempty"`
	Aclname                     string `json:"aclname,omitempty"`
	Acltype                     string `json:"acltype,omitempty"`
	Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
	Broadcasturi                string `json:"broadcasturi,omitempty"`
	Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
	Cidr                        string `json:"cidr,omitempty"`
	Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
	Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
	Displaynetwork              bool   `json:"displaynetwork,omitempty"`
	Displaytext                 string `json:"displaytext,omitempty"`
	Dns1                        string `json:"dns1,omitempty"`
	Dns2                        string `json:"dns2,omitempty"`
	Domain                      string `json:"domain,omitempty"`
	Domainid                    string `json:"domainid,omitempty"`
	Gateway                     string `json:"gateway,omitempty"`
	Id                          string `json:"id,omitempty"`
	Ip6cidr                     string `json:"ip6cidr,omitempty"`
	Ip6gateway                  string `json:"ip6gateway,omitempty"`
	Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
	Isdefault                   bool   `json:"isdefault,omitempty"`
	Ispersistent                bool   `json:"ispersistent,omitempty"`
	Issystem                    bool   `json:"issystem,omitempty"`
	Name                        string `json:"name,omitempty"`
	Netmask                     string `json:"netmask,omitempty"`
	Networkcidr                 string `json:"networkcidr,omitempty"`
	Networkdomain               string `json:"networkdomain,omitempty"`
	Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
	Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
	Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
	Networkofferingid           string `json:"networkofferingid,omitempty"`
	Networkofferingname         string `json:"networkofferingname,omitempty"`
	Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
	Project                     string `json:"project,omitempty"`
	Projectid                   string `json:"projectid,omitempty"`
	Related                     string `json:"related,omitempty"`
	Reservediprange             string `json:"reservediprange,omitempty"`
	Restartrequired             bool   `json:"restartrequired,omitempty"`
	Service                     []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Specifyipranges  bool   `json:"specifyipranges,omitempty"`
	State            string `json:"state,omitempty"`
	Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
	Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Traffictype       string   `json:"traffictype,omitempty"`
	Type              string   `json:"type,omitempty"`
	Vlan              string   `json:"vlan,omitempty"`
	Vpcid             string   `json:"vpcid,omitempty"`
	Vpcname           string   `json:"vpcname,omitempty"`
	Zoneid            string   `json:"zoneid,omitempty"`
	Zonename          string   `json:"zonename,omitempty"`
	Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
}

type UpdateNetworkServiceProviderParams

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

func (*UpdateNetworkServiceProviderParams) SetId

func (*UpdateNetworkServiceProviderParams) SetServicelist

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

func (*UpdateNetworkServiceProviderParams) SetState

type UpdateNetworkServiceProviderResponse

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

type UpdatePhysicalNetworkParams

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

func (*UpdatePhysicalNetworkParams) SetId

func (p *UpdatePhysicalNetworkParams) SetId(v string)

func (*UpdatePhysicalNetworkParams) SetNetworkspeed

func (p *UpdatePhysicalNetworkParams) SetNetworkspeed(v string)

func (*UpdatePhysicalNetworkParams) SetState

func (p *UpdatePhysicalNetworkParams) SetState(v string)

func (*UpdatePhysicalNetworkParams) SetTags

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

func (*UpdatePhysicalNetworkParams) SetVlan

func (p *UpdatePhysicalNetworkParams) SetVlan(v string)

type UpdatePhysicalNetworkResponse

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

type UpdatePodParams

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

func (*UpdatePodParams) SetAllocationstate

func (p *UpdatePodParams) SetAllocationstate(v string)

func (*UpdatePodParams) SetEndip

func (p *UpdatePodParams) SetEndip(v string)

func (*UpdatePodParams) SetGateway

func (p *UpdatePodParams) SetGateway(v string)

func (*UpdatePodParams) SetId

func (p *UpdatePodParams) SetId(v string)

func (*UpdatePodParams) SetName

func (p *UpdatePodParams) SetName(v string)

func (*UpdatePodParams) SetNetmask

func (p *UpdatePodParams) SetNetmask(v string)

func (*UpdatePodParams) SetStartip

func (p *UpdatePodParams) SetStartip(v string)

type UpdatePodResponse

type UpdatePodResponse struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Endip    string `json:"endip,omitempty"`
	Gateway  string `json:"gateway,omitempty"`
	Id       string `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
	Netmask  string `json:"netmask,omitempty"`
	Startip  string `json:"startip,omitempty"`
	Zoneid   string `json:"zoneid,omitempty"`
	Zonename string `json:"zonename,omitempty"`
}

type UpdatePortForwardingRuleParams

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

func (*UpdatePortForwardingRuleParams) SetCustomid

func (p *UpdatePortForwardingRuleParams) SetCustomid(v string)

func (*UpdatePortForwardingRuleParams) SetFordisplay

func (p *UpdatePortForwardingRuleParams) SetFordisplay(v bool)

func (*UpdatePortForwardingRuleParams) SetId

func (*UpdatePortForwardingRuleParams) SetPrivateport

func (p *UpdatePortForwardingRuleParams) SetPrivateport(v int)

func (*UpdatePortForwardingRuleParams) SetVirtualmachineid

func (p *UpdatePortForwardingRuleParams) SetVirtualmachineid(v string)

func (*UpdatePortForwardingRuleParams) SetVmguestip

func (p *UpdatePortForwardingRuleParams) SetVmguestip(v string)

type UpdatePortForwardingRuleResponse

type UpdatePortForwardingRuleResponse struct {
	JobID          string `json:"jobid,omitempty"`
	Cidrlist       string `json:"cidrlist,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Ipaddress      string `json:"ipaddress,omitempty"`
	Ipaddressid    string `json:"ipaddressid,omitempty"`
	Networkid      string `json:"networkid,omitempty"`
	Privateendport string `json:"privateendport,omitempty"`
	Privateport    string `json:"privateport,omitempty"`
	Protocol       string `json:"protocol,omitempty"`
	Publicendport  string `json:"publicendport,omitempty"`
	Publicport     string `json:"publicport,omitempty"`
	State          string `json:"state,omitempty"`
	Tags           []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"`
	Virtualmachineid          string `json:"virtualmachineid,omitempty"`
	Virtualmachinename        string `json:"virtualmachinename,omitempty"`
	Vmguestip                 string `json:"vmguestip,omitempty"`
}

type UpdateProjectInvitationParams

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

func (*UpdateProjectInvitationParams) SetAccept

func (p *UpdateProjectInvitationParams) SetAccept(v bool)

func (*UpdateProjectInvitationParams) SetAccount

func (p *UpdateProjectInvitationParams) SetAccount(v string)

func (*UpdateProjectInvitationParams) SetProjectid

func (p *UpdateProjectInvitationParams) SetProjectid(v string)

func (*UpdateProjectInvitationParams) SetToken

func (p *UpdateProjectInvitationParams) SetToken(v string)

type UpdateProjectInvitationResponse

type UpdateProjectInvitationResponse struct {
	JobID       string `json:"jobid,omitempty"`
	Displaytext string `json:"displaytext,omitempty"`
	Success     bool   `json:"success,omitempty"`
}

type UpdateProjectParams

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

func (*UpdateProjectParams) SetAccount

func (p *UpdateProjectParams) SetAccount(v string)

func (*UpdateProjectParams) SetDisplaytext

func (p *UpdateProjectParams) SetDisplaytext(v string)

func (*UpdateProjectParams) SetId

func (p *UpdateProjectParams) SetId(v string)

type UpdateProjectResponse

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

type UpdateRegionParams

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

func (*UpdateRegionParams) SetEndpoint

func (p *UpdateRegionParams) SetEndpoint(v string)

func (*UpdateRegionParams) SetId

func (p *UpdateRegionParams) SetId(v int)

func (*UpdateRegionParams) SetName

func (p *UpdateRegionParams) SetName(v string)

type UpdateRegionResponse

type UpdateRegionResponse struct {
	Endpoint string `json:"endpoint,omitempty"`
	Id       int    `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
}

type UpdateRemoteAccessVpnParams

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

func (*UpdateRemoteAccessVpnParams) SetCustomid

func (p *UpdateRemoteAccessVpnParams) SetCustomid(v string)

func (*UpdateRemoteAccessVpnParams) SetFordisplay

func (p *UpdateRemoteAccessVpnParams) SetFordisplay(v bool)

func (*UpdateRemoteAccessVpnParams) SetId

func (p *UpdateRemoteAccessVpnParams) SetId(v string)

type UpdateRemoteAccessVpnResponse

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

type UpdateResourceCountParams

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

func (*UpdateResourceCountParams) SetAccount

func (p *UpdateResourceCountParams) SetAccount(v string)

func (*UpdateResourceCountParams) SetDomainid

func (p *UpdateResourceCountParams) SetDomainid(v string)

func (*UpdateResourceCountParams) SetProjectid

func (p *UpdateResourceCountParams) SetProjectid(v string)

func (*UpdateResourceCountParams) SetResourcetype

func (p *UpdateResourceCountParams) SetResourcetype(v int)

type UpdateResourceCountResponse

type UpdateResourceCountResponse struct {
	Account       string `json:"account,omitempty"`
	Domain        string `json:"domain,omitempty"`
	Domainid      string `json:"domainid,omitempty"`
	Project       string `json:"project,omitempty"`
	Projectid     string `json:"projectid,omitempty"`
	Resourcecount int64  `json:"resourcecount,omitempty"`
	Resourcetype  string `json:"resourcetype,omitempty"`
}

type UpdateResourceLimitParams

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

func (*UpdateResourceLimitParams) SetAccount

func (p *UpdateResourceLimitParams) SetAccount(v string)

func (*UpdateResourceLimitParams) SetDomainid

func (p *UpdateResourceLimitParams) SetDomainid(v string)

func (*UpdateResourceLimitParams) SetMax

func (p *UpdateResourceLimitParams) SetMax(v int64)

func (*UpdateResourceLimitParams) SetProjectid

func (p *UpdateResourceLimitParams) SetProjectid(v string)

func (*UpdateResourceLimitParams) SetResourcetype

func (p *UpdateResourceLimitParams) SetResourcetype(v int)

type UpdateResourceLimitResponse

type UpdateResourceLimitResponse struct {
	Account      string `json:"account,omitempty"`
	Domain       string `json:"domain,omitempty"`
	Domainid     string `json:"domainid,omitempty"`
	Max          int64  `json:"max,omitempty"`
	Project      string `json:"project,omitempty"`
	Projectid    string `json:"projectid,omitempty"`
	Resourcetype string `json:"resourcetype,omitempty"`
}

type UpdateServiceOfferingParams

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

func (*UpdateServiceOfferingParams) SetDisplaytext

func (p *UpdateServiceOfferingParams) SetDisplaytext(v string)

func (*UpdateServiceOfferingParams) SetId

func (p *UpdateServiceOfferingParams) SetId(v string)

func (*UpdateServiceOfferingParams) SetName

func (p *UpdateServiceOfferingParams) SetName(v string)

func (*UpdateServiceOfferingParams) SetSortkey

func (p *UpdateServiceOfferingParams) SetSortkey(v int)

type UpdateServiceOfferingResponse

type UpdateServiceOfferingResponse struct {
	Cpunumber                 int               `json:"cpunumber,omitempty"`
	Created                   string            `json:"created,omitempty"`
	Defaultuse                bool              `json:"defaultuse,omitempty"`
	Deploymentplanner         string            `json:"deploymentplanner,omitempty"`
	DiskBytesReadRate         int64             `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate        int64             `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb         bool              `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate          int64             `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate         int64             `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate         int64             `json:"diskIopsWriteRate,omitempty"`
	Displaytext               string            `json:"displaytext,omitempty"`
	Domain                    string            `json:"domain,omitempty"`
	Domainid                  string            `json:"domainid,omitempty"`
	Hosttags                  string            `json:"hosttags,omitempty"`
	Hypervisorsnapshotreserve int               `json:"hypervisorsnapshotreserve,omitempty"`
	Id                        string            `json:"id,omitempty"`
	Iscustomized              bool              `json:"iscustomized,omitempty"`
	Iscustomizediops          bool              `json:"iscustomizediops,omitempty"`
	Issystem                  bool              `json:"issystem,omitempty"`
	Isvolatile                bool              `json:"isvolatile,omitempty"`
	Limitcpuuse               bool              `json:"limitcpuuse,omitempty"`
	Maxiops                   int64             `json:"maxiops,omitempty"`
	Memory                    int               `json:"memory,omitempty"`
	Miniops                   int64             `json:"miniops,omitempty"`
	Name                      string            `json:"name,omitempty"`
	Networkrate               int               `json:"networkrate,omitempty"`
	Offerha                   bool              `json:"offerha,omitempty"`
	Provisioningtype          string            `json:"provisioningtype,omitempty"`
	Serviceofferingdetails    map[string]string `json:"serviceofferingdetails,omitempty"`
	Storagetype               string            `json:"storagetype,omitempty"`
	Systemvmtype              string            `json:"systemvmtype,omitempty"`
	Tags                      string            `json:"tags,omitempty"`
}

type UpdateStorageNetworkIpRangeParams

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

func (*UpdateStorageNetworkIpRangeParams) SetEndip

func (*UpdateStorageNetworkIpRangeParams) SetId

func (*UpdateStorageNetworkIpRangeParams) SetNetmask

func (p *UpdateStorageNetworkIpRangeParams) SetNetmask(v string)

func (*UpdateStorageNetworkIpRangeParams) SetStartip

func (p *UpdateStorageNetworkIpRangeParams) SetStartip(v string)

func (*UpdateStorageNetworkIpRangeParams) SetVlan

func (p *UpdateStorageNetworkIpRangeParams) SetVlan(v int)

type UpdateStorageNetworkIpRangeResponse

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

type UpdateStoragePoolParams

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

func (*UpdateStoragePoolParams) SetCapacitybytes

func (p *UpdateStoragePoolParams) SetCapacitybytes(v int64)

func (*UpdateStoragePoolParams) SetCapacityiops

func (p *UpdateStoragePoolParams) SetCapacityiops(v int64)

func (*UpdateStoragePoolParams) SetEnabled

func (p *UpdateStoragePoolParams) SetEnabled(v bool)

func (*UpdateStoragePoolParams) SetId

func (p *UpdateStoragePoolParams) SetId(v string)

func (*UpdateStoragePoolParams) SetTags

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

type UpdateStoragePoolResponse

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

type UpdateTemplateParams

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

func (*UpdateTemplateParams) SetBootable

func (p *UpdateTemplateParams) SetBootable(v bool)

func (*UpdateTemplateParams) SetCpuflags

func (p *UpdateTemplateParams) SetCpuflags(v string)

func (*UpdateTemplateParams) SetDetails

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

func (*UpdateTemplateParams) SetDisplaytext

func (p *UpdateTemplateParams) SetDisplaytext(v string)

func (*UpdateTemplateParams) SetFormat

func (p *UpdateTemplateParams) SetFormat(v string)

func (*UpdateTemplateParams) SetId

func (p *UpdateTemplateParams) SetId(v string)

func (*UpdateTemplateParams) SetIsdynamicallyscalable

func (p *UpdateTemplateParams) SetIsdynamicallyscalable(v bool)

func (*UpdateTemplateParams) SetIsrouting

func (p *UpdateTemplateParams) SetIsrouting(v bool)

func (*UpdateTemplateParams) SetMaclearning

func (p *UpdateTemplateParams) SetMaclearning(v string)

func (*UpdateTemplateParams) SetMaintenancepolicy

func (p *UpdateTemplateParams) SetMaintenancepolicy(v string)

func (*UpdateTemplateParams) SetManufacturerstring

func (p *UpdateTemplateParams) SetManufacturerstring(v string)

func (*UpdateTemplateParams) SetName

func (p *UpdateTemplateParams) SetName(v string)

func (*UpdateTemplateParams) SetOptimisefor

func (p *UpdateTemplateParams) SetOptimisefor(v string)

func (*UpdateTemplateParams) SetOstypeid

func (p *UpdateTemplateParams) SetOstypeid(v string)

func (*UpdateTemplateParams) SetPasswordenabled

func (p *UpdateTemplateParams) SetPasswordenabled(v bool)

func (*UpdateTemplateParams) SetSortkey

func (p *UpdateTemplateParams) SetSortkey(v int)

func (*UpdateTemplateParams) SetUrl

func (p *UpdateTemplateParams) SetUrl(v string)

type UpdateTemplatePermissionsParams

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

func (*UpdateTemplatePermissionsParams) SetAccounts

func (p *UpdateTemplatePermissionsParams) SetAccounts(v []string)

func (*UpdateTemplatePermissionsParams) SetId

func (*UpdateTemplatePermissionsParams) SetIsextractable

func (p *UpdateTemplatePermissionsParams) SetIsextractable(v bool)

func (*UpdateTemplatePermissionsParams) SetIsfeatured

func (p *UpdateTemplatePermissionsParams) SetIsfeatured(v bool)

func (*UpdateTemplatePermissionsParams) SetIspublic

func (p *UpdateTemplatePermissionsParams) SetIspublic(v bool)

func (*UpdateTemplatePermissionsParams) SetOp

func (*UpdateTemplatePermissionsParams) SetProjectids

func (p *UpdateTemplatePermissionsParams) SetProjectids(v []string)

type UpdateTemplatePermissionsResponse

type UpdateTemplatePermissionsResponse struct {
	Displaytext string `json:"displaytext,omitempty"`
	Success     string `json:"success,omitempty"`
}

type UpdateTemplateResponse

type UpdateTemplateResponse struct {
	Account               string            `json:"account,omitempty"`
	Accountid             string            `json:"accountid,omitempty"`
	Bootable              bool              `json:"bootable,omitempty"`
	Checksum              string            `json:"checksum,omitempty"`
	Cpuflags              string            `json:"cpuflags,omitempty"`
	Created               string            `json:"created,omitempty"`
	CrossZones            bool              `json:"crossZones,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Displaytext           string            `json:"displaytext,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Format                string            `json:"format,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isextractable         bool              `json:"isextractable,omitempty"`
	Isfeatured            bool              `json:"isfeatured,omitempty"`
	Ispublic              bool              `json:"ispublic,omitempty"`
	Isready               bool              `json:"isready,omitempty"`
	Maclearning           string            `json:"maclearning,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Optimisefor           string            `json:"optimisefor,omitempty"`
	Ostypeid              string            `json:"ostypeid,omitempty"`
	Ostypename            string            `json:"ostypename,omitempty"`
	Passwordenabled       bool              `json:"passwordenabled,omitempty"`
	Project               string            `json:"project,omitempty"`
	Projectid             string            `json:"projectid,omitempty"`
	Removed               string            `json:"removed,omitempty"`
	Size                  int64             `json:"size,omitempty"`
	Sourcetemplateid      string            `json:"sourcetemplateid,omitempty"`
	Sshkeyenabled         bool              `json:"sshkeyenabled,omitempty"`
	Status                string            `json:"status,omitempty"`
	Tags                  []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatetag  string `json:"templatetag,omitempty"`
	Templatetype string `json:"templatetype,omitempty"`
	Url          string `json:"url,omitempty"`
	Zoneid       string `json:"zoneid,omitempty"`
	Zonename     string `json:"zonename,omitempty"`
}

type UpdateUserParams

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

func (*UpdateUserParams) SetEmail

func (p *UpdateUserParams) SetEmail(v string)

func (*UpdateUserParams) SetFirstname

func (p *UpdateUserParams) SetFirstname(v string)

func (*UpdateUserParams) SetId

func (p *UpdateUserParams) SetId(v string)

func (*UpdateUserParams) SetLastname

func (p *UpdateUserParams) SetLastname(v string)

func (*UpdateUserParams) SetPassword

func (p *UpdateUserParams) SetPassword(v string)

func (*UpdateUserParams) SetTimezone

func (p *UpdateUserParams) SetTimezone(v string)

func (*UpdateUserParams) SetUserapikey

func (p *UpdateUserParams) SetUserapikey(v string)

func (*UpdateUserParams) SetUsername

func (p *UpdateUserParams) SetUsername(v string)

func (*UpdateUserParams) SetUsersecretkey

func (p *UpdateUserParams) SetUsersecretkey(v string)

type UpdateUserResponse

type UpdateUserResponse struct {
	Account             string `json:"account,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

type UpdateVMAffinityGroupParams

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

func (*UpdateVMAffinityGroupParams) SetAffinitygroupids

func (p *UpdateVMAffinityGroupParams) SetAffinitygroupids(v []string)

func (*UpdateVMAffinityGroupParams) SetAffinitygroupnames

func (p *UpdateVMAffinityGroupParams) SetAffinitygroupnames(v []string)

func (*UpdateVMAffinityGroupParams) SetId

func (p *UpdateVMAffinityGroupParams) SetId(v string)

type UpdateVMAffinityGroupResponse

type UpdateVMAffinityGroupResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type UpdateVPCOfferingParams

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

func (*UpdateVPCOfferingParams) SetDisplaytext

func (p *UpdateVPCOfferingParams) SetDisplaytext(v string)

func (*UpdateVPCOfferingParams) SetId

func (p *UpdateVPCOfferingParams) SetId(v string)

func (*UpdateVPCOfferingParams) SetName

func (p *UpdateVPCOfferingParams) SetName(v string)

func (*UpdateVPCOfferingParams) SetState

func (p *UpdateVPCOfferingParams) SetState(v string)

type UpdateVPCOfferingResponse

type UpdateVPCOfferingResponse struct {
	JobID                        string `json:"jobid,omitempty"`
	Created                      string `json:"created,omitempty"`
	Displaytext                  string `json:"displaytext,omitempty"`
	Id                           string `json:"id,omitempty"`
	Isdefault                    bool   `json:"isdefault,omitempty"`
	Name                         string `json:"name,omitempty"`
	Secondaryserviceofferingid   string `json:"secondaryserviceofferingid,omitempty"`
	Secondaryserviceofferingname string `json:"secondaryserviceofferingname,omitempty"`
	Service                      []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
}

type UpdateVPCParams

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

func (*UpdateVPCParams) SetAdvertinterval

func (p *UpdateVPCParams) SetAdvertinterval(v int64)

func (*UpdateVPCParams) SetAdvertmethod

func (p *UpdateVPCParams) SetAdvertmethod(v string)

func (*UpdateVPCParams) SetCustomid

func (p *UpdateVPCParams) SetCustomid(v string)

func (*UpdateVPCParams) SetDisplaytext

func (p *UpdateVPCParams) SetDisplaytext(v string)

func (*UpdateVPCParams) SetFordisplay

func (p *UpdateVPCParams) SetFordisplay(v bool)

func (*UpdateVPCParams) SetId

func (p *UpdateVPCParams) SetId(v string)

func (*UpdateVPCParams) SetName

func (p *UpdateVPCParams) SetName(v string)

func (*UpdateVPCParams) SetSourcenatlist

func (p *UpdateVPCParams) SetSourcenatlist(v string)

func (*UpdateVPCParams) SetSyslogserverlist

func (p *UpdateVPCParams) SetSyslogserverlist(v string)

func (*UpdateVPCParams) SetVpcofferingid

func (p *UpdateVPCParams) SetVpcofferingid(v string)

type UpdateVPCResponse

type UpdateVPCResponse struct {
	JobID          string `json:"jobid,omitempty"`
	Account        string `json:"account,omitempty"`
	Advertinterval int64  `json:"advertinterval,omitempty"`
	Advertmethod   string `json:"advertmethod,omitempty"`
	Cidr           string `json:"cidr,omitempty"`
	Created        string `json:"created,omitempty"`
	Displaytext    string `json:"displaytext,omitempty"`
	Domain         string `json:"domain,omitempty"`
	Domainid       string `json:"domainid,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	Network        []struct {
		Account                     string `json:"account,omitempty"`
		Aclid                       string `json:"aclid,omitempty"`
		Aclname                     string `json:"aclname,omitempty"`
		Acltype                     string `json:"acltype,omitempty"`
		Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
		Broadcasturi                string `json:"broadcasturi,omitempty"`
		Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
		Cidr                        string `json:"cidr,omitempty"`
		Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
		Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
		Displaynetwork              bool   `json:"displaynetwork,omitempty"`
		Displaytext                 string `json:"displaytext,omitempty"`
		Dns1                        string `json:"dns1,omitempty"`
		Dns2                        string `json:"dns2,omitempty"`
		Domain                      string `json:"domain,omitempty"`
		Domainid                    string `json:"domainid,omitempty"`
		Gateway                     string `json:"gateway,omitempty"`
		Id                          string `json:"id,omitempty"`
		Ip6cidr                     string `json:"ip6cidr,omitempty"`
		Ip6gateway                  string `json:"ip6gateway,omitempty"`
		Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
		Isdefault                   bool   `json:"isdefault,omitempty"`
		Ispersistent                bool   `json:"ispersistent,omitempty"`
		Issystem                    bool   `json:"issystem,omitempty"`
		Name                        string `json:"name,omitempty"`
		Netmask                     string `json:"netmask,omitempty"`
		Networkcidr                 string `json:"networkcidr,omitempty"`
		Networkdomain               string `json:"networkdomain,omitempty"`
		Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
		Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
		Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
		Networkofferingid           string `json:"networkofferingid,omitempty"`
		Networkofferingname         string `json:"networkofferingname,omitempty"`
		Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
		Project                     string `json:"project,omitempty"`
		Projectid                   string `json:"projectid,omitempty"`
		Related                     string `json:"related,omitempty"`
		Reservediprange             string `json:"reservediprange,omitempty"`
		Restartrequired             bool   `json:"restartrequired,omitempty"`
		Service                     []struct {
			Capability []struct {
				Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
				Name                       string `json:"name,omitempty"`
				Value                      string `json:"value,omitempty"`
			} `json:"capability,omitempty"`
			Name     string `json:"name,omitempty"`
			Provider []struct {
				Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
				Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
				Id                           string   `json:"id,omitempty"`
				Name                         string   `json:"name,omitempty"`
				Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
				Servicelist                  []string `json:"servicelist,omitempty"`
				State                        string   `json:"state,omitempty"`
			} `json:"provider,omitempty"`
		} `json:"service,omitempty"`
		Specifyipranges  bool   `json:"specifyipranges,omitempty"`
		State            string `json:"state,omitempty"`
		Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
		Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
		Tags             []struct {
			Account      string `json:"account,omitempty"`
			Customer     string `json:"customer,omitempty"`
			Domain       string `json:"domain,omitempty"`
			Domainid     string `json:"domainid,omitempty"`
			Key          string `json:"key,omitempty"`
			Project      string `json:"project,omitempty"`
			Projectid    string `json:"projectid,omitempty"`
			Resourceid   string `json:"resourceid,omitempty"`
			Resourcetype string `json:"resourcetype,omitempty"`
			Value        string `json:"value,omitempty"`
		} `json:"tags,omitempty"`
		Traffictype       string   `json:"traffictype,omitempty"`
		Type              string   `json:"type,omitempty"`
		Vlan              string   `json:"vlan,omitempty"`
		Vpcid             string   `json:"vpcid,omitempty"`
		Vpcname           string   `json:"vpcname,omitempty"`
		Zoneid            string   `json:"zoneid,omitempty"`
		Zonename          string   `json:"zonename,omitempty"`
		Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
	} `json:"network,omitempty"`
	Networkdomain      string `json:"networkdomain,omitempty"`
	Project            string `json:"project,omitempty"`
	Projectid          string `json:"projectid,omitempty"`
	Redundantvpcrouter bool   `json:"redundantvpcrouter,omitempty"`
	Restartrequired    bool   `json:"restartrequired,omitempty"`
	Service            []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Sourcenatlist    string `json:"sourcenatlist,omitempty"`
	State            string `json:"state,omitempty"`
	Syslogserverlist string `json:"syslogserverlist,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Vpcofferingdisplaytext string `json:"vpcofferingdisplaytext,omitempty"`
	Vpcofferingid          string `json:"vpcofferingid,omitempty"`
	Vpcofferingname        string `json:"vpcofferingname,omitempty"`
	Zoneid                 string `json:"zoneid,omitempty"`
	Zonename               string `json:"zonename,omitempty"`
}

type UpdateVirtualMachineParams

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

func (*UpdateVirtualMachineParams) SetBootmenutimeout

func (p *UpdateVirtualMachineParams) SetBootmenutimeout(v int64)

func (*UpdateVirtualMachineParams) SetCustomid

func (p *UpdateVirtualMachineParams) SetCustomid(v string)

func (*UpdateVirtualMachineParams) SetDetails

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

func (*UpdateVirtualMachineParams) SetDisplayname

func (p *UpdateVirtualMachineParams) SetDisplayname(v string)

func (*UpdateVirtualMachineParams) SetDisplayvm

func (p *UpdateVirtualMachineParams) SetDisplayvm(v bool)

func (*UpdateVirtualMachineParams) SetGroup

func (p *UpdateVirtualMachineParams) SetGroup(v string)

func (*UpdateVirtualMachineParams) SetHaenable

func (p *UpdateVirtualMachineParams) SetHaenable(v bool)

func (*UpdateVirtualMachineParams) SetId

func (p *UpdateVirtualMachineParams) SetId(v string)

func (*UpdateVirtualMachineParams) SetInstancename

func (p *UpdateVirtualMachineParams) SetInstancename(v string)

func (*UpdateVirtualMachineParams) SetIsdynamicallyscalable

func (p *UpdateVirtualMachineParams) SetIsdynamicallyscalable(v bool)

func (*UpdateVirtualMachineParams) SetMaintenancepolicy

func (p *UpdateVirtualMachineParams) SetMaintenancepolicy(v string)

func (*UpdateVirtualMachineParams) SetManufacturerstring

func (p *UpdateVirtualMachineParams) SetManufacturerstring(v string)

func (*UpdateVirtualMachineParams) SetName

func (p *UpdateVirtualMachineParams) SetName(v string)

func (*UpdateVirtualMachineParams) SetOptimisefor

func (p *UpdateVirtualMachineParams) SetOptimisefor(v string)

func (*UpdateVirtualMachineParams) SetOstypeid

func (p *UpdateVirtualMachineParams) SetOstypeid(v string)

func (*UpdateVirtualMachineParams) SetRestartrequired

func (p *UpdateVirtualMachineParams) SetRestartrequired(v bool)

func (*UpdateVirtualMachineParams) SetUserdata

func (p *UpdateVirtualMachineParams) SetUserdata(v string)

type UpdateVirtualMachineResponse

type UpdateVirtualMachineResponse struct {
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type UpdateVmNicIpParams

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

func (*UpdateVmNicIpParams) SetIpaddress

func (p *UpdateVmNicIpParams) SetIpaddress(v string)

func (*UpdateVmNicIpParams) SetNicid

func (p *UpdateVmNicIpParams) SetNicid(v string)

type UpdateVmNicIpResponse

type UpdateVmNicIpResponse struct {
	JobID         string `json:"jobid,omitempty"`
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type UpdateVolumeParams

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

func (*UpdateVolumeParams) SetChaininfo

func (p *UpdateVolumeParams) SetChaininfo(v string)

func (*UpdateVolumeParams) SetCustomid

func (p *UpdateVolumeParams) SetCustomid(v string)

func (*UpdateVolumeParams) SetDiskcontroller

func (p *UpdateVolumeParams) SetDiskcontroller(v string)

func (*UpdateVolumeParams) SetDisplayvolume

func (p *UpdateVolumeParams) SetDisplayvolume(v bool)

func (*UpdateVolumeParams) SetId

func (p *UpdateVolumeParams) SetId(v string)

func (*UpdateVolumeParams) SetPath

func (p *UpdateVolumeParams) SetPath(v string)

func (*UpdateVolumeParams) SetState

func (p *UpdateVolumeParams) SetState(v string)

func (*UpdateVolumeParams) SetStorageid

func (p *UpdateVolumeParams) SetStorageid(v string)

type UpdateVolumeResponse

type UpdateVolumeResponse struct {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type UpdateVpnConnectionParams

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

func (*UpdateVpnConnectionParams) SetCustomid

func (p *UpdateVpnConnectionParams) SetCustomid(v string)

func (*UpdateVpnConnectionParams) SetFordisplay

func (p *UpdateVpnConnectionParams) SetFordisplay(v bool)

func (*UpdateVpnConnectionParams) SetId

func (p *UpdateVpnConnectionParams) SetId(v string)

type UpdateVpnConnectionResponse

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

type UpdateVpnCustomerGatewayParams

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

func (*UpdateVpnCustomerGatewayParams) SetAccount

func (p *UpdateVpnCustomerGatewayParams) SetAccount(v string)

func (*UpdateVpnCustomerGatewayParams) SetCidrlist

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

func (*UpdateVpnCustomerGatewayParams) SetDomainid

func (p *UpdateVpnCustomerGatewayParams) SetDomainid(v string)

func (*UpdateVpnCustomerGatewayParams) SetDpd

func (p *UpdateVpnCustomerGatewayParams) SetDpd(v bool)

func (*UpdateVpnCustomerGatewayParams) SetEsplifetime

func (p *UpdateVpnCustomerGatewayParams) SetEsplifetime(v int64)

func (*UpdateVpnCustomerGatewayParams) SetEsppolicy

func (p *UpdateVpnCustomerGatewayParams) SetEsppolicy(v string)

func (*UpdateVpnCustomerGatewayParams) SetForceencap

func (p *UpdateVpnCustomerGatewayParams) SetForceencap(v bool)

func (*UpdateVpnCustomerGatewayParams) SetGateway

func (p *UpdateVpnCustomerGatewayParams) SetGateway(v string)

func (*UpdateVpnCustomerGatewayParams) SetId

func (*UpdateVpnCustomerGatewayParams) SetIkelifetime

func (p *UpdateVpnCustomerGatewayParams) SetIkelifetime(v int64)

func (*UpdateVpnCustomerGatewayParams) SetIkepolicy

func (p *UpdateVpnCustomerGatewayParams) SetIkepolicy(v string)

func (*UpdateVpnCustomerGatewayParams) SetIpsecpsk

func (p *UpdateVpnCustomerGatewayParams) SetIpsecpsk(v string)

func (*UpdateVpnCustomerGatewayParams) SetName

func (p *UpdateVpnCustomerGatewayParams) SetName(v string)

type UpdateVpnCustomerGatewayResponse

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

type UpdateVpnGatewayParams

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

func (*UpdateVpnGatewayParams) SetCustomid

func (p *UpdateVpnGatewayParams) SetCustomid(v string)

func (*UpdateVpnGatewayParams) SetFordisplay

func (p *UpdateVpnGatewayParams) SetFordisplay(v bool)

func (*UpdateVpnGatewayParams) SetId

func (p *UpdateVpnGatewayParams) SetId(v string)

type UpdateVpnGatewayResponse

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

type UpdateZoneParams

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

func (*UpdateZoneParams) SetAllocationstate

func (p *UpdateZoneParams) SetAllocationstate(v string)

func (*UpdateZoneParams) SetDetails

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

func (*UpdateZoneParams) SetDhcpprovider

func (p *UpdateZoneParams) SetDhcpprovider(v string)

func (*UpdateZoneParams) SetDns1

func (p *UpdateZoneParams) SetDns1(v string)

func (*UpdateZoneParams) SetDns2

func (p *UpdateZoneParams) SetDns2(v string)

func (*UpdateZoneParams) SetDnssearchorder

func (p *UpdateZoneParams) SetDnssearchorder(v []string)

func (*UpdateZoneParams) SetDomain

func (p *UpdateZoneParams) SetDomain(v string)

func (*UpdateZoneParams) SetGuestcidraddress

func (p *UpdateZoneParams) SetGuestcidraddress(v string)

func (*UpdateZoneParams) SetId

func (p *UpdateZoneParams) SetId(v string)

func (*UpdateZoneParams) SetInternaldns1

func (p *UpdateZoneParams) SetInternaldns1(v string)

func (*UpdateZoneParams) SetInternaldns2

func (p *UpdateZoneParams) SetInternaldns2(v string)

func (*UpdateZoneParams) SetIp6dns1

func (p *UpdateZoneParams) SetIp6dns1(v string)

func (*UpdateZoneParams) SetIp6dns2

func (p *UpdateZoneParams) SetIp6dns2(v string)

func (*UpdateZoneParams) SetIspublic

func (p *UpdateZoneParams) SetIspublic(v bool)

func (*UpdateZoneParams) SetName

func (p *UpdateZoneParams) SetName(v string)

type UpdateZoneResponse

type UpdateZoneResponse struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Description         string            `json:"description,omitempty"`
	Dhcpprovider        string            `json:"dhcpprovider,omitempty"`
	Displaytext         string            `json:"displaytext,omitempty"`
	Dns1                string            `json:"dns1,omitempty"`
	Dns2                string            `json:"dns2,omitempty"`
	Domain              string            `json:"domain,omitempty"`
	Domainid            string            `json:"domainid,omitempty"`
	Domainname          string            `json:"domainname,omitempty"`
	Guestcidraddress    string            `json:"guestcidraddress,omitempty"`
	Id                  string            `json:"id,omitempty"`
	Internaldns1        string            `json:"internaldns1,omitempty"`
	Internaldns2        string            `json:"internaldns2,omitempty"`
	Ip6dns1             string            `json:"ip6dns1,omitempty"`
	Ip6dns2             string            `json:"ip6dns2,omitempty"`
	Localstorageenabled bool              `json:"localstorageenabled,omitempty"`
	Name                string            `json:"name,omitempty"`
	Networktype         string            `json:"networktype,omitempty"`
	Resourcedetails     map[string]string `json:"resourcedetails,omitempty"`
	Tags                []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Zonetoken string `json:"zonetoken,omitempty"`
}

type UpgradeRouterTemplateParams

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

func (*UpgradeRouterTemplateParams) SetAccount

func (p *UpgradeRouterTemplateParams) SetAccount(v string)

func (*UpgradeRouterTemplateParams) SetClusterid

func (p *UpgradeRouterTemplateParams) SetClusterid(v string)

func (*UpgradeRouterTemplateParams) SetDomainid

func (p *UpgradeRouterTemplateParams) SetDomainid(v string)

func (*UpgradeRouterTemplateParams) SetId

func (p *UpgradeRouterTemplateParams) SetId(v string)

func (*UpgradeRouterTemplateParams) SetPodid

func (p *UpgradeRouterTemplateParams) SetPodid(v string)

func (*UpgradeRouterTemplateParams) SetZoneid

func (p *UpgradeRouterTemplateParams) SetZoneid(v string)

type UpgradeRouterTemplateResponse

type UpgradeRouterTemplateResponse struct {
	Jobid     string `json:"jobid,omitempty"`
	Jobstatus int    `json:"jobstatus,omitempty"`
}

type UploadCustomCertificateParams

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

func (*UploadCustomCertificateParams) SetCertificate

func (p *UploadCustomCertificateParams) SetCertificate(v string)

func (*UploadCustomCertificateParams) SetDomainsuffix

func (p *UploadCustomCertificateParams) SetDomainsuffix(v string)

func (*UploadCustomCertificateParams) SetId

func (p *UploadCustomCertificateParams) SetId(v int)

func (*UploadCustomCertificateParams) SetName

func (p *UploadCustomCertificateParams) SetName(v string)

func (*UploadCustomCertificateParams) SetPrivatekey

func (p *UploadCustomCertificateParams) SetPrivatekey(v string)

type UploadCustomCertificateResponse

type UploadCustomCertificateResponse struct {
	JobID   string `json:"jobid,omitempty"`
	Message string `json:"message,omitempty"`
}

type UploadSslCertParams

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

func (*UploadSslCertParams) SetAccount

func (p *UploadSslCertParams) SetAccount(v string)

func (*UploadSslCertParams) SetCertchain

func (p *UploadSslCertParams) SetCertchain(v string)

func (*UploadSslCertParams) SetCertificate

func (p *UploadSslCertParams) SetCertificate(v string)

func (*UploadSslCertParams) SetDomainid

func (p *UploadSslCertParams) SetDomainid(v string)

func (*UploadSslCertParams) SetPassword

func (p *UploadSslCertParams) SetPassword(v string)

func (*UploadSslCertParams) SetPrivatekey

func (p *UploadSslCertParams) SetPrivatekey(v string)

func (*UploadSslCertParams) SetProjectid

func (p *UploadSslCertParams) SetProjectid(v string)

type UploadSslCertResponse

type UploadSslCertResponse struct {
	Account              string   `json:"account,omitempty"`
	Certchain            string   `json:"certchain,omitempty"`
	Certificate          string   `json:"certificate,omitempty"`
	Domain               string   `json:"domain,omitempty"`
	Domainid             string   `json:"domainid,omitempty"`
	Fingerprint          string   `json:"fingerprint,omitempty"`
	Id                   string   `json:"id,omitempty"`
	Loadbalancerrulelist []string `json:"loadbalancerrulelist,omitempty"`
	Project              string   `json:"project,omitempty"`
	Projectid            string   `json:"projectid,omitempty"`
}

type UploadVolumeParams

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

func (*UploadVolumeParams) SetAccount

func (p *UploadVolumeParams) SetAccount(v string)

func (*UploadVolumeParams) SetChecksum

func (p *UploadVolumeParams) SetChecksum(v string)

func (*UploadVolumeParams) SetDiskofferingid

func (p *UploadVolumeParams) SetDiskofferingid(v string)

func (*UploadVolumeParams) SetDomainid

func (p *UploadVolumeParams) SetDomainid(v string)

func (*UploadVolumeParams) SetFormat

func (p *UploadVolumeParams) SetFormat(v string)

func (*UploadVolumeParams) SetImagestoreuuid

func (p *UploadVolumeParams) SetImagestoreuuid(v string)

func (*UploadVolumeParams) SetName

func (p *UploadVolumeParams) SetName(v string)

func (*UploadVolumeParams) SetProjectid

func (p *UploadVolumeParams) SetProjectid(v string)

func (*UploadVolumeParams) SetUrl

func (p *UploadVolumeParams) SetUrl(v string)

func (*UploadVolumeParams) SetZoneid

func (p *UploadVolumeParams) SetZoneid(v string)

type UploadVolumeResponse

type UploadVolumeResponse struct {
	JobID                      string `json:"jobid,omitempty"`
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type UsageService

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

func NewUsageService

func NewUsageService(cs *CosmicClient) *UsageService

func (*UsageService) AddTrafficType

Adds traffic type to a physical network

func (*UsageService) DeleteTrafficType

Deletes traffic type of a physical network

func (*UsageService) GetTrafficTypeID

func (s *UsageService) GetTrafficTypeID(keyword string, physicalnetworkid string, opts ...OptionFunc) (string, int, error)

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

func (*UsageService) ListTrafficTypes

Lists traffic types of a given physical network.

func (*UsageService) NewAddTrafficTypeParams

func (s *UsageService) NewAddTrafficTypeParams(physicalnetworkid string, traffictype string) *AddTrafficTypeParams

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

func (*UsageService) NewDeleteTrafficTypeParams

func (s *UsageService) NewDeleteTrafficTypeParams(id string) *DeleteTrafficTypeParams

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

func (*UsageService) NewListTrafficTypesParams

func (s *UsageService) NewListTrafficTypesParams(physicalnetworkid string) *ListTrafficTypesParams

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

type User

type User struct {
	Account             string `json:"account,omitempty"`
	Accountid           string `json:"accountid,omitempty"`
	Accounttype         int    `json:"accounttype,omitempty"`
	Apikey              string `json:"apikey,omitempty"`
	Created             string `json:"created,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Domainid            string `json:"domainid,omitempty"`
	Email               string `json:"email,omitempty"`
	Firstname           string `json:"firstname,omitempty"`
	Id                  string `json:"id,omitempty"`
	Iscallerchilddomain bool   `json:"iscallerchilddomain,omitempty"`
	Isdefault           bool   `json:"isdefault,omitempty"`
	Lastname            string `json:"lastname,omitempty"`
	Secretkey           string `json:"secretkey,omitempty"`
	State               string `json:"state,omitempty"`
	Timezone            string `json:"timezone,omitempty"`
	Username            string `json:"username,omitempty"`
}

type UserService

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

func NewUserService

func NewUserService(cs *CosmicClient) *UserService

func (*UserService) CreateUser

func (s *UserService) CreateUser(p *CreateUserParams) (*CreateUserResponse, error)

Creates a user for an account that already exists

func (*UserService) DeleteUser

func (s *UserService) DeleteUser(p *DeleteUserParams) (*DeleteUserResponse, error)

Deletes a user for an account

func (*UserService) DisableUser

func (s *UserService) DisableUser(p *DisableUserParams) (*DisableUserResponse, error)

Disables a user account

func (*UserService) EnableUser

func (s *UserService) EnableUser(p *EnableUserParams) (*EnableUserResponse, error)

Enables a user account

func (*UserService) GetUser

func (s *UserService) GetUser(p *GetUserParams) (*GetUserResponse, error)

Find user account by API key

func (*UserService) GetUserByID

func (s *UserService) GetUserByID(id string, opts ...OptionFunc) (*User, int, error)

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

func (*UserService) GetVirtualMachineUserData

Returns user data associated with the VM

func (*UserService) ListUsers

func (s *UserService) ListUsers(p *ListUsersParams) (*ListUsersResponse, error)

Lists user accounts

func (*UserService) LockUser

func (s *UserService) LockUser(p *LockUserParams) (*LockUserResponse, error)

Locks a user account

func (*UserService) NewCreateUserParams

func (s *UserService) NewCreateUserParams(account string, domainid string, email string, firstname string, lastname string, password string, username string) *CreateUserParams

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

func (*UserService) NewDeleteUserParams

func (s *UserService) NewDeleteUserParams(id string) *DeleteUserParams

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

func (*UserService) NewDisableUserParams

func (s *UserService) NewDisableUserParams(id string) *DisableUserParams

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

func (*UserService) NewEnableUserParams

func (s *UserService) NewEnableUserParams(id string) *EnableUserParams

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

func (*UserService) NewGetUserParams

func (s *UserService) NewGetUserParams(userapikey string) *GetUserParams

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

func (*UserService) NewGetVirtualMachineUserDataParams

func (s *UserService) NewGetVirtualMachineUserDataParams(virtualmachineid string) *GetVirtualMachineUserDataParams

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

func (*UserService) NewListUsersParams

func (s *UserService) NewListUsersParams() *ListUsersParams

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

func (*UserService) NewLockUserParams

func (s *UserService) NewLockUserParams(id string) *LockUserParams

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

func (*UserService) NewRegisterUserKeysParams

func (s *UserService) NewRegisterUserKeysParams(id string) *RegisterUserKeysParams

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

func (*UserService) NewUpdateUserParams

func (s *UserService) NewUpdateUserParams(id string) *UpdateUserParams

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

func (*UserService) RegisterUserKeys

This command allows a user to register for the developer API, returning a secret key and an API key. This request is made through the integration API port, so it is a privileged command and must be made on behalf of a user. It is up to the implementer just how the username and password are entered, and then how that translates to an integration API request. Both secret key and API key should be returned to the user

func (*UserService) UpdateUser

func (s *UserService) UpdateUser(p *UpdateUserParams) (*UpdateUserResponse, error)

Updates a user account

type VLANService

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

func NewVLANService

func NewVLANService(cs *CosmicClient) *VLANService

func (*VLANService) CreateVlanIpRange

Creates a VLAN IP range.

func (*VLANService) DedicateGuestVlanRange

Dedicates a guest vlan range to an account

func (*VLANService) DeleteVlanIpRange

Creates a VLAN IP range.

func (*VLANService) GetDedicatedGuestVlanRangeByID

func (s *VLANService) GetDedicatedGuestVlanRangeByID(id string, opts ...OptionFunc) (*DedicatedGuestVlanRange, int, error)

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

func (*VLANService) GetVlanIpRangeByID

func (s *VLANService) GetVlanIpRangeByID(id string, opts ...OptionFunc) (*VlanIpRange, int, error)

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

func (*VLANService) ListDedicatedGuestVlanRanges

Lists dedicated guest vlan ranges

func (*VLANService) ListVlanIpRanges

Lists all VLAN IP ranges.

func (*VLANService) NewCreateVlanIpRangeParams

func (s *VLANService) NewCreateVlanIpRangeParams() *CreateVlanIpRangeParams

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

func (*VLANService) NewDedicateGuestVlanRangeParams

func (s *VLANService) NewDedicateGuestVlanRangeParams(account string, domainid string, physicalnetworkid string, vlanrange string) *DedicateGuestVlanRangeParams

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

func (*VLANService) NewDeleteVlanIpRangeParams

func (s *VLANService) NewDeleteVlanIpRangeParams(id string) *DeleteVlanIpRangeParams

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

func (*VLANService) NewListDedicatedGuestVlanRangesParams

func (s *VLANService) NewListDedicatedGuestVlanRangesParams() *ListDedicatedGuestVlanRangesParams

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

func (*VLANService) NewListVlanIpRangesParams

func (s *VLANService) NewListVlanIpRangesParams() *ListVlanIpRangesParams

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

func (*VLANService) NewReleaseDedicatedGuestVlanRangeParams

func (s *VLANService) NewReleaseDedicatedGuestVlanRangeParams(id string) *ReleaseDedicatedGuestVlanRangeParams

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

func (*VLANService) ReleaseDedicatedGuestVlanRange

Releases a dedicated guest vlan range to the system

type VMGroupService

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

func NewVMGroupService

func NewVMGroupService(cs *CosmicClient) *VMGroupService

func (*VMGroupService) CreateInstanceGroup

Creates a vm group

func (*VMGroupService) DeleteInstanceGroup

Deletes a vm group

func (*VMGroupService) GetInstanceGroupByID

func (s *VMGroupService) GetInstanceGroupByID(id string, opts ...OptionFunc) (*InstanceGroup, int, error)

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

func (*VMGroupService) GetInstanceGroupByName

func (s *VMGroupService) GetInstanceGroupByName(name string, opts ...OptionFunc) (*InstanceGroup, int, error)

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

func (*VMGroupService) GetInstanceGroupID

func (s *VMGroupService) GetInstanceGroupID(name string, opts ...OptionFunc) (string, int, error)

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

func (*VMGroupService) ListInstanceGroups

Lists vm groups

func (*VMGroupService) NewCreateInstanceGroupParams

func (s *VMGroupService) NewCreateInstanceGroupParams(name string) *CreateInstanceGroupParams

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

func (*VMGroupService) NewDeleteInstanceGroupParams

func (s *VMGroupService) NewDeleteInstanceGroupParams(id string) *DeleteInstanceGroupParams

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

func (*VMGroupService) NewListInstanceGroupsParams

func (s *VMGroupService) NewListInstanceGroupsParams() *ListInstanceGroupsParams

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

func (*VMGroupService) NewUpdateInstanceGroupParams

func (s *VMGroupService) NewUpdateInstanceGroupParams(id string) *UpdateInstanceGroupParams

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

func (*VMGroupService) UpdateInstanceGroup

Updates a vm group

type VMSnapshot

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

type VPC

type VPC struct {
	Account        string `json:"account,omitempty"`
	Advertinterval int64  `json:"advertinterval,omitempty"`
	Advertmethod   string `json:"advertmethod,omitempty"`
	Cidr           string `json:"cidr,omitempty"`
	Created        string `json:"created,omitempty"`
	Displaytext    string `json:"displaytext,omitempty"`
	Domain         string `json:"domain,omitempty"`
	Domainid       string `json:"domainid,omitempty"`
	Fordisplay     bool   `json:"fordisplay,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	Network        []struct {
		Account                     string `json:"account,omitempty"`
		Aclid                       string `json:"aclid,omitempty"`
		Aclname                     string `json:"aclname,omitempty"`
		Acltype                     string `json:"acltype,omitempty"`
		Broadcastdomaintype         string `json:"broadcastdomaintype,omitempty"`
		Broadcasturi                string `json:"broadcasturi,omitempty"`
		Canusefordeploy             bool   `json:"canusefordeploy,omitempty"`
		Cidr                        string `json:"cidr,omitempty"`
		Dhcpbootfilename            string `json:"dhcpbootfilename,omitempty"`
		Dhcptftpserver              string `json:"dhcptftpserver,omitempty"`
		Displaynetwork              bool   `json:"displaynetwork,omitempty"`
		Displaytext                 string `json:"displaytext,omitempty"`
		Dns1                        string `json:"dns1,omitempty"`
		Dns2                        string `json:"dns2,omitempty"`
		Domain                      string `json:"domain,omitempty"`
		Domainid                    string `json:"domainid,omitempty"`
		Gateway                     string `json:"gateway,omitempty"`
		Id                          string `json:"id,omitempty"`
		Ip6cidr                     string `json:"ip6cidr,omitempty"`
		Ip6gateway                  string `json:"ip6gateway,omitempty"`
		Ipexclusionlist             string `json:"ipexclusionlist,omitempty"`
		Isdefault                   bool   `json:"isdefault,omitempty"`
		Ispersistent                bool   `json:"ispersistent,omitempty"`
		Issystem                    bool   `json:"issystem,omitempty"`
		Name                        string `json:"name,omitempty"`
		Netmask                     string `json:"netmask,omitempty"`
		Networkcidr                 string `json:"networkcidr,omitempty"`
		Networkdomain               string `json:"networkdomain,omitempty"`
		Networkofferingavailability string `json:"networkofferingavailability,omitempty"`
		Networkofferingconservemode bool   `json:"networkofferingconservemode,omitempty"`
		Networkofferingdisplaytext  string `json:"networkofferingdisplaytext,omitempty"`
		Networkofferingid           string `json:"networkofferingid,omitempty"`
		Networkofferingname         string `json:"networkofferingname,omitempty"`
		Physicalnetworkid           string `json:"physicalnetworkid,omitempty"`
		Project                     string `json:"project,omitempty"`
		Projectid                   string `json:"projectid,omitempty"`
		Related                     string `json:"related,omitempty"`
		Reservediprange             string `json:"reservediprange,omitempty"`
		Restartrequired             bool   `json:"restartrequired,omitempty"`
		Service                     []struct {
			Capability []struct {
				Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
				Name                       string `json:"name,omitempty"`
				Value                      string `json:"value,omitempty"`
			} `json:"capability,omitempty"`
			Name     string `json:"name,omitempty"`
			Provider []struct {
				Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
				Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
				Id                           string   `json:"id,omitempty"`
				Name                         string   `json:"name,omitempty"`
				Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
				Servicelist                  []string `json:"servicelist,omitempty"`
				State                        string   `json:"state,omitempty"`
			} `json:"provider,omitempty"`
		} `json:"service,omitempty"`
		Specifyipranges  bool   `json:"specifyipranges,omitempty"`
		State            string `json:"state,omitempty"`
		Strechedl2subnet bool   `json:"strechedl2subnet,omitempty"`
		Subdomainaccess  bool   `json:"subdomainaccess,omitempty"`
		Tags             []struct {
			Account      string `json:"account,omitempty"`
			Customer     string `json:"customer,omitempty"`
			Domain       string `json:"domain,omitempty"`
			Domainid     string `json:"domainid,omitempty"`
			Key          string `json:"key,omitempty"`
			Project      string `json:"project,omitempty"`
			Projectid    string `json:"projectid,omitempty"`
			Resourceid   string `json:"resourceid,omitempty"`
			Resourcetype string `json:"resourcetype,omitempty"`
			Value        string `json:"value,omitempty"`
		} `json:"tags,omitempty"`
		Traffictype       string   `json:"traffictype,omitempty"`
		Type              string   `json:"type,omitempty"`
		Vlan              string   `json:"vlan,omitempty"`
		Vpcid             string   `json:"vpcid,omitempty"`
		Vpcname           string   `json:"vpcname,omitempty"`
		Zoneid            string   `json:"zoneid,omitempty"`
		Zonename          string   `json:"zonename,omitempty"`
		Zonesnetworkspans []string `json:"zonesnetworkspans,omitempty"`
	} `json:"network,omitempty"`
	Networkdomain      string `json:"networkdomain,omitempty"`
	Project            string `json:"project,omitempty"`
	Projectid          string `json:"projectid,omitempty"`
	Redundantvpcrouter bool   `json:"redundantvpcrouter,omitempty"`
	Restartrequired    bool   `json:"restartrequired,omitempty"`
	Service            []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Sourcenatlist    string `json:"sourcenatlist,omitempty"`
	State            string `json:"state,omitempty"`
	Syslogserverlist string `json:"syslogserverlist,omitempty"`
	Tags             []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Vpcofferingdisplaytext string `json:"vpcofferingdisplaytext,omitempty"`
	Vpcofferingid          string `json:"vpcofferingid,omitempty"`
	Vpcofferingname        string `json:"vpcofferingname,omitempty"`
	Zoneid                 string `json:"zoneid,omitempty"`
	Zonename               string `json:"zonename,omitempty"`
}

type VPCIDSetter

type VPCIDSetter interface {
	SetVpcid(string)
}

VPCIDSetter is an interface that every type that can set a vpc ID must implement

type VPCOffering

type VPCOffering struct {
	Created                      string `json:"created,omitempty"`
	Displaytext                  string `json:"displaytext,omitempty"`
	Id                           string `json:"id,omitempty"`
	Isdefault                    bool   `json:"isdefault,omitempty"`
	Name                         string `json:"name,omitempty"`
	Secondaryserviceofferingid   string `json:"secondaryserviceofferingid,omitempty"`
	Secondaryserviceofferingname string `json:"secondaryserviceofferingname,omitempty"`
	Service                      []struct {
		Capability []struct {
			Canchooseservicecapability bool   `json:"canchooseservicecapability,omitempty"`
			Name                       string `json:"name,omitempty"`
			Value                      string `json:"value,omitempty"`
		} `json:"capability,omitempty"`
		Name     string `json:"name,omitempty"`
		Provider []struct {
			Canenableindividualservice   bool     `json:"canenableindividualservice,omitempty"`
			Destinationphysicalnetworkid string   `json:"destinationphysicalnetworkid,omitempty"`
			Id                           string   `json:"id,omitempty"`
			Name                         string   `json:"name,omitempty"`
			Physicalnetworkid            string   `json:"physicalnetworkid,omitempty"`
			Servicelist                  []string `json:"servicelist,omitempty"`
			State                        string   `json:"state,omitempty"`
		} `json:"provider,omitempty"`
	} `json:"service,omitempty"`
	Serviceofferingid   string `json:"serviceofferingid,omitempty"`
	Serviceofferingname string `json:"serviceofferingname,omitempty"`
	State               string `json:"state,omitempty"`
}

type VPCService

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

func NewVPCService

func NewVPCService(cs *CosmicClient) *VPCService

func (*VPCService) CreatePrivateGateway

Creates a private gateway

func (*VPCService) CreateStaticRoute

Creates a static route

func (*VPCService) CreateVPC

func (s *VPCService) CreateVPC(p *CreateVPCParams) (*CreateVPCResponse, error)

Creates a VPC

func (*VPCService) CreateVPCOffering

Creates VPC offering

func (*VPCService) DeletePrivateGateway

Deletes a Private gateway

func (*VPCService) DeleteStaticRoute

Deletes a static route

func (*VPCService) DeleteVPC

func (s *VPCService) DeleteVPC(p *DeleteVPCParams) (*DeleteVPCResponse, error)

Deletes a VPC

func (*VPCService) DeleteVPCOffering

Deletes VPC offering

func (*VPCService) GetPrivateGatewayByID

func (s *VPCService) GetPrivateGatewayByID(id string, opts ...OptionFunc) (*PrivateGateway, int, error)

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

func (*VPCService) GetStaticRouteByID

func (s *VPCService) GetStaticRouteByID(id string, opts ...OptionFunc) (*StaticRoute, int, error)

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

func (*VPCService) GetVPCByID

func (s *VPCService) GetVPCByID(id string, opts ...OptionFunc) (*VPC, int, error)

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

func (*VPCService) GetVPCByName

func (s *VPCService) GetVPCByName(name string, opts ...OptionFunc) (*VPC, int, error)

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

func (*VPCService) GetVPCID

func (s *VPCService) GetVPCID(name string, opts ...OptionFunc) (string, int, error)

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

func (*VPCService) GetVPCOfferingByID

func (s *VPCService) GetVPCOfferingByID(id string, opts ...OptionFunc) (*VPCOffering, int, error)

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

func (*VPCService) GetVPCOfferingByName

func (s *VPCService) GetVPCOfferingByName(name string, opts ...OptionFunc) (*VPCOffering, int, error)

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

func (*VPCService) GetVPCOfferingID

func (s *VPCService) GetVPCOfferingID(name string, opts ...OptionFunc) (string, int, error)

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

func (*VPCService) ListPrivateGateways

List private gateways

func (*VPCService) ListStaticRoutes

Lists all static routes

func (*VPCService) ListVPCOfferings

Lists VPC offerings

func (*VPCService) ListVPCs

func (s *VPCService) ListVPCs(p *ListVPCsParams) (*ListVPCsResponse, error)

Lists VPCs

func (*VPCService) NewCreatePrivateGatewayParams

func (s *VPCService) NewCreatePrivateGatewayParams(ipaddress string, networkid string, vpcid string) *CreatePrivateGatewayParams

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

func (*VPCService) NewCreateStaticRouteParams

func (s *VPCService) NewCreateStaticRouteParams(cidr string, nexthop string, vpcid string) *CreateStaticRouteParams

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

func (*VPCService) NewCreateVPCOfferingParams

func (s *VPCService) NewCreateVPCOfferingParams(displaytext string, name string, supportedservices []string) *CreateVPCOfferingParams

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

func (*VPCService) NewCreateVPCParams

func (s *VPCService) NewCreateVPCParams(cidr string, displaytext string, name string, vpcofferingid string, zoneid string) *CreateVPCParams

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

func (*VPCService) NewDeletePrivateGatewayParams

func (s *VPCService) NewDeletePrivateGatewayParams(id string) *DeletePrivateGatewayParams

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

func (*VPCService) NewDeleteStaticRouteParams

func (s *VPCService) NewDeleteStaticRouteParams(id string) *DeleteStaticRouteParams

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

func (*VPCService) NewDeleteVPCOfferingParams

func (s *VPCService) NewDeleteVPCOfferingParams(id string) *DeleteVPCOfferingParams

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

func (*VPCService) NewDeleteVPCParams

func (s *VPCService) NewDeleteVPCParams(id string) *DeleteVPCParams

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

func (*VPCService) NewListPrivateGatewaysParams

func (s *VPCService) NewListPrivateGatewaysParams() *ListPrivateGatewaysParams

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

func (*VPCService) NewListStaticRoutesParams

func (s *VPCService) NewListStaticRoutesParams() *ListStaticRoutesParams

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

func (*VPCService) NewListVPCOfferingsParams

func (s *VPCService) NewListVPCOfferingsParams() *ListVPCOfferingsParams

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

func (*VPCService) NewListVPCsParams

func (s *VPCService) NewListVPCsParams() *ListVPCsParams

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

func (*VPCService) NewRestartVPCParams

func (s *VPCService) NewRestartVPCParams(id string) *RestartVPCParams

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

func (*VPCService) NewUpdateVPCOfferingParams

func (s *VPCService) NewUpdateVPCOfferingParams(id string) *UpdateVPCOfferingParams

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

func (*VPCService) NewUpdateVPCParams

func (s *VPCService) NewUpdateVPCParams(id string) *UpdateVPCParams

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

func (*VPCService) RestartVPC

func (s *VPCService) RestartVPC(p *RestartVPCParams) (*RestartVPCResponse, error)

Restarts a VPC

func (*VPCService) UpdateVPC

func (s *VPCService) UpdateVPC(p *UpdateVPCParams) (*UpdateVPCResponse, error)

Updates a VPC

func (*VPCService) UpdateVPCOffering

Updates VPC offering

type VPNService

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

func NewVPNService

func NewVPNService(cs *CosmicClient) *VPNService

func (*VPNService) AddVpnUser

func (s *VPNService) AddVpnUser(p *AddVpnUserParams) (*AddVpnUserResponse, error)

Adds vpn users

func (*VPNService) CreateRemoteAccessVpn

Creates a l2tp/ipsec remote access vpn

func (*VPNService) CreateVpnConnection

Create site to site vpn connection

func (*VPNService) CreateVpnCustomerGateway

Creates site to site vpn customer gateway

func (*VPNService) CreateVpnGateway

Creates site to site vpn local gateway

func (*VPNService) DeleteRemoteAccessVpn

Destroys a l2tp/ipsec remote access vpn

func (*VPNService) DeleteVpnConnection

Delete site to site vpn connection

func (*VPNService) DeleteVpnCustomerGateway

Delete site to site vpn customer gateway

func (*VPNService) DeleteVpnGateway

Delete site to site vpn gateway

func (*VPNService) GetRemoteAccessVpnByID

func (s *VPNService) GetRemoteAccessVpnByID(id string, opts ...OptionFunc) (*RemoteAccessVpn, int, error)

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

func (*VPNService) GetVpnConnectionByID

func (s *VPNService) GetVpnConnectionByID(id string, opts ...OptionFunc) (*VpnConnection, int, error)

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

func (*VPNService) GetVpnCustomerGatewayByID

func (s *VPNService) GetVpnCustomerGatewayByID(id string, opts ...OptionFunc) (*VpnCustomerGateway, int, error)

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

func (*VPNService) GetVpnCustomerGatewayByName

func (s *VPNService) GetVpnCustomerGatewayByName(name string, opts ...OptionFunc) (*VpnCustomerGateway, int, error)

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

func (*VPNService) GetVpnCustomerGatewayID

func (s *VPNService) GetVpnCustomerGatewayID(keyword string, opts ...OptionFunc) (string, int, error)

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

func (*VPNService) GetVpnGatewayByID

func (s *VPNService) GetVpnGatewayByID(id string, opts ...OptionFunc) (*VpnGateway, int, error)

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

func (*VPNService) GetVpnUserByID

func (s *VPNService) GetVpnUserByID(id string, opts ...OptionFunc) (*VpnUser, int, error)

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

func (*VPNService) ListRemoteAccessVpns

Lists remote access vpns

func (*VPNService) ListVpnConnections

Lists site to site vpn connection gateways

func (*VPNService) ListVpnCustomerGateways

Lists site to site vpn customer gateways

func (*VPNService) ListVpnGateways

Lists site 2 site vpn gateways

func (*VPNService) ListVpnUsers

func (s *VPNService) ListVpnUsers(p *ListVpnUsersParams) (*ListVpnUsersResponse, error)

Lists vpn users

func (*VPNService) NewAddVpnUserParams

func (s *VPNService) NewAddVpnUserParams(password string, username string) *AddVpnUserParams

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

func (*VPNService) NewCreateRemoteAccessVpnParams

func (s *VPNService) NewCreateRemoteAccessVpnParams(publicipid string) *CreateRemoteAccessVpnParams

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

func (*VPNService) NewCreateVpnConnectionParams

func (s *VPNService) NewCreateVpnConnectionParams(s2scustomergatewayid string, s2svpngatewayid string) *CreateVpnConnectionParams

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

func (*VPNService) NewCreateVpnCustomerGatewayParams

func (s *VPNService) NewCreateVpnCustomerGatewayParams(cidrlist []string, esppolicy string, gateway string, ikepolicy string, ipsecpsk string) *CreateVpnCustomerGatewayParams

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

func (*VPNService) NewCreateVpnGatewayParams

func (s *VPNService) NewCreateVpnGatewayParams(vpcid string) *CreateVpnGatewayParams

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

func (*VPNService) NewDeleteRemoteAccessVpnParams

func (s *VPNService) NewDeleteRemoteAccessVpnParams(publicipid string) *DeleteRemoteAccessVpnParams

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

func (*VPNService) NewDeleteVpnConnectionParams

func (s *VPNService) NewDeleteVpnConnectionParams(id string) *DeleteVpnConnectionParams

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

func (*VPNService) NewDeleteVpnCustomerGatewayParams

func (s *VPNService) NewDeleteVpnCustomerGatewayParams(id string) *DeleteVpnCustomerGatewayParams

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

func (*VPNService) NewDeleteVpnGatewayParams

func (s *VPNService) NewDeleteVpnGatewayParams(id string) *DeleteVpnGatewayParams

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

func (*VPNService) NewListRemoteAccessVpnsParams

func (s *VPNService) NewListRemoteAccessVpnsParams() *ListRemoteAccessVpnsParams

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

func (*VPNService) NewListVpnConnectionsParams

func (s *VPNService) NewListVpnConnectionsParams() *ListVpnConnectionsParams

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

func (*VPNService) NewListVpnCustomerGatewaysParams

func (s *VPNService) NewListVpnCustomerGatewaysParams() *ListVpnCustomerGatewaysParams

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

func (*VPNService) NewListVpnGatewaysParams

func (s *VPNService) NewListVpnGatewaysParams() *ListVpnGatewaysParams

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

func (*VPNService) NewListVpnUsersParams

func (s *VPNService) NewListVpnUsersParams() *ListVpnUsersParams

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

func (*VPNService) NewRemoveVpnUserParams

func (s *VPNService) NewRemoveVpnUserParams(username string) *RemoveVpnUserParams

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

func (*VPNService) NewResetVpnConnectionParams

func (s *VPNService) NewResetVpnConnectionParams(id string) *ResetVpnConnectionParams

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

func (*VPNService) NewUpdateRemoteAccessVpnParams

func (s *VPNService) NewUpdateRemoteAccessVpnParams(id string) *UpdateRemoteAccessVpnParams

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

func (*VPNService) NewUpdateVpnConnectionParams

func (s *VPNService) NewUpdateVpnConnectionParams(id string) *UpdateVpnConnectionParams

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

func (*VPNService) NewUpdateVpnCustomerGatewayParams

func (s *VPNService) NewUpdateVpnCustomerGatewayParams(cidrlist []string, esppolicy string, gateway string, id string, ikepolicy string, ipsecpsk string) *UpdateVpnCustomerGatewayParams

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

func (*VPNService) NewUpdateVpnGatewayParams

func (s *VPNService) NewUpdateVpnGatewayParams(id string) *UpdateVpnGatewayParams

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

func (*VPNService) RemoveVpnUser

func (s *VPNService) RemoveVpnUser(p *RemoveVpnUserParams) (*RemoveVpnUserResponse, error)

Removes vpn user

func (*VPNService) ResetVpnConnection

Reset site to site vpn connection

func (*VPNService) UpdateRemoteAccessVpn

Updates remote access vpn

func (*VPNService) UpdateVpnConnection

Updates site to site vpn connection

func (*VPNService) UpdateVpnCustomerGateway

Update site to site vpn customer gateway

func (*VPNService) UpdateVpnGateway

Updates site to site vpn local gateway

type VirtualMachine

type VirtualMachine struct {
	Account       string `json:"account,omitempty"`
	Affinitygroup []struct {
		Account           string   `json:"account,omitempty"`
		Description       string   `json:"description,omitempty"`
		Domain            string   `json:"domain,omitempty"`
		Domainid          string   `json:"domainid,omitempty"`
		Id                string   `json:"id,omitempty"`
		Name              string   `json:"name,omitempty"`
		Project           string   `json:"project,omitempty"`
		Projectid         string   `json:"projectid,omitempty"`
		Type              string   `json:"type,omitempty"`
		VirtualmachineIds []string `json:"virtualmachineIds,omitempty"`
	} `json:"affinitygroup,omitempty"`
	Bootmenutimeout       int64             `json:"bootmenutimeout,omitempty"`
	Cpunumber             int               `json:"cpunumber,omitempty"`
	Cpuused               string            `json:"cpuused,omitempty"`
	Created               string            `json:"created,omitempty"`
	Details               map[string]string `json:"details,omitempty"`
	Diskioread            int64             `json:"diskioread,omitempty"`
	Diskiowrite           int64             `json:"diskiowrite,omitempty"`
	Diskkbsread           int64             `json:"diskkbsread,omitempty"`
	Diskkbswrite          int64             `json:"diskkbswrite,omitempty"`
	Diskofferingid        string            `json:"diskofferingid,omitempty"`
	Diskofferingname      string            `json:"diskofferingname,omitempty"`
	Displayname           string            `json:"displayname,omitempty"`
	Displayvm             bool              `json:"displayvm,omitempty"`
	Domain                string            `json:"domain,omitempty"`
	Domainid              string            `json:"domainid,omitempty"`
	Forvirtualnetwork     bool              `json:"forvirtualnetwork,omitempty"`
	Group                 string            `json:"group,omitempty"`
	Groupid               string            `json:"groupid,omitempty"`
	Guestosid             string            `json:"guestosid,omitempty"`
	Haenable              bool              `json:"haenable,omitempty"`
	Hostid                string            `json:"hostid,omitempty"`
	Hostname              string            `json:"hostname,omitempty"`
	Hypervisor            string            `json:"hypervisor,omitempty"`
	Id                    string            `json:"id,omitempty"`
	Instancename          string            `json:"instancename,omitempty"`
	Isdynamicallyscalable bool              `json:"isdynamicallyscalable,omitempty"`
	Isodisplaytext        string            `json:"isodisplaytext,omitempty"`
	Isoid                 string            `json:"isoid,omitempty"`
	Isoname               string            `json:"isoname,omitempty"`
	Keypair               string            `json:"keypair,omitempty"`
	Laststartdate         string            `json:"laststartdate,omitempty"`
	Laststartversion      string            `json:"laststartversion,omitempty"`
	Maintenancepolicy     string            `json:"maintenancepolicy,omitempty"`
	Manufacturerstring    string            `json:"manufacturerstring,omitempty"`
	Memory                int               `json:"memory,omitempty"`
	Name                  string            `json:"name,omitempty"`
	Networkkbsread        int64             `json:"networkkbsread,omitempty"`
	Networkkbswrite       int64             `json:"networkkbswrite,omitempty"`
	Nic                   []struct {
		Broadcasturi string `json:"broadcasturi,omitempty"`
		Gateway      string `json:"gateway,omitempty"`
		Id           string `json:"id,omitempty"`
		Ip6address   string `json:"ip6address,omitempty"`
		Ip6cidr      string `json:"ip6cidr,omitempty"`
		Ip6gateway   string `json:"ip6gateway,omitempty"`
		Ipaddress    string `json:"ipaddress,omitempty"`
		Isdefault    bool   `json:"isdefault,omitempty"`
		Isolationuri string `json:"isolationuri,omitempty"`
		Macaddress   string `json:"macaddress,omitempty"`
		Netmask      string `json:"netmask,omitempty"`
		Networkid    string `json:"networkid,omitempty"`
		Networkname  string `json:"networkname,omitempty"`
		Secondaryip  []struct {
			Id        string `json:"id,omitempty"`
			Ipaddress string `json:"ipaddress,omitempty"`
		} `json:"secondaryip,omitempty"`
		Traffictype      string `json:"traffictype,omitempty"`
		Type             string `json:"type,omitempty"`
		Virtualmachineid string `json:"virtualmachineid,omitempty"`
	} `json:"nic,omitempty"`
	Optimisefor          string `json:"optimisefor,omitempty"`
	Ostypeid             int64  `json:"ostypeid,omitempty"`
	Password             string `json:"password,omitempty"`
	Passwordenabled      bool   `json:"passwordenabled,omitempty"`
	Project              string `json:"project,omitempty"`
	Projectid            string `json:"projectid,omitempty"`
	Publicip             string `json:"publicip,omitempty"`
	Publicipid           string `json:"publicipid,omitempty"`
	Restartrequired      bool   `json:"restartrequired,omitempty"`
	Rootdevicecontroller string `json:"rootdevicecontroller,omitempty"`
	Rootdeviceid         int64  `json:"rootdeviceid,omitempty"`
	Rootdevicetype       string `json:"rootdevicetype,omitempty"`
	Serviceofferingid    string `json:"serviceofferingid,omitempty"`
	Serviceofferingname  string `json:"serviceofferingname,omitempty"`
	Servicestate         string `json:"servicestate,omitempty"`
	State                string `json:"state,omitempty"`
	Tags                 []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Userid              string `json:"userid,omitempty"`
	Username            string `json:"username,omitempty"`
	Vgpu                string `json:"vgpu,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type VirtualMachineService

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

func NewVirtualMachineService

func NewVirtualMachineService(cs *CosmicClient) *VirtualMachineService

func (*VirtualMachineService) AddNicToVirtualMachine

Adds VM to specified network by creating a NIC

func (*VirtualMachineService) AssignVirtualMachine

Change ownership of a VM from one account to another. This API is available for Basic zones with security groups and Advanced zones with guest networks. A root administrator can reassign a VM from any account to any other account in any domain. A domain administrator can reassign a VM to any account in the same domain.

func (*VirtualMachineService) ChangeServiceForVirtualMachine

Changes the service offering for a virtual machine. The virtual machine must be in a "Stopped" state for this command to take effect.

func (*VirtualMachineService) CleanVMReservations

Cleanups VM reservations in the database.

func (*VirtualMachineService) DeployVirtualMachine

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

func (*VirtualMachineService) DestroyVirtualMachine

Destroys a virtual machine.

func (*VirtualMachineService) ExpungeVirtualMachine

Expunge a virtual machine. Once expunged, it cannot be recoverd.

func (*VirtualMachineService) GetVMPassword

Returns an encrypted password for the VM

func (*VirtualMachineService) GetVirtualMachineByID

func (s *VirtualMachineService) GetVirtualMachineByID(id string, opts ...OptionFunc) (*VirtualMachine, int, error)

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

func (*VirtualMachineService) GetVirtualMachineByName

func (s *VirtualMachineService) GetVirtualMachineByName(name string, opts ...OptionFunc) (*VirtualMachine, int, error)

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

func (*VirtualMachineService) GetVirtualMachineID

func (s *VirtualMachineService) GetVirtualMachineID(name string, opts ...OptionFunc) (string, int, error)

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

func (*VirtualMachineService) ListVirtualMachines

List the virtual machines owned by the account.

func (*VirtualMachineService) MigrateVirtualMachine

Attempts Migration of a VM to a different host or Root volume of the vm to a different storage pool

func (*VirtualMachineService) MigrateVirtualMachineWithVolume

Attempts Migration of a VM with its volumes to a different host

func (*VirtualMachineService) NewAddNicToVirtualMachineParams

func (s *VirtualMachineService) NewAddNicToVirtualMachineParams(networkid string, virtualmachineid string) *AddNicToVirtualMachineParams

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

func (*VirtualMachineService) NewAssignVirtualMachineParams

func (s *VirtualMachineService) NewAssignVirtualMachineParams(account string, domainid string, virtualmachineid string) *AssignVirtualMachineParams

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

func (*VirtualMachineService) NewChangeServiceForVirtualMachineParams

func (s *VirtualMachineService) NewChangeServiceForVirtualMachineParams(id string, serviceofferingid string) *ChangeServiceForVirtualMachineParams

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

func (*VirtualMachineService) NewCleanVMReservationsParams

func (s *VirtualMachineService) NewCleanVMReservationsParams() *CleanVMReservationsParams

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

func (*VirtualMachineService) NewDeployVirtualMachineParams

func (s *VirtualMachineService) NewDeployVirtualMachineParams(serviceofferingid string, templateid string, zoneid string) *DeployVirtualMachineParams

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

func (*VirtualMachineService) NewDestroyVirtualMachineParams

func (s *VirtualMachineService) NewDestroyVirtualMachineParams(id string) *DestroyVirtualMachineParams

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

func (*VirtualMachineService) NewExpungeVirtualMachineParams

func (s *VirtualMachineService) NewExpungeVirtualMachineParams(id string) *ExpungeVirtualMachineParams

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

func (*VirtualMachineService) NewGetVMPasswordParams

func (s *VirtualMachineService) NewGetVMPasswordParams(id string) *GetVMPasswordParams

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

func (*VirtualMachineService) NewListVirtualMachinesParams

func (s *VirtualMachineService) NewListVirtualMachinesParams() *ListVirtualMachinesParams

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

func (*VirtualMachineService) NewMigrateVirtualMachineParams

func (s *VirtualMachineService) NewMigrateVirtualMachineParams(virtualmachineid string) *MigrateVirtualMachineParams

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

func (*VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams

func (s *VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams(hostid string, virtualmachineid string) *MigrateVirtualMachineWithVolumeParams

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

func (*VirtualMachineService) NewRebootVirtualMachineParams

func (s *VirtualMachineService) NewRebootVirtualMachineParams(id string) *RebootVirtualMachineParams

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

func (*VirtualMachineService) NewRecoverVirtualMachineParams

func (s *VirtualMachineService) NewRecoverVirtualMachineParams(id string) *RecoverVirtualMachineParams

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

func (*VirtualMachineService) NewRemoveNicFromVirtualMachineParams

func (s *VirtualMachineService) NewRemoveNicFromVirtualMachineParams(nicid string, virtualmachineid string) *RemoveNicFromVirtualMachineParams

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

func (*VirtualMachineService) NewResetPasswordForVirtualMachineParams

func (s *VirtualMachineService) NewResetPasswordForVirtualMachineParams(id string) *ResetPasswordForVirtualMachineParams

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

func (*VirtualMachineService) NewRestoreVirtualMachineParams

func (s *VirtualMachineService) NewRestoreVirtualMachineParams(virtualmachineid string) *RestoreVirtualMachineParams

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

func (*VirtualMachineService) NewScaleVirtualMachineParams

func (s *VirtualMachineService) NewScaleVirtualMachineParams(id string, serviceofferingid string) *ScaleVirtualMachineParams

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

func (*VirtualMachineService) NewStartVirtualMachineParams

func (s *VirtualMachineService) NewStartVirtualMachineParams(id string) *StartVirtualMachineParams

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

func (*VirtualMachineService) NewStopVirtualMachineParams

func (s *VirtualMachineService) NewStopVirtualMachineParams(id string) *StopVirtualMachineParams

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

func (*VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams

func (s *VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams(nicid string, virtualmachineid string) *UpdateDefaultNicForVirtualMachineParams

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

func (*VirtualMachineService) NewUpdateVirtualMachineParams

func (s *VirtualMachineService) NewUpdateVirtualMachineParams(id string) *UpdateVirtualMachineParams

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

func (*VirtualMachineService) RebootVirtualMachine

Reboots a virtual machine.

func (*VirtualMachineService) RecoverVirtualMachine

Recovers a virtual machine.

func (*VirtualMachineService) RemoveNicFromVirtualMachine

Removes VM from specified network by deleting a NIC

func (*VirtualMachineService) ResetPasswordForVirtualMachine

Resets the password for virtual machine. The virtual machine must be in a "Stopped" state and the template must already support this feature for this command to take effect. [async]

func (*VirtualMachineService) RestoreVirtualMachine

Restore a VM to original template/ISO or new template/ISO

func (*VirtualMachineService) ScaleVirtualMachine

Scales the virtual machine to a new service offering.

func (*VirtualMachineService) StartVirtualMachine

Starts a virtual machine.

func (*VirtualMachineService) StopVirtualMachine

Stops a virtual machine.

func (*VirtualMachineService) UpdateDefaultNicForVirtualMachine

Changes the default NIC on a VM

func (*VirtualMachineService) UpdateVirtualMachine

Updates properties of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect. UpdateVirtualMachine does not first check whether the VM is stopped. Therefore, stop the VM manually before issuing this call.

type VirtualRouterElement

type VirtualRouterElement struct {
	Account   string `json:"account,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Enabled   bool   `json:"enabled,omitempty"`
	Id        string `json:"id,omitempty"`
	Nspid     string `json:"nspid,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
}

type VlanIpRange

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

type Volume

type Volume struct {
	Account                    string `json:"account,omitempty"`
	Attached                   string `json:"attached,omitempty"`
	Chaininfo                  string `json:"chaininfo,omitempty"`
	Created                    string `json:"created,omitempty"`
	Destroyed                  bool   `json:"destroyed,omitempty"`
	Deviceid                   int64  `json:"deviceid,omitempty"`
	DiskBytesReadRate          int64  `json:"diskBytesReadRate,omitempty"`
	DiskBytesWriteRate         int64  `json:"diskBytesWriteRate,omitempty"`
	DiskIopsRatePerGb          bool   `json:"diskIopsRatePerGb,omitempty"`
	DiskIopsReadRate           int64  `json:"diskIopsReadRate,omitempty"`
	DiskIopsTotalRate          int64  `json:"diskIopsTotalRate,omitempty"`
	DiskIopsWriteRate          int64  `json:"diskIopsWriteRate,omitempty"`
	Diskcontroller             string `json:"diskcontroller,omitempty"`
	Diskofferingdisplaytext    string `json:"diskofferingdisplaytext,omitempty"`
	Diskofferingid             string `json:"diskofferingid,omitempty"`
	Diskofferingname           string `json:"diskofferingname,omitempty"`
	Displayvolume              bool   `json:"displayvolume,omitempty"`
	Domain                     string `json:"domain,omitempty"`
	Domainid                   string `json:"domainid,omitempty"`
	Format                     string `json:"format,omitempty"`
	Hypervisor                 string `json:"hypervisor,omitempty"`
	Id                         string `json:"id,omitempty"`
	Isextractable              bool   `json:"isextractable,omitempty"`
	Isodisplaytext             string `json:"isodisplaytext,omitempty"`
	Isoid                      string `json:"isoid,omitempty"`
	Isoname                    string `json:"isoname,omitempty"`
	Maxiops                    int64  `json:"maxiops,omitempty"`
	Miniops                    int64  `json:"miniops,omitempty"`
	Name                       string `json:"name,omitempty"`
	Path                       string `json:"path,omitempty"`
	Project                    string `json:"project,omitempty"`
	Projectid                  string `json:"projectid,omitempty"`
	Provisioningtype           string `json:"provisioningtype,omitempty"`
	Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"`
	Serviceofferingid          string `json:"serviceofferingid,omitempty"`
	Serviceofferingname        string `json:"serviceofferingname,omitempty"`
	Size                       int64  `json:"size,omitempty"`
	Snapshotid                 string `json:"snapshotid,omitempty"`
	State                      string `json:"state,omitempty"`
	Status                     string `json:"status,omitempty"`
	Storage                    string `json:"storage,omitempty"`
	Storageid                  string `json:"storageid,omitempty"`
	Storagetype                string `json:"storagetype,omitempty"`
	Tags                       []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Templatedisplaytext string `json:"templatedisplaytext,omitempty"`
	Templateid          string `json:"templateid,omitempty"`
	Templatename        string `json:"templatename,omitempty"`
	Type                string `json:"type,omitempty"`
	Virtualmachineid    string `json:"virtualmachineid,omitempty"`
	Vmdisplayname       string `json:"vmdisplayname,omitempty"`
	Vmname              string `json:"vmname,omitempty"`
	Vmstate             string `json:"vmstate,omitempty"`
	Zoneid              string `json:"zoneid,omitempty"`
	Zonename            string `json:"zonename,omitempty"`
}

type VolumeService

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

func NewVolumeService

func NewVolumeService(cs *CosmicClient) *VolumeService

func (*VolumeService) AttachVolume

Attaches a disk volume to a virtual machine.

func (*VolumeService) CreateVolume

Creates a disk volume from a disk offering. This disk volume must still be attached to a virtual machine to make use of it.

func (*VolumeService) DeleteVolume

Deletes a detached disk volume.

func (*VolumeService) DetachVolume

Detaches a disk volume from a virtual machine.

func (*VolumeService) ExtractVolume

Extracts volume

func (*VolumeService) GetUploadParamsForVolume

Upload a data disk to the cloudstack cloud.

func (*VolumeService) GetVolumeByID

func (s *VolumeService) GetVolumeByID(id string, opts ...OptionFunc) (*Volume, int, error)

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

func (*VolumeService) GetVolumeByName

func (s *VolumeService) GetVolumeByName(name string, opts ...OptionFunc) (*Volume, int, error)

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

func (*VolumeService) GetVolumeID

func (s *VolumeService) GetVolumeID(name string, opts ...OptionFunc) (string, int, error)

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

func (*VolumeService) ListVolumes

Lists all volumes.

func (*VolumeService) MigrateVolume

Migrate volume

func (*VolumeService) NewAttachVolumeParams

func (s *VolumeService) NewAttachVolumeParams(id string, virtualmachineid string) *AttachVolumeParams

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

func (*VolumeService) NewCreateVolumeParams

func (s *VolumeService) NewCreateVolumeParams() *CreateVolumeParams

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

func (*VolumeService) NewDeleteVolumeParams

func (s *VolumeService) NewDeleteVolumeParams(id string) *DeleteVolumeParams

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

func (*VolumeService) NewDetachVolumeParams

func (s *VolumeService) NewDetachVolumeParams() *DetachVolumeParams

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

func (*VolumeService) NewExtractVolumeParams

func (s *VolumeService) NewExtractVolumeParams(id string, mode string, zoneid string) *ExtractVolumeParams

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

func (*VolumeService) NewGetUploadParamsForVolumeParams

func (s *VolumeService) NewGetUploadParamsForVolumeParams(format string, name string, zoneid string) *GetUploadParamsForVolumeParams

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

func (*VolumeService) NewListVolumesParams

func (s *VolumeService) NewListVolumesParams() *ListVolumesParams

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

func (*VolumeService) NewMigrateVolumeParams

func (s *VolumeService) NewMigrateVolumeParams(storageid string, volumeid string) *MigrateVolumeParams

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

func (*VolumeService) NewResizeVolumeParams

func (s *VolumeService) NewResizeVolumeParams(id string) *ResizeVolumeParams

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

func (*VolumeService) NewUpdateVolumeParams

func (s *VolumeService) NewUpdateVolumeParams() *UpdateVolumeParams

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

func (*VolumeService) NewUploadVolumeParams

func (s *VolumeService) NewUploadVolumeParams(format string, name string, url string, zoneid string) *UploadVolumeParams

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

func (*VolumeService) ResizeVolume

Resizes a volume

func (*VolumeService) UpdateVolume

Updates the volume.

func (*VolumeService) UploadVolume

Uploads a data disk.

type VpnConnection

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

type VpnCustomerGateway

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

type VpnGateway

type VpnGateway struct {
	Account    string `json:"account,omitempty"`
	Domain     string `json:"domain,omitempty"`
	Domainid   string `json:"domainid,omitempty"`
	Fordisplay bool   `json:"fordisplay,omitempty"`
	Id         string `json:"id,omitempty"`
	Project    string `json:"project,omitempty"`
	Projectid  string `json:"projectid,omitempty"`
	Publicip   string `json:"publicip,omitempty"`
	Removed    string `json:"removed,omitempty"`
	Vpcid      string `json:"vpcid,omitempty"`
}

type VpnUser

type VpnUser struct {
	Account   string `json:"account,omitempty"`
	Domain    string `json:"domain,omitempty"`
	Domainid  string `json:"domainid,omitempty"`
	Id        string `json:"id,omitempty"`
	Project   string `json:"project,omitempty"`
	Projectid string `json:"projectid,omitempty"`
	State     string `json:"state,omitempty"`
	Username  string `json:"username,omitempty"`
}

type WhoHasThisIp

type WhoHasThisIp struct {
	Associatednetworkname string `json:"associatednetworkname,omitempty"`
	Associatednetworkuuid string `json:"associatednetworkuuid,omitempty"`
	Broadcasturi          string `json:"broadcasturi,omitempty"`
	Created               string `json:"created,omitempty"`
	Domainname            string `json:"domainname,omitempty"`
	Domainuuid            string `json:"domainuuid,omitempty"`
	Ipaddress             string `json:"ipaddress,omitempty"`
	Macaddress            string `json:"macaddress,omitempty"`
	Mode                  string `json:"mode,omitempty"`
	Netmask               string `json:"netmask,omitempty"`
	Networkname           string `json:"networkname,omitempty"`
	Networkuuid           string `json:"networkuuid,omitempty"`
	State                 string `json:"state,omitempty"`
	Uuid                  string `json:"uuid,omitempty"`
	Virtualmachinename    string `json:"virtualmachinename,omitempty"`
	Virtualmachinetype    string `json:"virtualmachinetype,omitempty"`
	Virtualmachineuuid    string `json:"virtualmachineuuid,omitempty"`
	Vpcname               string `json:"vpcname,omitempty"`
	Vpcuuid               string `json:"vpcuuid,omitempty"`
}

type WhoHasThisMac

type WhoHasThisMac struct {
	Associatednetworkname string `json:"associatednetworkname,omitempty"`
	Associatednetworkuuid string `json:"associatednetworkuuid,omitempty"`
	Broadcasturi          string `json:"broadcasturi,omitempty"`
	Created               string `json:"created,omitempty"`
	Domainname            string `json:"domainname,omitempty"`
	Domainuuid            string `json:"domainuuid,omitempty"`
	Ipaddress             string `json:"ipaddress,omitempty"`
	Macaddress            string `json:"macaddress,omitempty"`
	Mode                  string `json:"mode,omitempty"`
	Netmask               string `json:"netmask,omitempty"`
	Networkname           string `json:"networkname,omitempty"`
	Networkuuid           string `json:"networkuuid,omitempty"`
	State                 string `json:"state,omitempty"`
	Uuid                  string `json:"uuid,omitempty"`
	Virtualmachinename    string `json:"virtualmachinename,omitempty"`
	Virtualmachinetype    string `json:"virtualmachinetype,omitempty"`
	Virtualmachineuuid    string `json:"virtualmachineuuid,omitempty"`
	Vpcname               string `json:"vpcname,omitempty"`
	Vpcuuid               string `json:"vpcuuid,omitempty"`
}

type Zone

type Zone struct {
	Allocationstate string `json:"allocationstate,omitempty"`
	Capacity        []struct {
		Capacitytotal       int64  `json:"capacitytotal,omitempty"`
		Capacityused        int64  `json:"capacityused,omitempty"`
		Clusterid           string `json:"clusterid,omitempty"`
		Clustername         string `json:"clustername,omitempty"`
		Percentageallocated string `json:"percentageallocated,omitempty"`
		Podid               string `json:"podid,omitempty"`
		Podname             string `json:"podname,omitempty"`
		Type                int    `json:"type,omitempty"`
		Zoneid              string `json:"zoneid,omitempty"`
		Zonename            string `json:"zonename,omitempty"`
	} `json:"capacity,omitempty"`
	Description         string            `json:"description,omitempty"`
	Dhcpprovider        string            `json:"dhcpprovider,omitempty"`
	Displaytext         string            `json:"displaytext,omitempty"`
	Dns1                string            `json:"dns1,omitempty"`
	Dns2                string            `json:"dns2,omitempty"`
	Domain              string            `json:"domain,omitempty"`
	Domainid            string            `json:"domainid,omitempty"`
	Domainname          string            `json:"domainname,omitempty"`
	Guestcidraddress    string            `json:"guestcidraddress,omitempty"`
	Id                  string            `json:"id,omitempty"`
	Internaldns1        string            `json:"internaldns1,omitempty"`
	Internaldns2        string            `json:"internaldns2,omitempty"`
	Ip6dns1             string            `json:"ip6dns1,omitempty"`
	Ip6dns2             string            `json:"ip6dns2,omitempty"`
	Localstorageenabled bool              `json:"localstorageenabled,omitempty"`
	Name                string            `json:"name,omitempty"`
	Networktype         string            `json:"networktype,omitempty"`
	Resourcedetails     map[string]string `json:"resourcedetails,omitempty"`
	Tags                []struct {
		Account      string `json:"account,omitempty"`
		Customer     string `json:"customer,omitempty"`
		Domain       string `json:"domain,omitempty"`
		Domainid     string `json:"domainid,omitempty"`
		Key          string `json:"key,omitempty"`
		Project      string `json:"project,omitempty"`
		Projectid    string `json:"projectid,omitempty"`
		Resourceid   string `json:"resourceid,omitempty"`
		Resourcetype string `json:"resourcetype,omitempty"`
		Value        string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
	Zonetoken string `json:"zonetoken,omitempty"`
}

type ZoneService

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

func NewZoneService

func NewZoneService(cs *CosmicClient) *ZoneService

func (*ZoneService) CreateZone

func (s *ZoneService) CreateZone(p *CreateZoneParams) (*CreateZoneResponse, error)

Creates a Zone.

func (*ZoneService) DedicateZone

func (s *ZoneService) DedicateZone(p *DedicateZoneParams) (*DedicateZoneResponse, error)

Dedicates a zones.

func (*ZoneService) DeleteZone

func (s *ZoneService) DeleteZone(p *DeleteZoneParams) (*DeleteZoneResponse, error)

Deletes a Zone.

func (*ZoneService) GetZoneByID

func (s *ZoneService) GetZoneByID(id string, opts ...OptionFunc) (*Zone, int, error)

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

func (*ZoneService) GetZoneByName

func (s *ZoneService) GetZoneByName(name string, opts ...OptionFunc) (*Zone, int, error)

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

func (*ZoneService) GetZoneID

func (s *ZoneService) GetZoneID(name string, opts ...OptionFunc) (string, int, error)

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

func (*ZoneService) ListDedicatedZones

List dedicated zones.

func (*ZoneService) ListZones

func (s *ZoneService) ListZones(p *ListZonesParams) (*ListZonesResponse, error)

Lists zones

func (*ZoneService) NewCreateZoneParams

func (s *ZoneService) NewCreateZoneParams(dns1 string, internaldns1 string, name string, networktype string) *CreateZoneParams

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

func (*ZoneService) NewDedicateZoneParams

func (s *ZoneService) NewDedicateZoneParams(domainid string, zoneid string) *DedicateZoneParams

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

func (*ZoneService) NewDeleteZoneParams

func (s *ZoneService) NewDeleteZoneParams(id string) *DeleteZoneParams

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

func (*ZoneService) NewListDedicatedZonesParams

func (s *ZoneService) NewListDedicatedZonesParams() *ListDedicatedZonesParams

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

func (*ZoneService) NewListZonesParams

func (s *ZoneService) NewListZonesParams() *ListZonesParams

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

func (*ZoneService) NewReleaseDedicatedZoneParams

func (s *ZoneService) NewReleaseDedicatedZoneParams(zoneid string) *ReleaseDedicatedZoneParams

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

func (*ZoneService) NewUpdateZoneParams

func (s *ZoneService) NewUpdateZoneParams(id string) *UpdateZoneParams

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

func (*ZoneService) ReleaseDedicatedZone

Release dedication of zone

func (*ZoneService) UpdateZone

func (s *ZoneService) UpdateZone(p *UpdateZoneParams) (*UpdateZoneResponse, error)

Updates a Zone.

Jump to

Keyboard shortcuts

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