Documentation ¶
Index ¶
- func Classify(vpcs []libvpc.Vpc) []apistructs.CloudResourceLabelCount
- func Create(ctx aliyun_resources.Context, req VPCCreateRequest) (string, error)
- func DescribeVPCs(ctx aliyun_resources.Context, page aliyun_resources.PageOption, cluster string, ...) (*libvpc.DescribeVpcsResponse, error)
- func GetVpcBaseInfo(ak_ctx aliyun_resources.Context, cluster string, vpcID string) (apistructs.CloudResourceVpcBaseInfo, error)
- func GetVpcByCluster(ak_ctx aliyun_resources.Context, cluster string) (libvpc.Vpc, error)
- func List(ctx aliyun_resources.Context, page aliyun_resources.PageOption, ...) ([]libvpc.Vpc, int, error)
- func ListByCluster(ctx aliyun_resources.Context, page aliyun_resources.PageOption, cluster string) (*libvpc.DescribeVpcsResponse, error)
- func OverwriteTags(ctx aliyun_resources.Context, items []apistructs.CloudResourceTagItem, ...) error
- func TagResource(ctx aliyun_resources.Context, resourceIDs []string, tags []string, ...) error
- func UntagResource(ctx aliyun_resources.Context, resourceIDs string, keys []string, ...) error
- type VPCCreateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Classify ¶
func Classify(vpcs []libvpc.Vpc) []apistructs.CloudResourceLabelCount
func Create ¶
func Create(ctx aliyun_resources.Context, req VPCCreateRequest) (string, error)
func DescribeVPCs ¶
func DescribeVPCs(ctx aliyun_resources.Context, page aliyun_resources.PageOption, cluster string, id string) ( *libvpc.DescribeVpcsResponse, error)
func GetVpcBaseInfo ¶
func GetVpcBaseInfo(ak_ctx aliyun_resources.Context, cluster string, vpcID string) (apistructs.CloudResourceVpcBaseInfo, error)
func GetVpcByCluster ¶
func List ¶
func List(ctx aliyun_resources.Context, page aliyun_resources.PageOption, regions []string, cluster string) ([]libvpc.Vpc, int, error)
func ListByCluster ¶
func ListByCluster(ctx aliyun_resources.Context, page aliyun_resources.PageOption, cluster string) ( *libvpc.DescribeVpcsResponse, error)
func OverwriteTags ¶
func OverwriteTags(ctx aliyun_resources.Context, items []apistructs.CloudResourceTagItem, tags []string, resourceType aliyun_resources.TagResourceType) error
func TagResource ¶
func TagResource(ctx aliyun_resources.Context, resourceIDs []string, tags []string, resourceType aliyun_resources.TagResourceType) error
func UntagResource ¶
func UntagResource(ctx aliyun_resources.Context, resourceIDs string, keys []string, resourceType aliyun_resources.TagResourceType) error
Types ¶
type VPCCreateRequest ¶
Click to show internal directories.
Click to hide internal directories.