Documentation
¶
Index ¶
- type AddUGATaskRequest
- type AddUGATaskResponse
- type CreateUGAInstanceRequest
- type CreateUGAInstanceResponse
- type DeleteUGAInstanceRequest
- type DeleteUGAInstanceResponse
- type DeleteUGATaskRequest
- type DeleteUGATaskResponse
- type DescribeUGAInstanceRequest
- type DescribeUGAInstanceResponse
- type DescribeUPathRequest
- type DescribeUPathResponse
- type OutPublicIpInfo
- type PathXClient
- func (c *PathXClient) AddUGATask(req *AddUGATaskRequest) (*AddUGATaskResponse, error)
- func (c *PathXClient) CreateUGAInstance(req *CreateUGAInstanceRequest) (*CreateUGAInstanceResponse, error)
- func (c *PathXClient) DeleteUGAInstance(req *DeleteUGAInstanceRequest) (*DeleteUGAInstanceResponse, error)
- func (c *PathXClient) DeleteUGATask(req *DeleteUGATaskRequest) (*DeleteUGATaskResponse, error)
- func (c *PathXClient) DescribeUGAInstance(req *DescribeUGAInstanceRequest) (*DescribeUGAInstanceResponse, error)
- func (c *PathXClient) DescribeUPath(req *DescribeUPathRequest) (*DescribeUPathResponse, error)
- func (c *PathXClient) NewAddUGATaskRequest() *AddUGATaskRequest
- func (c *PathXClient) NewCreateUGAInstanceRequest() *CreateUGAInstanceRequest
- func (c *PathXClient) NewDeleteUGAInstanceRequest() *DeleteUGAInstanceRequest
- func (c *PathXClient) NewDeleteUGATaskRequest() *DeleteUGATaskRequest
- func (c *PathXClient) NewDescribeUGAInstanceRequest() *DescribeUGAInstanceRequest
- func (c *PathXClient) NewDescribeUPathRequest() *DescribeUPathRequest
- func (c *PathXClient) NewUGABindUPathRequest() *UGABindUPathRequest
- func (c *PathXClient) UGABindUPath(req *UGABindUPathRequest) (*UGABindUPathResponse, error)
- type UGAAInfo
- type UGAATask
- type UGABindUPathRequest
- type UGABindUPathResponse
- type UPathInfo
- type UPathSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUGATaskRequest ¶
type AddUGATaskRequest struct {
request.CommonBase
// 全球加速实例ID
UGAId *string `required:"true"`
// TCP端口号
TCP []string `required:"false"`
// UDP端口号
UDP []string `required:"false"`
// HTTP端口号
HTTP []string `required:"false"`
// HTTPS端口号
HTTPS []string `required:"false"`
}
AddUGATaskRequest is request schema for AddUGATask action
type AddUGATaskResponse ¶
type AddUGATaskResponse struct {
response.CommonBase
}
AddUGATaskResponse is response schema for AddUGATask action
type CreateUGAInstanceRequest ¶
type CreateUGAInstanceRequest struct {
request.CommonBase
// 加速实例名称
Name *string `required:"true"`
// 加速源IP,多个IP用逗号隔开(,)隔开;IPList和Domain二选一必填
IPList *string `required:"true"`
// 加速源域名;IPList和Domain二选一必填
Domain *string `required:"true"`
// 绑定的源站所在地,中文
Location *string `required:"true"`
// TCP端口号
TCP []string `required:"true"`
// UDP端口号
UDP []string `required:"true"`
// HTTP端口号
HTTP []string `required:"true"`
// HTTPS端口号
HTTPS []string `required:"true"`
}
CreateUGAInstanceRequest is request schema for CreateUGAInstance action
type CreateUGAInstanceResponse ¶
type CreateUGAInstanceResponse struct {
response.CommonBase
// 加速配置ID
UGAId string
// 加速域名 用户可把业务域名CName到此域名上。注意:未绑定线路情况时 加速域名解析不出IP。
CName string
}
CreateUGAInstanceResponse is response schema for CreateUGAInstance action
type DeleteUGAInstanceRequest ¶
type DeleteUGAInstanceRequest struct {
request.CommonBase
// 全球加速实例ID
UGAId *string `required:"true"`
}
DeleteUGAInstanceRequest is request schema for DeleteUGAInstance action
type DeleteUGAInstanceResponse ¶
type DeleteUGAInstanceResponse struct {
response.CommonBase
}
DeleteUGAInstanceResponse is response schema for DeleteUGAInstance action
type DeleteUGATaskRequest ¶
type DeleteUGATaskRequest struct {
request.CommonBase
// 全球加速实例ID
UGAId *string `required:"true"`
// TCP端口号
TCP []string `required:"false"`
// UDP端口号
UDP []string `required:"false"`
// HTTP端口号
HTTP []string `required:"false"`
// HTTPS端口号
HTTPS []string `required:"false"`
}
DeleteUGATaskRequest is request schema for DeleteUGATask action
type DeleteUGATaskResponse ¶
type DeleteUGATaskResponse struct {
response.CommonBase
}
DeleteUGATaskResponse is response schema for DeleteUGATask action
type DescribeUGAInstanceRequest ¶
type DescribeUGAInstanceRequest struct {
request.CommonBase
// 全球加速实例ID
UGAId *string `required:"false"`
}
DescribeUGAInstanceRequest is request schema for DescribeUGAInstance action
type DescribeUGAInstanceResponse ¶
type DescribeUGAInstanceResponse struct {
response.CommonBase
// 全球加速实例信息列表
UGAList []UGAAInfo
}
DescribeUGAInstanceResponse is response schema for DescribeUGAInstance action
type DescribeUPathRequest ¶
type DescribeUPathRequest struct {
request.CommonBase
// 不填 返回所填项目下所有的线路资源,填写则返回一个线路实例
UPathId *string `required:"false"`
}
DescribeUPathRequest is request schema for DescribeUPath action
type DescribeUPathResponse ¶
type DescribeUPathResponse struct {
response.CommonBase
// 线路信息数组
UPathSet []UPathInfo
}
DescribeUPathResponse is response schema for DescribeUPath action
type OutPublicIpInfo ¶
OutPublicIpInfo - 出口IP信息
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type PathXClient ¶
PathXClient is the client of PathX
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *PathXClient
NewClient will return a instance of PathXClient
func (*PathXClient) AddUGATask ¶
func (c *PathXClient) AddUGATask(req *AddUGATaskRequest) (*AddUGATaskResponse, error)
AddUGATask - 添加加速配置端口
func (*PathXClient) CreateUGAInstance ¶
func (c *PathXClient) CreateUGAInstance(req *CreateUGAInstanceRequest) (*CreateUGAInstanceResponse, error)
CreateUGAInstance - 创建全球加速配置项
func (*PathXClient) DeleteUGAInstance ¶
func (c *PathXClient) DeleteUGAInstance(req *DeleteUGAInstanceRequest) (*DeleteUGAInstanceResponse, error)
DeleteUGAInstance - 删除全球加速服务加速配置
func (*PathXClient) DeleteUGATask ¶
func (c *PathXClient) DeleteUGATask(req *DeleteUGATaskRequest) (*DeleteUGATaskResponse, error)
DeleteUGATask - 删除加速配置端口
func (*PathXClient) DescribeUGAInstance ¶
func (c *PathXClient) DescribeUGAInstance(req *DescribeUGAInstanceRequest) (*DescribeUGAInstanceResponse, error)
DescribeUGAInstance - 获取全球加速服务加速配置信息
func (*PathXClient) DescribeUPath ¶
func (c *PathXClient) DescribeUPath(req *DescribeUPathRequest) (*DescribeUPathResponse, error)
DescribeUPath - 获取加速线路信息
func (*PathXClient) NewAddUGATaskRequest ¶
func (c *PathXClient) NewAddUGATaskRequest() *AddUGATaskRequest
NewAddUGATaskRequest will create request of AddUGATask action.
func (*PathXClient) NewCreateUGAInstanceRequest ¶
func (c *PathXClient) NewCreateUGAInstanceRequest() *CreateUGAInstanceRequest
NewCreateUGAInstanceRequest will create request of CreateUGAInstance action.
func (*PathXClient) NewDeleteUGAInstanceRequest ¶
func (c *PathXClient) NewDeleteUGAInstanceRequest() *DeleteUGAInstanceRequest
NewDeleteUGAInstanceRequest will create request of DeleteUGAInstance action.
func (*PathXClient) NewDeleteUGATaskRequest ¶
func (c *PathXClient) NewDeleteUGATaskRequest() *DeleteUGATaskRequest
NewDeleteUGATaskRequest will create request of DeleteUGATask action.
func (*PathXClient) NewDescribeUGAInstanceRequest ¶
func (c *PathXClient) NewDescribeUGAInstanceRequest() *DescribeUGAInstanceRequest
NewDescribeUGAInstanceRequest will create request of DescribeUGAInstance action.
func (*PathXClient) NewDescribeUPathRequest ¶
func (c *PathXClient) NewDescribeUPathRequest() *DescribeUPathRequest
NewDescribeUPathRequest will create request of DescribeUPath action.
func (*PathXClient) NewUGABindUPathRequest ¶
func (c *PathXClient) NewUGABindUPathRequest() *UGABindUPathRequest
NewUGABindUPathRequest will create request of UGABindUPath action.
func (*PathXClient) UGABindUPath ¶
func (c *PathXClient) UGABindUPath(req *UGABindUPathRequest) (*UGABindUPathResponse, error)
UGABindUPath - UGA绑定UPath
type UGAAInfo ¶
type UGAAInfo struct {
// 全球加速ID
UGAId string
// 流量转发方式,包括L4、L7
ForwardType string
// 全球加速cname
CName string
// 加速源IP列表
IPList []string
// 加速实例名称
UGAName string
// 加速源域名
Domain string
// 加速地区
Location string
// 绑定的加速线路
UPathSet []UPathSet
// 端口配置信息
TaskSet []UGAATask
// 线路出口IP地址
OutPublicIpList []OutPublicIpInfo
}
UGAAInfo - 全球加速实例信息
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UGAATask ¶
type UGAATask struct {
// 端口
Port int
// 接入协议,包括TCP|UDP
Protocol string
// 转发协议,包括TCP|UDP|HTTP|HTTPS
TransferProtocol string
}
UGAATask - 用户在UGAA实例下配置的多端口任务
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UGABindUPathRequest ¶
type UGABindUPathRequest struct {
request.CommonBase
// UGA ID
UGAId *string `required:"true"`
// 加速线路id
UPathId *string `required:"true"`
// 代金券
CouponId *string `required:"false"`
}
UGABindUPathRequest is request schema for UGABindUPath action
type UGABindUPathResponse ¶
type UGABindUPathResponse struct {
response.CommonBase
}
UGABindUPathResponse is response schema for UGABindUPath action
type UPathInfo ¶
type UPathInfo struct {
// 支付方式
ChargeType string
// UPath名字
Name string
// UPath ID 号
UPathId string
// 带宽
Bandwidth int
// 线路ID
LineId string
// 与该UPath绑定的UGA列表
UGAList []UGAAInfo
// UPath创建的时间
CreateTime int
// UPath的过期时间
ExpireTime int
// 线路入口名称
LineFromName string
// 线路出口名称
LineToName string
// 线路出口IP信息
OutPublicIpList []OutPublicIpInfo
}
UPathInfo - 加速线路信息
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UPathSet ¶
type UPathSet struct {
// UPath名字
UPathName string
// UPath ID号
UPathId string
// 带宽
Bandwidth int
// 线路ID
LineId string
// 线路起点名字
LineFromName string
// 线路对端名字
LineToName string
// 线路对端IP
OutPublicIpList []OutPublicIpInfo
}
UPathSet - uga信息中携带的upath信息
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.