eip

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClient = EipClient{Client: core.DefaultClient}

Functions

func DoAction

func DoAction(action string, options ...string) ([]byte, error)

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

type EipClient struct {
	*core.Client
}

func NewClient added in v1.3.0

func NewClient() *EipClient

func (*EipClient) CreateEip added in v1.3.0

func (c *EipClient) CreateEip(options ...string) (*CreateEipResp, error)

Implement https://cloud.tencent.com/document/api/213/1381

func (*EipClient) DeleteEip added in v1.3.0

func (c *EipClient) DeleteEip(options ...string) (*DeleteEipResp, error)

Implement https://cloud.tencent.com/document/api/213/1380

func (*EipClient) DescribeEip added in v1.3.0

func (c *EipClient) DescribeEip(options ...string) (*DescribeEipResp, error)

Implement https://cloud.tencent.com/document/api/213/1379

func (*EipClient) DescribeEipQuota added in v1.3.0

func (c *EipClient) DescribeEipQuota(options ...string) (*DescribeEipQuotaResp, error)

Implement https://cloud.tencent.com/document/api/213/1378

func (*EipClient) DoAction added in v1.3.0

func (client *EipClient) DoAction(action string, options ...string) ([]byte, error)

func (*EipClient) EipBindInstance added in v1.3.0

func (c *EipClient) EipBindInstance(options ...string) (*EipBindInstanceResp, error)

Implement https://cloud.tencent.com/document/api/213/1377

func (*EipClient) EipUnBindInstance added in v1.3.0

func (c *EipClient) EipUnBindInstance(options ...string) (*EipUnBindInstanceResp, error)

Implement https://cloud.tencent.com/document/api/213/1376

func (*EipClient) ModifyEipAttributes added in v1.3.0

func (c *EipClient) ModifyEipAttributes(options ...string) (*ModifyEipAttributesResp, error)

Implement https://cloud.tencent.com/document/api/213/1375

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL