v3

package
v0.0.88 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElbClientBuilder

func ElbClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchCreateMembers added in v0.0.78

func GenReqDefForBatchCreateMembers() *def.HttpRequestDef

func GenReqDefForBatchDeleteIpList added in v0.0.70

func GenReqDefForBatchDeleteIpList() *def.HttpRequestDef

func GenReqDefForBatchDeleteMembers added in v0.0.78

func GenReqDefForBatchDeleteMembers() *def.HttpRequestDef

func GenReqDefForBatchUpdatePoliciesPriority added in v0.0.70

func GenReqDefForBatchUpdatePoliciesPriority() *def.HttpRequestDef

func GenReqDefForChangeLoadbalancerChargeMode added in v0.0.70

func GenReqDefForChangeLoadbalancerChargeMode() *def.HttpRequestDef

func GenReqDefForCountPreoccupyIpNum

func GenReqDefForCountPreoccupyIpNum() *def.HttpRequestDef

func GenReqDefForCreateCertificate

func GenReqDefForCreateCertificate() *def.HttpRequestDef

func GenReqDefForCreateHealthMonitor

func GenReqDefForCreateHealthMonitor() *def.HttpRequestDef

func GenReqDefForCreateIpGroup

func GenReqDefForCreateIpGroup() *def.HttpRequestDef

func GenReqDefForCreateL7Policy

func GenReqDefForCreateL7Policy() *def.HttpRequestDef

func GenReqDefForCreateL7Rule

func GenReqDefForCreateL7Rule() *def.HttpRequestDef

func GenReqDefForCreateListener

func GenReqDefForCreateListener() *def.HttpRequestDef

func GenReqDefForCreateLoadBalancer

func GenReqDefForCreateLoadBalancer() *def.HttpRequestDef

func GenReqDefForCreateLogtank added in v0.0.80

func GenReqDefForCreateLogtank() *def.HttpRequestDef

func GenReqDefForCreateMember

func GenReqDefForCreateMember() *def.HttpRequestDef

func GenReqDefForCreatePool

func GenReqDefForCreatePool() *def.HttpRequestDef

func GenReqDefForCreateSecurityPolicy added in v0.0.70

func GenReqDefForCreateSecurityPolicy() *def.HttpRequestDef

func GenReqDefForDeleteCertificate

func GenReqDefForDeleteCertificate() *def.HttpRequestDef

func GenReqDefForDeleteHealthMonitor

func GenReqDefForDeleteHealthMonitor() *def.HttpRequestDef

func GenReqDefForDeleteIpGroup

func GenReqDefForDeleteIpGroup() *def.HttpRequestDef

func GenReqDefForDeleteL7Policy

func GenReqDefForDeleteL7Policy() *def.HttpRequestDef

func GenReqDefForDeleteL7Rule

func GenReqDefForDeleteL7Rule() *def.HttpRequestDef

func GenReqDefForDeleteListener

func GenReqDefForDeleteListener() *def.HttpRequestDef

func GenReqDefForDeleteLoadBalancer

func GenReqDefForDeleteLoadBalancer() *def.HttpRequestDef

func GenReqDefForDeleteLogtank added in v0.0.80

func GenReqDefForDeleteLogtank() *def.HttpRequestDef

func GenReqDefForDeleteMember

func GenReqDefForDeleteMember() *def.HttpRequestDef

func GenReqDefForDeletePool

func GenReqDefForDeletePool() *def.HttpRequestDef

func GenReqDefForDeleteSecurityPolicy added in v0.0.70

func GenReqDefForDeleteSecurityPolicy() *def.HttpRequestDef

func GenReqDefForListAllMembers

func GenReqDefForListAllMembers() *def.HttpRequestDef

func GenReqDefForListApiVersions added in v0.0.70

func GenReqDefForListApiVersions() *def.HttpRequestDef

func GenReqDefForListAvailabilityZones

func GenReqDefForListAvailabilityZones() *def.HttpRequestDef

func GenReqDefForListCertificates

func GenReqDefForListCertificates() *def.HttpRequestDef

func GenReqDefForListFlavors

func GenReqDefForListFlavors() *def.HttpRequestDef

func GenReqDefForListHealthMonitors

func GenReqDefForListHealthMonitors() *def.HttpRequestDef

func GenReqDefForListIpGroups

func GenReqDefForListIpGroups() *def.HttpRequestDef

func GenReqDefForListL7Policies

