Documentation ¶
Index ¶
- type AlibabaCloud
- func (p *AlibabaCloud) DescribeInstanceBill(_ context.Context, param types.DescribeInstanceBillRequest, isAll bool) (types.DescribeInstanceBill, error)
- func (p *AlibabaCloud) DescribeInstances(ctx context.Context, param types.DescribeInstancesRequest) (types.DescribeInstances, error)
- func (p *AlibabaCloud) DescribeMetricList(_ context.Context, param types.DescribeMetricListRequest) (types.DescribeMetricList, error)
- func (p *AlibabaCloud) DescribeRegions(_ context.Context, param types.DescribeRegionsRequest) (types.DescribeRegions, error)
- func (*AlibabaCloud) ProviderType() cloud.Provider
- func (p *AlibabaCloud) QueryAccountBill(ctx context.Context, param types.QueryAccountBillRequest) (types.DataInQueryAccountBill, error)
- func (p *AlibabaCloud) QueryAvailableInstances(ctx context.Context, param types.QueryAvailableInstancesRequest) (types.QueryAvailableInstances, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaCloud ¶
type AlibabaCloud struct {
// contains filtered or unexported fields
}
func New ¶
func New(AK, SK, region string) (*AlibabaCloud, error)
func (*AlibabaCloud) DescribeInstanceBill ¶
func (p *AlibabaCloud) DescribeInstanceBill(_ context.Context, param types.DescribeInstanceBillRequest, isAll bool) (types.DescribeInstanceBill, error)
DescribeInstanceBill 实例账单是根据账单数据拆分生成,一般会有一天延迟。
func (*AlibabaCloud) DescribeInstances ¶ added in v0.2.1
func (p *AlibabaCloud) DescribeInstances(ctx context.Context, param types.DescribeInstancesRequest) (types.DescribeInstances, error)
func (*AlibabaCloud) DescribeMetricList ¶
func (p *AlibabaCloud) DescribeMetricList(_ context.Context, param types.DescribeMetricListRequest) (types.DescribeMetricList, error)
func (*AlibabaCloud) DescribeRegions ¶
func (p *AlibabaCloud) DescribeRegions(_ context.Context, param types.DescribeRegionsRequest) (types.DescribeRegions, error)
func (*AlibabaCloud) QueryAccountBill ¶
func (p *AlibabaCloud) QueryAccountBill(ctx context.Context, param types.QueryAccountBillRequest) (types.DataInQueryAccountBill, error)
QueryAccountBill
func (*AlibabaCloud) QueryAvailableInstances ¶
func (p *AlibabaCloud) QueryAvailableInstances(ctx context.Context, param types.QueryAvailableInstancesRequest) (types.QueryAvailableInstances, error)
alicloud: InstanceIDs in QueryAvailableInstancesRequest are max to 100
Click to show internal directories.
Click to hide internal directories.