v2

package
v0.0.86 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAcceptVpcPeering

func GenReqDefForAcceptVpcPeering() *def.HttpRequestDef

func GenReqDefForAssociateRouteTable added in v0.0.55

func GenReqDefForAssociateRouteTable() *def.HttpRequestDef

func GenReqDefForBatchCreateSubnetTags

func GenReqDefForBatchCreateSubnetTags() *def.HttpRequestDef

func GenReqDefForBatchCreateVpcTags

func GenReqDefForBatchCreateVpcTags() *def.HttpRequestDef

func GenReqDefForBatchDeleteSubnetTags

func GenReqDefForBatchDeleteSubnetTags() *def.HttpRequestDef

func GenReqDefForBatchDeleteVpcTags

func GenReqDefForBatchDeleteVpcTags() *def.HttpRequestDef

func GenReqDefForCreatePort

func GenReqDefForCreatePort() *def.HttpRequestDef

func GenReqDefForCreatePrivateip

func GenReqDefForCreatePrivateip() *def.HttpRequestDef

func GenReqDefForCreateRouteTable added in v0.0.55

func GenReqDefForCreateRouteTable() *def.HttpRequestDef

func GenReqDefForCreateSecurityGroup

func GenReqDefForCreateSecurityGroup() *def.HttpRequestDef

func GenReqDefForCreateSecurityGroupRule

func GenReqDefForCreateSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForCreateSubnet

func GenReqDefForCreateSubnet() *def.HttpRequestDef

func GenReqDefForCreateSubnetTag

func GenReqDefForCreateSubnetTag() *def.HttpRequestDef

func GenReqDefForCreateVpc

func GenReqDefForCreateVpc() *def.HttpRequestDef

func GenReqDefForCreateVpcPeering

func GenReqDefForCreateVpcPeering() *def.HttpRequestDef

func GenReqDefForCreateVpcResourceTag

func GenReqDefForCreateVpcResourceTag() *def.HttpRequestDef

func GenReqDefForCreateVpcRoute

func GenReqDefForCreateVpcRoute() *def.HttpRequestDef

func GenReqDefForDeletePort

func GenReqDefForDeletePort() *def.HttpRequestDef

func GenReqDefForDeletePrivateip

func GenReqDefForDeletePrivateip() *def.HttpRequestDef

func GenReqDefForDeleteRouteTable added in v0.0.55

func GenReqDefForDeleteRouteTable() *def.HttpRequestDef

func GenReqDefForDeleteSecurityGroup

func GenReqDefForDeleteSecurityGroup() *def.HttpRequestDef

func GenReqDefForDeleteSecurityGroupRule

func GenReqDefForDeleteSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForDeleteSubnet

func GenReqDefForDeleteSubnet() *def.HttpRequestDef

func GenReqDefForDeleteSubnetTag

func GenReqDefForDeleteSubnetTag() *def.HttpRequestDef

func GenReqDefForDeleteVpc

func GenReqDefForDeleteVpc() *def.HttpRequestDef

func GenReqDefForDeleteVpcPeering

func GenReqDefForDeleteVpcPeering() *def.HttpRequestDef

func GenReqDefForDeleteVpcRoute

func GenReqDefForDeleteVpcRoute() *def.HttpRequestDef

func GenReqDefForDeleteVpcTag

func GenReqDefForDeleteVpcTag() *def.HttpRequestDef

func GenReqDefForDisassociateRouteTable added in v0.0.55

func GenReqDefForDisassociateRouteTable() *def.HttpRequestDef

func GenReqDefForListPorts

func GenReqDefForListPorts() *def.HttpRequestDef

func GenReqDefForListPrivateips

func GenReqDefForListPrivateips() *def.HttpRequestDef

func GenReqDefForListRouteTables added in v0.0.55

func GenReqDefForListRouteTables() *def.HttpRequestDef

func GenReqDefForListSecurityGroupRules

func GenReqDefForListSecurityGroupRules() *def.HttpRequestDef

func GenReqDefForListSecurityGroups

func GenReqDefForListSecurityGroups() *def.HttpRequestDef

func GenReqDefForListSubnetTags

func GenReqDefForListSubnetTags() *def.HttpRequestDef