func GenReqDefForListL7Policies() *def.HttpRequestDef

func GenReqDefForListL7Rules

func GenReqDefForListL7Rules() *def.HttpRequestDef

func GenReqDefForListListeners

func GenReqDefForListListeners() *def.HttpRequestDef

func GenReqDefForListLoadBalancers

func GenReqDefForListLoadBalancers() *def.HttpRequestDef

func GenReqDefForListLogtanks added in v0.0.80

func GenReqDefForListLogtanks() *def.HttpRequestDef

func GenReqDefForListMembers

func GenReqDefForListMembers() *def.HttpRequestDef

func GenReqDefForListPools

func GenReqDefForListPools() *def.HttpRequestDef

func GenReqDefForListQuotaDetails added in v0.0.70

func GenReqDefForListQuotaDetails() *def.HttpRequestDef

func GenReqDefForListSecurityPolicies added in v0.0.70

func GenReqDefForListSecurityPolicies() *def.HttpRequestDef

func GenReqDefForListSystemSecurityPolicies added in v0.0.70

func GenReqDefForListSystemSecurityPolicies() *def.HttpRequestDef

func GenReqDefForShowCertificate

func GenReqDefForShowCertificate() *def.HttpRequestDef

func GenReqDefForShowFlavor

func GenReqDefForShowFlavor() *def.HttpRequestDef

func GenReqDefForShowHealthMonitor

func GenReqDefForShowHealthMonitor() *def.HttpRequestDef

func GenReqDefForShowIpGroup

func GenReqDefForShowIpGroup() *def.HttpRequestDef

func GenReqDefForShowL7Policy

func GenReqDefForShowL7Policy() *def.HttpRequestDef

func GenReqDefForShowL7Rule

func GenReqDefForShowL7Rule() *def.HttpRequestDef

func GenReqDefForShowListener

func GenReqDefForShowListener() *def.HttpRequestDef

func GenReqDefForShowLoadBalancer

func GenReqDefForShowLoadBalancer() *def.HttpRequestDef

func GenReqDefForShowLoadBalancerStatus

func GenReqDefForShowLoadBalancerStatus() *def.HttpRequestDef

func GenReqDefForShowLogtank added in v0.0.80

func GenReqDefForShowLogtank() *def.HttpRequestDef

func GenReqDefForShowMember

func GenReqDefForShowMember() *def.HttpRequestDef

func GenReqDefForShowPool

func GenReqDefForShowPool() *def.HttpRequestDef

func GenReqDefForShowQuota

func GenReqDefForShowQuota() *def.HttpRequestDef

func GenReqDefForShowSecurityPolicy added in v0.0.70

func GenReqDefForShowSecurityPolicy() *def.HttpRequestDef

func GenReqDefForUpdateCertificate

func GenReqDefForUpdateCertificate() *def.HttpRequestDef

func GenReqDefForUpdateHealthMonitor

func GenReqDefForUpdateHealthMonitor() *def.HttpRequestDef

func GenReqDefForUpdateIpGroup

func GenReqDefForUpdateIpGroup() *def.HttpRequestDef

func GenReqDefForUpdateIpList added in v0.0.70

func GenReqDefForUpdateIpList() *def.HttpRequestDef

func GenReqDefForUpdateL7Policy

func GenReqDefForUpdateL7Policy() *def.HttpRequestDef

func GenReqDefForUpdateL7Rule

func GenReqDefForUpdateL7Rule() *def.HttpRequestDef

func GenReqDefForUpdateListener

func GenReqDefForUpdateListener() *def.HttpRequestDef

func GenReqDefForUpdateLoadBalancer

func GenReqDefForUpdateLoadBalancer() *def.HttpRequestDef

func GenReqDefForUpdateLogtank added in v0.0.80

func GenReqDefForUpdateLogtank() *def.HttpRequestDef

func GenReqDefForUpdateMember

func GenReqDefForUpdateMember() *def.HttpRequestDef

func GenReqDefForUpdatePool

func GenReqDefForUpdatePool() *def.HttpRequestDef

func GenReqDefForUpdateSecurityPolicy added in v0.0.70

func GenReqDefForUpdateSecurityPolicy() *def.HttpRequestDef

Types

type ElbClient

type ElbClient struct {
	HcClient *http_client.HcHttpClient
}

func NewElbClient

func NewElbClient(hcClient *http_client.HcHttpClient) *ElbClient

func (*ElbClient) BatchCreateMembers added in v0.0.78

