Documentation
¶
Index ¶
- type BandwidthBillingScheme
- type BandwidthBillingSchemeBillingItem
- type BandwidthBillingSchemeData
- type BandwidthBillingSchemeRequest
- type BandwidthBillingSchemeResponse
- type Client
- func (c *Client) BandwidthBillingScheme(request *BandwidthBillingSchemeRequest) (response *BandwidthBillingSchemeResponse, err error)
- func (c *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
- func (c *Client) DescribeVpcSlb(request *DescribeVpcSlbRequest) (response *DescribeVpcSlbResponse, err error)
- func (c *Client) PackageCreateSlb(request *PackageCreateSlbRequest) (response *PackageCreateSlbResponse, err error)
- func (c *Client) VpcSlbBillingScheme(request *VpcSlbBillingSchemeRequest) (response *VpcSlbBillingSchemeResponse, err error)
- func (c *Client) VpcSlbClearListen(request *VpcSlbClearListenRequest) (response *VpcSlbClearListenResponse, err error)
- func (c *Client) VpcSlbUpdateListen(request *VpcSlbUpdateListenRequest) (response *VpcSlbUpdateListenResponse, err error)
- type DescribeTaskRequest
- type DescribeTaskResponse
- type DescribeTaskResponseData
- type DescribeVpcSlbRequest
- type DescribeVpcSlbResponse
- type DescribeVpcSlbResponseListenInfo
- type DescribeVpcSlbResponseRsInfo
- type DescribeVpcSlbResponseSlbInfo
- type DescribeVpcSlbResponseVipInfo
- type PackageCreateSlbBandwidthInfo
- type PackageCreateSlbInfo
- type PackageCreateSlbRequest
- type PackageCreateSlbResponse
- type PackageCreateSlbResponseData
- type VpcSlbBillingSchemeRequest
- type VpcSlbBillingSchemeResponse
- type VpcSlbBillingSchemeResponseBillingItem
- type VpcSlbBillingSchemeResponseData
- type VpcSlbClearListenRequest
- type VpcSlbClearListenResponse
- type VpcSlbClearListenResponseData
- type VpcSlbUpdateListenRequest
- type VpcSlbUpdateListenRequestHealthCheck
- type VpcSlbUpdateListenRequestListen
- type VpcSlbUpdateListenRequestRs
- type VpcSlbUpdateListenResponse
- type VpcSlbUpdateListenResponseData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandwidthBillingScheme ¶
type BandwidthBillingScheme struct {
BillingCycleId string `json:"BillingCycleId"`
BillingItems []BandwidthBillingSchemeBillingItem `json:"BillingItems"`
BillingMethod string `json:"BillingMethod"`
BillingSchemeId string `json:"BillingSchemeId"`
BillingSchemeName string `json:"BillingSchemeName"`
BillingType string `json:"BillingType"`
GoodsId int `json:"GoodsId"`
}
type BandwidthBillingSchemeData ¶
type BandwidthBillingSchemeData struct {
BillingScheme []BandwidthBillingScheme `json:"BillingScheme"`
ConfId int `json:"ConfId"`
ConfName string `json:"ConfName"`
}
type BandwidthBillingSchemeRequest ¶
type BandwidthBillingSchemeRequest struct {
*cdshttp.BaseRequest
RegionCode string `json:"RegionCode"`
AvailableZoneCode string `json:"AvailableZoneCode"`
Type string `json:"Type"`
VpcId string `json:"VpcId"`
}
func NewBandwidthBillingSchemeRequest ¶
func NewBandwidthBillingSchemeRequest() (request *BandwidthBillingSchemeRequest)
func (*BandwidthBillingSchemeRequest) FromJsonString ¶
func (r *BandwidthBillingSchemeRequest) FromJsonString(s string) error
func (*BandwidthBillingSchemeRequest) ToJsonString ¶
func (r *BandwidthBillingSchemeRequest) ToJsonString() string
type BandwidthBillingSchemeResponse ¶
type BandwidthBillingSchemeResponse struct {
*cdshttp.BaseResponse
Code string `json:"Code"`
Data []BandwidthBillingSchemeData `json:"Data"`
Message string `json:"Message"`
}
func NewBandwidthBillingSchemeResponse ¶
func NewBandwidthBillingSchemeResponse() (response *BandwidthBillingSchemeResponse)
func (*BandwidthBillingSchemeResponse) FromJsonString ¶
func (r *BandwidthBillingSchemeResponse) FromJsonString(s string) error
func (*BandwidthBillingSchemeResponse) ToJsonString ¶
func (r *BandwidthBillingSchemeResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *utils.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func (*Client) BandwidthBillingScheme ¶
func (c *Client) BandwidthBillingScheme(request *BandwidthBillingSchemeRequest) (response *BandwidthBillingSchemeResponse, err error)
func (*Client) DescribeTask ¶
func (c *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
func (*Client) DescribeVpcSlb ¶
func (c *Client) DescribeVpcSlb(request *DescribeVpcSlbRequest) (response *DescribeVpcSlbResponse, err error)
func (*Client) PackageCreateSlb ¶
func (c *Client) PackageCreateSlb(request *PackageCreateSlbRequest) (response *PackageCreateSlbResponse, err error)
func (*Client) VpcSlbBillingScheme ¶
func (c *Client) VpcSlbBillingScheme(request *VpcSlbBillingSchemeRequest) (response *VpcSlbBillingSchemeResponse, err error)
func (*Client) VpcSlbClearListen ¶
func (c *Client) VpcSlbClearListen(request *VpcSlbClearListenRequest) (response *VpcSlbClearListenResponse, err error)
func (*Client) VpcSlbUpdateListen ¶
func (c *Client) VpcSlbUpdateListen(request *VpcSlbUpdateListenRequest) (response *VpcSlbUpdateListenResponse, err error)
type DescribeTaskRequest ¶
type DescribeTaskRequest struct {
*cdshttp.BaseRequest
TaskId string `json:"TaskId"`
}
func NewDescribeTaskRequest ¶
func NewDescribeTaskRequest() (request *DescribeTaskRequest)
func (*DescribeTaskRequest) FromJsonString ¶
func (r *DescribeTaskRequest) FromJsonString(s string) error
func (*DescribeTaskRequest) ToJsonString ¶
func (r *DescribeTaskRequest) ToJsonString() string
type DescribeTaskResponse ¶
type DescribeTaskResponse struct {
*cdshttp.BaseResponse
Data DescribeTaskResponseData `json:"Data"`
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
}
func NewDescribeTaskResponse ¶
func NewDescribeTaskResponse() (response *DescribeTaskResponse)
func (*DescribeTaskResponse) FromJsonString ¶
func (r *DescribeTaskResponse) FromJsonString(s string) error
func (*DescribeTaskResponse) ToJsonString ¶
func (r *DescribeTaskResponse) ToJsonString() string
type DescribeVpcSlbRequest ¶
type DescribeVpcSlbRequest struct {
*cdshttp.BaseRequest
SlbID string `json:"SlbId,omitempty"`
SlbName string `json:"SlbName,omitempty"`
}
func NewDescribeVpcSlbRequest ¶
func NewDescribeVpcSlbRequest() (request *DescribeVpcSlbRequest)
func (*DescribeVpcSlbRequest) FromJsonString ¶
func (r *DescribeVpcSlbRequest) FromJsonString(s string) error
func (*DescribeVpcSlbRequest) ToJsonString ¶
func (r *DescribeVpcSlbRequest) ToJsonString() string
type DescribeVpcSlbResponse ¶
type DescribeVpcSlbResponse struct {
*cdshttp.BaseResponse
Data DescribeVpcSlbResponseSlbInfo `json:"Data"`
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
}
func NewDescribeVpcSlbResponse ¶
func NewDescribeVpcSlbResponse() (response *DescribeVpcSlbResponse)
func (*DescribeVpcSlbResponse) FromJsonString ¶
func (r *DescribeVpcSlbResponse) FromJsonString(s string) error
func (*DescribeVpcSlbResponse) ToJsonString ¶
func (r *DescribeVpcSlbResponse) ToJsonString() string
type DescribeVpcSlbResponseListenInfo ¶
type DescribeVpcSlbResponseListenInfo struct {
ListenId string `json:"ListenId"`
ListenPort string `json:"ListenPort"`
ListenProtocol string `json:"ListenProtocol"`
RsList []DescribeVpcSlbResponseRsInfo `json:"RsList"`
}
type DescribeVpcSlbResponseSlbInfo ¶
type DescribeVpcSlbResponseSlbInfo struct {
BandwidthId string `json:"BandwidthId"`
BandwidthName string `json:"BandwidthName"`
Qos int `json:"Qos"`
SlbId string `json:"SlbId"`
SlbName string `json:"SlbName"`
SlbStatus string `json:"SlbStatus"`
VipList []DescribeVpcSlbResponseVipInfo `json:"VipList"`
}
type PackageCreateSlbBandwidthInfo ¶
type PackageCreateSlbBandwidthInfo struct {
Name string `json:"Name"`
BillingSchemeId string `json:"BillingSchemeId"`
Qos int `json:"Qos"`
Type string `json:"Type"`
SubjectId int `json:"SubjectId,omitempty"`
IsAutoRenewal bool `json:"IsAutoRenewal,omitempty"`
IsToMonth bool `json:"IsToMonth,omitempty"`
Duration int `json:"Duration,omitempty"`
EipCount int `json:"EipCount"`
}
type PackageCreateSlbInfo ¶
type PackageCreateSlbRequest ¶
type PackageCreateSlbRequest struct {
*cdshttp.BaseRequest
UserId string `json:"-"`
CustomerId string `json:"-"`
VpcId string `json:"VpcId"`
AvailableZoneCode string `json:"AvailableZoneCode"`
Level int `json:"Level,omitempty"`
SlbInfo PackageCreateSlbInfo `json:"SlbInfo"`
BandwidthInfo PackageCreateSlbBandwidthInfo `json:"BandwidthInfo"`
}
func NewPackageCreateSlbRequest ¶
func NewPackageCreateSlbRequest() (request *PackageCreateSlbRequest)
func (*PackageCreateSlbRequest) FromJsonString ¶
func (r *PackageCreateSlbRequest) FromJsonString(s string) error
func (*PackageCreateSlbRequest) ToJsonString ¶
func (r *PackageCreateSlbRequest) ToJsonString() string
type PackageCreateSlbResponse ¶
type PackageCreateSlbResponse struct {
*cdshttp.BaseResponse
Data PackageCreateSlbResponseData `json:"Data"`
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
TaskId string `json:"TaskId"`
}
func NewPackageCreateSlbResponse ¶
func NewPackageCreateSlbResponse() (response *PackageCreateSlbResponse)
func (*PackageCreateSlbResponse) FromJsonString ¶
func (r *PackageCreateSlbResponse) FromJsonString(s string) error
func (*PackageCreateSlbResponse) ToJsonString ¶
func (r *PackageCreateSlbResponse) ToJsonString() string
type PackageCreateSlbResponseData ¶
type PackageCreateSlbResponseData struct {
SlbId string `json:"SlbId"`
}
type VpcSlbBillingSchemeRequest ¶
type VpcSlbBillingSchemeRequest struct {
*cdshttp.BaseRequest
AvailableZoneCode string `json:"AvailableZoneCode"`
BillingMethod string `json:"BillingMethod"`
NetType string `json:"NetType"`
}
func NewVpcSlbBillingSchemeRequest ¶
func NewVpcSlbBillingSchemeRequest() (request *VpcSlbBillingSchemeRequest)
func (*VpcSlbBillingSchemeRequest) FromJsonString ¶
func (r *VpcSlbBillingSchemeRequest) FromJsonString(s string) error
func (*VpcSlbBillingSchemeRequest) ToJsonString ¶
func (r *VpcSlbBillingSchemeRequest) ToJsonString() string
type VpcSlbBillingSchemeResponse ¶
type VpcSlbBillingSchemeResponse struct {
*cdshttp.BaseResponse
Data []VpcSlbBillingSchemeResponseData `json:"Data"`
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
}
func NewVpcSlbBillingSchemeResponse ¶
func NewVpcSlbBillingSchemeResponse() (response *VpcSlbBillingSchemeResponse)
func (*VpcSlbBillingSchemeResponse) FromJsonString ¶
func (r *VpcSlbBillingSchemeResponse) FromJsonString(s string) error
func (*VpcSlbBillingSchemeResponse) ToJsonString ¶
func (r *VpcSlbBillingSchemeResponse) ToJsonString() string
type VpcSlbBillingSchemeResponseData ¶
type VpcSlbBillingSchemeResponseData struct {
GoodsId int `json:"GoodsId"`
BillingMethod string `json:"BillingMethod"`
BillingType string `json:"BillingType"`
BillingSchemeId string `json:"BillingSchemeId"`
BillingSchemeName string `json:"BillingSchemeName"`
BillingCycleId string `json:"BillingCycleId"`
BillingItems []VpcSlbBillingSchemeResponseBillingItem `json:"BillingItems"`
ConfId int `json:"ConfId"`
ConfName string `json:"ConfName"`
Description string `json:"Description"`
}
type VpcSlbClearListenRequest ¶
type VpcSlbClearListenRequest struct {
*cdshttp.BaseRequest
SlbId string `json:"SlbId"`
}
func NewVpcSlbClearListenRequest ¶
func NewVpcSlbClearListenRequest() (request *VpcSlbClearListenRequest)
func (*VpcSlbClearListenRequest) FromJsonString ¶
func (r *VpcSlbClearListenRequest) FromJsonString(s string) error
func (*VpcSlbClearListenRequest) ToJsonString ¶
func (r *VpcSlbClearListenRequest) ToJsonString() string
type VpcSlbClearListenResponse ¶
type VpcSlbClearListenResponse struct {
*cdshttp.BaseResponse
Data VpcSlbClearListenResponseData `json:"Data"`
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
TaskId string `json:"TaskId"`
}
func NewVpcSlbClearListenResponse ¶
func NewVpcSlbClearListenResponse() (response *VpcSlbClearListenResponse)
func (*VpcSlbClearListenResponse) FromJsonString ¶
func (r *VpcSlbClearListenResponse) FromJsonString(s string) error
func (*VpcSlbClearListenResponse) ToJsonString ¶
func (r *VpcSlbClearListenResponse) ToJsonString() string
type VpcSlbClearListenResponseData ¶
type VpcSlbClearListenResponseData struct {
}
type VpcSlbUpdateListenRequest ¶
type VpcSlbUpdateListenRequest struct {
*cdshttp.BaseRequest
SlbId string `json:"SlbId"`
Platform string `json:"Platform"`
ListenList []VpcSlbUpdateListenRequestListen `json:"ListenList"`
OperatorType string `json:"OperatorType"`
}
func NewVpcSlbUpdateListenRequest ¶
func NewVpcSlbUpdateListenRequest() (request *VpcSlbUpdateListenRequest)
func (*VpcSlbUpdateListenRequest) FromJsonString ¶
func (r *VpcSlbUpdateListenRequest) FromJsonString(s string) error
func (*VpcSlbUpdateListenRequest) ToJsonString ¶
func (r *VpcSlbUpdateListenRequest) ToJsonString() string
type VpcSlbUpdateListenRequestHealthCheck ¶
type VpcSlbUpdateListenRequestHealthCheck struct {
Protocol string `json:"Protocol"`
Virtualhost string `json:"Virtualhost"`
Port int `json:"Port,omitempty"`
Path string `json:"Path,omitempty"`
StatusCode int `json:"StatusCode,omitempty"`
ConnectTimeout int `json:"ConnectTimeout,omitempty"`
DelayLoop int `json:"DelayLoop,omitempty"`
Retry int `json:"Retry,omitempty"`
DelayBeforeRetry int `json:"DelayBeforeRetry,omitempty"`
}
type VpcSlbUpdateListenRequestListen ¶
type VpcSlbUpdateListenRequestListen struct {
ListenIp string `json:"ListenIp"`
ListenPort int `json:"ListenPort"`
ListenProtocol string `json:"ListenProtocol"`
Scheduler string `json:"Scheduler"`
ListenName string `json:"ListenName"`
Timeout int `json:"Timeout"`
RsList []VpcSlbUpdateListenRequestRs `json:"RsList"`
HealthCheck VpcSlbUpdateListenRequestHealthCheck `json:"HealthCheck"`
}
type VpcSlbUpdateListenResponse ¶
type VpcSlbUpdateListenResponse struct {
*cdshttp.BaseResponse
Data VpcSlbUpdateListenResponseData `json:"Data"`
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
TaskId string `json:"TaskId"`
}
func NewVpcSlbUpdateListenResponse ¶
func NewVpcSlbUpdateListenResponse() (response *VpcSlbUpdateListenResponse)
func (*VpcSlbUpdateListenResponse) FromJsonString ¶
func (r *VpcSlbUpdateListenResponse) FromJsonString(s string) error
func (*VpcSlbUpdateListenResponse) ToJsonString ¶
func (r *VpcSlbUpdateListenResponse) ToJsonString() string
type VpcSlbUpdateListenResponseData ¶
type VpcSlbUpdateListenResponseData struct {
}
Click to show internal directories.
Click to hide internal directories.