v2

package
v0.1.58 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForBatchCreateDeletePrivateNatTags added in v0.1.33

func GenReqDefForBatchCreateDeletePrivateNatTags() *def.HttpRequestDef

func GenReqDefForBatchCreateDeleteTransitIpTags added in v0.1.33

func GenReqDefForBatchCreateDeleteTransitIpTags() *def.HttpRequestDef

func GenReqDefForBatchCreateNatGatewayDnatRules

func GenReqDefForBatchCreateNatGatewayDnatRules() *def.HttpRequestDef

func GenReqDefForCreateNatGateway

func GenReqDefForCreateNatGateway() *def.HttpRequestDef

func GenReqDefForCreateNatGatewayDnatRule

func GenReqDefForCreateNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForCreateNatGatewaySnatRule

func GenReqDefForCreateNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForCreatePrivateDnat added in v0.1.33

func GenReqDefForCreatePrivateDnat() *def.HttpRequestDef

func GenReqDefForCreatePrivateNat added in v0.1.33

func GenReqDefForCreatePrivateNat() *def.HttpRequestDef

func GenReqDefForCreatePrivateNatTag added in v0.1.33

func GenReqDefForCreatePrivateNatTag() *def.HttpRequestDef

func GenReqDefForCreatePrivateSnat added in v0.1.33

func GenReqDefForCreatePrivateSnat() *def.HttpRequestDef

func GenReqDefForCreateTransitIp added in v0.1.33

func GenReqDefForCreateTransitIp() *def.HttpRequestDef

func GenReqDefForCreateTransitIpTag added in v0.1.33

func GenReqDefForCreateTransitIpTag() *def.HttpRequestDef

func GenReqDefForDeleteNatGateway

func GenReqDefForDeleteNatGateway() *def.HttpRequestDef

func GenReqDefForDeleteNatGatewayDnatRule

func GenReqDefForDeleteNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForDeleteNatGatewaySnatRule

func GenReqDefForDeleteNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForDeletePrivateDnat added in v0.1.33

func GenReqDefForDeletePrivateDnat() *def.HttpRequestDef

func GenReqDefForDeletePrivateNat added in v0.1.33

func GenReqDefForDeletePrivateNat() *def.HttpRequestDef

func GenReqDefForDeletePrivateNatTag added in v0.1.33

func GenReqDefForDeletePrivateNatTag() *def.HttpRequestDef

func GenReqDefForDeletePrivateSnat added in v0.1.33

func GenReqDefForDeletePrivateSnat() *def.HttpRequestDef

func GenReqDefForDeleteTransitIp added in v0.1.33

func GenReqDefForDeleteTransitIp() *def.HttpRequestDef

func GenReqDefForDeleteTransitIpTag added in v0.1.33

func GenReqDefForDeleteTransitIpTag() *def.HttpRequestDef

func GenReqDefForListNatGatewayDnatRules

func GenReqDefForListNatGatewayDnatRules() *def.HttpRequestDef

func GenReqDefForListNatGatewaySnatRules

func GenReqDefForListNatGatewaySnatRules() *def.HttpRequestDef

func GenReqDefForListNatGateways

func GenReqDefForListNatGateways() *def.HttpRequestDef

func GenReqDefForListPrivateDnats added in v0.1.33

func GenReqDefForListPrivateDnats() *def.HttpRequestDef

func GenReqDefForListPrivateNatTags added in v0.1.33

func GenReqDefForListPrivateNatTags() *def.HttpRequestDef

func GenReqDefForListPrivateNats added in v0.1.33

func GenReqDefForListPrivateNats() *def.HttpRequestDef

func GenReqDefForListPrivateNatsByTags added in v0.1.33

func GenReqDefForListPrivateNatsByTags() *def.HttpRequestDef

func GenReqDefForListPrivateSnats added in v0.1.33

func GenReqDefForListPrivateSnats() *def.HttpRequestDef

func GenReqDefForListTransitIpTags added in v0.1.33

func GenReqDefForListTransitIpTags() *def.HttpRequestDef

func GenReqDefForListTransitIps added in v0.1.33

func GenReqDefForListTransitIps() *def.HttpRequestDef

func GenReqDefForListTransitIpsByTags added in v0.1.33

func GenReqDefForListTransitIpsByTags() *def.HttpRequestDef

func GenReqDefForShowNatGateway

func GenReqDefForShowNatGateway() *def.HttpRequestDef

func GenReqDefForShowNatGatewayDnatRule

func GenReqDefForShowNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForShowNatGatewaySnatRule

func GenReqDefForShowNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForShowPrivateDnat added in v0.1.33

func GenReqDefForShowPrivateDnat() *def.HttpRequestDef

func GenReqDefForShowPrivateNat added in v0.1.33

func GenReqDefForShowPrivateNat() *def.HttpRequestDef

func GenReqDefForShowPrivateNatTags added in v0.1.33

func GenReqDefForShowPrivateNatTags() *def.HttpRequestDef

func GenReqDefForShowPrivateSnat added in v0.1.33

func GenReqDefForShowPrivateSnat() *def.HttpRequestDef

func GenReqDefForShowTransitIp added in v0.1.33

func GenReqDefForShowTransitIp() *def.HttpRequestDef

func GenReqDefForShowTransitIpTags added in v0.1.33

func GenReqDefForShowTransitIpTags() *def.HttpRequestDef

func GenReqDefForUpdateNatGateway

func GenReqDefForUpdateNatGateway() *def.HttpRequestDef

func GenReqDefForUpdateNatGatewayDnatRule

func GenReqDefForUpdateNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForUpdateNatGatewaySnatRule

func GenReqDefForUpdateNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForUpdatePrivateDnat added in v0.1.33

func GenReqDefForUpdatePrivateDnat() *def.HttpRequestDef

func GenReqDefForUpdatePrivateNat added in v0.1.33

func GenReqDefForUpdatePrivateNat() *def.HttpRequestDef

func GenReqDefForUpdatePrivateSnat added in v0.1.33

func GenReqDefForUpdatePrivateSnat() *def.HttpRequestDef

func NatClientBuilder

func NatClientBuilder() *http_client.HcHttpClientBuilder

Types

type BatchCreateDeletePrivateNatTagsInvoker added in v0.1.33

type BatchCreateDeletePrivateNatTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateDeletePrivateNatTagsInvoker) Invoke added in v0.1.33

type BatchCreateDeleteTransitIpTagsInvoker added in v0.1.33

type BatchCreateDeleteTransitIpTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateDeleteTransitIpTagsInvoker) Invoke added in v0.1.33

type BatchCreateNatGatewayDnatRulesInvoker added in v0.0.90

type BatchCreateNatGatewayDnatRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateNatGatewayDnatRulesInvoker) Invoke added in v0.0.90

type CreateNatGatewayDnatRuleInvoker added in v0.0.90

type CreateNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type CreateNatGatewayInvoker added in v0.0.90

type CreateNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNatGatewayInvoker) Invoke added in v0.0.90

type CreateNatGatewaySnatRuleInvoker added in v0.0.90

type CreateNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type CreatePrivateDnatInvoker added in v0.1.33

type CreatePrivateDnatInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePrivateDnatInvoker) Invoke added in v0.1.33

type CreatePrivateNatInvoker added in v0.1.33

type CreatePrivateNatInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePrivateNatInvoker) Invoke added in v0.1.33

type CreatePrivateNatTagInvoker added in v0.1.33

type CreatePrivateNatTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePrivateNatTagInvoker) Invoke added in v0.1.33

type CreatePrivateSnatInvoker added in v0.1.33

type CreatePrivateSnatInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePrivateSnatInvoker) Invoke added in v0.1.33

type CreateTransitIpInvoker added in v0.1.33

type CreateTransitIpInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTransitIpInvoker) Invoke added in v0.1.33

type CreateTransitIpTagInvoker added in v0.1.33

type CreateTransitIpTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTransitIpTagInvoker) Invoke added in v0.1.33

type DeleteNatGatewayDnatRuleInvoker added in v0.0.90

type DeleteNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type DeleteNatGatewayInvoker added in v0.0.90

type DeleteNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNatGatewayInvoker) Invoke added in v0.0.90

type DeleteNatGatewaySnatRuleInvoker added in v0.0.90

type DeleteNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type DeletePrivateDnatInvoker added in v0.1.33

type DeletePrivateDnatInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePrivateDnatInvoker) Invoke added in v0.1.33

type DeletePrivateNatInvoker added in v0.1.33

type DeletePrivateNatInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePrivateNatInvoker) Invoke added in v0.1.33

type DeletePrivateNatTagInvoker added in v0.1.33

type DeletePrivateNatTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePrivateNatTagInvoker) Invoke added in v0.1.33

type DeletePrivateSnatInvoker added in v0.1.33

type DeletePrivateSnatInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePrivateSnatInvoker) Invoke added in v0.1.33

type DeleteTransitIpInvoker added in v0.1.33

type DeleteTransitIpInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTransitIpInvoker) Invoke added in v0.1.33

type DeleteTransitIpTagInvoker added in v0.1.33

type DeleteTransitIpTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTransitIpTagInvoker) Invoke added in v0.1.33

type ListNatGatewayDnatRulesInvoker added in v0.0.90

type ListNatGatewayDnatRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNatGatewayDnatRulesInvoker) Invoke added in v0.0.90

type ListNatGatewaySnatRulesInvoker added in v0.0.90

type ListNatGatewaySnatRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNatGatewaySnatRulesInvoker) Invoke added in v0.0.90

type ListNatGatewaysInvoker added in v0.0.90

type ListNatGatewaysInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNatGatewaysInvoker) Invoke added in v0.0.90

type ListPrivateDnatsInvoker added in v0.1.33

type ListPrivateDnatsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPrivateDnatsInvoker) Invoke added in v0.1.33

type ListPrivateNatTagsInvoker added in v0.1.33

type ListPrivateNatTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPrivateNatTagsInvoker) Invoke added in v0.1.33

type ListPrivateNatsByTagsInvoker added in v0.1.33

type ListPrivateNatsByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPrivateNatsByTagsInvoker) Invoke added in v0.1.33

type ListPrivateNatsInvoker added in v0.1.33

type ListPrivateNatsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPrivateNatsInvoker) Invoke added in v0.1.33

type ListPrivateSnatsInvoker added in v0.1.33

type ListPrivateSnatsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPrivateSnatsInvoker) Invoke added in v0.1.33

type ListTransitIpTagsInvoker added in v0.1.33

type ListTransitIpTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTransitIpTagsInvoker) Invoke added in v0.1.33

type ListTransitIpsByTagsInvoker added in v0.1.33

type ListTransitIpsByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTransitIpsByTagsInvoker) Invoke added in v0.1.33

type ListTransitIpsInvoker added in v0.1.33

type ListTransitIpsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTransitIpsInvoker) Invoke added in v0.1.33

type NatClient

type NatClient struct {
	HcClient *http_client.HcHttpClient
}

func NewNatClient

func NewNatClient(hcClient *http_client.HcHttpClient) *NatClient

func (*NatClient) BatchCreateDeletePrivateNatTags added in v0.1.33

BatchCreateDeletePrivateNatTags 批量添加删除私网NAT网关标签

- 为指定私网NAT网关实例批量添加或删除标签 - 标签管理服务需要使用该接口批量管理私网NAT网关实例的标签。 - 一个私网NAT网关上最多有10个标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) BatchCreateDeletePrivateNatTagsInvoker added in v0.1.33

func (c *NatClient) BatchCreateDeletePrivateNatTagsInvoker(request *model.BatchCreateDeletePrivateNatTagsRequest) *BatchCreateDeletePrivateNatTagsInvoker

BatchCreateDeletePrivateNatTagsInvoker 批量添加删除私网NAT网关标签

func (*NatClient) BatchCreateDeleteTransitIpTags added in v0.1.33

BatchCreateDeleteTransitIpTags 批量添加删除中转IP标签

- 为指定中转IP实例批量添加或删除标签 - 标签管理服务需要使用该接口批量管理中转IP实例的标签。 - 一个中转IP上最多有10个标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) BatchCreateDeleteTransitIpTagsInvoker added in v0.1.33

func (c *NatClient) BatchCreateDeleteTransitIpTagsInvoker(request *model.BatchCreateDeleteTransitIpTagsRequest) *BatchCreateDeleteTransitIpTagsInvoker

BatchCreateDeleteTransitIpTagsInvoker 批量添加删除中转IP标签

func (*NatClient) BatchCreateNatGatewayDnatRules

BatchCreateNatGatewayDnatRules 批量创建DNAT规则

批量创建DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) BatchCreateNatGatewayDnatRulesInvoker added in v0.0.90

func (c *NatClient) BatchCreateNatGatewayDnatRulesInvoker(request *model.BatchCreateNatGatewayDnatRulesRequest) *BatchCreateNatGatewayDnatRulesInvoker

BatchCreateNatGatewayDnatRulesInvoker 批量创建DNAT规则

func (*NatClient) CreateNatGateway

func (c *NatClient) CreateNatGateway(request *model.CreateNatGatewayRequest) (*model.CreateNatGatewayResponse, error)

CreateNatGateway 创建公网NAT网关

创建公网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateNatGatewayDnatRule

CreateNatGatewayDnatRule 创建DNAT规则

创建DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) CreateNatGatewayDnatRuleInvoker(request *model.CreateNatGatewayDnatRuleRequest) *CreateNatGatewayDnatRuleInvoker

CreateNatGatewayDnatRuleInvoker 创建DNAT规则

func (*NatClient) CreateNatGatewayInvoker added in v0.0.90

func (c *NatClient) CreateNatGatewayInvoker(request *model.CreateNatGatewayRequest) *CreateNatGatewayInvoker

CreateNatGatewayInvoker 创建公网NAT网关

func (*NatClient) CreateNatGatewaySnatRule

CreateNatGatewaySnatRule 创建SNAT规则

创建SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) CreateNatGatewaySnatRuleInvoker(request *model.CreateNatGatewaySnatRuleRequest) *CreateNatGatewaySnatRuleInvoker

CreateNatGatewaySnatRuleInvoker 创建SNAT规则

func (*NatClient) CreatePrivateDnat added in v0.1.33