func (c *ElbClient) BatchCreateMembers(request *model.BatchCreateMembersRequest) (*model.BatchCreateMembersResponse, error)

批量创建后端服务器

在指定pool下批量创建后端服务器。

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

func (*ElbClient) BatchDeleteIpList added in v0.0.70

func (c *ElbClient) BatchDeleteIpList(request *model.BatchDeleteIpListRequest) (*model.BatchDeleteIpListResponse, error)

删除IP地址组的IP列表项

批量删除IP地址组的IP列表项。

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

func (*ElbClient) BatchDeleteMembers added in v0.0.78

func (c *ElbClient) BatchDeleteMembers(request *model.BatchDeleteMembersRequest) (*model.BatchDeleteMembersResponse, error)

批量删除后端服务器

在指定pool下批量删除后端服务器。

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

func (*ElbClient) BatchUpdatePoliciesPriority added in v0.0.70

批量更新转发策略优先级

批量更新转发策略的优先级。

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

func (*ElbClient) ChangeLoadbalancerChargeMode added in v0.0.70

负载均衡器计费模式变更

负载均衡器计费模式变更,当前只支持按需计费转包周期计费。

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

func (*ElbClient) CountPreoccupyIpNum

计算预占IP数

计算以下几种场景的预占用IP数量: - 计算创建LB的第一个七层监听器后总占用IP数量:传入loadbalancer_id、l7_flavor_id为空、ip_target_enable不传或为false。 - 计算LB规格变更或开启跨VPC后总占用IP数量:传入参数loadbalancer_id,及l7_flavor_id不为空或ip_target_enable为true。 - 计算创建LB所需IP数量:传入参数availability_zone_id,及可选参数l7_flavor_id、ip_target_enable、ip_version,不能传loadbalancer_id。 > 查询出的预占IP数大于等于最终实际占用的IP数。

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

func (*ElbClient) CreateCertificate

func (c *ElbClient) CreateCertificate(request *model.CreateCertificateRequest) (*model.CreateCertificateResponse, error)

创建证书

创建证书。用于HTTPS协议监听器。

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

func (*ElbClient) CreateHealthMonitor

创建健康检查

创建健康检查。

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

func (*ElbClient) CreateIpGroup

func (c *ElbClient) CreateIpGroup(request *model.CreateIpGroupRequest) (*model.CreateIpGroupResponse, error)

创建IP地址组

创建IP地址组。输入的ip可为ip地址或者CIDR子网,支持IPV4和IPV6。需要注意,0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,会只保留其中一个写入。 [不支持IPv6,请勿传入IPv6地址。](tag:dt,dt_test)

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

func (*ElbClient) CreateL7Policy

func (c *ElbClient) CreateL7Policy(request *model.CreateL7PolicyRequest) (*model.CreateL7PolicyResponse, error)

创建转发策略

创建七层转发策略。

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

func (*ElbClient) CreateL7Rule

func (c *ElbClient) CreateL7Rule(request *model.CreateL7RuleRequest) (*model.CreateL7RuleResponse, error)

创建转发规则

创建七层转发规则。

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

func (*ElbClient) CreateListener

func (c *ElbClient) CreateListener(request *model.CreateListenerRequest) (*model.CreateListenerResponse, error)

创建监听器

创建监听器。

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

func (*ElbClient) CreateLoadBalancer

func (c *ElbClient) CreateLoadBalancer(request *model.CreateLoadBalancerRequest) (*model.CreateLoadBalancerResponse, error)

创建负载均衡器

创建负载均衡器。

1.若要创建内网IPv4负载均衡器,则需要设置vip_subnet_cidr_id。

2.若要创建公网IPv4负载均衡器,则需要设置publicip,以及设置vpc_id和vip_subnet_cidr_id这两个参数中的一个。

3.若要绑定有已有公网IPv4地址,需要设置publicip_ids,以及设置vpc_id和vip_subnet_cidr_id这两个参数中的一个。

4.若要创建内网双栈负载均衡器,则需要设置ipv6_vip_virsubnet_id。

5.若要创建公网双栈负载均衡器,则需要设置ipv6_vip_virsubnet_id和ipv6_bandwidth。

6.不支持绑定已有未使用的内网IPv4、内网IPv6或公网IPv6地址。

[>不支持创建IPv6地址负载均衡器](tag:dt,dt_test)

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

func (*ElbClient) CreateLogtank added in v0.0.80

