ulb

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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 DescribeULBSimpleRequest added in v0.8.1

type DescribeULBSimpleRequest struct {
	request.CommonBase

	// 数据偏移量,默认为0
	Offset *int `required:"false"`

	// 数据分页值,默认为10000
	Limit *string `required:"false"`

	// 负载均衡实例的Id。 若指定则返回指定的负载均衡实例的信息; 若不指定则返回当前数据中心中所有的负载均衡实例的信息
	ULBId *string `required:"false"`

	// ULB所属的VPC
	VPCId *string `required:"false"`

	// ULB所属的子网ID
	SubnetId *string `required:"false"`

	// ULB所属的业务组ID
	BusinessId *string `required:"false"`
}

DescribeULBSimpleRequest is request schema for DescribeULBSimple action

type DescribeULBSimpleResponse added in v0.8.1

type DescribeULBSimpleResponse struct {
	response.CommonBase

	// 满足条件的ULB总数
	TotalCount int

	// ULB列表,每项参数详见 ULBSimpleSet
	DataSet []ULBSimpleSet
}

DescribeULBSimpleResponse is response schema for DescribeULBSimple action

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) DescribeULBSimple added in v0.8.1

func (c *ULBClient) DescribeULBSimple(req *DescribeULBSimpleRequest) (*DescribeULBSimpleResponse, error)

DescribeULBSimple - 获取ULB信息

func (*ULBClient) NewDescribeULBSimpleRequest added in v0.8.1

func (c *ULBClient) NewDescribeULBSimpleRequest() *DescribeULBSimpleRequest

NewDescribeULBSimpleRequest will create request of DescribeULBSimple action.

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 ULBIPSet added in v0.8.1

type ULBIPSet struct {

	// 弹性IP的运营商信息,枚举值为:  Bgp:BGP IP International:国际IP
	OperatorName string

	// 弹性IP地址
	EIP string

	// 弹性IP的ID
	EIPId string
}

ULBIPSet - DescribeULB

this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.

type ULBSimpleSet added in v0.8.1

type ULBSimpleSet struct {

	// 负载均衡的资源ID
	ULBId string

	// 负载均衡的资源名称(资源系统中),缺省值“ULB”
	Name string

	// 负载均衡的业务组名称,缺省值“Default”
	Tag string

	// 负载均衡的备注,缺省值“”
	Remark string

	// ULB的创建时间,格式为Unix Timestamp
	CreateTime int

	// ULB所在的VPC的ID
	VPCId string

	// ULB 为 InnerMode 时,ULB 所属的子网ID,默认为空
	SubnetId string

	// ULB 所属的业务组ID
	BusinessId string

	// ULB的内网IP,当ULBType为OuterMode时,该值为空
	PrivateIP string

	// 带宽类型,枚举值为: 0,非共享带宽; 1,共享带宽
	BandwidthType int

	// 带宽
	Bandwidth int

	// ULB的详细信息列表,具体结构见下方 ULBIPSet
	IPSet []ULBIPSet

	// ulb下vserver数量
	VServerCount int

	// ULB 的类型(InnerMode or OuterMode)
	ULBType string
}

ULBSimpleSet - ulb简明信息

this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL