tencent

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TencentCloud

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

func New

func New(ak, sk, region string) (h *TencentCloud, err error)

func (*TencentCloud) AddEgressSecurityGroupRule

func (p *TencentCloud) AddEgressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error

func (*TencentCloud) AddIngressSecurityGroupRule

func (p *TencentCloud) AddIngressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error

AddIngressSecurityGroupRule 入参各云得统一

func (*TencentCloud) BatchCreate

func (p *TencentCloud) BatchCreate(m cloud.Params, num int) ([]string, error)

BatchCreate AsVpcGateway

func (*TencentCloud) BatchDelete

func (p *TencentCloud) BatchDelete(ids []string, regionId string) error

BatchDelete 非后付费机器,子机销毁时,无法自动删除数据盘

func (*TencentCloud) CreateKeyPair added in v0.7.0

func (*TencentCloud) CreateSecurityGroup

func (*TencentCloud) CreateSwitch

func (*TencentCloud) CreateVPC

func (*TencentCloud) DescribeGroupRules

func (*TencentCloud) DescribeImages

DescribeImages miss OsType

func (*TencentCloud) DescribeKeyPairs added in v0.7.0

func (*TencentCloud) DescribeSwitches

func (*TencentCloud) DescribeVpcs

func (*TencentCloud) GetInstances

func (p *TencentCloud) GetInstances(ids []string) (instances []cloud.Instance, err error)

func (*TencentCloud) GetInstancesByCluster

func (p *TencentCloud) GetInstancesByCluster(regionId, clusterName string) (instances []cloud.Instance, err error)

func (*TencentCloud) GetInstancesByTags

func (p *TencentCloud) GetInstancesByTags(regionId string, tags []cloud.Tag) (instances []cloud.Instance, err error)

func (*TencentCloud) GetOrders

func (*TencentCloud) GetRegions

func (p *TencentCloud) GetRegions() (cloud.GetRegionsResponse, error)

GetRegions 暂时返回中文名字

func (*TencentCloud) GetSwitch

func (*TencentCloud) GetVPC

func (*TencentCloud) GetZones

GetZones zoneId zone

func (*TencentCloud) ImportKeyPair added in v0.7.0

func (TencentCloud) ProviderType

func (TencentCloud) ProviderType() string

func (*TencentCloud) StartInstances

func (p *TencentCloud) StartInstances(ids []string) error

func (*TencentCloud) StopInstances

func (p *TencentCloud) StopInstances(ids []string) error

Jump to

Keyboard shortcuts

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