func (c *ElbClient) CreateLogtank(request *model.CreateLogtankRequest) (*model.CreateLogtankResponse, error)

创建云日志

创建云日志

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

func (*ElbClient) CreateMember

func (c *ElbClient) CreateMember(request *model.CreateMemberRequest) (*model.CreateMemberResponse, error)

创建后端服务器

创建后端服务器。

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

func (*ElbClient) CreatePool

func (c *ElbClient) CreatePool(request *model.CreatePoolRequest) (*model.CreatePoolResponse, error)

创建后端服务器组

创建后端服务器组。

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

func (*ElbClient) CreateSecurityPolicy added in v0.0.70

创建自定义安全策略

创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_id来设置监听器的自定义安全策略。

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

func (*ElbClient) DeleteCertificate

func (c *ElbClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)

删除证书

删除证书。

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

func (*ElbClient) DeleteHealthMonitor

删除健康检查

删除健康检查。

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

func (*ElbClient) DeleteIpGroup

func (c *ElbClient) DeleteIpGroup(request *model.DeleteIpGroupRequest) (*model.DeleteIpGroupResponse, error)

删除IP地址组

删除ip地址组。

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

func (*ElbClient) DeleteL7Policy

func (c *ElbClient) DeleteL7Policy(request *model.DeleteL7PolicyRequest) (*model.DeleteL7PolicyResponse, error)

删除转发策略

删除七层转发策略。

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

func (*ElbClient) DeleteL7Rule

func (c *ElbClient) DeleteL7Rule(request *model.DeleteL7RuleRequest) (*model.DeleteL7RuleResponse, error)

删除转发规则

删除七层转发规则。

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

func (*ElbClient) DeleteListener

func (c *ElbClient) DeleteListener(request *model.DeleteListenerRequest) (*model.DeleteListenerResponse, error)

删除监听器

删除监听器。

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

func (*ElbClient) DeleteLoadBalancer

func (c *ElbClient) DeleteLoadBalancer(request *model.DeleteLoadBalancerRequest) (*model.DeleteLoadBalancerResponse, error)

删除负载均衡器

删除负载均衡器。

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

func (*ElbClient) DeleteLogtank added in v0.0.80

func (c *ElbClient) DeleteLogtank(request *model.DeleteLogtankRequest) (*model.DeleteLogtankResponse, error)

删除云日志

删除云日志。

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

func (*ElbClient) DeleteMember

func (c *ElbClient) DeleteMember(request *model.DeleteMemberRequest) (*model.DeleteMemberResponse, error)

删除后端服务器

删除后端服务器。

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

func (*ElbClient) DeletePool

func (c *ElbClient) DeletePool(request *model.DeletePoolRequest) (*model.DeletePoolResponse, error)

删除后端服务器组

删除后端服务器组。

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

func (*ElbClient) DeleteSecurityPolicy added in v0.0.70

删除自定义安全策略

删除自定义安全策略。

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

func (*ElbClient) ListAllMembers

func (c *ElbClient) ListAllMembers(request *model.ListAllMembersRequest) (*model.ListAllMembersResponse, error)

后端服务器全局列表

查询当前租户下的后端服务器列表。

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

func (*ElbClient) ListApiVersions added in v0.0.70

func (c *ElbClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)

查询API版本列表信息

返回ELB当前所有可用的API版本。

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

func (*ElbClient) ListAvailabilityZones

查询可用区列表

返回租户创建LB时可使用的可用区集合列表情况。

默认情况下,会返回一个可用区集合。在(如创建LB)设置可用区时,填写的可用区必须包含在可用区集合中、为这个可用区集合的子集。

[特殊场景下,部分客户要求负载均衡只能创建在指定可用区集合中,此时会返回客户定制的可用区集合。返回可用区集合可能为一个也可能为多个,比如列表有两个可用区集合[az1,az2], [az2,az3]。在创建负载均衡器时,可以选择创建在多个可用区,但所选的多个可用区必须同属于其中一个可用区集合,如可以选az2和az3,但不能选择az1和az3。你可以选择多个可用区,只要这些可用区在一个子集中](tag:hws,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42)

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

func (*ElbClient) ListCertificates

func (c *ElbClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)

证书列表

查询证书列表。

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

func (*ElbClient) ListFlavors

func (c *ElbClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)

查询规格列表

查询租户在当前region下可用的负载均衡规格列表。

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

func (*ElbClient) ListHealthMonitors

