Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func BatchPostURL(c *gophercloud.ServiceClient) string + func DeleteURL(c *gophercloud.ServiceClient, ID string) string + func InsertURL(c *gophercloud.ServiceClient, ID string) string + func PostURL(c *gophercloud.ServiceClient) string + func RemoveURL(c *gophercloud.ServiceClient, ID string) string + func Update(c *gophercloud.ServiceClient, bandwidthID string, opts UpdateOpts) (interface{}, error) + func UpdateURL(c *gophercloud.ServiceClient, ID string) string + type BandWidth struct + BandwidthType string + BillingInfo string + ChargeMode string + EnterpriseProjectID string + ID string + Name string + PublicipInfo []PublicIpinfo + ShareType string + Size int + Status string + TenantId string + type BandWidthInsertOpts struct + PublicipInfo []PublicIpInfoID + func (opts BandWidthInsertOpts) ToBandWidthInsertMap() (map[string]interface{}, error) + type BandWidthInsertOptsBuilder interface + ToBandWidthInsertMap func() (map[string]interface{}, error) + type BandWidthRemoveOpts struct + ChargeMode string + PublicipInfo []PublicIpInfoID + Size *int + func (opts BandWidthRemoveOpts) ToBandWidthBatchRemoveMap() (map[string]interface{}, error) + type BandWidthRemoveOptsBuilder interface + ToBandWidthBatchRemoveMap func() (map[string]interface{}, error) + type Bandwidth struct + Name string + Size int + type BatchCreateOpts struct + Count *int + Name string + Size *int + func (opts BatchCreateOpts) ToBandWidthBatchCreateMap() (map[string]interface{}, error) + type BatchCreateOptsBuilder interface + ToBandWidthBatchCreateMap func() (map[string]interface{}, error) + type BatchCreateResult struct + func BatchCreate(client *gophercloud.ServiceClient, opts BatchCreateOptsBuilder) (r BatchCreateResult) + func (r BatchCreateResult) Extract() (*[]BandWidth, error) + type CreateOpts struct + EnterpriseProjectId string + Name string + Size *int + func (opts CreateOpts) ToBandWidthCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToBandWidthCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func Insert(client *gophercloud.ServiceClient, bandwidthID string, ...) (r CreateResult) + func (r CreateResult) Extract() (*BandWidth, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, bandwidthID string) (r DeleteResult) + func Remove(client *gophercloud.ServiceClient, bandwidthID string, ...) (r DeleteResult) + type ExtendParam struct + IsAutoPay string + type PostPaid struct + BandwidthType string + ChargeMode string + EnterpriseProjectID string + ID string + Name string + PublicipInfo []PublicipInfo + ShareType string + Size int + Status string + TenantID string + type PrePaid struct + OrderID string + type PublicIpInfoID struct + PublicIPID string + type PublicIpinfo struct + IPVersion int + PublicipAddress string + PublicipId string + PublicipType string + Publicipv6Address string + type PublicipInfo struct + IpVersion int + PublicIPAddress string + PublicipID string + PublicipType string + Publicipv6Address string + type UpdateOpts struct + Bandwidth Bandwidth + ExtendParam *ExtendParam + func (opts UpdateOpts) ToBandWidthUpdateMap() (map[string]interface{}, error) + type UpdateResult struct + func (r UpdateResult) Extract() (PostPaid, error) + func (r UpdateResult) ExtractOrderID() (PrePaid, error)