Documentation ¶
Index ¶
- type CVMOperator
- func (o *CVMOperator) Create(req *cvm.DescribeInstancesRequest) (*host.HostSet, error)
- func (o *CVMOperator) DescribeInstanceType() error
- func (o *CVMOperator) DescribeZones() error
- func (o *CVMOperator) PageQuery(req *PageQueryRequest) host.Pager
- func (o *CVMOperator) Query(req *cvm.DescribeInstancesRequest) (*host.HostSet, error)
- type PageQueryRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CVMOperator ¶
type CVMOperator struct {
// contains filtered or unexported fields
}
func NewCVMOperator ¶
func NewCVMOperator(client *cvm.Client) *CVMOperator
func (*CVMOperator) Create ¶
func (o *CVMOperator) Create(req *cvm.DescribeInstancesRequest) (*host.HostSet, error)
func (*CVMOperator) DescribeInstanceType ¶
func (o *CVMOperator) DescribeInstanceType() error
查询实例机型列表: https://cloud.tencent.com/document/api/213/15749 实例规格说明文档: https://cloud.tencent.com/document/product/213/11518
func (*CVMOperator) DescribeZones ¶
func (o *CVMOperator) DescribeZones() error
查询可用区列表: https://cloud.tencent.com/document/product/213/15707
func (*CVMOperator) PageQuery ¶
func (o *CVMOperator) PageQuery(req *PageQueryRequest) host.Pager
func (*CVMOperator) Query ¶
func (o *CVMOperator) Query(req *cvm.DescribeInstancesRequest) (*host.HostSet, error)
查看实例列表 查看实例列表: https://console.cloud.tencent.com/api/explorer?Product=cvm&Version=2017-03-12&Action=DescribeInstances&SignVersion=
type PageQueryRequest ¶
type PageQueryRequest struct {
// contains filtered or unexported fields
}
func NewPageQueryRequest ¶
func NewPageQueryRequest(reqPerSecond int) *PageQueryRequest
Click to show internal directories.
Click to hide internal directories.