Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { ProviderType() cloud.Provider QueryAccountBill(ctx context.Context, request types.QueryAccountBillRequest) (types.DataInQueryAccountBill, error) // DescribeInstanceBill query the consumption of all product instances or billing items for a certain account period // in principle, we can get the basic info about specify InstantId, even through deleted or released. DescribeInstanceBill(ctx context.Context, request types.DescribeInstanceBillRequest, isAll bool) (types.DescribeInstanceBill, error) // QueryAvailableInstances list all available Instances by RegionId OR InstantIds. QueryAvailableInstances(context.Context, types.QueryAvailableInstancesRequest) (types.QueryAvailableInstances, error) // DescribeRegions list all regions as the RegionId and RegionName map. DescribeRegions(context.Context, types.DescribeRegionsRequest) (types.DescribeRegions, error) // DescribeInstances Describes the specified instances or all instances. DescribeInstances(context.Context, types.DescribeInstancesRequest) (types.DescribeInstances, error) // DescribeMetricList get monitoring samples, eg: cpu/memory. DescribeMetricList(context.Context, types.DescribeMetricListRequest) (types.DescribeMetricList, error) }
Click to show internal directories.
Click to hide internal directories.