func GenReqDefForListSubnets

func GenReqDefForListSubnets() *def.HttpRequestDef

func GenReqDefForListSubnetsByTags

func GenReqDefForListSubnetsByTags() *def.HttpRequestDef

func GenReqDefForListVpcPeerings

func GenReqDefForListVpcPeerings() *def.HttpRequestDef

func GenReqDefForListVpcRoutes

func GenReqDefForListVpcRoutes() *def.HttpRequestDef

func GenReqDefForListVpcTags

func GenReqDefForListVpcTags() *def.HttpRequestDef

func GenReqDefForListVpcs

func GenReqDefForListVpcs() *def.HttpRequestDef

func GenReqDefForListVpcsByTags

func GenReqDefForListVpcsByTags() *def.HttpRequestDef

func GenReqDefForNeutronAddFirewallRule

func GenReqDefForNeutronAddFirewallRule() *def.HttpRequestDef

func GenReqDefForNeutronCreateFirewallGroup

func GenReqDefForNeutronCreateFirewallGroup() *def.HttpRequestDef

func GenReqDefForNeutronCreateFirewallPolicy

func GenReqDefForNeutronCreateFirewallPolicy() *def.HttpRequestDef

func GenReqDefForNeutronCreateFirewallRule

func GenReqDefForNeutronCreateFirewallRule() *def.HttpRequestDef

func GenReqDefForNeutronCreateSecurityGroup

func GenReqDefForNeutronCreateSecurityGroup() *def.HttpRequestDef

func GenReqDefForNeutronCreateSecurityGroupRule

func GenReqDefForNeutronCreateSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForNeutronDeleteFirewallGroup

func GenReqDefForNeutronDeleteFirewallGroup() *def.HttpRequestDef

func GenReqDefForNeutronDeleteFirewallPolicy

func GenReqDefForNeutronDeleteFirewallPolicy() *def.HttpRequestDef

func GenReqDefForNeutronDeleteFirewallRule

func GenReqDefForNeutronDeleteFirewallRule() *def.HttpRequestDef

func GenReqDefForNeutronDeleteSecurityGroup

func GenReqDefForNeutronDeleteSecurityGroup() *def.HttpRequestDef

func GenReqDefForNeutronDeleteSecurityGroupRule

func GenReqDefForNeutronDeleteSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForNeutronListFirewallGroups

func GenReqDefForNeutronListFirewallGroups() *def.HttpRequestDef

func GenReqDefForNeutronListFirewallPolicies

func GenReqDefForNeutronListFirewallPolicies() *def.HttpRequestDef

func GenReqDefForNeutronListFirewallRules

func GenReqDefForNeutronListFirewallRules() *def.HttpRequestDef

func GenReqDefForNeutronListSecurityGroupRules

func GenReqDefForNeutronListSecurityGroupRules() *def.HttpRequestDef

func GenReqDefForNeutronListSecurityGroups

func GenReqDefForNeutronListSecurityGroups() *def.HttpRequestDef

func GenReqDefForNeutronRemoveFirewallRule

func GenReqDefForNeutronRemoveFirewallRule() *def.HttpRequestDef

func GenReqDefForNeutronShowFirewallGroup

func GenReqDefForNeutronShowFirewallGroup() *def.HttpRequestDef

func GenReqDefForNeutronShowFirewallPolicy

func GenReqDefForNeutronShowFirewallPolicy() *def.HttpRequestDef

func GenReqDefForNeutronShowFirewallRule

func GenReqDefForNeutronShowFirewallRule() *def.HttpRequestDef

func GenReqDefForNeutronShowSecurityGroup

func GenReqDefForNeutronShowSecurityGroup() *def.HttpRequestDef

func GenReqDefForNeutronShowSecurityGroupRule

func GenReqDefForNeutronShowSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForNeutronUpdateFirewallGroup

func GenReqDefForNeutronUpdateFirewallGroup() *def.HttpRequestDef

func GenReqDefForNeutronUpdateFirewallPolicy

func GenReqDefForNeutronUpdateFirewallPolicy() *def.HttpRequestDef

func GenReqDefForNeutronUpdateFirewallRule

func GenReqDefForNeutronUpdateFirewallRule() *def.HttpRequestDef

