service

package
v2.0.0-alpha.38+incomp... Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 7 Imported by: 38

Documentation

Overview

Package service provides QingCloud Service API (API Version 2013-08-30)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

Bool returns a pointer to the given bool value.

func BoolMap

func BoolMap(src map[string]bool) map[string]*bool

BoolMap converts a string map of bool values into a string map of bool pointers

func BoolSlice

func BoolSlice(src []bool) []*bool

BoolSlice converts a slice of bool values into a slice of bool pointers

func BoolValue

func BoolValue(v *bool) bool

BoolValue returns the value of the given bool pointer or false if the pointer is nil.

func BoolValueMap

func BoolValueMap(src map[string]*bool) map[string]bool

BoolValueMap converts a string map of bool pointers into a string map of bool values

func BoolValueSlice

func BoolValueSlice(src []*bool) []bool

BoolValueSlice converts a slice of bool pointers into a slice of bool values

func Int

func Int(v int) *int

Int returns a pointer to the given int value.

func IntMap

func IntMap(src map[string]int) map[string]*int

IntMap converts a string map of int values into a string map of int pointers

func IntSlice

func IntSlice(src []int) []*int

IntSlice converts a slice of int values into a slice of int pointers

func IntValue

func IntValue(v *int) int

IntValue returns the value of the given int pointer or 0 if the pointer is nil.

func IntValueMap

func IntValueMap(src map[string]*int) map[string]int

IntValueMap converts a string map of int pointers into a string map of int values

func IntValueSlice

func IntValueSlice(src []*int) []int

IntValueSlice converts a slice of int pointers into a slice of int values

func String

func String(v string) *string

String returns a pointer to the given string value.

func StringMap

func StringMap(src map[string]string) map[string]*string

StringMap converts a string map of string values into a string map of string pointers

func StringSlice

func StringSlice(src []string) []*string

StringSlice converts a slice of string values into a slice of string pointers

func StringValue

func StringValue(v *string) string

StringValue returns the value of the given string pointer or "" if the pointer is nil.

func StringValueMap

func StringValueMap(src map[string]*string) map[string]string

StringValueMap converts a string map of string pointers into a string map of string values

func StringValueSlice

func StringValueSlice(src []*string) []string

StringValueSlice converts a slice of string pointers into a slice of string values

func Time

func Time(v time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func TimeMap

func TimeMap(src map[string]time.Time) map[string]*time.Time

TimeMap converts a string map of time.Time values into a string map of time.Time pointers

func TimeSlice

func TimeSlice(src []time.Time) []*time.Time

TimeSlice converts a slice of time.Time values into a slice of time.Time pointers

func TimeUnixMilli

func TimeUnixMilli(t time.Time) int64

TimeUnixMilli returns a Unix timestamp in milliseconds from "January 1, 1970 UTC". The result is undefined if the Unix time cannot be represented by an int64. Which includes calling TimeUnixMilli on a zero Time is undefined.

See Go stdlib https://golang.org/pkg/time/#Time.UnixNano for more information.

func TimeValue

func TimeValue(v *time.Time) time.Time

TimeValue returns the value of the given time.Time pointer or time.Time{} if the pointer is nil.

func TimeValueMap

func TimeValueMap(src map[string]*time.Time) map[string]time.Time

TimeValueMap converts a string map of time.Time pointers into a string map of time.Time values

func TimeValueSlice

func TimeValueSlice(src []*time.Time) []time.Time

TimeValueSlice converts a slice of time.Time pointers into a slice of time.Time values

Types

type AccessKey

type AccessKey struct {
	AccessKeyID     *string `json:"access_key_id" name:"access_key_id"`
	AccessKeyName   *string `json:"access_key_name" name:"access_key_name"`
	ConsoleID       *string `json:"console_id" name:"console_id"`
	Controller      *string `json:"controller" name:"controller"`
	CreateTime      *string `json:"create_time" name:"create_time"`
	Description     *string `json:"description" name:"description"`
	IPWhiteList     *string `json:"ip_white_list" name:"ip_white_list"`
	Owner           *string `json:"owner" name:"owner"`
	RootUserID      *string `json:"root_user_id" name:"root_user_id"`
	SecretAccessKey *string `json:"secret_access_key" name:"secret_access_key"`
	Status          *string `json:"status" name:"status"`
	StatusTime      *string `json:"status_time" name:"status_time"`
}

func (*AccessKey) Validate

func (v *AccessKey) Validate() error

type AccesskeyService

type AccesskeyService struct {
	Config     *config.Config
	Properties *AccesskeyServiceProperties
}

func (*AccesskeyService) DeleteAccessKeys

func (*AccesskeyService) DescribeAccessKeys

type AccesskeyServiceProperties

type AccesskeyServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type AddCacheNodesInput

type AddCacheNodesInput struct {
	Cache      *string           `json:"cache" name:"cache" location:"params"`           // Required
	NodeCount  *int              `json:"node_count" name:"node_count" location:"params"` // Required
	PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"`
}

func (*AddCacheNodesInput) Validate

func (v *AddCacheNodesInput) Validate() error

type AddCacheNodesOutput

type AddCacheNodesOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"`
	JobID      *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type AddClusterNodesInput

type AddClusterNodesInput struct {
	Cluster      *string   `json:"cluster" name:"cluster" location:"params"`       // Required
	NodeCount    *int      `json:"node_count" name:"node_count" location:"params"` // Required
	NodeName     *string   `json:"node_name" name:"node_name" location:"params"`
	NodeRole     *string   `json:"node_role" name:"node_role" location:"params"`
	PrivateIPs   []*string `json:"private_ips" name:"private_ips" location:"params"`
	ResourceConf *string   `json:"resource_conf" name:"resource_conf" location:"params"`
}

func (*AddClusterNodesInput) Validate

func (v *AddClusterNodesInput) Validate() error

type AddClusterNodesOutput

type AddClusterNodesOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	ClusterID  *string   `json:"cluster_id" name:"cluster_id" location:"elements"`
	JobID      *string   `json:"job_id" name:"job_id" location:"elements"`
	NewNodeIDs []*string `json:"new_node_ids" name:"new_node_ids" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type AddLoadBalancerBackendsInput

type AddLoadBalancerBackendsInput struct {
	Backends             []*LoadBalancerBackend `json:"backends" name:"backends" location:"params"`                           // Required
	LoadBalancerListener *string                `json:"loadbalancer_listener" name:"loadbalancer_listener" location:"params"` // Required
}

func (*AddLoadBalancerBackendsInput) Validate

func (v *AddLoadBalancerBackendsInput) Validate() error

type AddLoadBalancerBackendsOutput

type AddLoadBalancerBackendsOutput struct {
	Message              *string   `json:"message" name:"message"`
	Action               *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"elements"`
	RetCode              *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type AddLoadBalancerListenersInput

type AddLoadBalancerListenersInput struct {
	Listeners    []*LoadBalancerListener `json:"listeners" name:"listeners" location:"params"`
	LoadBalancer *string                 `json:"loadbalancer" name:"loadbalancer" location:"params"`
}

func (*AddLoadBalancerListenersInput) Validate

func (v *AddLoadBalancerListenersInput) Validate() error

type AddLoadBalancerListenersOutput

type AddLoadBalancerListenersOutput struct {
	Message               *string   `json:"message" name:"message"`
	Action                *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"elements"`
	RetCode               *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type AddLoadBalancerPolicyRulesInput

type AddLoadBalancerPolicyRulesInput struct {
	LoadBalancerPolicy *string                   `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"`
	Rules              []*LoadBalancerPolicyRule `json:"rules" name:"rules" location:"params"`
}

func (*AddLoadBalancerPolicyRulesInput) Validate

func (v *AddLoadBalancerPolicyRulesInput) Validate() error

type AddLoadBalancerPolicyRulesOutput

type AddLoadBalancerPolicyRulesOutput struct {
	Message                 *string   `json:"message" name:"message"`
	Action                  *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"elements"`
	RetCode                 *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type AddMongoInstancesInput

type AddMongoInstancesInput struct {
	Mongo      *string           `json:"mongo" name:"mongo" location:"params"`
	NodeCount  *int              `json:"node_count" name:"node_count" location:"params"`
	PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"`
}

func (*AddMongoInstancesInput) Validate

func (v *AddMongoInstancesInput) Validate() error

type AddMongoInstancesOutput

type AddMongoInstancesOutput struct {
	Message   *string   `json:"message" name:"message"`
	Action    *string   `json:"action" name:"action" location:"elements"`
	JobID     *string   `json:"job_id" name:"job_id" location:"elements"`
	Mongo     *string   `json:"mongo" name:"mongo" location:"elements"`
	MongoNode []*string `json:"mongo_node" name:"mongo_node" location:"elements"`
	RetCode   *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type AddProjectResourceItemsInput

type AddProjectResourceItemsInput struct {
	ProjectID *string   `json:"project_id" name:"project_id" location:"params"` // Required
	Resources []*string `json:"resources" name:"resources" location:"params"`   // Required
}

func (*AddProjectResourceItemsInput) Validate

func (v *AddProjectResourceItemsInput) Validate() error

type AddProjectResourceItemsOutput

type AddProjectResourceItemsOutput struct {
	Message     *string   `json:"message" name:"message"`
	Action      *string   `json:"action" name:"action" location:"elements"`
	ProjectID   *string   `json:"project_id" name:"project_id" location:"elements"`
	ResourceIDs []*string `json:"resource_ids" name:"resource_ids" location:"elements"`
	RetCode     *int      `json:"ret_code" name:"ret_code" location:"elements"`
	ZoneID      *string   `json:"zone_id" name:"zone_id" location:"elements"`
}

type AddRouterStaticEntriesInput

type AddRouterStaticEntriesInput struct {
	Entries      []*RouterStaticEntry `json:"entries" name:"entries" location:"params"`
	RouterStatic *string              `json:"router_static" name:"router_static" location:"params"` // Required
}

func (*AddRouterStaticEntriesInput) Validate

func (v *AddRouterStaticEntriesInput) Validate() error

type AddRouterStaticEntriesOutput

type AddRouterStaticEntriesOutput struct {
	Message             *string   `json:"message" name:"message"`
	Action              *string   `json:"action" name:"action" location:"elements"`
	RetCode             *int      `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStaticEntries []*string `json:"router_static_entries" name:"router_static_entries" location:"elements"`
}

type AddRouterStaticsInput

type AddRouterStaticsInput struct {
	Router  *string         `json:"router" name:"router" location:"params"`   // Required
	Statics []*RouterStatic `json:"statics" name:"statics" location:"params"` // Required
	VxNet   *string         `json:"vxnet" name:"vxnet" location:"params"`
}

func (*AddRouterStaticsInput) Validate

func (v *AddRouterStaticsInput) Validate() error

type AddRouterStaticsOutput

type AddRouterStaticsOutput struct {
	Message       *string   `json:"message" name:"message"`
	Action        *string   `json:"action" name:"action" location:"elements"`
	RetCode       *int      `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStatics []*string `json:"router_statics" name:"router_statics" location:"elements"`
}

type AddSecurityGroupRulesInput

type AddSecurityGroupRulesInput struct {
	Rules         []*SecurityGroupRule `json:"rules" name:"rules" location:"params"`                   // Required
	SecurityGroup *string              `json:"security_group" name:"security_group" location:"params"` // Required
}

func (*AddSecurityGroupRulesInput) Validate

func (v *AddSecurityGroupRulesInput) Validate() error

type AddSecurityGroupRulesOutput

type AddSecurityGroupRulesOutput struct {
	Message            *string   `json:"message" name:"message"`
	Action             *string   `json:"action" name:"action" location:"elements"`
	RetCode            *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"elements"`
}

type AllocateEIPsInput

type AllocateEIPsInput struct {
	Bandwidth *int `json:"bandwidth" name:"bandwidth" location:"params"` // Required
	// BillingMode's available values: bandwidth, traffic
	BillingMode *string `json:"billing_mode" name:"billing_mode" default:"bandwidth" location:"params"`
	Count       *int    `json:"count" name:"count" default:"1" location:"params"`
	EIPName     *string `json:"eip_name" name:"eip_name" location:"params"`
	// NeedICP's available values: 0, 1
	NeedICP *int `json:"need_icp" name:"need_icp" default:"0" location:"params"`
}

func (*AllocateEIPsInput) Validate

func (v *AllocateEIPsInput) Validate() error

type AllocateEIPsOutput

type AllocateEIPsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	EIPs    []*string `json:"eips" name:"eips" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type App

type App struct {
	Abstraction           *string   `json:"abstraction" name:"abstraction"`
	AppContractStatus     *string   `json:"app_contract_status" name:"app_contract_status"`
	AppID                 *string   `json:"app_id" name:"app_id"`
	AppInstanceID         *string   `json:"app_instance_id" name:"app_instance_id"`
	AppName               *string   `json:"app_name" name:"app_name"`
	AppType               *string   `json:"app_type" name:"app_type"`
	AuthLevel             *int      `json:"auth_level" name:"auth_level"`
	Category              *string   `json:"category" name:"category"`
	CompanyURL            *string   `json:"company_url" name:"company_url"`
	Contact               *string   `json:"contact" name:"contact"`
	CoverImg              *string   `json:"cover_img" name:"cover_img"`
	Description           *string   `json:"description" name:"description"`
	Icon                  *string   `json:"icon" name:"icon"`
	Screenshots           []*string `json:"screenshots" name:"screenshots"`
	Status                *string   `json:"status" name:"status"`
	Tags                  []*string `json:"tags" name:"tags"`
	TermsOfService        *string   `json:"terms_of_service" name:"terms_of_service"`
	TermsOfServiceLink    *string   `json:"terms_of_service_link" name:"terms_of_service_link"`
	URL                   *string   `json:"url" name:"url"`
	UsageInstructions     *string   `json:"usage_instructions" name:"usage_instructions"`
	UsageInstructionsLink *string   `json:"usage_instructions_link" name:"usage_instructions_link"`
	Visibility            *string   `json:"visibility" name:"visibility"`
	Zones                 []*string `json:"zones" name:"zones"`
}

func (*App) Validate

func (v *App) Validate() error

type AppServiceProperties

type AppServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type AppVersion

type AppVersion struct {
	AppID       *string    `json:"app_id" name:"app_id"`
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	Name        *string    `json:"name" name:"name"`
	ResourceKit *string    `json:"resource_kit" name:"resource_kit"`
	Status      *string    `json:"status" name:"status"`
	StatusTime  *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	VersionID   *string    `json:"version_id" name:"version_id"`
}

func (*AppVersion) Validate

func (v *AppVersion) Validate() error

type AppVersionAttachment

type AppVersionAttachment struct {
	AttachmentID   *string    `json:"attachment_id" name:"attachment_id"`
	AttachmentType *string    `json:"attachment_type" name:"attachment_type"`
	Category       *string    `json:"category" name:"category"`
	CreateTime     *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Filename       *string    `json:"filename" name:"filename"`
	Filesize       *int       `json:"filesize" name:"filesize"`
	Name           *string    `json:"name" name:"name"`
	Owner          *string    `json:"owner" name:"owner"`
	ResourceID     *string    `json:"resource_id" name:"resource_id"`
	ResourceType   *string    `json:"resource_type" name:"resource_type"`
	StatusTime     *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCategory    *string    `json:"sub_category" name:"sub_category"`
}

func (*AppVersionAttachment) Validate

func (v *AppVersionAttachment) Validate() error

type ApplyCacheParameterGroupInput

type ApplyCacheParameterGroupInput struct {
	CacheParameterGroup *string   `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required
	Caches              []*string `json:"caches" name:"caches" location:"params"`
}

func (*ApplyCacheParameterGroupInput) Validate

func (v *ApplyCacheParameterGroupInput) Validate() error

type ApplyCacheParameterGroupOutput

type ApplyCacheParameterGroupOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ApplyLoadBalancerPolicyInput

type ApplyLoadBalancerPolicyInput struct {
	LoadBalancerPolicy *string `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"` // Required
}

func (*ApplyLoadBalancerPolicyInput) Validate

func (v *ApplyLoadBalancerPolicyInput) Validate() error

type ApplyLoadBalancerPolicyOutput

type ApplyLoadBalancerPolicyOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ApplyRDBParameterGroupInput

type ApplyRDBParameterGroupInput struct {
	RDB *string `json:"rdb" name:"rdb" location:"params"` // Required
}

func (*ApplyRDBParameterGroupInput) Validate

func (v *ApplyRDBParameterGroupInput) Validate() error

type ApplyRDBParameterGroupOutput

type ApplyRDBParameterGroupOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RDB     *string `json:"rdb" name:"rdb" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ApplySecurityGroupIPSetsInput

type ApplySecurityGroupIPSetsInput struct {
	SecurityGroupIPSets []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"params"` // Required
}

func (*ApplySecurityGroupIPSetsInput) Validate

func (v *ApplySecurityGroupIPSetsInput) Validate() error

type ApplySecurityGroupIPSetsOutput

type ApplySecurityGroupIPSetsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ApplySecurityGroupInput

type ApplySecurityGroupInput struct {
	Instances     []*string `json:"instances" name:"instances" location:"params"`
	SecurityGroup *string   `json:"security_group" name:"security_group" location:"params"` // Required
}

func (*ApplySecurityGroupInput) Validate

func (v *ApplySecurityGroupInput) Validate() error

type ApplySecurityGroupOutput

type ApplySecurityGroupOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ApplySnapshotsInput

type ApplySnapshotsInput struct {
	Snapshots []*string `json:"snapshots" name:"snapshots" location:"params"` // Required
}

func (*ApplySnapshotsInput) Validate

func (v *ApplySnapshotsInput) Validate() error

type ApplySnapshotsOutput

type ApplySnapshotsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AssociateDNSAliasInput

type AssociateDNSAliasInput struct {
	Prefix   *string `json:"prefix" name:"prefix" location:"params"`     // Required
	Resource *string `json:"resource" name:"resource" location:"params"` // Required
}

func (*AssociateDNSAliasInput) Validate

func (v *AssociateDNSAliasInput) Validate() error

type AssociateDNSAliasOutput

type AssociateDNSAliasOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	DNSAliasID *string `json:"dns_alias_id" name:"dns_alias_id" location:"elements"`
	DomainName *string `json:"domain_name" name:"domain_name" location:"elements"`
	JobID      *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AssociateEIPInput

type AssociateEIPInput struct {
	EIP      *string `json:"eip" name:"eip" location:"params"`           // Required
	Instance *string `json:"instance" name:"instance" location:"params"` // Required
}

func (*AssociateEIPInput) Validate

func (v *AssociateEIPInput) Validate() error

type AssociateEIPOutput

type AssociateEIPOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AssociateEIPToClusterNodeInput

type AssociateEIPToClusterNodeInput struct {
	ClusterNode *string `json:"cluster_node" name:"cluster_node" location:"params"` // Required
	EIP         *string `json:"eip" name:"eip" location:"params"`                   // Required
	NIC         *string `json:"nic" name:"nic" location:"params"`
}

func (*AssociateEIPToClusterNodeInput) Validate

func (v *AssociateEIPToClusterNodeInput) Validate() error

type AssociateEIPToClusterNodeOutput

type AssociateEIPToClusterNodeOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AssociateEIPsToLoadBalancerInput

type AssociateEIPsToLoadBalancerInput struct {
	EIPs         []*string `json:"eips" name:"eips" location:"params"`                 // Required
	LoadBalancer *string   `json:"loadbalancer" name:"loadbalancer" location:"params"` // Required
}

func (*AssociateEIPsToLoadBalancerInput) Validate

type AssociateEIPsToLoadBalancerOutput

type AssociateEIPsToLoadBalancerOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AttachKeyPairsInput

type AttachKeyPairsInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
	KeyPairs  []*string `json:"keypairs" name:"keypairs" location:"params"`   // Required
}

func (*AttachKeyPairsInput) Validate

func (v *AttachKeyPairsInput) Validate() error

type AttachKeyPairsOutput

type AttachKeyPairsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AttachNicsInput

type AttachNicsInput struct {
	Instance *string   `json:"instance" name:"instance" location:"params"` // Required
	Nics     []*string `json:"nics" name:"nics" location:"params"`         // Required
}

func (*AttachNicsInput) Validate

func (v *AttachNicsInput) Validate() error

type AttachNicsOutput

type AttachNicsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AttachTagsInput

type AttachTagsInput struct {
	ResourceTagPairs []*ResourceTagPair `json:"resource_tag_pairs" name:"resource_tag_pairs" location:"params"` // Required
}

func (*AttachTagsInput) Validate

func (v *AttachTagsInput) Validate() error

type AttachTagsOutput

type AttachTagsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type AttachToS2SharedTargetInput

type AttachToS2SharedTargetInput struct {
	SharedTarget *string   `json:"shared_target" name:"shared_target" location:"params"` // Required
	Volumes      []*string `json:"volumes" name:"volumes" location:"params"`             // Required
}

func (*AttachToS2SharedTargetInput) Validate

func (v *AttachToS2SharedTargetInput) Validate() error

type AttachToS2SharedTargetOutput

type AttachToS2SharedTargetOutput struct {
	Message      *string         `json:"message" name:"message"`
	Action       *string         `json:"action" name:"action" location:"elements"`
	RetCode      *int            `json:"ret_code" name:"ret_code" location:"elements"`
	SharedTarget *S2SharedTarget `json:"shared_target" name:"shared_target" location:"elements"`
}

type AttachVolumesInput

type AttachVolumesInput struct {
	Instance *string   `json:"instance" name:"instance" location:"params"` // Required
	Volumes  []*string `json:"volumes" name:"volumes" location:"params"`   // Required
}

func (*AttachVolumesInput) Validate

func (v *AttachVolumesInput) Validate() error

type AttachVolumesOutput

type AttachVolumesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type Cache

type Cache struct {
	AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time"`
	// CacheClass's available values: 0, 1
	CacheClass            *int    `json:"cache_class" name:"cache_class"`
	CacheID               *string `json:"cache_id" name:"cache_id"`
	CacheName             *string `json:"cache_name" name:"cache_name"`
	CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id"`
	CachePort             *int    `json:"cache_port" name:"cache_port"`
	CacheSize             *int    `json:"cache_size" name:"cache_size"`
	// CacheType's available values: Redis2.8.17, Memcached1.4.13
	CacheType    *string    `json:"cache_type" name:"cache_type"`
	CacheVersion *string    `json:"cache_version" name:"cache_version"`
	CreateTime   *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description  *string    `json:"description" name:"description"`
	// IsApplied's available values: 0, 1
	IsApplied       *int         `json:"is_applied" name:"is_applied"`
	MasterCount     *int         `json:"master_count" name:"master_count"`
	MaxMemory       *int         `json:"max_memory" name:"max_memory"`
	NodeCount       *int         `json:"node_count" name:"node_count"`
	Nodes           []*CacheNode `json:"nodes" name:"nodes"`
	ReplicateCount  *int         `json:"replicate_count" name:"replicate_count"`
	SecurityGroupID *string      `json:"security_group_id" name:"security_group_id"`
	// Status's available values: pending, active, stopped, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode    *int       `json:"sub_code" name:"sub_code"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, starting, stopping, updating, suspending, resuming, deleting
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VxNet            *VxNet  `json:"vxnet" name:"vxnet"`
}

func (*Cache) Validate

func (v *Cache) Validate() error

type CacheNode

type CacheNode struct {
	AlarmStatus   *string `json:"alarm_status" name:"alarm_status"`
	CacheID       *string `json:"cache_id" name:"cache_id"`
	CacheNodeID   *string `json:"cache_node_id" name:"cache_node_id"`
	CacheNodeName *string `json:"cache_node_name" name:"cache_node_name"`
	// CacheRole's available values: master, slave
	CacheRole  *string    `json:"cache_role" name:"cache_role"`
	CacheType  *string    `json:"cache_type" name:"cache_type"`
	CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	PrivateIP  *string    `json:"private_ip" name:"private_ip"`
	Slaveof    *string    `json:"slaveof" name:"slaveof"`
	// Status's available values: pending, active, down, suspended
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	// TransitionStatus's available values: creating, starting, stopping, updating, suspending, resuming, deleting
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
}

func (*CacheNode) Validate

func (v *CacheNode) Validate() error

type CacheParameter

type CacheParameter struct {
	CacheParameterName  *string `json:"cache_parameter_name" name:"cache_parameter_name"` // Required
	CacheParameterType  *string `json:"cache_parameter_type" name:"cache_parameter_type"`
	CacheParameterValue *string `json:"cache_parameter_value" name:"cache_parameter_value"` // Required
	CacheType           *string `json:"cache_type" name:"cache_type"`
	// IsReadonly's available values: 0, 1
	IsReadonly      *int    `json:"is_readonly" name:"is_readonly"`
	IsStatic        *int    `json:"is_static" name:"is_static"`
	OPTName         *string `json:"opt_name" name:"opt_name"`
	ParameterType   *string `json:"parameter_type" name:"parameter_type"`
	ResourceVersion *string `json:"resource_version" name:"resource_version"`
	ValueRange      *string `json:"value_range" name:"value_range"`
}

func (*CacheParameter) Validate

func (v *CacheParameter) Validate() error

type CacheParameterGroup

type CacheParameterGroup struct {
	CacheParameterGroupID   *string    `json:"cache_parameter_group_id" name:"cache_parameter_group_id"`
	CacheParameterGroupName *string    `json:"cache_parameter_group_name" name:"cache_parameter_group_name"`
	CacheType               *string    `json:"cache_type" name:"cache_type"`
	CreateTime              *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description             *string    `json:"description" name:"description"`
	// IsApplied's available values: 0, 1
	IsApplied *int        `json:"is_applied" name:"is_applied"`
	IsDefault *int        `json:"is_default" name:"is_default"`
	Resources []*Resource `json:"resources" name:"resources"`
}

func (*CacheParameterGroup) Validate

func (v *CacheParameterGroup) Validate() error

type CachePrivateIP

type CachePrivateIP struct {
	CacheNodeID *string `json:"cache_node_id" name:"cache_node_id"`
	// CacheRole's available values: master, slave
	CacheRole  *string `json:"cache_role" name:"cache_role"`
	PrivateIPs *string `json:"private_ips" name:"private_ips"`
}

func (*CachePrivateIP) Validate

func (v *CachePrivateIP) Validate() error

type CacheService

type CacheService struct {
	Config     *config.Config
	Properties *CacheServiceProperties
}

func (*CacheService) CreateCache

func (s *CacheService) CreateCache(i *CreateCacheInput) (*CreateCacheOutput, error)

Documentation URL: https://docs.qingcloud.com/api/cache/create_cache.html

func (*CacheService) RestartCaches

func (s *CacheService) RestartCaches(i *RestartCachesInput) (*RestartCachesOutput, error)

RestartCaches: Only available for memcached. Documentation URL: https://docs.qingcloud.com/api/cache/restart_caches.html

func (*CacheService) StartCaches

func (s *CacheService) StartCaches(i *StartCachesInput) (*StartCachesOutput, error)

Documentation URL: https://docs.qingcloud.com/api/cache/start_caches.html

func (*CacheService) StopCaches

func (s *CacheService) StopCaches(i *StopCachesInput) (*StopCachesOutput, error)

Documentation URL: https://docs.qingcloud.com/api/cache/stop_caches.html

func (*CacheService) UpdateCache

func (s *CacheService) UpdateCache(i *UpdateCacheInput) (*UpdateCacheOutput, error)

Documentation URL: https://docs.qingcloud.com/api/cache/update_cache.html

type CacheServiceProperties

type CacheServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type CaptureInstanceFromSnapshotInput

type CaptureInstanceFromSnapshotInput struct {
	ImageName *string `json:"image_name" name:"image_name" location:"params"`
	Snapshot  *string `json:"snapshot" name:"snapshot" location:"params"` // Required
}

func (*CaptureInstanceFromSnapshotInput) Validate

type CaptureInstanceFromSnapshotOutput

type CaptureInstanceFromSnapshotOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	ImageID *string `json:"image_id" name:"image_id" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CaptureInstanceInput

type CaptureInstanceInput struct {
	ImageName *string `json:"image_name" name:"image_name" location:"params"`
	Instance  *string `json:"instance" name:"instance" location:"params"` // Required
}

func (*CaptureInstanceInput) Validate

func (v *CaptureInstanceInput) Validate() error

type CaptureInstanceOutput

type CaptureInstanceOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	ImageID *string `json:"image_id" name:"image_id" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CeaseClustersInput

type CeaseClustersInput struct {
	Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required
}

func (*CeaseClustersInput) Validate

func (v *CeaseClustersInput) Validate() error

type CeaseClustersOutput

type CeaseClustersOutput struct {
	Message *string            `json:"message" name:"message"`
	Action  *string            `json:"action" name:"action" location:"elements"`
	JobIDs  map[string]*string `json:"job_ids" name:"job_ids" location:"elements"`
	RetCode *int               `json:"ret_code" name:"ret_code" location:"elements"`
}

type CeaseInstancesInput

type CeaseInstancesInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}

func (*CeaseInstancesInput) Validate

func (v *CeaseInstancesInput) Validate() error

type CeaseInstancesOutput

type CeaseInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CeaseRDBInstanceInput

type CeaseRDBInstanceInput struct {
	RDB         *string `json:"rdb" name:"rdb" location:"params"`                   // Required
	RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"params"` // Required
}

func (*CeaseRDBInstanceInput) Validate

func (v *CeaseRDBInstanceInput) Validate() error

type CeaseRDBInstanceOutput

type CeaseRDBInstanceOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ChangeCacheVxNetInput

type ChangeCacheVxNetInput struct {
	Cache      *string           `json:"cache" name:"cache" location:"params"` // Required
	PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	VxNet      *string           `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*ChangeCacheVxNetInput) Validate

func (v *ChangeCacheVxNetInput) Validate() error

type ChangeCacheVxNetOutput

type ChangeCacheVxNetOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	CacheID *string `json:"cache_id" name:"cache_id" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
	VxNetID *string `json:"vxnet_id" name:"vxnet_id" location:"elements"`
}

type ChangeClusterVxNetInput

type ChangeClusterVxNetInput struct {
	Cluster    *string     `json:"cluster" name:"cluster" location:"params"` // Required
	PrivateIPs interface{} `json:"private_ips" name:"private_ips" location:"params"`
	Roles      []*string   `json:"roles" name:"roles" location:"params"`
	VxNet      *string     `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*ChangeClusterVxNetInput) Validate

func (v *ChangeClusterVxNetInput) Validate() error

type ChangeClusterVxNetOutput

type ChangeClusterVxNetOutput struct {
	Message   *string `json:"message" name:"message"`
	Action    *string `json:"action" name:"action" location:"elements"`
	ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"`
	JobID     *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode   *int    `json:"ret_code" name:"ret_code" location:"elements"`
	VxNetID   *string `json:"vxnet_id" name:"vxnet_id" location:"elements"`
}

type ChangeEIPsBandwidthInput

type ChangeEIPsBandwidthInput struct {
	Bandwidth *int      `json:"bandwidth" name:"bandwidth" location:"params"` // Required
	EIPs      []*string `json:"eips" name:"eips" location:"params"`           // Required
}

func (*ChangeEIPsBandwidthInput) Validate

func (v *ChangeEIPsBandwidthInput) Validate() error

type ChangeEIPsBandwidthOutput

type ChangeEIPsBandwidthOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ChangeEIPsBillingModeInput

type ChangeEIPsBillingModeInput struct {

	// BillingMode's available values: bandwidth, traffic
	BillingMode *string   `json:"billing_mode" name:"billing_mode" default:"bandwidth" location:"params"` // Required
	EIPGroup    *string   `json:"eip_group" name:"eip_group" location:"params"`
	EIPs        []*string `json:"eips" name:"eips" location:"params"` // Required
}

func (*ChangeEIPsBillingModeInput) Validate

func (v *ChangeEIPsBillingModeInput) Validate() error

type ChangeEIPsBillingModeOutput

type ChangeEIPsBillingModeOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ChangeMongoVxNetInput

