Documentation ¶
Index ¶
- func GenReqDefForBatchCreateSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroup() *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroupRule() *def.HttpRequestDef
- func GenReqDefForCreateSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroup() *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroupRule() *def.HttpRequestDef
- func GenReqDefForDeleteSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForListSecurityGroupRules() *def.HttpRequestDef
- func GenReqDefForListSecurityGroups() *def.HttpRequestDef
- func GenReqDefForListSubNetworkInterfaces() *def.HttpRequestDef
- func GenReqDefForShowSecurityGroup() *def.HttpRequestDef
- func GenReqDefForShowSecurityGroupRule() *def.HttpRequestDef
- func GenReqDefForShowSubNetworkInterface() *def.HttpRequestDef
- func GenReqDefForShowSubNetworkInterfacesQuantity() *def.HttpRequestDef
- func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef
- func GenReqDefForUpdateSubNetworkInterface() *def.HttpRequestDef
- func VpcClientBuilder() *http_client.HcHttpClientBuilder
- type VpcClient
- func (c *VpcClient) BatchCreateSubNetworkInterface(request *model.BatchCreateSubNetworkInterfaceRequest) (*model.BatchCreateSubNetworkInterfaceResponse, 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) 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) 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) 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) UpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) (*model.UpdateSecurityGroupResponse, error)
- func (c *VpcClient) UpdateSubNetworkInterface(request *model.UpdateSubNetworkInterfaceRequest) (*model.UpdateSubNetworkInterfaceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForBatchCreateSubNetworkInterface ¶
func GenReqDefForBatchCreateSubNetworkInterface() *def.HttpRequestDef
func GenReqDefForCreateSecurityGroup ¶
func GenReqDefForCreateSecurityGroup() *def.HttpRequestDef
func GenReqDefForCreateSecurityGroupRule ¶
func GenReqDefForCreateSecurityGroupRule() *def.HttpRequestDef
func GenReqDefForCreateSubNetworkInterface ¶
func GenReqDefForCreateSubNetworkInterface() *def.HttpRequestDef
func GenReqDefForDeleteSecurityGroup ¶
func GenReqDefForDeleteSecurityGroup() *def.HttpRequestDef
func GenReqDefForDeleteSecurityGroupRule ¶
func GenReqDefForDeleteSecurityGroupRule() *def.HttpRequestDef
func GenReqDefForDeleteSubNetworkInterface ¶
func GenReqDefForDeleteSubNetworkInterface() *def.HttpRequestDef
func GenReqDefForListSecurityGroupRules ¶
func GenReqDefForListSecurityGroupRules() *def.HttpRequestDef
func GenReqDefForListSecurityGroups ¶
func GenReqDefForListSecurityGroups() *def.HttpRequestDef
func GenReqDefForListSubNetworkInterfaces ¶
func GenReqDefForListSubNetworkInterfaces() *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 GenReqDefForUpdateSecurityGroup ¶
func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef
func GenReqDefForUpdateSubNetworkInterface ¶
func GenReqDefForUpdateSubNetworkInterface() *def.HttpRequestDef
func VpcClientBuilder ¶
func VpcClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type VpcClient ¶
type VpcClient struct {
// contains filtered or unexported fields
}
func NewVpcClient ¶
func NewVpcClient(hcClient *http_client.HcHttpClient) *VpcClient
func (*VpcClient) BatchCreateSubNetworkInterface ¶
func (c *VpcClient) BatchCreateSubNetworkInterface(request *model.BatchCreateSubNetworkInterfaceRequest) (*model.BatchCreateSubNetworkInterfaceResponse, 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) 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) 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) 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) UpdateSecurityGroup ¶
func (c *VpcClient) UpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) (*model.UpdateSecurityGroupResponse, error)
更新安全组
func (*VpcClient) UpdateSubNetworkInterface ¶
func (c *VpcClient) UpdateSubNetworkInterface(request *model.UpdateSubNetworkInterfaceRequest) (*model.UpdateSubNetworkInterfaceResponse, error)
更新辅助弹性网卡
Click to show internal directories.
Click to hide internal directories.