func GenReqDefForNeutronUpdateSecurityGroup

func GenReqDefForNeutronUpdateSecurityGroup() *def.HttpRequestDef

func GenReqDefForRejectVpcPeering

func GenReqDefForRejectVpcPeering() *def.HttpRequestDef

func GenReqDefForShowNetworkIpAvailabilities

func GenReqDefForShowNetworkIpAvailabilities() *def.HttpRequestDef

func GenReqDefForShowPort

func GenReqDefForShowPort() *def.HttpRequestDef

func GenReqDefForShowPrivateip

func GenReqDefForShowPrivateip() *def.HttpRequestDef

func GenReqDefForShowQuota

func GenReqDefForShowQuota() *def.HttpRequestDef

func GenReqDefForShowRouteTable added in v0.0.55

func GenReqDefForShowRouteTable() *def.HttpRequestDef

func GenReqDefForShowSecurityGroup

func GenReqDefForShowSecurityGroup() *def.HttpRequestDef

func GenReqDefForShowSecurityGroupRule

func GenReqDefForShowSecurityGroupRule() *def.HttpRequestDef

func GenReqDefForShowSubnet

func GenReqDefForShowSubnet() *def.HttpRequestDef

func GenReqDefForShowSubnetTags

func GenReqDefForShowSubnetTags() *def.HttpRequestDef

func GenReqDefForShowVpc

func GenReqDefForShowVpc() *def.HttpRequestDef

func GenReqDefForShowVpcPeering

func GenReqDefForShowVpcPeering() *def.HttpRequestDef

func GenReqDefForShowVpcRoute

func GenReqDefForShowVpcRoute() *def.HttpRequestDef

func GenReqDefForShowVpcTags

func GenReqDefForShowVpcTags() *def.HttpRequestDef

func GenReqDefForUpdatePort

func GenReqDefForUpdatePort() *def.HttpRequestDef

func GenReqDefForUpdateRouteTable added in v0.0.55

func GenReqDefForUpdateRouteTable() *def.HttpRequestDef

func GenReqDefForUpdateSubnet

func GenReqDefForUpdateSubnet() *def.HttpRequestDef

func GenReqDefForUpdateVpc

func GenReqDefForUpdateVpc() *def.HttpRequestDef

func GenReqDefForUpdateVpcPeering

func GenReqDefForUpdateVpcPeering() *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) AcceptVpcPeering

func (c *VpcClient) AcceptVpcPeering(request *model.AcceptVpcPeeringRequest) (*model.AcceptVpcPeeringResponse, error)

接受对等连接请求

租户A名下的VPC申请和租户B的VPC建立对等连接,需要等待租户B接受该请求。此接口用于租户接受其他租户发起的对等连接请求。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) AssociateRouteTable added in v0.0.55

子网关联路由表

路由表关联子网。子网关联路由表A后,再关联B,不需要先跟路由表A解关联再关联路由表B

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) BatchCreateSubnetTags

批量创建子网资源标签

为指定的子网资源实例批量添加标签。 此接口为幂等接口:创建时如果请求体中存在重复key则报错。创建时,不允许设置重复key数据,如果数据库已存在该key,就覆盖value的值。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) BatchCreateVpcTags

func (c *VpcClient) BatchCreateVpcTags(request *model.BatchCreateVpcTagsRequest) (*model.BatchCreateVpcTagsResponse, error)

批量创建VPC资源标签

为指定的VPC资源实例批量添加标签。 此接口为幂等接口:创建时如果请求体中存在重复key则报错。创建时,不允许设置重复key数据,如果数据库已存在该key,就覆盖value的值。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) BatchDeleteSubnetTags

批量删除子网资源标签

为指定的子网资源实例批量删除标签 此接口为幂等接口:删除时,如果删除的标签不存在,默认处理成功;删除时不对标签字符集范围做校验。删除时tags结构体不能缺失,key不能为空,或者空字符串。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) BatchDeleteVpcTags

func (c *VpcClient) BatchDeleteVpcTags(request *model.BatchDeleteVpcTagsRequest) (*model.BatchDeleteVpcTagsResponse, error)

批量删除VPC资源标签