type ChangeMongoVxNetInput struct {
	Mongo      *string           `json:"mongo" name:"mongo" location:"params"` // Required
	PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	VxNet      *string           `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*ChangeMongoVxNetInput) Validate

func (v *ChangeMongoVxNetInput) Validate() error

type ChangeMongoVxNetOutput

type ChangeMongoVxNetOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	Mongo   *string `json:"mongo" name:"mongo" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ChangeS2ServerVxNetInput

type ChangeS2ServerVxNetInput struct {
	PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"`
	S2Server  *string `json:"s2_server" name:"s2_server" location:"params"` // Required
	VxNet     *string `json:"vxnet" name:"vxnet" location:"params"`         // Required
}

func (*ChangeS2ServerVxNetInput) Validate

func (v *ChangeS2ServerVxNetInput) Validate() error

type ChangeS2ServerVxNetOutput

type ChangeS2ServerVxNetOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CloneVolumesInput

type CloneVolumesInput struct {
	Count      *int    `json:"count" name:"count" default:"1" location:"params"`
	SubZones   *string `json:"sub_zones" name:"sub_zones" location:"params"`
	Volume     *string `json:"volume" name:"volume" location:"params"` // Required
	VolumeName *string `json:"volume_name" name:"volume_name" location:"params"`
	// VolumeType's available values: 0, 1, 2, 3, 4, 5, 6, 10, 100, 200
	VolumeType *int    `json:"volume_type" name:"volume_type" default:"0" location:"params"`
	Zone       *string `json:"zone" name:"zone" location:"params"`
}

func (*CloneVolumesInput) Validate

func (v *CloneVolumesInput) Validate() error

type CloneVolumesOutput

type CloneVolumesOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	Volumes []*string `json:"volumes" name:"volumes" location:"elements"`
}

type Cluster

