Documentation ¶
Index ¶
- func GenReqDefForBatchCreateSubNetworkInterfaceV3(request *model.BatchCreateSubNetworkInterfaceV3Request) *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroup(request *model.CreateSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) *def.HttpRequestDef
- func GenReqDefForCreateSubNetworkInterface(request *model.CreateSubNetworkInterfaceRequest) *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) *def.HttpRequestDef
- func GenReqDefForDeleteSubNetworkInterface(request *model.DeleteSubNetworkInterfaceRequest) *def.HttpRequestDef
- func GenReqDefForListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) *def.HttpRequestDef
- func GenReqDefForListSecurityGroups(request *model.ListSecurityGroupsRequest) *def.HttpRequestDef
- func GenReqDefForListSubNetworkInterfaces(request *model.ListSubNetworkInterfacesRequest) *def.HttpRequestDef
- func GenReqDefForShowSecurityGroup(request *model.ShowSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) *def.HttpRequestDef
- func GenReqDefForShowSubNetworkInterface(request *model.ShowSubNetworkInterfaceRequest) *def.HttpRequestDef
- func GenReqDefForShowSubNetworkInterfacesQuantity(request *model.ShowSubNetworkInterfacesQuantityRequest) *def.HttpRequestDef
- func GenReqDefForUpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForUpdateSubNetworkInterface(request *model.UpdateSubNetworkInterfaceRequest) *def.HttpRequestDef
- func GenRespForBatchCreateSubNetworkInterfaceV3() (*model.BatchCreateSubNetworkInterfaceV3Response, *def.HttpResponseDef)
- func GenRespForCreateSecurityGroup() (*model.CreateSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForCreateSecurityGroupRule() (*model.CreateSecurityGroupRuleResponse, *def.HttpResponseDef)
- func GenRespForCreateSubNetworkInterface() (*model.CreateSubNetworkInterfaceResponse, *def.HttpResponseDef)
- func GenRespForDeleteSecurityGroup() (*model.DeleteSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForDeleteSecurityGroupRule() (*model.DeleteSecurityGroupRuleResponse, *def.HttpResponseDef)
- func GenRespForDeleteSubNetworkInterface() (*model.DeleteSubNetworkInterfaceResponse, *def.HttpResponseDef)
- func GenRespForListSecurityGroupRules() (*model.ListSecurityGroupRulesResponse, *def.HttpResponseDef)
- func GenRespForListSecurityGroups() (*model.ListSecurityGroupsResponse, *def.HttpResponseDef)
- func GenRespForListSubNetworkInterfaces() (*model.ListSubNetworkInterfacesResponse, *def.HttpResponseDef)
- func GenRespForShowSecurityGroup() (*model.ShowSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForShowSecurityGroupRule() (*model.ShowSecurityGroupRuleResponse, *def.HttpResponseDef)
- func GenRespForShowSubNetworkInterface() (*model.ShowSubNetworkInterfaceResponse, *def.HttpResponseDef)
- func GenRespForShowSubNetworkInterfacesQuantity() (*model.ShowSubNetworkInterfacesQuantityResponse, *def.HttpResponseDef)
- func GenRespForUpdateSecurityGroup() (*model.UpdateSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForUpdateSubNetworkInterface() (*model.UpdateSubNetworkInterfaceResponse, *def.HttpResponseDef)
- func VpcClientBuilder() *http_client.HcHttpClientBuilder
- type VpcClient
- func (c *VpcClient) BatchCreateSubNetworkInterfaceV3(request *model.BatchCreateSubNetworkInterfaceV3Request) (*model.BatchCreateSubNetworkInterfaceV3Response, 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 GenReqDefForBatchCreateSubNetworkInterfaceV3 ¶
func GenReqDefForBatchCreateSubNetworkInterfaceV3(request *model.BatchCreateSubNetworkInterfaceV3Request) *def.HttpRequestDef
func GenReqDefForCreateSecurityGroup ¶
func GenReqDefForCreateSecurityGroup(request *model.CreateSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForCreateSecurityGroupRule ¶
func GenReqDefForCreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) *def.HttpRequestDef
func GenReqDefForCreateSubNetworkInterface ¶
func GenReqDefForCreateSubNetworkInterface(request *model.CreateSubNetworkInterfaceRequest) *def.HttpRequestDef
func GenReqDefForDeleteSecurityGroup ¶
func GenReqDefForDeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForDeleteSecurityGroupRule ¶
func GenReqDefForDeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) *def.HttpRequestDef
func GenReqDefForDeleteSubNetworkInterface ¶
func GenReqDefForDeleteSubNetworkInterface(request *model.DeleteSubNetworkInterfaceRequest) *def.HttpRequestDef
func GenReqDefForListSecurityGroupRules ¶
func GenReqDefForListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) *def.HttpRequestDef
func GenReqDefForListSecurityGroups ¶
func GenReqDefForListSecurityGroups(request *model.ListSecurityGroupsRequest) *def.HttpRequestDef
func GenReqDefForListSubNetworkInterfaces ¶
func GenReqDefForListSubNetworkInterfaces(request *model.ListSubNetworkInterfacesRequest) *def.HttpRequestDef
func GenReqDefForShowSecurityGroup ¶
func GenReqDefForShowSecurityGroup(request *model.ShowSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForShowSecurityGroupRule ¶
func GenReqDefForShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) *def.HttpRequestDef
func GenReqDefForShowSubNetworkInterface ¶
func GenReqDefForShowSubNetworkInterface(request *model.ShowSubNetworkInterfaceRequest) *def.HttpRequestDef
func GenReqDefForShowSubNetworkInterfacesQuantity ¶
func GenReqDefForShowSubNetworkInterfacesQuantity(request *model.ShowSubNetworkInterfacesQuantityRequest) *def.HttpRequestDef
func GenReqDefForUpdateSecurityGroup ¶
func GenReqDefForUpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForUpdateSubNetworkInterface ¶
func GenReqDefForUpdateSubNetworkInterface(request *model.UpdateSubNetworkInterfaceRequest) *def.HttpRequestDef
func GenRespForBatchCreateSubNetworkInterfaceV3 ¶
func GenRespForBatchCreateSubNetworkInterfaceV3() (*model.BatchCreateSubNetworkInterfaceV3Response, *def.HttpResponseDef)
func GenRespForCreateSecurityGroup ¶
func GenRespForCreateSecurityGroup() (*model.CreateSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForCreateSecurityGroupRule ¶
func GenRespForCreateSecurityGroupRule() (*model.CreateSecurityGroupRuleResponse, *def.HttpResponseDef)
func GenRespForCreateSubNetworkInterface ¶
func GenRespForCreateSubNetworkInterface() (*model.CreateSubNetworkInterfaceResponse, *def.HttpResponseDef)
func GenRespForDeleteSecurityGroup ¶
func GenRespForDeleteSecurityGroup() (*model.DeleteSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForDeleteSecurityGroupRule ¶
func GenRespForDeleteSecurityGroupRule() (*model.DeleteSecurityGroupRuleResponse, *def.HttpResponseDef)
func GenRespForDeleteSubNetworkInterface ¶
func GenRespForDeleteSubNetworkInterface() (*model.DeleteSubNetworkInterfaceResponse, *def.HttpResponseDef)
func GenRespForListSecurityGroupRules ¶
func GenRespForListSecurityGroupRules() (*model.ListSecurityGroupRulesResponse, *def.HttpResponseDef)
func GenRespForListSecurityGroups ¶
func GenRespForListSecurityGroups() (*model.ListSecurityGroupsResponse, *def.HttpResponseDef)
func GenRespForListSubNetworkInterfaces ¶
func GenRespForListSubNetworkInterfaces() (*model.ListSubNetworkInterfacesResponse, *def.HttpResponseDef)
func GenRespForShowSecurityGroup ¶
func GenRespForShowSecurityGroup() (*model.ShowSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForShowSecurityGroupRule ¶
func GenRespForShowSecurityGroupRule() (*model.ShowSecurityGroupRuleResponse, *def.HttpResponseDef)
func GenRespForShowSubNetworkInterface ¶
func GenRespForShowSubNetworkInterface() (*model.ShowSubNetworkInterfaceResponse, *def.HttpResponseDef)
func GenRespForShowSubNetworkInterfacesQuantity ¶
func GenRespForShowSubNetworkInterfacesQuantity() (*model.ShowSubNetworkInterfacesQuantityResponse, *def.HttpResponseDef)
func GenRespForUpdateSecurityGroup ¶
func GenRespForUpdateSecurityGroup() (*model.UpdateSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForUpdateSubNetworkInterface ¶
func GenRespForUpdateSubNetworkInterface() (*model.UpdateSubNetworkInterfaceResponse, *def.HttpResponseDef)
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) BatchCreateSubNetworkInterfaceV3 ¶
func (c *VpcClient) BatchCreateSubNetworkInterfaceV3(request *model.BatchCreateSubNetworkInterfaceV3Request) (*model.BatchCreateSubNetworkInterfaceV3Response, 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.