为指定的VPC资源实例批量删除标签。 此接口为幂等接口:删除时,如果删除的标签不存在,默认处理成功;删除时不对标签字符集范围做校验。删除时tags结构体不能缺失,key不能为空,或者空字符串。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreatePort

func (c *VpcClient) CreatePort(request *model.CreatePortRequest) (*model.CreatePortResponse, error)

创建端口

创建端口。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreatePrivateip

func (c *VpcClient) CreatePrivateip(request *model.CreatePrivateipRequest) (*model.CreatePrivateipResponse, error)

申请私有IP

申请私有IP。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateRouteTable added in v0.0.55

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

创建路由表

创建路由表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateSecurityGroup

创建安全组

创建安全组。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateSecurityGroupRule

创建安全组规则

创建安全组规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateSubnet

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

创建子网

创建子网。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateSubnetTag

func (c *VpcClient) CreateSubnetTag(request *model.CreateSubnetTagRequest) (*model.CreateSubnetTagResponse, error)

创建子网资源标签

给指定子网资源实例增加标签信息。 此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateVpc

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

创建VPC

创建虚拟私有云。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateVpcPeering

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

创建对等连接

创建对等连接。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateVpcResourceTag

创建VPC资源标签

给指定VPC资源实例增加标签信息 此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) CreateVpcRoute

func (c *VpcClient) CreateVpcRoute(request *model.CreateVpcRouteRequest) (*model.CreateVpcRouteResponse, error)

创建VPC路由

创建路由

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeletePort

func (c *VpcClient) DeletePort(request *model.DeletePortRequest) (*model.DeletePortResponse, error)

删除端口

删除端口。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeletePrivateip

func (c *VpcClient) DeletePrivateip(request *model.DeletePrivateipRequest) (*model.DeletePrivateipResponse, error)

删除私有IP

删除私有IP。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteRouteTable added in v0.0.55

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

删除路由表

删除路由表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteSecurityGroup

删除安全组

删除安全组。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteSecurityGroupRule

删除安全组规则

删除安全组规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteSubnet

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

删除子网

删除子网

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteSubnetTag

func (c *VpcClient) DeleteSubnetTag(request *model.DeleteSubnetTagRequest) (*model.DeleteSubnetTagResponse, error)

删除子网资源标签

删除指定子网资源实例的标签信息。 该接口为幂等接口:删除的key不存在报404,Key不能为空或者空字符串

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteVpc

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

删除VPC

删除虚拟私有云。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteVpcPeering

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

删除对等连接

删除对等连接。 可以在在本端或对端任何一端删除对等连接。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteVpcRoute

func (c *VpcClient) DeleteVpcRoute(request *model.DeleteVpcRouteRequest) (*model.DeleteVpcRouteResponse, error)

删除VPC路由

删除路由

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DeleteVpcTag

func (c *VpcClient) DeleteVpcTag(request *model.DeleteVpcTagRequest) (*model.DeleteVpcTagResponse, error)

删除VPC资源标签

删除指定VPC资源实例的标签信息 该接口为幂等接口:删除的key不存在报404,Key不能为空或者空字符串

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) DisassociateRouteTable added in v0.0.55

子网解关联路由表

子网解关联路由表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListPorts

func (c *VpcClient) ListPorts(request *model.ListPortsRequest) (*model.ListPortsResponse, error)

查询端口列表

查询提交请求的租户的所有端口,单次查询最多返回2000条数据。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListPrivateips

func (c *VpcClient) ListPrivateips(request *model.ListPrivateipsRequest) (*model.ListPrivateipsResponse, error)

查询私有IP列表

查询指定子网下的私有IP列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListRouteTables added in v0.0.55

func (c *VpcClient) ListRouteTables(request *model.ListRouteTablesRequest) (*model.ListRouteTablesResponse, error)

查询路由表列表

查询提交请求的帐户的所有路由表列表,并根据过滤条件进行过滤

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListSecurityGroupRules

查询安全组规则列表

查询安全组规则列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListSecurityGroups

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

查询安全组列表

查询安全组列表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListSubnetTags

func (c *VpcClient) ListSubnetTags(request *model.ListSubnetTagsRequest) (*model.ListSubnetTagsResponse, error)

