Documentation ¶
Index ¶
- func EipClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAssociatePublicips() *def.HttpRequestDef
- func GenReqDefForCountEipAvailableResources() *def.HttpRequestDef
- func GenReqDefForDisassociatePublicips() *def.HttpRequestDef
- func GenReqDefForListCommonPools() *def.HttpRequestDef
- func GenReqDefForListPublicBorderGroups() *def.HttpRequestDef
- func GenReqDefForListPublicipPool() *def.HttpRequestDef
- func GenReqDefForListPublicips() *def.HttpRequestDef
- func GenReqDefForListShareBandwidthTypes() *def.HttpRequestDef
- func GenReqDefForShowPublicip() *def.HttpRequestDef
- func GenReqDefForShowPublicipPool() *def.HttpRequestDef
- func GenReqDefForUpdateAssociatePublicip() *def.HttpRequestDef
- func GenReqDefForUpdateDisassociatePublicip() *def.HttpRequestDef
- type AssociatePublicipsInvoker
- type CountEipAvailableResourcesInvoker
- type DisassociatePublicipsInvoker
- type EipClient
- func (c *EipClient) AssociatePublicips(request *model.AssociatePublicipsRequest) (*model.AssociatePublicipsResponse, error)
- func (c *EipClient) AssociatePublicipsInvoker(request *model.AssociatePublicipsRequest) *AssociatePublicipsInvoker
- func (c *EipClient) CountEipAvailableResources(request *model.CountEipAvailableResourcesRequest) (*model.CountEipAvailableResourcesResponse, error)
- func (c *EipClient) CountEipAvailableResourcesInvoker(request *model.CountEipAvailableResourcesRequest) *CountEipAvailableResourcesInvoker
- func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
- func (c *EipClient) DisassociatePublicipsInvoker(request *model.DisassociatePublicipsRequest) *DisassociatePublicipsInvoker
- func (c *EipClient) ListCommonPools(request *model.ListCommonPoolsRequest) (*model.ListCommonPoolsResponse, error)
- func (c *EipClient) ListCommonPoolsInvoker(request *model.ListCommonPoolsRequest) *ListCommonPoolsInvoker
- func (c *EipClient) ListPublicBorderGroups(request *model.ListPublicBorderGroupsRequest) (*model.ListPublicBorderGroupsResponse, error)
- func (c *EipClient) ListPublicBorderGroupsInvoker(request *model.ListPublicBorderGroupsRequest) *ListPublicBorderGroupsInvoker
- func (c *EipClient) ListPublicipPool(request *model.ListPublicipPoolRequest) (*model.ListPublicipPoolResponse, error)
- func (c *EipClient) ListPublicipPoolInvoker(request *model.ListPublicipPoolRequest) *ListPublicipPoolInvoker
- func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
- func (c *EipClient) ListPublicipsInvoker(request *model.ListPublicipsRequest) *ListPublicipsInvoker
- func (c *EipClient) ListShareBandwidthTypes(request *model.ListShareBandwidthTypesRequest) (*model.ListShareBandwidthTypesResponse, error)
- func (c *EipClient) ListShareBandwidthTypesInvoker(request *model.ListShareBandwidthTypesRequest) *ListShareBandwidthTypesInvoker
- func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
- func (c *EipClient) ShowPublicipInvoker(request *model.ShowPublicipRequest) *ShowPublicipInvoker
- func (c *EipClient) ShowPublicipPool(request *model.ShowPublicipPoolRequest) (*model.ShowPublicipPoolResponse, error)
- func (c *EipClient) ShowPublicipPoolInvoker(request *model.ShowPublicipPoolRequest) *ShowPublicipPoolInvoker
- func (c *EipClient) UpdateAssociatePublicip(request *model.UpdateAssociatePublicipRequest) (*model.UpdateAssociatePublicipResponse, error)
- func (c *EipClient) UpdateAssociatePublicipInvoker(request *model.UpdateAssociatePublicipRequest) *UpdateAssociatePublicipInvoker
- func (c *EipClient) UpdateDisassociatePublicip(request *model.UpdateDisassociatePublicipRequest) (*model.UpdateDisassociatePublicipResponse, error)
- func (c *EipClient) UpdateDisassociatePublicipInvoker(request *model.UpdateDisassociatePublicipRequest) *UpdateDisassociatePublicipInvoker
- type ListCommonPoolsInvoker
- type ListPublicBorderGroupsInvoker
- type ListPublicipPoolInvoker
- type ListPublicipsInvoker
- type ListShareBandwidthTypesInvoker
- type ShowPublicipInvoker
- type ShowPublicipPoolInvoker
- type UpdateAssociatePublicipInvoker
- type UpdateDisassociatePublicipInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EipClientBuilder ¶
func EipClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAssociatePublicips ¶
func GenReqDefForAssociatePublicips() *def.HttpRequestDef
func GenReqDefForCountEipAvailableResources ¶ added in v0.1.15
func GenReqDefForCountEipAvailableResources() *def.HttpRequestDef
func GenReqDefForDisassociatePublicips ¶
func GenReqDefForDisassociatePublicips() *def.HttpRequestDef
func GenReqDefForListCommonPools ¶ added in v0.0.66
func GenReqDefForListCommonPools() *def.HttpRequestDef
func GenReqDefForListPublicBorderGroups ¶ added in v0.0.66
func GenReqDefForListPublicBorderGroups() *def.HttpRequestDef
func GenReqDefForListPublicipPool ¶ added in v0.0.66
func GenReqDefForListPublicipPool() *def.HttpRequestDef
func GenReqDefForListPublicips ¶
func GenReqDefForListPublicips() *def.HttpRequestDef
func GenReqDefForListShareBandwidthTypes ¶ added in v0.0.66
func GenReqDefForListShareBandwidthTypes() *def.HttpRequestDef
func GenReqDefForShowPublicip ¶
func GenReqDefForShowPublicip() *def.HttpRequestDef
func GenReqDefForShowPublicipPool ¶ added in v0.0.66
func GenReqDefForShowPublicipPool() *def.HttpRequestDef
func GenReqDefForUpdateAssociatePublicip ¶ added in v0.1.13
func GenReqDefForUpdateAssociatePublicip() *def.HttpRequestDef
func GenReqDefForUpdateDisassociatePublicip ¶ added in v0.1.13
func GenReqDefForUpdateDisassociatePublicip() *def.HttpRequestDef
Types ¶
type AssociatePublicipsInvoker ¶ added in v0.0.90
type AssociatePublicipsInvoker struct {
*invoker.BaseInvoker
}
func (*AssociatePublicipsInvoker) Invoke ¶ added in v0.0.90
func (i *AssociatePublicipsInvoker) Invoke() (*model.AssociatePublicipsResponse, error)
type CountEipAvailableResourcesInvoker ¶ added in v0.1.15
type CountEipAvailableResourcesInvoker struct {
*invoker.BaseInvoker
}
func (*CountEipAvailableResourcesInvoker) Invoke ¶ added in v0.1.15
func (i *CountEipAvailableResourcesInvoker) Invoke() (*model.CountEipAvailableResourcesResponse, error)
type DisassociatePublicipsInvoker ¶ added in v0.0.90
type DisassociatePublicipsInvoker struct {
*invoker.BaseInvoker
}
func (*DisassociatePublicipsInvoker) Invoke ¶ added in v0.0.90
func (i *DisassociatePublicipsInvoker) Invoke() (*model.DisassociatePublicipsResponse, error)
type EipClient ¶
type EipClient struct {
HcClient *http_client.HcHttpClient
}
func NewEipClient ¶
func NewEipClient(hcClient *http_client.HcHttpClient) *EipClient
func (*EipClient) AssociatePublicips ¶
func (c *EipClient) AssociatePublicips(request *model.AssociatePublicipsRequest) (*model.AssociatePublicipsResponse, error)
AssociatePublicips 绑定弹性公网IP
绑定弹性公网IP
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) AssociatePublicipsInvoker ¶ added in v0.0.90
func (c *EipClient) AssociatePublicipsInvoker(request *model.AssociatePublicipsRequest) *AssociatePublicipsInvoker
AssociatePublicipsInvoker 绑定弹性公网IP
func (*EipClient) CountEipAvailableResources ¶ added in v0.1.15
func (c *EipClient) CountEipAvailableResources(request *model.CountEipAvailableResourcesRequest) (*model.CountEipAvailableResourcesResponse, error)
CountEipAvailableResources 查询弹性公网IP可用数
IP池用于查询公网可用ip个数 ¶
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) CountEipAvailableResourcesInvoker ¶ added in v0.1.15
func (c *EipClient) CountEipAvailableResourcesInvoker(request *model.CountEipAvailableResourcesRequest) *CountEipAvailableResourcesInvoker
CountEipAvailableResourcesInvoker 查询弹性公网IP可用数
func (*EipClient) DisassociatePublicips ¶
func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
DisassociatePublicips 解绑弹性公网IP
解绑弹性公网IP
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) DisassociatePublicipsInvoker ¶ added in v0.0.90
func (c *EipClient) DisassociatePublicipsInvoker(request *model.DisassociatePublicipsRequest) *DisassociatePublicipsInvoker
DisassociatePublicipsInvoker 解绑弹性公网IP
func (*EipClient) ListCommonPools ¶ added in v0.0.66
func (c *EipClient) ListCommonPools(request *model.ListCommonPoolsRequest) (*model.ListCommonPoolsResponse, error)
ListCommonPools 查询公共池列表
查询公共池列表
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ListCommonPoolsInvoker ¶ added in v0.0.90
func (c *EipClient) ListCommonPoolsInvoker(request *model.ListCommonPoolsRequest) *ListCommonPoolsInvoker
ListCommonPoolsInvoker 查询公共池列表
func (*EipClient) ListPublicBorderGroups ¶ added in v0.0.66
func (c *EipClient) ListPublicBorderGroups(request *model.ListPublicBorderGroupsRequest) (*model.ListPublicBorderGroupsResponse, error)
ListPublicBorderGroups 查询公共池分组列表
查询公共池分组列表,包含名称和位置信息
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ListPublicBorderGroupsInvoker ¶ added in v0.0.90
func (c *EipClient) ListPublicBorderGroupsInvoker(request *model.ListPublicBorderGroupsRequest) *ListPublicBorderGroupsInvoker
ListPublicBorderGroupsInvoker 查询公共池分组列表
func (*EipClient) ListPublicipPool ¶ added in v0.0.66
func (c *EipClient) ListPublicipPool(request *model.ListPublicipPoolRequest) (*model.ListPublicipPoolResponse, error)
ListPublicipPool 查询公网IP池列表
全量查询公网IP池列表
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ListPublicipPoolInvoker ¶ added in v0.0.90
func (c *EipClient) ListPublicipPoolInvoker(request *model.ListPublicipPoolRequest) *ListPublicipPoolInvoker
ListPublicipPoolInvoker 查询公网IP池列表
func (*EipClient) ListPublicips ¶
func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
ListPublicips 全量查询弹性公网IP列表
查询弹性公网IP列表信息
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ListPublicipsInvoker ¶ added in v0.0.90
func (c *EipClient) ListPublicipsInvoker(request *model.ListPublicipsRequest) *ListPublicipsInvoker
ListPublicipsInvoker 全量查询弹性公网IP列表
func (*EipClient) ListShareBandwidthTypes ¶ added in v0.0.66
func (c *EipClient) ListShareBandwidthTypes(request *model.ListShareBandwidthTypesRequest) (*model.ListShareBandwidthTypesResponse, error)
ListShareBandwidthTypes 查询指定租户下的共享带宽类型列表
查询指定租户下的共享带宽类型列表
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ListShareBandwidthTypesInvoker ¶ added in v0.0.90
func (c *EipClient) ListShareBandwidthTypesInvoker(request *model.ListShareBandwidthTypesRequest) *ListShareBandwidthTypesInvoker
ListShareBandwidthTypesInvoker 查询指定租户下的共享带宽类型列表
func (*EipClient) ShowPublicip ¶
func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
ShowPublicip 查询弹性公网IP详情
查询弹性公网IP详情
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ShowPublicipInvoker ¶ added in v0.0.90
func (c *EipClient) ShowPublicipInvoker(request *model.ShowPublicipRequest) *ShowPublicipInvoker
ShowPublicipInvoker 查询弹性公网IP详情
func (*EipClient) ShowPublicipPool ¶ added in v0.0.66
func (c *EipClient) ShowPublicipPool(request *model.ShowPublicipPoolRequest) (*model.ShowPublicipPoolResponse, error)
ShowPublicipPool 查询公网IP池详情
查询公网IP池详情
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) ShowPublicipPoolInvoker ¶ added in v0.0.90
func (c *EipClient) ShowPublicipPoolInvoker(request *model.ShowPublicipPoolRequest) *ShowPublicipPoolInvoker
ShowPublicipPoolInvoker 查询公网IP池详情
func (*EipClient) UpdateAssociatePublicip ¶ added in v0.1.13
func (c *EipClient) UpdateAssociatePublicip(request *model.UpdateAssociatePublicipRequest) (*model.UpdateAssociatePublicipResponse, error)
UpdateAssociatePublicip 绑定弹性公网IP
绑定弹性公网IP
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) UpdateAssociatePublicipInvoker ¶ added in v0.1.13
func (c *EipClient) UpdateAssociatePublicipInvoker(request *model.UpdateAssociatePublicipRequest) *UpdateAssociatePublicipInvoker
UpdateAssociatePublicipInvoker 绑定弹性公网IP
func (*EipClient) UpdateDisassociatePublicip ¶ added in v0.1.13
func (c *EipClient) UpdateDisassociatePublicip(request *model.UpdateDisassociatePublicipRequest) (*model.UpdateDisassociatePublicipResponse, error)
UpdateDisassociatePublicip 解绑弹性公网IP
解绑弹性公网IP
Please refer to HUAWEI cloud API Explorer for details.
func (*EipClient) UpdateDisassociatePublicipInvoker ¶ added in v0.1.13
func (c *EipClient) UpdateDisassociatePublicipInvoker(request *model.UpdateDisassociatePublicipRequest) *UpdateDisassociatePublicipInvoker
UpdateDisassociatePublicipInvoker 解绑弹性公网IP
type ListCommonPoolsInvoker ¶ added in v0.0.90
type ListCommonPoolsInvoker struct {
*invoker.BaseInvoker
}
func (*ListCommonPoolsInvoker) Invoke ¶ added in v0.0.90
func (i *ListCommonPoolsInvoker) Invoke() (*model.ListCommonPoolsResponse, error)
type ListPublicBorderGroupsInvoker ¶ added in v0.0.90
type ListPublicBorderGroupsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPublicBorderGroupsInvoker) Invoke ¶ added in v0.0.90
func (i *ListPublicBorderGroupsInvoker) Invoke() (*model.ListPublicBorderGroupsResponse, error)
type ListPublicipPoolInvoker ¶ added in v0.0.90
type ListPublicipPoolInvoker struct {
*invoker.BaseInvoker
}
func (*ListPublicipPoolInvoker) Invoke ¶ added in v0.0.90
func (i *ListPublicipPoolInvoker) Invoke() (*model.ListPublicipPoolResponse, error)
type ListPublicipsInvoker ¶ added in v0.0.90
type ListPublicipsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPublicipsInvoker) Invoke ¶ added in v0.0.90
func (i *ListPublicipsInvoker) Invoke() (*model.ListPublicipsResponse, error)
type ListShareBandwidthTypesInvoker ¶ added in v0.0.90
type ListShareBandwidthTypesInvoker struct {
}func (*ListShareBandwidthTypesInvoker) Invoke ¶ added in v0.0.90
func (i *ListShareBandwidthTypesInvoker) Invoke() (*model.ListShareBandwidthTypesResponse, error)
type ShowPublicipInvoker ¶ added in v0.0.90
type ShowPublicipInvoker struct {
*invoker.BaseInvoker
}
func (*ShowPublicipInvoker) Invoke ¶ added in v0.0.90
func (i *ShowPublicipInvoker) Invoke() (*model.ShowPublicipResponse, error)
type ShowPublicipPoolInvoker ¶ added in v0.0.90
type ShowPublicipPoolInvoker struct {
*invoker.BaseInvoker
}
func (*ShowPublicipPoolInvoker) Invoke ¶ added in v0.0.90
func (i *ShowPublicipPoolInvoker) Invoke() (*model.ShowPublicipPoolResponse, error)
type UpdateAssociatePublicipInvoker ¶ added in v0.1.13
type UpdateAssociatePublicipInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAssociatePublicipInvoker) Invoke ¶ added in v0.1.13
func (i *UpdateAssociatePublicipInvoker) Invoke() (*model.UpdateAssociatePublicipResponse, error)
type UpdateDisassociatePublicipInvoker ¶ added in v0.1.13
type UpdateDisassociatePublicipInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDisassociatePublicipInvoker) Invoke ¶ added in v0.1.13
func (i *UpdateDisassociatePublicipInvoker) Invoke() (*model.UpdateDisassociatePublicipResponse, error)