pathx

package
v0.22.13 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Overview

Package pathx include resources of ucloud pathx product

See also

for detail.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelerationAreaInfos added in v0.21.20

type AccelerationAreaInfos struct {

	// 加速区code
	AccelerationArea string

	// 加速节点信息
	AccelerationNodes []SrcAreaInfo
}

AccelerationAreaInfos - 加速大区信息

type AccelerationInfo added in v0.21.20

type AccelerationInfo struct {

	// 加速大区代码
	AccelerationArea string

	// 加速大区名称
	AccelerationName string

	// 加速提升情况
	NodeInfo []NodeDelays
}

AccelerationInfo - 加速提升信息

type AlarmRuler added in v0.20.1

type AlarmRuler struct {

	// 告警探测周期,单位秒
	AlarmFrequency int

	// 收敛策略,可选范围 ['Exponential','Continuous','Once'],分别对应指数递增、连续告警、单次告警
	AlarmStrategy string

	// 告警模板策略ID
	AlarmTemplateRuleId int

	// 比较策略,可选 ['GE','LE']  分别代表不小于和不大于
	Compare string

	// 联系组ID
	ContactGroupId int

	// 告警指标名称, 所有n的个数必须一致。目前仅允许以下四项:UpathNetworkOut:出向带宽,UpathNetworkIn:入向带宽,UpathNetworkOutUsage:出向带宽使用率,UpathNetworkInUsage:入向带宽使用率
	MetricName string

	// 资源类型
	ResourceType string

	// 告警阈值,带宽使用率的阈值范围是[50,100]的正整数,带宽告警阈值为1000000的倍数, 如大于2Mbps则告警 阈值应该传 2000000
	Threshold int

	// 告警触发周期(次数)
	TriggerCount int
}

AlarmRuler - 告警详情

type BindPathXSSLRequest added in v0.20.1

type BindPathXSSLRequest struct {
	request.CommonBase

	// 绑定SSL证书的HTTPS端口。Port.0 Port.1对应多个Port。如果Port不存在则不会绑定
	Port []int `required:"true"`

	// 证书ID,如果没有指定证书ID也没有申请免费证书,HTTPS接入无法正常工作
	SSLId *string `required:"true"`

	// UGA实例ID
	UGAId *string `required:"true"`
}

BindPathXSSLRequest is request schema for BindPathXSSL action

type BindPathXSSLResponse added in v0.20.1

type BindPathXSSLResponse struct {
	response.CommonBase
}

BindPathXSSLResponse is response schema for BindPathXSSL action

type CreateGlobalSSHInstanceRequest

type CreateGlobalSSHInstanceRequest struct {
	request.CommonBase

	// 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”,“首尔”。Area和AreaCode两者必填一个
	Area *string `required:"true"`

	// AreaCode, 区域航空港国际通用代码。Area和AreaCode两者必填一个
	AreaCode *string `required:"true"`

	// Ultimate版本带宽包大小,枚举值:[0,20,40]。单位MB
	BandwidthPackage *int `required:"false"`

	// 支付方式,如按月:Month、 按年:Year、按时:Dynamic
	ChargeType *string `required:"false"`

	// 使用代金券可冲抵部分费用
	CouponId *string `required:"false"`

	// InstanceType等于Basic时可以在["cn-bj2","cn-sh2","cn-gd"]中选择1个作为转发机房,其他付费版默认配置三个转发机房
	ForwardRegion *string `required:"false"`

	// 枚举值:["Ultimate","Enterprise","Basic","Primary"], 分别代表旗舰版,企业版,基础版,入门版
	InstanceType *string `required:"false"`

	// 源站服务器监听的SSH端口,可取范围[1-65535],不能使用80,443,  65123端口。如果InstanceType=Free,取值范围缩小为[22,3389],linux系统选择22,windows系统自动选3389。
	Port *int `required:"true"`

	// 购买数量按月购买至月底请传0
	Quantity *int `required:"false"`

	// 备注信息
	Remark *string `required:"false"`

	// 被SSH访问的源站IP,仅支持IPv4地址。
	TargetIP *string `required:"true"`
}

CreateGlobalSSHInstanceRequest is request schema for CreateGlobalSSHInstance action

type CreateGlobalSSHInstanceResponse

type CreateGlobalSSHInstanceResponse struct {
	response.CommonBase

	// 加速域名,访问该域名可就近接入
	AcceleratingDomain string

	// 实例ID,资源唯一标识
	InstanceId string

	// 【该字段已废弃,请谨慎使用】
	Message string `deprecated:"true"`
}

CreateGlobalSSHInstanceResponse is response schema for CreateGlobalSSHInstance action

type CreatePathXSSLRequest added in v0.20.1

type CreatePathXSSLRequest struct {
	request.CommonBase

	// CA颁发证书内容
	CACert *string `required:"false"`

	// 加密证书的私钥,不可使用密码保护,开启密码保护后,重启服务需要输入密码
	PrivateKey *string `required:"false"`

	// SSL证书的完整内容,私钥不可使用密码,包括加密证书的私钥、用户证书或CA证书等
	SSLContent *string `required:"false"`

	// SSL证书的名字
	SSLName *string `required:"true"`

	// 所添加的SSL证书类型,目前只支持Pem格式
	SSLType *string `required:"false"`

	// 用户自签证书内容
	UserCert *string `required:"false"`
}

CreatePathXSSLRequest is request schema for CreatePathXSSL action

type CreatePathXSSLResponse added in v0.20.1

type CreatePathXSSLResponse struct {
	response.CommonBase

	// SSL证书的Id
	SSLId string
}

CreatePathXSSLResponse is response schema for CreatePathXSSL action

type CreateUGA3InstanceRequest added in v0.21.20

type CreateUGA3InstanceRequest struct {
	request.CommonBase

	// 加速大区,默认Global,[    "Global":"全球",    "AP":"亚太",    "EU":"欧洲",    "ME":"中东",    "OA":"大洋洲",    "AF":"非洲",    "NA":"北美洲",    "SA":"南美洲"]
	AccelerationArea *string `required:"false"`

	// 非必填,如果不填,会根据Domain 和IPList 去选一个最近的源站区域BKK表示AreaCode;曼谷表示Area["BKK":"曼谷","DXB":"迪拜","FRA":"法兰克福","SGN":"胡志明市","HKG":"香港",CGK":"雅加达","LOS":"拉各斯","LHR":"伦敦","LAX":"洛杉矶","MNL":"马尼拉","DME":"莫斯科","BOM":"孟买","MSP":"圣保罗","ICN":"首尔","PVG":"上海","SIN":"新加坡","NRT":"东京","IAD":"华盛顿","TPE": "台北"]
	AreaCode *string `required:"false"`

	// 实例的共享带宽
	Bandwidth *string `required:"true"`

	// 支付方式,如按月、按年、按时
	ChargeType *string `required:"false"`

	// 使用代金券可冲抵部分费用,仅全地域可用的代金券
	CouponId *string `required:"false"`

	// 加速配置实例名称,默认PathX
	Name *string `required:"false"`

	// 加速源域名,IPList和Domain二选一必填
	OriginDomain *string `required:"false"`

	// 加速源IP,多个IP用英文半角逗号(,)隔开;IPList和Domain二选一必填
	OriginIPList *string `required:"false"`

	// 购买周期
	Quantity *int `required:"false"`

	// 备注项
	Remark *string `required:"false"`
}

CreateUGA3InstanceRequest is request schema for CreateUGA3Instance action

type CreateUGA3InstanceResponse added in v0.21.20

type CreateUGA3InstanceResponse struct {
	response.CommonBase

	// 加速域名 用户可把业务域名CName到此域名上
	CName string

	// 加速配置ID
	InstanceId string

	// 返回信息
	Message string
}

CreateUGA3InstanceResponse is response schema for CreateUGA3Instance action

type CreateUGA3PortRequest added in v0.21.20

type CreateUGA3PortRequest struct {
	request.CommonBase

	// 加速配置实例ID
	InstanceId *string `required:"true"`

	// TCP接入端口,禁用65123端口
	TCP []int `required:"false"`

	// TCP回源端口
	TCPRS []int `required:"false"`
}

CreateUGA3PortRequest is request schema for CreateUGA3Port action

type CreateUGA3PortResponse added in v0.21.20

type CreateUGA3PortResponse struct {
	response.CommonBase

	// 返回信息 说明
	Message string
}

CreateUGA3PortResponse is response schema for CreateUGA3Port action

type CreateUGAForwarderRequest added in v0.20.1

type CreateUGAForwarderRequest struct {
	request.CommonBase

	// HTTP接入HTTP回源转发,接入端口。禁用65123端口
	HTTPHTTP []int `required:"false"`

	// HTTP接入HTTP回源转发,源站监听端口
	HTTPHTTPRS []int `required:"false"`

	// HTTPS接入HTTP回源转发,接入端口。禁用65123端口
	HTTPSHTTP []int `required:"false"`

	// HTTPS接入HTTP回源转发,回源端口
	HTTPSHTTPRS []int `required:"false"`

	// HTTPS接入HTTPS回源转发,接入端口。禁用65123端口
	HTTPSHTTPS []int `required:"false"`

	// HTTPS接入HTTPS回源转发,源站监听端口
	HTTPSHTTPSRS []int `required:"false"`

	// TCP接入端口,禁用65123端口
	TCP []int `required:"false"`

	// TCP回源端口
	TCPRS []int `required:"false"`

	// UDP接入端口,禁用65123端口
	UDP []int `required:"false"`

	// UDP回源端口
	UDPRS []int `required:"false"`

	// 加速配置实例ID
	UGAId *string `required:"true"`

	// WebSocketS接入WebSocket回源转发,接入端口。禁用65123。
	WSSWS []int `required:"false"`

	// WebSocketS接入WebSocket回源转发,源站监听端口。
	WSSWSRS []int `required:"false"`

	// WebSocketS接入WebSocketS回源转发,接入端口。禁用65123。
	WSSWSS []int `required:"false"`

	// WebSocketS接入WebSocketS回源转发,源站监听端口。
	WSSWSSRS []int `required:"false"`

	// WebSocket接入WebSocket回源转发,接入端口。禁用65123。
	WSWS []int `required:"false"`

	// WebSocket接入WebSocket回源转发,源站监听端口
	WSWSRS []int `required:"false"`
}