func (c *ElbClient) ListHealthMonitors(request *model.ListHealthMonitorsRequest) (*model.ListHealthMonitorsResponse, error)

查询健康检查列表

健康检查列表。

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

func (*ElbClient) ListIpGroups

func (c *ElbClient) ListIpGroups(request *model.ListIpGroupsRequest) (*model.ListIpGroupsResponse, error)

查询IP地址组列表

查询IP地址组列表。

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

func (*ElbClient) ListL7Policies

func (c *ElbClient) ListL7Policies(request *model.ListL7PoliciesRequest) (*model.ListL7PoliciesResponse, error)

查询转发策略列表

查询七层转发策略列表。

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

func (*ElbClient) ListL7Rules

func (c *ElbClient) ListL7Rules(request *model.ListL7RulesRequest) (*model.ListL7RulesResponse, error)

查询转发规则列表

查询转发规则列表。

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

func (*ElbClient) ListListeners

func (c *ElbClient) ListListeners(request *model.ListListenersRequest) (*model.ListListenersResponse, error)

查询监听器列表

查询监听器列表。

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

func (*ElbClient) ListLoadBalancers

func (c *ElbClient) ListLoadBalancers(request *model.ListLoadBalancersRequest) (*model.ListLoadBalancersResponse, error)

查询负载均衡器列表

查询负载均衡器列表。

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

func (*ElbClient) ListLogtanks added in v0.0.80

func (c *ElbClient) ListLogtanks(request *model.ListLogtanksRequest) (*model.ListLogtanksResponse, error)

云日志列表

云日志列表

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

func (*ElbClient) ListMembers

func (c *ElbClient) ListMembers(request *model.ListMembersRequest) (*model.ListMembersResponse, error)

后端服务器列表

Pool下的后端服务器列表。

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

func (*ElbClient) ListPools

func (c *ElbClient) ListPools(request *model.ListPoolsRequest) (*model.ListPoolsResponse, error)

查询后端服务器组列表

后端服务器组列表。

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

func (*ElbClient) ListQuotaDetails added in v0.0.70

func (c *ElbClient) ListQuotaDetails(request *model.ListQuotaDetailsRequest) (*model.ListQuotaDetailsResponse, error)

查询配额使用详情

查询指定项目中负载均衡相关的各类资源的当前配额和已使用配额信息。

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

func (*ElbClient) ListSecurityPolicies added in v0.0.70

查询自定义安全策略列表

查询自定义安全策略列表。

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

func (*ElbClient) ListSystemSecurityPolicies added in v0.0.70

查询系统安全策略列表

查询系统安全策略列表。

系统安全策略为预置的所有租户通用的安全策略,租户不可新增或修改。

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

func (*ElbClient) ShowCertificate

func (c *ElbClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)

证书详情

查询证书详情。

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

func (*ElbClient) ShowFlavor

func (c *ElbClient) ShowFlavor(request *model.ShowFlavorRequest) (*model.ShowFlavorResponse, error)

查询规格详情

查询规格的详情。

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

func (*ElbClient) ShowHealthMonitor

func (c *ElbClient) ShowHealthMonitor(request *model.ShowHealthMonitorRequest) (*model.ShowHealthMonitorResponse, error)

查询健康检查详情

查询健康检查详情。

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

func (*ElbClient) ShowIpGroup

func (c *ElbClient) ShowIpGroup(request *model.ShowIpGroupRequest) (*model.ShowIpGroupResponse, error)

查询IP地址组详情

获取IP地址组详情。

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

func (*ElbClient) ShowL7Policy

func (c *ElbClient) ShowL7Policy(request *model.ShowL7PolicyRequest) (*model.ShowL7PolicyResponse, error)

查询转发策略详情

查询七层转发策略详情。

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

func (*ElbClient) ShowL7Rule

func (c *ElbClient) ShowL7Rule(request *model.ShowL7RuleRequest) (*model.ShowL7RuleResponse, error)

查询转发规则详情

查询七层转发规则详情。

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

func (*ElbClient) ShowListener

func (c *ElbClient) ShowListener(request *model.ShowListenerRequest) (*model.ShowListenerResponse, error)

查询监听器详情

监听器详情。

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

func (*ElbClient) ShowLoadBalancer

func (c *ElbClient) ShowLoadBalancer(request *model.ShowLoadBalancerRequest) (*model.ShowLoadBalancerResponse, error)

查询负载均衡器详情

