Documentation
¶
Overview ¶
Package ulb include resources of ucloud ulb product
See also
for detail.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ULBClient ¶
type ULBClient struct {
// contains filtered or unexported fields
}
ULBClient is the client of ULB
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *ULBClient
NewClient will return a instance of ULBClient
func (*ULBClient) NewUpdateSSLBindingRequest ¶
func (c *ULBClient) NewUpdateSSLBindingRequest() *UpdateSSLBindingRequest
NewUpdateSSLBindingRequest will create request of UpdateSSLBinding action.
func (*ULBClient) UpdateSSLBinding ¶
func (c *ULBClient) UpdateSSLBinding(req *UpdateSSLBindingRequest) (*UpdateSSLBindingResponse, error)
UpdateSSLBinding - 将VServer绑定的证书更换为另一个证书
type UpdateSSLBindingRequest ¶
type UpdateSSLBindingRequest struct {
request.CommonBase
// 所操作ULB实例ID
ULBId *string `required:"true"`
// 所操作VServer实例ID
VServerId *string `required:"true"`
// VServer实例绑定的旧的证书
OldSSLId *string `required:"true"`
// VServer实例需要绑定的新的证书
NewSSLId *string `required:"true"`
}
UpdateSSLBindingRequest is request schema for UpdateSSLBinding action
type UpdateSSLBindingResponse ¶
type UpdateSSLBindingResponse struct {
response.CommonBase
// 返回码
RetCode int
// 响应名称
Action string
}
UpdateSSLBindingResponse is response schema for UpdateSSLBinding action
Click to show internal directories.
Click to hide internal directories.