CreateUGAForwarderRequest is request schema for CreateUGAForwarder action

type CreateUGAForwarderResponse added in v0.20.1

type CreateUGAForwarderResponse struct {
	response.CommonBase

	// 【该字段已废弃,请谨慎使用】
	Message string `deprecated:"true"`
}

CreateUGAForwarderResponse is response schema for CreateUGAForwarder action

type CreateUGAInstanceRequest added in v0.20.1

type CreateUGAInstanceRequest struct {
	request.CommonBase

	// 加速源域名,IPList和Domain二选一必填
	Domain *string `required:"false"`

	// 加速源IP,多个IP用英文半角逗号(,)隔开;IPList和Domain二选一必填
	IPList *string `required:"false"`

	// 加速配置实例名称
	Name *string `required:"true"`

	// TCP端口号,已废弃。请使用 CreateUGAForwarder API 创建端口
	TCP []string `required:"false"`

	// UDP端口号,已废弃。请使用 CreateUGAForwarder API 创建端口
	UDP []string `required:"false"`
}

CreateUGAInstanceRequest is request schema for CreateUGAInstance action

type CreateUGAInstanceResponse added in v0.20.1

type CreateUGAInstanceResponse struct {
	response.CommonBase

	// 加速域名 用户可把业务域名CName到此域名上。注意:未绑定线路情况时 加速域名解析不出IP。
	CName string

	// 返回信息
	Message string

	// 加速配置ID
	UGAId string
}

CreateUGAInstanceResponse is response schema for CreateUGAInstance action

type CreateUPathRequest added in v0.20.1

type CreateUPathRequest struct {
	request.CommonBase

	// 当PostPaid为false时,该值为预付费固定带宽;当PostPaid为true时,该值为后付费保底带宽,保底带宽越大可用的上限带宽越大。最小1Mbps,最大带宽由 DescribePathXLineConfig 接口获得。可联系产品团队咨询最大带宽。
	Bandwidth *int `required:"true"`

	// 计费模式,默认为Month 按月收费,可选范围['Month','Year','Dynamic']
	ChargeType *string `required:"false"`

	// 代金券Id
	CouponId *string `required:"false"`

	// 选择的线路,由DescribePathXLineConfig接口提供
	LineId *string `required:"true"`

	// 名字,便于记忆区分
	Name *string `required:"true"`

	// private:专线线路;public:海外SD-WAN。默认为private。
	PathType *string `required:"false"`

	// 是否开启后付费, 默认为false ,不开启后付费。当ChargeType为Dynamic时不能开启后付费。
	PostPaid *bool `required:"false"`

	// 购买周期,ChargeType为Month时,Quantity默认为0代表购买到月底,按时和按年付费该参数必须大于0
	Quantity *int `required:"false"`
}

CreateUPathRequest is request schema for CreateUPath action

type CreateUPathResponse added in v0.20.1

type CreateUPathResponse struct {
	response.CommonBase

	// 加速线路实例Id
	PathId string

	// 【该字段已废弃,请谨慎使用】
	UPathId string `deprecated:"true"`
}

CreateUPathResponse is response schema for CreateUPath action

type DeleteGlobalSSHInstanceRequest

type DeleteGlobalSSHInstanceRequest struct {
	request.CommonBase

	// 实例Id,资源的唯一标识
	InstanceId *string `required:"true"`
}

DeleteGlobalSSHInstanceRequest is request schema for DeleteGlobalSSHInstance action

type DeleteGlobalSSHInstanceResponse

type DeleteGlobalSSHInstanceResponse struct {
	response.CommonBase

	// 提示信息
	Message string
}

DeleteGlobalSSHInstanceResponse is response schema for DeleteGlobalSSHInstance action

type DeletePathXSSLRequest added in v0.20.1

type DeletePathXSSLRequest struct {
	request.CommonBase

	// SSL证书的ID
	SSLId *string `required:"true"`
}

DeletePathXSSLRequest is request schema for DeletePathXSSL action

type DeletePathXSSLResponse added in v0.20.1

type DeletePathXSSLResponse struct {
	response.CommonBase
}

DeletePathXSSLResponse is response schema for DeletePathXSSL action

type DeleteUGA3InstanceRequest added in v0.21.20

type DeleteUGA3InstanceRequest struct {
	request.CommonBase

	// 实例Id,资源的唯一标识
	InstanceId *string `required:"true"`
}

DeleteUGA3InstanceRequest is request schema for DeleteUGA3Instance action

type DeleteUGA3InstanceResponse added in v0.21.20

type DeleteUGA3InstanceResponse struct {
	response.CommonBase

	// 提示信息
	Message string
}

DeleteUGA3InstanceResponse is response schema for DeleteUGA3Instance action

type DeleteUGA3PortRequest added in v0.21.20

type DeleteUGA3PortRequest struct {
	request.CommonBase

	// 加速配置实例ID
	InstanceId *string `required:"true"`

	// TCP接入端口
	TCP []int `required:"false"`
}

DeleteUGA3PortRequest is request schema for DeleteUGA3Port action

type DeleteUGA3PortResponse added in v0.21.20

type DeleteUGA3PortResponse struct {
	response.CommonBase

	// 返回信息 说明
	Message string
}

DeleteUGA3PortResponse is response schema for DeleteUGA3Port action

type DeleteUGAForwarderRequest added in v0.20.1

type DeleteUGAForwarderRequest struct {
	request.CommonBase

	// HTTP接入HTTP回源,接入端口。禁用65123端口
	HTTPHTTP []int `required:"false"`

	// HTTPS接入HTTP回源, 接入端口。禁用65123端口
	HTTPSHTTP []int `required:"false"`

	// HTTPS接入HTTPS回源, 接入端口。禁用65123端口
	HTTPSHTTPS []int `required:"false"`

	// TCP接入端口
	TCP []int `required:"false"`

	// UDP接入端口
	UDP []int `required:"false"`

	// 加速配置实例ID
	UGAId *string `required:"true"`

	// WebSocketS接入WebSocket回源, 接入端口。禁用65123端口。
	WSSWS []int `required:"false"`

	// WebSocketS接入WebSocketS回源, 接入端口。禁用65123端口
	WSSWSS []int `required:"false"`

	// WebSocket接入WebSocket回源, 接入端口。禁用65123端口
	WSWS []int `required:"false"`
}

DeleteUGAForwarderRequest is request schema for DeleteUGAForwarder action

type DeleteUGAForwarderResponse added in v0.20.1

type DeleteUGAForwarderResponse struct {
	response.CommonBase

	// 【该字段已废弃,请谨慎使用】
	Message string `deprecated:"true"`
}

DeleteUGAForwarderResponse is response schema for DeleteUGAForwarder action

type DeleteUGAInstanceRequest added in v0.20.1

type DeleteUGAInstanceRequest struct {
	request.CommonBase

	// 加速配置实例ID
	UGAId *string `required:"true"`
}

DeleteUGAInstanceRequest is request schema for DeleteUGAInstance action

type DeleteUGAInstanceResponse added in v0.20.1

type DeleteUGAInstanceResponse struct {
	response.CommonBase

	// 消息提示
	Message string
}

DeleteUGAInstanceResponse is response schema for DeleteUGAInstance action

type DeleteUPathRequest added in v0.20.1

type DeleteUPathRequest struct {
	request.CommonBase

	// 加速线路实例ID
	UPathId *string `required:"true"`
}

DeleteUPathRequest is request schema for DeleteUPath action

type DeleteUPathResponse added in v0.20.1

type DeleteUPathResponse struct {
	response.CommonBase
}

DeleteUPathResponse is response schema for DeleteUPath action

type DescribeGlobalSSHAreaRequest

type DescribeGlobalSSHAreaRequest struct {
	request.CommonBase
}

DescribeGlobalSSHAreaRequest is request schema for DescribeGlobalSSHArea action

type DescribeGlobalSSHAreaResponse

type DescribeGlobalSSHAreaResponse struct {
	response.CommonBase

	//
	AreaSet []GlobalSSHArea

	//
	Message string
}

DescribeGlobalSSHAreaResponse is response schema for DescribeGlobalSSHArea action

type DescribeGlobalSSHInstanceRequest

type DescribeGlobalSSHInstanceRequest struct {
	request.CommonBase

	// 实例ID,资源唯一标识
	InstanceId *string `required:"false"`
}

DescribeGlobalSSHInstanceRequest is request schema for DescribeGlobalSSHInstance action

type DescribeGlobalSSHInstanceResponse

type DescribeGlobalSSHInstanceResponse struct {
	response.CommonBase

	// GlobalSSH实例列表,实例的属性参考GlobalSSHInfo模型
	InstanceSet []GlobalSSHInfo
}

DescribeGlobalSSHInstanceResponse is response schema for DescribeGlobalSSHInstance action

type DescribePathXLineConfigRequest added in v0.20.1

type DescribePathXLineConfigRequest struct {
	request.CommonBase
}

DescribePathXLineConfigRequest is request schema for DescribePathXLineConfig action

type DescribePathXLineConfigResponse added in v0.20.1

type DescribePathXLineConfigResponse struct {
	response.CommonBase

	// UGAA线路列表,参考UGAALine字段定义
	LineSet []UGAALine
}

DescribePathXLineConfigResponse is response schema for DescribePathXLineConfig action

type DescribePathXSSLRequest added in v0.20.1

type DescribePathXSSLRequest struct {
	request.CommonBase

	// 最大返回条数,默认100,最大400
	Limit *int `required:"false"`

	// 偏移值 默认为0
	Offset *int `required:"false"`

	// SSL证书的Id,不传分页获取证书列表
	SSLId *string `required:"false"`

	// 不为空则按证书名称、证书域名模糊搜索 分页返回结果
	SearchValue *string `required:"false"`
}

DescribePathXSSLRequest is request schema for DescribePathXSSL action

type DescribePathXSSLResponse added in v0.20.1

type DescribePathXSSLResponse struct {
	response.CommonBase

	// SSL证书详细信息,具体结构见 PathXSSLSet
	DataSet []PathXSSLSet

	// 符合条件的证书总数
	TotalCount int
}

DescribePathXSSLResponse is response schema for DescribePathXSSL action

type DescribeUGA3AreaRequest added in v0.21.20

type DescribeUGA3AreaRequest struct {
	request.CommonBase

	// 域名,非必填。如果填IP或者域名,会推荐一个地域在返回列表的第一个
	Domain *string `required:"false"`

	// IP集合,非必填。如果填IP或者域名,会推荐一个地域在返回列表的第一个,源站IP集合,以逗号分隔[127.0.0.1,127.0.0.2]
	IPList *string `required:"false"`
}

DescribeUGA3AreaRequest is request schema for DescribeUGA3Area action

type DescribeUGA3AreaResponse added in v0.21.20

type DescribeUGA3AreaResponse struct {
	response.CommonBase

	// 支持源站的地区,比如:AreaSet[{            "Area": "首尔",            "AreaCode": "ICN",            "CountryCode": "CN",            "ContinentCode": "CN"        }]ContinentCode:["CN","NA","OT"];"CN":表示国内,"NA":表示美洲,“OT":表示欧洲等其他地区
	AreaSet []ForwardArea

	// 提示信息
	Message string
}

DescribeUGA3AreaResponse is response schema for DescribeUGA3Area action

type DescribeUGA3InstanceRequest added in v0.21.20

type DescribeUGA3InstanceRequest struct {
	request.CommonBase

	// 加速配置实例ID,如果传了实例ID 则返回匹配实例ID的记录;如果没传则返回 ProjectId 下全部实例且符合分页要求
	InstanceId *string `required:"false"`

	// 返回的最大条数,默认为100,最大值400
	Limit *int `required:"false"`

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

DescribeUGA3InstanceRequest is request schema for DescribeUGA3Instance action

type DescribeUGA3InstanceResponse added in v0.21.20

type DescribeUGA3InstanceResponse struct {
	response.CommonBase

	// 全球加速实例信息列表
	ForwardInstanceInfos []ForwardInfo

	// 符合条件的总数
	TotalCount int
}

DescribeUGA3InstanceResponse is response schema for DescribeUGA3Instance action

type DescribeUGA3OptimizationRequest added in v0.21.20

type DescribeUGA3OptimizationRequest struct {
	request.CommonBase

	// 加速大区,默认Global,[    "Global":"全球",    "AP":"亚太",    "EU":"欧洲",    "ME":"中东",    "OA":"大洋洲",    "AF":"非洲",    "NA":"北美洲",    "SA":"南美洲"]
	AccelerationArea *string `required:"false"`

	// 源站AreaCode
	AreaCode *string `required:"true"`

	// 默认一天 ,枚举类型["Hour","Day","Week"]
	TimeRange *string `required:"false"`
}

DescribeUGA3OptimizationRequest is request schema for DescribeUGA3Optimization action

type DescribeUGA3OptimizationResponse added in v0.21.20

type DescribeUGA3OptimizationResponse struct {
	response.CommonBase

	// 加速详情
	AccelerationInfos []AccelerationInfo

	// 【该字段已废弃,请谨慎使用】
	Message string `deprecated:"true"`
}

DescribeUGA3OptimizationResponse is response schema for DescribeUGA3Optimization action

type DescribeUGAInstanceRequest added in v0.20.1

type DescribeUGAInstanceRequest struct {
	request.CommonBase

	// 返回的最大条数,默认为100,最大值400
	Limit *int `required:"false"`

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

	// 加速配置实例ID,如果传了实例ID 则返回匹配实例ID的记录;如果没传则返回 ProjectId 下全部实例且符合分页要求
	UGAId *string `required:"false"`
}

DescribeUGAInstanceRequest is request schema for DescribeUGAInstance action

type DescribeUGAInstanceResponse added in v0.20.1

type DescribeUGAInstanceResponse struct {
	response.CommonBase

	// 符合条件的总数
	TotalCount int

	// 全球加速实例信息列表
	UGAList []UGAAInfo
}

DescribeUGAInstanceResponse is response schema for DescribeUGAInstance action

type DescribeUPathRequest added in v0.20.1

type DescribeUPathRequest struct {
	request.CommonBase

	// 如果不填参数 返回 ProjectId 下所有的线路资源,填此参数则返回upath实例ID匹配的线路
	UPathId *string `required:"false"`
}

DescribeUPathRequest is request schema for DescribeUPath action

type DescribeUPathResponse added in v0.20.1

type DescribeUPathResponse struct {
	response.CommonBase

	// 线路信息数组
	UPathSet []UPathInfo
}

DescribeUPathResponse is response schema for DescribeUPath action

type DescribeUPathTemplateRequest added in v0.20.1

type DescribeUPathTemplateRequest struct {
	request.CommonBase

	// 加速线路实例ID,格式 upath-xxxx
	UPathId *string `required:"true"`
}

DescribeUPathTemplateRequest is request schema for DescribeUPathTemplate action

type DescribeUPathTemplateResponse added in v0.20.1

type DescribeUPathTemplateResponse struct {
	response.CommonBase

	// 监控模板详情
	DataSet []AlarmRuler
}

DescribeUPathTemplateResponse is response schema for DescribeUPathTemplate action

type ForwardArea added in v0.21.20

type ForwardArea struct {

	// 源站区域中文
	Area string

	// 源站区域代码
	AreaCode string

	// 大陆代码
	ContinentCode string

	// 国家代码
	CountryCode string

	// 国旗 emoji
	FlagEmoji string

	// 国旗unicode
	FlagUnicode string
}

ForwardArea - 全地域加速源站区域

type ForwardInfo added in v0.21.20

type ForwardInfo struct {

	// 加速大区代码
	AccelerationArea string

	// 加速节点列表
	AccelerationAreaInfos []AccelerationAreaInfos

	// 加速大区名称
	AccelerationAreaName string

	// 购买的带宽值
	Bandwidth int

	// 加速域名
	CName string

	// 计费方式
	ChargeType string

	// 资源创建时间
	CreateTime int

	// 源站域名
	Domain string

	// 回源出口IP地址
	EgressIpList []OutPublicIpInfo

	// 资源过期时间
	ExpireTime int

	// 源站IP列表,多个值由半角英文逗号相隔
	IPList []string

	// 加速配置ID
	InstanceId string

	// 加速实例名称
	Name string

	// 源站中文名
	OriginArea string

	// 源站AreaCode
	OriginAreaCode string

	// 端口列表
	PortSets []ForwardTask

	// 备注
	Remark string
}

ForwardInfo - 全球统一接入加速实例配置信息

type ForwardTask added in v0.21.20

type ForwardTask struct {

	// 加速端口
	Port int

	// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS","WSWS","WSSWS","WSSWSS"]。TCP和UDP代表四层转发,其余为七层转发。
	Protocol string

	// 源站服务器监听的端口号
	RSPort int
}

ForwardTask - 全球统一接入转发端口任务信息

type GetGlobalSSHPriceRequest added in v0.20.1

type GetGlobalSSHPriceRequest struct {
	request.CommonBase

	// 计费类型:Dynamic,Month,Year
	ChargeType *string `required:"false"`

	// 版本类型。枚举值,Enterprise:企业版;Basic:基础版。可不填,默认为Basic。
	InstanceType *string `required:"false"`

	// 购买周期,如果ChargeType为Month,Quantity默认为0;其他情况必须为大于0的整数
	Quantity *int `required:"false"`
}

GetGlobalSSHPriceRequest is request schema for GetGlobalSSHPrice action

type GetGlobalSSHPriceResponse added in v0.20.1

type GetGlobalSSHPriceResponse struct {
	response.CommonBase

	// 价格,返回单位为元
	Price float64
}

GetGlobalSSHPriceResponse is response schema for GetGlobalSSHPrice action

type GetGlobalSSHUpdatePriceRequest added in v0.20.1

type GetGlobalSSHUpdatePriceRequest struct {
	request.CommonBase

	// 计费类型:Dynamic,Month,Year。从免费版升级到付费版必须传,其他情况不需要传
	ChargeType *string `required:"false"`

	// 实例ID,唯一资源标识。从免费版升级到付费版可不填,其他情况必填。
	InstanceId *string `required:"false"`

	// 升级后的实例类型。枚举值,Enterprise:企业版;Basic:基础版。
	InstanceType *string `required:"true"`

	// 购买周期,如果ChargeType为Month,Quantity可以不填默认为0;其他情况必须为正整数。
	Quantity *int `required:"false"`
}

GetGlobalSSHUpdatePriceRequest is request schema for GetGlobalSSHUpdatePrice action

type GetGlobalSSHUpdatePriceResponse added in v0.20.1

type GetGlobalSSHUpdatePriceResponse struct {
	response.CommonBase

	// 价格,返回单位为元。正数表示付费升级,负数表示降级退费。
	Price float64
}

GetGlobalSSHUpdatePriceResponse is response schema for GetGlobalSSHUpdatePrice action

type GetPathXMetricRequest added in v0.20.1

type GetPathXMetricRequest struct {
	request.CommonBase

	// 查询起始时间,10位长度时间戳
	BeginTime *int `required:"true"`

	// 查询结束时间,10位长度时间戳
	EndTime *int `required:"true"`

	// 具体线路id,调用DescribePathXLineConfig接口获取线路列表
	LineId *string `required:"true"`

	// 查询监控的指标项。目前仅允许以下四项:NetworkOut:出向带宽,NetworkIn:入向带宽,NetworkOutUsage:出向带宽使用率,NetworkInUsage:入向带宽使用率
	MetricName []string `required:"true"`

	// ResourceId,如upath ID  和 uga ID
	ResourceId *string `required:"true"`

	// upath:加速线路,uga:加速实例
	ResourceType *string `required:"true"`
}

GetPathXMetricRequest is request schema for GetPathXMetric action

type GetPathXMetricResponse added in v0.20.1

type GetPathXMetricResponse struct {
	response.CommonBase

	// 监控数据结果集
	DataSet MetricPeriod
}

GetPathXMetricResponse is response schema for GetPathXMetric action

type GetUGA3MetricRequest added in v0.21.20

type GetUGA3MetricRequest struct {
	request.CommonBase

	// 子线路AreaCode ,子线路的时候传,不是子线路可以不传
	AreaCode *string `required:"false"`

	// 查询起始时间,10位长度时间戳
	BeginTime *int `required:"true"`

	// 查询结束时间,10位长度时间戳
	EndTime *int `required:"true"`

	// 资源ID
	InstanceId *string `required:"true"`

	// 是否为子线路。为了简化查询,true 会返回所有子线路监控项可以,false:返回所有汇总的监控数据
	IsSubline *bool `required:"false"`

	// 查询监控的指标项。可不传	NetworkOut:出口总带宽	NetworkIn:入口总带宽	NetworkOutUsage:出口带宽使用率	NetworkInUsage:入口总带宽使用率	NetworkOutSubline :子线路出口带宽	NetworkInSubline:子线路入口带宽	Delay:线路平均延迟	DelaySubline:子线路延迟	ConnectCount:当前连接数	ConnectCountSubline:子线路当前连接数	DelayPromote:延迟提升	DelayPromoteSubline:子线路延迟提升
	MetricName []string `required:"false"`
}

GetUGA3MetricRequest is request schema for GetUGA3Metric action

type GetUGA3MetricResponse added in v0.21.20

type GetUGA3MetricResponse struct {
	response.CommonBase

	// 监控数据结果集
	DataSet UGA3Metric
}

GetUGA3MetricResponse is response schema for GetUGA3Metric action

type GetUGA3PriceRequest added in v0.21.20

type GetUGA3PriceRequest struct {
	request.CommonBase

	// 加速大区,默认返回所有加速大区价格
	AccelerationArea *string `required:"false"`

	// 源站区域
	AreaCode *string `required:"true"`

	// 共享带宽大小
	Bandwidth *int `required:"true"`

	// 计费方式,默认按月支付。Month: 按月; Year: 按年; Dynamic: 按小时收
	ChargeType *string `required:"false"`

	// 购买时间数量,当ChargeType为Month时 Quantity默认为0,代表购买至月底。按年按小时必须为大于0
	Quantity *int `required:"false"`
}

GetUGA3PriceRequest is request schema for GetUGA3Price action

type GetUGA3PriceResponse added in v0.21.20

type GetUGA3PriceResponse struct {
	response.CommonBase

	// 加速大区对应价格
	UGA3Price []UGA3Price
}

GetUGA3PriceResponse is response schema for GetUGA3Price action

type GetUGA3UpdatePriceRequest added in v0.21.20

type GetUGA3UpdatePriceRequest struct {
	request.CommonBase

	// 暂未支持,加速大区,在更换加速大区的时候使用
	AccelerationArea *string `required:"false"`

	// 暂未支持,源站区域
	AreaCode *string `required:"false"`

	// 只有升级带宽的时候有价格变化
	Bandwidth *int `required:"false"`

	// 资源ID
	InstanceId *string `required:"true"`
}

GetUGA3UpdatePriceRequest is request schema for GetUGA3UpdatePrice action

type GetUGA3UpdatePriceResponse added in v0.21.20

type GetUGA3UpdatePriceResponse struct {
	response.CommonBase

	// 价格 元。大于0需付费,小于0则退费。
	Price float64
}

GetUGA3UpdatePriceResponse is response schema for GetUGA3UpdatePrice action

type GlobalSSHArea

type GlobalSSHArea struct {

	//
	Area string

	//
	AreaCode string

	//
	RegionSet []string
}

GlobalSSHArea -

type GlobalSSHInfo

type GlobalSSHInfo struct {

	// GlobalSSH分配的加速域名。
	AcceleratingDomain string

	// 被SSH访问的IP所在地区
	Area string

	// globalssh Ultimate带宽包大小
	BandwidthPackage int

	// 支付周期,如Month,Year,Dynamic等
	ChargeType string

	// 资源创建时间戳
	CreateTime int

	// 加速域名当前可用性检测结果 HashMap 结构 0表示可用, 1 表示有污染
	DomainStatus string

	// 是否过期
	Expire bool

	// 资源过期时间戳
	ExpireTime int

	// GlobalSSH分配的其他可用加速域名列表
	ExtraDomain []string

	// InstanceType为Basic版本时,需要展示具体分配的转发机房
	ForwardRegion string

	// InstanceType等于Free时,由系统自动分配,不等于源站Port值。InstanceType不等于Free时,与源站Port值相同。
	GlobalSSHPort int

	// 是否开启EIP IPV6 接入,Flase:未开启
	IPV6Access bool

	// 实例ID,资源唯一标识
	InstanceId string

	// 枚举值:["Enterprise","Basic","Free","Welfare"], 分别代表企业版,基础版本,免费版本,较早的公测免费版
	InstanceType string

	// 源站服务器监听的SSH端口,windows系统为RDP端口
	Port int

	// 备注信息
	Remark string

	// 被SSH访问的源站 IPv4地址。
	TargetIP string
}

GlobalSSHInfo - GlobalSSH实例信息

type LineDetail added in v0.20.1

type LineDetail struct {

	// 线路源
	LineFrom string

	// 线路源中文名称
	LineFromName string

	// 线路计费Id
	LineId string

	// 线路目的
	LineTo string

	// 线路目的中文名称
	LineToName string
}

LineDetail - 子线路

type MatricPoint added in v0.20.1

type MatricPoint struct {

	// 时间戳
	Timestamp int

	// 监控点数值
	Value int
}

MatricPoint - 某一时刻的监控数据

type MetricPeriod added in v0.20.1

type MetricPeriod struct {

	// 入向带宽
	NetworkIn []MatricPoint

	// 入向带宽使用率
	NetworkInUsage []MatricPoint

	// 出向带宽
	NetworkOut []MatricPoint

	// 出向带宽使用率
	NetworkOutUsage []MatricPoint
}

MetricPeriod - 一段时间内的监控数据

type ModifyGlobalSSHPortRequest

type ModifyGlobalSSHPortRequest struct {
	request.CommonBase

	// 实例ID,资源唯一标识。当前仅收费版GlobalSSH实例可以修改端口。
	InstanceId *string `required:"true"`

	// 源站服务器监听的SSH端口号。收费版本端口范围[1,65535]且不能为80,443,65123端口。免费版不支持修改端口。
	Port *int `required:"true"`
}

ModifyGlobalSSHPortRequest is request schema for ModifyGlobalSSHPort action

type ModifyGlobalSSHPortResponse

type ModifyGlobalSSHPortResponse struct {
	response.CommonBase

	// 提示信息
	Message string
}

ModifyGlobalSSHPortResponse is response schema for ModifyGlobalSSHPort action

type ModifyGlobalSSHRemarkRequest

type ModifyGlobalSSHRemarkRequest struct {
	request.CommonBase

	// 实例ID,资源唯一标识
	InstanceId *string `required:"true"`

	// 备注信息,不填默认为空字符串
	Remark *string `required:"false"`
}

ModifyGlobalSSHRemarkRequest is request schema for ModifyGlobalSSHRemark action

type ModifyGlobalSSHRemarkResponse

type ModifyGlobalSSHRemarkResponse struct {
	response.CommonBase

	// 接口返回消息
	Message string
}

ModifyGlobalSSHRemarkResponse is response schema for ModifyGlobalSSHRemark action

type ModifyGlobalSSHTypeRequest added in v0.20.1

type ModifyGlobalSSHTypeRequest struct {
	request.CommonBase

	// 支付方式,如按月、按年、按时
	ChargeType *string `required:"false"`

	// 可抵扣费用的券,通常不使用
	CouponId *string `required:"false"`

	// 实例ID,资源唯一标识
	InstanceId *string `required:"true"`

	// 取值范围["Enterprise","Basic"],分别对应企业版和基础版,表示升级后的实例类型。比如从Free版本升级为Basic版或Enterprise版,不可从收费版降级为免费版,或从企业版降级为基础版
	InstanceType *string `required:"true"`

	// 购买时间,当ChargeType为Month,Quantity为0代表购买到月底
	Quantity *string `required:"false"`
}

ModifyGlobalSSHTypeRequest is request schema for ModifyGlobalSSHType action

type ModifyGlobalSSHTypeResponse added in v0.20.1

type ModifyGlobalSSHTypeResponse struct {
	response.CommonBase

	// 提示信息
	Message string
}

ModifyGlobalSSHTypeResponse is response schema for ModifyGlobalSSHType action

type ModifyUGA3BandwidthRequest added in v0.21.20

type ModifyUGA3BandwidthRequest struct {
	request.CommonBase

	// 带宽大小,范围[1,100],不传则不更新
	Bandwidth *int `required:"false"`

	// 需要全地域可用的代金券
	CouponId *string `required:"false"`

	// 加速配置实例ID,格式uga3-xxxx
	InstanceId *string `required:"true"`
}

ModifyUGA3BandwidthRequest is request schema for ModifyUGA3Bandwidth action

type ModifyUGA3BandwidthResponse added in v0.21.20

type ModifyUGA3BandwidthResponse struct {
	response.CommonBase

	// 补充描述信息
	Message string
}

ModifyUGA3BandwidthResponse is response schema for ModifyUGA3Bandwidth action

type ModifyUGA3InstanceRequest added in v0.21.20

type ModifyUGA3InstanceRequest struct {
	request.CommonBase

	// 加速配置实例ID,格式uga-xxxx。不支持GlobalSSH实例。
	InstanceId *string `required:"true"`

	// 加速配置实例名称,不填或空字符串则不更新
	Name *string `required:"false"`

	// 备注信息,暂时前端为使用
	Remark *string `required:"false"`
}

ModifyUGA3InstanceRequest is request schema for ModifyUGA3Instance action

type ModifyUGA3InstanceResponse added in v0.21.20

type ModifyUGA3InstanceResponse struct {
	response.CommonBase

	// 补充描述信息
	Message string
}

ModifyUGA3InstanceResponse is response schema for ModifyUGA3Instance action

type ModifyUGA3OriginInfoRequest added in v0.21.20

type ModifyUGA3OriginInfoRequest struct {
	request.CommonBase

	// 加速配置实例ID,格式uga3-xxxx。
	InstanceId *string `required:"true"`

	// 加速源域名,仅支持1个域名。修改源站时 OriginIPList和OriginDomain至少填一个。OriginIPList和OriginDomain都填时 以Domain为准,如果两个都不填,不修改
	OriginDomain *string `required:"true"`

	// ,加速源IP,多个IP用英文半角逗号(,)隔开。修改源站时 ,OriginIPList和OriginDomain至少填一个。OriginIPList和OriginDomain都填时 以OriginDomain为准。如果两个都不填,不修改
	OriginIPList *string `required:"true"`
}

ModifyUGA3OriginInfoRequest is request schema for ModifyUGA3OriginInfo action

type ModifyUGA3OriginInfoResponse added in v0.21.20

type ModifyUGA3OriginInfoResponse struct {
	response.CommonBase

	// 操作名称
	Action string

	// 补充描述信息
	Message string

	// 返回码
	RetCode int
}

ModifyUGA3OriginInfoResponse is response schema for ModifyUGA3OriginInfo action

type ModifyUGA3PortRequest added in v0.21.20

type ModifyUGA3PortRequest struct {
	request.CommonBase

	// 加速配置实例ID
	InstanceId *string `required:"true"`

	// TCP接入端口,禁用65123端口
	TCP []int `required:"false"`

	// TCP回源端口
	TCPRS []int `required:"false"`
}

ModifyUGA3PortRequest is request schema for ModifyUGA3Port action

type ModifyUGA3PortResponse added in v0.21.20

type ModifyUGA3PortResponse struct {
	response.CommonBase

	// 返回信息 说明
	Message string
}

ModifyUGA3PortResponse is response schema for ModifyUGA3Port action

type ModifyUPathBandwidthRequest added in v0.20.1

type ModifyUPathBandwidthRequest struct {
	request.CommonBase

	// 线路带宽,单位Mbps。最小1Mbps,最大带宽由 DescribePathXLineConfig 接口获得。如需更大带宽,请联系产品团队。
	Bandwidth *int `required:"true"`

	// UPath 加速线路实例Id
	UPathId *string `required:"true"`
}

ModifyUPathBandwidthRequest is request schema for ModifyUPathBandwidth action

type ModifyUPathBandwidthResponse added in v0.20.1

type ModifyUPathBandwidthResponse struct {
	response.CommonBase
}

ModifyUPathBandwidthResponse is response schema for ModifyUPathBandwidth action

type ModifyUPathTemplateRequest added in v0.20.1

type ModifyUPathTemplateRequest struct {
	request.CommonBase

	// 告警探测周期,单位:秒
	AlarmFrequency []int `required:"false"`

	// 收敛策略,可选范围 ['Exponential','Continuous','Once'],分别对应指数递增、连续告警、单次告警
	AlarmStrategy []string `required:"false"`

	// 比较策略,可选 ['GE','LE']  分别代表不小于和不大于
	Compare []string `required:"false"`

	// 告警组id
	ContactGroupId []int `required:"false"`

	// 告警指标名称, 所有n的个数必须一致。目前仅允许以下四项:UpathNetworkOut:出向带宽,UpathNetworkIn:入向带宽,UpathNetworkOutUsage:出向带宽使用率,UpathNetworkInUsage:入向带宽使用率
	MetricName []string `required:"false"`

	// 告警阈值,带宽使用率的阈值范围是[50,100]的正整数,带宽告警阈值为1000000的倍数, 如大于2Mbps则告警 阈值应该传 2000000
	Threshold []int `required:"false"`

	// 告警触发周期(次数)
	TriggerCount []int `required:"false"`

	// 加速线路实例ID
	UPathId *string `required:"true"`
}

ModifyUPathTemplateRequest is request schema for ModifyUPathTemplate action

type ModifyUPathTemplateResponse added in v0.20.1

type ModifyUPathTemplateResponse struct {
	response.CommonBase
}

ModifyUPathTemplateResponse is response schema for ModifyUPathTemplate action

type NodeDelays added in v0.21.20

type NodeDelays struct {

	// 加速区域
	Area string

	// 加速区域Code
	AreaCode string

	// 国家代码
	CountryCode string

	// 国旗Emoji
	FlagEmoji string

	// 国旗Code
	FlagUnicode string

	// 加速延迟
	Latency float64

	// 公网延迟
	LatencyInternet float64

	// 加速提升比例
	LatencyOptimization float64

	// 加速后丢包率
	Loss float64

	// 原始丢包率
	LossInternet float64

	// 丢包下降比例
	LossOptimization float64
}

NodeDelays - 全地域加速各个区域加速延迟情况

type OutPublicIpInfo added in v0.20.1

type OutPublicIpInfo struct {

	// 线路回源节点机房代号
	Area string

	// 线路回源节点EIP
	IP string
}

OutPublicIpInfo - 线路回源IP信息

type PathXClient

type PathXClient struct {
	*ucloud.Client
}

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) BindPathXSSL added in v0.20.1

