client

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VpcClient

type VpcClient struct {
	core.JDCloudClient
}

func NewVpcClient

func NewVpcClient(credential *core.Credential) *VpcClient

func (*VpcClient) AddNetworkAclRules added in v1.0.11

func (c *VpcClient) AddNetworkAclRules(request *vpc.AddNetworkAclRulesRequest) (*vpc.AddNetworkAclRulesResponse, error)

添加networkAcl规则接口

func (*VpcClient) AddNetworkSecurityGroupRules added in v1.0.5

添加安全组规则

func (*VpcClient) AddRouteTableRules added in v1.0.11

func (c *VpcClient) AddRouteTableRules(request *vpc.AddRouteTableRulesRequest) (*vpc.AddRouteTableRulesResponse, error)

添加路由表规则

func (*VpcClient) AssignSecondaryIps

func (c *VpcClient) AssignSecondaryIps(request *vpc.AssignSecondaryIpsRequest) (*vpc.AssignSecondaryIpsResponse, error)

给网卡分配secondaryIp接口

func (*VpcClient) AssociateElasticIp

func (c *VpcClient) AssociateElasticIp(request *vpc.AssociateElasticIpRequest) (*vpc.AssociateElasticIpResponse, error)

给网卡绑定弹性Ip接口

func (*VpcClient) AssociateNetworkAcl added in v1.0.11

func (c *VpcClient) AssociateNetworkAcl(request *vpc.AssociateNetworkAclRequest) (*vpc.AssociateNetworkAclResponse, error)

给子网绑定networkAcl接口

func (*VpcClient) AssociateRouteTable added in v1.0.11

func (c *VpcClient) AssociateRouteTable(request *vpc.AssociateRouteTableRequest) (*vpc.AssociateRouteTableResponse, error)

路由表绑定子网接口

func (*VpcClient) CreateElasticIps

func (c *VpcClient) CreateElasticIps(request *vpc.CreateElasticIpsRequest) (*vpc.CreateElasticIpsResponse, error)

创建一个或者多个弹性Ip

func (*VpcClient) CreateNetworkAcl added in v1.0.11

func (c *VpcClient) CreateNetworkAcl(request *vpc.CreateNetworkAclRequest) (*vpc.CreateNetworkAclResponse, error)

创建networkAcl接口

func (*VpcClient) CreateNetworkInterface added in v1.0.5

func (c *VpcClient) CreateNetworkInterface(request *vpc.CreateNetworkInterfaceRequest) (*vpc.CreateNetworkInterfaceResponse, error)

创建网卡接口,只能创建辅助网卡

func (*VpcClient) CreateNetworkSecurityGroup added in v1.0.5

func (c *VpcClient) CreateNetworkSecurityGroup(request *vpc.CreateNetworkSecurityGroupRequest) (*vpc.CreateNetworkSecurityGroupResponse, error)

创建安全组

func (*VpcClient) CreateRouteTable added in v1.0.11

func (c *VpcClient) CreateRouteTable(request *vpc.CreateRouteTableRequest) (*vpc.CreateRouteTableResponse, error)

创建路由表

func (*VpcClient) CreateSubnet added in v1.0.11

func (c *VpcClient) CreateSubnet(request *vpc.CreateSubnetRequest) (*vpc.CreateSubnetResponse, error)

创建子网

func (*VpcClient) CreateVpc added in v1.0.9

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

创建私有网络

func (*VpcClient) CreateVpcPeering

func (c *VpcClient) CreateVpcPeering(request *vpc.CreateVpcPeeringRequest) (*vpc.CreateVpcPeeringResponse, error)

创建VpcPeering接口

func (*VpcClient) DeleteElasticIp

func (c *VpcClient) DeleteElasticIp(request *vpc.DeleteElasticIpRequest) (*vpc.DeleteElasticIpResponse, error)

删除弹性Ip

func (*VpcClient) DeleteNetworkAcl added in v1.0.11

func (c *VpcClient) DeleteNetworkAcl(request *vpc.DeleteNetworkAclRequest) (*vpc.DeleteNetworkAclResponse, error)

删除networkAcl接口

func (*VpcClient) DeleteNetworkInterface added in v1.0.5

func (c *VpcClient) DeleteNetworkInterface(request *vpc.DeleteNetworkInterfaceRequest) (*vpc.DeleteNetworkInterfaceResponse, error)

删除弹性网卡接口

func (*VpcClient) DeleteNetworkSecurityGroup added in v1.0.5

func (c *VpcClient) DeleteNetworkSecurityGroup(request *vpc.DeleteNetworkSecurityGroupRequest) (*vpc.DeleteNetworkSecurityGroupResponse, error)