查询子网项目标签

查询租户在指定区域和实例类型的所有标签集合

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListSubnets

func (c *VpcClient) ListSubnets(request *model.ListSubnetsRequest) (*model.ListSubnetsResponse, error)

查询子网列表

查询子网列表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListSubnetsByTags

func (c *VpcClient) ListSubnetsByTags(request *model.ListSubnetsByTagsRequest) (*model.ListSubnetsByTagsResponse, error)

查询子网资源实例

使用标签过滤实例

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListVpcPeerings

func (c *VpcClient) ListVpcPeerings(request *model.ListVpcPeeringsRequest) (*model.ListVpcPeeringsResponse, error)

查询对等连接列表

查询提交请求的租户的所有对等连接。根据过滤条件进行过滤。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListVpcRoutes

func (c *VpcClient) ListVpcRoutes(request *model.ListVpcRoutesRequest) (*model.ListVpcRoutesResponse, error)

查询VPC路由列表

查询提交请求的租户的所有路由列表,并根据过滤条件进行过滤。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListVpcTags

func (c *VpcClient) ListVpcTags(request *model.ListVpcTagsRequest) (*model.ListVpcTagsResponse, error)

查询VPC项目标签

查询租户在指定区域和实例类型的所有标签集合

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListVpcs

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

查询VPC列表

查询虚拟私有云列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ListVpcsByTags

func (c *VpcClient) ListVpcsByTags(request *model.ListVpcsByTagsRequest) (*model.ListVpcsByTagsResponse, error)

查询VPC资源实例

使用标签过滤实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronAddFirewallRule

插入网络ACL规则

插入一条网络ACL规则到某一网络ACL策略中。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronCreateFirewallGroup

创建网络ACL组

创建网络ACL组

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronCreateFirewallPolicy

创建网络ACL策略

创建网络ACL策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronCreateFirewallRule

创建网络ACL规则

创建网络ACL规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronCreateSecurityGroup

创建安全组

创建安全组

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronCreateSecurityGroupRule

创建安全组规则

创建安全组规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronDeleteFirewallGroup

删除网络ACL组

删除网络ACL组

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronDeleteFirewallPolicy

删除网络ACL策略

删除网络ACL策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronDeleteFirewallRule

删除网络ACL规则

删除网络ACL规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronDeleteSecurityGroup

删除安全组

删除安全组

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronDeleteSecurityGroupRule

删除安全组规则

删除安全组规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronListFirewallGroups

查询所有网络ACL组

查询提交请求的租户有权限操作的所有网络ACL组信息。单次查询最多返回2000条数据,超过2000后会返回分页标记。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronListFirewallPolicies

查询所有网络ACL策略

查询提交请求的租户有权限操作的所有网络ACL策略信息。单次查询最多返回2000条数据,超过2000后会返回分页标记。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronListFirewallRules

查询所有网络ACL规则

查询提交请求的租户有权限操作的所有网络ACL规则信息。单次查询最多返回2000条数据,超过2000后会返回分页标记。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronListSecurityGroupRules

查询安全组规则列表

查询提交请求的租户有权限查看的所有安全组规则。单次查询最多返回2000条数据,超过2000后会返回分页标记。分页查询请参考分页查询

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronListSecurityGroups

查询安全组列表

查询提交请求租户的所有安全组,单次查询最多返回2000条数据,超过2000后会返回分页标记。分页查询请参考分页查询 。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronRemoveFirewallRule

移除网络ACL规则

从某一网络ACL策略中移除一条网络ACL规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronShowFirewallGroup

查询特定网络ACL组详情

查询特定网络ACL组详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronShowFirewallPolicy

查询特定网络ACL策略详情

查询特定网络ACL策略详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronShowFirewallRule

查询特定网络ACL规则

查询特定网络ACL规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronShowSecurityGroup

查询安全组

查询安全组详情

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronShowSecurityGroupRule

查询安全组规则

查询安全组规则详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronUpdateFirewallGroup

更新网络ACL组

更新网络ACL组。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronUpdateFirewallPolicy

更新网络ACL策略