func (c *NatClient) CreatePrivateDnat(request *model.CreatePrivateDnatRequest) (*model.CreatePrivateDnatResponse, error)

CreatePrivateDnat 创建DNAT规则

创建DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreatePrivateDnatInvoker added in v0.1.33

func (c *NatClient) CreatePrivateDnatInvoker(request *model.CreatePrivateDnatRequest) *CreatePrivateDnatInvoker

CreatePrivateDnatInvoker 创建DNAT规则

func (*NatClient) CreatePrivateNat added in v0.1.33

func (c *NatClient) CreatePrivateNat(request *model.CreatePrivateNatRequest) (*model.CreatePrivateNatResponse, error)

CreatePrivateNat 创建私网NAT网关

创建私网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreatePrivateNatInvoker added in v0.1.33

func (c *NatClient) CreatePrivateNatInvoker(request *model.CreatePrivateNatRequest) *CreatePrivateNatInvoker

CreatePrivateNatInvoker 创建私网NAT网关

func (*NatClient) CreatePrivateNatTag added in v0.1.33

CreatePrivateNatTag 添加私网NAT网关标签

- 一个私网NAT网关上最多有10个标签。 - 此接口为幂等接口: - 创建时,如果创建的标签已经存在(key相同),则覆盖。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreatePrivateNatTagInvoker added in v0.1.33

func (c *NatClient) CreatePrivateNatTagInvoker(request *model.CreatePrivateNatTagRequest) *CreatePrivateNatTagInvoker

CreatePrivateNatTagInvoker 添加私网NAT网关标签

func (*NatClient) CreatePrivateSnat added in v0.1.33

func (c *NatClient) CreatePrivateSnat(request *model.CreatePrivateSnatRequest) (*model.CreatePrivateSnatResponse, error)

CreatePrivateSnat 创建SNAT规则

创建SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreatePrivateSnatInvoker added in v0.1.33

func (c *NatClient) CreatePrivateSnatInvoker(request *model.CreatePrivateSnatRequest) *CreatePrivateSnatInvoker

CreatePrivateSnatInvoker 创建SNAT规则

func (*NatClient) CreateTransitIp added in v0.1.33

func (c *NatClient) CreateTransitIp(request *model.CreateTransitIpRequest) (*model.CreateTransitIpResponse, error)

CreateTransitIp 创建中转IP

创建中转IP。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateTransitIpInvoker added in v0.1.33

func (c *NatClient) CreateTransitIpInvoker(request *model.CreateTransitIpRequest) *CreateTransitIpInvoker

CreateTransitIpInvoker 创建中转IP

func (*NatClient) CreateTransitIpTag added in v0.1.33

func (c *NatClient) CreateTransitIpTag(request *model.CreateTransitIpTagRequest) (*model.CreateTransitIpTagResponse, error)

CreateTransitIpTag 添加中转IP标签

- 一个中转IP上最多有10个标签。 - 此接口为幂等接口: - 创建时,如果创建的标签已经存在(key相同),则覆盖。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateTransitIpTagInvoker added in v0.1.33

func (c *NatClient) CreateTransitIpTagInvoker(request *model.CreateTransitIpTagRequest) *CreateTransitIpTagInvoker

CreateTransitIpTagInvoker 添加中转IP标签

func (*NatClient) DeleteNatGateway

func (c *NatClient) DeleteNatGateway(request *model.DeleteNatGatewayRequest) (*model.DeleteNatGatewayResponse, error)

DeleteNatGateway 删除公网NAT网关

删除公网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteNatGatewayDnatRule

DeleteNatGatewayDnatRule 删除DNAT规则

删除指定的DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) DeleteNatGatewayDnatRuleInvoker(request *model.DeleteNatGatewayDnatRuleRequest) *DeleteNatGatewayDnatRuleInvoker

DeleteNatGatewayDnatRuleInvoker 删除DNAT规则

func (*NatClient) DeleteNatGatewayInvoker added in v0.0.90

func (c *NatClient) DeleteNatGatewayInvoker(request *model.DeleteNatGatewayRequest) *DeleteNatGatewayInvoker

DeleteNatGatewayInvoker 删除公网NAT网关

func (*NatClient) DeleteNatGatewaySnatRule

DeleteNatGatewaySnatRule 删除SNAT规则

删除指定的SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) DeleteNatGatewaySnatRuleInvoker(request *model.DeleteNatGatewaySnatRuleRequest) *DeleteNatGatewaySnatRuleInvoker

DeleteNatGatewaySnatRuleInvoker 删除SNAT规则

func (*NatClient) DeletePrivateDnat added in v0.1.33

func (c *NatClient) DeletePrivateDnat(request *model.DeletePrivateDnatRequest) (*model.DeletePrivateDnatResponse, error)

DeletePrivateDnat 删除DNAT规则

删除指定的DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeletePrivateDnatInvoker added in v0.1.33

