v3

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAddVpcExtendCidr added in v0.0.68

func GenReqDefForAddVpcExtendCidr() *def.HttpRequestDef

func GenReqDefForBatchCreateSubNetworkInterface

func GenReqDefForBatchCreateSubNetworkInterface() *def.HttpRequestDef

func GenReqDefForCreateAddressGroup added in v0.0.68

func GenReqDefForCreateAddressGroup() *def.HttpRequestDef

func GenReqDefForCreateSecurityGroup

func GenReqDefForCreateSecurityGroup() *def.HttpRequestDef

func GenReqDefForCreateSecurityGroupRule

func GenReqDefForCreateSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForCreateSubNetworkInterface

func GenReqDefForCreateSubNetworkInterface() *def.HttpRequestDef

func GenReqDefForCreateVpc added in v0.0.68

func GenReqDefForCreateVpc() *def.HttpRequestDef

func GenReqDefForDeleteAddressGroup added in v0.0.68

func GenReqDefForDeleteAddressGroup() *def.HttpRequestDef

func GenReqDefForDeleteIpAddressGroupForce added in v0.0.68

func GenReqDefForDeleteIpAddressGroupForce() *def.HttpRequestDef

func GenReqDefForDeleteSecurityGroup

func GenReqDefForDeleteSecurityGroup() *def.HttpRequestDef

func GenReqDefForDeleteSecurityGroupRule

func GenReqDefForDeleteSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForDeleteSubNetworkInterface

func GenReqDefForDeleteSubNetworkInterface() *def.HttpRequestDef

func GenReqDefForDeleteVpc added in v0.0.68

func GenReqDefForDeleteVpc() *def.HttpRequestDef

func GenReqDefForListAddressGroup added in v0.0.68

func GenReqDefForListAddressGroup() *def.HttpRequestDef

func GenReqDefForListSecurityGroupRules

func GenReqDefForListSecurityGroupRules() *def.HttpRequestDef

func GenReqDefForListSecurityGroups

func GenReqDefForListSecurityGroups() *def.HttpRequestDef

func GenReqDefForListSubNetworkInterfaces

func GenReqDefForListSubNetworkInterfaces() *def.HttpRequestDef

func GenReqDefForListVpcs added in v0.0.68

func GenReqDefForListVpcs() *def.HttpRequestDef

func GenReqDefForMigrateSubNetworkInterface added in v0.0.68

func GenReqDefForMigrateSubNetworkInterface() *def.HttpRequestDef

func GenReqDefForRemoveVpcExtendCidr added in v0.0.68

func GenReqDefForRemoveVpcExtendCidr() *def.HttpRequestDef

func GenReqDefForShowAddressGroup added in v0.0.68

func GenReqDefForShowAddressGroup() *def.HttpRequestDef

func GenReqDefForShowSecurityGroup

func GenReqDefForShowSecurityGroup() *def.HttpRequestDef

func GenReqDefForShowSecurityGroupRule

func GenReqDefForShowSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForShowSubNetworkInterface

func GenReqDefForShowSubNetworkInterface() *def.HttpRequestDef

func GenReqDefForShowSubNetworkInterfacesQuantity

func GenReqDefForShowSubNetworkInterfacesQuantity() *def.HttpRequestDef

func GenReqDefForShowVpc added in v0.0.68

func GenReqDefForShowVpc() *def.HttpRequestDef

func GenReqDefForUpdateAddressGroup added in v0.0.68

func GenReqDefForUpdateAddressGroup() *def.HttpRequestDef

func GenReqDefForUpdateSecurityGroup

func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef

func GenReqDefForUpdateSubNetworkInterface

func GenReqDefForUpdateSubNetworkInterface() *def.HttpRequestDef

func GenReqDefForUpdateVpc added in v0.0.68

func GenReqDefForUpdateVpc() *def.HttpRequestDef

func VpcClientBuilder

func VpcClientBuilder() *http_client.HcHttpClientBuilder

Types

type VpcClient

type VpcClient struct {
	HcClient *http_client.HcHttpClient
}

func NewVpcClient

func NewVpcClient(hcClient *http_client.HcHttpClient) *VpcClient

func (*VpcClient) AddVpcExtendCidr added in v0.0.68

func (c *VpcClient) AddVpcExtendCidr(request *model.AddVpcExtendCidrRequest) (*model.AddVpcExtendCidrResponse, error)

