Documentation ¶
Index ¶
- func EipClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAssociatePublicips() *def.HttpRequestDef
- func GenReqDefForDisassociatePublicips() *def.HttpRequestDef
- func GenReqDefForListPublicips() *def.HttpRequestDef
- func GenReqDefForShowPublicip() *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) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
- func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, 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 GenReqDefForListPublicips ¶
func GenReqDefForListPublicips() *def.HttpRequestDef
func GenReqDefForShowPublicip ¶
func GenReqDefForShowPublicip() *def.HttpRequestDef
Types ¶
type EipClient ¶
type EipClient struct {
// contains filtered or unexported fields
}
func NewEipClient ¶
func NewEipClient(hcClient *http_client.HcHttpClient) *EipClient
func (*EipClient) AssociatePublicips ¶
func (c *EipClient) AssociatePublicips(request *model.AssociatePublicipsRequest) (*model.AssociatePublicipsResponse, error)
绑定弹性公网IP
func (*EipClient) DisassociatePublicips ¶
func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
解绑弹性公网IP
func (*EipClient) ListPublicips ¶
func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
查询弹性公网IP列表信息
func (*EipClient) ShowPublicip ¶
func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
查询弹性公网IP详情
Click to show internal directories.
Click to hide internal directories.