func (c *NatClient) DeletePrivateDnatInvoker(request *model.DeletePrivateDnatRequest) *DeletePrivateDnatInvoker

DeletePrivateDnatInvoker 删除DNAT规则

func (*NatClient) DeletePrivateNat added in v0.1.33

func (c *NatClient) DeletePrivateNat(request *model.DeletePrivateNatRequest) (*model.DeletePrivateNatResponse, error)

DeletePrivateNat 删除私网NAT网关

删除私网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeletePrivateNatInvoker added in v0.1.33

func (c *NatClient) DeletePrivateNatInvoker(request *model.DeletePrivateNatRequest) *DeletePrivateNatInvoker

DeletePrivateNatInvoker 删除私网NAT网关

func (*NatClient) DeletePrivateNatTag added in v0.1.33

DeletePrivateNatTag 删除私网NAT网关标签

- 幂等接口: - 删除时,不对标签字符集做校验,调用接口前必须要做encodeURI,服务端需要对接口uri做decodeURI。删除的key不存在报404,key不能为空或者空字符串。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeletePrivateNatTagInvoker added in v0.1.33

func (c *NatClient) DeletePrivateNatTagInvoker(request *model.DeletePrivateNatTagRequest) *DeletePrivateNatTagInvoker

DeletePrivateNatTagInvoker 删除私网NAT网关标签

func (*NatClient) DeletePrivateSnat added in v0.1.33

func (c *NatClient) DeletePrivateSnat(request *model.DeletePrivateSnatRequest) (*model.DeletePrivateSnatResponse, error)

DeletePrivateSnat 删除SNAT规则

删除指定的SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeletePrivateSnatInvoker added in v0.1.33

func (c *NatClient) DeletePrivateSnatInvoker(request *model.DeletePrivateSnatRequest) *DeletePrivateSnatInvoker

DeletePrivateSnatInvoker 删除SNAT规则

func (*NatClient) DeleteTransitIp added in v0.1.33

func (c *NatClient) DeleteTransitIp(request *model.DeleteTransitIpRequest) (*model.DeleteTransitIpResponse, error)

DeleteTransitIp 删除中转IP

删除中转IP。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteTransitIpInvoker added in v0.1.33

func (c *NatClient) DeleteTransitIpInvoker(request *model.DeleteTransitIpRequest) *DeleteTransitIpInvoker

DeleteTransitIpInvoker 删除中转IP

func (*NatClient) DeleteTransitIpTag added in v0.1.33

func (c *NatClient) DeleteTransitIpTag(request *model.DeleteTransitIpTagRequest) (*model.DeleteTransitIpTagResponse, error)

DeleteTransitIpTag 删除中转IP标签

- 幂等接口: - 删除时,不对标签字符集做校验,调用接口前必须要做encodeURI,服务端需要对接口uri做decodeURI。删除的key不存在报404,key不能为空或者空字符串。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteTransitIpTagInvoker added in v0.1.33

func (c *NatClient) DeleteTransitIpTagInvoker(request *model.DeleteTransitIpTagRequest) *DeleteTransitIpTagInvoker

DeleteTransitIpTagInvoker 删除中转IP标签

func (*NatClient) ListNatGatewayDnatRules

ListNatGatewayDnatRules 查询DNAT规则列表

查询DNAT规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListNatGatewayDnatRulesInvoker added in v0.0.90

func (c *NatClient) ListNatGatewayDnatRulesInvoker(request *model.ListNatGatewayDnatRulesRequest) *ListNatGatewayDnatRulesInvoker

ListNatGatewayDnatRulesInvoker 查询DNAT规则列表

func (*NatClient) ListNatGatewaySnatRules

ListNatGatewaySnatRules 查询SNAT规则列表

查询SNAT规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListNatGatewaySnatRulesInvoker added in v0.0.90

func (c *NatClient) ListNatGatewaySnatRulesInvoker(request *model.ListNatGatewaySnatRulesRequest) *ListNatGatewaySnatRulesInvoker

ListNatGatewaySnatRulesInvoker 查询SNAT规则列表

func (*NatClient) ListNatGateways

func (c *NatClient) ListNatGateways(request *model.ListNatGatewaysRequest) (*model.ListNatGatewaysResponse, error)

ListNatGateways 查询公网NAT网关列表

查询公网NAT网关实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListNatGatewaysInvoker added in v0.0.90

func (c *NatClient) ListNatGatewaysInvoker(request *model.ListNatGatewaysRequest) *ListNatGatewaysInvoker

ListNatGatewaysInvoker 查询公网NAT网关列表

func (*NatClient) ListPrivateDnats added in v0.1.33

func (c *NatClient) ListPrivateDnats(request *model.ListPrivateDnatsRequest) (*model.ListPrivateDnatsResponse, error)

ListPrivateDnats 查询DNAT规则列表

查询DNAT规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListPrivateDnatsInvoker added in v0.1.33