type Cluster struct {
	AdvancedActions            map[string]*string `json:"advanced_actions" name:"advanced_actions"`
	AppID                      *string            `json:"app_id" name:"app_id"`
	AppInfo                    interface{}        `json:"app_info" name:"app_info"`
	AppVersion                 *string            `json:"app_version" name:"app_version"`
	AppVersionInfo             interface{}        `json:"app_version_info" name:"app_version_info"`
	AutoBackupTime             *int               `json:"auto_backup_time" name:"auto_backup_time"`
	Backup                     map[string]*bool   `json:"backup" name:"backup"`
	BackupPolicy               *string            `json:"backup_policy" name:"backup_policy"`
	BackupService              interface{}        `json:"backup_service" name:"backup_service"`
	CfgmgmtID                  *string            `json:"cfgmgmt_id" name:"cfgmgmt_id"`
	ClusterID                  *string            `json:"cluster_id" name:"cluster_id"`
	ClusterType                *int               `json:"cluster_type" name:"cluster_type"`
	ConsoleID                  *string            `json:"console_id" name:"console_id"`
	Controller                 *string            `json:"controller" name:"controller"`
	CreateTime                 *time.Time         `json:"create_time" name:"create_time" format:"ISO 8601"`
	CustomService              interface{}        `json:"custom_service" name:"custom_service"`
	Debug                      *bool              `json:"debug" name:"debug"`
	Description                *string            `json:"description" name:"description"`
	DisplayTabs                interface{}        `json:"display_tabs" name:"display_tabs"`
	Endpoints                  interface{}        `json:"endpoints" name:"endpoints"`
	GlobalUUID                 *string            `json:"global_uuid" name:"global_uuid"`
	HealthCheckEnablement      map[string]*bool   `json:"health_check_enablement" name:"health_check_enablement"`
	IncrementalBackupSupported *bool              `json:"incremental_backup_supported" name:"incremental_backup_supported"`
	LatestSnapshotTime         *string            `json:"latest_snapshot_time" name:"latest_snapshot_time"`
	Links                      map[string]*string `json:"links" name:"links"`
	MetadataRootAccess         *bool              `json:"metadata_root_access" name:"metadata_root_access"`
	Name                       *string            `json:"name" name:"name"`
	NodeCount                  *int               `json:"node_count" name:"node_count"`
	Nodes                      []*ClusterNode     `json:"nodes" name:"nodes"`
	Owner                      *string            `json:"owner" name:"owner"`
	PartnerAccess              *bool              `json:"partner_access" name:"partner_access"`
	RestoreService             interface{}        `json:"restore_service" name:"restore_service"`
	ReuseHyper                 *bool              `json:"reuse_hyper" name:"reuse_hyper"`
	RoleCount                  map[string]*int    `json:"role_count" name:"role_count"`
	Roles                      []*string          `json:"roles" name:"roles"`
	RootUserID                 *string            `json:"root_user_id" name:"root_user_id"`
	SecurityGroupID            *string            `json:"security_group_id" name:"security_group_id"`
	Status                     *string            `json:"status" name:"status"`
	StatusTime                 *time.Time         `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode                    *int               `json:"sub_code" name:"sub_code"`
	TransitionStatus           *string            `json:"transition_status" name:"transition_status"`
	UpgradePolicy              []interface{}      `json:"upgrade_policy" name:"upgrade_policy"`
	UpgradeStatus              *string            `json:"upgrade_status" name:"upgrade_status"`
	UpgradeTime                *time.Time         `json:"upgrade_time" name:"upgrade_time" format:"ISO 8601"`
	VxNet                      *VxNet             `json:"vxnet" name:"vxnet"`
}

func (*Cluster) Validate

func (v *Cluster) Validate() error

type ClusterNode

type ClusterNode struct {
	AdvancedActions            *string     `json:"advanced_actions" name:"advanced_actions"`
	AgentInstalled             *bool       `json:"agent_installed" name:"agent_installed"`
	AlarmStatus                *string     `json:"alarm_status" name:"alarm_status"`
	AppID                      *string     `json:"app_id" name:"app_id"`
	AppVersion                 *string     `json:"app_version" name:"app_version"`
	AutoBackup                 *int        `json:"auto_backup" name:"auto_backup"`
	BackupPolicy               *string     `json:"backup_policy" name:"backup_policy"`
	BackupService              interface{} `json:"backup_service" name:"backup_service"`
	ClusterID                  *string     `json:"cluster_id" name:"cluster_id"`
	ConsoleID                  *string     `json:"console_id" name:"console_id"`
	Controller                 *string     `json:"controller" name:"controller"`
	CPU                        *int        `json:"cpu" name:"cpu"`
	CreateTime                 *time.Time  `json:"create_time" name:"create_time" format:"ISO 8601"`
	CustomMetadataScript       interface{} `json:"custom_metadata_script" name:"custom_metadata_script"`
	CustomService              interface{} `json:"custom_service" name:"custom_service"`
	Debug                      *bool       `json:"debug" name:"debug"`
	DestroyService             interface{} `json:"destroy_service" name:"destroy_service"`
	DisplayTabs                interface{} `json:"display_tabs" name:"display_tabs"`
	EIP                        *string     `json:"eip" name:"eip"`
	Env                        *string     `json:"env" name:"env"`
	GlobalServerID             *int        `json:"global_server_id" name:"global_server_id"`
	Gpu                        *int        `json:"gpu" name:"gpu"`
	GpuClass                   *int        `json:"gpu_class" name:"gpu_class"`
	GroupID                    *int        `json:"group_id" name:"group_id"`
	HealthCheck                interface{} `json:"health_check" name:"health_check"`
	HealthStatus               *string     `json:"health_status" name:"health_status"`
	Hypervisor                 *string     `json:"hypervisor" name:"hypervisor"`
	ImageID                    *string     `json:"image_id" name:"image_id"`
	IncrementalBackupSupported *bool       `json:"incremental_backup_supported" name:"incremental_backup_supported"`
	InitService                interface{} `json:"init_service" name:"init_service"`
	InstanceID                 *string     `json:"instance_id" name:"instance_id"`
	IsBackup                   *int        `json:"is_backup" name:"is_backup"`
	Memory                     *int        `json:"memory" name:"memory"`
	Monitor                    interface{} `json:"monitor" name:"monitor"`
	Name                       *string     `json:"name" name:"name"`
	NodeID                     *string     `json:"node_id" name:"node_id"`
	Owner                      *string     `json:"owner" name:"owner"`
	Passphraseless             *string     `json:"passphraseless" name:"passphraseless"`
	PrivateIP                  *string     `json:"private_ip" name:"private_ip"`
	Repl                       *string     `json:"repl" name:"repl"`
	ResourceClass              *int        `json:"resource_class" name:"resource_class"`
	RestartService             interface{} `json:"restart_service" name:"restart_service"`
	RestoreService             interface{} `json:"restore_service" name:"restore_service"`
	Role                       *string     `json:"role" name:"role"`
	RootUserID                 *string     `json:"root_user_id" name:"root_user_id"`
	ScaleInService             interface{} `json:"scale_in_service" name:"scale_in_service"`
	ScaleOutService            interface{} `json:"scale_out_service" name:"scale_out_service"`
	SecurityGroup              *string     `json:"security_group" name:"security_group"`
	ServerID                   *int        `json:"server_id" name:"server_id"`
	ServerIDUpperBound         *int        `json:"server_id_upper_bound" name:"server_id_upper_bound"`
	SingleNodeRepl             *string     `json:"single_node_repl" name:"single_node_repl"`
	StartService               interface{} `json:"start_service" name:"start_service"`
	Status                     *string     `json:"status" name:"status"`
	StatusTime                 *time.Time  `json:"status_time" name:"status_time" format:"ISO 8601"`
	StopService                interface{} `json:"stop_service" name:"stop_service"`
	StorageSize                *int        `json:"storage_size" name:"storage_size"`
	TransitionStatus           *string     `json:"transition_status" name:"transition_status"`
	UserAccess                 *int        `json:"user_access" name:"user_access"`
	VerticalScalingPolicy      *string     `json:"vertical_scaling_policy" name:"vertical_scaling_policy"`
	VolumeIDs                  *string     `json:"volume_ids" name:"volume_ids"`
	VolumeType                 *int        `json:"volume_type" name:"volume_type"`
	VxNetID                    *string     `json:"vxnet_id" name:"vxnet_id"`
}

func (*ClusterNode) Validate

func (v *ClusterNode) Validate() error

type ClusterService

type ClusterService struct {
	Config     *config.Config
	Properties *ClusterServiceProperties
}

type ClusterServiceProperties

type ClusterServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type CopyRDBInstanceFilesToFTPInput

type CopyRDBInstanceFilesToFTPInput struct {
	Files       []*string `json:"files" name:"files" location:"params"`               // Required
	RDBInstance *string   `json:"rdb_instance" name:"rdb_instance" location:"params"` // Required
}

func (*CopyRDBInstanceFilesToFTPInput) Validate

func (v *CopyRDBInstanceFilesToFTPInput) Validate() error

type CopyRDBInstanceFilesToFTPOutput

type CopyRDBInstanceFilesToFTPOutput struct {
	Message     *string `json:"message" name:"message"`
	Action      *string `json:"action" name:"action" location:"elements"`
	JobID       *string `json:"job_id" name:"job_id" location:"elements"`
	RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"elements"`
	RetCode     *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateCacheFromSnapshotInput

type CreateCacheFromSnapshotInput struct {
	AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	// CacheClass's available values: 0, 1
	CacheClass          *int              `json:"cache_class" name:"cache_class" location:"params"`
	CacheName           *string           `json:"cache_name" name:"cache_name" location:"params"`
	CacheParameterGroup *string           `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"`
	CacheSize           *int              `json:"cache_size" name:"cache_size" location:"params"`
	CacheType           *string           `json:"cache_type" name:"cache_type" location:"params"`
	NetworkType         *int              `json:"network_type" name:"network_type" location:"params"`
	NodeCount           *int              `json:"node_count" name:"node_count" location:"params"`
	PrivateIPs          []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	Snapshot            *string           `json:"snapshot" name:"snapshot" location:"params"` // Required
	VxNet               *string           `json:"vxnet" name:"vxnet" location:"params"`       // Required
}

func (*CreateCacheFromSnapshotInput) Validate

func (v *CreateCacheFromSnapshotInput) Validate() error

type CreateCacheFromSnapshotOutput

type CreateCacheFromSnapshotOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	CacheID    *string   `json:"cache_id" name:"cache_id" location:"elements"`
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"`
	JobID      *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateCacheInput

type CreateCacheInput struct {
	AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" default:"-1" location:"params"`
	// CacheClass's available values: 0, 1
	CacheClass          *int              `json:"cache_class" name:"cache_class" location:"params"`
	CacheName           *string           `json:"cache_name" name:"cache_name" location:"params"`
	CacheParameterGroup *string           `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"`
	CacheSize           *int              `json:"cache_size" name:"cache_size" location:"params"` // Required
	CacheType           *string           `json:"cache_type" name:"cache_type" location:"params"` // Required
	MasterCount         *int              `json:"master_count" name:"master_count" location:"params"`
	NetworkType         *int              `json:"network_type" name:"network_type" location:"params"`
	NodeCount           *int              `json:"node_count" name:"node_count" default:"1" location:"params"`
	PrivateIPs          []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	ReplicateCount      *int              `json:"replicate_count" name:"replicate_count" location:"params"`
	VxNet               *string           `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*CreateCacheInput) Validate

func (v *CreateCacheInput) Validate() error

type CreateCacheOutput

type CreateCacheOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	CacheID    *string   `json:"cache_id" name:"cache_id" location:"elements"`
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"`
	JobID      *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateCacheParameterGroupInput

type CreateCacheParameterGroupInput struct {
	CacheParameterGroupName *string `json:"cache_parameter_group_name" name:"cache_parameter_group_name" location:"params"`
	// CacheType's available values: redis2.8.17, memcached1.4.13
	CacheType *string `json:"cache_type" name:"cache_type" location:"params"` // Required
}

func (*CreateCacheParameterGroupInput) Validate

func (v *CreateCacheParameterGroupInput) Validate() error

type CreateCacheParameterGroupOutput

type CreateCacheParameterGroupOutput struct {
	Message               *string `json:"message" name:"message"`
	Action                *string `json:"action" name:"action" location:"elements"`
	CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id" location:"elements"`
	RetCode               *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateClusterFromSnapshotInput

type CreateClusterFromSnapshotInput struct {
	Conf       *string `json:"conf" name:"conf" location:"params"`               // Required
	SnapshotID *string `json:"snapshot_id" name:"snapshot_id" location:"params"` // Required
}

func (*CreateClusterFromSnapshotInput) Validate

func (v *CreateClusterFromSnapshotInput) Validate() error

type CreateClusterFromSnapshotOutput

type CreateClusterFromSnapshotOutput struct {
	Message     *string   `json:"message" name:"message"`
	Action      *string   `json:"action" name:"action" location:"elements"`
	AppID       *string   `json:"app_id" name:"app_id" location:"elements"`
	AppVersion  *string   `json:"app_version" name:"app_version" location:"elements"`
	ClusterID   *string   `json:"cluster_id" name:"cluster_id" location:"elements"`
	ClusterName *string   `json:"cluster_name" name:"cluster_name" location:"elements"`
	JobID       *string   `json:"job_id" name:"job_id" location:"elements"`
	NodeIDs     []*string `json:"node_ids" name:"node_ids" location:"elements"`
	RetCode     *int      `json:"ret_code" name:"ret_code" location:"elements"`
	VxNetID     *string   `json:"vxnet_id" name:"vxnet_id" location:"elements"`
}

type CreateClusterInput

type CreateClusterInput struct {
	Conf *string `json:"conf" name:"conf" location:"params"` // Required
}

func (*CreateClusterInput) Validate

func (v *CreateClusterInput) Validate() error

type CreateClusterOutput

type CreateClusterOutput struct {
	Message     *string   `json:"message" name:"message"`
	Action      *string   `json:"action" name:"action" location:"elements"`
	AppID       *string   `json:"app_id" name:"app_id" location:"elements"`
	AppVersion  *string   `json:"app_version" name:"app_version" location:"elements"`
	ClusterID   *string   `json:"cluster_id" name:"cluster_id" location:"elements"`
	ClusterName *string   `json:"cluster_name" name:"cluster_name" location:"elements"`
	JobID       *string   `json:"job_id" name:"job_id" location:"elements"`
	NodeIDs     []*string `json:"node_ids" name:"node_ids" location:"elements"`
	RetCode     *int      `json:"ret_code" name:"ret_code" location:"elements"`
	VxNetID     *string   `json:"vxnet_id" name:"vxnet_id" location:"elements"`
}

type CreateKeyPairInput

type CreateKeyPairInput struct {

	// EncryptMethod's available values: ssh-rsa, ssh-dss
	EncryptMethod *string `json:"encrypt_method" name:"encrypt_method" default:"ssh-rsa" location:"params"`
	KeyPairName   *string `json:"keypair_name" name:"keypair_name" location:"params"`
	// Mode's available values: system, user
	Mode      *string `json:"mode" name:"mode" default:"system" location:"params"`
	PublicKey *string `json:"public_key" name:"public_key" location:"params"`
}

func (*CreateKeyPairInput) Validate

func (v *CreateKeyPairInput) Validate() error

type CreateKeyPairOutput

type CreateKeyPairOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	KeyPairID  *string `json:"keypair_id" name:"keypair_id" location:"elements"`
	PrivateKey *string `json:"private_key" name:"private_key" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {

	// ClusterMode's available values: 0, 1
	ClusterMode      *int      `json:"cluster_mode" name:"cluster_mode" default:"0" location:"params"`
	EIPs             []*string `json:"eips" name:"eips" location:"params"`
	HTTPHeaderSize   *int      `json:"http_header_size" name:"http_header_size" location:"params"`
	LoadBalancerName *string   `json:"loadbalancer_name" name:"loadbalancer_name" location:"params"`
	// LoadBalancerType's available values: 0, 1, 2, 3, 4, 5
	LoadBalancerType *int `json:"loadbalancer_type" name:"loadbalancer_type" default:"0" location:"params"`
	// Mode's available values: 0, 1
	Mode          *int    `json:"mode" name:"mode" default:"0" location:"params"`
	NodeCount     *int    `json:"node_count" name:"node_count" location:"params"`
	PrivateIP     *string `json:"private_ip" name:"private_ip" location:"params"`
	ProjectID     *string `json:"project_id" name:"project_id" location:"params"`
	SecurityGroup *string `json:"security_group" name:"security_group" location:"params"`
	VxNet         *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*CreateLoadBalancerInput) Validate

func (v *CreateLoadBalancerInput) Validate() error

type CreateLoadBalancerOutput

type CreateLoadBalancerOutput struct {
	Message        *string `json:"message" name:"message"`
	Action         *string `json:"action" name:"action" location:"elements"`
	JobID          *string `json:"job_id" name:"job_id" location:"elements"`
	LoadBalancerID *string `json:"loadbalancer_id" name:"loadbalancer_id" location:"elements"`
	RetCode        *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateLoadBalancerPolicyInput

type CreateLoadBalancerPolicyInput struct {
	LoadBalancerPolicyName *string `json:"loadbalancer_policy_name" name:"loadbalancer_policy_name" location:"params"` // Required
	// Operator's available values: or, and
	Operator *string `json:"operator" name:"operator" default:"or" location:"params"`
}

func (*CreateLoadBalancerPolicyInput) Validate

func (v *CreateLoadBalancerPolicyInput) Validate() error

type CreateLoadBalancerPolicyOutput

type CreateLoadBalancerPolicyOutput struct {
	Message              *string `json:"message" name:"message"`
	Action               *string `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id" location:"elements"`
	RetCode              *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateMongoFromSnapshotInput

type CreateMongoFromSnapshotInput struct {
	AutoBackupTime *int    `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	MongoName      *string `json:"mongo_name" name:"mongo_name" location:"params"`
	MongoType      *int    `json:"mongo_type" name:"mongo_type" location:"params"`
	MongoVersion   *int    `json:"mongo_version" name:"mongo_version" location:"params"`
	ResourceClass  *int    `json:"resource_class" name:"resource_class" location:"params"`
	Snapshot       *string `json:"snapshot" name:"snapshot" location:"params"`
	StorageSize    *int    `json:"storage_size" name:"storage_size" location:"params"`
	VxNet          *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*CreateMongoFromSnapshotInput) Validate

func (v *CreateMongoFromSnapshotInput) Validate() error

type CreateMongoFromSnapshotOutput

type CreateMongoFromSnapshotOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	Mongo   *string `json:"mongo" name:"mongo" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateMongoInput

type CreateMongoInput struct {
	AutoBackupTime *int              `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	Description    *string           `json:"description" name:"description" location:"params"`
	MongoName      *string           `json:"mongo_name" name:"mongo_name" location:"params"`
	MongoPassword  *string           `json:"mongo_password" name:"mongo_password" location:"params"`
	MongoType      *int              `json:"mongo_type" name:"mongo_type" location:"params"` // Required
	MongoUsername  *string           `json:"mongo_username" name:"mongo_username" location:"params"`
	MongoVersion   *string           `json:"mongo_version" name:"mongo_version" location:"params"`
	PrivateIPs     []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	ResourceClass  *int              `json:"resource_class" name:"resource_class" location:"params"`
	StorageSize    *int              `json:"storage_size" name:"storage_size" location:"params"` // Required
	VxNet          *string           `json:"vxnet" name:"vxnet" location:"params"`               // Required
}

func (*CreateMongoInput) Validate

func (v *CreateMongoInput) Validate() error

type CreateMongoOutput

type CreateMongoOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	Mongo   *string `json:"mongo" name:"mongo" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateNicsInput

type CreateNicsInput struct {
	Count      *int      `json:"count" name:"count" default:"1" location:"params"`
	NICName    *string   `json:"nic_name" name:"nic_name" location:"params"`
	PrivateIPs []*string `json:"private_ips" name:"private_ips" location:"params"`
	VxNet      *string   `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*CreateNicsInput) Validate

func (v *CreateNicsInput) Validate() error

type CreateNicsOutput

type CreateNicsOutput struct {
	Message *string  `json:"message" name:"message"`
	Action  *string  `json:"action" name:"action" location:"elements"`
	Nics    []*NICIP `json:"nics" name:"nics" location:"elements"`
	RetCode *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateRDBFromSnapshotInput

type CreateRDBFromSnapshotInput struct {
	AutoBackupTime *int    `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	Description    *string `json:"description" name:"description" location:"params"`
	// EngineVersion's available values: mysql,5.5, mysql,5.6, mysql,5.7, psql,9.3, psql,9.4
	EngineVersion *string         `json:"engine_version" name:"engine_version" default:"mysql,5.7" location:"params"`
	NodeCount     *int            `json:"node_count" name:"node_count" location:"params"`
	PrivateIPs    []*RDBPrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	ProxyCount    *int            `json:"proxy_count" name:"proxy_count" location:"params"`
	// RDBEngine's available values: mysql, psql
	RDBEngine *string `json:"rdb_engine" name:"rdb_engine" default:"mysql" location:"params"`
	RDBName   *string `json:"rdb_name" name:"rdb_name" location:"params"`
	// RDBType's available values: 1, 2, 4, 8, 16, 32
	RDBType     *int    `json:"rdb_type" name:"rdb_type" location:"params"` // Required
	Snapshot    *string `json:"snapshot" name:"snapshot" location:"params"` // Required
	StorageSize *int    `json:"storage_size" name:"storage_size" location:"params"`
	VxNet       *string `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*CreateRDBFromSnapshotInput) Validate

func (v *CreateRDBFromSnapshotInput) Validate() error

type CreateRDBFromSnapshotOutput

type CreateRDBFromSnapshotOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RDB     *string `json:"rdb" name:"rdb" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateRDBInput

type CreateRDBInput struct {
	AutoBackupTime *int    `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	Description    *string `json:"description" name:"description" location:"params"`
	// EngineVersion's available values: mysql,5.5, mysql,5.6, mysql,5.7, psql,9.3, psql,9.4
	EngineVersion *string         `json:"engine_version" name:"engine_version" default:"mysql,5.7" location:"params"`
	NodeCount     *int            `json:"node_count" name:"node_count" location:"params"`
	PrivateIPs    []*RDBPrivateIP `json:"private_ips" name:"private_ips" location:"params"`
	ProxyCount    *int            `json:"proxy_count" name:"proxy_count" location:"params"`
	RDBClass      *int            `json:"rdb_class" name:"rdb_class" location:"params"`
	// RDBEngine's available values: mysql, psql
	RDBEngine   *string `json:"rdb_engine" name:"rdb_engine" default:"mysql" location:"params"`
	RDBName     *string `json:"rdb_name" name:"rdb_name" location:"params"`
	RDBPassword *string `json:"rdb_password" name:"rdb_password" location:"params"` // Required
	// RDBType's available values: 1, 2, 4, 8, 16, 32
	RDBType     *int    `json:"rdb_type" name:"rdb_type" location:"params"`         // Required
	RDBUsername *string `json:"rdb_username" name:"rdb_username" location:"params"` // Required
	StorageSize *int    `json:"storage_size" name:"storage_size" location:"params"` // Required
	VxNet       *string `json:"vxnet" name:"vxnet" location:"params"`               // Required
}

func (*CreateRDBInput) Validate

func (v *CreateRDBInput) Validate() error

type CreateRDBOutput

type CreateRDBOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RDB     *string `json:"rdb" name:"rdb" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateRoutersInput

type CreateRoutersInput struct {
	Count      *int    `json:"count" name:"count" default:"1" location:"params"`
	RouterName *string `json:"router_name" name:"router_name" location:"params"`
	// RouterType's available values: 0, 1, 2, 3
	RouterType    *int    `json:"router_type" name:"router_type" default:"1" location:"params"`
	SecurityGroup *string `json:"security_group" name:"security_group" location:"params"`
	VpcNetwork    *string `json:"vpc_network" name:"vpc_network" location:"params"`
}

func (*CreateRoutersInput) Validate

func (v *CreateRoutersInput) Validate() error

type CreateRoutersOutput

type CreateRoutersOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	Routers []*string `json:"routers" name:"routers" location:"elements"`
}

type CreateS2ServerInput

type CreateS2ServerInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	PrivateIP   *string `json:"private_ip" name:"private_ip" location:"params"`
	// S2Class's available values: 0, 1
	S2Class      *int    `json:"s2_class" name:"s2_class" location:"params"`
	S2ServerName *string `json:"s2_server_name" name:"s2_server_name" location:"params"`
	ServiceType  *string `json:"service_type" name:"service_type" location:"params"`
	VxNet        *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*CreateS2ServerInput) Validate

func (v *CreateS2ServerInput) Validate() error

type CreateS2ServerOutput

type CreateS2ServerOutput struct {
	Message  *string `json:"message" name:"message"`
	Action   *string `json:"action" name:"action" location:"elements"`
	JobID    *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int    `json:"ret_code" name:"ret_code" location:"elements"`
	S2Server *string `json:"s2_server" name:"s2_server" location:"elements"`
}

type CreateS2SharedTargetInput

type CreateS2SharedTargetInput struct {
	Description    *string   `json:"description" name:"description" location:"params"`
	ExportName     *string   `json:"export_name" name:"export_name" location:"params"` // Required
	ExportNameNfs  *string   `json:"export_name_nfs" name:"export_name_nfs" location:"params"`
	InitiatorNames []*string `json:"initiator_names" name:"initiator_names" location:"params"`
	S2Group        *string   `json:"s2_group" name:"s2_group" location:"params"`
	S2ServerID     *string   `json:"s2_server_id" name:"s2_server_id" location:"params"` // Required
	// TargetType's available values: ISCSI, NFS
	TargetType *string   `json:"target_type" name:"target_type" location:"params"` // Required
	Volumes    []*string `json:"volumes" name:"volumes" location:"params"`
}

func (*CreateS2SharedTargetInput) Validate

func (v *CreateS2SharedTargetInput) Validate() error

type CreateS2SharedTargetOutput

type CreateS2SharedTargetOutput struct {
	Message        *string `json:"message" name:"message"`
	Action         *string `json:"action" name:"action" location:"elements"`
	RetCode        *int    `json:"ret_code" name:"ret_code" location:"elements"`
	S2SharedTarget *string `json:"s2_shared_target" name:"s2_shared_target" location:"elements"`
}

type CreateSecurityGroupIPSetInput

type CreateSecurityGroupIPSetInput struct {

	// IPSetType's available values: 0, 1
	IPSetType              *int    `json:"ipset_type" name:"ipset_type" location:"params"` // Required
	SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name" location:"params"`
	Val                    *string `json:"val" name:"val" location:"params"` // Required
}

func (*CreateSecurityGroupIPSetInput) Validate

func (v *CreateSecurityGroupIPSetInput) Validate() error

type CreateSecurityGroupIPSetOutput

type CreateSecurityGroupIPSetOutput struct {
	Message              *string `json:"message" name:"message"`
	Action               *string `json:"action" name:"action" location:"elements"`
	RetCode              *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupIPSetID *string `json:"security_group_ipset_id" name:"security_group_ipset_id" location:"elements"`
}

type CreateSecurityGroupInput

type CreateSecurityGroupInput struct {
	SecurityGroupName *string `json:"security_group_name" name:"security_group_name" location:"params"`
}

func (*CreateSecurityGroupInput) Validate

func (v *CreateSecurityGroupInput) Validate() error

type CreateSecurityGroupOutput

type CreateSecurityGroupOutput struct {
	Message         *string `json:"message" name:"message"`
	Action          *string `json:"action" name:"action" location:"elements"`
	RetCode         *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupID *string `json:"security_group_id" name:"security_group_id" location:"elements"`
}

type CreateSecurityGroupSnapshotInput

type CreateSecurityGroupSnapshotInput struct {
	Name          *string `json:"name" name:"name" location:"params"`
	SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required
}

func (*CreateSecurityGroupSnapshotInput) Validate

type CreateSecurityGroupSnapshotOutput

type CreateSecurityGroupSnapshotOutput struct {
	Message                 *string `json:"message" name:"message"`
	Action                  *string `json:"action" name:"action" location:"elements"`
	RetCode                 *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupID         *string `json:"security_group_id" name:"security_group_id" location:"elements"`
	SecurityGroupSnapshotID *string `json:"security_group_snapshot_id" name:"security_group_snapshot_id" location:"elements"`
}

type CreateServerCertificateInput

type CreateServerCertificateInput struct {
	CertificateContent    *string `json:"certificate_content" name:"certificate_content" location:"params"` // Required
	PrivateKey            *string `json:"private_key" name:"private_key" location:"params"`                 // Required
	ServerCertificateName *string `json:"server_certificate_name" name:"server_certificate_name" location:"params"`
}

func (*CreateServerCertificateInput) Validate

func (v *CreateServerCertificateInput) Validate() error

type CreateServerCertificateOutput

type CreateServerCertificateOutput struct {
	Message             *string `json:"message" name:"message"`
	Action              *string `json:"action" name:"action" location:"elements"`
	RetCode             *int    `json:"ret_code" name:"ret_code" location:"elements"`
	ServerCertificateID *string `json:"server_certificate_id" name:"server_certificate_id" location:"elements"`
}

type CreateSnapshotsInput

type CreateSnapshotsInput struct {

	// IsFull's available values: 0, 1
	IsFull        *int      `json:"is_full" name:"is_full" location:"params"`
	Resources     []*string `json:"resources" name:"resources" location:"params"` // Required
	ServiceParams *string   `json:"service_params" name:"service_params" location:"params"`
	SnapshotName  *string   `json:"snapshot_name" name:"snapshot_name" location:"params"`
}

func (*CreateSnapshotsInput) Validate

func (v *CreateSnapshotsInput) Validate() error

type CreateSnapshotsOutput

type CreateSnapshotsOutput struct {
	Message   *string   `json:"message" name:"message"`
	Action    *string   `json:"action" name:"action" location:"elements"`
	JobID     *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode   *int      `json:"ret_code" name:"ret_code" location:"elements"`
	Snapshots []*string `json:"snapshots" name:"snapshots" location:"elements"`
}

type CreateTagInput

type CreateTagInput struct {
	Color   *string `json:"color" name:"color" location:"params"`
	TagName *string `json:"tag_name" name:"tag_name" location:"params"`
}

func (*CreateTagInput) Validate

func (v *CreateTagInput) Validate() error

type CreateTagOutput

type CreateTagOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TagID   *string `json:"tag_id" name:"tag_id" location:"elements"`
}

type CreateTempRDBInstanceFromSnapshotInput

type CreateTempRDBInstanceFromSnapshotInput struct {
	RDB      *string `json:"rdb" name:"rdb" location:"params"`           // Required
	Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required
}

func (*CreateTempRDBInstanceFromSnapshotInput) Validate

type CreateTempRDBInstanceFromSnapshotOutput

type CreateTempRDBInstanceFromSnapshotOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RDB     *string `json:"rdb" name:"rdb" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type CreateVolumeFromSnapshotInput

type CreateVolumeFromSnapshotInput struct {
	Snapshot   *string `json:"snapshot" name:"snapshot" location:"params"` // Required
	VolumeName *string `json:"volume_name" name:"volume_name" location:"params"`
	Zone       *string `json:"zone" name:"zone" location:"params"`
}

func (*CreateVolumeFromSnapshotInput) Validate

func (v *CreateVolumeFromSnapshotInput) Validate() error

type CreateVolumeFromSnapshotOutput

type CreateVolumeFromSnapshotOutput struct {
	Message  *string `json:"message" name:"message"`
	Action   *string `json:"action" name:"action" location:"elements"`
	JobID    *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int    `json:"ret_code" name:"ret_code" location:"elements"`
	VolumeID *string `json:"volume_id" name:"volume_id" location:"elements"`
}

type CreateVolumesInput

type CreateVolumesInput struct {
	Count      *int    `json:"count" name:"count" default:"1" location:"params"`
	Repl       *string `json:"repl" name:"repl" location:"params"`
	Size       *int    `json:"size" name:"size" location:"params"` // Required
	VolumeName *string `json:"volume_name" name:"volume_name" location:"params"`
	// VolumeType's available values: 0, 1, 2, 3, 4, 5, 6, 10, 100, 200
	VolumeType *int    `json:"volume_type" name:"volume_type" default:"0" location:"params"`
	Zone       *string `json:"zone" name:"zone" location:"params"`
}

func (*CreateVolumesInput) Validate

func (v *CreateVolumesInput) Validate() error

type CreateVolumesOutput

type CreateVolumesOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	Volumes []*string `json:"volumes" name:"volumes" location:"elements"`
}

type CreateVxNetsInput

type CreateVxNetsInput struct {
	Count     *int    `json:"count" name:"count" default:"1" location:"params"`
	VxNetName *string `json:"vxnet_name" name:"vxnet_name" location:"params"`
	// VxNetType's available values: 0, 1
	VxNetType *int `json:"vxnet_type" name:"vxnet_type" location:"params"` // Required
}

func (*CreateVxNetsInput) Validate

func (v *CreateVxNetsInput) Validate() error

type CreateVxNetsOutput

type CreateVxNetsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	VxNets  []*string `json:"vxnets" name:"vxnets" location:"elements"`
}

type DHCPOption

type DHCPOption struct {
	RouterStaticID *string `json:"router_static_id" name:"router_static_id"`
	Val2           *string `json:"val2" name:"val2"`
}

func (*DHCPOption) Validate

func (v *DHCPOption) Validate() error

type DNSAlias

type DNSAlias struct {
	CreateTime   *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description  *string    `json:"description" name:"description"`
	DNSAliasID   *string    `json:"dns_alias_id" name:"dns_alias_id"`
	DNSAliasName *string    `json:"dns_alias_name" name:"dns_alias_name"`
	DomainName   *string    `json:"domain_name" name:"domain_name"`
	ResourceID   *string    `json:"resource_id" name:"resource_id"`
	Status       *string    `json:"status" name:"status"`
}

func (*DNSAlias) Validate

func (v *DNSAlias) Validate() error

type DNSAliasServiceProperties

type DNSAliasServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type Data

type Data struct {
	Data  *string `json:"data" name:"data"`
	EIPID *string `json:"eip_id" name:"eip_id"`
}

func (*Data) Validate

func (v *Data) Validate() error

type DeleteAccessKeysInput

type DeleteAccessKeysInput struct {
	AccessKeys []*string `json:"access_keys" name:"access_keys" location:"params"` // Required
}

func (*DeleteAccessKeysInput) Validate

func (v *DeleteAccessKeysInput) Validate() error

type DeleteAccessKeysOutput

type DeleteAccessKeysOutput struct {
	Message    *string   `json:"message" name:"message"`
	AccessKeys []*string `json:"access_keys" name:"access_keys" location:"elements"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	JobID      *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteCacheNodesInput

type DeleteCacheNodesInput struct {
	Cache      *string   `json:"cache" name:"cache" location:"params"`             // Required
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"params"` // Required
}

func (*DeleteCacheNodesInput) Validate

func (v *DeleteCacheNodesInput) Validate() error

type DeleteCacheNodesOutput

type DeleteCacheNodesOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"`
	JobID      *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteCacheParameterGroupsInput

type DeleteCacheParameterGroupsInput struct {
	CacheParameterGroups []*string `json:"cache_parameter_groups" name:"cache_parameter_groups" location:"params"` // Required
}

func (*DeleteCacheParameterGroupsInput) Validate

func (v *DeleteCacheParameterGroupsInput) Validate() error

type DeleteCacheParameterGroupsOutput

type DeleteCacheParameterGroupsOutput struct {
	Message         *string   `json:"message" name:"message"`
	Action          *string   `json:"action" name:"action" location:"elements"`
	ParameterGroups []*string `json:"parameter_groups" name:"parameter_groups" location:"elements"`
	RetCode         *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteCachesInput

type DeleteCachesInput struct {
	Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}

func (*DeleteCachesInput) Validate

func (v *DeleteCachesInput) Validate() error

type DeleteCachesOutput

type DeleteCachesOutput struct {
	Message  *string   `json:"message" name:"message"`
	Action   *string   `json:"action" name:"action" location:"elements"`
	CacheIDs []*string `json:"cache_ids" name:"cache_ids" location:"elements"`
	JobID    *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteClusterNodesInput

type DeleteClusterNodesInput struct {
	Cluster *string   `json:"cluster" name:"cluster" location:"params"` // Required
	Force   *int      `json:"force" name:"force" location:"params"`
	Nodes   []*string `json:"nodes" name:"nodes" location:"params"` // Required
}

func (*DeleteClusterNodesInput) Validate

func (v *DeleteClusterNodesInput) Validate() error

type DeleteClusterNodesOutput

type DeleteClusterNodesOutput struct {
	Message        *string   `json:"message" name:"message"`
	Action         *string   `json:"action" name:"action" location:"elements"`
	ClusterID      *string   `json:"cluster_id" name:"cluster_id" location:"elements"`
	DeletedNodeIDs []*string `json:"deleted_node_ids" name:"deleted_node_ids" location:"elements"`
	JobID          *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode        *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteClustersInput

type DeleteClustersInput struct {
	Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required
	Force    *int      `json:"force" name:"force" location:"params"`
}

func (*DeleteClustersInput) Validate

func (v *DeleteClustersInput) Validate() error

type DeleteClustersOutput

type DeleteClustersOutput struct {
	Message *string            `json:"message" name:"message"`
	Action  *string            `json:"action" name:"action" location:"elements"`
	JobIDs  map[string]*string `json:"job_ids" name:"job_ids" location:"elements"`
	RetCode *int               `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteImagesInput

type DeleteImagesInput struct {
	Images []*string `json:"images" name:"images" location:"params"` // Required
}

func (*DeleteImagesInput) Validate

func (v *DeleteImagesInput) Validate() error

type DeleteImagesOutput

type DeleteImagesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteKeyPairsInput

type DeleteKeyPairsInput struct {
	KeyPairs []*string `json:"keypairs" name:"keypairs" location:"params"` // Required
}

func (*DeleteKeyPairsInput) Validate

func (v *DeleteKeyPairsInput) Validate() error

type DeleteKeyPairsOutput

type DeleteKeyPairsOutput struct {
	Message  *string   `json:"message" name:"message"`
	Action   *string   `json:"action" name:"action" location:"elements"`
	KeyPairs []*string `json:"keypairs" name:"keypairs" location:"elements"`
	RetCode  *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteLoadBalancerBackendsInput

type DeleteLoadBalancerBackendsInput struct {
	LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"params"` // Required
}

func (*DeleteLoadBalancerBackendsInput) Validate

func (v *DeleteLoadBalancerBackendsInput) Validate() error

type DeleteLoadBalancerBackendsOutput

type DeleteLoadBalancerBackendsOutput struct {
	Message              *string   `json:"message" name:"message"`
	Action               *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"elements"`
	RetCode              *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteLoadBalancerListenersInput

type DeleteLoadBalancerListenersInput struct {
	LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"params"` // Required
}

func (*DeleteLoadBalancerListenersInput) Validate

type DeleteLoadBalancerListenersOutput

type DeleteLoadBalancerListenersOutput struct {
	Message               *string   `json:"message" name:"message"`
	Action                *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"elements"`
	RetCode               *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteLoadBalancerPoliciesInput

type DeleteLoadBalancerPoliciesInput struct {
	LoadBalancerPolicies []*string `json:"loadbalancer_policies" name:"loadbalancer_policies" location:"params"` // Required
}

func (*DeleteLoadBalancerPoliciesInput) Validate

func (v *DeleteLoadBalancerPoliciesInput) Validate() error

type DeleteLoadBalancerPoliciesOutput

type DeleteLoadBalancerPoliciesOutput struct {
	Message              *string   `json:"message" name:"message"`
	Action               *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicies []*string `json:"loadbalancer_policies" name:"loadbalancer_policies" location:"elements"`
	RetCode              *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteLoadBalancerPolicyRulesInput

type DeleteLoadBalancerPolicyRulesInput struct {
	LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"params"` // Required
}

func (*DeleteLoadBalancerPolicyRulesInput) Validate

type DeleteLoadBalancerPolicyRulesOutput

type DeleteLoadBalancerPolicyRulesOutput struct {
	Message                 *string   `json:"message" name:"message"`
	Action                  *string   `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"elements"`
	RetCode                 *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteLoadBalancersInput

type DeleteLoadBalancersInput struct {
	LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}

func (*DeleteLoadBalancersInput) Validate

func (v *DeleteLoadBalancersInput) Validate() error

type DeleteLoadBalancersOutput

type DeleteLoadBalancersOutput struct {
	Message       *string   `json:"message" name:"message"`
	Action        *string   `json:"action" name:"action" location:"elements"`
	JobID         *string   `json:"job_id" name:"job_id" location:"elements"`
	LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"elements"`
	RetCode       *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteMongosInput

type DeleteMongosInput struct {
	Mongos []*string `json:"mongos" name:"mongos" location:"params"` // Required
}

func (*DeleteMongosInput) Validate

func (v *DeleteMongosInput) Validate() error

type DeleteMongosOutput

type DeleteMongosOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	Mongos  []*string `json:"mongos" name:"mongos" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteNicsInput

type DeleteNicsInput struct {
	Nics []*string `json:"nics" name:"nics" location:"params"` // Required
}

func (*DeleteNicsInput) Validate

func (v *DeleteNicsInput) Validate() error

type DeleteNicsOutput

type DeleteNicsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteProjectResourceItemsInput

type DeleteProjectResourceItemsInput struct {
	ProjectID []*string `json:"project_id" name:"project_id" location:"params"` // Required
	Resources []*string `json:"resources" name:"resources" location:"params"`   // Required
}

func (*DeleteProjectResourceItemsInput) Validate

func (v *DeleteProjectResourceItemsInput) Validate() error

type DeleteProjectResourceItemsOutput

type DeleteProjectResourceItemsOutput struct {
	Message     *string   `json:"message" name:"message"`
	Action      *string   `json:"action" name:"action" location:"elements"`
	ProjectID   []*string `json:"project_id" name:"project_id" location:"elements"`
	ResourceIDs []*string `json:"resource_ids" name:"resource_ids" location:"elements"`
	RetCode     *int      `json:"ret_code" name:"ret_code" location:"elements"`
	ZoneID      *string   `json:"zone_id" name:"zone_id" location:"elements"`
}

type DeleteRDBsInput

type DeleteRDBsInput struct {
	RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
}

func (*DeleteRDBsInput) Validate

func (v *DeleteRDBsInput) Validate() error

type DeleteRDBsOutput

type DeleteRDBsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RDBs    []*string `json:"rdbs" name:"rdbs" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteRouterStaticEntriesInput

type DeleteRouterStaticEntriesInput struct {
	RouterStaticEntries []*string `json:"router_static_entries" name:"router_static_entries" location:"params"` // Required
}

func (*DeleteRouterStaticEntriesInput) Validate

func (v *DeleteRouterStaticEntriesInput) Validate() error

type DeleteRouterStaticEntriesOutput

type DeleteRouterStaticEntriesOutput struct {
	Message             *string   `json:"message" name:"message"`
	Action              *string   `json:"action" name:"action" location:"elements"`
	RetCode             *int      `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStaticEntries []*string `json:"router_static_entries" name:"router_static_entries" location:"elements"`
}

type DeleteRouterStaticsInput

type DeleteRouterStaticsInput struct {
	RouterStatics []*string `json:"router_statics" name:"router_statics" location:"params"` // Required
}

func (*DeleteRouterStaticsInput) Validate

func (v *DeleteRouterStaticsInput) Validate() error

type DeleteRouterStaticsOutput

type DeleteRouterStaticsOutput struct {
	Message       *string   `json:"message" name:"message"`
	Action        *string   `json:"action" name:"action" location:"elements"`
	RetCode       *int      `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStatics []*string `json:"router_statics" name:"router_statics" location:"elements"`
}

type DeleteRoutersInput

type DeleteRoutersInput struct {
	Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}

func (*DeleteRoutersInput) Validate

func (v *DeleteRoutersInput) Validate() error

type DeleteRoutersOutput

type DeleteRoutersOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	Routers []*string `json:"routers" name:"routers" location:"elements"`
}

type DeleteS2ServersInput

type DeleteS2ServersInput struct {
	S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}

func (*DeleteS2ServersInput) Validate

func (v *DeleteS2ServersInput) Validate() error

type DeleteS2ServersOutput

type DeleteS2ServersOutput struct {
	Message   *string   `json:"message" name:"message"`
	Action    *string   `json:"action" name:"action" location:"elements"`
	JobID     *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode   *int      `json:"ret_code" name:"ret_code" location:"elements"`
	S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"elements"`
}

type DeleteS2SharedTargetsInput

type DeleteS2SharedTargetsInput struct {
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"params"` // Required
}

func (*DeleteS2SharedTargetsInput) Validate

func (v *DeleteS2SharedTargetsInput) Validate() error

type DeleteS2SharedTargetsOutput

type DeleteS2SharedTargetsOutput struct {
	Message       *string   `json:"message" name:"message"`
	Action        *string   `json:"action" name:"action" location:"elements"`
	RetCode       *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"elements"`
}

type DeleteSecurityGroupIPSetsInput

type DeleteSecurityGroupIPSetsInput struct {
	SecurityGroupIPSets []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"params"` // Required
}

func (*DeleteSecurityGroupIPSetsInput) Validate

func (v *DeleteSecurityGroupIPSetsInput) Validate() error

type DeleteSecurityGroupIPSetsOutput

type DeleteSecurityGroupIPSetsOutput struct {
	Message             *string   `json:"message" name:"message"`
	Action              *string   `json:"action" name:"action" location:"elements"`
	RetCode             *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupIPSets []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"elements"`
}

type DeleteSecurityGroupRulesInput

type DeleteSecurityGroupRulesInput struct {
	SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"params"` // Required
}

func (*DeleteSecurityGroupRulesInput) Validate

func (v *DeleteSecurityGroupRulesInput) Validate() error

type DeleteSecurityGroupRulesOutput

type DeleteSecurityGroupRulesOutput struct {
	Message            *string   `json:"message" name:"message"`
	Action             *string   `json:"action" name:"action" location:"elements"`
	RetCode            *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"elements"`
}

type DeleteSecurityGroupSnapshotsInput

type DeleteSecurityGroupSnapshotsInput struct {
	SecurityGroupSnapshots []*string `json:"security_group_snapshots" name:"security_group_snapshots" location:"params"` // Required
}

func (*DeleteSecurityGroupSnapshotsInput) Validate

type DeleteSecurityGroupSnapshotsOutput

type DeleteSecurityGroupSnapshotsOutput struct {
	Message                *string   `json:"message" name:"message"`
	Action                 *string   `json:"action" name:"action" location:"elements"`
	RetCode                *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupSnapshots []*string `json:"security_group_snapshots" name:"security_group_snapshots" location:"elements"`
}

type DeleteSecurityGroupsInput

type DeleteSecurityGroupsInput struct {
	SecurityGroups []*string `json:"security_groups" name:"security_groups" location:"params"` // Required
}

func (*DeleteSecurityGroupsInput) Validate

func (v *DeleteSecurityGroupsInput) Validate() error

type DeleteSecurityGroupsOutput

type DeleteSecurityGroupsOutput struct {
	Message        *string   `json:"message" name:"message"`
	Action         *string   `json:"action" name:"action" location:"elements"`
	RetCode        *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroups []*string `json:"security_groups" name:"security_groups" location:"elements"`
}

type DeleteServerCertificatesInput

type DeleteServerCertificatesInput struct {
	ServerCertificates []*string `json:"server_certificates" name:"server_certificates" location:"params"` // Required
}

func (*DeleteServerCertificatesInput) Validate

func (v *DeleteServerCertificatesInput) Validate() error

type DeleteServerCertificatesOutput

type DeleteServerCertificatesOutput struct {
	Message            *string   `json:"message" name:"message"`
	Action             *string   `json:"action" name:"action" location:"elements"`
	RetCode            *int      `json:"ret_code" name:"ret_code" location:"elements"`
	ServerCertificates []*string `json:"server_certificates" name:"server_certificates" location:"elements"`
}

type DeleteSnapshotsInput

type DeleteSnapshotsInput struct {
	Snapshots []*string `json:"snapshots" name:"snapshots" location:"params"` // Required
}

func (*DeleteSnapshotsInput) Validate

func (v *DeleteSnapshotsInput) Validate() error

type DeleteSnapshotsOutput

type DeleteSnapshotsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteTagsInput

type DeleteTagsInput struct {
	Tags []*string `json:"tags" name:"tags" location:"params"` // Required
}

func (*DeleteTagsInput) Validate

func (v *DeleteTagsInput) Validate() error

type DeleteTagsOutput

type DeleteTagsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	Tags    []*string `json:"tags" name:"tags" location:"elements"`
}

type DeleteVolumesInput

type DeleteVolumesInput struct {
	Volumes []*string `json:"volumes" name:"volumes" location:"params"` // Required
}

func (*DeleteVolumesInput) Validate

func (v *DeleteVolumesInput) Validate() error

type DeleteVolumesOutput

type DeleteVolumesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DeleteVxNetsInput

type DeleteVxNetsInput struct {
	VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` // Required
}

func (*DeleteVxNetsInput) Validate

func (v *DeleteVxNetsInput) Validate() error

type DeleteVxNetsOutput

type DeleteVxNetsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	VxNets  []*string `json:"vxnets" name:"vxnets" location:"elements"`
}

type DeployAppVersionInput

type DeployAppVersionInput struct {
	AppID      *string `json:"app_id" name:"app_id" location:"params"`
	AppType    *string `json:"app_type" name:"app_type" location:"params"`
	ChargeMode *string `json:"charge_mode" name:"charge_mode" location:"params"`
	Conf       *string `json:"conf" name:"conf" location:"params"`
	Debug      *int    `json:"debug" name:"debug" location:"params"`
	Owner      *string `json:"owner" name:"owner" location:"params"`
	VersionID  *string `json:"version_id" name:"version_id" location:"params"`
}

func (*DeployAppVersionInput) Validate

func (v *DeployAppVersionInput) Validate() error

type DeployAppVersionOutput

type DeployAppVersionOutput struct {
	Message     *string   `json:"message" name:"message"`
	Action      *string   `json:"action" name:"action" location:"elements"`
	AppID       *string   `json:"app_id" name:"app_id" location:"elements"`
	AppVersion  *string   `json:"app_version" name:"app_version" location:"elements"`
	ClusterID   *string   `json:"cluster_id" name:"cluster_id" location:"elements"`
	ClusterName *string   `json:"cluster_name" name:"cluster_name" location:"elements"`
	JobID       *string   `json:"job_id" name:"job_id" location:"elements"`
	NodeCount   *int      `json:"node_count" name:"node_count" location:"elements"`
	NodeIDs     []*string `json:"node_ids" name:"node_ids" location:"elements"`
	RetCode     *int      `json:"ret_code" name:"ret_code" location:"elements"`
	VxNetID     *string   `json:"vxnet_id" name:"vxnet_id" location:"elements"`
}

type DescribeAccessKeysInput

type DescribeAccessKeysInput struct {
	AccessKeys []*string `json:"access_keys" name:"access_keys" location:"params"`
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeAccessKeysInput) Validate

func (v *DescribeAccessKeysInput) Validate() error

type DescribeAccessKeysOutput

type DescribeAccessKeysOutput struct {
	Message      *string      `json:"message" name:"message"`
	AccessKeySet []*AccessKey `json:"access_key_set" name:"access_key_set" location:"elements"`
	Action       *string      `json:"action" name:"action" location:"elements"`
	RetCode      *int         `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount   *int         `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeAppVersionAttachmentsInput

type DescribeAppVersionAttachmentsInput struct {
	AttachmentIDs []*string `json:"attachment_ids" name:"attachment_ids" location:"params"`
	// ContentKeys's available values: config.json, locale/zh-cn.json, locale/en.json, cluster.json.mustache
	ContentKeys []*string `json:"content_keys" name:"content_keys" location:"params"`
	VersionID   *string   `json:"version_id" name:"version_id" location:"params"`
}

func (*DescribeAppVersionAttachmentsInput) Validate

type DescribeAppVersionAttachmentsOutput

type DescribeAppVersionAttachmentsOutput struct {
	Message    *string                 `json:"message" name:"message"`
	Action     *string                 `json:"action" name:"action" location:"elements"`
	RetCode    *int                    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int                    `json:"total_count" name:"total_count" location:"elements"`
	VersionSet []*AppVersionAttachment `json:"version_set" name:"version_set" location:"elements"`
}

type DescribeAppVersionsInput

type DescribeAppVersionsInput struct {
	AppIDs  []*string `json:"app_ids" name:"app_ids" location:"params"`
	Limit   *int      `json:"limit" name:"limit" location:"params"`
	Name    *string   `json:"name" name:"name" location:"params"`
	Offset  *int      `json:"offset" name:"offset" location:"params"`
	Owner   *string   `json:"owner" name:"owner" location:"params"`
	Reverse *string   `json:"reverse" name:"reverse" location:"params"`
	SortKey *string   `json:"sort_key" name:"sort_key" location:"params"`
	Status  []*string `json:"status" name:"status" location:"params"`
	// Verbose's available values: 1, 0
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
	VersionIDs []*string `json:"version_ids" name:"version_ids" location:"params"`
}

func (*DescribeAppVersionsInput) Validate

func (v *DescribeAppVersionsInput) Validate() error

type DescribeAppVersionsOutput

type DescribeAppVersionsOutput struct {
	Message    *string       `json:"message" name:"message"`
	Action     *string       `json:"action" name:"action" location:"elements"`
	RetCode    *int          `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int          `json:"total_count" name:"total_count" location:"elements"`
	VersionSet []*AppVersion `json:"version_set" name:"version_set" location:"elements"`
}

type DescribeAppsInput

type DescribeAppsInput struct {
	App        *string   `json:"app" name:"app" location:"params"`
	AppName    *string   `json:"app_name" name:"app_name" location:"params"`
	AppType    []*string `json:"app_type" name:"app_type" location:"params"`
	Category   *string   `json:"category" name:"category" location:"params"`
	Limit      *int      `json:"limit" name:"limit" location:"params"`
	Offset     *int      `json:"offset" name:"offset" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 1, 0
	Verbose *int      `json:"verbose" name:"verbose" location:"params"`
	Zones   []*string `json:"zones" name:"zones" location:"params"`
}

func (*DescribeAppsInput) Validate

func (v *DescribeAppsInput) Validate() error

type DescribeAppsOutput

type DescribeAppsOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	AppSet     []*App  `json:"app_set" name:"app_set" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeCacheNodesInput

type DescribeCacheNodesInput struct {
	Cache      *string   `json:"cache" name:"cache" location:"params"`
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"params"`
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeCacheNodesInput) Validate

func (v *DescribeCacheNodesInput) Validate() error

type DescribeCacheNodesOutput

type DescribeCacheNodesOutput struct {
	Message      *string      `json:"message" name:"message"`
	Action       *string      `json:"action" name:"action" location:"elements"`
	CacheNodeSet []*CacheNode `json:"cache_node_set" name:"cache_node_set" location:"elements"`
	RetCode      *int         `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount   *int         `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeCacheParameterGroupsInput

type DescribeCacheParameterGroupsInput struct {
	CacheParameterGroups []*string `json:"cache_parameter_groups" name:"cache_parameter_groups" location:"params"`
	CacheType            *string   `json:"cache_type" name:"cache_type" location:"params"`
	Limit                *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset               *int      `json:"offset" name:"offset" default:"0" location:"params"`
	SearchWord           *string   `json:"search_word" name:"search_word" location:"params"`
	Verbose              *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeCacheParameterGroupsInput) Validate

type DescribeCacheParameterGroupsOutput

type DescribeCacheParameterGroupsOutput struct {
	Message                *string                `json:"message" name:"message"`
	Action                 *string                `json:"action" name:"action" location:"elements"`
	CacheParameterGroupSet []*CacheParameterGroup `json:"cache_parameter_group_set" name:"cache_parameter_group_set" location:"elements"`
	RetCode                *int                   `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount             *int                   `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeCacheParametersInput

type DescribeCacheParametersInput struct {
	CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required
	Verbose             *int    `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeCacheParametersInput) Validate

func (v *DescribeCacheParametersInput) Validate() error

type DescribeCacheParametersOutput

type DescribeCacheParametersOutput struct {
	Message           *string           `json:"message" name:"message"`
	Action            *string           `json:"action" name:"action" location:"elements"`
	CacheParameterSet []*CacheParameter `json:"cache_parameter_set" name:"cache_parameter_set" location:"elements"`
	RetCode           *int              `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount        *int              `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeCachesInput

type DescribeCachesInput struct {
	CacheType  []*string `json:"cache_type" name:"cache_type" location:"params"`
	Caches     []*string `json:"caches" name:"caches" location:"params"`
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	ProjectID  *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeCachesInput) Validate

func (v *DescribeCachesInput) Validate() error

type DescribeCachesOutput

type DescribeCachesOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	CacheSet   []*Cache `json:"cache_set" name:"cache_set" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int     `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeClusterDisplayTabsInput

type DescribeClusterDisplayTabsInput struct {
	Cluster     *string `json:"cluster" name:"cluster" location:"params"`           // Required
	DisplayTabs *string `json:"display_tabs" name:"display_tabs" location:"params"` // Required
	Role        *string `json:"role" name:"role" location:"params"`
}

func (*DescribeClusterDisplayTabsInput) Validate

func (v *DescribeClusterDisplayTabsInput) Validate() error

type DescribeClusterDisplayTabsOutput

type DescribeClusterDisplayTabsOutput struct {
	Message     *string            `json:"message" name:"message"`
	Action      *string            `json:"action" name:"action" location:"elements"`
	DisplayTabs map[string]*string `json:"display_tabs" name:"display_tabs" location:"elements"`
	RetCode     *int               `json:"ret_code" name:"ret_code" location:"elements"`
}

type DescribeClusterNodesInput

type DescribeClusterNodesInput struct {
	Cluster    *string   `json:"cluster" name:"cluster" location:"params"`
	Console    *string   `json:"console" name:"console" location:"params"`
	Limit      *int      `json:"limit" name:"limit" location:"params"`
	Nodes      []*string `json:"nodes" name:"nodes" location:"params"`
	Offset     *int      `json:"offset" name:"offset" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	Reverse    *int      `json:"reverse" name:"reverse" location:"params"`
	Role       *string   `json:"role" name:"role" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	SortKey    *string   `json:"sort_key" name:"sort_key" location:"params"`
	Status     *string   `json:"status" name:"status" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeClusterNodesInput) Validate

func (v *DescribeClusterNodesInput) Validate() error

type DescribeClusterNodesOutput

type DescribeClusterNodesOutput struct {
	Message    *string        `json:"message" name:"message"`
	Action     *string        `json:"action" name:"action" location:"elements"`
	NodeSet    []*ClusterNode `json:"node_set" name:"node_set" location:"elements"`
	RetCode    *int           `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int           `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeClusterUsersInput

type DescribeClusterUsersInput struct {
	AppVersions   []*string `json:"app_versions" name:"app_versions" location:"params"`
	Apps          []*string `json:"apps" name:"apps" location:"params"` // Required
	ClusterStatus []*string `json:"cluster_status" name:"cluster_status" location:"params"`
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Users         []*string `json:"users" name:"users" location:"params"`
	Zones         []*string `json:"zones" name:"zones" location:"params"` // Required
}

func (*DescribeClusterUsersInput) Validate

func (v *DescribeClusterUsersInput) Validate() error

type DescribeClusterUsersOutput

type DescribeClusterUsersOutput struct {
	Message *string            `json:"message" name:"message"`
	Action  *string            `json:"action" name:"action" location:"elements"`
	Apps    []*string          `json:"apps" name:"apps" location:"elements"`
	RetCode *int               `json:"ret_code" name:"ret_code" location:"elements"`
	Users   map[string]*string `json:"users" name:"users" location:"elements"`
}

type DescribeClustersInput

type DescribeClustersInput struct {
	AppVersions       []*string `json:"app_versions" name:"app_versions" location:"params"`
	Apps              []*string `json:"apps" name:"apps" location:"params"`
	CfgmgmtID         *string   `json:"cfgmgmt_id" name:"cfgmgmt_id" location:"params"`
	Clusters          []*string `json:"clusters" name:"clusters" location:"params"`
	Console           *string   `json:"console" name:"console" location:"params"`
	ExternalClusterID *string   `json:"external_cluster_id" name:"external_cluster_id" location:"params"`
	Limit             *int      `json:"limit" name:"limit" location:"params"`
	Link              *string   `json:"link" name:"link" location:"params"`
	Name              *string   `json:"name" name:"name" location:"params"`
	Offset            *int      `json:"offset" name:"offset" location:"params"`
	Owner             *string   `json:"owner" name:"owner" location:"params"`
	Reverse           *int      `json:"reverse" name:"reverse" location:"params"`
	Role              *string   `json:"role" name:"role" location:"params"`
	// Scope's available values: all, cfgmgmt
	Scope            *string   `json:"scope" name:"scope" location:"params"`
	SearchWord       *string   `json:"search_word" name:"search_word" location:"params"`
	SortKey          *string   `json:"sort_key" name:"sort_key" location:"params"`
	Status           *string   `json:"status" name:"status" location:"params"`
	TransitionStatus *string   `json:"transition_status" name:"transition_status" location:"params"`
	Users            []*string `json:"users" name:"users" location:"params"`
	Verbose          *int      `json:"verbose" name:"verbose" location:"params"`
	VxNet            *string   `json:"vxnet" name:"vxnet" location:"params"`
}

func (*DescribeClustersInput) Validate

func (v *DescribeClustersInput) Validate() error

type DescribeClustersOutput

type DescribeClustersOutput struct {
	Message    *string    `json:"message" name:"message"`
	Action     *string    `json:"action" name:"action" location:"elements"`
	ClusterSet []*Cluster `json:"cluster_set" name:"cluster_set" location:"elements"`
	RetCode    *int       `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int       `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeDNSAliasesInput

type DescribeDNSAliasesInput struct {
	DNSAliases []*string `json:"dns_aliases" name:"dns_aliases" location:"params"`
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	ResourceID *string   `json:"resource_id" name:"resource_id" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
}

func (*DescribeDNSAliasesInput) Validate

func (v *DescribeDNSAliasesInput) Validate() error

type DescribeDNSAliasesOutput

type DescribeDNSAliasesOutput struct {
	Message     *string     `json:"message" name:"message"`
	Action      *string     `json:"action" name:"action" location:"elements"`
	DNSAliasSet []*DNSAlias `json:"dns_alias_set" name:"dns_alias_set" location:"elements"`
	RetCode     *int        `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount  *int        `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeEIPsInput

type DescribeEIPsInput struct {
	EIPs       []*string `json:"eips" name:"eips" location:"params"`
	InstanceID *string   `json:"instance_id" name:"instance_id" location:"params"`
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	ProjectID  *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeEIPsInput) Validate

func (v *DescribeEIPsInput) Validate() error

type DescribeEIPsOutput

type DescribeEIPsOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	EIPSet     []*EIP  `json:"eip_set" name:"eip_set" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeImageUsersInput

type DescribeImageUsersInput struct {
	ImageID *string `json:"image_id" name:"image_id" location:"params"` // Required
	Limit   *int    `json:"limit" name:"limit" default:"20" location:"params"`
	Offset  *int    `json:"offset" name:"offset" default:"0" location:"params"`
}

func (*DescribeImageUsersInput) Validate

func (v *DescribeImageUsersInput) Validate() error

type DescribeImageUsersOutput

type DescribeImageUsersOutput struct {
	Message      *string      `json:"message" name:"message"`
	Action       *string      `json:"action" name:"action" location:"elements"`
	ImageUserSet []*ImageUser `json:"image_user_set" name:"image_user_set" location:"elements"`
	RetCode      *int         `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount   *int         `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeImagesInput

type DescribeImagesInput struct {
	Images   []*string `json:"images" name:"images" location:"params"`
	Limit    *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset   *int      `json:"offset" name:"offset" default:"0" location:"params"`
	OSFamily *string   `json:"os_family" name:"os_family" location:"params"`
	Owner    *string   `json:"owner" name:"owner" location:"params"`
	// ProcessorType's available values: 64bit, 32bit
	ProcessorType *string `json:"processor_type" name:"processor_type" location:"params"`
	ProjectID     *string `json:"project_id" name:"project_id" location:"params"`
	// Provider's available values: system, self
	Provider   *string   `json:"provider" name:"provider" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	// Verbose's available values: 0
	Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
	// Visibility's available values: public, private
	Visibility *string `json:"visibility" name:"visibility" location:"params"`
}

func (*DescribeImagesInput) Validate

func (v *DescribeImagesInput) Validate() error

type DescribeImagesOutput

type DescribeImagesOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	ImageSet   []*Image `json:"image_set" name:"image_set" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int     `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeInstanceTypesInput

type DescribeInstanceTypesInput struct {
	InstanceTypes []*string `json:"instance_types" name:"instance_types" location:"params"`
}

func (*DescribeInstanceTypesInput) Validate

func (v *DescribeInstanceTypesInput) Validate() error

type DescribeInstanceTypesOutput

type DescribeInstanceTypesOutput struct {
	Message         *string         `json:"message" name:"message"`
	Action          *string         `json:"action" name:"action" location:"elements"`
	InstanceTypeSet []*InstanceType `json:"instance_type_set" name:"instance_type_set" location:"elements"`
	RetCode         *int            `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount      *int            `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeInstancesInput

type DescribeInstancesInput struct {
	ImageID []*string `json:"image_id" name:"image_id" location:"params"`
	// InstanceClass's available values: 0, 1
	InstanceClass *int      `json:"instance_class" name:"instance_class" location:"params"`
	InstanceType  []*string `json:"instance_type" name:"instance_type" location:"params"`
	Instances     []*string `json:"instances" name:"instances" location:"params"`
	IsClusterNode *int      `json:"is_cluster_node" name:"is_cluster_node" default:"0" location:"params"`
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner         *string   `json:"owner" name:"owner" location:"params"`
	ProjectID     *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord    *string   `json:"search_word" name:"search_word" location:"params"`
	Status        []*string `json:"status" name:"status" location:"params"`
	Tags          []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeInstancesInput) Validate

func (v *DescribeInstancesInput) Validate() error

type DescribeInstancesOutput

type DescribeInstancesOutput struct {
	Message     *string     `json:"message" name:"message"`
	Action      *string     `json:"action" name:"action" location:"elements"`
	InstanceSet []*Instance `json:"instance_set" name:"instance_set" location:"elements"`
	RetCode     *int        `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount  *int        `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeJobsInput

type DescribeJobsInput struct {
	Jobs   []*string `json:"jobs" name:"jobs" location:"params"`
	Limit  *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner  *string   `json:"owner" name:"owner" location:"params"`
	Status []*string `json:"status" name:"status" location:"params"`
	// Verbose's available values: 0
	Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeJobsInput) Validate

func (v *DescribeJobsInput) Validate() error

type DescribeJobsOutput

type DescribeJobsOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	JobSet     []*Job  `json:"job_set" name:"job_set" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeKeyPairsInput

type DescribeKeyPairsInput struct {

	// EncryptMethod's available values: ssh-rsa, ssh-dss
	EncryptMethod *string   `json:"encrypt_method" name:"encrypt_method" location:"params"`
	InstanceID    *string   `json:"instance_id" name:"instance_id" location:"params"`
	KeyPairs      []*string `json:"keypairs" name:"keypairs" location:"params"`
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner         *string   `json:"owner" name:"owner" location:"params"`
	ProjectID     *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord    *string   `json:"search_word" name:"search_word" location:"params"`
	Tags          []*string `json:"tags" name:"tags" location:"params"`
	Verbose       *int      `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeKeyPairsInput) Validate

func (v *DescribeKeyPairsInput) Validate() error

type DescribeKeyPairsOutput

type DescribeKeyPairsOutput struct {
	Message    *string    `json:"message" name:"message"`
	Action     *string    `json:"action" name:"action" location:"elements"`
	KeyPairSet []*KeyPair `json:"keypair_set" name:"keypair_set" location:"elements"`
	RetCode    *int       `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int       `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeLoadBalancerBackendsInput

type DescribeLoadBalancerBackendsInput struct {
	Limit                *int      `json:"limit" name:"limit" default:"20" location:"params"`
	LoadBalancer         *string   `json:"loadbalancer" name:"loadbalancer" location:"params"`
	LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"params"`
	LoadBalancerListener *string   `json:"loadbalancer_listener" name:"loadbalancer_listener" location:"params"`
	Offset               *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner                *string   `json:"owner" name:"owner" location:"params"`
	Verbose              *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeLoadBalancerBackendsInput) Validate

type DescribeLoadBalancerBackendsOutput

type DescribeLoadBalancerBackendsOutput struct {
	Message                *string                `json:"message" name:"message"`
	Action                 *string                `json:"action" name:"action" location:"elements"`
	LoadBalancerBackendSet []*LoadBalancerBackend `json:"loadbalancer_backend_set" name:"loadbalancer_backend_set" location:"elements"`
	RetCode                *int                   `json:"ret_code" name:"ret_code" location:"elements"`
}

type DescribeLoadBalancerListenersInput

type DescribeLoadBalancerListenersInput struct {
	Limit                 *int      `json:"limit" name:"limit" default:"20" location:"params"`
	LoadBalancer          *string   `json:"loadbalancer" name:"loadbalancer" location:"params"`
	LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"params"`
	Offset                *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner                 *string   `json:"owner" name:"owner" location:"params"`
	Verbose               *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeLoadBalancerListenersInput) Validate

type DescribeLoadBalancerListenersOutput

type DescribeLoadBalancerListenersOutput struct {
	Message                 *string                 `json:"message" name:"message"`
	Action                  *string                 `json:"action" name:"action" location:"elements"`
	LoadBalancerListenerSet []*LoadBalancerListener `json:"loadbalancer_listener_set" name:"loadbalancer_listener_set" location:"elements"`
	RetCode                 *int                    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount              *int                    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeLoadBalancerPoliciesInput

type DescribeLoadBalancerPoliciesInput struct {
	Limit                *int      `json:"limit" name:"limit" default:"20" location:"params"`
	LoadBalancerPolicies []*string `json:"loadbalancer_policies" name:"loadbalancer_policies" location:"params"`
	Offset               *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner                *string   `json:"owner" name:"owner" location:"params"`
	Verbose              *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeLoadBalancerPoliciesInput) Validate

type DescribeLoadBalancerPoliciesOutput

type DescribeLoadBalancerPoliciesOutput struct {
	Message               *string               `json:"message" name:"message"`
	Action                *string               `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicySet []*LoadBalancerPolicy `json:"loadbalancer_policy_set" name:"loadbalancer_policy_set" location:"elements"`
	RetCode               *int                  `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount            *int                  `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeLoadBalancerPolicyRulesInput

type DescribeLoadBalancerPolicyRulesInput struct {
	Limit                   *int      `json:"limit" name:"limit" default:"20" location:"params"`
	LoadBalancerPolicy      *string   `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"`
	LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"params"`
	Offset                  *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner                   *string   `json:"owner" name:"owner" location:"params"`
}

func (*DescribeLoadBalancerPolicyRulesInput) Validate

type DescribeLoadBalancerPolicyRulesOutput

type DescribeLoadBalancerPolicyRulesOutput struct {
	Message                   *string                   `json:"message" name:"message"`
	Action                    *string                   `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicyRuleSet []*LoadBalancerPolicyRule `json:"loadbalancer_policy_rule_set" name:"loadbalancer_policy_rule_set" location:"elements"`
	RetCode                   *int                      `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount                *int                      `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeLoadBalancersInput

type DescribeLoadBalancersInput struct {
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner         *string   `json:"owner" name:"owner" location:"params"`
	SearchWord    *string   `json:"search_word" name:"search_word" location:"params"`
	Status        []*string `json:"status" name:"status" location:"params"`
	Tags          []*string `json:"tags" name:"tags" location:"params"`
	Verbose       *int      `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeLoadBalancersInput) Validate

func (v *DescribeLoadBalancersInput) Validate() error

type DescribeLoadBalancersOutput

type DescribeLoadBalancersOutput struct {
	Message         *string         `json:"message" name:"message"`
	Action          *string         `json:"action" name:"action" location:"elements"`
	LoadBalancerSet []*LoadBalancer `json:"loadbalancer_set" name:"loadbalancer_set" location:"elements"`
	RetCode         *int            `json:"ret_code" name:"ret_code" location:"elements"`
}

type DescribeMongoNodesInput

type DescribeMongoNodesInput struct {
	Limit  *int      `json:"limit" name:"limit" location:"params"`
	Mongo  *string   `json:"mongo" name:"mongo" location:"params"` // Required
	Offset *int      `json:"offset" name:"offset" location:"params"`
	Status []*string `json:"status" name:"status" location:"params"`
}

func (*DescribeMongoNodesInput) Validate

func (v *DescribeMongoNodesInput) Validate() error

type DescribeMongoNodesOutput

type DescribeMongoNodesOutput struct {
	Message      *string      `json:"message" name:"message"`
	Action       *string      `json:"action" name:"action" location:"elements"`
	MongoNodeSet []*MongoNode `json:"mongo_node_set" name:"mongo_node_set" location:"elements"`
	RetCode      *int         `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount   *int         `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeMongoParametersInput

type DescribeMongoParametersInput struct {
	Limit  *int    `json:"limit" name:"limit" default:"20" location:"params"`
	Mongo  *string `json:"mongo" name:"mongo" location:"params"` // Required
	Offset *int    `json:"offset" name:"offset" default:"0" location:"params"`
}

func (*DescribeMongoParametersInput) Validate

func (v *DescribeMongoParametersInput) Validate() error

type DescribeMongoParametersOutput

type DescribeMongoParametersOutput struct {
	Message      *string           `json:"message" name:"message"`
	Action       *string           `json:"action" name:"action" location:"elements"`
	ParameterSet []*MongoParameter `json:"parameter_set" name:"parameter_set" location:"elements"`
	RetCode      *int              `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount   *int              `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeMongosInput

type DescribeMongosInput struct {
	Limit     *int      `json:"limit" name:"limit" default:"20" location:"params"`
	MongoName *string   `json:"mongo_name" name:"mongo_name" location:"params"`
	Mongos    []*string `json:"mongos" name:"mongos" location:"params"`
	Offset    *int      `json:"offset" name:"offset" default:"0" location:"params"`
	ProjectID *string   `json:"project_id" name:"project_id" location:"params"`
	Status    []*string `json:"status" name:"status" location:"params"`
	Tags      []*string `json:"tags" name:"tags" location:"params"`
	Verbose   *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeMongosInput) Validate

func (v *DescribeMongosInput) Validate() error

type DescribeMongosOutput

type DescribeMongosOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MongoSet   []*Mongo `json:"mongo_set" name:"mongo_set" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int     `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeNicsInput

type DescribeNicsInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"`
	Limit     *int      `json:"limit" name:"limit" default:"20" location:"params"`
	NICName   *string   `json:"nic_name" name:"nic_name" location:"params"`
	Nics      []*string `json:"nics" name:"nics" location:"params"`
	Offset    *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner     *string   `json:"owner" name:"owner" location:"params"`
	ProjectID *string   `json:"project_id" name:"project_id" location:"params"`
	// Status's available values: available, in-use
	Status    *string   `json:"status" name:"status" location:"params"`
	VxNetType []*int    `json:"vxnet_type" name:"vxnet_type" location:"params"`
	VxNets    []*string `json:"vxnets" name:"vxnets" location:"params"`
}

func (*DescribeNicsInput) Validate

func (v *DescribeNicsInput) Validate() error

type DescribeNicsOutput

type DescribeNicsOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	NICSet     []*NIC  `json:"nic_set" name:"nic_set" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeNotificationListsInput

type DescribeNotificationListsInput struct {
	Limit             *int      `json:"limit" name:"limit" default:"10" location:"params"`
	NotificationLists []*string `json:"notification_lists" name:"notification_lists" location:"params"` // Required
	Offset            *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner             *string   `json:"owner" name:"owner" location:"params"`
}

func (*DescribeNotificationListsInput) Validate

func (v *DescribeNotificationListsInput) Validate() error

type DescribeNotificationListsOutput

type DescribeNotificationListsOutput struct {
	Message             *string             `json:"message" name:"message"`
	Action              *string             `json:"action" name:"action" location:"elements"`
	NotificationListSet []*NotificationList `json:"notification_list_set" name:"notification_list_set" location:"elements"`
	RetCode             *int                `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount          *int                `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeProjectResourceItemsInput

type DescribeProjectResourceItemsInput struct {
	InGlobal      *int      `json:"in_global" name:"in_global" location:"params"`
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner         *string   `json:"owner" name:"owner" location:"params"`
	ProjectIDs    []*string `json:"project_ids" name:"project_ids" location:"params"`
	Reserve       *int      `json:"reserve" name:"reserve" location:"params"`
	ResourceTypes []*string `json:"resource_types" name:"resource_types" location:"params"`
	Resources     []*string `json:"resources" name:"resources" location:"params"`
	SortKey       *string   `json:"sort_key" name:"sort_key" location:"params"`
	Verbose       *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeProjectResourceItemsInput) Validate

type DescribeProjectResourceItemsOutput

type DescribeProjectResourceItemsOutput struct {
	Message                *string                `json:"message" name:"message"`
	Action                 *string                `json:"action" name:"action" location:"elements"`
	ProjectResourceItemSet []*ProjectResourceItem `json:"project_resource_item_set" name:"project_resource_item_set" location:"elements"`
	RetCode                *int                   `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount             *int                   `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeProjectsInput

type DescribeProjectsInput struct {
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	ProjectIDs []*string `json:"project_ids" name:"project_ids" location:"params"`
	Shared     *string   `json:"shared" name:"shared" default:"False" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
}

func (*DescribeProjectsInput) Validate

func (v *DescribeProjectsInput) Validate() error

type DescribeProjectsOutput

type DescribeProjectsOutput struct {
	Message    *string    `json:"message" name:"message"`
	Action     *string    `json:"action" name:"action" location:"elements"`
	ProjectSet []*Project `json:"project_set" name:"project_set" location:"elements"`
	RetCode    *int       `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int       `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeRDBParametersInput

type DescribeRDBParametersInput struct {
	Limit          *int    `json:"limit" name:"limit" location:"params"`
	Offset         *int    `json:"offset" name:"offset" location:"params"`
	ParameterGroup *string `json:"parameter_group" name:"parameter_group" location:"params"`
	RDB            *string `json:"rdb" name:"rdb" location:"params"` // Required
}

func (*DescribeRDBParametersInput) Validate

func (v *DescribeRDBParametersInput) Validate() error

type DescribeRDBParametersOutput

type DescribeRDBParametersOutput struct {
	Message      *string         `json:"message" name:"message"`
	Action       *string         `json:"action" name:"action" location:"elements"`
	ParameterSet []*RDBParameter `json:"parameter_set" name:"parameter_set" location:"elements"`
	RetCode      *int            `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount   *int            `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeRDBsInput

type DescribeRDBsInput struct {
	Limit      *int      `json:"limit" name:"limit" location:"params"`
	Offset     *int      `json:"offset" name:"offset" location:"params"`
	ProjectID  *string   `json:"project_id" name:"project_id" location:"params"`
	RDBEngine  *string   `json:"rdb_engine" name:"rdb_engine" location:"params"`
	RDBName    *string   `json:"rdb_name" name:"rdb_name" location:"params"`
	RDBs       []*string `json:"rdbs" name:"rdbs" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeRDBsInput) Validate

func (v *DescribeRDBsInput) Validate() error

type DescribeRDBsOutput

type DescribeRDBsOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	RDBSet     []*RDB  `json:"rdb_set" name:"rdb_set" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeRouterStaticEntriesInput

type DescribeRouterStaticEntriesInput struct {
	Limit               *int    `json:"limit" name:"limit" location:"params"`
	Offset              *int    `json:"offset" name:"offset" location:"params"`
	Owner               *string `json:"owner" name:"owner" location:"params"`
	RouterStatic        *string `json:"router_static" name:"router_static" location:"params"`
	RouterStaticEntries *string `json:"router_static_entries" name:"router_static_entries" location:"params"`
}

func (*DescribeRouterStaticEntriesInput) Validate

type DescribeRouterStaticEntriesOutput

type DescribeRouterStaticEntriesOutput struct {
	Message              *string              `json:"message" name:"message"`
	Action               *string              `json:"action" name:"action" location:"elements"`
	RetCode              *int                 `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStaticEntrySet []*RouterStaticEntry `json:"router_static_entry_set" name:"router_static_entry_set" location:"elements"`
	TotalCount           *int                 `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeRouterStaticsInput

type DescribeRouterStaticsInput struct {
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner         *string   `json:"owner" name:"owner" location:"params"`
	Router        *string   `json:"router" name:"router" location:"params"` // Required
	RouterStatics []*string `json:"router_statics" name:"router_statics" location:"params"`
	// StaticType's available values: 1, 2, 3, 4, 5, 6, 7, 8
	StaticType *int `json:"static_type" name:"static_type" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int    `json:"verbose" name:"verbose" location:"params"`
	VxNet   *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*DescribeRouterStaticsInput) Validate

func (v *DescribeRouterStaticsInput) Validate() error

type DescribeRouterStaticsOutput

type DescribeRouterStaticsOutput struct {
	Message         *string         `json:"message" name:"message"`
	Action          *string         `json:"action" name:"action" location:"elements"`
	RetCode         *int            `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStaticSet []*RouterStatic `json:"router_static_set" name:"router_static_set" location:"elements"`
	TotalCount      *int            `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeRouterVxNetsInput

type DescribeRouterVxNetsInput struct {
	Limit  *int    `json:"limit" name:"limit" default:"20" location:"params"`
	Offset *int    `json:"offset" name:"offset" default:"0" location:"params"`
	Router *string `json:"router" name:"router" location:"params"` // Required
	// Verbose's available values: 0, 1
	Verbose *int    `json:"verbose" name:"verbose" location:"params"`
	VxNet   *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*DescribeRouterVxNetsInput) Validate

func (v *DescribeRouterVxNetsInput) Validate() error

type DescribeRouterVxNetsOutput

type DescribeRouterVxNetsOutput struct {
	Message        *string        `json:"message" name:"message"`
	Action         *string        `json:"action" name:"action" location:"elements"`
	RetCode        *int           `json:"ret_code" name:"ret_code" location:"elements"`
	RouterVxNetSet []*RouterVxNet `json:"router_vxnet_set" name:"router_vxnet_set" location:"elements"`
	TotalCount     *int           `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeRoutersInput

type DescribeRoutersInput struct {
	Limit      *int      `json:"limit" name:"limit" location:"params"`
	Offset     *int      `json:"offset" name:"offset" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	ProjectID  *string   `json:"project_id" name:"project_id" location:"params"`
	Routers    []*string `json:"routers" name:"routers" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int    `json:"verbose" name:"verbose" location:"params"`
	VxNet   *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*DescribeRoutersInput) Validate

func (v *DescribeRoutersInput) Validate() error

type DescribeRoutersOutput

type DescribeRoutersOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
	RouterSet  []*Router `json:"router_set" name:"router_set" location:"elements"`
	TotalCount *int      `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeS2DefaultParametersInput

type DescribeS2DefaultParametersInput struct {
	Limit  *int `json:"limit" name:"limit" default:"20" location:"params"`
	Offset *int `json:"offset" name:"offset" default:"0" location:"params"`
	// ServiceType's available values: vsan
	ServiceType *string `json:"service_type" name:"service_type" location:"params"`
	// TargetType's available values: ISCSI
	TargetType *string `json:"target_type" name:"target_type" location:"params"`
}

func (*DescribeS2DefaultParametersInput) Validate

type DescribeS2DefaultParametersOutput

type DescribeS2DefaultParametersOutput struct {
	Message                *string                `json:"message" name:"message"`
	Action                 *string                `json:"action" name:"action" location:"elements"`
	RetCode                *int                   `json:"ret_code" name:"ret_code" location:"elements"`
	S2DefaultParametersSet []*S2DefaultParameters `json:"s2_default_parameters_set" name:"s2_default_parameters_set" location:"elements"`
	TotalCount             *int                   `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeS2ServersInput

type DescribeS2ServersInput struct {
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	S2Servers  []*string `json:"s2_servers" name:"s2_servers" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	Verbose    *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeS2ServersInput) Validate

func (v *DescribeS2ServersInput) Validate() error

type DescribeS2ServersOutput

type DescribeS2ServersOutput struct {
	Message     *string     `json:"message" name:"message"`
	Action      *string     `json:"action" name:"action" location:"elements"`
	RetCode     *int        `json:"ret_code" name:"ret_code" location:"elements"`
	S2ServerSet []*S2Server `json:"s2_server_set" name:"s2_server_set" location:"elements"`
	TotalCount  *int        `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeS2SharedTargetsInput

type DescribeS2SharedTargetsInput struct {
	Limit         *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset        *int      `json:"offset" name:"offset" default:"0" location:"params"`
	S2ServerID    *string   `json:"s2_server_id" name:"s2_server_id" location:"params"`
	SearchWord    *string   `json:"search_word" name:"search_word" location:"params"`
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"params"`
	Verbose       *int      `json:"verbose" name:"verbose" location:"params"`
}

func (*DescribeS2SharedTargetsInput) Validate

func (v *DescribeS2SharedTargetsInput) Validate() error

type DescribeS2SharedTargetsOutput

type DescribeS2SharedTargetsOutput struct {
	Message         *string           `json:"message" name:"message"`
	Action          *string           `json:"action" name:"action" location:"elements"`
	RetCode         *int              `json:"ret_code" name:"ret_code" location:"elements"`
	SharedTargetSet []*S2SharedTarget `json:"shared_target_set" name:"shared_target_set" location:"elements"`
	TotalCount      *int              `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeSecurityGroupIPSetsInput

type DescribeSecurityGroupIPSetsInput struct {

	// IPSetType's available values: 0, 1
	IPSetType              *int      `json:"ipset_type" name:"ipset_type" location:"params"`
	Limit                  *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset                 *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner                  *string   `json:"owner" name:"owner" location:"params"`
	ProjectID              *string   `json:"project_id" name:"project_id" location:"params"`
	SecurityGroupIPSetName *string   `json:"security_group_ipset_name" name:"security_group_ipset_name" location:"params"`
	SecurityGroupIPSets    []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"params"`
	Tags                   []*string `json:"tags" name:"tags" location:"params"`
	Verbose                *int      `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeSecurityGroupIPSetsInput) Validate

type DescribeSecurityGroupIPSetsOutput

type DescribeSecurityGroupIPSetsOutput struct {
	Message               *string               `json:"message" name:"message"`
	Action                *string               `json:"action" name:"action" location:"elements"`
	RetCode               *int                  `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupIPSetSet []*SecurityGroupIPSet `json:"security_group_ipset_set" name:"security_group_ipset_set" location:"elements"`
	TotalCount            *int                  `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeSecurityGroupRulesInput

type DescribeSecurityGroupRulesInput struct {

	// Direction's available values: 0, 1
	Direction          *int      `json:"direction" name:"direction" location:"params"`
	Limit              *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset             *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner              *string   `json:"owner" name:"owner" location:"params"`
	SecurityGroup      *string   `json:"security_group" name:"security_group" location:"params"`
	SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"params"`
}

func (*DescribeSecurityGroupRulesInput) Validate

func (v *DescribeSecurityGroupRulesInput) Validate() error

type DescribeSecurityGroupRulesOutput

type DescribeSecurityGroupRulesOutput struct {
	Message              *string              `json:"message" name:"message"`
	Action               *string              `json:"action" name:"action" location:"elements"`
	RetCode              *int                 `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupRuleSet []*SecurityGroupRule `json:"security_group_rule_set" name:"security_group_rule_set" location:"elements"`
	TotalCount           *int                 `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeSecurityGroupSnapshotsInput

type DescribeSecurityGroupSnapshotsInput struct {
	Limit                  *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset                 *int      `json:"offset" name:"offset" default:"0" location:"params"`
	ProjectID              *string   `json:"project_id" name:"project_id" location:"params"`
	Reverse                *int      `json:"reverse" name:"reverse" default:"1" location:"params"`
	SecurityGroup          *string   `json:"security_group" name:"security_group" location:"params"` // Required
	SecurityGroupSnapshots []*string `json:"security_group_snapshots" name:"security_group_snapshots" location:"params"`
}

func (*DescribeSecurityGroupSnapshotsInput) Validate

type DescribeSecurityGroupSnapshotsOutput

type DescribeSecurityGroupSnapshotsOutput struct {
	Message                  *string                  `json:"message" name:"message"`
	Action                   *string                  `json:"action" name:"action" location:"elements"`
	RetCode                  *int                     `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupSnapshotSet []*SecurityGroupSnapshot `json:"security_group_snapshot_set" name:"security_group_snapshot_set" location:"elements"`
	TotalCount               *int                     `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeSecurityGroupsInput

type DescribeSecurityGroupsInput struct {
	Limit          *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset         *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner          *string   `json:"owner" name:"owner" location:"params"`
	ProjectID      *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord     *string   `json:"search_word" name:"search_word" location:"params"`
	SecurityGroups []*string `json:"security_groups" name:"security_groups" location:"params"`
	Tags           []*string `json:"tags" name:"tags" location:"params"`
	Verbose        *int      `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeSecurityGroupsInput) Validate

func (v *DescribeSecurityGroupsInput) Validate() error

type DescribeSecurityGroupsOutput

type DescribeSecurityGroupsOutput struct {
	Message          *string          `json:"message" name:"message"`
	Action           *string          `json:"action" name:"action" location:"elements"`
	RetCode          *int             `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupSet []*SecurityGroup `json:"security_group_set" name:"security_group_set" location:"elements"`
	TotalCount       *int             `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeServerCertificatesInput

type DescribeServerCertificatesInput struct {
	Limit              *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset             *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner              *string   `json:"owner" name:"owner" location:"params"`
	SearchWord         *string   `json:"search_word" name:"search_word" location:"params"`
	ServerCertificates []*string `json:"server_certificates" name:"server_certificates" location:"params"`
	Verbose            *int      `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeServerCertificatesInput) Validate

func (v *DescribeServerCertificatesInput) Validate() error

type DescribeServerCertificatesOutput

type DescribeServerCertificatesOutput struct {
	Message              *string              `json:"message" name:"message"`
	Action               *string              `json:"action" name:"action" location:"elements"`
	RetCode              *int                 `json:"ret_code" name:"ret_code" location:"elements"`
	ServerCertificateSet []*ServerCertificate `json:"server_certificate_set" name:"server_certificate_set" location:"elements"`
	TotalCount           *int                 `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeSnapshotsInput

type DescribeSnapshotsInput struct {
	Limit        *int    `json:"limit" name:"limit" default:"20" location:"params"`
	Offset       *int    `json:"offset" name:"offset" default:"0" location:"params"`
	Owner        *string `json:"owner" name:"owner" location:"params"`
	ProjectID    *string `json:"project_id" name:"project_id" location:"params"`
	ResourceID   *string `json:"resource_id" name:"resource_id" location:"params"`
	SearchWord   *string `json:"search_word" name:"search_word" location:"params"`
	SnapshotTime *string `json:"snapshot_time" name:"snapshot_time" location:"params"`
	// SnapshotType's available values: 0, 1
	SnapshotType *int      `json:"snapshot_type" name:"snapshot_type" location:"params"`
	Snapshots    []*string `json:"snapshots" name:"snapshots" location:"params"`
	Status       []*string `json:"status" name:"status" location:"params"`
	Tags         []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeSnapshotsInput) Validate

func (v *DescribeSnapshotsInput) Validate() error

type DescribeSnapshotsOutput

type DescribeSnapshotsOutput struct {
	Message     *string     `json:"message" name:"message"`
	Action      *string     `json:"action" name:"action" location:"elements"`
	RetCode     *int        `json:"ret_code" name:"ret_code" location:"elements"`
	SnapshotSet []*Snapshot `json:"snapshot_set" name:"snapshot_set" location:"elements"`
	TotalCount  *int        `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeTagsInput

type DescribeTagsInput struct {
	Limit      *int      `json:"limit" name:"limit" default:"0" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
}

func (*DescribeTagsInput) Validate

func (v *DescribeTagsInput) Validate() error

type DescribeTagsOutput

type DescribeTagsOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TagSet     []*Tag  `json:"tag_set" name:"tag_set" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeVolumesInput

type DescribeVolumesInput struct {
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	ProjectID  *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Status     []*string `json:"status" name:"status" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
	// VolumeType's available values: 0, 1, 2, 3, 4, 5, 6, 10, 100, 200
	VolumeType *int      `json:"volume_type" name:"volume_type" location:"params"`
	Volumes    []*string `json:"volumes" name:"volumes" location:"params"`
	Zone       *string   `json:"zone" name:"zone" location:"params"`
}

func (*DescribeVolumesInput) Validate

func (v *DescribeVolumesInput) Validate() error

type DescribeVolumesOutput

type DescribeVolumesOutput struct {
	Message    *string   `json:"message" name:"message"`
	Action     *string   `json:"action" name:"action" location:"elements"`
	RetCode    *int      `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int      `json:"total_count" name:"total_count" location:"elements"`
	VolumeSet  []*Volume `json:"volume_set" name:"volume_set" location:"elements"`
}

type DescribeVxNetInstancesInput

type DescribeVxNetInstancesInput struct {
	Image        *string   `json:"image" name:"image" location:"params"`
	InstanceType *string   `json:"instance_type" name:"instance_type" location:"params"`
	Instances    []*string `json:"instances" name:"instances" location:"params"`
	Limit        *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset       *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Status       *string   `json:"status" name:"status" location:"params"`
	VxNet        *string   `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*DescribeVxNetInstancesInput) Validate

func (v *DescribeVxNetInstancesInput) Validate() error

type DescribeVxNetInstancesOutput

type DescribeVxNetInstancesOutput struct {
	Message     *string     `json:"message" name:"message"`
	Action      *string     `json:"action" name:"action" location:"elements"`
	InstanceSet []*Instance `json:"instance_set" name:"instance_set" location:"elements"`
	RetCode     *int        `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount  *int        `json:"total_count" name:"total_count" location:"elements"`
}

type DescribeVxNetsInput

type DescribeVxNetsInput struct {
	Limit      *int      `json:"limit" name:"limit" default:"20" location:"params"`
	Offset     *int      `json:"offset" name:"offset" default:"0" location:"params"`
	Owner      *string   `json:"owner" name:"owner" location:"params"`
	ProjectID  *string   `json:"project_id" name:"project_id" location:"params"`
	SearchWord *string   `json:"search_word" name:"search_word" location:"params"`
	Tags       []*string `json:"tags" name:"tags" location:"params"`
	// Verbose's available values: 0, 1
	Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
	// VxNetType's available values: 0, 1
	VxNetType *int      `json:"vxnet_type" name:"vxnet_type" location:"params"`
	VxNets    []*string `json:"vxnets" name:"vxnets" location:"params"`
}

func (*DescribeVxNetsInput) Validate

func (v *DescribeVxNetsInput) Validate() error

type DescribeVxNetsOutput

type DescribeVxNetsOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int     `json:"total_count" name:"total_count" location:"elements"`
	VxNetSet   []*VxNet `json:"vxnet_set" name:"vxnet_set" location:"elements"`
}

type DescribeZonesInput

type DescribeZonesInput struct {
	Status []*string `json:"status" name:"status" location:"params"`
	Zones  []*string `json:"zones" name:"zones" location:"params"`
}

func (*DescribeZonesInput) Validate

func (v *DescribeZonesInput) Validate() error

type DescribeZonesOutput

type DescribeZonesOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
	TotalCount *int    `json:"total_count" name:"total_count" location:"elements"`
	ZoneSet    []*Zone `json:"zone_set" name:"zone_set" location:"elements"`
}

type DetachFromS2SharedTargetInput

type DetachFromS2SharedTargetInput struct {
	SharedTarget *string   `json:"shared_target" name:"shared_target" location:"params"` // Required
	Volumes      []*string `json:"volumes" name:"volumes" location:"params"`             // Required
}

func (*DetachFromS2SharedTargetInput) Validate

func (v *DetachFromS2SharedTargetInput) Validate() error

type DetachFromS2SharedTargetOutput

type DetachFromS2SharedTargetOutput struct {
	Message      *string         `json:"message" name:"message"`
	Action       *string         `json:"action" name:"action" location:"elements"`
	RetCode      *int            `json:"ret_code" name:"ret_code" location:"elements"`
	SharedTarget *S2SharedTarget `json:"shared_target" name:"shared_target" location:"elements"`
}

type DetachKeyPairsInput

type DetachKeyPairsInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
	KeyPairs  []*string `json:"keypairs" name:"keypairs" location:"params"`   // Required
}

func (*DetachKeyPairsInput) Validate

func (v *DetachKeyPairsInput) Validate() error

type DetachKeyPairsOutput

type DetachKeyPairsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DetachNicsInput

type DetachNicsInput struct {
	Nics []*string `json:"nics" name:"nics" location:"params"` // Required
}

func (*DetachNicsInput) Validate

func (v *DetachNicsInput) Validate() error

type DetachNicsOutput

type DetachNicsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DetachTagsInput

type DetachTagsInput struct {
	ResourceTagPairs []*ResourceTagPair `json:"resource_tag_pairs" name:"resource_tag_pairs" location:"params"` // Required
}

func (*DetachTagsInput) Validate

func (v *DetachTagsInput) Validate() error

type DetachTagsOutput

type DetachTagsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DetachVolumesInput

type DetachVolumesInput struct {
	Instance *string   `json:"instance" name:"instance" location:"params"` // Required
	Volumes  []*string `json:"volumes" name:"volumes" location:"params"`   // Required
}

func (*DetachVolumesInput) Validate

func (v *DetachVolumesInput) Validate() error

type DetachVolumesOutput

type DetachVolumesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DisableS2SharedTargetsInput

type DisableS2SharedTargetsInput struct {
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"params"` // Required
}

func (*DisableS2SharedTargetsInput) Validate

func (v *DisableS2SharedTargetsInput) Validate() error

type DisableS2SharedTargetsOutput

type DisableS2SharedTargetsOutput struct {
	Message       *string   `json:"message" name:"message"`
	Action        *string   `json:"action" name:"action" location:"elements"`
	RetCode       *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"elements"`
}

type DissociateDNSAliasesInput

type DissociateDNSAliasesInput struct {
	DNSAliases []*string `json:"dns_aliases" name:"dns_aliases" location:"params"` // Required
}

func (*DissociateDNSAliasesInput) Validate

func (v *DissociateDNSAliasesInput) Validate() error

type DissociateDNSAliasesOutput

type DissociateDNSAliasesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DissociateEIPFromClusterNodeInput

type DissociateEIPFromClusterNodeInput struct {
	EIPs []*string `json:"eips" name:"eips" location:"params"` // Required
}

func (*DissociateEIPFromClusterNodeInput) Validate

type DissociateEIPFromClusterNodeOutput

type DissociateEIPFromClusterNodeOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DissociateEIPsFromLoadBalancerInput

type DissociateEIPsFromLoadBalancerInput struct {
	EIPs         []*string `json:"eips" name:"eips" location:"params"`                 // Required
	LoadBalancer *string   `json:"loadbalancer" name:"loadbalancer" location:"params"` // Required
}

func (*DissociateEIPsFromLoadBalancerInput) Validate

type DissociateEIPsFromLoadBalancerOutput

type DissociateEIPsFromLoadBalancerOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type DissociateEIPsInput

type DissociateEIPsInput struct {
	EIPs []*string `json:"eips" name:"eips" location:"params"` // Required
}

func (*DissociateEIPsInput) Validate

func (v *DissociateEIPsInput) Validate() error

type DissociateEIPsOutput

type DissociateEIPsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type EIP

type EIP struct {
	AlarmStatus   *string `json:"alarm_status" name:"alarm_status"`
	AssociateMode *int    `json:"associate_mode" name:"associate_mode"`
	Bandwidth     *int    `json:"bandwidth" name:"bandwidth"`
	// BillingMode's available values: bandwidth, traffic
	BillingMode *string      `json:"billing_mode" name:"billing_mode"`
	CreateTime  *time.Time   `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string      `json:"description" name:"description"`
	EIPAddr     *string      `json:"eip_addr" name:"eip_addr"`
	EIPGroup    *EIPGroup    `json:"eip_group" name:"eip_group"`
	EIPID       *string      `json:"eip_id" name:"eip_id"`
	EIPName     *string      `json:"eip_name" name:"eip_name"`
	ICPCodes    *string      `json:"icp_codes" name:"icp_codes"`
	NeedICP     *int         `json:"need_icp" name:"need_icp"`
	Resource    *EIPResource `json:"resource" name:"resource"`
	// Status's available values: pending, available, associated, suspended, released, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode    *int       `json:"sub_code" name:"sub_code"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: associating, dissociating, suspending, resuming, releasing
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
}

func (*EIP) Validate

func (v *EIP) Validate() error

type EIPGroup

type EIPGroup struct {
	EIPGroupID   *string `json:"eip_group_id" name:"eip_group_id"`
	EIPGroupName *string `json:"eip_group_name" name:"eip_group_name"`
}

func (*EIPGroup) Validate

func (v *EIPGroup) Validate() error

type EIPResource

type EIPResource struct {
	ResourceID   *string `json:"resource_id" name:"resource_id"`
	ResourceName *string `json:"resource_name" name:"resource_name"`
	ResourceType *string `json:"resource_type" name:"resource_type"`
}

func (*EIPResource) Validate

func (v *EIPResource) Validate() error

type EIPService

type EIPService struct {
	Config     *config.Config
	Properties *EIPServiceProperties
}

func (*EIPService) ReleaseEIPs

func (s *EIPService) ReleaseEIPs(i *ReleaseEIPsInput) (*ReleaseEIPsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/eip/release_eips.html

type EIPServiceProperties

type EIPServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type EnableS2SharedTargetsInput

type EnableS2SharedTargetsInput struct {
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"params"` // Required
}

func (*EnableS2SharedTargetsInput) Validate

func (v *EnableS2SharedTargetsInput) Validate() error

type EnableS2SharedTargetsOutput

type EnableS2SharedTargetsOutput struct {
	Message       *string   `json:"message" name:"message"`
	Action        *string   `json:"action" name:"action" location:"elements"`
	RetCode       *int      `json:"ret_code" name:"ret_code" location:"elements"`
	SharedTargets []*string `json:"shared_targets" name:"shared_targets" location:"elements"`
}

type Extra

type Extra struct {
	BlockBus   *string `json:"block_bus" name:"block_bus"`
	BootDev    *string `json:"boot_dev" name:"boot_dev"`
	CPUMax     *int    `json:"cpu_max" name:"cpu_max"`
	CPUModel   *string `json:"cpu_model" name:"cpu_model"`
	Features   *int    `json:"features" name:"features"`
	Hypervisor *string `json:"hypervisor" name:"hypervisor"`
	MemMax     *int    `json:"mem_max" name:"mem_max"`
	NICMqueue  *int    `json:"nic_mqueue" name:"nic_mqueue"`
	NoLimit    *int    `json:"no_limit" name:"no_limit"`
	NoRestrict *int    `json:"no_restrict" name:"no_restrict"`
	OSDiskSize *int    `json:"os_disk_size" name:"os_disk_size"`
	USB        *int    `json:"usb" name:"usb"`
}

func (*Extra) Validate

func (v *Extra) Validate() error

type File

type File struct {
	File       *string `json:"file" name:"file"`
	LastModify *string `json:"last_modify" name:"last_modify"`
	Size       *int    `json:"size" name:"size"`
}

func (*File) Validate

func (v *File) Validate() error

type GetCacheMonitorInput

type GetCacheMonitorInput struct {
	EndTime   *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"`     // Required
	Meters    []*string  `json:"meters" name:"meters" location:"params"`                           // Required
	Resource  *string    `json:"resource" name:"resource" location:"params"`                       // Required
	StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required
	// Step's available values: 5m, 15m, 2h, 1d
	Step *string `json:"step" name:"step" location:"params"` // Required
}

func (*GetCacheMonitorInput) Validate

func (v *GetCacheMonitorInput) Validate() error

type GetCacheMonitorOutput

type GetCacheMonitorOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MeterSet   []*Meter `json:"meter_set" name:"meter_set" location:"elements"`
	ResourceID *string  `json:"resource_id" name:"resource_id" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetDNSLabelInput

type GetDNSLabelInput struct {
}

func (*GetDNSLabelInput) Validate

func (v *GetDNSLabelInput) Validate() error

type GetDNSLabelOutput

type GetDNSLabelOutput struct {
	Message    *string `json:"message" name:"message"`
	Action     *string `json:"action" name:"action" location:"elements"`
	DNSLabel   *string `json:"dns_label" name:"dns_label" location:"elements"`
	DomainName *string `json:"domain_name" name:"domain_name" location:"elements"`
	RetCode    *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetGlobalUniqueIdInput

type GetGlobalUniqueIdInput struct {
	UserID *string `json:"user_id" name:"user_id" location:"params"`
}

func (*GetGlobalUniqueIdInput) Validate

func (v *GetGlobalUniqueIdInput) Validate() error

type GetGlobalUniqueIdOutput

type GetGlobalUniqueIdOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
	UUID    *string `json:"uuid" name:"uuid" location:"elements"`
}

type GetLoadBalancerMonitorInput

type GetLoadBalancerMonitorInput struct {
	EndTime      *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required
	Meters       []*string  `json:"meters" name:"meters" location:"params"`                       // Required
	Resource     *string    `json:"resource" name:"resource" location:"params"`                   // Required
	ResourceType *string    `json:"resource_type" name:"resource_type" default:"loadbalancer" location:"params"`
	StartTime    *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required
	// Step's available values: 5m, 15m, 2h, 1d
	Step *string `json:"step" name:"step" location:"params"` // Required
}

func (*GetLoadBalancerMonitorInput) Validate

func (v *GetLoadBalancerMonitorInput) Validate() error

type GetLoadBalancerMonitorOutput

type GetLoadBalancerMonitorOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MeterSet   []*Meter `json:"meter_set" name:"meter_set" location:"elements"`
	ResourceID *string  `json:"resource_id" name:"resource_id" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetMongoMonitorInput

type GetMongoMonitorInput struct {
	EndTime   *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"`     // Required
	Meters    []*string  `json:"meters" name:"meters" location:"params"`                           // Required
	Resource  *string    `json:"resource" name:"resource" location:"params"`                       // Required
	StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required
	// Step's available values: 5m, 15m, 2h, 1d
	Step *string `json:"step" name:"step" location:"params"` // Required
}

func (*GetMongoMonitorInput) Validate

func (v *GetMongoMonitorInput) Validate() error

type GetMongoMonitorOutput

type GetMongoMonitorOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MeterSet   []*Meter `json:"meter_set" name:"meter_set" location:"elements"`
	ResourceID *string  `json:"resource_id" name:"resource_id" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetMonitorInput

type GetMonitorInput struct {
	EndTime   *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"`
	Meters    []*string  `json:"meters" name:"meters" location:"params"`
	Resource  *string    `json:"resource" name:"resource" location:"params"`
	StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"`
	// Step's available values: 5m, 15m, 2h, 1d
	Step *string `json:"step" name:"step" location:"params"`
}

func (*GetMonitorInput) Validate

func (v *GetMonitorInput) Validate() error

type GetMonitorOutput

type GetMonitorOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MeterSet   []*Meter `json:"meter_set" name:"meter_set" location:"elements"`
	ResourceID *string  `json:"resource_id" name:"resource_id" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetQuotaLeftInput

type GetQuotaLeftInput struct {
	ResourceTypes []*string `json:"resource_types" name:"resource_types" location:"params"`
	Zone          *string   `json:"zone" name:"zone" location:"params"` // Required
}

func (*GetQuotaLeftInput) Validate

func (v *GetQuotaLeftInput) Validate() error

type GetQuotaLeftOutput

type GetQuotaLeftOutput struct {
	Message      *string      `json:"message" name:"message"`
	Action       *string      `json:"action" name:"action" location:"elements"`
	QuotaLeftSet []*QuotaLeft `json:"quota_left_set" name:"quota_left_set" location:"elements"`
	RetCode      *int         `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetRDBInstanceFilesInput

type GetRDBInstanceFilesInput struct {
	RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"params"` // Required
}

func (*GetRDBInstanceFilesInput) Validate

func (v *GetRDBInstanceFilesInput) Validate() error

type GetRDBInstanceFilesOutput

type GetRDBInstanceFilesOutput struct {
	Message     *string  `json:"message" name:"message"`
	Action      *string  `json:"action" name:"action" location:"elements"`
	Files       *RDBFile `json:"files" name:"files" location:"elements"`
	RDBInstance *string  `json:"rdb_instance" name:"rdb_instance" location:"elements"`
	RetCode     *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetRDBMonitorInput

type GetRDBMonitorInput struct {
	EndTime     *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required
	Meters      []*string  `json:"meters" name:"meters" location:"params"`                       // Required
	RDBEngine   *string    `json:"rdb_engine" name:"rdb_engine" location:"params"`               // Required
	RDBInstance *string    `json:"rdb_instance" name:"rdb_instance" location:"params"`
	Resource    *string    `json:"resource" name:"resource" location:"params"`                       // Required
	Role        *string    `json:"role" name:"role" location:"params"`                               // Required
	StartTime   *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required
	// Step's available values: 5m, 15m, 2h, 1d
	Step *string `json:"step" name:"step" location:"params"` // Required
}

func (*GetRDBMonitorInput) Validate

func (v *GetRDBMonitorInput) Validate() error

type GetRDBMonitorOutput

type GetRDBMonitorOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MeterSet   []*Meter `json:"meter_set" name:"meter_set" location:"elements"`
	ResourceID *string  `json:"resource_id" name:"resource_id" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetResourceLimitInput

type GetResourceLimitInput struct {
	VolumeType *int    `json:"volume_type" name:"volume_type" location:"params"`
	Zone       *string `json:"zone" name:"zone" location:"params"` // Required
}

func (*GetResourceLimitInput) Validate

func (v *GetResourceLimitInput) Validate() error

type GetResourceLimitOutput

type GetResourceLimitOutput struct {
	Message        *string         `json:"message" name:"message"`
	Action         *string         `json:"action" name:"action" location:"elements"`
	MaxSize        *int            `json:"max-size" name:"max-size" location:"elements"`
	MinSize        *int            `json:"min-size" name:"min-size" location:"elements"`
	ResourceLimits *ResourceLimits `json:"resource_limits" name:"resource_limits" location:"elements"`
	RetCode        *int            `json:"ret_code" name:"ret_code" location:"elements"`
	Step           *int            `json:"step" name:"step" location:"elements"`
	VxNetSubnets   []*string       `json:"vxnet_subnets" name:"vxnet_subnets" location:"elements"`
	VxNetVersion   *int            `json:"vxnet_version" name:"vxnet_version" location:"elements"`
}

type GetRouterMonitorInput

type GetRouterMonitorInput struct {
	EndTime   *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"`     // Required
	Meters    []*string  `json:"meters" name:"meters" location:"params"`                           // Required
	Resource  *string    `json:"resource" name:"resource" location:"params"`                       // Required
	StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required
	// Step's available values: 5m, 15m, 2h, 1d
	Step *string `json:"step" name:"step" location:"params"` // Required
}

func (*GetRouterMonitorInput) Validate

func (v *GetRouterMonitorInput) Validate() error

type GetRouterMonitorOutput

type GetRouterMonitorOutput struct {
	Message    *string  `json:"message" name:"message"`
	Action     *string  `json:"action" name:"action" location:"elements"`
	MeterSet   []*Meter `json:"meter_set" name:"meter_set" location:"elements"`
	ResourceID *string  `json:"resource_id" name:"resource_id" location:"elements"`
	RetCode    *int     `json:"ret_code" name:"ret_code" location:"elements"`
}

type GetVPNCertsInput

type GetVPNCertsInput struct {

	// Platform's available values: windows, linux, mac
	Platform *string `json:"platform" name:"platform" location:"params"`
	Router   *string `json:"router" name:"router" location:"params"` // Required
}

func (*GetVPNCertsInput) Validate

func (v *GetVPNCertsInput) Validate() error

type GetVPNCertsOutput

type GetVPNCertsOutput struct {
	Message         *string `json:"message" name:"message"`
	Action          *string `json:"action" name:"action" location:"elements"`
	CaCert          *string `json:"ca_cert" name:"ca_cert" location:"elements"`
	ClientCrt       *string `json:"client_crt" name:"client_crt" location:"elements"`
	ClientKey       *string `json:"client_key" name:"client_key" location:"elements"`
	LinuxConfSample *string `json:"linux_conf_sample" name:"linux_conf_sample" location:"elements"`
	MacConfSample   *string `json:"mac_conf_sample" name:"mac_conf_sample" location:"elements"`
	// Platform's available values: linux, windows, mac
	Platform          *string `json:"platform" name:"platform" location:"elements"`
	RetCode           *int    `json:"ret_code" name:"ret_code" location:"elements"`
	RouterID          *string `json:"router_id" name:"router_id" location:"elements"`
	StaticKey         *string `json:"static_key" name:"static_key" location:"elements"`
	WindowsConfSample *string `json:"windows_conf_sample" name:"windows_conf_sample" location:"elements"`
}

type GrantImageToUsersInput

type GrantImageToUsersInput struct {
	Image *string   `json:"image" name:"image" location:"params"` // Required
	Users []*string `json:"users" name:"users" location:"params"` // Required
}

func (*GrantImageToUsersInput) Validate

func (v *GrantImageToUsersInput) Validate() error

type GrantImageToUsersOutput

type GrantImageToUsersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type Image

type Image struct {
	AppBillingID  *string    `json:"app_billing_id" name:"app_billing_id"`
	Architecture  *string    `json:"architecture" name:"architecture"`
	BillingID     *string    `json:"billing_id" name:"billing_id"`
	CreateTime    *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	DefaultPasswd *string    `json:"default_passwd" name:"default_passwd"`
	DefaultUser   *string    `json:"default_user" name:"default_user"`
	Description   *string    `json:"description" name:"description"`
	FResetpwd     *int       `json:"f_resetpwd" name:"f_resetpwd"`
	Feature       *int       `json:"feature" name:"feature"`
	Features      *int       `json:"features" name:"features"`
	Hypervisor    *string    `json:"hypervisor" name:"hypervisor"`
	ImageID       *string    `json:"image_id" name:"image_id"`
	ImageName     *string    `json:"image_name" name:"image_name"`
	InstanceIDs   []*string  `json:"instance_ids" name:"instance_ids"`
	OSFamily      *string    `json:"os_family" name:"os_family"`
	Owner         *string    `json:"owner" name:"owner"`
	// Platform's available values: linux, windows
	Platform *string `json:"platform" name:"platform"`
	// ProcessorType's available values: 64bit, 32bit
	ProcessorType *string `json:"processor_type" name:"processor_type"`
	// Provider's available values: system, self
	Provider        *string `json:"provider" name:"provider"`
	RecommendedType *string `json:"recommended_type" name:"recommended_type"`
	RootID          *string `json:"root_id" name:"root_id"`
	Size            *int    `json:"size" name:"size"`
	// Status's available values: pending, available, deprecated, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode    *int       `json:"sub_code" name:"sub_code"`
	// TransitionStatus's available values: creating, suspending, resuming, deleting, recovering
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	UIType           *string `json:"ui_type" name:"ui_type"`
	// Visibility's available values: public, private
	Visibility *string `json:"visibility" name:"visibility"`
}

func (*Image) Validate

func (v *Image) Validate() error

type ImageService

type ImageService struct {
	Config     *config.Config
	Properties *ImageServiceProperties
}

type ImageServiceProperties

type ImageServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type ImageUser

type ImageUser struct {
	CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	ImageID    *string    `json:"image_id" name:"image_id"`
	User       *User      `json:"user" name:"user"`
}

func (*ImageUser) Validate

func (v *ImageUser) Validate() error

type Instance

type Instance struct {
	AlarmStatus      *string        `json:"alarm_status" name:"alarm_status"`
	CPUTopology      *string        `json:"cpu_topology" name:"cpu_topology"`
	CreateTime       *time.Time     `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description      *string        `json:"description" name:"description"`
	Device           *string        `json:"device" name:"device"`
	DNSAliases       []*DNSAlias    `json:"dns_aliases" name:"dns_aliases"`
	EIP              *EIP           `json:"eip" name:"eip"`
	Extra            *Extra         `json:"extra" name:"extra"`
	GraphicsPasswd   *string        `json:"graphics_passwd" name:"graphics_passwd"`
	GraphicsProtocol *string        `json:"graphics_protocol" name:"graphics_protocol"`
	Image            *Image         `json:"image" name:"image"`
	InstanceClass    *int           `json:"instance_class" name:"instance_class"`
	InstanceID       *string        `json:"instance_id" name:"instance_id"`
	InstanceName     *string        `json:"instance_name" name:"instance_name"`
	InstanceType     *string        `json:"instance_type" name:"instance_type"`
	KeyPairIDs       []*string      `json:"keypair_ids" name:"keypair_ids"`
	MemoryCurrent    *int           `json:"memory_current" name:"memory_current"`
	Repl             *string        `json:"repl" name:"repl"`
	SecurityGroup    *SecurityGroup `json:"security_group" name:"security_group"`
	// Status's available values: pending, running, stopped, suspended, terminated, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode    *int       `json:"sub_code" name:"sub_code"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, starting, stopping, restarting, suspending, resuming, terminating, recovering, resetting
	TransitionStatus *string     `json:"transition_status" name:"transition_status"`
	VCPUsCurrent     *int        `json:"vcpus_current" name:"vcpus_current"`
	VolumeIDs        []*string   `json:"volume_ids" name:"volume_ids"`
	Volumes          []*Volume   `json:"volumes" name:"volumes"`
	VxNets           []*NICVxNet `json:"vxnets" name:"vxnets"`
	ZoneID           *string     `json:"zone_id" name:"zone_id"`
}

func (*Instance) Validate

func (v *Instance) Validate() error

type InstanceService

type InstanceService struct {
	Config     *config.Config
	Properties *InstanceServiceProperties
}

type InstanceServiceProperties

type InstanceServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type InstanceType

type InstanceType struct {
	Description      *string `json:"description" name:"description"`
	InstanceTypeID   *string `json:"instance_type_id" name:"instance_type_id"`
	InstanceTypeName *string `json:"instance_type_name" name:"instance_type_name"`
	MemoryCurrent    *int    `json:"memory_current" name:"memory_current"`
	// Status's available values: available, deprecated
	Status       *string `json:"status" name:"status"`
	VCPUsCurrent *int    `json:"vcpus_current" name:"vcpus_current"`
	ZoneID       *string `json:"zone_id" name:"zone_id"`
}

func (*InstanceType) Validate

func (v *InstanceType) Validate() error

type InstanceVxNet

type InstanceVxNet struct {
	NICID     *string `json:"nic_id" name:"nic_id"`
	PrivateIP *string `json:"private_ip" name:"private_ip"`
	Role      *int    `json:"role" name:"role"`
	VxNetID   *string `json:"vxnet_id" name:"vxnet_id"`
	VxNetName *string `json:"vxnet_name" name:"vxnet_name"`
	// VxNetType's available values: 0, 1
	VxNetType *int `json:"vxnet_type" name:"vxnet_type"`
}

func (*InstanceVxNet) Validate

func (v *InstanceVxNet) Validate() error

type Job

type Job struct {
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	JobAction   *string    `json:"job_action" name:"job_action"`
	JobID       *string    `json:"job_id" name:"job_id"`
	Owner       *string    `json:"owner" name:"owner"`
	ResourceIDs *string    `json:"resource_ids" name:"resource_ids"`
	// Status's available values: pending, working, failed, successful, done with failure
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
}

func (*Job) Validate

func (v *Job) Validate() error

type JobService

type JobService struct {
	Config     *config.Config
	Properties *JobServiceProperties
}

type JobServiceProperties

type JobServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type JoinRouterInput

type JoinRouterInput struct {
	DYNIPEnd   *string `json:"dyn_ip_end" name:"dyn_ip_end" location:"params"`
	DYNIPStart *string `json:"dyn_ip_start" name:"dyn_ip_start" location:"params"`
	// Features's available values: 1
	Features  *int    `json:"features" name:"features" default:"1" location:"params"`
	IPNetwork *string `json:"ip_network" name:"ip_network" location:"params"` // Required
	ManagerIP *string `json:"manager_ip" name:"manager_ip" location:"params"`
	Router    *string `json:"router" name:"router" location:"params"` // Required
	VxNet     *string `json:"vxnet" name:"vxnet" location:"params"`   // Required
}

func (*JoinRouterInput) Validate

func (v *JoinRouterInput) Validate() error

type JoinRouterOutput

type JoinRouterOutput struct {
	Message  *string `json:"message" name:"message"`
	Action   *string `json:"action" name:"action" location:"elements"`
	JobID    *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int    `json:"ret_code" name:"ret_code" location:"elements"`
	RouterID *string `json:"router_id" name:"router_id" location:"elements"`
	VxNetID  *string `json:"vxnet_id" name:"vxnet_id" location:"elements"`
}

type JoinVxNetInput

type JoinVxNetInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
	VxNet     *string   `json:"vxnet" name:"vxnet" location:"params"`         // Required
}

func (*JoinVxNetInput) Validate

func (v *JoinVxNetInput) Validate() error

type JoinVxNetOutput

type JoinVxNetOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type KeyPair

type KeyPair struct {
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	// EncryptMethod's available values: ssh-rsa, ssh-dss
	EncryptMethod *string   `json:"encrypt_method" name:"encrypt_method"`
	InstanceIDs   []*string `json:"instance_ids" name:"instance_ids"`
	KeyPairID     *string   `json:"keypair_id" name:"keypair_id"`
	KeyPairName   *string   `json:"keypair_name" name:"keypair_name"`
	Owner         *string   `json:"owner" name:"owner"`
	PrivKey       *string   `json:"priv_key" name:"priv_key"`
	PubKey        *string   `json:"pub_key" name:"pub_key"`
	ResourceIDs   []*string `json:"resource_ids" name:"resource_ids"`
	Tags          []*Tag    `json:"tags" name:"tags"`
}

func (*KeyPair) Validate

func (v *KeyPair) Validate() error

type KeyPairServiceProperties

type KeyPairServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type LeaveRouterInput

type LeaveRouterInput struct {
	Router *string   `json:"router" name:"router" location:"params"` // Required
	VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` // Required
}

func (*LeaveRouterInput) Validate

func (v *LeaveRouterInput) Validate() error

type LeaveRouterOutput

type LeaveRouterOutput struct {
	Message  *string   `json:"message" name:"message"`
	Action   *string   `json:"action" name:"action" location:"elements"`
	JobID    *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int      `json:"ret_code" name:"ret_code" location:"elements"`
	RouterID *string   `json:"router_id" name:"router_id" location:"elements"`
	VxNets   []*string `json:"vxnets" name:"vxnets" location:"elements"`
}

type LeaveVxNetInput

type LeaveVxNetInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
	VxNet     *string   `json:"vxnet" name:"vxnet" location:"params"`         // Required
}

func (*LeaveVxNetInput) Validate

func (v *LeaveVxNetInput) Validate() error

type LeaveVxNetOutput

type LeaveVxNetOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type LoadBalancer

type LoadBalancer struct {
	Cluster     []*EIP     `json:"cluster" name:"cluster"`
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	EIPs        []*EIP     `json:"eips" name:"eips"`
	// IsApplied's available values: 0, 1
	IsApplied        *int                    `json:"is_applied" name:"is_applied"`
	Listeners        []*LoadBalancerListener `json:"listeners" name:"listeners"`
	LoadBalancerID   *string                 `json:"loadbalancer_id" name:"loadbalancer_id"`
	LoadBalancerName *string                 `json:"loadbalancer_name" name:"loadbalancer_name"`
	// LoadBalancerType's available values: 0, 1, 2, 3, 4, 5
	LoadBalancerType *int      `json:"loadbalancer_type" name:"loadbalancer_type"`
	NodeCount        *int      `json:"node_count" name:"node_count"`
	PrivateIPs       []*string `json:"private_ips" name:"private_ips"`
	SecurityGroupID  *string   `json:"security_group_id" name:"security_group_id"`
	// Status's available values: pending, active, stopped, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, starting, stopping, updating, suspending, resuming, deleting
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VxNetID          *string `json:"vxnet_id" name:"vxnet_id"`
}

func (*LoadBalancer) Validate

func (v *LoadBalancer) Validate() error

type LoadBalancerBackend

type LoadBalancerBackend struct {
	CreateTime              *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	LoadBalancerBackendID   *string    `json:"loadbalancer_backend_id" name:"loadbalancer_backend_id"`
	LoadBalancerBackendName *string    `json:"loadbalancer_backend_name" name:"loadbalancer_backend_name"`
	LoadBalancerID          *string    `json:"loadbalancer_id" name:"loadbalancer_id"`
	LoadBalancerListenerID  *string    `json:"loadbalancer_listener_id" name:"loadbalancer_listener_id"`
	LoadBalancerPolicyID    *string    `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id"`
	Port                    *int       `json:"port" name:"port"`
	ResourceID              *string    `json:"resource_id" name:"resource_id"`
	Status                  *string    `json:"status" name:"status"`
	Weight                  *int       `json:"weight" name:"weight"`
}

func (*LoadBalancerBackend) Validate

func (v *LoadBalancerBackend) Validate() error

type LoadBalancerListener

type LoadBalancerListener struct {
	BackendProtocol *string                `json:"backend_protocol" name:"backend_protocol"`
	Backends        []*LoadBalancerBackend `json:"backends" name:"backends"`
	// BalanceMode's available values: roundrobin, leastconn, source
	BalanceMode              *string    `json:"balance_mode" name:"balance_mode"`
	CreateTime               *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Forwardfor               *int       `json:"forwardfor" name:"forwardfor"`
	HealthyCheckMethod       *string    `json:"healthy_check_method" name:"healthy_check_method"`
	HealthyCheckOption       *string    `json:"healthy_check_option" name:"healthy_check_option" default:"10|5|2|5"`
	ListenerOption           *int       `json:"listener_option" name:"listener_option"`
	ListenerPort             *int       `json:"listener_port" name:"listener_port"`
	ListenerProtocol         *string    `json:"listener_protocol" name:"listener_protocol"`
	LoadBalancerID           *string    `json:"loadbalancer_id" name:"loadbalancer_id"`
	LoadBalancerListenerID   *string    `json:"loadbalancer_listener_id" name:"loadbalancer_listener_id"`
	LoadBalancerListenerName *string    `json:"loadbalancer_listener_name" name:"loadbalancer_listener_name"`
	ServerCertificateID      []*string  `json:"server_certificate_id" name:"server_certificate_id"`
	SessionSticky            *string    `json:"session_sticky" name:"session_sticky"`
	Timeout                  *int       `json:"timeout" name:"timeout"`
}

func (*LoadBalancerListener) Validate

func (v *LoadBalancerListener) Validate() error

type LoadBalancerPolicy

type LoadBalancerPolicy struct {
	CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	// IsApplied's available values: 0, 1
	IsApplied              *int      `json:"is_applied" name:"is_applied"`
	LoadBalancerIDs        []*string `json:"loadbalancer_ids" name:"loadbalancer_ids"`
	LoadBalancerPolicyID   *string   `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id"`
	LoadBalancerPolicyName *string   `json:"loadbalancer_policy_name" name:"loadbalancer_policy_name"`
}

func (*LoadBalancerPolicy) Validate

func (v *LoadBalancerPolicy) Validate() error

type LoadBalancerPolicyRule

type LoadBalancerPolicyRule struct {
	LoadBalancerPolicyRuleID   *string `json:"loadbalancer_policy_rule_id" name:"loadbalancer_policy_rule_id"`
	LoadBalancerPolicyRuleName *string `json:"loadbalancer_policy_rule_name" name:"loadbalancer_policy_rule_name"`
	RuleType                   *string `json:"rule_type" name:"rule_type"`
	Val                        *string `json:"val" name:"val"`
}

func (*LoadBalancerPolicyRule) Validate

func (v *LoadBalancerPolicyRule) Validate() error

type LoadBalancerService

type LoadBalancerService struct {
	Config     *config.Config
	Properties *LoadBalancerServiceProperties
}

type LoadBalancerServiceProperties

type LoadBalancerServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type Meter

type Meter struct {
	Data     []interface{} `json:"data" name:"data"`
	MeterID  *string       `json:"meter_id" name:"meter_id"`
	Sequence *int          `json:"sequence" name:"sequence"`
	VxNetID  *string       `json:"vxnet_id" name:"vxnet_id"`
}

func (*Meter) Validate

func (v *Meter) Validate() error

type MiscService

type MiscService struct {
	Config     *config.Config
	Properties *MiscServiceProperties
}

type MiscServiceProperties

type MiscServiceProperties struct {
}

type ModifyCacheAttributesInput

type ModifyCacheAttributesInput struct {
	AutoBackupTime *int    `json:"auto_backup_time" name:"auto_backup_time" default:"99" location:"params"`
	Cache          *string `json:"cache" name:"cache" location:"params"` // Required
	CacheName      *string `json:"cache_name" name:"cache_name" location:"params"`
	Description    *string `json:"description" name:"description" location:"params"`
}

func (*ModifyCacheAttributesInput) Validate

func (v *ModifyCacheAttributesInput) Validate() error

type ModifyCacheAttributesOutput

type ModifyCacheAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyCacheNodeAttributesInput

type ModifyCacheNodeAttributesInput struct {
	CacheNode     *string `json:"cache_node" name:"cache_node" location:"params"` // Required
	CacheNodeName *string `json:"cache_node_name" name:"cache_node_name" location:"params"`
}

func (*ModifyCacheNodeAttributesInput) Validate

func (v *ModifyCacheNodeAttributesInput) Validate() error

type ModifyCacheNodeAttributesOutput

type ModifyCacheNodeAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyCacheParameterGroupAttributesInput

type ModifyCacheParameterGroupAttributesInput struct {
	CacheParameterGroup     *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required
	CacheParameterGroupName *string `json:"cache_parameter_group_name" name:"cache_parameter_group_name" location:"params"`
	Description             *string `json:"description" name:"description" location:"params"`
}

func (*ModifyCacheParameterGroupAttributesInput) Validate

type ModifyCacheParameterGroupAttributesOutput

type ModifyCacheParameterGroupAttributesOutput struct {
	Message               *string `json:"message" name:"message"`
	Action                *string `json:"action" name:"action" location:"elements"`
	CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id" location:"elements"`
	RetCode               *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyClusterAttributesInput

type ModifyClusterAttributesInput struct {
	AutoBackupTime *int    `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	Cluster        *string `json:"cluster" name:"cluster" location:"params"` // Required
	Description    *string `json:"description" name:"description" location:"params"`
	Name           *string `json:"name" name:"name" location:"params"`
}

func (*ModifyClusterAttributesInput) Validate

func (v *ModifyClusterAttributesInput) Validate() error

type ModifyClusterAttributesOutput

type ModifyClusterAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyClusterNodeAttributesInput

type ModifyClusterNodeAttributesInput struct {
	ClusterNode *string `json:"cluster_node" name:"cluster_node" location:"params"` // Required
	Name        *string `json:"name" name:"name" location:"params"`
}

func (*ModifyClusterNodeAttributesInput) Validate

type ModifyClusterNodeAttributesOutput

type ModifyClusterNodeAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyEIPAttributesInput

type ModifyEIPAttributesInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	EIP         *string `json:"eip" name:"eip" location:"params"` // Required
	EIPName     *string `json:"eip_name" name:"eip_name" location:"params"`
}

func (*ModifyEIPAttributesInput) Validate

func (v *ModifyEIPAttributesInput) Validate() error

type ModifyEIPAttributesOutput

type ModifyEIPAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	EIPID   *string `json:"eip_id" name:"eip_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyImageAttributesInput

type ModifyImageAttributesInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	Image       *string `json:"image" name:"image" location:"params"` // Required
	ImageName   *string `json:"image_name" name:"image_name" location:"params"`
}

func (*ModifyImageAttributesInput) Validate

func (v *ModifyImageAttributesInput) Validate() error

type ModifyImageAttributesOutput

type ModifyImageAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	ImageID *string `json:"image_id" name:"image_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyInstanceAttributesInput

type ModifyInstanceAttributesInput struct {
	Description  *string `json:"description" name:"description" location:"params"`
	Instance     *string `json:"instance" name:"instance" location:"params"` // Required
	InstanceName *string `json:"instance_name" name:"instance_name" location:"params"`
}

func (*ModifyInstanceAttributesInput) Validate

func (v *ModifyInstanceAttributesInput) Validate() error

type ModifyInstanceAttributesOutput

type ModifyInstanceAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyKeyPairAttributesInput

type ModifyKeyPairAttributesInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	KeyPair     *string `json:"keypair" name:"keypair" location:"params"` // Required
	KeyPairName *string `json:"keypair_name" name:"keypair_name" location:"params"`
}

func (*ModifyKeyPairAttributesInput) Validate

func (v *ModifyKeyPairAttributesInput) Validate() error

type ModifyKeyPairAttributesOutput

type ModifyKeyPairAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyLoadBalancerAttributesInput

type ModifyLoadBalancerAttributesInput struct {
	Description      *string `json:"description" name:"description" location:"params"`
	HTTPHeaderSize   *int    `json:"http_header_size" name:"http_header_size" location:"params"`
	LoadBalancer     *string `json:"loadbalancer" name:"loadbalancer" location:"params"` // Required
	LoadBalancerName *string `json:"loadbalancer_name" name:"loadbalancer_name" location:"params"`
	NodeCount        *int    `json:"node_count" name:"node_count" location:"params"`
	PrivateIP        *string `json:"private_ip" name:"private_ip" location:"params"`
	SecurityGroup    *string `json:"security_group" name:"security_group" location:"params"`
}

func (*ModifyLoadBalancerAttributesInput) Validate

type ModifyLoadBalancerAttributesOutput

type ModifyLoadBalancerAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyLoadBalancerBackendAttributesInput

type ModifyLoadBalancerBackendAttributesInput struct {

	// Disabled's available values: 0, 1
	Disabled                *int    `json:"disabled" name:"disabled" location:"params"`
	LoadBalancerBackend     *string `json:"loadbalancer_backend" name:"loadbalancer_backend" location:"params"`
	LoadBalancerBackendName *string `json:"loadbalancer_backend_name" name:"loadbalancer_backend_name" location:"params"`
	LoadBalancerPolicyID    *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id" location:"params"`
	Port                    *int    `json:"port" name:"port" location:"params"`
	Weight                  *int    `json:"weight" name:"weight" location:"params"`
}

func (*ModifyLoadBalancerBackendAttributesInput) Validate

type ModifyLoadBalancerBackendAttributesOutput

type ModifyLoadBalancerBackendAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyLoadBalancerListenerAttributesInput

type ModifyLoadBalancerListenerAttributesInput struct {
	BalanceMode              *string   `json:"balance_mode" name:"balance_mode" location:"params"`
	Forwardfor               *int      `json:"forwardfor" name:"forwardfor" location:"params"`
	HealthyCheckMethod       *string   `json:"healthy_check_method" name:"healthy_check_method" location:"params"`
	HealthyCheckOption       *string   `json:"healthy_check_option" name:"healthy_check_option" location:"params"`
	ListenerOption           *int      `json:"listener_option" name:"listener_option" location:"params"`
	LoadBalancerListener     *string   `json:"loadbalancer_listener" name:"loadbalancer_listener" location:"params"` // Required
	LoadBalancerListenerName *string   `json:"loadbalancer_listener_name" name:"loadbalancer_listener_name" location:"params"`
	ServerCertificateID      []*string `json:"server_certificate_id" name:"server_certificate_id" location:"params"`
	SessionSticky            *string   `json:"session_sticky" name:"session_sticky" location:"params"`
	Timeout                  *int      `json:"timeout" name:"timeout" location:"params"`
}

func (*ModifyLoadBalancerListenerAttributesInput) Validate

type ModifyLoadBalancerListenerAttributesOutput

type ModifyLoadBalancerListenerAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyLoadBalancerPolicyAttributesInput

type ModifyLoadBalancerPolicyAttributesInput struct {
	LoadBalancerPolicy     *string `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"` // Required
	LoadBalancerPolicyName *string `json:"loadbalancer_policy_name" name:"loadbalancer_policy_name" location:"params"`
	Operator               *string `json:"operator" name:"operator" location:"params"`
}

func (*ModifyLoadBalancerPolicyAttributesInput) Validate

type ModifyLoadBalancerPolicyAttributesOutput

type ModifyLoadBalancerPolicyAttributesOutput struct {
	Message              *string `json:"message" name:"message"`
	Action               *string `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id" location:"elements"`
	RetCode              *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyLoadBalancerPolicyRuleAttributesInput

type ModifyLoadBalancerPolicyRuleAttributesInput struct {
	LoadBalancerPolicyRule     *string `json:"loadbalancer_policy_rule" name:"loadbalancer_policy_rule" location:"params"` // Required
	LoadBalancerPolicyRuleName *string `json:"loadbalancer_policy_rule_name" name:"loadbalancer_policy_rule_name" location:"params"`
	Val                        *string `json:"val" name:"val" location:"params"`
}

func (*ModifyLoadBalancerPolicyRuleAttributesInput) Validate

type ModifyLoadBalancerPolicyRuleAttributesOutput

type ModifyLoadBalancerPolicyRuleAttributesOutput struct {
	Message                  *string `json:"message" name:"message"`
	Action                   *string `json:"action" name:"action" location:"elements"`
	LoadBalancerPolicyRuleID *string `json:"loadbalancer_policy_rule_id" name:"loadbalancer_policy_rule_id" location:"elements"`
	RetCode                  *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyMongoAttributesInput

type ModifyMongoAttributesInput struct {
	AutoBackupTime *int    `json:"auto_backup_time" name:"auto_backup_time" location:"params"`
	Description    *string `json:"description" name:"description" location:"params"`
	Mongo          *string `json:"mongo" name:"mongo" location:"params"` // Required
	MongoName      *string `json:"mongo_name" name:"mongo_name" location:"params"`
}

func (*ModifyMongoAttributesInput) Validate

func (v *ModifyMongoAttributesInput) Validate() error

type ModifyMongoAttributesOutput

type ModifyMongoAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	Mongo   *string `json:"mongo" name:"mongo" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyMongoInstancesInput

type ModifyMongoInstancesInput struct {
	Mongo      *string           `json:"mongo" name:"mongo" location:"params"` // Required
	PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"`
}

func (*ModifyMongoInstancesInput) Validate

func (v *ModifyMongoInstancesInput) Validate() error

type ModifyMongoInstancesOutput

type ModifyMongoInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	Mongo   *string `json:"mongo" name:"mongo" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyNicAttributesInput

type ModifyNicAttributesInput struct {
	NIC       *string `json:"nic" name:"nic" location:"params"` // Required
	NICName   *string `json:"nic_name" name:"nic_name" location:"params"`
	PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"`
	VxNet     *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*ModifyNicAttributesInput) Validate

func (v *ModifyNicAttributesInput) Validate() error

type ModifyNicAttributesOutput

type ModifyNicAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyRDBParametersInput

type ModifyRDBParametersInput struct {
	Parameters []*RDBParameters `json:"parameters" name:"parameters" location:"params"`
	RDB        *string          `json:"rdb" name:"rdb" location:"params"` // Required
}

func (*ModifyRDBParametersInput) Validate

func (v *ModifyRDBParametersInput) Validate() error

type ModifyRDBParametersOutput

type ModifyRDBParametersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RDB     *string `json:"rdb" name:"rdb" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyRouterAttributesInput

type ModifyRouterAttributesInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	DYNIPEnd    *string `json:"dyn_ip_end" name:"dyn_ip_end" location:"params"`
	DYNIPStart  *string `json:"dyn_ip_start" name:"dyn_ip_start" location:"params"`
	EIP         *string `json:"eip" name:"eip" location:"params"`
	// Features's available values: 1, 2
	Features      *int    `json:"features" name:"features" location:"params"`
	Router        *string `json:"router" name:"router" location:"params"` // Required
	RouterName    *string `json:"router_name" name:"router_name" location:"params"`
	SecurityGroup *string `json:"security_group" name:"security_group" location:"params"`
	VxNet         *string `json:"vxnet" name:"vxnet" location:"params"`
}

func (*ModifyRouterAttributesInput) Validate

func (v *ModifyRouterAttributesInput) Validate() error

type ModifyRouterAttributesOutput

type ModifyRouterAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyRouterStaticAttributesInput

type ModifyRouterStaticAttributesInput struct {
	RouterStatic     *string `json:"router_static" name:"router_static" location:"params"` // Required
	RouterStaticName *string `json:"router_static_name" name:"router_static_name" location:"params"`
	Val1             *string `json:"val1" name:"val1" location:"params"`
	Val2             *string `json:"val2" name:"val2" location:"params"`
	Val3             *string `json:"val3" name:"val3" location:"params"`
	Val4             *string `json:"val4" name:"val4" location:"params"`
	Val5             *string `json:"val5" name:"val5" location:"params"`
	Val6             *string `json:"val6" name:"val6" location:"params"`
	Val7             *string `json:"val7" name:"val7" location:"params"`
	Val8             *string `json:"val8" name:"val8" location:"params"`
	Val9             *string `json:"val9" name:"val9" location:"params"`
}

func (*ModifyRouterStaticAttributesInput) Validate

type ModifyRouterStaticAttributesOutput

type ModifyRouterStaticAttributesOutput struct {
	Message        *string `json:"message" name:"message"`
	Action         *string `json:"action" name:"action" location:"elements"`
	RetCode        *int    `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStaticID *string `json:"router_static_id" name:"router_static_id" location:"elements"`
}

type ModifyRouterStaticEntryAttributesInput

type ModifyRouterStaticEntryAttributesInput struct {
	RouterStaticEntry     *string `json:"router_static_entry" name:"router_static_entry" location:"params"` // Required
	RouterStaticEntryName *string `json:"router_static_entry_name" name:"router_static_entry_name" location:"params"`
	Val1                  *string `json:"val1" name:"val1" location:"params"`
	Val2                  *string `json:"val2" name:"val2" location:"params"`
}

func (*ModifyRouterStaticEntryAttributesInput) Validate

type ModifyRouterStaticEntryAttributesOutput

type ModifyRouterStaticEntryAttributesOutput struct {
	Message           *string `json:"message" name:"message"`
	Action            *string `json:"action" name:"action" location:"elements"`
	RetCode           *int    `json:"ret_code" name:"ret_code" location:"elements"`
	RouterStaticEntry *string `json:"router_static_entry" name:"router_static_entry" location:"elements"`
}

type ModifyS2ServerInput

type ModifyS2ServerInput struct {
	Description  *string `json:"description" name:"description" location:"params"`
	S2Server     *string `json:"s2_server" name:"s2_server" location:"params"` // Required
	S2ServerName *string `json:"s2_server_name" name:"s2_server_name" location:"params"`
}

func (*ModifyS2ServerInput) Validate

func (v *ModifyS2ServerInput) Validate() error

type ModifyS2ServerOutput

type ModifyS2ServerOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyS2SharedTargetsInput

type ModifyS2SharedTargetsInput struct {
	InitiatorNames []*string `json:"initiator_names" name:"initiator_names" location:"params"`
	Operation      *string   `json:"operation" name:"operation" location:"params"`           // Required
	Parameters     []*string `json:"parameters" name:"parameters" location:"params"`         // Required
	SharedTargets  []*string `json:"shared_targets" name:"shared_targets" location:"params"` // Required
}

func (*ModifyS2SharedTargetsInput) Validate

func (v *ModifyS2SharedTargetsInput) Validate() error

type ModifyS2SharedTargetsOutput

type ModifyS2SharedTargetsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifySecurityGroupAttributesInput

type ModifySecurityGroupAttributesInput struct {
	Description       *string `json:"description" name:"description" location:"params"`
	SecurityGroup     *string `json:"security_group" name:"security_group" location:"params"` // Required
	SecurityGroupName *string `json:"security_group_name" name:"security_group_name" location:"params"`
}

func (*ModifySecurityGroupAttributesInput) Validate

type ModifySecurityGroupAttributesOutput

type ModifySecurityGroupAttributesOutput struct {
	Message         *string `json:"message" name:"message"`
	Action          *string `json:"action" name:"action" location:"elements"`
	RetCode         *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupID *string `json:"security_group_id" name:"security_group_id" location:"elements"`
}

type ModifySecurityGroupIPSetAttributesInput

type ModifySecurityGroupIPSetAttributesInput struct {
	Description            *string `json:"description" name:"description" location:"params"`
	SecurityGroupIPSet     *string `json:"security_group_ipset" name:"security_group_ipset" location:"params"` // Required
	SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name" location:"params"`
	Val                    *string `json:"val" name:"val" location:"params"`
}

func (*ModifySecurityGroupIPSetAttributesInput) Validate

type ModifySecurityGroupIPSetAttributesOutput

type ModifySecurityGroupIPSetAttributesOutput struct {
	Message              *string `json:"message" name:"message"`
	Action               *string `json:"action" name:"action" location:"elements"`
	RetCode              *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupIPSetID *string `json:"security_group_ipset_id" name:"security_group_ipset_id" location:"elements"`
}

type ModifySecurityGroupRuleAttributesInput

type ModifySecurityGroupRuleAttributesInput struct {

	// Direction's available values: 0, 1
	Direction *int    `json:"direction" name:"direction" location:"params"`
	Priority  *int    `json:"priority" name:"priority" location:"params"`
	Protocol  *string `json:"protocol" name:"protocol" location:"params"`
	// RuleAction's available values: accept, drop
	RuleAction            *string `json:"rule_action" name:"rule_action" location:"params"`
	SecurityGroup         *string `json:"security_group" name:"security_group" location:"params"`
	SecurityGroupRule     *string `json:"security_group_rule" name:"security_group_rule" location:"params"` // Required
	SecurityGroupRuleName *string `json:"security_group_rule_name" name:"security_group_rule_name" location:"params"`
	Val1                  *string `json:"val1" name:"val1" location:"params"`
	Val2                  *string `json:"val2" name:"val2" location:"params"`
	Val3                  *string `json:"val3" name:"val3" location:"params"`
}

func (*ModifySecurityGroupRuleAttributesInput) Validate

type ModifySecurityGroupRuleAttributesOutput

type ModifySecurityGroupRuleAttributesOutput struct {
	Message             *string `json:"message" name:"message"`
	Action              *string `json:"action" name:"action" location:"elements"`
	RetCode             *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupRuleID *string `json:"security_group_rule_id" name:"security_group_rule_id" location:"elements"`
}

type ModifyServerCertificateAttributesInput

type ModifyServerCertificateAttributesInput struct {
	Description           *string `json:"description" name:"description" location:"params"`
	ServerCertificate     *string `json:"server_certificate" name:"server_certificate" location:"params"` // Required
	ServerCertificateName *string `json:"server_certificate_name" name:"server_certificate_name" location:"params"`
}

func (*ModifyServerCertificateAttributesInput) Validate

type ModifyServerCertificateAttributesOutput

type ModifyServerCertificateAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifySnapshotAttributesInput

type ModifySnapshotAttributesInput struct {
	Description  *string `json:"description" name:"description" location:"params"`
	Snapshot     *string `json:"snapshot" name:"snapshot" location:"params"` // Required
	SnapshotName *string `json:"snapshot_name" name:"snapshot_name" location:"params"`
}

func (*ModifySnapshotAttributesInput) Validate

func (v *ModifySnapshotAttributesInput) Validate() error

type ModifySnapshotAttributesOutput

type ModifySnapshotAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyTagAttributesInput

type ModifyTagAttributesInput struct {
	Color       *string `json:"color" name:"color" location:"params"`
	Description *string `json:"description" name:"description" location:"params"`
	Tag         *string `json:"tag" name:"tag" location:"params"` // Required
	TagName     *string `json:"tag_name" name:"tag_name" location:"params"`
}

func (*ModifyTagAttributesInput) Validate

func (v *ModifyTagAttributesInput) Validate() error

type ModifyTagAttributesOutput

type ModifyTagAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyVolumeAttributesInput

type ModifyVolumeAttributesInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	Volume      *string `json:"volume" name:"volume" location:"params"` // Required
	VolumeName  *string `json:"volume_name" name:"volume_name" location:"params"`
}

func (*ModifyVolumeAttributesInput) Validate

func (v *ModifyVolumeAttributesInput) Validate() error

type ModifyVolumeAttributesOutput

type ModifyVolumeAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ModifyVxNetAttributesInput

type ModifyVxNetAttributesInput struct {
	Description *string `json:"description" name:"description" location:"params"`
	VxNet       *string `json:"vxnet" name:"vxnet" location:"params"` // Required
	VxNetName   *string `json:"vxnet_name" name:"vxnet_name" location:"params"`
}

func (*ModifyVxNetAttributesInput) Validate

func (v *ModifyVxNetAttributesInput) Validate() error

type ModifyVxNetAttributesOutput

type ModifyVxNetAttributesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type Mongo

type Mongo struct {
	// AlarmStatus's available values: ok, alarm, insufficient
	AlarmStatus         *string    `json:"alarm_status" name:"alarm_status"`
	AutoBackupTime      *int       `json:"auto_backup_time" name:"auto_backup_time"`
	AutoMinorVerUpgrade *int       `json:"auto_minor_ver_upgrade" name:"auto_minor_ver_upgrade"`
	CreateTime          *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description         *string    `json:"description" name:"description"`
	LatestSnapshotTime  *time.Time `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"`
	MongoID             *string    `json:"mongo_id" name:"mongo_id"`
	MongoName           *string    `json:"mongo_name" name:"mongo_name"`
	MongoType           *int       `json:"mongo_type" name:"mongo_type"`
	MongoVersion        *string    `json:"mongo_version" name:"mongo_version"`
	// Status's available values: pending, active, stopped, deleted, suspended, ceased
	Status      *string    `json:"status" name:"status"`
	StatusTime  *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	StorageSize *int       `json:"storage_size" name:"storage_size"`
	Tags        []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, stopping, starting, deleting, resizing, suspending, vxnet-changing, snapshot-creating, instances-adding, instances-removing, pg-applying
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VxNet            *VxNet  `json:"vxnet" name:"vxnet"`
}

func (*Mongo) Validate

func (v *Mongo) Validate() error

type MongoNode

type MongoNode struct {
	IP          *string `json:"ip" name:"ip"`
	MongoID     *string `json:"mongo_id" name:"mongo_id"`
	MongoNodeID *string `json:"mongo_node_id" name:"mongo_node_id"`
	Primary     *int    `json:"primary" name:"primary"`
	Status      *string `json:"status" name:"status"`
	VxNetID     *string `json:"vxnet_id" name:"vxnet_id"`
}

func (*MongoNode) Validate

func (v *MongoNode) Validate() error

type MongoParameter

type MongoParameter struct {
	// IsReadonly's available values: 0, 1
	IsReadonly *int `json:"is_readonly" name:"is_readonly"`
	// IsStatic's available values: 0, 1
	IsStatic      *int    `json:"is_static" name:"is_static"`
	OPTName       *string `json:"opt_name" name:"opt_name"`
	ParameterName *string `json:"parameter_name" name:"parameter_name"`
	// ParameterType's available values: string, int, bool
	ParameterType  *string `json:"parameter_type" name:"parameter_type"`
	ParameterValue *string `json:"parameter_value" name:"parameter_value"`
	ResourceType   *string `json:"resource_type" name:"resource_type"`
}

func (*MongoParameter) Validate

func (v *MongoParameter) Validate() error

type MongoPrivateIP

type MongoPrivateIP struct {
	Priority0 *string `json:"priority0" name:"priority0"`
	Replica   *string `json:"replica" name:"replica"`
}

func (*MongoPrivateIP) Validate

func (v *MongoPrivateIP) Validate() error

type MongoService

type MongoService struct {
	Config     *config.Config
	Properties *MongoServiceProperties
}

func (*MongoService) CreateMongo

func (s *MongoService) CreateMongo(i *CreateMongoInput) (*CreateMongoOutput, error)

Documentation URL: https://docs.qingcloud.com/api/mongo/create_mongo.html

func (*MongoService) StartMongos

func (s *MongoService) StartMongos(i *StartMongosInput) (*StartMongosOutput, error)

Documentation URL: https://docs.qingcloud.com/api/mongo/start_mongos.html

func (*MongoService) StopMongos

func (s *MongoService) StopMongos(i *StopMongosInput) (*StopMongosOutput, error)

Documentation URL: https://docs.qingcloud.com/api/mongo/stop_mongos.html

type MongoServiceProperties

type MongoServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type MonitorService

type MonitorService struct {
	Config     *config.Config
	Properties *MonitorServiceProperties
}

func (*MonitorService) GetMonitor

func (s *MonitorService) GetMonitor(i *GetMonitorInput) (*GetMonitorOutput, error)

Documentation URL: https://docs.qingcloud.com/api/monitor/get_monitor.html

type MonitorServiceProperties

type MonitorServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type NIC

type NIC struct {
	CreateTime    *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	EIP           *NICEIP    `json:"eip" name:"eip"`
	InstanceID    *string    `json:"instance_id" name:"instance_id"`
	NICID         *string    `json:"nic_id" name:"nic_id"`
	NICName       *string    `json:"nic_name" name:"nic_name"`
	Owner         *string    `json:"owner" name:"owner"`
	PrivateIP     *string    `json:"private_ip" name:"private_ip"`
	Role          *int       `json:"role" name:"role"`
	RootUserID    *string    `json:"root_user_id" name:"root_user_id"`
	SecurityGroup *string    `json:"security_group" name:"security_group"`
	Sequence      *int       `json:"sequence" name:"sequence"`
	// Status's available values: available, in-use
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	VxNetID    *string    `json:"vxnet_id" name:"vxnet_id"`
}

func (*NIC) Validate

func (v *NIC) Validate() error

type NICEIP

type NICEIP struct {
	Bandwidth *int    `json:"bandwidth" name:"bandwidth"`
	EIPAddr   *string `json:"eip_addr" name:"eip_addr"`
	EIPID     *string `json:"eip_id" name:"eip_id"`
}

func (*NICEIP) Validate

func (v *NICEIP) Validate() error

type NICIP

type NICIP struct {
	NICID     *string `json:"nic_id" name:"nic_id"`
	PrivateIP *string `json:"private_ip" name:"private_ip"`
}

func (*NICIP) Validate

func (v *NICIP) Validate() error

type NICVxNet

type NICVxNet struct {
	NICID     *string `json:"nic_id" name:"nic_id"`
	PrivateIP *string `json:"private_ip" name:"private_ip"`
	Role      *int    `json:"role" name:"role"`
	VxNetID   *string `json:"vxnet_id" name:"vxnet_id"`
	VxNetName *string `json:"vxnet_name" name:"vxnet_name"`
	VxNetType *int    `json:"vxnet_type" name:"vxnet_type"`
}

func (*NICVxNet) Validate

func (v *NICVxNet) Validate() error

type NicService

type NicService struct {
	Config     *config.Config
	Properties *NicServiceProperties
}

func (*NicService) AttachNics

func (s *NicService) AttachNics(i *AttachNicsInput) (*AttachNicsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/nic/attach_nics.html

func (*NicService) CreateNics

func (s *NicService) CreateNics(i *CreateNicsInput) (*CreateNicsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/nic/create_nics.html

func (*NicService) DeleteNics

func (s *NicService) DeleteNics(i *DeleteNicsInput) (*DeleteNicsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/nic/delete_nics.html

func (*NicService) DetachNics

func (s *NicService) DetachNics(i *DetachNicsInput) (*DetachNicsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/nic/detach_nics.html

type NicServiceProperties

type NicServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type NotificationData

type NotificationData struct {
	AlarmPolicy   *string `json:"alarm_policy" name:"alarm_policy"`
	PrevStatus    *string `json:"prev_status" name:"prev_status"`
	Rules         *string `json:"rules" name:"rules"`
	TriggerStatus *string `json:"trigger_status" name:"trigger_status"`
	UserID        *string `json:"user_id" name:"user_id"`
}

func (*NotificationData) Validate

func (v *NotificationData) Validate() error

type NotificationList

type NotificationList struct {
	ConsoleID            *string                 `json:"console_id" name:"console_id"`
	CreateTime           *string                 `json:"create_time" name:"create_time"`
	IsMine               *string                 `json:"is_mine" name:"is_mine"`
	Items                []*NotificationListItem `json:"items" name:"items"`
	NotificationListID   *string                 `json:"notification_list_id" name:"notification_list_id"`
	NotificationListName *string                 `json:"notification_list_name" name:"notification_list_name"`
	Owner                *string                 `json:"owner" name:"owner"`
	RootUserID           *string                 `json:"root_user_id" name:"root_user_id"`
	Shared               *string                 `json:"shared" name:"shared"`
	Visibility           *string                 `json:"visibility" name:"visibility"`
}

func (*NotificationList) Validate

func (v *NotificationList) Validate() error

type NotificationListItem

type NotificationListItem struct {
	ConsoleID            *string `json:"console_id" name:"console_id"`
	Content              *string `json:"content" name:"content"`
	CreateTime           *string `json:"create_time" name:"create_time"`
	NotificationItemID   *string `json:"notification_item_id" name:"notification_item_id"`
	NotificationItemType *string `json:"notification_item_type" name:"notification_item_type"`
	Owner                *string `json:"owner" name:"owner"`
	Remarks              *string `json:"remarks" name:"remarks"`
	RootUserID           *string `json:"root_user_id" name:"root_user_id"`
	ValidStatus          *int    `json:"valid_status" name:"valid_status"`
	VerificationCode     *string `json:"verification_code" name:"verification_code"`
	Verified             *int    `json:"verified" name:"verified"`
	VerifyTime           *string `json:"verify_time" name:"verify_time"`
}

func (*NotificationListItem) Validate

func (v *NotificationListItem) Validate() error

type NotificationService

type NotificationService struct {
	Config     *config.Config
	Properties *NotificationServiceProperties
}

func (*NotificationService) DescribeNotificationLists

func (*NotificationService) SendAlarmNotification

type NotificationServiceProperties

type NotificationServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type PowerOffRoutersInput

type PowerOffRoutersInput struct {
	Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}

func (*PowerOffRoutersInput) Validate

func (v *PowerOffRoutersInput) Validate() error

type PowerOffRoutersOutput

type PowerOffRoutersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type PowerOffS2ServersInput

type PowerOffS2ServersInput struct {
	S2Servers *string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}

func (*PowerOffS2ServersInput) Validate

func (v *PowerOffS2ServersInput) Validate() error

type PowerOffS2ServersOutput

type PowerOffS2ServersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type PowerOnRoutersInput

type PowerOnRoutersInput struct {
	Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}

func (*PowerOnRoutersInput) Validate

func (v *PowerOnRoutersInput) Validate() error

type PowerOnRoutersOutput

type PowerOnRoutersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type PowerOnS2ServersInput

type PowerOnS2ServersInput struct {
	S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}

func (*PowerOnS2ServersInput) Validate

func (v *PowerOnS2ServersInput) Validate() error

type PowerOnS2ServersOutput

type PowerOnS2ServersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type Project

type Project struct {
	ConsoleID       *string `json:"console_id" name:"console_id"`
	CreateTime      *string `json:"create_time" name:"create_time"`
	Description     *string `json:"description" name:"description"`
	Enabled         *int    `json:"enabled" name:"enabled"`
	Meta            *string `json:"meta" name:"meta"`
	Owner           *string `json:"owner" name:"owner"`
	OwnerName       *string `json:"owner_name" name:"owner_name"`
	ProjectID       *string `json:"project_id" name:"project_id"`
	ProjectName     *string `json:"project_name" name:"project_name"`
	ResourceGroupID *string `json:"resource_group_id" name:"resource_group_id"`
	RootUserID      *string `json:"root_user_id" name:"root_user_id"`
	Status          *string `json:"status" name:"status"`
}

func (*Project) Validate

func (v *Project) Validate() error

type ProjectResourceItem

type ProjectResourceItem struct {
	CreateTime      *string `json:"create_time" name:"create_time"`
	Meta            *string `json:"meta" name:"meta"`
	Owner           *string `json:"owner" name:"owner"`
	ProjectID       *string `json:"project_id" name:"project_id"`
	ProjectName     *string `json:"project_name" name:"project_name"`
	ResourceGroupID *string `json:"resource_group_id" name:"resource_group_id"`
	ResourceID      *string `json:"resource_id" name:"resource_id"`
	ResourceType    *string `json:"resource_type" name:"resource_type"`
	RootUserID      *string `json:"root_user_id" name:"root_user_id"`
	ZoneID          *string `json:"zone_id" name:"zone_id"`
}

func (*ProjectResourceItem) Validate

func (v *ProjectResourceItem) Validate() error

type ProjectService

type ProjectService struct {
	Config     *config.Config
	Properties *ProjectServiceProperties
}

func (*ProjectService) AddProjectResourceItems

func (*ProjectService) DeleteProjectResourceItems

func (*ProjectService) DescribeProjects

type ProjectServiceProperties

type ProjectServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type QingCloudService

type QingCloudService struct {
	Config     *config.Config
	Properties *QingCloudServiceProperties
}

QingCloudService: QingCloud provides a platform which can make the delivery of computing resources more simple, efficient and reliable, even more environmental.

func Init

func Init(c *config.Config) (*QingCloudService, error)

func (*QingCloudService) Accesskey

func (s *QingCloudService) Accesskey(zone string) (*AccesskeyService, error)

func (*QingCloudService) App

func (s *QingCloudService) App(zone string) (*AppService, error)

func (*QingCloudService) Cache

func (s *QingCloudService) Cache(zone string) (*CacheService, error)

func (*QingCloudService) Cluster

func (s *QingCloudService) Cluster(zone string) (*ClusterService, error)

func (*QingCloudService) DNSAlias

func (s *QingCloudService) DNSAlias(zone string) (*DNSAliasService, error)

func (*QingCloudService) EIP

func (s *QingCloudService) EIP(zone string) (*EIPService, error)

func (*QingCloudService) Image

func (s *QingCloudService) Image(zone string) (*ImageService, error)

func (*QingCloudService) Instance

func (s *QingCloudService) Instance(zone string) (*InstanceService, error)

func (*QingCloudService) Job

func (s *QingCloudService) Job(zone string) (*JobService, error)

func (*QingCloudService) KeyPair

func (s *QingCloudService) KeyPair(zone string) (*KeyPairService, error)

func (*QingCloudService) LoadBalancer

func (s *QingCloudService) LoadBalancer(zone string) (*LoadBalancerService, error)

func (*QingCloudService) Misc

func (s *QingCloudService) Misc() (*MiscService, error)

func (*QingCloudService) Mongo

func (s *QingCloudService) Mongo(zone string) (*MongoService, error)

func (*QingCloudService) Monitor

func (s *QingCloudService) Monitor(zone string) (*MonitorService, error)

func (*QingCloudService) Nic

func (s *QingCloudService) Nic(zone string) (*NicService, error)

func (*QingCloudService) Notification

func (s *QingCloudService) Notification(zone string) (*NotificationService, error)

func (*QingCloudService) Project

func (s *QingCloudService) Project(zone string) (*ProjectService, error)

func (*QingCloudService) RDB

func (s *QingCloudService) RDB(zone string) (*RDBService, error)

func (*QingCloudService) Router

func (s *QingCloudService) Router(zone string) (*RouterService, error)

func (*QingCloudService) SecurityGroup

func (s *QingCloudService) SecurityGroup(zone string) (*SecurityGroupService, error)

func (*QingCloudService) SharedStorage

func (s *QingCloudService) SharedStorage(zone string) (*SharedStorageService, error)

func (*QingCloudService) Snapshot

func (s *QingCloudService) Snapshot(zone string) (*SnapshotService, error)

func (*QingCloudService) Tag

func (s *QingCloudService) Tag(zone string) (*TagService, error)

func (*QingCloudService) UserData

func (s *QingCloudService) UserData(zone string) (*UserDataService, error)

func (*QingCloudService) Volume

func (s *QingCloudService) Volume(zone string) (*VolumeService, error)

func (*QingCloudService) VxNet

func (s *QingCloudService) VxNet(zone string) (*VxNetService, error)

type QingCloudServiceProperties

type QingCloudServiceProperties struct {
}

type QuotaLeft

type QuotaLeft struct {
	Left         *int    `json:"left" name:"left"`
	ResourceType *string `json:"resource_type" name:"resource_type"`
}

func (*QuotaLeft) Validate

func (v *QuotaLeft) Validate() error

type RDB

type RDB struct {
	// AlarmStatus's available values: ok, alarm, insufficient
	AlarmStatus         *string    `json:"alarm_status" name:"alarm_status"`
	AutoBackupTime      *int       `json:"auto_backup_time" name:"auto_backup_time"`
	AutoMinorVerUpgrade *int       `json:"auto_minor_ver_upgrade" name:"auto_minor_ver_upgrade"`
	CreateTime          *string    `json:"create_time" name:"create_time"`
	Description         *string    `json:"description" name:"description"`
	EngineVersion       *string    `json:"engine_version" name:"engine_version"`
	LatestSnapshotTime  *time.Time `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"`
	MasterIP            *string    `json:"master_ip" name:"master_ip"`
	RDBEngine           *string    `json:"rdb_engine" name:"rdb_engine"`
	RDBID               *string    `json:"rdb_id" name:"rdb_id"`
	RDBName             *string    `json:"rdb_name" name:"rdb_name"`
	RDBType             *int       `json:"rdb_type" name:"rdb_type"`
	// Status's available values: pending, active, stopped, deleted, suspended, ceased
	Status      *string `json:"status" name:"status"`
	StatusTime  *string `json:"status_time" name:"status_time"`
	StorageSize *int    `json:"storage_size" name:"storage_size"`
	Tags        []*Tag  `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, stopping, starting, deleting, backup-creating, temp-creating, configuring, switching, invalid-tackling, resizing, suspending, ceasing, instance-ceasing, vxnet-leaving, vxnet-joining
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VxNet            *VxNet  `json:"vxnet" name:"vxnet"`
}

func (*RDB) Validate

func (v *RDB) Validate() error

type RDBFile

type RDBFile struct {
	BinaryLog []*File `json:"binary_log" name:"binary_log"`
	ErrorLog  []*File `json:"error_log" name:"error_log"`
	SlowLog   []*File `json:"slow_log" name:"slow_log"`
}

func (*RDBFile) Validate

func (v *RDBFile) Validate() error

type RDBParameter

type RDBParameter struct {
	Family *string `json:"family" name:"family"`
	// IsReadonly's available values: 0, 1
	IsReadonly *int `json:"is_readonly" name:"is_readonly"`
	// IsStatic's available values: 0, 1
	IsStatic    *int    `json:"is_static" name:"is_static"`
	MaxValue    *int    `json:"max_value" name:"max_value"`
	MinValue    *int    `json:"min_value" name:"min_value"`
	OPTName     *string `json:"opt_name" name:"opt_name"`
	SectionName *string `json:"section_name" name:"section_name"`
	VarName     *string `json:"var_name" name:"var_name"`
	VarType     *string `json:"var_type" name:"var_type"`
	VarValue    *string `json:"var_value" name:"var_value"`
}

func (*RDBParameter) Validate

func (v *RDBParameter) Validate() error

type RDBParameters

type RDBParameters struct {
	BindAddress               *string `json:"bind_address" name:"bind_address"`
	BinlogFormat              *string `json:"binlog_format" name:"binlog_format"`
	CharacterSetServer        *string `json:"character_set_server" name:"character_set_server"`
	DataDir                   *string `json:"datadir" name:"datadir"`
	DefaultStorageEngine      *string `json:"default_storage_engine" name:"default_storage_engine"`
	ExpireLogsDays            *int    `json:"expire_logs_days" name:"expire_logs_days"`
	InnoDB                    *string `json:"innodb" name:"innodb"`
	InnoDBBufferPoolInstances *int    `json:"innodb_buffer_pool_instances" name:"innodb_buffer_pool_instances"`
	InnoDBBufferPoolSize      *string `json:"innodb_buffer_pool_size" name:"innodb_buffer_pool_size"`
	InnoDBFilePerTable        *int    `json:"innodb_file_per_table" name:"innodb_file_per_table"`
	InnoDBFlushLogAtTRXCommit *int    `json:"innodb_flush_log_at_trx_commit" name:"innodb_flush_log_at_trx_commit"`
	InnoDBFlushMethod         *string `json:"innodb_flush_method" name:"innodb_flush_method"`
	InnoDBIOCapacity          *int    `json:"innodb_io_capacity" name:"innodb_io_capacity"`
	InnoDBLogBufferSize       *string `json:"innodb_log_buffer_size" name:"innodb_log_buffer_size"`
	InnoDBLogFileSize         *string `json:"innodb_log_file_size" name:"innodb_log_file_size"`
	InnoDBLogFilesInGroup     *int    `json:"innodb_log_files_in_group" name:"innodb_log_files_in_group"`
	InnoDBMaxDirtyPagesPct    *int    `json:"innodb_max_dirty_pages_pct" name:"innodb_max_dirty_pages_pct"`
	InnoDBReadIOThreads       *int    `json:"innodb_read_io_threads" name:"innodb_read_io_threads"`
	InnoDBWriteIOThreads      *int    `json:"innodb_write_io_threads" name:"innodb_write_io_threads"`
	InteractiveTimeout        *int    `json:"interactive_timeout" name:"interactive_timeout"`
	KeyBufferSize             *string `json:"key_buffer_size" name:"key_buffer_size"`
	LogBinIndex               *string `json:"log-bin-index" name:"log-bin-index"`
	LogBin                    *string `json:"log_bin" name:"log_bin"`
	LogError                  *string `json:"log_error" name:"log_error"`
	LogQueriesNotUsingIndexes *string `json:"log_queries_not_using_indexes" name:"log_queries_not_using_indexes"`
	LogSlaveUpdates           *int    `json:"log_slave_updates" name:"log_slave_updates"`
	LongQueryTime             *int    `json:"long_query_time" name:"long_query_time"`
	LowerCaseTableNames       *int    `json:"lower_case_table_names" name:"lower_case_table_names"`
	MaxAllowedPacket          *string `json:"max_allowed_packet" name:"max_allowed_packet"`
	MaxConnectErrors          *int    `json:"max_connect_errors" name:"max_connect_errors"`
	MaxConnections            *int    `json:"max_connections" name:"max_connections"`
	MaxHeapTableSize          *string `json:"max_heap_table_size" name:"max_heap_table_size"`
	OpenFilesLimit            *int    `json:"open_files_limit" name:"open_files_limit"`
	Port                      *int    `json:"port" name:"port"`
	QueryCacheSize            *int    `json:"query_cache_size" name:"query_cache_size"`
	QueryCacheType            *int    `json:"query_cache_type" name:"query_cache_type"`
	RelayLog                  *string `json:"relay_log" name:"relay_log"`
	RelayLogIndex             *string `json:"relay_log_index" name:"relay_log_index"`
	SkipSlaveStart            *int    `json:"skip-slave-start" name:"skip-slave-start"`
	SkipNameResolve           *int    `json:"skip_name_resolve" name:"skip_name_resolve"`
	SlaveExecMode             *string `json:"slave_exec_mode" name:"slave_exec_mode"`
	SlaveNetTimeout           *int    `json:"slave_net_timeout" name:"slave_net_timeout"`
	SlowQueryLog              *int    `json:"slow_query_log" name:"slow_query_log"`
	SlowQueryLogFile          *string `json:"slow_query_log_file" name:"slow_query_log_file"`
	SQLMode                   *string `json:"sql_mode" name:"sql_mode"`
	SyncBinlog                *int    `json:"sync_binlog" name:"sync_binlog"`
	SyncMasterInfo            *int    `json:"sync_master_info" name:"sync_master_info"`
	SyncRelayLog              *int    `json:"sync_relay_log" name:"sync_relay_log"`
	SyncRelayLogInfo          *int    `json:"sync_relay_log_info" name:"sync_relay_log_info"`
	TableOpenCache            *int    `json:"table_open_cache" name:"table_open_cache"`
	ThreadCacheSize           *int    `json:"thread_cache_size" name:"thread_cache_size"`
	TMPTableSize              *string `json:"tmp_table_size" name:"tmp_table_size"`
	TMPDir                    *string `json:"tmpdir" name:"tmpdir"`
	User                      *string `json:"user" name:"user"`
	WaitTimeout               *int    `json:"wait_timeout" name:"wait_timeout"`
}

func (*RDBParameters) Validate

func (v *RDBParameters) Validate() error

type RDBPrivateIP

type RDBPrivateIP struct {
	Master   *string `json:"master" name:"master"`
	TopSlave *string `json:"topslave" name:"topslave"`
}

func (*RDBPrivateIP) Validate

func (v *RDBPrivateIP) Validate() error

type RDBService

type RDBService struct {
	Config     *config.Config
	Properties *RDBServiceProperties
}

func (*RDBService) CreateRDB

func (s *RDBService) CreateRDB(i *CreateRDBInput) (*CreateRDBOutput, error)

Documentation URL: https://docs.qingcloud.com/api/rdb/create_rdb.html

func (*RDBService) DeleteRDBs

func (s *RDBService) DeleteRDBs(i *DeleteRDBsInput) (*DeleteRDBsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/rdb/delete_rdbs.html

func (*RDBService) ResizeRDBs

func (s *RDBService) ResizeRDBs(i *ResizeRDBsInput) (*ResizeRDBsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/rdb/resize_rdbs.html

func (*RDBService) StartRDBs

func (s *RDBService) StartRDBs(i *StartRDBsInput) (*StartRDBsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/rdb/start_rdbs.html

func (*RDBService) StopRDBs

func (s *RDBService) StopRDBs(i *StopRDBsInput) (*StopRDBsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/rdb/stop_rdbs.html

type RDBServiceProperties

type RDBServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type RDBsJoinVxNetInput

type RDBsJoinVxNetInput struct {
	RDBs  []*string `json:"rdbs" name:"rdbs" location:"params"`   // Required
	VxNet *string   `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*RDBsJoinVxNetInput) Validate

func (v *RDBsJoinVxNetInput) Validate() error

type RDBsJoinVxNetOutput

type RDBsJoinVxNetOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RDBs    []*string `json:"rdbs" name:"rdbs" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
	VxNet   *string   `json:"vxnet" name:"vxnet" location:"elements"`
}

type RDBsLeaveVxNetInput

type RDBsLeaveVxNetInput struct {
	RDBs  []*string `json:"rdbs" name:"rdbs" location:"params"`   // Required
	VxNet *string   `json:"vxnet" name:"vxnet" location:"params"` // Required
}

func (*RDBsLeaveVxNetInput) Validate

func (v *RDBsLeaveVxNetInput) Validate() error

type RDBsLeaveVxNetOutput

type RDBsLeaveVxNetOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type RecoverClustersInput

type RecoverClustersInput struct {
	Resources []*string `json:"resources" name:"resources" location:"params"`
}

func (*RecoverClustersInput) Validate

func (v *RecoverClustersInput) Validate() error

type RecoverClustersOutput

type RecoverClustersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ReleaseEIPsInput

type ReleaseEIPsInput struct {
	EIPs []*string `json:"eips" name:"eips" location:"params"` // Required
}

func (*ReleaseEIPsInput) Validate

func (v *ReleaseEIPsInput) Validate() error

type ReleaseEIPsOutput

type ReleaseEIPsOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type RemoveMongoInstancesInput

type RemoveMongoInstancesInput struct {
	Mongo          *string   `json:"mongo" name:"mongo" location:"params"`                     // Required
	MongoInstances []*string `json:"mongo_instances" name:"mongo_instances" location:"params"` // Required
}

func (*RemoveMongoInstancesInput) Validate

func (v *RemoveMongoInstancesInput) Validate() error

type RemoveMongoInstancesOutput

type RemoveMongoInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	Mongo   *string `json:"mongo" name:"mongo" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResetCacheParametersInput

type ResetCacheParametersInput struct {
	CacheParameterGroup *string   `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required
	CacheParameterNames []*string `json:"cache_parameter_names" name:"cache_parameter_names" location:"params"`
}

func (*ResetCacheParametersInput) Validate

func (v *ResetCacheParametersInput) Validate() error

type ResetCacheParametersOutput

type ResetCacheParametersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResetInstancesInput

type ResetInstancesInput struct {
	Instances    []*string `json:"instances" name:"instances" location:"params"` // Required
	LoginKeyPair *string   `json:"login_keypair" name:"login_keypair" location:"params"`
	// LoginMode's available values: keypair, passwd
	LoginMode   *string `json:"login_mode" name:"login_mode" location:"params"` // Required
	LoginPasswd *string `json:"login_passwd" name:"login_passwd" location:"params"`
	// NeedNewSID's available values: 0, 1
	NeedNewSID *int `json:"need_newsid" name:"need_newsid" default:"0" location:"params"`
}

func (*ResetInstancesInput) Validate

func (v *ResetInstancesInput) Validate() error

type ResetInstancesOutput

type ResetInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeCachesInput

type ResizeCachesInput struct {
	CacheSize *int      `json:"cache_size" name:"cache_size" location:"params"` // Required
	Caches    []*string `json:"caches" name:"caches" location:"params"`         // Required
}

func (*ResizeCachesInput) Validate

func (v *ResizeCachesInput) Validate() error

type ResizeCachesOutput

type ResizeCachesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeClusterInput

type ResizeClusterInput struct {
	Cluster     *string `json:"cluster" name:"cluster" location:"params"` // Required
	CPU         *int    `json:"cpu" name:"cpu" location:"params"`
	Gpu         *int    `json:"gpu" name:"gpu" location:"params"`
	Memory      *int    `json:"memory" name:"memory" location:"params"`
	NodeRole    *string `json:"node_role" name:"node_role" location:"params"`
	StorageSize *int    `json:"storage_size" name:"storage_size" location:"params"`
}

func (*ResizeClusterInput) Validate

func (v *ResizeClusterInput) Validate() error

type ResizeClusterOutput

type ResizeClusterOutput struct {
	Message     *string `json:"message" name:"message"`
	Action      *string `json:"action" name:"action" location:"elements"`
	ClusterID   *string `json:"cluster_id" name:"cluster_id" location:"elements"`
	CPU         *int    `json:"cpu" name:"cpu" location:"elements"`
	Gpu         *int    `json:"gpu" name:"gpu" location:"elements"`
	JobID       *string `json:"job_id" name:"job_id" location:"elements"`
	Memory      *int    `json:"memory" name:"memory" location:"elements"`
	RetCode     *int    `json:"ret_code" name:"ret_code" location:"elements"`
	Role        *string `json:"role" name:"role" location:"elements"`
	StorageSize *int    `json:"storage_size" name:"storage_size" location:"elements"`
}

type ResizeInstancesInput

type ResizeInstancesInput struct {

	// CPU's available values: 1, 2, 4, 8, 16
	CPU          *int      `json:"cpu" name:"cpu" location:"params"`
	CPUModel     *string   `json:"cpu_model" name:"cpu_model" location:"params"`
	Gpu          *int      `json:"gpu" name:"gpu" location:"params"`
	InstanceType *string   `json:"instance_type" name:"instance_type" location:"params"`
	Instances    []*string `json:"instances" name:"instances" location:"params"` // Required
	// Memory's available values: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768
	Memory     *int `json:"memory" name:"memory" location:"params"`
	OSDiskSize *int `json:"os_disk_size" name:"os_disk_size" location:"params"`
}

func (*ResizeInstancesInput) Validate

func (v *ResizeInstancesInput) Validate() error

type ResizeInstancesOutput

type ResizeInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeLoadBalancersInput

type ResizeLoadBalancersInput struct {

	// LoadBalancerType's available values: 0, 1, 2, 3, 4, 5
	LoadBalancerType *int      `json:"loadbalancer_type" name:"loadbalancer_type" location:"params"`
	LoadBalancers    []*string `json:"loadbalancers" name:"loadbalancers" location:"params"`
}

func (*ResizeLoadBalancersInput) Validate

func (v *ResizeLoadBalancersInput) Validate() error

type ResizeLoadBalancersOutput

type ResizeLoadBalancersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeMongosInput

type ResizeMongosInput struct {
	MongoType   *int      `json:"mongo_type" name:"mongo_type" location:"params"`
	Mongos      []*string `json:"mongos" name:"mongos" location:"params"` // Required
	StorageSize *int      `json:"storage_size" name:"storage_size" location:"params"`
}

func (*ResizeMongosInput) Validate

func (v *ResizeMongosInput) Validate() error

type ResizeMongosOutput

type ResizeMongosOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	Mongos  []*string `json:"mongos" name:"mongos" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeRDBsInput

type ResizeRDBsInput struct {

	// RDBType's available values: 1, 2, 4, 8, 16, 32
	RDBType     *int      `json:"rdb_type" name:"rdb_type" location:"params"`
	RDBs        []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
	StorageSize *int      `json:"storage_size" name:"storage_size" location:"params"`
}

func (*ResizeRDBsInput) Validate

func (v *ResizeRDBsInput) Validate() error

type ResizeRDBsOutput

type ResizeRDBsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RDBs    []*string `json:"rdbs" name:"rdbs" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeS2ServersInput

type ResizeS2ServersInput struct {
	S2Server     *string `json:"s2_server" name:"s2_server" location:"params"`           // Required
	S2ServerType *int    `json:"s2_server_type" name:"s2_server_type" location:"params"` // Required
}

func (*ResizeS2ServersInput) Validate

func (v *ResizeS2ServersInput) Validate() error

type ResizeS2ServersOutput

type ResizeS2ServersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ResizeVolumesInput

type ResizeVolumesInput struct {
	Size    *int      `json:"size" name:"size" location:"params"`       // Required
	Volumes []*string `json:"volumes" name:"volumes" location:"params"` // Required
}

func (*ResizeVolumesInput) Validate

func (v *ResizeVolumesInput) Validate() error

type ResizeVolumesOutput

type ResizeVolumesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type Resource

type Resource struct {
	ResourceID   *string `json:"resource_id" name:"resource_id"`
	ResourceName *string `json:"resource_name" name:"resource_name"`
	ResourceType *string `json:"resource_type" name:"resource_type"`
}

func (*Resource) Validate

func (v *Resource) Validate() error

type ResourceLimits

type ResourceLimits struct {
	Comments                          *string     `json:"__comments" name:"__comments"`
	BanMmVxNets                       *int        `json:"ban_mm_vxnets" name:"ban_mm_vxnets"`
	BmZones                           []*string   `json:"bm_zones" name:"bm_zones"`
	BucketCreateWhitelist             *string     `json:"bucket_create_whitelist" name:"bucket_create_whitelist"`
	DisabledActions                   []*string   `json:"disabled_actions" name:"disabled_actions"`
	DisabledFeatures                  []*string   `json:"disabled_features" name:"disabled_features"`
	EnableNICBandwidth                *int        `json:"enable_nic_bandwidth" name:"enable_nic_bandwidth"`
	GpuZones                          []*string   `json:"gpu_zones" name:"gpu_zones"`
	HadoopTypes                       interface{} `json:"hadoop_types" name:"hadoop_types"`
	HbaseTypes                        interface{} `json:"hbase_types" name:"hbase_types"`
	HcVolumeStep                      *int        `json:"hc_volume_step" name:"hc_volume_step"`
	HcsVolumeStep                     *int        `json:"hcs_volume_step" name:"hcs_volume_step"`
	HdfsDisksPerNode                  *int        `json:"hdfs_disks_per_node" name:"hdfs_disks_per_node"`
	HpsVolumeStep                     *int        `json:"hps_volume_step" name:"hps_volume_step"`
	IgnoreMmVxNetUsers                *string     `json:"ignore_mm_vxnet_users" name:"ignore_mm_vxnet_users"`
	MaxAbuseEIPCnt                    *int        `json:"max_abuse_eip_cnt" name:"max_abuse_eip_cnt"`
	MaxAlarmPolicyActions             *int        `json:"max_alarm_policy_actions" name:"max_alarm_policy_actions"`
	MaxAlarmPolicyResources           *int        `json:"max_alarm_policy_resources" name:"max_alarm_policy_resources"`
	MaxAlarmPolicyRules               *int        `json:"max_alarm_policy_rules" name:"max_alarm_policy_rules"`
	MaxChangeEIPBillingModeCnt        *int        `json:"max_change_eip_billing_mode_cnt" name:"max_change_eip_billing_mode_cnt"`
	MaxEIPBandwidth                   *int        `json:"max_eip_bandwidth" name:"max_eip_bandwidth"`
	MaxEIPCount                       *int        `json:"max_eip_count" name:"max_eip_count"`
	MaxGpuCount                       *int        `json:"max_gpu_count" name:"max_gpu_count"`
	MaxHcVolumeSize                   *int        `json:"max_hc_volume_size" name:"max_hc_volume_size"`
	MaxHcsVolumeSize                  *int        `json:"max_hcs_volume_size" name:"max_hcs_volume_size"`
	MaxHpsVolumeSize                  *int        `json:"max_hps_volume_size" name:"max_hps_volume_size"`
	MaxImageSharedUsers               *int        `json:"max_image_shared_users" name:"max_image_shared_users"`
	MaxInstanceCount                  *int        `json:"max_instance_count" name:"max_instance_count"`
	MaxItemInResourceGroup            *int        `json:"max_item_in_resource_group" name:"max_item_in_resource_group"`
	MaxListenerBackends               *int        `json:"max_listener_backends" name:"max_listener_backends"`
	MaxLoadBalancerListeners          *int        `json:"max_loadbalancer_listeners" name:"max_loadbalancer_listeners"`
	MaxLoadBalancerPolicyRewriteRules *int        `json:"max_loadbalancer_policy_rewrite_rules" name:"max_loadbalancer_policy_rewrite_rules"`
	MaxLoadBalancerPolicyRules        *int        `json:"max_loadbalancer_policy_rules" name:"max_loadbalancer_policy_rules"`
	MaxMemberInUserGroup              *int        `json:"max_member_in_user_group" name:"max_member_in_user_group"`
	MaxNICPerInstance                 *int        `json:"max_nic_per_instance" name:"max_nic_per_instance"`
	MaxResourceSharedUsers            *int        `json:"max_resource_shared_users" name:"max_resource_shared_users"`
	MaxRgCntItemCanJoin               *int        `json:"max_rg_cnt_item_can_join" name:"max_rg_cnt_item_can_join"`
	MaxRouterCount                    *int        `json:"max_router_count" name:"max_router_count"`
	MaxRouterEntries                  *int        `json:"max_router_entries" name:"max_router_entries"`
	MaxRouterStatics                  *int        `json:"max_router_statics" name:"max_router_statics"`
	MaxRouterVxNets                   *int        `json:"max_router_vxnets" name:"max_router_vxnets"`
	MaxRuleInGroupRole                *int        `json:"max_rule_in_group_role" name:"max_rule_in_group_role"`
	MaxSecurityGroupRules             *int        `json:"max_security_group_rules" name:"max_security_group_rules"`
	MaxSecurityGroupRulesets          *int        `json:"max_security_group_rulesets" name:"max_security_group_rulesets"`
	MaxSecurityGroupSnapshots         *int        `json:"max_security_group_snapshots" name:"max_security_group_snapshots"`
	MaxUsersInOneDepartment           *int        `json:"max_users_in_one_department" name:"max_users_in_one_department"`
	MaxVolumeCount                    *int        `json:"max_volume_count" name:"max_volume_count"`
	MaxVolumePerInst                  *int        `json:"max_volume_per_inst" name:"max_volume_per_inst"`
	MaxVolumeSize                     *int        `json:"max_volume_size" name:"max_volume_size"`
	MaxVosReplicaCount                *int        `json:"max_vos_replica_count" name:"max_vos_replica_count"`
	MaxVxNetCount                     *int        `json:"max_vxnet_count" name:"max_vxnet_count"`
	MinAbuseEIPSec                    *int        `json:"min_abuse_eip_sec" name:"min_abuse_eip_sec"`
	MinHcVolumeSize                   *int        `json:"min_hc_volume_size" name:"min_hc_volume_size"`
	MinHcsVolumeSize                  *int        `json:"min_hcs_volume_size" name:"min_hcs_volume_size"`
	MinHostsPerDedicatedGroup         *int        `json:"min_hosts_per_dedicated_group" name:"min_hosts_per_dedicated_group"`
	MinHpsVolumeSize                  *int        `json:"min_hps_volume_size" name:"min_hps_volume_size"`
	MinReservedHostsInPool            *int        `json:"min_reserved_hosts_in_pool" name:"min_reserved_hosts_in_pool"`
	MinVolumeSize                     *int        `json:"min_volume_size" name:"min_volume_size"`
	PrivilegeOfLxc                    *int        `json:"privilege_of_lxc" name:"privilege_of_lxc"`
	SparkTypes                        interface{} `json:"spark_types" name:"spark_types"`
	StormTypes                        interface{} `json:"storm_types" name:"storm_types"`
	ValidCacheSize                    []*int      `json:"valid_cache_size" name:"valid_cache_size"`
	ValidCPUCores                     []*int      `json:"valid_cpu_cores" name:"valid_cpu_cores"`
	ValidCPUMemoryPairs               interface{} `json:"valid_cpu_memory_pairs" name:"valid_cpu_memory_pairs"`
	ValidDedicatedHostGroupClasses    []*int      `json:"valid_dedicated_host_group_classes" name:"valid_dedicated_host_group_classes"`
	ValidInstanceClasses              []*int      `json:"valid_instance_classes" name:"valid_instance_classes"`
	ValidLoadBalancerTypes            []*int      `json:"valid_loadbalancer_types" name:"valid_loadbalancer_types"`
	ValidMemorySize                   []*int      `json:"valid_memory_size" name:"valid_memory_size"`
	ValidResourceClasses              []*int      `json:"valid_resource_classes" name:"valid_resource_classes"`
	ValidVolumeTypes                  []*int      `json:"valid_volume_types" name:"valid_volume_types"`
	VolumeStep                        *int        `json:"volume_step" name:"volume_step"`
	VpcIpv6Prefixlen                  *int        `json:"vpc_ipv6_prefixlen" name:"vpc_ipv6_prefixlen"`
	VxNetIpv6Prefixlen                *int        `json:"vxnet_ipv6_prefixlen" name:"vxnet_ipv6_prefixlen"`
	VxNetKsWhiteList                  *string     `json:"vxnet_ks_white_list" name:"vxnet_ks_white_list"`
}

func (*ResourceLimits) Validate

func (v *ResourceLimits) Validate() error

type ResourceTagPair

type ResourceTagPair struct {
	ResourceID   *string `json:"resource_id" name:"resource_id"`
	ResourceType *string `json:"resource_type" name:"resource_type"`
	Status       *string `json:"status" name:"status"`
	TagID        *string `json:"tag_id" name:"tag_id"`
}

func (*ResourceTagPair) Validate

func (v *ResourceTagPair) Validate() error

type ResourceTypeCount

type ResourceTypeCount struct {
	Count        *int    `json:"count" name:"count"`
	ResourceType *string `json:"resource_type" name:"resource_type"`
}

func (*ResourceTypeCount) Validate

func (v *ResourceTypeCount) Validate() error

type RestartCacheNodesInput

type RestartCacheNodesInput struct {
	Cache      *string   `json:"cache" name:"cache" location:"params"`             // Required
	CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"params"` // Required
}

func (*RestartCacheNodesInput) Validate

func (v *RestartCacheNodesInput) Validate() error

type RestartCacheNodesOutput

type RestartCacheNodesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type RestartCachesInput

type RestartCachesInput struct {
	Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}

func (*RestartCachesInput) Validate

func (v *RestartCachesInput) Validate() error

type RestartCachesOutput

type RestartCachesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type RestartClusterServiceInput

type RestartClusterServiceInput struct {
	Cluster *string `json:"cluster" name:"cluster" location:"params"`
	Role    *string `json:"role" name:"role" location:"params"`
}

func (*RestartClusterServiceInput) Validate

func (v *RestartClusterServiceInput) Validate() error

type RestartClusterServiceOutput

type RestartClusterServiceOutput struct {
	Message   *string `json:"message" name:"message"`
	Action    *string `json:"action" name:"action" location:"elements"`
	ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"`
	JobID     *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode   *int    `json:"ret_code" name:"ret_code" location:"elements"`
	Role      *string `json:"role" name:"role" location:"elements"`
}

type RestartInstancesInput

type RestartInstancesInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}

func (*RestartInstancesInput) Validate

func (v *RestartInstancesInput) Validate() error

type RestartInstancesOutput

type RestartInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type RestoreClusterFromSnapshotInput

type RestoreClusterFromSnapshotInput struct {
	Cluster       *string `json:"cluster" name:"cluster" location:"params"` // Required
	ServiceParams *string `json:"service_params" name:"service_params" location:"params"`
	Snapshot      *string `json:"snapshot" name:"snapshot" location:"params"` // Required
}

func (*RestoreClusterFromSnapshotInput) Validate

func (v *RestoreClusterFromSnapshotInput) Validate() error

type RestoreClusterFromSnapshotOutput

type RestoreClusterFromSnapshotOutput struct {
	Message       *string `json:"message" name:"message"`
	Action        *string `json:"action" name:"action" location:"elements"`
	ClusterID     *string `json:"cluster_id" name:"cluster_id" location:"elements"`
	JobID         *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode       *int    `json:"ret_code" name:"ret_code" location:"elements"`
	ServiceParams *string `json:"service_params" name:"service_params" location:"elements"`
	SnapshotID    *string `json:"snapshot_id" name:"snapshot_id" location:"elements"`
}

type RevokeImageFromUsersInput

type RevokeImageFromUsersInput struct {
	Image *string   `json:"image" name:"image" location:"params"` // Required
	Users []*string `json:"users" name:"users" location:"params"` // Required
}

func (*RevokeImageFromUsersInput) Validate

func (v *RevokeImageFromUsersInput) Validate() error

type RevokeImageFromUsersOutput

type RevokeImageFromUsersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type RollbackSecurityGroupInput

type RollbackSecurityGroupInput struct {
	SecurityGroup         *string `json:"security_group" name:"security_group" location:"params"`                   // Required
	SecurityGroupSnapshot *string `json:"security_group_snapshot" name:"security_group_snapshot" location:"params"` // Required
}

func (*RollbackSecurityGroupInput) Validate

func (v *RollbackSecurityGroupInput) Validate() error

type RollbackSecurityGroupOutput

type RollbackSecurityGroupOutput struct {
	Message                 *string `json:"message" name:"message"`
	Action                  *string `json:"action" name:"action" location:"elements"`
	RetCode                 *int    `json:"ret_code" name:"ret_code" location:"elements"`
	SecurityGroupID         *string `json:"security_group_id" name:"security_group_id" location:"elements"`
	SecurityGroupSnapshotID *string `json:"security_group_snapshot_id" name:"security_group_snapshot_id" location:"elements"`
}

type Router

type Router struct {
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	DYNIPEnd    *string    `json:"dyn_ip_end" name:"dyn_ip_end"`
	DYNIPStart  *string    `json:"dyn_ip_start" name:"dyn_ip_start"`
	EIP         *EIP       `json:"eip" name:"eip"`
	IPNetwork   *string    `json:"ip_network" name:"ip_network"`
	// IsApplied's available values: 0, 1
	IsApplied  *int    `json:"is_applied" name:"is_applied"`
	ManagerIP  *string `json:"manager_ip" name:"manager_ip"`
	Mode       *int    `json:"mode" name:"mode"`
	PrivateIP  *string `json:"private_ip" name:"private_ip"`
	RouterID   *string `json:"router_id" name:"router_id"`
	RouterName *string `json:"router_name" name:"router_name"`
	// RouterType's available values: 1
	RouterType      *int    `json:"router_type" name:"router_type"`
	SecurityGroupID *string `json:"security_group_id" name:"security_group_id"`
	// Status's available values: pending, active, poweroffed, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, updating, suspending, resuming, poweroffing, poweroning, deleting
	TransitionStatus *string  `json:"transition_status" name:"transition_status"`
	VpcNetwork       *string  `json:"vpc_network" name:"vpc_network"`
	VxNets           []*VxNet `json:"vxnets" name:"vxnets"`
}

func (*Router) Validate

func (v *Router) Validate() error

type RouterService

type RouterService struct {
	Config     *config.Config
	Properties *RouterServiceProperties
}

func (*RouterService) JoinRouter

func (s *RouterService) JoinRouter(i *JoinRouterInput) (*JoinRouterOutput, error)

Documentation URL: https://docs.qingcloud.com/api/router/join_router.html

type RouterServiceProperties

type RouterServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type RouterStatic

type RouterStatic struct {
	CreateTime       *time.Time                 `json:"create_time" name:"create_time" format:"ISO 8601"`
	EntrySet         []*RouterStaticEntrySimple `json:"entry_set" name:"entry_set"`
	RouterID         *string                    `json:"router_id" name:"router_id"`
	RouterStaticID   *string                    `json:"router_static_id" name:"router_static_id"`
	RouterStaticName *string                    `json:"router_static_name" name:"router_static_name"`
	// StaticType's available values: 1, 2, 3, 4, 5, 6, 7, 8
	StaticType *int    `json:"static_type" name:"static_type"`
	Val1       *string `json:"val1" name:"val1"`
	Val2       *string `json:"val2" name:"val2"`
	Val3       *string `json:"val3" name:"val3"`
	Val4       *string `json:"val4" name:"val4"`
	Val5       *string `json:"val5" name:"val5"`
	Val6       *string `json:"val6" name:"val6"`
	Val7       *string `json:"val7" name:"val7"`
	Val8       *string `json:"val8" name:"val8"`
	Val9       *string `json:"val9" name:"val9"`
	VxNetID    *string `json:"vxnet_id" name:"vxnet_id"`
}

func (*RouterStatic) Validate

func (v *RouterStatic) Validate() error

type RouterStaticEntry

type RouterStaticEntry struct {
	RouterID              *string `json:"router_id" name:"router_id"`
	RouterStaticEntryID   *string `json:"router_static_entry_id" name:"router_static_entry_id"`
	RouterStaticEntryName *string `json:"router_static_entry_name" name:"router_static_entry_name"`
	RouterStaticID        *string `json:"router_static_id" name:"router_static_id"`
	Val1                  *string `json:"val1" name:"val1"`
	Val2                  *string `json:"val2" name:"val2"`
}

func (*RouterStaticEntry) Validate

func (v *RouterStaticEntry) Validate() error

type RouterStaticEntrySimple

type RouterStaticEntrySimple struct {
	RouterStaticEntryID *string `json:"router_static_entry_id" name:"router_static_entry_id"`
	Val1                *string `json:"val1" name:"val1"`
	Val2                *string `json:"val2" name:"val2"`
}

func (*RouterStaticEntrySimple) Validate

func (v *RouterStaticEntrySimple) Validate() error

type RouterVxNet

type RouterVxNet struct {
	CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	DYNIPEnd   *string    `json:"dyn_ip_end" name:"dyn_ip_end"`
	DYNIPStart *string    `json:"dyn_ip_start" name:"dyn_ip_start"`
	Features   *int       `json:"features" name:"features"`
	IPNetwork  *string    `json:"ip_network" name:"ip_network"`
	ManagerIP  *string    `json:"manager_ip" name:"manager_ip"`
	RouterID   *string    `json:"router_id" name:"router_id"`
	VxNetID    *string    `json:"vxnet_id" name:"vxnet_id"`
}

func (*RouterVxNet) Validate

func (v *RouterVxNet) Validate() error

type RunClusterCustomServiceInput

type RunClusterCustomServiceInput struct {
	Cluster       *string `json:"cluster" name:"cluster" location:"params"` // Required
	Role          *string `json:"role" name:"role" location:"params"`
	Service       *string `json:"service" name:"service" location:"params"` // Required
	ServiceParams *string `json:"service_params" name:"service_params" location:"params"`
}

func (*RunClusterCustomServiceInput) Validate

func (v *RunClusterCustomServiceInput) Validate() error

type RunClusterCustomServiceOutput

type RunClusterCustomServiceOutput struct {
	Message   *string `json:"message" name:"message"`
	Action    *string `json:"action" name:"action" location:"elements"`
	ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"`
	JobID     *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode   *int    `json:"ret_code" name:"ret_code" location:"elements"`
	Role      *string `json:"role" name:"role" location:"elements"`
	Service   *string `json:"service" name:"service" location:"elements"`
}

type RunInstancesInput

type RunInstancesInput struct {
	BillingID *string `json:"billing_id" name:"billing_id" location:"params"`
	Count     *int    `json:"count" name:"count" default:"1" location:"params"`
	// CPU's available values: 1, 2, 4, 8, 16
	CPU *int `json:"cpu" name:"cpu" default:"1" location:"params"`
	// CPUMax's available values: 1, 2, 4, 8, 16
	CPUMax *int `json:"cpu_max" name:"cpu_max" location:"params"`
	// CPUModel's available values: Westmere, SandyBridge, IvyBridge, Haswell, Broadwell
	CPUModel *string `json:"cpu_model" name:"cpu_model" default:"Westmere" location:"params"`
	Gpu      *int    `json:"gpu" name:"gpu" default:"0" location:"params"`
	Hostname *string `json:"hostname" name:"hostname" location:"params"`
	ImageID  *string `json:"image_id" name:"image_id" location:"params"` // Required
	// InstanceClass's available values: 0, 1, 2, 3, 4, 5, 6, 100, 101, 200, 201, 300, 301
	InstanceClass *int    `json:"instance_class" name:"instance_class" location:"params"`
	InstanceName  *string `json:"instance_name" name:"instance_name" location:"params"`
	InstanceType  *string `json:"instance_type" name:"instance_type" location:"params"`
	LoginKeyPair  *string `json:"login_keypair" name:"login_keypair" location:"params"`
	// LoginMode's available values: keypair, passwd
	LoginMode   *string `json:"login_mode" name:"login_mode" location:"params"` // Required
	LoginPasswd *string `json:"login_passwd" name:"login_passwd" location:"params"`
	// MemMax's available values: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768
	MemMax *int `json:"mem_max" name:"mem_max" location:"params"`
	// Memory's available values: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768
	Memory *int `json:"memory" name:"memory" default:"1024" location:"params"`
	// NeedNewSID's available values: 0, 1
	NeedNewSID *int `json:"need_newsid" name:"need_newsid" default:"0" location:"params"`
	// NeedUserdata's available values: 0, 1
	NeedUserdata  *int    `json:"need_userdata" name:"need_userdata" default:"0" location:"params"`
	OSDiskSize    *int    `json:"os_disk_size" name:"os_disk_size" location:"params"`
	SecurityGroup *string `json:"security_group" name:"security_group" location:"params"`
	UIType        *string `json:"ui_type" name:"ui_type" location:"params"`
	UserdataFile  *string `json:"userdata_file" name:"userdata_file" default:"/etc/rc.local" location:"params"`
	UserdataPath  *string `json:"userdata_path" name:"userdata_path" default:"/etc/qingcloud/userdata" location:"params"`
	// UserdataType's available values: plain, exec, tar
	UserdataType  *string   `json:"userdata_type" name:"userdata_type" location:"params"`
	UserdataValue *string   `json:"userdata_value" name:"userdata_value" location:"params"`
	Volumes       []*string `json:"volumes" name:"volumes" location:"params"`
	VxNets        []*string `json:"vxnets" name:"vxnets" location:"params"`
}

func (*RunInstancesInput) Validate

func (v *RunInstancesInput) Validate() error

type RunInstancesOutput

type RunInstancesOutput struct {
	Message   *string   `json:"message" name:"message"`
	Action    *string   `json:"action" name:"action" location:"elements"`
	Instances []*string `json:"instances" name:"instances" location:"elements"`
	JobID     *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode   *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type S2DefaultParameters

type S2DefaultParameters struct {
	DefaultValue *string `json:"default_value" name:"default_value"`
	Description  *string `json:"description" name:"description"`
	ParamName    *string `json:"param_name" name:"param_name"`
	ServiceType  *string `json:"service_type" name:"service_type"`
	TargetType   *string `json:"target_type" name:"target_type"`
}

func (*S2DefaultParameters) Validate

func (v *S2DefaultParameters) Validate() error

type S2Server

type S2Server struct {
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	// IsApplied's available values: 0, 1
	IsApplied  *int    `json:"is_applied" name:"is_applied"`
	Name       *string `json:"name" name:"name"`
	PrivateIP  *string `json:"private_ip" name:"private_ip"`
	S2ServerID *string `json:"s2_server_id" name:"s2_server_id"`
	// S2ServerType's available values: 0, 1, 2, 3
	S2ServerType *int `json:"s2_server_type" name:"s2_server_type"`
	// ServiceType's available values: vsan
	ServiceType *string `json:"service_type" name:"service_type"`
	// Status's available values: pending, active, poweroffed, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, updating, suspending, resuming, poweroffing
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VxNet            *VxNet  `json:"vxnet" name:"vxnet"`
}

func (*S2Server) Validate

func (v *S2Server) Validate() error

type S2SharedTarget

type S2SharedTarget struct {
	CreateTime       *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description      *string    `json:"description" name:"description"`
	ExportName       *string    `json:"export_name" name:"export_name"`
	S2ServerID       *string    `json:"s2_server_id" name:"s2_server_id"`
	S2SharedTargetID *string    `json:"s2_shared_target_id" name:"s2_shared_target_id"`
	StatusTime       *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	// TargetType's available values: ISCSI, NFS
	TargetType *string `json:"target_type" name:"target_type"`
}

func (*S2SharedTarget) Validate

func (v *S2SharedTarget) Validate() error

type SecurityGroup

type SecurityGroup struct {
	CreateTime        *time.Time  `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description       *string     `json:"description" name:"description"`
	IsApplied         *int        `json:"is_applied" name:"is_applied"`
	IsDefault         *int        `json:"is_default" name:"is_default"`
	Resources         []*Resource `json:"resources" name:"resources"`
	SecurityGroupID   *string     `json:"security_group_id" name:"security_group_id"`
	SecurityGroupName *string     `json:"security_group_name" name:"security_group_name"`
	Tags              []*Tag      `json:"tags" name:"tags"`
}

func (*SecurityGroup) Validate

func (v *SecurityGroup) Validate() error

type SecurityGroupIPSet

type SecurityGroupIPSet struct {
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	// IPSetType's available values: 0, 1
	IPSetType              *int    `json:"ipset_type" name:"ipset_type"`
	SecurityGroupIPSetID   *string `json:"security_group_ipset_id" name:"security_group_ipset_id"`
	SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name"`
	Val                    *string `json:"val" name:"val"`
}

func (*SecurityGroupIPSet) Validate

func (v *SecurityGroupIPSet) Validate() error

type SecurityGroupRule

type SecurityGroupRule struct {
	// Action's available values: accept, drop
	Action *string `json:"action" name:"action"`
	// Direction's available values: 0, 1
	Direction             *int    `json:"direction" name:"direction"`
	Priority              *int    `json:"priority" name:"priority"`
	Protocol              *string `json:"protocol" name:"protocol"`
	SecurityGroupID       *string `json:"security_group_id" name:"security_group_id"`
	SecurityGroupRuleID   *string `json:"security_group_rule_id" name:"security_group_rule_id"`
	SecurityGroupRuleName *string `json:"security_group_rule_name" name:"security_group_rule_name"`
	Val1                  *string `json:"val1" name:"val1"`
	Val2                  *string `json:"val2" name:"val2"`
	Val3                  *string `json:"val3" name:"val3"`
}

func (*SecurityGroupRule) Validate

func (v *SecurityGroupRule) Validate() error

type SecurityGroupService

type SecurityGroupService struct {
	Config     *config.Config
	Properties *SecurityGroupServiceProperties
}

type SecurityGroupServiceProperties

type SecurityGroupServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type SecurityGroupSnapshot

type SecurityGroupSnapshot struct {
	GroupID                 *string              `json:"group_id" name:"group_id"`
	Rules                   []*SecurityGroupRule `json:"rules" name:"rules"`
	SecurityGroupSnapshotID *string              `json:"security_group_snapshot_id" name:"security_group_snapshot_id"`
}

func (*SecurityGroupSnapshot) Validate

func (v *SecurityGroupSnapshot) Validate() error

type SendAlarmNotificationInput

type SendAlarmNotificationInput struct {
	NotificationData   []*NotificationData `json:"notification_data" name:"notification_data" location:"params"`       // Required
	NotificationListID *string             `json:"notification_list_id" name:"notification_list_id" location:"params"` // Required
	ResourceID         *string             `json:"resource_id" name:"resource_id" location:"params"`
	ResourceName       *string             `json:"resource_name" name:"resource_name" location:"params"`
	ResourceType       *string             `json:"resource_type" name:"resource_type" location:"params"`
	UserID             *string             `json:"user_id" name:"user_id" location:"params"` // Required
}

func (*SendAlarmNotificationInput) Validate

func (v *SendAlarmNotificationInput) Validate() error

type SendAlarmNotificationOutput

type SendAlarmNotificationOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type ServerCertificate

type ServerCertificate struct {
	CertificateContent    *string    `json:"certificate_content" name:"certificate_content"`
	CreateTime            *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description           *string    `json:"description" name:"description"`
	PrivateKey            *string    `json:"private_key" name:"private_key"`
	ServerCertificateID   *string    `json:"server_certificate_id" name:"server_certificate_id"`
	ServerCertificateName *string    `json:"server_certificate_name" name:"server_certificate_name"`
}

func (*ServerCertificate) Validate

func (v *ServerCertificate) Validate() error

type SharedStorageService

type SharedStorageService struct {
	Config     *config.Config
	Properties *SharedStorageServiceProperties
}

type SharedStorageServiceProperties

type SharedStorageServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type Snapshot

type Snapshot struct {
	CreateTime  *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description *string    `json:"description" name:"description"`
	HeadChain   *int       `json:"head_chain" name:"head_chain"`
	// IsHead's available values: 0, 1
	IsHead *int `json:"is_head" name:"is_head"`
	// IsTaken's available values: 0, 1
	IsTaken            *int              `json:"is_taken" name:"is_taken"`
	LatestSnapshotTime *time.Time        `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"`
	ParentID           *string           `json:"parent_id" name:"parent_id"`
	Provider           *string           `json:"provider" name:"provider"`
	Resource           *Resource         `json:"resource" name:"resource"`
	RootID             *string           `json:"root_id" name:"root_id"`
	Size               *int              `json:"size" name:"size"`
	SnapshotID         *string           `json:"snapshot_id" name:"snapshot_id"`
	SnapshotName       *string           `json:"snapshot_name" name:"snapshot_name"`
	SnapshotResource   *SnapshotResource `json:"snapshot_resource" name:"snapshot_resource"`
	SnapshotTime       *time.Time        `json:"snapshot_time" name:"snapshot_time" format:"ISO 8601"`
	// SnapshotType's available values: 0, 1
	SnapshotType *int `json:"snapshot_type" name:"snapshot_type"`
	// Status's available values: pending, available, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode    *int       `json:"sub_code" name:"sub_code"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	TotalCount *int       `json:"total_count" name:"total_count"`
	TotalSize  *int       `json:"total_size" name:"total_size"`
	// TransitionStatus's available values: creating, suspending, resuming, deleting, recovering
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VirtualSize      *int    `json:"virtual_size" name:"virtual_size"`
	Visibility       *string `json:"visibility" name:"visibility"`
}

func (*Snapshot) Validate

func (v *Snapshot) Validate() error

type SnapshotResource

type SnapshotResource struct {
	Architecture *string `json:"architecture" name:"architecture"`
	Filesystem   *string `json:"filesystem" name:"filesystem"`
	MountOptions *string `json:"mount_options" name:"mount_options"`
	MountPoint   *string `json:"mount_point" name:"mount_point"`
	Size         *int    `json:"size" name:"size"`
	VolumeID     *string `json:"volume_id" name:"volume_id"`
	VolumeType   *int    `json:"volume_type" name:"volume_type"`
}

func (*SnapshotResource) Validate

func (v *SnapshotResource) Validate() error

type SnapshotService

type SnapshotService struct {
	Config     *config.Config
	Properties *SnapshotServiceProperties
}

type SnapshotServiceProperties

type SnapshotServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type StartCachesInput

type StartCachesInput struct {
	Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}

func (*StartCachesInput) Validate

func (v *StartCachesInput) Validate() error

type StartCachesOutput

type StartCachesOutput struct {
	Message  *string   `json:"message" name:"message"`
	Action   *string   `json:"action" name:"action" location:"elements"`
	CacheIDs []*string `json:"cache_ids" name:"cache_ids" location:"elements"`
	JobID    *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type StartClustersInput

type StartClustersInput struct {
	Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required
}

func (*StartClustersInput) Validate

func (v *StartClustersInput) Validate() error

type StartClustersOutput

type StartClustersOutput struct {
	Message *string            `json:"message" name:"message"`
	Action  *string            `json:"action" name:"action" location:"elements"`
	JobIDs  map[string]*string `json:"job_ids" name:"job_ids" location:"elements"`
	RetCode *int               `json:"ret_code" name:"ret_code" location:"elements"`
}

type StartInstancesInput

type StartInstancesInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}

func (*StartInstancesInput) Validate

func (v *StartInstancesInput) Validate() error

type StartInstancesOutput

type StartInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type StartLoadBalancersInput

type StartLoadBalancersInput struct {
	LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}

func (*StartLoadBalancersInput) Validate

func (v *StartLoadBalancersInput) Validate() error

type StartLoadBalancersOutput

type StartLoadBalancersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type StartMongosInput

type StartMongosInput struct {
	Mongos *string `json:"mongos" name:"mongos" location:"params"` // Required
}

func (*StartMongosInput) Validate

func (v *StartMongosInput) Validate() error

type StartMongosOutput

type StartMongosOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type StartRDBsInput

type StartRDBsInput struct {
	RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
}

func (*StartRDBsInput) Validate

func (v *StartRDBsInput) Validate() error

type StartRDBsOutput

type StartRDBsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RDBs    []*string `json:"rdbs" name:"rdbs" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type StopCachesInput

type StopCachesInput struct {
	Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}

func (*StopCachesInput) Validate

func (v *StopCachesInput) Validate() error

type StopCachesOutput

type StopCachesOutput struct {
	Message  *string   `json:"message" name:"message"`
	Action   *string   `json:"action" name:"action" location:"elements"`
	CacheIDs []*string `json:"cache_ids" name:"cache_ids" location:"elements"`
	JobID    *string   `json:"job_id" name:"job_id" location:"elements"`
	RetCode  *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type StopClustersInput

type StopClustersInput struct {
	Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required
	Force    *int      `json:"force" name:"force" location:"params"`
}

func (*StopClustersInput) Validate

func (v *StopClustersInput) Validate() error

type StopClustersOutput

type StopClustersOutput struct {
	Message *string            `json:"message" name:"message"`
	Action  *string            `json:"action" name:"action" location:"elements"`
	JobIDs  map[string]*string `json:"job_ids" name:"job_ids" location:"elements"`
	RetCode *int               `json:"ret_code" name:"ret_code" location:"elements"`
}

type StopInstancesInput

type StopInstancesInput struct {

	// Force's available values: 0, 1
	Force     *int      `json:"force" name:"force" default:"0" location:"params"`
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}

func (*StopInstancesInput) Validate

func (v *StopInstancesInput) Validate() error

type StopInstancesOutput

type StopInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type StopLoadBalancersInput

type StopLoadBalancersInput struct {
	LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}

func (*StopLoadBalancersInput) Validate

func (v *StopLoadBalancersInput) Validate() error

type StopLoadBalancersOutput

type StopLoadBalancersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type StopMongosInput

type StopMongosInput struct {
	Mongos []*string `json:"mongos" name:"mongos" location:"params"` // Required
}

func (*StopMongosInput) Validate

func (v *StopMongosInput) Validate() error

type StopMongosOutput

type StopMongosOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type StopRDBsInput

type StopRDBsInput struct {
	RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
}

func (*StopRDBsInput) Validate

func (v *StopRDBsInput) Validate() error

type StopRDBsOutput

type StopRDBsOutput struct {
	Message *string   `json:"message" name:"message"`
	Action  *string   `json:"action" name:"action" location:"elements"`
	JobID   *string   `json:"job_id" name:"job_id" location:"elements"`
	RDBs    []*string `json:"rdbs" name:"rdbs" location:"elements"`
	RetCode *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type Tag

type Tag struct {
	Color             *string              `json:"color" name:"color"`
	CreateTime        *time.Time           `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description       *string              `json:"description" name:"description"`
	Owner             *string              `json:"owner" name:"owner"`
	ResourceCount     *int                 `json:"resource_count" name:"resource_count"`
	ResourceTagPairs  []*ResourceTagPair   `json:"resource_tag_pairs" name:"resource_tag_pairs"`
	ResourceTypeCount []*ResourceTypeCount `json:"resource_type_count" name:"resource_type_count"`
	TagID             *string              `json:"tag_id" name:"tag_id"`
	TagKey            *string              `json:"tag_key" name:"tag_key"`
	TagName           *string              `json:"tag_name" name:"tag_name"`
}

func (*Tag) Validate

func (v *Tag) Validate() error

type TagService

type TagService struct {
	Config     *config.Config
	Properties *TagServiceProperties
}

func (*TagService) AttachTags

func (s *TagService) AttachTags(i *AttachTagsInput) (*AttachTagsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/tag/attach_tags.html

func (*TagService) CreateTag

func (s *TagService) CreateTag(i *CreateTagInput) (*CreateTagOutput, error)

Documentation URL: https://docs.qingcloud.com/api/tag/create_tag.html

func (*TagService) DeleteTags

func (s *TagService) DeleteTags(i *DeleteTagsInput) (*DeleteTagsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/tag/delete_tags.html

func (*TagService) DetachTags

func (s *TagService) DetachTags(i *DetachTagsInput) (*DetachTagsOutput, error)

Documentation URL: https://docs.qingcloud.com/api/tag/detach_tags.html

type TagServiceProperties

type TagServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type TerminateInstancesInput

type TerminateInstancesInput struct {
	Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}

func (*TerminateInstancesInput) Validate

func (v *TerminateInstancesInput) Validate() error

type TerminateInstancesOutput

type TerminateInstancesOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpdateCacheInput

type UpdateCacheInput struct {
	Cache      *string           `json:"cache" name:"cache" location:"params"` // Required
	PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"`
}

func (*UpdateCacheInput) Validate

func (v *UpdateCacheInput) Validate() error

type UpdateCacheOutput

type UpdateCacheOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpdateCacheParametersInput

type UpdateCacheParametersInput struct {
	CacheParameterGroup *string         `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required
	Parameters          *CacheParameter `json:"parameters" name:"parameters" location:"params"`                       // Required
}

func (*UpdateCacheParametersInput) Validate

func (v *UpdateCacheParametersInput) Validate() error

type UpdateCacheParametersOutput

type UpdateCacheParametersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpdateClusterEnvironmentInput

type UpdateClusterEnvironmentInput struct {
	Cluster *string     `json:"cluster" name:"cluster" location:"params"`
	Env     interface{} `json:"env" name:"env" location:"params"`
	Roles   []*string   `json:"roles" name:"roles" location:"params"`
}

func (*UpdateClusterEnvironmentInput) Validate

func (v *UpdateClusterEnvironmentInput) Validate() error

type UpdateClusterEnvironmentOutput

type UpdateClusterEnvironmentOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpdateLoadBalancersInput

type UpdateLoadBalancersInput struct {
	LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}

func (*UpdateLoadBalancersInput) Validate

func (v *UpdateLoadBalancersInput) Validate() error

type UpdateLoadBalancersOutput

type UpdateLoadBalancersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpdateRoutersInput

type UpdateRoutersInput struct {
	Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}

func (*UpdateRoutersInput) Validate

func (v *UpdateRoutersInput) Validate() error

type UpdateRoutersOutput

type UpdateRoutersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpdateS2ServersInput

type UpdateS2ServersInput struct {
	S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}

func (*UpdateS2ServersInput) Validate

func (v *UpdateS2ServersInput) Validate() error

type UpdateS2ServersOutput

type UpdateS2ServersOutput struct {
	Message *string `json:"message" name:"message"`
	Action  *string `json:"action" name:"action" location:"elements"`
	JobID   *string `json:"job_id" name:"job_id" location:"elements"`
	RetCode *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type UpgradeClustersInput

type UpgradeClustersInput struct {
	AppVersion    *string   `json:"app_version" name:"app_version" location:"params"`
	Clusters      []*string `json:"clusters" name:"clusters" location:"params"`
	ServiceParams *string   `json:"service_params" name:"service_params" location:"params"`
}

func (*UpgradeClustersInput) Validate

func (v *UpgradeClustersInput) Validate() error

type UpgradeClustersOutput

type UpgradeClustersOutput struct {
	Message   *string   `json:"message" name:"message"`
	Action    *string   `json:"action" name:"action" location:"elements"`
	ClusterID []*string `json:"cluster_id" name:"cluster_id" location:"elements"`
	RetCode   *int      `json:"ret_code" name:"ret_code" location:"elements"`
}

type UploadUserDataAttachmentInput

type UploadUserDataAttachmentInput struct {
	AttachmentContent *string `json:"attachment_content" name:"attachment_content" location:"params"` // Required
	AttachmentName    *string `json:"attachment_name" name:"attachment_name" location:"params"`
}

func (*UploadUserDataAttachmentInput) Validate

func (v *UploadUserDataAttachmentInput) Validate() error

type UploadUserDataAttachmentOutput

type UploadUserDataAttachmentOutput struct {
	Message      *string `json:"message" name:"message"`
	Action       *string `json:"action" name:"action" location:"elements"`
	AttachmentID *string `json:"attachment_id" name:"attachment_id" location:"elements"`
	RetCode      *int    `json:"ret_code" name:"ret_code" location:"elements"`
}

type User

type User struct {
	Email  *string `json:"email" name:"email"`
	UserID *string `json:"user_id" name:"user_id"`
}

func (*User) Validate

func (v *User) Validate() error

type UserDataService

type UserDataService struct {
	Config     *config.Config
	Properties *UserDataServiceProperties
}

type UserDataServiceProperties

type UserDataServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type Volume

type Volume struct {
	CreateTime         *time.Time  `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description        *string     `json:"description" name:"description"`
	Device             *string     `json:"device" name:"device"`
	Instance           *Instance   `json:"instance" name:"instance"`
	Instances          []*Instance `json:"instances" name:"instances"`
	LatestSnapshotTime *time.Time  `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"`
	Owner              *string     `json:"owner" name:"owner"`
	PlaceGroupID       *string     `json:"place_group_id" name:"place_group_id"`
	Repl               *string     `json:"repl" name:"repl"`
	Size               *int        `json:"size" name:"size"`
	// Status's available values: pending, available, in-use, suspended, deleted, ceased
	Status     *string    `json:"status" name:"status"`
	StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"`
	SubCode    *int       `json:"sub_code" name:"sub_code"`
	Tags       []*Tag     `json:"tags" name:"tags"`
	// TransitionStatus's available values: creating, attaching, detaching, suspending, resuming, deleting, recovering
	TransitionStatus *string `json:"transition_status" name:"transition_status"`
	VolumeID         *string `json:"volume_id" name:"volume_id"`
	VolumeName       *string `json:"volume_name" name:"volume_name"`
	// VolumeType's available values: 0, 1, 2, 3
	VolumeType *int    `json:"volume_type" name:"volume_type"`
	ZoneID     *string `json:"zone_id" name:"zone_id"`
}

func (*Volume) Validate

func (v *Volume) Validate() error

type VolumeService

type VolumeService struct {
	Config     *config.Config
	Properties *VolumeServiceProperties
}

func (*VolumeService) CloneVolumes

func (s *VolumeService) CloneVolumes(i *CloneVolumesInput) (*CloneVolumesOutput, error)

Documentation URL: https://docs.qingcloud.com

type VolumeServiceProperties

type VolumeServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type VxNet

type VxNet struct {
	AvailableIPCount *int       `json:"available_ip_count" name:"available_ip_count"`
	CreateTime       *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"`
	Description      *string    `json:"description" name:"description"`
	InstanceIDs      []*string  `json:"instance_ids" name:"instance_ids"`
	Owner            *string    `json:"owner" name:"owner"`
	Router           *Router    `json:"router" name:"router"`
	Tags             []*Tag     `json:"tags" name:"tags"`
	VpcRouterID      *string    `json:"vpc_router_id" name:"vpc_router_id"`
	VxNetID          *string    `json:"vxnet_id" name:"vxnet_id"`
	VxNetName        *string    `json:"vxnet_name" name:"vxnet_name"`
	// VxNetType's available values: 0, 1
	VxNetType *int `json:"vxnet_type" name:"vxnet_type"`
}

func (*VxNet) Validate

func (v *VxNet) Validate() error

type VxNetService

type VxNetService struct {
	Config     *config.Config
	Properties *VxNetServiceProperties
}

func (*VxNetService) JoinVxNet

func (s *VxNetService) JoinVxNet(i *JoinVxNetInput) (*JoinVxNetOutput, error)

Documentation URL: https://docs.qingcloud.com/api/vxnet/join_vxnet.html

func (*VxNetService) LeaveVxNet

func (s *VxNetService) LeaveVxNet(i *LeaveVxNetInput) (*LeaveVxNetOutput, error)

Documentation URL: https://docs.qingcloud.com/api/vxnet/leave_vxnet.html

type VxNetServiceProperties

type VxNetServiceProperties struct {
	// QingCloud Zone ID
	Zone *string `json:"zone" name:"zone"` // Required
}

type Zone

type Zone struct {
	// Status's available values: active, faulty, defunct
	Status *string `json:"status" name:"status"`
	ZoneID *string `json:"zone_id" name:"zone_id"`
}

func (*Zone) Validate

func (v *Zone) Validate() error

Jump to

Keyboard shortcuts

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