添加VPC的扩展网段

func (*VpcClient) BatchCreateSubNetworkInterface

批量创建辅助弹性网卡

func (*VpcClient) CreateAddressGroup added in v0.0.68

func (c *VpcClient) CreateAddressGroup(request *model.CreateAddressGroupRequest) (*model.CreateAddressGroupResponse, error)

创建地址组

func (*VpcClient) CreateSecurityGroup

创建安全组

func (*VpcClient) CreateSecurityGroupRule

创建安全组规则

func (*VpcClient) CreateSubNetworkInterface

创建辅助弹性网卡

func (*VpcClient) CreateVpc added in v0.0.68

func (c *VpcClient) CreateVpc(request *model.CreateVpcRequest) (*model.CreateVpcResponse, error)

创建虚拟私有云

func (*VpcClient) DeleteAddressGroup added in v0.0.68

func (c *VpcClient) DeleteAddressGroup(request *model.DeleteAddressGroupRequest) (*model.DeleteAddressGroupResponse, error)

删除地址组,非强制删除,删除前请确保未被其他资源引用

func (*VpcClient) DeleteIpAddressGroupForce added in v0.0.68

强制删除地址组,删除的地址组与安全组规则关联时,会删除地址组与关联的安全组规则。

func (*VpcClient) DeleteSecurityGroup

删除安全组

func (*VpcClient) DeleteSecurityGroupRule

删除安全组规则

func (*VpcClient) DeleteSubNetworkInterface

删除辅助弹性网卡

func (*VpcClient) DeleteVpc added in v0.0.68

func (c *VpcClient) DeleteVpc(request *model.DeleteVpcRequest) (*model.DeleteVpcResponse, error)

删除VPC

func (*VpcClient) ListAddressGroup added in v0.0.68

func (c *VpcClient) ListAddressGroup(request *model.ListAddressGroupRequest) (*model.ListAddressGroupResponse, error)

查询地址组列表,根据过滤条件进行过滤。

func (*VpcClient) ListSecurityGroupRules

查询安全组规则列表

func (*VpcClient) ListSecurityGroups

func (c *VpcClient) ListSecurityGroups(request *model.ListSecurityGroupsRequest) (*model.ListSecurityGroupsResponse, error)

查询某租户下的安全组列表

func (*VpcClient) ListSubNetworkInterfaces

查询辅助弹性网卡列表,单次查询最多返回2000条数据

func (*VpcClient) ListVpcs added in v0.0.68

func (c *VpcClient) ListVpcs(request *model.ListVpcsRequest) (*model.ListVpcsResponse, error)

查询vpc列表

func (*VpcClient) MigrateSubNetworkInterface added in v0.0.68

批量迁移辅助弹性网卡

func (*VpcClient) RemoveVpcExtendCidr added in v0.0.68

移除VPC扩展网段

func (*VpcClient) ShowAddressGroup added in v0.0.68

func (c *VpcClient) ShowAddressGroup(request *model.ShowAddressGroupRequest) (*model.ShowAddressGroupResponse, error)

查询地址组详情。

func (*VpcClient) ShowSecurityGroup

func (c *VpcClient) ShowSecurityGroup(request *model.ShowSecurityGroupRequest) (*model.ShowSecurityGroupResponse, error)

查询单个安全组详情

func (*VpcClient) ShowSecurityGroupRule

查询单个安全组规则

func (*VpcClient) ShowSubNetworkInterface

查询辅助弹性网卡详情

func (*VpcClient) ShowSubNetworkInterfacesQuantity

查询辅助弹性网卡数目

func (*VpcClient) ShowVpc added in v0.0.68

func (c *VpcClient) ShowVpc(request *model.ShowVpcRequest) (*model.ShowVpcResponse, error)

查询vpc详情

func (*VpcClient) UpdateAddressGroup added in v0.0.68

func (c *VpcClient) UpdateAddressGroup(request *model.UpdateAddressGroupRequest) (*model.UpdateAddressGroupResponse, error)

更新地址组。

func (*VpcClient) UpdateSecurityGroup

更新安全组

func (*VpcClient) UpdateSubNetworkInterface

更新辅助弹性网卡

func (*VpcClient) UpdateVpc added in v0.0.68

func (c *VpcClient) UpdateVpc(request *model.UpdateVpcRequest) (*model.UpdateVpcResponse, error)

更新vpc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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