删除安全组

func (*VpcClient) DeleteRouteTable added in v1.0.11

func (c *VpcClient) DeleteRouteTable(request *vpc.DeleteRouteTableRequest) (*vpc.DeleteRouteTableResponse, error)

删除路由表

func (*VpcClient) DeleteSubnet added in v1.0.11

func (c *VpcClient) DeleteSubnet(request *vpc.DeleteSubnetRequest) (*vpc.DeleteSubnetResponse, error)

删除子网

func (*VpcClient) DeleteVpc added in v1.0.9

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

删除私有网络

func (*VpcClient) DeleteVpcPeering

func (c *VpcClient) DeleteVpcPeering(request *vpc.DeleteVpcPeeringRequest) (*vpc.DeleteVpcPeeringResponse, error)

删除VpcPeering接口

func (*VpcClient) DescribeElasticIp

func (c *VpcClient) DescribeElasticIp(request *vpc.DescribeElasticIpRequest) (*vpc.DescribeElasticIpResponse, error)

ElasticIp资源信息详情

func (*VpcClient) DescribeElasticIps

func (c *VpcClient) DescribeElasticIps(request *vpc.DescribeElasticIpsRequest) (*vpc.DescribeElasticIpsResponse, error)

查询弹性ip列表

func (*VpcClient) DescribeNetworkAcl added in v1.0.11

func (c *VpcClient) DescribeNetworkAcl(request *vpc.DescribeNetworkAclRequest) (*vpc.DescribeNetworkAclResponse, error)

查询networkAcl资源详情

func (*VpcClient) DescribeNetworkAcls added in v1.0.11

func (c *VpcClient) DescribeNetworkAcls(request *vpc.DescribeNetworkAclsRequest) (*vpc.DescribeNetworkAclsResponse, error)

查询Acl列表

func (*VpcClient) DescribeNetworkInterface added in v1.0.5

func (c *VpcClient) DescribeNetworkInterface(request *vpc.DescribeNetworkInterfaceRequest) (*vpc.DescribeNetworkInterfaceResponse, error)

查询弹性网卡信息详情

func (*VpcClient) DescribeNetworkInterfaces added in v1.0.5

func (c *VpcClient) DescribeNetworkInterfaces(request *vpc.DescribeNetworkInterfacesRequest) (*vpc.DescribeNetworkInterfacesResponse, error)

查询弹性网卡列表

func (*VpcClient) DescribeNetworkSecurityGroup

查询安全组信息详情

func (*VpcClient) DescribeNetworkSecurityGroups

查询安全组列表

func (*VpcClient) DescribeQuota added in v1.0.11

func (c *VpcClient) DescribeQuota(request *vpc.DescribeQuotaRequest) (*vpc.DescribeQuotaResponse, error)

查询配额信息

func (*VpcClient) DescribeRouteTable added in v1.0.11

func (c *VpcClient) DescribeRouteTable(request *vpc.DescribeRouteTableRequest) (*vpc.DescribeRouteTableResponse, error)

查询路由表信息详情

func (*VpcClient) DescribeRouteTables added in v1.0.11

func (c *VpcClient) DescribeRouteTables(request *vpc.DescribeRouteTablesRequest) (*vpc.DescribeRouteTablesResponse, error)

查询路由表列表

func (*VpcClient) DescribeSubnet

func (c *VpcClient) DescribeSubnet(request *vpc.DescribeSubnetRequest) (*vpc.DescribeSubnetResponse, error)

查询子网信息详情

func (*VpcClient) DescribeSubnets

func (c *VpcClient) DescribeSubnets(request *vpc.DescribeSubnetsRequest) (*vpc.DescribeSubnetsResponse, error)

查询子网列表

func (*VpcClient) DescribeVpc

func (c *VpcClient) DescribeVpc(request *vpc.DescribeVpcRequest) (*vpc.DescribeVpcResponse, error)

查询Vpc信息详情

func (*VpcClient) DescribeVpcPeering

func (c *VpcClient) DescribeVpcPeering(request *vpc.DescribeVpcPeeringRequest) (*vpc.DescribeVpcPeeringResponse, error)

查询VpcPeering资源详情

func (*VpcClient) DescribeVpcPeerings

func (c *VpcClient) DescribeVpcPeerings(request *vpc.DescribeVpcPeeringsRequest) (*vpc.DescribeVpcPeeringsResponse, error)

查询VpcPeering资源列表

func (*VpcClient) DescribeVpcs

func (c *VpcClient) DescribeVpcs(request *vpc.DescribeVpcsRequest) (*vpc.DescribeVpcsResponse, error)

查询私有网络列表

