Documentation ¶
Index ¶
- func EipClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAssociatePublicips() *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
- type EipClient
- func (c *EipClient) AssociatePublicips(request *model.AssociatePublicipsRequest) (*model.AssociatePublicipsResponse, error)
- func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
- func (c *EipClient) ListCommonPools(request *model.ListCommonPoolsRequest) (*model.ListCommonPoolsResponse, error)
- func (c *EipClient) ListPublicBorderGroups(request *model.ListPublicBorderGroupsRequest) (*model.ListPublicBorderGroupsResponse, error)
- func (c *EipClient) ListPublicipPool(request *model.ListPublicipPoolRequest) (*model.ListPublicipPoolResponse, error)
- func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
- func (c *EipClient) ListShareBandwidthTypes(request *model.ListShareBandwidthTypesRequest) (*model.ListShareBandwidthTypesResponse, error)
- func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
- func (c *EipClient) ShowPublicipPool(request *model.ShowPublicipPoolRequest) (*model.ShowPublicipPoolResponse, error)
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 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
Types ¶
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)
绑定弹性公网IP
绑定弹性公网IP
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) DisassociatePublicips ¶
func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
解绑弹性公网IP
解绑弹性公网IP
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ListCommonPools ¶ added in v0.0.66
func (c *EipClient) ListCommonPools(request *model.ListCommonPoolsRequest) (*model.ListCommonPoolsResponse, error)
查询公共池列表
查询公共池列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ListPublicBorderGroups ¶ added in v0.0.66
func (c *EipClient) ListPublicBorderGroups(request *model.ListPublicBorderGroupsRequest) (*model.ListPublicBorderGroupsResponse, error)
查询公共池分组列表
查询公共池分组列表,包含名称和位置信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ListPublicipPool ¶ added in v0.0.66
func (c *EipClient) ListPublicipPool(request *model.ListPublicipPoolRequest) (*model.ListPublicipPoolResponse, error)
查询公网IP池列表
全量查询公网IP池列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ListPublicips ¶
func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
全量查询弹性公网IP列表
查询弹性公网IP列表信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ListShareBandwidthTypes ¶ added in v0.0.66
func (c *EipClient) ListShareBandwidthTypes(request *model.ListShareBandwidthTypesRequest) (*model.ListShareBandwidthTypesResponse, error)
查询指定租户下的共享带宽类型列表
查询指定租户下的共享带宽类型列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ShowPublicip ¶
func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
查询弹性公网IP详情
查询弹性公网IP详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EipClient) ShowPublicipPool ¶ added in v0.0.66
func (c *EipClient) ShowPublicipPool(request *model.ShowPublicipPoolRequest) (*model.ShowPublicipPoolResponse, error)
查询公网IP池详情
查询公网IP池详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.