Documentation ¶
Index ¶
Constants ¶
View Source
const ( URI_PREFIX = bce.URI_PREFIX + "v1" DEFAULT_ENI = "bcc." + bce.DEFAULT_REGION + ".baidubce.com" REQUEST_ENI_URL = "/eni/hpc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchAddPrivateIPResult ¶
type BatchAddPrivateIPResult struct {
PrivateIPAddresses []string `json:"privateIpAddresses"`
}
type Client ¶
Client of ENI service is a kind of BceClient, so derived from BceClient
func (*Client) BatchAddPrivateIPByHpc ¶
func (c *Client) BatchAddPrivateIPByHpc(args *EniBatchPrivateIPArgs) (*BatchAddPrivateIPResult, error)
func (*Client) BatchDeletePrivateIPByHpc ¶
func (c *Client) BatchDeletePrivateIPByHpc(args *EniBatchDeleteIPArgs) error
type EniBatchDeleteIPArgs ¶
type EniBatchPrivateIPArgs ¶
type Result ¶
type Result struct { EniID string `json:"eniId"` Name string `json:"name"` Description string `json:"description"` InstanceID string `json:"instanceId"` MacAddress string `json:"macAddress"` Status string `json:"status"` PrivateIPSet []PrivateIP `json:"privateIpSet"` CreatedTime string `json:"createdTime"` }
Click to show internal directories.
Click to hide internal directories.