 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func DoAction(action string, options ...string) ([]byte, error)
- type DescribeInstanceInternetBandwidthConfigsResp
- type DescribeInstancesResp
- type DescribeInstancesStatusResp
- type InquiryPriceRenewInstancesResp
- type InquiryPriceResetInstanceResp
- type InquiryPriceResetInstancesTypeResp
- type InquiryPriceResizeInstanceDisksResp
- type InquiryPriceRunInstancesResp
- type ModifyInstancesAttributeResp
- type RebootInstancesResp
- type RenewInstancesResp
- type ResetInstanceResp
- type ResetInstancesInternetMaxBandwidthResp
- type ResetInstancesPasswordResp
- type ResetInstancesTypeResp
- type ResizeInstanceDisksResp
- type RunInstancesResp
- type StartInstancesResp
- type StopInstancesResp
- type UpdateInstanceVpcConfigResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DescribeInstanceInternetBandwidthConfigsResp ¶ added in v1.1.0
type DescribeInstanceInternetBandwidthConfigsResp struct {
	Response struct {
		InternetBandwidthConfigSet interface{} `json:"InternetBandwidthConfigSet,omitempty"`
		RequestID                  string      `json:"RequestId"`
		Error                      interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func DescribeInstanceInternetBandwidthConfigs ¶ added in v1.1.0
func DescribeInstanceInternetBandwidthConfigs(options ...string) (*DescribeInstanceInternetBandwidthConfigsResp, error)
func (*DescribeInstanceInternetBandwidthConfigsResp) String ¶ added in v1.1.0
func (r *DescribeInstanceInternetBandwidthConfigsResp) String(args ...interface{}) (string, error)
type DescribeInstancesResp ¶
type DescribeInstancesResp struct {
	Response struct {
		InstanceSet []struct {
			CPU                int64       `json:"CPU"`
			CreatedTime        string      `json:"CreatedTime"`
			DataDisks          interface{} `json:"DataDisks"`
			ExpiredTime        interface{} `json:"ExpiredTime"`
			ImageID            string      `json:"ImageId"`
			InstanceChargeType string      `json:"InstanceChargeType"`
			InstanceID         string      `json:"InstanceId"`
			InstanceName       string      `json:"InstanceName"`
			InstanceType       string      `json:"InstanceType"`
			InternetAccessible struct {
				InternetChargeType      string `json:"InternetChargeType"`
				InternetMaxBandwidthOut int64  `json:"InternetMaxBandwidthOut"`
			} `json:"InternetAccessible"`
			KeyPairIds interface{} `json:"KeyPairIds"`
			Memory     int64       `json:"Memory"`
			OsName     string      `json:"OsName"`
			Placement  struct {
				HostID    interface{} `json:"HostId"`
				ProjectID int64       `json:"ProjectId"`
				Zone      string      `json:"Zone"`
			} `json:"Placement"`
			PrivateIPAddresses []string    `json:"PrivateIpAddresses"`
			PublicIPAddresses  interface{} `json:"PublicIpAddresses"`
			RenewFlag          interface{} `json:"RenewFlag"`
			RestrictState      string      `json:"RestrictState"`
			SecurityGroupIds   interface{} `json:"SecurityGroupIds"`
			SystemDisk         struct {
				DiskID   interface{} `json:"DiskId"`
				DiskSize int64       `json:"DiskSize"`
				DiskType string      `json:"DiskType"`
			} `json:"SystemDisk"`
			VirtualPrivateCloud struct {
				AsVpcGateway bool   `json:"AsVpcGateway"`
				SubnetID     string `json:"SubnetId"`
				VpcID        string `json:"VpcId"`
			} `json:"VirtualPrivateCloud"`
		} `json:"InstanceSet,omitempty"`
		Error      interface{} `json:"Error,omitempty"`
		RequestID  string      `json:"RequestId"`
		TotalCount int64       `json:"TotalCount"`
	} `json:"Response"`
}
    func DescribeInstances ¶
func DescribeInstances(options ...string) (*DescribeInstancesResp, error)
func (*DescribeInstancesResp) String ¶ added in v1.1.0
func (r *DescribeInstancesResp) String(args ...interface{}) (string, error)
type DescribeInstancesStatusResp ¶
type DescribeInstancesStatusResp struct {
	Response struct {
		Error             interface{} `json:"Error,omitempty"`
		InstanceStatusSet []struct {
			InstanceID    string `json:"InstanceId"`
			InstanceState string `json:"InstanceState"`
		} `json:"InstanceStatusSet,omitempty"`
		RequestID  string `json:"RequestId"`
		TotalCount int64  `json:"TotalCount"`
	} `json:"Response"`
}
    func DescribeInstancesStatus ¶
func DescribeInstancesStatus(options ...string) (*DescribeInstancesStatusResp, error)
func (*DescribeInstancesStatusResp) String ¶ added in v1.1.0
func (r *DescribeInstancesStatusResp) String(args ...interface{}) (string, error)
type InquiryPriceRenewInstancesResp ¶ added in v1.1.0
type InquiryPriceRenewInstancesResp struct {
	Response struct {
		Price struct {
			InstancePrice interface{} `json:"Price,omitempty"`
		} `json:"Price,omitempty"`
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func InquiryPriceRenewInstances ¶ added in v1.1.0
func InquiryPriceRenewInstances(options ...string) (*InquiryPriceRenewInstancesResp, error)
func (*InquiryPriceRenewInstancesResp) String ¶ added in v1.1.0
func (r *InquiryPriceRenewInstancesResp) String(args ...interface{}) (string, error)
type InquiryPriceResetInstanceResp ¶ added in v1.1.0
type InquiryPriceResetInstanceResp struct {
	Response struct {
		Price struct {
			InstancePrice struct {
				ChargeUnit string  `json:"ChargeUnit"`
				UnitPrice  float64 `json:"UnitPrice"`
			} `json:"InstancePrice"`
		} `json:"Price"`
		Error     interface{} `json:"Error,omitempty"`
		RequestID string      `json:"RequestId"`
	} `json:"Response"`
}
    func InquiryPriceResetInstance ¶ added in v1.1.0
func InquiryPriceResetInstance(options ...string) (*InquiryPriceResetInstanceResp, error)
func (*InquiryPriceResetInstanceResp) String ¶ added in v1.1.0
func (r *InquiryPriceResetInstanceResp) String(args ...interface{}) (string, error)
type InquiryPriceResetInstancesTypeResp ¶ added in v1.1.0
type InquiryPriceResetInstancesTypeResp struct {
	Response struct {
		Price struct {
			InstancePrice struct {
				ChargeUnit string  `json:"ChargeUnit"`
				UnitPrice  float64 `json:"UnitPrice"`
			} `json:"InstancePrice"`
		} `json:"Price"`
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func InquiryPriceResetInstancesType ¶ added in v1.1.0
func InquiryPriceResetInstancesType(options ...string) (*InquiryPriceResetInstancesTypeResp, error)
func (*InquiryPriceResetInstancesTypeResp) String ¶ added in v1.1.0
func (r *InquiryPriceResetInstancesTypeResp) String(args ...interface{}) (string, error)
type InquiryPriceResizeInstanceDisksResp ¶ added in v1.1.0
type InquiryPriceResizeInstanceDisksResp struct {
	Response struct {
		Price struct {
			InstancePrice struct {
				ChargeUnit string  `json:"ChargeUnit"`
				UnitPrice  float64 `json:"UnitPrice"`
			} `json:"InstancePrice"`
		} `json:"Price"`
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func InquiryPriceResizeInstanceDisks ¶ added in v1.1.0
func InquiryPriceResizeInstanceDisks(options ...string) (*InquiryPriceResizeInstanceDisksResp, error)
func (*InquiryPriceResizeInstanceDisksResp) String ¶ added in v1.1.0
func (r *InquiryPriceResizeInstanceDisksResp) String(args ...interface{}) (string, error)
type InquiryPriceRunInstancesResp ¶ added in v1.1.0
type InquiryPriceRunInstancesResp struct {
	Response struct {
		Price struct {
			BandwidthPrice struct {
				ChargeUnit string `json:"ChargeUnit"`
				UnitPrice  int64  `json:"UnitPrice"`
			} `json:"BandwidthPrice"`
			InstancePrice struct {
				ChargeUnit string  `json:"ChargeUnit"`
				UnitPrice  float64 `json:"UnitPrice"`
			} `json:"InstancePrice"`
		} `json:"Price"`
		Error     interface{} `json:"Error,omitempty"`
		RequestID string      `json:"RequestId"`
	} `json:"Response"`
}
    func InquiryPriceRunInstances ¶ added in v1.1.0
func InquiryPriceRunInstances(options ...string) (*InquiryPriceRunInstancesResp, error)
func (*InquiryPriceRunInstancesResp) String ¶ added in v1.1.0
func (r *InquiryPriceRunInstancesResp) String(args ...interface{}) (string, error)
type ModifyInstancesAttributeResp ¶ added in v1.1.0
type ModifyInstancesAttributeResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func ModifyInstancesAttribute ¶ added in v1.1.0
func ModifyInstancesAttribute(options ...string) (*ModifyInstancesAttributeResp, error)
func (*ModifyInstancesAttributeResp) String ¶ added in v1.1.0
func (r *ModifyInstancesAttributeResp) String(args ...interface{}) (string, error)
type RebootInstancesResp ¶
type RebootInstancesResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func RebootInstances ¶
func RebootInstances(options ...string) (*RebootInstancesResp, error)
func (*RebootInstancesResp) String ¶ added in v1.1.0
func (r *RebootInstancesResp) String(args ...interface{}) (string, error)
type RenewInstancesResp ¶ added in v1.1.0
type RenewInstancesResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func RenewInstances ¶ added in v1.1.0
func RenewInstances(options ...string) (*RenewInstancesResp, error)
func (*RenewInstancesResp) String ¶ added in v1.1.0
func (r *RenewInstancesResp) String(args ...interface{}) (string, error)
type ResetInstanceResp ¶ added in v1.1.0
type ResetInstanceResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func ResetInstance ¶ added in v1.1.0
func ResetInstance(options ...string) (*ResetInstanceResp, error)
func (*ResetInstanceResp) String ¶ added in v1.1.0
func (r *ResetInstanceResp) String(args ...interface{}) (string, error)
type ResetInstancesInternetMaxBandwidthResp ¶ added in v1.1.0
type ResetInstancesInternetMaxBandwidthResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func ResetInstancesInternetMaxBandwidth ¶ added in v1.1.0
func ResetInstancesInternetMaxBandwidth(options ...string) (*ResetInstancesInternetMaxBandwidthResp, error)
func (*ResetInstancesInternetMaxBandwidthResp) String ¶ added in v1.1.0
func (r *ResetInstancesInternetMaxBandwidthResp) String(args ...interface{}) (string, error)
type ResetInstancesPasswordResp ¶ added in v1.1.0
type ResetInstancesPasswordResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func ResetInstancesPassword ¶ added in v1.1.0
func ResetInstancesPassword(options ...string) (*ResetInstancesPasswordResp, error)
func (*ResetInstancesPasswordResp) String ¶ added in v1.1.0
func (r *ResetInstancesPasswordResp) String(args ...interface{}) (string, error)
type ResetInstancesTypeResp ¶ added in v1.1.0
type ResetInstancesTypeResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func ResetInstancesType ¶ added in v1.1.0
func ResetInstancesType(options ...string) (*ResetInstancesTypeResp, error)
func (*ResetInstancesTypeResp) String ¶ added in v1.1.0
func (r *ResetInstancesTypeResp) String(args ...interface{}) (string, error)
type ResizeInstanceDisksResp ¶
type ResizeInstanceDisksResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func ResizeInstanceDisks ¶
func ResizeInstanceDisks(options ...string) (*ResizeInstanceDisksResp, error)
func (*ResizeInstanceDisksResp) String ¶ added in v1.1.0
func (r *ResizeInstanceDisksResp) String(args ...interface{}) (string, error)
type RunInstancesResp ¶
type RunInstancesResp struct {
	Response struct {
		Error         interface{} `json:"Error,omitempty"`
		InstanceIDSet []string    `json:"InstanceIdSet,omitempty"`
		RequestID     string      `json:"RequestId"`
	} `json:"Response"`
}
    func RunInstances ¶
func RunInstances(options ...string) (*RunInstancesResp, error)
func (*RunInstancesResp) String ¶ added in v1.1.0
func (r *RunInstancesResp) String(args ...interface{}) (string, error)
type StartInstancesResp ¶
type StartInstancesResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func StartInstances ¶
func StartInstances(options ...string) (*StartInstancesResp, error)
func (*StartInstancesResp) String ¶ added in v1.1.0
func (r *StartInstancesResp) String(args ...interface{}) (string, error)
type StopInstancesResp ¶
type StopInstancesResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func StopInstances ¶
func StopInstances(options ...string) (*StopInstancesResp, error)
func (*StopInstancesResp) String ¶ added in v1.1.0
func (r *StopInstancesResp) String(args ...interface{}) (string, error)
type UpdateInstanceVpcConfigResp ¶ added in v1.1.0
type UpdateInstanceVpcConfigResp struct {
	Response struct {
		RequestID string      `json:"RequestId"`
		Error     interface{} `json:"Error,omitempty"`
	} `json:"Response"`
}
    func UpdateInstanceVpcConfig ¶ added in v1.1.0
func UpdateInstanceVpcConfig(options ...string) (*UpdateInstanceVpcConfigResp, error)
func (*UpdateInstanceVpcConfigResp) String ¶ added in v1.1.0
func (r *UpdateInstanceVpcConfigResp) String(args ...interface{}) (string, error)
       Source Files
      ¶
      Source Files
      ¶
    
- DescribeInstanceInternetBandwidthConfigs.go
- DescribeInstances.go
- DescribeInstancesStatus.go
- InquiryPriceRenewInstances.go
- InquiryPriceResetInstance.go
- InquiryPriceResetInstancesType.go
- InquiryPriceResizeInstanceDisks.go
- InquiryPriceRunInstances.go
- ModifyInstancesAttribute.go
- RebootInstances.go
- RenewInstances.go
- ResetInstance.go
- ResetInstancesInternetMaxBandwidth.go
- ResetInstancesPassword.go
- ResetInstancesType.go
- ResizeInstanceDisks.go
- RunInstances.go
- StartInstances.go
- StopInstances.go
- UpdateInstanceVpcConfig.go
- do.go
 Click to show internal directories. 
   Click to hide internal directories.