 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func DoAction(action string, options ...string) ([]byte, error)
- type CreateEipResp
- type DeleteEipResp
- type DescribeEipQuotaResp
- type DescribeEipResp
- type EipBindInstanceResp
- type EipClient
- func (c *EipClient) CreateEip(options ...string) (*CreateEipResp, error)
- func (c *EipClient) DeleteEip(options ...string) (*DeleteEipResp, error)
- func (c *EipClient) DescribeEip(options ...string) (*DescribeEipResp, error)
- func (c *EipClient) DescribeEipQuota(options ...string) (*DescribeEipQuotaResp, error)
- func (client *EipClient) DoAction(action string, options ...string) ([]byte, error)
- func (c *EipClient) EipBindInstance(options ...string) (*EipBindInstanceResp, error)
- func (c *EipClient) EipUnBindInstance(options ...string) (*EipUnBindInstanceResp, error)
- func (c *EipClient) ModifyEipAttributes(options ...string) (*ModifyEipAttributesResp, error)
 
- type EipUnBindInstanceResp
- type ModifyEipAttributesResp
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var DefaultClient = EipClient{Client: *core.NewClient()}
    Functions ¶
Types ¶
type CreateEipResp ¶
type CreateEipResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		EipIds    []string `json:"eipIds"`
		RequestID int64    `json:"requestId"`
	} `json:"data"`
	Message string `json:"message"`
}
    func CreateEip ¶
func CreateEip(options ...string) (*CreateEipResp, error)
func (*CreateEipResp) String ¶
func (r *CreateEipResp) String(args ...interface{}) (string, error)
type DeleteEipResp ¶
type DeleteEipResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		RequestID int64 `json:"requestId"`
	} `json:"data"`
	Message string `json:"message"`
}
    func DeleteEip ¶
func DeleteEip(options ...string) (*DeleteEipResp, error)
func (*DeleteEipResp) String ¶
func (r *DeleteEipResp) String(args ...interface{}) (string, error)
type DescribeEipQuotaResp ¶
type DescribeEipQuotaResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		CurrentEipNum        int64 `json:"currentEipNum"`
		DailyAllocWanIPCount int64 `json:"dailyAllocWanIpCount"`
		DailyAllocWanIPQuota int64 `json:"dailyAllocWanIpQuota"`
		DailyApplyCount      int64 `json:"dailyApplyCount"`
		DailyApplyQuota      int64 `json:"dailyApplyQuota"`
		EipNumQuota          int64 `json:"eipNumQuota"`
	} `json:"data"`
	Message string `json:"message"`
}
    func DescribeEipQuota ¶
func DescribeEipQuota(options ...string) (*DescribeEipQuotaResp, error)
func (*DescribeEipQuotaResp) String ¶
func (r *DescribeEipQuotaResp) String(args ...interface{}) (string, error)
type DescribeEipResp ¶
type DescribeEipResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		EipSet []interface{} `json:"eipSet"`
	} `json:"data"`
	Message    string `json:"message"`
	TotalCount int64  `json:"totalCount"`
}
    func DescribeEip ¶
func DescribeEip(options ...string) (*DescribeEipResp, error)
func (*DescribeEipResp) String ¶
func (r *DescribeEipResp) String(args ...interface{}) (string, error)
type EipBindInstanceResp ¶
type EipBindInstanceResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		RequestID int64 `json:"requestId"`
	} `json:"data"`
	Message string `json:"message"`
}
    func EipBindInstance ¶
func EipBindInstance(options ...string) (*EipBindInstanceResp, error)
func (*EipBindInstanceResp) String ¶
func (r *EipBindInstanceResp) String(args ...interface{}) (string, error)
type EipClient ¶ added in v1.3.0
func (*EipClient) CreateEip ¶ added in v1.3.0
func (c *EipClient) CreateEip(options ...string) (*CreateEipResp, error)
func (*EipClient) DeleteEip ¶ added in v1.3.0
func (c *EipClient) DeleteEip(options ...string) (*DeleteEipResp, error)
func (*EipClient) DescribeEip ¶ added in v1.3.0
func (c *EipClient) DescribeEip(options ...string) (*DescribeEipResp, error)
func (*EipClient) DescribeEipQuota ¶ added in v1.3.0
func (c *EipClient) DescribeEipQuota(options ...string) (*DescribeEipQuotaResp, error)
func (*EipClient) EipBindInstance ¶ added in v1.3.0
func (c *EipClient) EipBindInstance(options ...string) (*EipBindInstanceResp, error)
func (*EipClient) EipUnBindInstance ¶ added in v1.3.0
func (c *EipClient) EipUnBindInstance(options ...string) (*EipUnBindInstanceResp, error)
func (*EipClient) ModifyEipAttributes ¶ added in v1.3.0
func (c *EipClient) ModifyEipAttributes(options ...string) (*ModifyEipAttributesResp, error)
type EipUnBindInstanceResp ¶
type EipUnBindInstanceResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		RequestID int64 `json:"requestId"`
	} `json:"data"`
	Message string `json:"message"`
}
    func EipUnBindInstance ¶
func EipUnBindInstance(options ...string) (*EipUnBindInstanceResp, error)
func (*EipUnBindInstanceResp) String ¶
func (r *EipUnBindInstanceResp) String(args ...interface{}) (string, error)
type ModifyEipAttributesResp ¶
type ModifyEipAttributesResp struct {
	Code     int64         `json:"code"`
	CodeDesc string        `json:"codeDesc"`
	Data     []interface{} `json:"data"`
	Message  string        `json:"message"`
}
    func ModifyEipAttributes ¶
func ModifyEipAttributes(options ...string) (*ModifyEipAttributesResp, error)
func (*ModifyEipAttributesResp) String ¶
func (r *ModifyEipAttributesResp) String(args ...interface{}) (string, error)
 Click to show internal directories. 
   Click to hide internal directories.