Documentation ¶
Index ¶
- func GenReqDefForAddVpcExtendCidr() *def.HttpRequestDef
- func GenReqDefForBatchCreateSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForCreateAddressGroup() *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroup() *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroupRule() *def.HttpRequestDef
- func GenReqDefForCreateSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForCreateVpc() *def.HttpRequestDef
- func GenReqDefForDeleteAddressGroup() *def.HttpRequestDef
- func GenReqDefForDeleteIpAddressGroupForce() *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroup() *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroupRule() *def.HttpRequestDef
- func GenReqDefForDeleteSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForDeleteVpc() *def.HttpRequestDef
- func GenReqDefForListAddressGroup() *def.HttpRequestDef
- func GenReqDefForListSecurityGroupRules() *def.HttpRequestDef
- func GenReqDefForListSecurityGroups() *def.HttpRequestDef
- func GenReqDefForListSubNetworkInterfaces() *def.HttpRequestDef
- func GenReqDefForListVpcs() *def.HttpRequestDef
- func GenReqDefForMigrateSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForRemoveVpcExtendCidr() *def.HttpRequestDef
- func GenReqDefForShowAddressGroup() *def.HttpRequestDef
- func GenReqDefForShowSecurityGroup() *def.HttpRequestDef
- func GenReqDefForShowSecurityGroupRule() *def.HttpRequestDef
- func GenReqDefForShowSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForShowSubNetworkInterfacesQuantity() *def.HttpRequestDef
- func GenReqDefForShowVpc() *def.HttpRequestDef
- func GenReqDefForUpdateAddressGroup() *def.HttpRequestDef
- func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef
- func GenReqDefForUpdateSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForUpdateVpc() *def.HttpRequestDef
- func VpcClientBuilder() *http_client.HcHttpClientBuilder
- type VpcClient
- func (c *VpcClient) AddVpcExtendCidr(request *model.AddVpcExtendCidrRequest) (*model.AddVpcExtendCidrResponse, error)
- func (c *VpcClient) BatchCreateSubNetworkInterface(request *model.BatchCreateSubNetworkInterfaceRequest) (*model.BatchCreateSubNetworkInterfaceResponse, error)
- func (c *VpcClient) CreateAddressGroup(request *model.CreateAddressGroupRequest) (*model.CreateAddressGroupResponse, error)
- func (c *VpcClient) CreateSecurityGroup(request *model.CreateSecurityGroupRequest) (*model.CreateSecurityGroupResponse, error)
- func (c *VpcClient) CreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) (*model.CreateSecurityGroupRuleResponse, error)
- func (c *VpcClient) CreateSubNetworkInterface(request *model.CreateSubNetworkInterfaceRequest) (*model.CreateSubNetworkInterfaceResponse, error)
- func (c *VpcClient) CreateVpc(request *model.CreateVpcRequest) (*model.CreateVpcResponse, error)
- func (c *VpcClient) DeleteAddressGroup(request *model.DeleteAddressGroupRequest) (*model.DeleteAddressGroupResponse, error)
- func (c *VpcClient) DeleteIpAddressGroupForce(request *model.DeleteIpAddressGroupForceRequest) (*model.DeleteIpAddressGroupForceResponse, error)
- func (c *VpcClient) DeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) (*model.DeleteSecurityGroupResponse, error)
- func (c *VpcClient) DeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) (*model.DeleteSecurityGroupRuleResponse, error)
- func (c *VpcClient) DeleteSubNetworkInterface(request *model.DeleteSubNetworkInterfaceRequest) (*model.DeleteSubNetworkInterfaceResponse, error)
- func (c *VpcClient) DeleteVpc(request *model.DeleteVpcRequest) (*model.DeleteVpcResponse, error)
- func (c *VpcClient) ListAddressGroup(request *model.ListAddressGroupRequest) (*model.ListAddressGroupResponse, error)
- func (c *VpcClient) ListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) (*model.ListSecurityGroupRulesResponse, error)
- func (c *VpcClient) ListSecurityGroups(request *model.ListSecurityGroupsRequest) (*model.ListSecurityGroupsResponse, error)
- func (c *VpcClient) ListSubNetworkInterfaces(request *model.ListSubNetworkInterfacesRequest) (*model.ListSubNetworkInterfacesResponse, error)
- func (c *VpcClient) ListVpcs(request *model.ListVpcsRequest) (*model.ListVpcsResponse, error)
- func (c *VpcClient) MigrateSubNetworkInterface(request *model.MigrateSubNetworkInterfaceRequest) (*model.MigrateSubNetworkInterfaceResponse, error)
- func (c *VpcClient) RemoveVpcExtendCidr(request *model.RemoveVpcExtendCidrRequest) (*model.RemoveVpcExtendCidrResponse, error)
- func (c *VpcClient) ShowAddressGroup(request *model.ShowAddressGroupRequest) (*model.ShowAddressGroupResponse, error)
- func (c *VpcClient) ShowSecurityGroup(request *model.ShowSecurityGroupRequest) (*model.ShowSecurityGroupResponse, error)
- func (c *VpcClient) ShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) (*model.ShowSecurityGroupRuleResponse, error)
- func (c *VpcClient) ShowSubNetworkInterface(request *model.ShowSubNetworkInterfaceRequest) (*model.ShowSubNetworkInterfaceResponse, error)
- func (c *VpcClient) ShowSubNetworkInterfacesQuantity(request *model.ShowSubNetworkInterfacesQuantityRequest) (*model.ShowSubNetworkInterfacesQuantityResponse, error)
- func (c *VpcClient) ShowVpc(request *model.ShowVpcRequest) (*model.ShowVpcResponse, error)
- func (c *VpcClient) UpdateAddressGroup(request *model.UpdateAddressGroupRequest) (*model.UpdateAddressGroupResponse, error)
- func (c *VpcClient) UpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) (*model.UpdateSecurityGroupResponse, error)
- func (c *VpcClient) UpdateSubNetworkInterface(request *model.UpdateSubNetworkInterfaceRequest) (*model.UpdateSubNetworkInterfaceResponse, error)
- func (c *VpcClient) UpdateVpc(request *model.UpdateVpcRequest) (*model.UpdateVpcResponse, error)
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 (c *VpcClient) BatchCreateSubNetworkInterface(request *model.BatchCreateSubNetworkInterfaceRequest) (*model.BatchCreateSubNetworkInterfaceResponse, error)
批量创建辅助弹性网卡
func (*VpcClient) CreateAddressGroup ¶ added in v0.0.68
func (c *VpcClient) CreateAddressGroup(request *model.CreateAddressGroupRequest) (*model.CreateAddressGroupResponse, error)
创建地址组
func (*VpcClient) CreateSecurityGroup ¶
func (c *VpcClient) CreateSecurityGroup(request *model.CreateSecurityGroupRequest) (*model.CreateSecurityGroupResponse, error)
创建安全组
func (*VpcClient) CreateSecurityGroupRule ¶
func (c *VpcClient) CreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) (*model.CreateSecurityGroupRuleResponse, error)
创建安全组规则
func (*VpcClient) CreateSubNetworkInterface ¶
func (c *VpcClient) CreateSubNetworkInterface(request *model.CreateSubNetworkInterfaceRequest) (*model.CreateSubNetworkInterfaceResponse, error)
创建辅助弹性网卡
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 (c *VpcClient) DeleteIpAddressGroupForce(request *model.DeleteIpAddressGroupForceRequest) (*model.DeleteIpAddressGroupForceResponse, error)
强制删除地址组,删除的地址组与安全组规则关联时,会删除地址组与关联的安全组规则。
func (*VpcClient) DeleteSecurityGroup ¶
func (c *VpcClient) DeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) (*model.DeleteSecurityGroupResponse, error)
删除安全组
func (*VpcClient) DeleteSecurityGroupRule ¶
func (c *VpcClient) DeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) (*model.DeleteSecurityGroupRuleResponse, error)
删除安全组规则
func (*VpcClient) DeleteSubNetworkInterface ¶
func (c *VpcClient) DeleteSubNetworkInterface(request *model.DeleteSubNetworkInterfaceRequest) (*model.DeleteSubNetworkInterfaceResponse, error)
删除辅助弹性网卡
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 (c *VpcClient) ListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) (*model.ListSecurityGroupRulesResponse, error)
查询安全组规则列表
func (*VpcClient) ListSecurityGroups ¶
func (c *VpcClient) ListSecurityGroups(request *model.ListSecurityGroupsRequest) (*model.ListSecurityGroupsResponse, error)
查询某租户下的安全组列表
func (*VpcClient) ListSubNetworkInterfaces ¶
func (c *VpcClient) ListSubNetworkInterfaces(request *model.ListSubNetworkInterfacesRequest) (*model.ListSubNetworkInterfacesResponse, error)
查询辅助弹性网卡列表,单次查询最多返回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 (c *VpcClient) MigrateSubNetworkInterface(request *model.MigrateSubNetworkInterfaceRequest) (*model.MigrateSubNetworkInterfaceResponse, error)
批量迁移辅助弹性网卡
func (*VpcClient) RemoveVpcExtendCidr ¶ added in v0.0.68
func (c *VpcClient) RemoveVpcExtendCidr(request *model.RemoveVpcExtendCidrRequest) (*model.RemoveVpcExtendCidrResponse, error)
移除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 (c *VpcClient) ShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) (*model.ShowSecurityGroupRuleResponse, error)
查询单个安全组规则
func (*VpcClient) ShowSubNetworkInterface ¶
func (c *VpcClient) ShowSubNetworkInterface(request *model.ShowSubNetworkInterfaceRequest) (*model.ShowSubNetworkInterfaceResponse, error)
查询辅助弹性网卡详情
func (*VpcClient) ShowSubNetworkInterfacesQuantity ¶
func (c *VpcClient) ShowSubNetworkInterfacesQuantity(request *model.ShowSubNetworkInterfacesQuantityRequest) (*model.ShowSubNetworkInterfacesQuantityResponse, error)
查询辅助弹性网卡数目
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 (c *VpcClient) UpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) (*model.UpdateSecurityGroupResponse, error)
更新安全组
func (*VpcClient) UpdateSubNetworkInterface ¶
func (c *VpcClient) UpdateSubNetworkInterface(request *model.UpdateSubNetworkInterfaceRequest) (*model.UpdateSubNetworkInterfaceResponse, error)
更新辅助弹性网卡
func (*VpcClient) UpdateVpc ¶ added in v0.0.68
func (c *VpcClient) UpdateVpc(request *model.UpdateVpcRequest) (*model.UpdateVpcResponse, error)
更新vpc
Click to show internal directories.
Click to hide internal directories.