查询负载均衡器详情。

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

func (*ElbClient) ShowLoadBalancerStatus

查询负载均衡器状态树

查询负载均衡器状态树,包括负载均衡器及其关联的子资源的状态信息。

注意:该接口中的operating_status不一定与对应资源的operating_status相同。如:当Member的admin_state_up=false且operating_status=OFFLINE时,该接口返回member的operating_status=DISABLE。

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

func (*ElbClient) ShowLogtank added in v0.0.80

func (c *ElbClient) ShowLogtank(request *model.ShowLogtankRequest) (*model.ShowLogtankResponse, error)

云日志配置详情

云日志详情。

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

func (*ElbClient) ShowMember

func (c *ElbClient) ShowMember(request *model.ShowMemberRequest) (*model.ShowMemberResponse, error)

后端服务器详情

后端服务器详情。

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

func (*ElbClient) ShowPool

func (c *ElbClient) ShowPool(request *model.ShowPoolRequest) (*model.ShowPoolResponse, error)

查询后端服务器组详情

后端服务器组详情。

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

func (*ElbClient) ShowQuota

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

查询配额

查询指定项目中负载均衡相关的各类资源的当前配额。

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

func (*ElbClient) ShowSecurityPolicy added in v0.0.70

func (c *ElbClient) ShowSecurityPolicy(request *model.ShowSecurityPolicyRequest) (*model.ShowSecurityPolicyResponse, error)

查询自定义安全策略详情

查询自定义安全策略详情。

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

func (*ElbClient) UpdateCertificate

func (c *ElbClient) UpdateCertificate(request *model.UpdateCertificateRequest) (*model.UpdateCertificateResponse, error)

更新证书

更新证书。

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

func (*ElbClient) UpdateHealthMonitor

更新健康检查

更新健康检查。

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

func (*ElbClient) UpdateIpGroup

func (c *ElbClient) UpdateIpGroup(request *model.UpdateIpGroupRequest) (*model.UpdateIpGroupResponse, error)

更新IP地址组

更新IP地址组,只支持全量更新IP。即IP地址组中的ip_list将被全量覆盖,不在请求参数中的IP地址将被移除。输入的ip可为ip地址或者CIDR子网,支持IPV4和IPV6。需要注意,0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,会只保留其中一个写入。 [不支持IPv6,请勿传入IPv6地址。](tag:dt,dt_test)

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

func (*ElbClient) UpdateIpList added in v0.0.70

func (c *ElbClient) UpdateIpList(request *model.UpdateIpListRequest) (*model.UpdateIpListResponse, error)

更新IP地址组的IP列表项

更新IP地址组的IP列表信息。

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

func (*ElbClient) UpdateL7Policy

func (c *ElbClient) UpdateL7Policy(request *model.UpdateL7PolicyRequest) (*model.UpdateL7PolicyResponse, error)

更新转发策略

更新七层转发策略。

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

func (*ElbClient) UpdateL7Rule

func (c *ElbClient) UpdateL7Rule(request *model.UpdateL7RuleRequest) (*model.UpdateL7RuleResponse, error)

更新转发规则

更新七层转发规则。

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

func (*ElbClient) UpdateListener

func (c *ElbClient) UpdateListener(request *model.UpdateListenerRequest) (*model.UpdateListenerResponse, error)

更新监听器

更新监听器。

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

func (*ElbClient) UpdateLoadBalancer

func (c *ElbClient) UpdateLoadBalancer(request *model.UpdateLoadBalancerRequest) (*model.UpdateLoadBalancerResponse, error)

更新负载均衡器

更新负载均衡器。

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

func (*ElbClient) UpdateLogtank added in v0.0.80

func (c *ElbClient) UpdateLogtank(request *model.UpdateLogtankRequest) (*model.UpdateLogtankResponse, error)

更新云日志

更新云日志

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

func (*ElbClient) UpdateMember

func (c *ElbClient) UpdateMember(request *model.UpdateMemberRequest) (*model.UpdateMemberResponse, error)

更新后端服务器

更新后端服务器。

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

func (*ElbClient) UpdatePool

func (c *ElbClient) UpdatePool(request *model.UpdatePoolRequest) (*model.UpdatePoolResponse, error)

更新后端服务器组

更新后端服务器组。

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

func (*ElbClient) UpdateSecurityPolicy added in v0.0.70

更新自定义安全策略

更新自定义安全策略。

详细说明请参考华为云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