func (c *PathXClient) BindPathXSSL(req *BindPathXSSLRequest) (*BindPathXSSLResponse, error)

API: BindPathXSSL

绑定PathX SSL证书

func (*PathXClient) CreateGlobalSSHInstance

API: CreateGlobalSSHInstance

创建GlobalSSH实例

func (*PathXClient) CreatePathXSSL added in v0.20.1

func (c *PathXClient) CreatePathXSSL(req *CreatePathXSSLRequest) (*CreatePathXSSLResponse, error)

API: CreatePathXSSL

创建SSL证书,可以把整个 Pem 证书内容传到SSLContent,或者把证书、私钥、CA证书分别传过来

func (*PathXClient) CreateUGA3Instance added in v0.21.20

API: CreateUGA3Instance

创建全球统一接入加速配置项

func (*PathXClient) CreateUGA3Port added in v0.21.20

func (c *PathXClient) CreateUGA3Port(req *CreateUGA3PortRequest) (*CreateUGA3PortResponse, error)

API: CreateUGA3Port

创建统一接入加速实例端口,目前仅支持四层TCP端口

func (*PathXClient) CreateUGAForwarder added in v0.20.1

API: CreateUGAForwarder

创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源

func (*PathXClient) CreateUGAInstance added in v0.20.1

API: CreateUGAInstance

创建全球加速配置项

func (*PathXClient) CreateUPath added in v0.20.1

func (c *PathXClient) CreateUPath(req *CreateUPathRequest) (*CreateUPathResponse, error)

API: CreateUPath

创建UPath

func (*PathXClient) DeleteGlobalSSHInstance

API: DeleteGlobalSSHInstance

删除GlobalSSH实例

func (*PathXClient) DeletePathXSSL added in v0.20.1

func (c *PathXClient) DeletePathXSSL(req *DeletePathXSSLRequest) (*DeletePathXSSLResponse, error)

API: DeletePathXSSL

删除PathX SSL证书

func (*PathXClient) DeleteUGA3Instance added in v0.21.20

API: DeleteUGA3Instance

删除全球统一接入转发实例

