Documentation ¶
Overview ¶
Package eip defines the EIP services of BCE. The supported APIs are all defined in sub-package
eip.go - the eip APIs definition supported by the EIP service
model.go - definitions of the request arguments and results data structure model
Index ¶
- Constants
- type BatchCreateEipArgs
- type BatchCreateEipResult
- type Billing
- type BindEipArgs
- type Client
- func (c *Client) BatchCreateEip(args *BatchCreateEipArgs) (*BatchCreateEipResult, error)
- func (c *Client) BindEip(eip string, args *BindEipArgs) error
- func (c *Client) CreateEip(args *CreateEipArgs) (*CreateEipResult, error)
- func (c *Client) CreateEipBp(args *CreateEipBpArgs) (*CreateEipBpResult, error)
- func (c *Client) CreateEipGroup(args *CreateEipGroupArgs) (*CreateEipGroupResult, error)
- func (c *Client) CreateEipTp(args *CreateEipTpArgs) (*CreateEipTpResult, error)
- func (c *Client) DeleteEip(eip, clientToken string) error
- func (c *Client) DeleteEipBp(id, clientToken string) error
- func (c *Client) DeleteEipGroup(id, clientToken string) error
- func (c *Client) DeleteRecycleEip(eip string, clientToken string) error
- func (c *Client) DirectEip(eip, clientToken string) error
- func (c *Client) EipGroupAddEipCount(id string, args *GroupAddEipCountArgs) error
- func (c *Client) EipGroupDetail(id string) (*EipGroupModel, error)
- func (c *Client) EipGroupMoveIn(id string, args *EipGroupMoveInArgs) error
- func (c *Client) EipGroupMoveOut(id string, args *EipGroupMoveOutArgs) error
- func (c *Client) EipGroupPurchaseReserved(id string, args *EipGroupPurchaseReservedArgs) error
- func (c *Client) GetEipBp(id, clientToken string) (*EipBpDetail, error)
- func (c *Client) GetEipCluster(clusterId string) (*ClusterDetail, error)
- func (c *Client) GetEipTp(id string) (*EipTpDetail, error)
- func (c *Client) ListEip(args *ListEipArgs) (*ListEipResult, error)
- func (c *Client) ListEipBp(args *ListEipBpArgs) (*ListEipBpResult, error)
- func (c *Client) ListEipCluster(args *ListEipArgs) (*ListClusterResult, error)
- func (c *Client) ListEipGroup(args *ListEipGroupArgs) (*ListEipGroupResult, error)
- func (c *Client) ListEipTp(args *ListEipTpArgs) (*ListEipTpResult, error)
- func (c *Client) ListRecycleEip(args *ListRecycleEipArgs) (*ListRecycleEipResult, error)
- func (c *Client) OptionalDeleteEip(eip string, clientToken string, releaseToRecycle bool) error
- func (c *Client) PurchaseReservedEip(eip string, args *PurchaseReservedEipArgs) error
- func (c *Client) ReleaseEipGroupIps(id string, args *ReleaseEipGroupIpsArgs) error
- func (c *Client) RenameEipGroup(id string, args *RenameEipGroupArgs) error
- func (c *Client) ResizeEip(eip string, args *ResizeEipArgs) error
- func (c *Client) ResizeEipBp(id string, args *ResizeEipBpArgs) error
- func (c *Client) ResizeEipGroupBandWidth(id string, args *ResizeEipGroupArgs) error
- func (c *Client) RestoreRecycleEip(eip string, clientToken string) error
- func (c *Client) StartAutoRenew(eip string, args *StartAutoRenewArgs) error
- func (c *Client) StopAutoRenew(eip string, clientToken string) error
- func (c *Client) UnBindEip(eip, clientToken string) error
- func (c *Client) UnDirectEip(eip, clientToken string) error
- func (c *Client) UpdateEipBpAutoReleaseTime(id string, args *UpdateEipBpAutoReleaseTimeArgs) error
- func (c *Client) UpdateEipBpName(id string, args *UpdateEipBpNameArgs) error
- type ClusterDetail
- type ClusterModel
- type CreateEipArgs
- type CreateEipBpArgs
- type CreateEipBpResult
- type CreateEipGroupArgs
- type CreateEipGroupResult
- type CreateEipResult
- type CreateEipTpArgs
- type CreateEipTpResult
- type EipBpDetail
- type EipBpList
- type EipGroupModel
- type EipGroupMoveInArgs
- type EipGroupMoveOutArgs
- type EipGroupPurchaseReservedArgs
- type EipModel
- type EipTpDetail
- type GroupAddEipCountArgs
- type ListClusterResult
- type ListEipArgs
- type ListEipBpArgs
- type ListEipBpResult
- type ListEipGroupArgs
- type ListEipGroupResult
- type ListEipResult
- type ListEipTpArgs
- type ListEipTpResult
- type ListRecycleEipArgs
- type ListRecycleEipResult
- type MoveOutEip
- type Package
- type PurchaseReservedEipArgs
- type RecycleEipModel
- type ReleaseEipGroupIpsArgs
- type RenameEipGroupArgs
- type Reservation
- type ResizeEipArgs
- type ResizeEipBpArgs
- type ResizeEipGroupArgs
- type StartAutoRenewArgs
- type UpdateEipBpAutoReleaseTimeArgs
- type UpdateEipBpNameArgs
Constants ¶
const ( URI_PREFIX = bce.URI_PREFIX + "v1" DEFAULT_ENDPOINT = "eip." + bce.DEFAULT_REGION + ".baidubce.com" REQUEST_EIP_URL = "/eip" REQUEST_RECYCLE_EIP_URL = "/eip/recycle" REQUEST_EIP_CLUSTER_URL = "/eipcluster" REQUEST_EIP_TP_URL = "/eiptp" REQUEST_EIP_GROUP_URL = "/eipgroup" REQUEST_EIP_BP_URL = "/eipbp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateEipArgs ¶ added in v0.9.135
type BatchCreateEipArgs struct { Name string `json:"name,omitempty"` BandWidthInMbps int `json:"bandwidthInMbps"` Billing *Billing `json:"billing"` Tags []model.TagModel `json:"tags,omitempty"` ResourceGroupId string `json:"resourceGroupId,omitempty"` AutoRenewTimeUnit string `json:"autoRenewTimeUnit,omitempty"` AutoRenewTime int `json:"autoRenewTime,omitempty"` RouteType string `json:"routeType,omitempty"` Idc string `json:"idc,omitempty"` Continuous bool `json:"continuous,omitempty"` Count int `json:"count,omitempty"` ClientToken string `json:"-"` }
type BatchCreateEipResult ¶ added in v0.9.135
type BatchCreateEipResult struct {
Eips []string `json:"eips"`
}
type Billing ¶
type Billing struct { PaymentTiming string `json:"paymentTiming,omitempty"` BillingMethod string `json:"billingMethod,omitempty"` Reservation *Reservation `json:"reservation,omitempty"` }
type BindEipArgs ¶
type Client ¶
Client of EIP service is a kind of BceClient, so derived from BceClient
func (*Client) BatchCreateEip ¶ added in v0.9.135
func (c *Client) BatchCreateEip(args *BatchCreateEipArgs) (*BatchCreateEipResult, error)
BatchCreateEip - create EIPs with the specific parameters
PARAMS:
- args: the arguments to create eips
RETURNS:
- *BatchCreateEipResult: the result of create EIP, contains new EIP's address
- error: nil if success otherwise the specific error
func (*Client) BindEip ¶
func (c *Client) BindEip(eip string, args *BindEipArgs) error
BindEip - bind an EIP to an instance with the specific parameters
PARAMS:
- eip: the specific EIP
- args: the arguments to bind an EIP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) CreateEip ¶
func (c *Client) CreateEip(args *CreateEipArgs) (*CreateEipResult, error)
CreateEip - create an EIP with the specific parameters
PARAMS:
- args: the arguments to create an eip
RETURNS:
- *CreateEipResult: the result of create EIP, contains new EIP's address
- error: nil if success otherwise the specific error
func (*Client) CreateEipBp ¶ added in v0.9.161
func (c *Client) CreateEipBp(args *CreateEipBpArgs) (*CreateEipBpResult, error)
CreateEipBp - create an EIP BP with the specific parameters
PARAMS:
- args: the arguments to create an eipbp
RETURNS:
- *CreateEipBpResult: the result of create EIP BP, contains new EIP BP's id
- error: nil if success otherwise the specific error
func (*Client) CreateEipGroup ¶ added in v0.9.135
func (c *Client) CreateEipGroup(args *CreateEipGroupArgs) (*CreateEipGroupResult, error)
CreateEipGroup - create an EIP_GROUP with the specific parameters
PARAMS:
- args: the arguments to create an eipGroup
RETURNS:
- *CreateEipGroupResult: the result of create EIP_GROUP, contains new EIP_GROUP's id
- error: nil if success otherwise the specific error
func (*Client) CreateEipTp ¶ added in v0.9.87
func (c *Client) CreateEipTp(args *CreateEipTpArgs) (*CreateEipTpResult, error)
CreateEipTp - create an EIP TP with the specific parameters
PARAMS:
- args: the arguments to create an eiptp
RETURNS:
- *CreateEipTpResult: the created eiptp id.
- error: nil if success otherwise the specific error
func (*Client) DeleteEip ¶
DeleteEip - delete an EIP
PARAMS:
- eip: the specific EIP
- clientToken: optional parameter, an Idempotent Token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) DeleteEipBp ¶ added in v0.9.161
DeleteEipBp - delete an EIP BP with the specific id
PARAMS:
- id: the specific eipbp id
- clientToken: the specific client token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) DeleteEipGroup ¶ added in v0.9.135
DeleteEipGroup - delete an EIP_GROUP
PARAMS:
- id: the specific EIP_GROUP's id
- clientToken: optional parameter, an Idempotent Token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) DeleteRecycleEip ¶ added in v0.9.122
DeleteRecycleEip - delete the specific EIP in the recycle bin
PARAMS:
- eip: the specific EIP
- clientToken: optional parameter, an Idempotent Token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) DirectEip ¶ added in v0.9.65
DirectEip - turn on EIP pass through with the specific parameters
PARAMS:
- eip: the specific EIP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) EipGroupAddEipCount ¶ added in v0.9.135
func (c *Client) EipGroupAddEipCount(id string, args *GroupAddEipCountArgs) error
EipGroupAddEipCount - increase EIP_GROUP's ip count with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to increase EIP_GROUP's ip count
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) EipGroupDetail ¶ added in v0.9.135
func (c *Client) EipGroupDetail(id string) (*EipGroupModel, error)
EipGroupDetail - get EIP_GROUP detail
PARAMS:
- id: the eipGroup's id
RETURNS:
- *EipGroupModel: the result of list all eip in the recycle bin
- error: nil if success otherwise the specific error
func (*Client) EipGroupMoveIn ¶ added in v0.9.135
func (c *Client) EipGroupMoveIn(id string, args *EipGroupMoveInArgs) error
EipGroupMoveIn - move eips into to EIP_GROUP with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to move in EIP_GROUP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) EipGroupMoveOut ¶ added in v0.9.135
func (c *Client) EipGroupMoveOut(id string, args *EipGroupMoveOutArgs) error
EipGroupMoveOut - move eips out of EIP_GROUP with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to move out EIP_GROUP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) EipGroupPurchaseReserved ¶ added in v0.9.161
func (c *Client) EipGroupPurchaseReserved(id string, args *EipGroupPurchaseReservedArgs) error
EipGroupPurchaseReserved - purchase reserved EIP_GROUP with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to purchase reserved EIP_GROUP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) GetEipBp ¶ added in v0.9.161
func (c *Client) GetEipBp(id, clientToken string) (*EipBpDetail, error)
GetEipBp - get the EIP BP detail with the id
PARAMS:
- id: the specific eipbp id
- clientToken: the specific client token
RETURNS:
- *EipBpDetail: the result of eipbp detail
- error: nil if success otherwise the specific error
func (*Client) GetEipCluster ¶ added in v0.9.35
func (c *Client) GetEipCluster(clusterId string) (*ClusterDetail, error)
func (*Client) GetEipTp ¶ added in v0.9.87
func (c *Client) GetEipTp(id string) (*EipTpDetail, error)
func (*Client) ListEip ¶
func (c *Client) ListEip(args *ListEipArgs) (*ListEipResult, error)
ListEip - list all EIP with the specific parameters
PARAMS:
- args: the arguments to list all eip
RETURNS:
- *ListEipResult: the result of list all eip, contains new EIP's ID
- error: nil if success otherwise the specific error
func (*Client) ListEipBp ¶ added in v0.9.161
func (c *Client) ListEipBp(args *ListEipBpArgs) (*ListEipBpResult, error)
ListEipBp - list all EIP BP with the specific parameters
PARAMS:
- args: the arguments to list all eipBp
RETURNS:
- *EipBpListResult: the result of list all eipBp
- error: nil if success otherwise the specific error
func (*Client) ListEipCluster ¶ added in v0.9.35
func (c *Client) ListEipCluster(args *ListEipArgs) (*ListClusterResult, error)
func (*Client) ListEipGroup ¶ added in v0.9.135
func (c *Client) ListEipGroup(args *ListEipGroupArgs) (*ListEipGroupResult, error)
ListEipGroup - list all EIP_GROUP with the specific parameters
PARAMS:
- args: the arguments to list all eipGroup
RETURNS:
- *ListEipGroupResult: the result of list all eipGroup
- error: nil if success otherwise the specific error
func (*Client) ListEipTp ¶ added in v0.9.87
func (c *Client) ListEipTp(args *ListEipTpArgs) (*ListEipTpResult, error)
ListEipTp - list all EIP TPs with the specific parameters
PARAMS:
- args: the arguments to list all eiptps
RETURNS:
- *ListEipTpResult: the result of listing all eiptps
- error: nil if success otherwise the specific error
func (*Client) ListRecycleEip ¶ added in v0.9.122
func (c *Client) ListRecycleEip(args *ListRecycleEipArgs) (*ListRecycleEipResult, error)
ListRecycleEip - list all EIP in the recycle bin with the specific parameters
PARAMS:
- args: the arguments to list all eip in the recycle bin
RETURNS:
- *ListRecycleEipResult: the result of list all eip in the recycle bin
- error: nil if success otherwise the specific error
func (*Client) OptionalDeleteEip ¶ added in v0.9.122
OptionalDeleteEip - optionally delete an EIP
PARAMS:
- eip: the specific EIP
- clientToken: optional parameter, an Idempotent Token
- releaseToRecycle: the parameter confirms whether to put the specific EIP in the recycle bin (true) or directly delete it (false)
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) PurchaseReservedEip ¶
func (c *Client) PurchaseReservedEip(eip string, args *PurchaseReservedEipArgs) error
PurchaseReservedEip - purchase reserve an eip with the specific parameters
PARAMS:
- eip: the specific EIP
- args: the arguments to purchase reserve an eip
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) ReleaseEipGroupIps ¶ added in v0.9.135
func (c *Client) ReleaseEipGroupIps(id string, args *ReleaseEipGroupIpsArgs) error
ReleaseEipGroupIps - release EIP_GROUP's ips with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to release EIP_GROUP's ips
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) RenameEipGroup ¶ added in v0.9.135
func (c *Client) RenameEipGroup(id string, args *RenameEipGroupArgs) error
RenameEipGroup - rename EIP_GROUP's name with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to rename EIP_GROUP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) ResizeEip ¶
func (c *Client) ResizeEip(eip string, args *ResizeEipArgs) error
ResizeEip - resize an EIP with the specific parameters
PARAMS:
- eip: the specific EIP
- args: the arguments to resize an EIP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) ResizeEipBp ¶ added in v0.9.161
func (c *Client) ResizeEipBp(id string, args *ResizeEipBpArgs) error
ResizeEIpBp - resize an EIP BP with the specific parameters
PARAMS:
- id: the id of EIP BP
- args: the arguments to resize an EIP BP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) ResizeEipGroupBandWidth ¶ added in v0.9.135
func (c *Client) ResizeEipGroupBandWidth(id string, args *ResizeEipGroupArgs) error
ResizeEipGroupBandWidth - resize an EIP_GROUP with the specific parameters
PARAMS:
- id: the eipGroup's id
- args: the arguments to resize an EIP_GROUP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) RestoreRecycleEip ¶ added in v0.9.122
RestoreRecycleEip - restore the specific EIP in the recycle bin
PARAMS:
- eip: the specific EIP
- clientToken: optional parameter, an Idempotent Token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) StartAutoRenew ¶ added in v0.9.8
func (c *Client) StartAutoRenew(eip string, args *StartAutoRenewArgs) error
StartAutoRenew - start auto renew an eip
PARAMS:
- eip: the specific EIP
- args: the arguments to start auto renew an eip
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) StopAutoRenew ¶ added in v0.9.8
StopAutoRenew - stop eip auto renew
PARAMS:
- eip: the specific EIP
- clientToken: optional parameter, an Idempotent Token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) UnBindEip ¶
UnBindEip - unbind an EIP
PARAMS:
- eip: the specific EIP
- clientToken: optional parameter, an Idempotent Token
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) UnDirectEip ¶ added in v0.9.65
UnDirectEip - turn off EIP pass through with the specific parameters
PARAMS:
- eip: the specific EIP
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) UpdateEipBpAutoReleaseTime ¶ added in v0.9.161
func (c *Client) UpdateEipBpAutoReleaseTime(id string, args *UpdateEipBpAutoReleaseTimeArgs) error
UpdateEipBpAutoReleaseTime - update the auto release time of an EIP BP
PARAMS:
- id: the specific eipbp id
- args: the arguments to update eipbp auto release time
RETURNS:
- error: nil if success otherwise the specific error
func (*Client) UpdateEipBpName ¶ added in v0.9.161
func (c *Client) UpdateEipBpName(id string, args *UpdateEipBpNameArgs) error
UpdateEipBpName - update the Name of an EIP BP
PARAMS:
- id: the specific eipbp id
- args: the arguments to update eipbp name
RETURNS:
- error: nil if success otherwise the specific error
type ClusterDetail ¶ added in v0.9.35
type ClusterDetail struct { ClusterId string `json:"clusterId"` ClusterName string `json:"clusterName"` ClusterRegion string `json:"clusterRegion"` ClusterAz string `json:"clusterAz"` NetworkInBps int64 `json:"networkInBps"` NetworkOutBps int64 `json:"networkOutBps"` NetworkInPps int64 `json:"networkInPps"` NetworkOutPps int64 `json:"networkOutPps"` }
type ClusterModel ¶ added in v0.9.35
type CreateEipArgs ¶
type CreateEipArgs struct { Name string `json:"name,omitempty"` BandWidthInMbps int `json:"bandwidthInMbps"` Billing *Billing `json:"billing"` Tags []model.TagModel `json:"tags,omitempty"` ResourceGroupId string `json:"resourceGroupId,omitempty"` AutoRenewTimeUnit string `json:"autoRenewTimeUnit,omitempty"` AutoRenewTime int `json:"autoRenewTime,omitempty"` RouteType string `json:"routeType,omitempty"` Idc string `json:"idc,omitempty"` ClientToken string `json:"-"` }
type CreateEipBpArgs ¶ added in v0.9.161
type CreateEipBpArgs struct { Name string `json:"name"` Eip string `json:"eip"` EipGroupId string `json:"eipGroupId"` BandwidthInMbps int `json:"bandwidthInMbps"` Type string `json:"type"` AutoReleaseTime string `json:"autoReleaseTime"` Tags []model.TagModel `json:"tags,omitempty"` ResourceGroupId string `json:"resourceGroupId,omitempty"` ClientToken string `json:"-"` }
type CreateEipBpResult ¶ added in v0.9.161
type CreateEipBpResult struct {
Id string `json:"id"`
}
type CreateEipGroupArgs ¶ added in v0.9.135
type CreateEipGroupArgs struct { Name string `json:"name,omitempty"` EipCount int `json:"eipCount"` BandWidthInMbps int `json:"bandwidthInMbps"` Billing *Billing `json:"billing"` Tags []model.TagModel `json:"tags,omitempty"` ResourceGroupId string `json:"resourceGroupId,omitempty"` RouteType string `json:"routeType,omitempty"` Idc string `json:"idc,omitempty"` Continuous bool `json:"continuous,omitempty"` ClientToken string `json:"-"` }
type CreateEipGroupResult ¶ added in v0.9.135
type CreateEipGroupResult struct {
Id string `json:"id"`
}
type CreateEipResult ¶
type CreateEipResult struct {
Eip string `json:"eip"`
}
type CreateEipTpArgs ¶ added in v0.9.87
type CreateEipTpResult ¶ added in v0.9.87
type CreateEipTpResult struct {
Id string `json:"id,omitempty"`
}
type EipBpDetail ¶ added in v0.9.161
type EipBpDetail struct { Name string `json:"name"` Id string `json:"id"` BindType string `json:"bindType"` BandwidthInMbps int `json:"bandwidthInMbps"` InstanceId string `json:"instanceId"` Eips []string `json:"eips"` InstanceBandwidthInMbps int `json:"instanceBandwidthInMbps"` CreateTime string `json:"createTime"` AutoReleaseTime string `json:"autoReleaseTime"` Type string `json:"type"` Region string `json:"region"` Tags []model.TagModel `json:"tags"` }
type EipBpList ¶ added in v0.9.161
type EipBpList struct { Name string `json:"name"` Id string `json:"id"` BindType string `json:"bindType"` BandwidthInMbps int `json:"bandwidthInMbps"` InstanceId string `json:"instanceId"` Eips []string `json:"eips"` CreateTime string `json:"createTime"` AutoReleaseTime string `json:"autoReleaseTime"` Type string `json:"type"` Region string `json:"region"` }
type EipGroupModel ¶ added in v0.9.135
type EipGroupModel struct { Name string `json:"name"` Status string `json:"status"` Id string `json:"id"` BandWidthInMbps int `json:"bandwidthInMbps"` DefaultDomesticBandwidth int `json:"defaultDomesticBandwidth"` BwShortId string `json:"bwShortId"` BwBandwidthInMbps int `json:"bwBandwidthInMbps"` DomesticBwShortId string `json:"domesticBwShortId"` DomesticBwBandwidthInMbps int `json:"domesticBwBandwidthInMbps"` PaymentTiming string `json:"paymentTiming"` BillingMethod string `json:"billingMethod"` CreateTime string `json:"createTime"` ExpireTime string `json:"expireTime"` Region string `json:"region"` RouteType string `json:"routeType"` Eips []EipModel `json:"eips"` Tags []model.TagModel `json:"tags"` }
type EipGroupMoveInArgs ¶ added in v0.9.135
type EipGroupMoveOutArgs ¶ added in v0.9.135
type EipGroupMoveOutArgs struct { MoveOutEips []MoveOutEip `json:"moveOutEips"` ClientToken string `json:"-"` }
type EipGroupPurchaseReservedArgs ¶ added in v0.9.161
type EipModel ¶
type EipModel struct { Name string `json:"name"` Eip string `json:"eip"` EipId string `json:"eipId"` Status string `json:"status"` EipInstanceType string `json:"eipInstanceType"` InstanceType string `json:"instanceType"` InstanceId string `json:"instanceId"` ClusterId string `json:"clusterId"` BandWidthInMbps int `json:"bandwidthInMbps"` PaymentTiming string `json:"paymentTiming"` BillingMethod string `json:"billingMethod"` CreateTime string `json:"createTime"` ExpireTime string `json:"expireTime"` Tags []model.TagModel `json:"tags"` }
type EipTpDetail ¶ added in v0.9.87
type EipTpDetail struct { Id string `json:"id,omitempty"` DeductPolicy string `json:"deductPolicy,omitempty"` PackageType string `json:"packageType,omitempty"` Status string `json:"status,omitempty"` Capacity string `json:"capacity,omitempty"` UsedCapacity string `json:"usedCapacity,omitempty"` ActiveTime string `json:"activeTime,omitempty"` ExpireTime string `json:"expireTime,omitempty"` CreateTime string `json:"createTime,omitempty"` }
type GroupAddEipCountArgs ¶ added in v0.9.135
type ListClusterResult ¶ added in v0.9.35
type ListClusterResult struct { Marker string `json:"marker"` MaxKeys int `json:"maxKeys"` NextMarker string `json:"nextMarker"` IsTruncated bool `json:"isTruncated"` ClusterList []ClusterModel `json:"clusterList"` }
type ListEipArgs ¶
type ListEipBpArgs ¶ added in v0.9.161
type ListEipBpResult ¶ added in v0.9.161
type ListEipGroupArgs ¶ added in v0.9.135
type ListEipGroupResult ¶ added in v0.9.135
type ListEipGroupResult struct { Marker string `json:"marker"` MaxKeys int `json:"maxKeys"` NextMarker string `json:"nextMarker"` IsTruncated bool `json:"isTruncated"` EipGroup []EipGroupModel `json:"eipgroups"` }
type ListEipResult ¶
type ListEipTpArgs ¶ added in v0.9.87
type ListEipTpResult ¶ added in v0.9.87
type ListRecycleEipArgs ¶ added in v0.9.122
type ListRecycleEipResult ¶ added in v0.9.122
type ListRecycleEipResult struct { Marker string `json:"marker"` MaxKeys int `json:"maxKeys"` NextMarker string `json:"nextMarker"` IsTruncated bool `json:"isTruncated"` EipList []RecycleEipModel `json:"eipList"` }
type MoveOutEip ¶ added in v0.9.135
type Package ¶ added in v0.9.87
type Package struct { Id string `json:"id,omitempty"` DeductPolicy string `json:"deductPolicy,omitempty"` PackageType string `json:"packageType,omitempty"` Status string `json:"status,omitempty"` Capacity string `json:"capacity,omitempty"` UsedCapacity string `json:"usedCapacity,omitempty"` ActiveTime string `json:"activeTime"` ExpireTime string `json:"expireTime"` CreateTime string `json:"createTime"` }
type PurchaseReservedEipArgs ¶
type RecycleEipModel ¶ added in v0.9.122
type RecycleEipModel struct { Name string `json:"name"` Eip string `json:"eip"` EipId string `json:"eipId"` Status string `json:"status"` RouteType string `json:"routeType"` BandWidthInMbps int `json:"bandwidthInMbps"` PaymentTiming string `json:"paymentTiming"` BillingMethod string `json:"billingMethod"` RecycleTime string `json:"recycleTime"` ScheduledDeleteTime string `json:"scheduledDeleteTime"` }