Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(c *gophercloud.ServiceClient, opts CreateOpts) (interface{}, error)
func CreateURL ¶
func CreateURL(c *gophercloud.ServiceClient) string
Types ¶
type CreateOpts ¶
type CreateOpts struct { PublicIP PublicIP `json:"publicip" required:"true"` Bandwidth Bandwidth `json:"bandwidth" required:"true"` ExtendParam ExtendParam `json:"extendParam,omitempty"` }
func (CreateOpts) ToPublicIPCreateMap ¶
func (opts CreateOpts) ToPublicIPCreateMap() (map[string]interface{}, error)
type CreateResult ¶
type CreateResult struct {
gophercloud.Result
}
type ExtendParam ¶
type PostPaid ¶
type PostPaid struct { ID string `json:"id"` Status string `json:"status"` Type string `json:"type"` PublicIPAddress string `json:"public_ip_address"` PublicIPv6Address string `json:"public_ipv6_address"` TenantID string `json:"tenant_id"` CreateTime string `json:"create_time"` BandwidthSize int `json:"bandwidth_size"` IPVersion int `json:"ip_version"` }
Click to show internal directories.
Click to hide internal directories.