func (*PathXClient) DeleteUGA3Port added in v0.21.20

func (c *PathXClient) DeleteUGA3Port(req *DeleteUGA3PortRequest) (*DeleteUGA3PortResponse, error)

API: DeleteUGA3Port

删除统一接入加速实例转发器 按接入端口删除

func (*PathXClient) DeleteUGAForwarder added in v0.20.1

API: DeleteUGAForwarder

删除加速实例转发器 按接入端口删除

func (*PathXClient) DeleteUGAInstance added in v0.20.1

API: DeleteUGAInstance

删除全球加速服务加速配置

func (*PathXClient) DeleteUPath added in v0.20.1

func (c *PathXClient) DeleteUPath(req *DeleteUPathRequest) (*DeleteUPathResponse, error)

API: DeleteUPath

删除UPath

func (*PathXClient) DescribeGlobalSSHArea

API: DescribeGlobalSSHArea

func (*PathXClient) DescribeGlobalSSHInstance

API: DescribeGlobalSSHInstance

获取GlobalSSH实例列表(传实例ID获取单个实例信息,不传获取项目下全部实例)

func (*PathXClient) DescribePathXLineConfig added in v0.20.1

API: DescribePathXLineConfig

获取全球加速线路信息

func (*PathXClient) DescribePathXSSL added in v0.20.1

func (c *PathXClient) DescribePathXSSL(req *DescribePathXSSLRequest) (*DescribePathXSSLResponse, error)

API: DescribePathXSSL

获取SSL证书信息,支持分页,支持按证书名称 证书域名模糊搜索

func (*PathXClient) DescribeUGA3Area added in v0.21.20

func (c *PathXClient) DescribeUGA3Area(req *DescribeUGA3AreaRequest) (*DescribeUGA3AreaResponse, error)

API: DescribeUGA3Area

获取全球接入源站可选列表

func (*PathXClient) DescribeUGA3Instance added in v0.21.20

API: DescribeUGA3Instance

获取全球统一接入加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录

func (*PathXClient) DescribeUGA3Optimization added in v0.21.20

API: DescribeUGA3Optimization

获取全球接入UGA3线路加速化情况

func (*PathXClient) DescribeUGAInstance added in v0.20.1

API: DescribeUGAInstance

获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录

func (*PathXClient) DescribeUPath added in v0.20.1

func (c *PathXClient) DescribeUPath(req *DescribeUPathRequest) (*DescribeUPathResponse, error)

API: DescribeUPath

获取加速线路信息

func (*PathXClient) DescribeUPathTemplate added in v0.20.1

API: DescribeUPathTemplate

查询UPath的监控模板

func (*PathXClient) GetGlobalSSHPrice added in v0.20.1

API: GetGlobalSSHPrice

获取GlobalSSH价格

func (*PathXClient) GetGlobalSSHUpdatePrice added in v0.20.1

API: GetGlobalSSHUpdatePrice

获取GlobalSSH升级价格

func (*PathXClient) GetPathXMetric added in v0.20.1

func (c *PathXClient) GetPathXMetric(req *GetPathXMetricRequest) (*GetPathXMetricResponse, error)

API: GetPathXMetric

获取全球加速监控信息

func (*PathXClient) GetUGA3Metric added in v0.21.20

func (c *PathXClient) GetUGA3Metric(req *GetUGA3MetricRequest) (*GetUGA3MetricResponse, error)

API: GetUGA3Metric

获取全地域加速监控信息

func (*PathXClient) GetUGA3Price added in v0.21.20

func (c *PathXClient) GetUGA3Price(req *GetUGA3PriceRequest) (*GetUGA3PriceResponse, error)

API: GetUGA3Price

获取全球统一接入转发实例价格

func (*PathXClient) GetUGA3UpdatePrice added in v0.21.20

API: GetUGA3UpdatePrice

全球统一接入获取实例更新价格(增加、删退)

func (*PathXClient) ModifyGlobalSSHPort

API: ModifyGlobalSSHPort

修改GlobalSSH端口

func (*PathXClient) ModifyGlobalSSHRemark

API: ModifyGlobalSSHRemark

修改GlobalSSH备注

func (*PathXClient) ModifyGlobalSSHType added in v0.20.1

API: ModifyGlobalSSHType

修改GlobalSSH实例类型,仅支持低版本升级到高版本,不支持高版本降级到低版本

func (*PathXClient) ModifyUGA3Bandwidth added in v0.21.20

API: ModifyUGA3Bandwidth

修改统一接入加速配置带宽

func (*PathXClient) ModifyUGA3Instance added in v0.21.20

API: ModifyUGA3Instance

修改统一接入加速配置属性,如Name,ReMark

func (*PathXClient) ModifyUGA3OriginInfo added in v0.21.20

API: ModifyUGA3OriginInfo

Domain, IPList注意:修改Domain或IPList时, 请确保源站服务端口已经开启且外网防火墙允许pathx出口ip访问。

func (*PathXClient) ModifyUGA3Port added in v0.21.20

func (c *PathXClient) ModifyUGA3Port(req *ModifyUGA3PortRequest) (*ModifyUGA3PortResponse, error)

API: ModifyUGA3Port

修改统一接入加速实例端口,目前仅支持四层TCP端口

func (*PathXClient) ModifyUPathBandwidth added in v0.20.1

API: ModifyUPathBandwidth

修改加速线路带宽

func (*PathXClient) ModifyUPathTemplate added in v0.20.1

API: ModifyUPathTemplate

修改UPath监控告警项

func (*PathXClient) NewBindPathXSSLRequest added in v0.20.1

func (c *PathXClient) NewBindPathXSSLRequest() *BindPathXSSLRequest

NewBindPathXSSLRequest will create request of BindPathXSSL action.

func (*PathXClient) NewCreateGlobalSSHInstanceRequest

func (c *PathXClient) NewCreateGlobalSSHInstanceRequest() *CreateGlobalSSHInstanceRequest

NewCreateGlobalSSHInstanceRequest will create request of CreateGlobalSSHInstance action.

func (*PathXClient) NewCreatePathXSSLRequest added in v0.20.1

func (c *PathXClient) NewCreatePathXSSLRequest() *CreatePathXSSLRequest

NewCreatePathXSSLRequest will create request of CreatePathXSSL action.

func (*PathXClient) NewCreateUGA3InstanceRequest added in v0.21.20

func (c *PathXClient) NewCreateUGA3InstanceRequest() *CreateUGA3InstanceRequest

NewCreateUGA3InstanceRequest will create request of CreateUGA3Instance action.

func (*PathXClient) NewCreateUGA3PortRequest added in v0.21.20

func (c *PathXClient) NewCreateUGA3PortRequest() *CreateUGA3PortRequest

NewCreateUGA3PortRequest will create request of CreateUGA3Port action.

func (*PathXClient) NewCreateUGAForwarderRequest added in v0.20.1

func (c *PathXClient) NewCreateUGAForwarderRequest() *CreateUGAForwarderRequest

NewCreateUGAForwarderRequest will create request of CreateUGAForwarder action.

func (*PathXClient) NewCreateUGAInstanceRequest added in v0.20.1

func (c *PathXClient) NewCreateUGAInstanceRequest() *CreateUGAInstanceRequest

NewCreateUGAInstanceRequest will create request of CreateUGAInstance action.

func (*PathXClient) NewCreateUPathRequest added in v0.20.1

func (c *PathXClient) NewCreateUPathRequest() *CreateUPathRequest

NewCreateUPathRequest will create request of CreateUPath action.

func (*PathXClient) NewDeleteGlobalSSHInstanceRequest

func (c *PathXClient) NewDeleteGlobalSSHInstanceRequest() *DeleteGlobalSSHInstanceRequest

NewDeleteGlobalSSHInstanceRequest will create request of DeleteGlobalSSHInstance action.

func (*PathXClient) NewDeletePathXSSLRequest added in v0.20.1

func (c *PathXClient) NewDeletePathXSSLRequest() *DeletePathXSSLRequest

NewDeletePathXSSLRequest will create request of DeletePathXSSL action.

func (*PathXClient) NewDeleteUGA3InstanceRequest added in v0.21.20

func (c *PathXClient) NewDeleteUGA3InstanceRequest() *DeleteUGA3InstanceRequest

NewDeleteUGA3InstanceRequest will create request of DeleteUGA3Instance action.

func (*PathXClient) NewDeleteUGA3PortRequest added in v0.21.20

func (c *PathXClient) NewDeleteUGA3PortRequest() *DeleteUGA3PortRequest

NewDeleteUGA3PortRequest will create request of DeleteUGA3Port action.

func (*PathXClient) NewDeleteUGAForwarderRequest added in v0.20.1

func (c *PathXClient) NewDeleteUGAForwarderRequest() *DeleteUGAForwarderRequest

NewDeleteUGAForwarderRequest will create request of DeleteUGAForwarder action.

func (*PathXClient) NewDeleteUGAInstanceRequest added in v0.20.1

func (c *PathXClient) NewDeleteUGAInstanceRequest() *DeleteUGAInstanceRequest

NewDeleteUGAInstanceRequest will create request of DeleteUGAInstance action.

func (*PathXClient) NewDeleteUPathRequest added in v0.20.1

func (c *PathXClient) NewDeleteUPathRequest() *DeleteUPathRequest

NewDeleteUPathRequest will create request of DeleteUPath action.

func (*PathXClient) NewDescribeGlobalSSHAreaRequest

func (c *PathXClient) NewDescribeGlobalSSHAreaRequest() *DescribeGlobalSSHAreaRequest