func (c *NatClient) ListPrivateDnatsInvoker(request *model.ListPrivateDnatsRequest) *ListPrivateDnatsInvoker

ListPrivateDnatsInvoker 查询DNAT规则列表

func (*NatClient) ListPrivateNatTags added in v0.1.33

func (c *NatClient) ListPrivateNatTags(request *model.ListPrivateNatTagsRequest) (*model.ListPrivateNatTagsResponse, error)

ListPrivateNatTags 查询私网NAT网关项目标签

- 查询租户在指定Project和实例类型的所有私网NAT网关标签集合。 - 标签管理服务需要能够列出当前租户全部已使用的私网NAT网关标签集合,为打私网NAT网关标签和过滤私网NAT网关实例时提供标签联想功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListPrivateNatTagsInvoker added in v0.1.33

func (c *NatClient) ListPrivateNatTagsInvoker(request *model.ListPrivateNatTagsRequest) *ListPrivateNatTagsInvoker

ListPrivateNatTagsInvoker 查询私网NAT网关项目标签

func (*NatClient) ListPrivateNats added in v0.1.33

func (c *NatClient) ListPrivateNats(request *model.ListPrivateNatsRequest) (*model.ListPrivateNatsResponse, error)

ListPrivateNats 查询私网NAT网关列表

查询私网NAT网关实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListPrivateNatsByTags added in v0.1.33

ListPrivateNatsByTags 查询私网NAT网关实例

- 使用标签过滤私网NAT网关实例。 - 标签管理服务需要提供按标签过滤私网NAT网关服务实例并汇总显示在列表中,需要私网NAT网关服务提供查询能力。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListPrivateNatsByTagsInvoker added in v0.1.33

func (c *NatClient) ListPrivateNatsByTagsInvoker(request *model.ListPrivateNatsByTagsRequest) *ListPrivateNatsByTagsInvoker

ListPrivateNatsByTagsInvoker 查询私网NAT网关实例

func (*NatClient) ListPrivateNatsInvoker added in v0.1.33

func (c *NatClient) ListPrivateNatsInvoker(request *model.ListPrivateNatsRequest) *ListPrivateNatsInvoker

ListPrivateNatsInvoker 查询私网NAT网关列表

func (*NatClient) ListPrivateSnats added in v0.1.33

func (c *NatClient) ListPrivateSnats(request *model.ListPrivateSnatsRequest) (*model.ListPrivateSnatsResponse, error)

ListPrivateSnats 查询SNAT规则列表

查询SNAT规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListPrivateSnatsInvoker added in v0.1.33

func (c *NatClient) ListPrivateSnatsInvoker(request *model.ListPrivateSnatsRequest) *ListPrivateSnatsInvoker

ListPrivateSnatsInvoker 查询SNAT规则列表

func (*NatClient) ListTransitIpTags added in v0.1.33

func (c *NatClient) ListTransitIpTags(request *model.ListTransitIpTagsRequest) (*model.ListTransitIpTagsResponse, error)

ListTransitIpTags 查询中转IP项目标签

- 查询租户在指定Project和实例类型的所有中转IP标签集合。 - 标签管理服务需要能够列出当前租户全部已使用的中转IP标签集合,为打中转IP标签和过滤中转IP实例时提供标签联想功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListTransitIpTagsInvoker added in v0.1.33

func (c *NatClient) ListTransitIpTagsInvoker(request *model.ListTransitIpTagsRequest) *ListTransitIpTagsInvoker

ListTransitIpTagsInvoker 查询中转IP项目标签

func (*NatClient) ListTransitIps added in v0.1.33

func (c *NatClient) ListTransitIps(request *model.ListTransitIpsRequest) (*model.ListTransitIpsResponse, error)

ListTransitIps 查询中转IP列表

查询中转IP列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListTransitIpsByTags added in v0.1.33

ListTransitIpsByTags 查询中转IP实例

- 使用标签过滤中转IP实例。 - 标签管理服务需要提供按标签过滤中转IP服务实例并汇总显示在列表中,需要中转IP服务提供查询能力。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListTransitIpsByTagsInvoker added in v0.1.33

func (c *NatClient) ListTransitIpsByTagsInvoker(request *model.ListTransitIpsByTagsRequest) *ListTransitIpsByTagsInvoker

ListTransitIpsByTagsInvoker 查询中转IP实例

func (*NatClient) ListTransitIpsInvoker added in v0.1.33

func (c *NatClient) ListTransitIpsInvoker(request *model.ListTransitIpsRequest) *ListTransitIpsInvoker

ListTransitIpsInvoker 查询中转IP列表

func (*NatClient) ShowNatGateway

func (c *NatClient) ShowNatGateway(request *model.ShowNatGatewayRequest) (*model.ShowNatGatewayResponse, error)

ShowNatGateway 查询指定的公网NAT网关详情

查询指定的公网NAT网关实例详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowNatGatewayDnatRule

ShowNatGatewayDnatRule 查询指定的DNAT规则详情

查询指定的DNAT规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) ShowNatGatewayDnatRuleInvoker(request *model.ShowNatGatewayDnatRuleRequest) *ShowNatGatewayDnatRuleInvoker

ShowNatGatewayDnatRuleInvoker 查询指定的DNAT规则详情

func (*NatClient) ShowNatGatewayInvoker added in v0.0.90

func (c *NatClient) ShowNatGatewayInvoker(request *model.ShowNatGatewayRequest) *ShowNatGatewayInvoker

ShowNatGatewayInvoker 查询指定的公网NAT网关详情

func (*NatClient) ShowNatGatewaySnatRule

ShowNatGatewaySnatRule 查询指定的SNAT规则详情

查询指定的SNAT规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) ShowNatGatewaySnatRuleInvoker(request *model.ShowNatGatewaySnatRuleRequest) *ShowNatGatewaySnatRuleInvoker

ShowNatGatewaySnatRuleInvoker 查询指定的SNAT规则详情

func (*NatClient) ShowPrivateDnat added in v0.1.33

func (c *NatClient) ShowPrivateDnat(request *model.ShowPrivateDnatRequest) (*model.ShowPrivateDnatResponse, error)

ShowPrivateDnat 查询指定的DNAT规则详情

查询指定的DNAT规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowPrivateDnatInvoker added in v0.1.33

func (c *NatClient) ShowPrivateDnatInvoker(request *model.ShowPrivateDnatRequest) *ShowPrivateDnatInvoker

ShowPrivateDnatInvoker 查询指定的DNAT规则详情

func (*NatClient) ShowPrivateNat added in v0.1.33

func (c *NatClient) ShowPrivateNat(request *model.ShowPrivateNatRequest) (*model.ShowPrivateNatResponse, error)

ShowPrivateNat 查询指定的私网NAT网关详情

查询指定的私网NAT网关实例详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowPrivateNatInvoker added in v0.1.33

func (c *NatClient) ShowPrivateNatInvoker(request *model.ShowPrivateNatRequest) *ShowPrivateNatInvoker

ShowPrivateNatInvoker 查询指定的私网NAT网关详情

func (*NatClient) ShowPrivateNatTags added in v0.1.33

func (c *NatClient) ShowPrivateNatTags(request *model.ShowPrivateNatTagsRequest) (*model.ShowPrivateNatTagsResponse, error)

ShowPrivateNatTags 查询私网NAT网关标签

- 查询指定私网NAT网关实例的标签信息。 - 标签管理服务需要使用该接口查询指定私网NAT网关实例的全部标签数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowPrivateNatTagsInvoker added in v0.1.33

func (c *NatClient) ShowPrivateNatTagsInvoker(request *model.ShowPrivateNatTagsRequest) *ShowPrivateNatTagsInvoker

ShowPrivateNatTagsInvoker 查询私网NAT网关标签

func (*NatClient) ShowPrivateSnat added in v0.1.33

func (c *NatClient) ShowPrivateSnat(request *model.ShowPrivateSnatRequest) (*model.ShowPrivateSnatResponse, error)

ShowPrivateSnat 查询指定的SNAT规则详情

查询指定的SNAT规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowPrivateSnatInvoker added in v0.1.33

func (c *NatClient) ShowPrivateSnatInvoker(request *model.ShowPrivateSnatRequest) *ShowPrivateSnatInvoker

ShowPrivateSnatInvoker 查询指定的SNAT规则详情

func (*NatClient) ShowTransitIp added in v0.1.33

func (c *NatClient) ShowTransitIp(request *model.ShowTransitIpRequest) (*model.ShowTransitIpResponse, error)

ShowTransitIp 查询指定的中转IP详情

查询中转IP详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowTransitIpInvoker added in v0.1.33

func (c *NatClient) ShowTransitIpInvoker(request *model.ShowTransitIpRequest) *ShowTransitIpInvoker

ShowTransitIpInvoker 查询指定的中转IP详情

func (*NatClient) ShowTransitIpTags added in v0.1.33

func (c *NatClient) ShowTransitIpTags(request *model.ShowTransitIpTagsRequest) (*model.ShowTransitIpTagsResponse, error)

ShowTransitIpTags 查询中转IP标签

- 查询指定中转IP实例的标签信息。 - 标签管理服务需要使用该接口查询指定中转IP实例的全部标签数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowTransitIpTagsInvoker added in v0.1.33

func (c *NatClient) ShowTransitIpTagsInvoker(request *model.ShowTransitIpTagsRequest) *ShowTransitIpTagsInvoker

ShowTransitIpTagsInvoker 查询中转IP标签

func (*NatClient) UpdateNatGateway

func (c *NatClient) UpdateNatGateway(request *model.UpdateNatGatewayRequest) (*model.UpdateNatGatewayResponse, error)