func (*VpcClient) DisassociateElasticIp

func (c *VpcClient) DisassociateElasticIp(request *vpc.DisassociateElasticIpRequest) (*vpc.DisassociateElasticIpResponse, error)

给网卡解绑弹性Ip接口

func (*VpcClient) DisassociateNetworkAcl added in v1.0.11

func (c *VpcClient) DisassociateNetworkAcl(request *vpc.DisassociateNetworkAclRequest) (*vpc.DisassociateNetworkAclResponse, error)

给子网解绑NetworkAcl接口

func (*VpcClient) DisassociateRouteTable added in v1.0.9

func (c *VpcClient) DisassociateRouteTable(request *vpc.DisassociateRouteTableRequest) (*vpc.DisassociateRouteTableResponse, error)

给路由表解绑子网接口

func (*VpcClient) ModifyElasticIp added in v1.2.1

func (c *VpcClient) ModifyElasticIp(request *vpc.ModifyElasticIpRequest) (*vpc.ModifyElasticIpResponse, error)

修改弹性IP

func (*VpcClient) ModifyNetworkAcl added in v1.0.11

func (c *VpcClient) ModifyNetworkAcl(request *vpc.ModifyNetworkAclRequest) (*vpc.ModifyNetworkAclResponse, error)

修改networkAcl接口

func (*VpcClient) ModifyNetworkAclRules added in v1.0.11

func (c *VpcClient) ModifyNetworkAclRules(request *vpc.ModifyNetworkAclRulesRequest) (*vpc.ModifyNetworkAclRulesResponse, error)

修改networkAcl接口

func (*VpcClient) ModifyNetworkInterface added in v1.0.5

func (c *VpcClient) ModifyNetworkInterface(request *vpc.ModifyNetworkInterfaceRequest) (*vpc.ModifyNetworkInterfaceResponse, error)

修改弹性网卡接口

func (*VpcClient) ModifyNetworkSecurityGroup added in v1.0.5

func (c *VpcClient) ModifyNetworkSecurityGroup(request *vpc.ModifyNetworkSecurityGroupRequest) (*vpc.ModifyNetworkSecurityGroupResponse, error)

修改安全组属性

func (*VpcClient) ModifyNetworkSecurityGroupRules added in v1.0.5

修改安全组规则

func (*VpcClient) ModifyRouteTable added in v1.0.11

func (c *VpcClient) ModifyRouteTable(request *vpc.ModifyRouteTableRequest) (*vpc.ModifyRouteTableResponse, error)

修改路由表属性

func (*VpcClient) ModifyRouteTableRules added in v1.0.11

func (c *VpcClient) ModifyRouteTableRules(request *vpc.ModifyRouteTableRulesRequest) (*vpc.ModifyRouteTableRulesResponse, error)

修改路由表规则

func (*VpcClient) ModifySubnet added in v1.0.11

func (c *VpcClient) ModifySubnet(request *vpc.ModifySubnetRequest) (*vpc.ModifySubnetResponse, error)

修改子网接口

func (*VpcClient) ModifyVpc added in v1.0.11

func (c *VpcClient) ModifyVpc(request *vpc.ModifyVpcRequest) (*vpc.ModifyVpcResponse, error)

修改私有网络接口

func (*VpcClient) ModifyVpcPeering

func (c *VpcClient) ModifyVpcPeering(request *vpc.ModifyVpcPeeringRequest) (*vpc.ModifyVpcPeeringResponse, error)

修改VpcPeering接口

func (*VpcClient) RemoveNetworkAclRules added in v1.0.11

func (c *VpcClient) RemoveNetworkAclRules(request *vpc.RemoveNetworkAclRulesRequest) (*vpc.RemoveNetworkAclRulesResponse, error)

移除networkAcl规则

func (*VpcClient) RemoveNetworkSecurityGroupRules added in v1.0.5

移除安全组规则

func (*VpcClient) RemoveRouteTableRules added in v1.0.11

func (c *VpcClient) RemoveRouteTableRules(request *vpc.RemoveRouteTableRulesRequest) (*vpc.RemoveRouteTableRulesResponse, error)

移除路由表规则

func (*VpcClient) SetConfig

func (c *VpcClient) SetConfig(config *core.Config)

func (*VpcClient) SetLogger

func (c *VpcClient) SetLogger(logger core.Logger)

func (*VpcClient) UnassignSecondaryIps

func (c *VpcClient) UnassignSecondaryIps(request *vpc.UnassignSecondaryIpsRequest) (*vpc.UnassignSecondaryIpsResponse, error)

给网卡删除secondaryIp接口

Jump to

Keyboard shortcuts

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