NewDescribeGlobalSSHAreaRequest will create request of DescribeGlobalSSHArea action.

func (*PathXClient) NewDescribeGlobalSSHInstanceRequest

func (c *PathXClient) NewDescribeGlobalSSHInstanceRequest() *DescribeGlobalSSHInstanceRequest

NewDescribeGlobalSSHInstanceRequest will create request of DescribeGlobalSSHInstance action.

func (*PathXClient) NewDescribePathXLineConfigRequest added in v0.20.1

func (c *PathXClient) NewDescribePathXLineConfigRequest() *DescribePathXLineConfigRequest

NewDescribePathXLineConfigRequest will create request of DescribePathXLineConfig action.

func (*PathXClient) NewDescribePathXSSLRequest added in v0.20.1

func (c *PathXClient) NewDescribePathXSSLRequest() *DescribePathXSSLRequest

NewDescribePathXSSLRequest will create request of DescribePathXSSL action.

func (*PathXClient) NewDescribeUGA3AreaRequest added in v0.21.20

func (c *PathXClient) NewDescribeUGA3AreaRequest() *DescribeUGA3AreaRequest

NewDescribeUGA3AreaRequest will create request of DescribeUGA3Area action.

func (*PathXClient) NewDescribeUGA3InstanceRequest added in v0.21.20

func (c *PathXClient) NewDescribeUGA3InstanceRequest() *DescribeUGA3InstanceRequest

NewDescribeUGA3InstanceRequest will create request of DescribeUGA3Instance action.

func (*PathXClient) NewDescribeUGA3OptimizationRequest added in v0.21.20

func (c *PathXClient) NewDescribeUGA3OptimizationRequest() *DescribeUGA3OptimizationRequest

NewDescribeUGA3OptimizationRequest will create request of DescribeUGA3Optimization action.

func (*PathXClient) NewDescribeUGAInstanceRequest added in v0.20.1

func (c *PathXClient) NewDescribeUGAInstanceRequest() *DescribeUGAInstanceRequest

NewDescribeUGAInstanceRequest will create request of DescribeUGAInstance action.

func (*PathXClient) NewDescribeUPathRequest added in v0.20.1

func (c *PathXClient) NewDescribeUPathRequest() *DescribeUPathRequest

NewDescribeUPathRequest will create request of DescribeUPath action.

func (*PathXClient) NewDescribeUPathTemplateRequest added in v0.20.1

func (c *PathXClient) NewDescribeUPathTemplateRequest() *DescribeUPathTemplateRequest

NewDescribeUPathTemplateRequest will create request of DescribeUPathTemplate action.

func (*PathXClient) NewGetGlobalSSHPriceRequest added in v0.20.1

func (c *PathXClient) NewGetGlobalSSHPriceRequest() *GetGlobalSSHPriceRequest

NewGetGlobalSSHPriceRequest will create request of GetGlobalSSHPrice action.

func (*PathXClient) NewGetGlobalSSHUpdatePriceRequest added in v0.20.1

func (c *PathXClient) NewGetGlobalSSHUpdatePriceRequest() *GetGlobalSSHUpdatePriceRequest

NewGetGlobalSSHUpdatePriceRequest will create request of GetGlobalSSHUpdatePrice action.

func (*PathXClient) NewGetPathXMetricRequest added in v0.20.1

func (c *PathXClient) NewGetPathXMetricRequest() *GetPathXMetricRequest

NewGetPathXMetricRequest will create request of GetPathXMetric action.

func (*PathXClient) NewGetUGA3MetricRequest added in v0.21.20

func (c *PathXClient) NewGetUGA3MetricRequest() *GetUGA3MetricRequest

NewGetUGA3MetricRequest will create request of GetUGA3Metric action.

func (*PathXClient) NewGetUGA3PriceRequest added in v0.21.20

func (c *PathXClient) NewGetUGA3PriceRequest() *GetUGA3PriceRequest

NewGetUGA3PriceRequest will create request of GetUGA3Price action.

func (*PathXClient) NewGetUGA3UpdatePriceRequest added in v0.21.20

func (c *PathXClient) NewGetUGA3UpdatePriceRequest() *GetUGA3UpdatePriceRequest

NewGetUGA3UpdatePriceRequest will create request of GetUGA3UpdatePrice action.

func (*PathXClient) NewModifyGlobalSSHPortRequest

func (c *PathXClient) NewModifyGlobalSSHPortRequest() *ModifyGlobalSSHPortRequest

NewModifyGlobalSSHPortRequest will create request of ModifyGlobalSSHPort action.

func (*PathXClient) NewModifyGlobalSSHRemarkRequest

func (c *PathXClient) NewModifyGlobalSSHRemarkRequest() *ModifyGlobalSSHRemarkRequest

NewModifyGlobalSSHRemarkRequest will create request of ModifyGlobalSSHRemark action.

func (*PathXClient) NewModifyGlobalSSHTypeRequest added in v0.20.1

func (c *PathXClient) NewModifyGlobalSSHTypeRequest() *ModifyGlobalSSHTypeRequest

NewModifyGlobalSSHTypeRequest will create request of ModifyGlobalSSHType action.

func (*PathXClient) NewModifyUGA3BandwidthRequest added in v0.21.20

func (c *PathXClient) NewModifyUGA3BandwidthRequest() *ModifyUGA3BandwidthRequest

NewModifyUGA3BandwidthRequest will create request of ModifyUGA3Bandwidth action.

func (*PathXClient) NewModifyUGA3InstanceRequest added in v0.21.20

func (c *PathXClient) NewModifyUGA3InstanceRequest() *ModifyUGA3InstanceRequest

NewModifyUGA3InstanceRequest will create request of ModifyUGA3Instance action.

func (*PathXClient) NewModifyUGA3OriginInfoRequest added in v0.21.20

func (c *PathXClient) NewModifyUGA3OriginInfoRequest() *ModifyUGA3OriginInfoRequest

NewModifyUGA3OriginInfoRequest will create request of ModifyUGA3OriginInfo action.

func (*PathXClient) NewModifyUGA3PortRequest added in v0.21.20

func (c *PathXClient) NewModifyUGA3PortRequest() *ModifyUGA3PortRequest

NewModifyUGA3PortRequest will create request of ModifyUGA3Port action.

func (*PathXClient) NewModifyUPathBandwidthRequest added in v0.20.1

func (c *PathXClient) NewModifyUPathBandwidthRequest() *ModifyUPathBandwidthRequest

NewModifyUPathBandwidthRequest will create request of ModifyUPathBandwidth action.

func (*PathXClient) NewModifyUPathTemplateRequest added in v0.20.1

func (c *PathXClient) NewModifyUPathTemplateRequest() *ModifyUPathTemplateRequest

NewModifyUPathTemplateRequest will create request of ModifyUPathTemplate action.

func (*PathXClient) NewUGABindUPathRequest added in v0.20.1

func (c *PathXClient) NewUGABindUPathRequest() *UGABindUPathRequest

NewUGABindUPathRequest will create request of UGABindUPath action.

func (*PathXClient) NewUGAUnBindUPathRequest added in v0.20.1

func (c *PathXClient) NewUGAUnBindUPathRequest() *UGAUnBindUPathRequest

NewUGAUnBindUPathRequest will create request of UGAUnBindUPath action.

func (*PathXClient) NewUnBindPathXSSLRequest added in v0.20.1

func (c *PathXClient) NewUnBindPathXSSLRequest() *UnBindPathXSSLRequest

NewUnBindPathXSSLRequest will create request of UnBindPathXSSL action.

func (*PathXClient) NewUpdatePathXWhitelistRequest added in v0.21.12

func (c *PathXClient) NewUpdatePathXWhitelistRequest() *UpdatePathXWhitelistRequest

NewUpdatePathXWhitelistRequest will create request of UpdatePathXWhitelist action.

func (*PathXClient) UGABindUPath added in v0.20.1

func (c *PathXClient) UGABindUPath(req *UGABindUPathRequest) (*UGABindUPathResponse, error)

API: UGABindUPath

UGA绑定UPath

func (*PathXClient) UGAUnBindUPath added in v0.20.1

func (c *PathXClient) UGAUnBindUPath(req *UGAUnBindUPathRequest) (*UGAUnBindUPathResponse, error)

API: UGAUnBindUPath

UGA与UPath解绑

func (*PathXClient) UnBindPathXSSL added in v0.20.1

func (c *PathXClient) UnBindPathXSSL(req *UnBindPathXSSLRequest) (*UnBindPathXSSLResponse, error)

API: UnBindPathXSSL

解绑PathX SSL 证书

func (*PathXClient) UpdatePathXWhitelist added in v0.21.12

API: UpdatePathXWhitelist

更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效

type PathXSSLSet added in v0.20.1

type PathXSSLSet struct {

	// SSL证书的创建时间 时间戳
	CreateTime int

	// 证书过期时间 时间戳
	ExpireTime int

	// SSL证书绑定的对象
	SSLBindedTargetSet []SSLBindedTargetSet

	// SSL证书内容
	SSLContent string

	// SSL证书的Id
	SSLId string

	// SSL证书(用户证书、私钥、ca证书合并)内容md5值
	SSLMD5 string

	// SSL证书的名字
	SSLName string

	// 证书来源,0:用户上传 1: 免费颁发
	SourceType int

	// 证书域名
	SubjectName string
}

PathXSSLSet - Describle PathX SSL

type PathXUGAInfo added in v0.20.1

