Documentation
¶
Index ¶
- type TencentCloud
- func (p *TencentCloud) AddEgressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error
- func (p *TencentCloud) AddIngressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error
- func (p *TencentCloud) BatchCreate(m cloud.Params, num int) ([]string, error)
- func (p *TencentCloud) BatchDelete(ids []string, regionId string) error
- func (p *TencentCloud) CreateKeyPair(req cloud.CreateKeyPairRequest) (cloud.CreateKeyPairResponse, error)
- func (p *TencentCloud) CreateSecurityGroup(req cloud.CreateSecurityGroupRequest) (cloud.CreateSecurityGroupResponse, error)
- func (p *TencentCloud) CreateSwitch(req cloud.CreateSwitchRequest) (cloud.CreateSwitchResponse, error)
- func (p *TencentCloud) CreateVPC(req cloud.CreateVpcRequest) (cloud.CreateVpcResponse, error)
- func (p *TencentCloud) DescribeAvailableResource(req cloud.DescribeAvailableResourceRequest) (cloud.DescribeAvailableResourceResponse, error)
- func (p *TencentCloud) DescribeGroupRules(req cloud.DescribeGroupRulesRequest) (cloud.DescribeGroupRulesResponse, error)
- func (p *TencentCloud) DescribeImages(req cloud.DescribeImagesRequest) (cloud.DescribeImagesResponse, error)
- func (p *TencentCloud) DescribeInstanceTypes(req cloud.DescribeInstanceTypesRequest) (cloud.DescribeInstanceTypesResponse, error)
- func (p *TencentCloud) DescribeKeyPairs(req cloud.DescribeKeyPairsRequest) (cloud.DescribeKeyPairsResponse, error)
- func (p *TencentCloud) DescribeSecurityGroups(req cloud.DescribeSecurityGroupsRequest) (cloud.DescribeSecurityGroupsResponse, error)
- func (p *TencentCloud) DescribeSwitches(req cloud.DescribeSwitchesRequest) (cloud.DescribeSwitchesResponse, error)
- func (p *TencentCloud) DescribeVpcs(req cloud.DescribeVpcsRequest) (cloud.DescribeVpcsResponse, error)
- func (p *TencentCloud) GetInstances(ids []string) (instances []cloud.Instance, err error)
- func (p *TencentCloud) GetInstancesByCluster(regionId, clusterName string) (instances []cloud.Instance, err error)
- func (p *TencentCloud) GetInstancesByTags(regionId string, tags []cloud.Tag) (instances []cloud.Instance, err error)
- func (p *TencentCloud) GetOrders(req cloud.GetOrdersRequest) (cloud.GetOrdersResponse, error)
- func (p *TencentCloud) GetRegions() (cloud.GetRegionsResponse, error)
- func (p *TencentCloud) GetSwitch(req cloud.GetSwitchRequest) (cloud.GetSwitchResponse, error)
- func (p *TencentCloud) GetVPC(req cloud.GetVpcRequest) (cloud.GetVpcResponse, error)
- func (p *TencentCloud) GetZones(req cloud.GetZonesRequest) (cloud.GetZonesResponse, error)
- func (p *TencentCloud) ImportKeyPair(req cloud.ImportKeyPairRequest) (cloud.ImportKeyPairResponse, error)
- func (TencentCloud) ProviderType() string
- func (p *TencentCloud) StartInstances(ids []string) error
- func (p *TencentCloud) StopInstances(ids []string) error
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 ¶
BatchCreate AsVpcGateway
func (*TencentCloud) BatchDelete ¶
func (p *TencentCloud) BatchDelete(ids []string, regionId string) error
BatchDelete 非后付费机器,子机销毁时,无法自动删除数据盘
func (*TencentCloud) CreateKeyPair ¶ added in v0.7.0
func (p *TencentCloud) CreateKeyPair(req cloud.CreateKeyPairRequest) (cloud.CreateKeyPairResponse, error)
func (*TencentCloud) CreateSecurityGroup ¶
func (p *TencentCloud) CreateSecurityGroup(req cloud.CreateSecurityGroupRequest) (cloud.CreateSecurityGroupResponse, error)
func (*TencentCloud) CreateSwitch ¶
func (p *TencentCloud) CreateSwitch(req cloud.CreateSwitchRequest) (cloud.CreateSwitchResponse, error)
func (*TencentCloud) CreateVPC ¶
func (p *TencentCloud) CreateVPC(req cloud.CreateVpcRequest) (cloud.CreateVpcResponse, error)
func (*TencentCloud) DescribeAvailableResource ¶
func (p *TencentCloud) DescribeAvailableResource(req cloud.DescribeAvailableResourceRequest) (cloud.DescribeAvailableResourceResponse, error)
func (*TencentCloud) DescribeGroupRules ¶
func (p *TencentCloud) DescribeGroupRules(req cloud.DescribeGroupRulesRequest) (cloud.DescribeGroupRulesResponse, error)
func (*TencentCloud) DescribeImages ¶
func (p *TencentCloud) DescribeImages(req cloud.DescribeImagesRequest) (cloud.DescribeImagesResponse, error)
DescribeImages miss OsType
func (*TencentCloud) DescribeInstanceTypes ¶
func (p *TencentCloud) DescribeInstanceTypes(req cloud.DescribeInstanceTypesRequest) (cloud.DescribeInstanceTypesResponse, error)
func (*TencentCloud) DescribeKeyPairs ¶ added in v0.7.0
func (p *TencentCloud) DescribeKeyPairs(req cloud.DescribeKeyPairsRequest) (cloud.DescribeKeyPairsResponse, error)
func (*TencentCloud) DescribeSecurityGroups ¶
func (p *TencentCloud) DescribeSecurityGroups(req cloud.DescribeSecurityGroupsRequest) (cloud.DescribeSecurityGroupsResponse, error)
func (*TencentCloud) DescribeSwitches ¶
func (p *TencentCloud) DescribeSwitches(req cloud.DescribeSwitchesRequest) (cloud.DescribeSwitchesResponse, error)
func (*TencentCloud) DescribeVpcs ¶
func (p *TencentCloud) DescribeVpcs(req cloud.DescribeVpcsRequest) (cloud.DescribeVpcsResponse, error)
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 (*TencentCloud) GetOrders ¶
func (p *TencentCloud) GetOrders(req cloud.GetOrdersRequest) (cloud.GetOrdersResponse, error)
func (*TencentCloud) GetRegions ¶
func (p *TencentCloud) GetRegions() (cloud.GetRegionsResponse, error)
GetRegions 暂时返回中文名字
func (*TencentCloud) GetSwitch ¶
func (p *TencentCloud) GetSwitch(req cloud.GetSwitchRequest) (cloud.GetSwitchResponse, error)
func (*TencentCloud) GetVPC ¶
func (p *TencentCloud) GetVPC(req cloud.GetVpcRequest) (cloud.GetVpcResponse, error)
func (*TencentCloud) GetZones ¶
func (p *TencentCloud) GetZones(req cloud.GetZonesRequest) (cloud.GetZonesResponse, error)
GetZones zoneId zone
func (*TencentCloud) ImportKeyPair ¶ added in v0.7.0
func (p *TencentCloud) ImportKeyPair(req cloud.ImportKeyPairRequest) (cloud.ImportKeyPairResponse, error)
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
Click to show internal directories.
Click to hide internal directories.