更新网络ACL策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronUpdateFirewallRule

更新网络ACL规则

更新网络ACL规则。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) NeutronUpdateSecurityGroup

更新安全组

更新安全组

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) RejectVpcPeering

func (c *VpcClient) RejectVpcPeering(request *model.RejectVpcPeeringRequest) (*model.RejectVpcPeeringResponse, error)

拒绝对等连接请求

租户A名下的VPC申请和租户B的VPC建立对等连接,需要等待租户B接受该请求。此接口用于租户拒绝其他租户发起的对等连接请求。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowNetworkIpAvailabilities

查询网络IP使用情况

显示一个指定网络中的IPv4地址使用情况。 包括此网络中的IP总数以及已用IP总数,以及网络下每一个子网的IP地址总数和可用IP地址总数。

> 须知

- 系统预留地址指的是子网的第1个以及最后4个地址,一般用于网关、DHCP等服务。 - 这里以及下文描述的IP地址总数、已用IP地址总数不包含系统预留地址。 - 在分配IP时,用户可以指定系统预留的IP地址。但是不论IP是如何分配的,只要是处于系统预留IP地址段的IP均不会被统计到已用IP地址数目和IP地址总数中。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowPort

func (c *VpcClient) ShowPort(request *model.ShowPortRequest) (*model.ShowPortResponse, error)

查询端口

查询单个端口详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowPrivateip

func (c *VpcClient) ShowPrivateip(request *model.ShowPrivateipRequest) (*model.ShowPrivateipResponse, error)

查询私有IP

指定ID查询私有IP。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowQuota

func (c *VpcClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)

查询配额

查询单租户在VPC服务下的网络资源配额,包括vpc配额、子网配额、安全组配额、安全组规则配额、弹性公网IP配额,vpn配额等。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowRouteTable added in v0.0.55

func (c *VpcClient) ShowRouteTable(request *model.ShowRouteTableRequest) (*model.ShowRouteTableResponse, error)

查询路由表

查询路由表详情

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowSecurityGroup

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

查询安全组

查询单个安全组详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowSecurityGroupRule

查询安全组规则

查询单个安全组规则详情

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowSubnet

func (c *VpcClient) ShowSubnet(request *model.ShowSubnetRequest) (*model.ShowSubnetResponse, error)

查询子网

查询子网详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowSubnetTags

func (c *VpcClient) ShowSubnetTags(request *model.ShowSubnetTagsRequest) (*model.ShowSubnetTagsResponse, error)

查询子网资源标签

查询指定子网实例的标签信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowVpc

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

查询VPC

查询虚拟私有云。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowVpcPeering

func (c *VpcClient) ShowVpcPeering(request *model.ShowVpcPeeringRequest) (*model.ShowVpcPeeringResponse, error)

查询对等连接

查询对等连接详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowVpcRoute

func (c *VpcClient) ShowVpcRoute(request *model.ShowVpcRouteRequest) (*model.ShowVpcRouteResponse, error)

查询VPC路由

查询路由详情

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) ShowVpcTags

func (c *VpcClient) ShowVpcTags(request *model.ShowVpcTagsRequest) (*model.ShowVpcTagsResponse, error)

查询VPC资源标签

查询指定VPC实例的标签信息

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) UpdatePort

func (c *VpcClient) UpdatePort(request *model.UpdatePortRequest) (*model.UpdatePortResponse, error)

更新端口

更新端口。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) UpdateRouteTable added in v0.0.55

func (c *VpcClient) UpdateRouteTable(request *model.UpdateRouteTableRequest) (*model.UpdateRouteTableResponse, error)

更新路由表

更新路由表,包括可以更新路由表的名称,描述,以及新增、更新、删除路由条目

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) UpdateSubnet

func (c *VpcClient) UpdateSubnet(request *model.UpdateSubnetRequest) (*model.UpdateSubnetResponse, error)

更新子网

更新子网。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) UpdateVpc

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

更新VPC

更新虚拟私有云。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*VpcClient) UpdateVpcPeering

func (c *VpcClient) UpdateVpcPeering(request *model.UpdateVpcPeeringRequest) (*model.UpdateVpcPeeringResponse, error)

更新对等连接

更新对等连接。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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