type PathXUGAInfo struct {

	// 源站域名
	Domain string

	// 源站IP列表,多个值由半角英文逗号相隔
	IPList []string

	// 加速配置ID
	UGAId string
}

PathXUGAInfo - 加速实例配置信息

type SSLBindedTargetSet added in v0.20.1

type SSLBindedTargetSet struct {

	// SSL证书绑定到的实例ID
	ResourceId string

	// SSL证书绑定到的实例名称
	ResourceName string
}

SSLBindedTargetSet - Describle SSL Bind UAG Info

type SrcAreaInfo added in v0.21.20

type SrcAreaInfo struct {

	// AreaCode对应城市名
	Area string

	// AreaCode ,城市机场代码
	AreaCode string

	// 国旗Emoji
	FlagEmoji string

	// 国旗Unicode
	FlagUnicode string
}

SrcAreaInfo - 接入地域信息

type UGA3Metric added in v0.21.20

type UGA3Metric struct {

	// 当前连接数
	ConnectCount []MatricPoint

	// 子线路当前连接数
	ConnectCountSubline []MatricPoint

	// 线路平均延迟
	Delay []MatricPoint

	// 延迟提升
	DelayPromote []MatricPoint

	// 子线路延迟提升
	DelayPromoteSubline []MatricPoint

	// 子线路延迟
	DelaySubline []MatricPoint

	// 入向带宽
	NetworkIn []MatricPoint

	// 子线路入口带宽
	NetworkInSubline []MatricPoint

	// 入向带宽使用率
	NetworkInUsage []MatricPoint

	// 出向带宽
	NetworkOut []MatricPoint

	// 子线路出口带宽
	NetworkOutSubline []MatricPoint

	// 出向带宽使用率
	NetworkOutUsage []MatricPoint
}

UGA3Metric - 一段时间内的监控数据

type UGA3Price added in v0.21.20

type UGA3Price struct {

	// 加速大区代码
	AccelerationArea string

	// 加速大区名称
	AccelerationAreaName string

	// 加速配置带宽价格
	AccelerationBandwidthPrice float64

	// 转发配置价格
	AccelerationForwarderPrice float64
}

UGA3Price -

type UGAAInfo added in v0.20.1

type UGAAInfo struct {

	// 加速域名,请在加速区域配置您的业务域名的CName记录值为加速域名
	CName string

	// 源站域名
	Domain string

	// 源站IP列表,多个值由半角英文逗号相隔
	IPList []string

	// UGA 4层转发器配置,记录接入或回源端口,接入或回源协议信息
	L4ForwarderSet []UGAL4Forwarder

	// UGA 7层转发器配置,记录接入或回源端口,接入或回源协议信息 如绑定证书会返回证书ID
	L7ForwarderSet []UGAL7Forwarder

	// 源站所在区域,加速实例在绑定线路后会自动设置该值。console页面上通过该值过滤加速实例可以绑定的upath实例。注意:缺少该值会导致在console上无法修改线路
	Location string

	// 线路出口IP地址
	OutPublicIpList []OutPublicIpInfo

	// 端口配置信息(不再维护,建议使用ForwarderSet)
	TaskSet []UGAATask

	// 加速配置实例ID
	UGAId string

	// 加速配置名称
	UGAName string

	// 绑定的加速线路
	UPathSet []UPathSet
}

UGAAInfo - 全球加速实例信息

type UGAALine added in v0.20.1

type UGAALine struct {

	// 加速国家区域国旗代码
	FlagUnicodeFrom string

	// 源站所在国家区域国旗代码
	FlagUnicodeTo string

	// 后付费线路上限带宽与保底带宽的固定比例,正整数
	GuaranteedBandwidthProportion int

	// 线路接入点信息
	LineDetail []LineDetail

	// 线路源
	LineFrom string

	// 线路源中文名称
	LineFromName string

	// 线路ID,可用于创建加速线路资源
	LineId string

	// 线路目的
	LineTo string

	// 线路目的中文名称
	LineToName string

	// 预付费线路可售最大带宽
	MaxBandwidth int

	// 后付费线路最大可售带宽
	PostPaidMaxBandwidth int

	// 加速国家区域所属地区代码
	RegionCategoryFrom string

	// 源站所在国家区域所属地区代码
	RegionCategoryTo string

	// true:支持SD-WAN线路;false:不支持SD-WAN线路
	SupportPublicNetwork bool
}

UGAALine - PathX线路参数

type UGAATask added in v0.20.1

type UGAATask struct {

	// 接入端口
	Port int

	// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
	Protocol string
}

UGAATask - 用户在UGAA实例下配置的多端口任务

type UGABindUPathRequest added in v0.20.1

type UGABindUPathRequest struct {
	request.CommonBase

	// 代金券
	CouponId *string `required:"false"`

	// 加速配置实例ID,格式uga-xxxx
	UGAId *string `required:"true"`

	// 加速线路实例ID,格式upath-xxx
	UPathId *string `required:"true"`
}

UGABindUPathRequest is request schema for UGABindUPath action

type UGABindUPathResponse added in v0.20.1

type UGABindUPathResponse struct {
	response.CommonBase
}

UGABindUPathResponse is response schema for UGABindUPath action

type UGAL4Forwarder added in v0.20.1

type UGAL4Forwarder struct {

	// 接入端口
	Port int

	// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
	Protocol string

	// RSPort,源站监听端口
	RSPort int
}

UGAL4Forwarder - UGA实例 4层转发器信息

type UGAL7Forwarder added in v0.20.1

type UGAL7Forwarder struct {

	// 接入端口
	Port int

	// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
	Protocol string

	// RSPort,源站监听端口
	RSPort int

	// 证书ID
	SSLId string

	// 证书名称
	SSLName string
}

UGAL7Forwarder - UGA实例 7层转发器信息

type UGAUnBindUPathRequest added in v0.20.1

type UGAUnBindUPathRequest struct {
	request.CommonBase

	// 加速配置实例ID 格式uga-xxx
	UGAId *string `required:"true"`

	// 加速线路实例ID 格式upath-xxx
	UPathId *string `required:"true"`
}

UGAUnBindUPathRequest is request schema for UGAUnBindUPath action

type UGAUnBindUPathResponse added in v0.20.1

type UGAUnBindUPathResponse struct {
	response.CommonBase
}

UGAUnBindUPathResponse is response schema for UGAUnBindUPath action

type UPathInfo added in v0.20.1

type UPathInfo struct {

	// 带宽,单位Mbps
	Bandwidth int

	// 计费模式,默认为Month 按月收费,可选范围['Month','Year','Dynamic']
	ChargeType string

	// UPath创建的时间,10位时间戳
	CreateTime int

	// UPath的过期时间,10位时间戳
	ExpireTime int

	// 线路入口名称
	LineFromName string

	// 选择的线路
	LineId string

	// 线路出口名称
	LineToName string

	// UPath实例名字
	Name string

	// 线路出口IP数组
	OutPublicIpList []OutPublicIpInfo

	// 是否为后付费实例
	PostPaid bool

	// 与该UPath绑定的UGA列表
	UGAList []PathXUGAInfo

	// UPath加速线路实例ID
	UPathId string
}

UPathInfo - 加速线路信息

type UPathSet added in v0.20.1

type UPathSet struct {

	// 带宽 Mbps, 1~800Mbps
	Bandwidth int

	// 线路起点英文代号,加速区域
	LineFrom string

	// 线路起点中文名字,加速区域
	LineFromName string

	// 线路ID
	LineId string

	// 线路对端英文代号,源站区域
	LineTo string

	// 线路对端中文名字,源站区域
	LineToName string

	// UPath 实例ID
	UPathId string

	// UPath名字
	UPathName string
}

UPathSet - uga关联的upath信息

type UnBindPathXSSLRequest added in v0.20.1

type UnBindPathXSSLRequest struct {
	request.CommonBase

	// 解绑SSL证书的HTTPS端口。Port.0 Port.1格式 端口错误则解绑失败。
	Port []int `required:"true"`

	// SSL证书ID。
	SSLId *string `required:"true"`

	// UGA实例ID。
	UGAId *string `required:"true"`
}

UnBindPathXSSLRequest is request schema for UnBindPathXSSL action

type UnBindPathXSSLResponse added in v0.20.1

type UnBindPathXSSLResponse struct {
	response.CommonBase
}

UnBindPathXSSLResponse is response schema for UnBindPathXSSL action

type UpdatePathXWhitelistRequest added in v0.21.12

type UpdatePathXWhitelistRequest struct {
	request.CommonBase

	// GlobalSSH实例ID,资源唯一标识
	InstanceId *string `required:"true"`

	// 白名单规则,例如 "Whitelist.0": "192.168.1.1/24|tcp|22","Whitelist.1": "192.168.1.2|tcp|8080:8090",第一个参数为ip或ip段,第二个参数代表协议(tcp/udp),第三个参数代表端口号或端口范围(使用 ':' 隔开);可以添加多条规则(递增Whitelist.n字段内的n值);此接口需要列出全部规则,例如不填则为清空白名单规则,如若需要增量添加,使用InsertPathXWhitelist接口,globalssh 没有端口范围:端口设置成加速端口,协议设置成tcp:ip|tcp|加速端口
	Whitelist []string `required:"false"`
}

UpdatePathXWhitelistRequest is request schema for UpdatePathXWhitelist action

type UpdatePathXWhitelistResponse added in v0.21.12

type UpdatePathXWhitelistResponse struct {
	response.CommonBase
}

UpdatePathXWhitelistResponse is response schema for UpdatePathXWhitelist action

Jump to

Keyboard shortcuts

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