UpdateNatGateway 更新公网NAT网关

更新公网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdateNatGatewayDnatRule

UpdateNatGatewayDnatRule 更新DNAT规则

更新指定的DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdateNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) UpdateNatGatewayDnatRuleInvoker(request *model.UpdateNatGatewayDnatRuleRequest) *UpdateNatGatewayDnatRuleInvoker

UpdateNatGatewayDnatRuleInvoker 更新DNAT规则

func (*NatClient) UpdateNatGatewayInvoker added in v0.0.90

func (c *NatClient) UpdateNatGatewayInvoker(request *model.UpdateNatGatewayRequest) *UpdateNatGatewayInvoker

UpdateNatGatewayInvoker 更新公网NAT网关

func (*NatClient) UpdateNatGatewaySnatRule

UpdateNatGatewaySnatRule 更新SNAT规则

更新指定的SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdateNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) UpdateNatGatewaySnatRuleInvoker(request *model.UpdateNatGatewaySnatRuleRequest) *UpdateNatGatewaySnatRuleInvoker

UpdateNatGatewaySnatRuleInvoker 更新SNAT规则

func (*NatClient) UpdatePrivateDnat added in v0.1.33

func (c *NatClient) UpdatePrivateDnat(request *model.UpdatePrivateDnatRequest) (*model.UpdatePrivateDnatResponse, error)

UpdatePrivateDnat 更新DNAT规则

更新指定的DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdatePrivateDnatInvoker added in v0.1.33

func (c *NatClient) UpdatePrivateDnatInvoker(request *model.UpdatePrivateDnatRequest) *UpdatePrivateDnatInvoker

UpdatePrivateDnatInvoker 更新DNAT规则

func (*NatClient) UpdatePrivateNat added in v0.1.33

func (c *NatClient) UpdatePrivateNat(request *model.UpdatePrivateNatRequest) (*model.UpdatePrivateNatResponse, error)

UpdatePrivateNat 更新私网NAT网关

更新私网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdatePrivateNatInvoker added in v0.1.33

func (c *NatClient) UpdatePrivateNatInvoker(request *model.UpdatePrivateNatRequest) *UpdatePrivateNatInvoker

UpdatePrivateNatInvoker 更新私网NAT网关

func (*NatClient) UpdatePrivateSnat added in v0.1.33

func (c *NatClient) UpdatePrivateSnat(request *model.UpdatePrivateSnatRequest) (*model.UpdatePrivateSnatResponse, error)

UpdatePrivateSnat 更新SNAT规则

更新指定的SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdatePrivateSnatInvoker added in v0.1.33

func (c *NatClient) UpdatePrivateSnatInvoker(request *model.UpdatePrivateSnatRequest) *UpdatePrivateSnatInvoker

UpdatePrivateSnatInvoker 更新SNAT规则

type ShowNatGatewayDnatRuleInvoker added in v0.0.90

type ShowNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type ShowNatGatewayInvoker added in v0.0.90

type ShowNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNatGatewayInvoker) Invoke added in v0.0.90

type ShowNatGatewaySnatRuleInvoker added in v0.0.90

type ShowNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type ShowPrivateDnatInvoker added in v0.1.33

type ShowPrivateDnatInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPrivateDnatInvoker) Invoke added in v0.1.33

type ShowPrivateNatInvoker added in v0.1.33

type ShowPrivateNatInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPrivateNatInvoker) Invoke added in v0.1.33

type ShowPrivateNatTagsInvoker added in v0.1.33

type ShowPrivateNatTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPrivateNatTagsInvoker) Invoke added in v0.1.33

type ShowPrivateSnatInvoker added in v0.1.33

type ShowPrivateSnatInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPrivateSnatInvoker) Invoke added in v0.1.33

type ShowTransitIpInvoker added in v0.1.33

type ShowTransitIpInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTransitIpInvoker) Invoke added in v0.1.33

type ShowTransitIpTagsInvoker added in v0.1.33

type ShowTransitIpTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTransitIpTagsInvoker) Invoke added in v0.1.33

type UpdateNatGatewayDnatRuleInvoker added in v0.0.90

type UpdateNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type UpdateNatGatewayInvoker added in v0.0.90

type UpdateNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNatGatewayInvoker) Invoke added in v0.0.90

type UpdateNatGatewaySnatRuleInvoker added in v0.0.90

type UpdateNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type UpdatePrivateDnatInvoker added in v0.1.33

type UpdatePrivateDnatInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePrivateDnatInvoker) Invoke added in v0.1.33

type UpdatePrivateNatInvoker added in v0.1.33

type UpdatePrivateNatInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePrivateNatInvoker) Invoke added in v0.1.33

type UpdatePrivateSnatInvoker added in v0.1.33

type UpdatePrivateSnatInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePrivateSnatInvoker) Invoke added in v0.1.33

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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