uads

package
v0.21.52 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package uads include resources of ucloud uads product

See also

for detail.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddHighProtectGameIPInfoRequest

type AddHighProtectGameIPInfoRequest struct {
	request.CommonBase

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

	// 套餐线路类型, 如果是BGP的线路, 则为BGP;如果为双线, 则可选TELECOM, UNICOM;如果为海外, 则为INTERNATIONAL;
	LineType *string `required:"true"`

	// 备注,默认为空.
	Remark *string `required:"false"`

	// 资源Id
	ResourceId *string `required:"true"`

	// IP类型,取值范围为:TypeFree,  TypeCharge
	TypeIP *string `required:"true"`

	// 用户的源站ip
	UserIP *string `required:"true"`
}

AddHighProtectGameIPInfoRequest is request schema for AddHighProtectGameIPInfo action

type AddHighProtectGameIPInfoResponse

type AddHighProtectGameIPInfoResponse struct {
	response.CommonBase

	// cname记录
	Cname string

	// 防御IP
	DefenceIP string

	// IPId
	IPId int

	// 源IP
	SrcIP string
}

AddHighProtectGameIPInfoResponse is response schema for AddHighProtectGameIPInfo action

type AddNapAllowListDomainRequest

type AddNapAllowListDomainRequest struct {
	request.CommonBase

	// 域名,N从0开始,多个域名:Domain.0、Domain.1、...
	Domain []string `required:"true"`

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

AddNapAllowListDomainRequest is request schema for AddNapAllowListDomain action

type AddNapAllowListDomainResponse

type AddNapAllowListDomainResponse struct {
	response.CommonBase

	// 域名配置结果
	Data []DomainConfigResult
}

AddNapAllowListDomainResponse is response schema for AddNapAllowListDomain action

type BGPFwdRule

type BGPFwdRule struct {

	// 备份源站的IP
	BackupIP string

	// 备份源站的端口
	BackupPort int

	// 转发规则对应的BGP高防的IP
	BgpIP string

	// 默认为0,为IP协议的转发端口,其余的自定义,在0~65535范围内即可,但是同一IP下配置的规则端口不能重复
	BgpIPPort int

	// 回源IP结构
	ClientProxyInfo FwdClientProxyInfo

	// 创建时间,unix格式
	CreateTime int

	// 配置的规则的转发类型
	FwdType string

	// 转发协议的类型是否为负载均衡的:默认为“No”,还可以选择为“Yes”。负载模式的规则最多添加2条,非负载模式的规则最多添加8条
	LoadBalance string

	// 备注
	Remark string

	// 转发规则的ID
	RuleID string

	// 生成的规则的数据库索引值
	RuleIndex int

	// 表示对源站进行检测:默认为0表示关闭,还可以选择为1表示开启
	SourceDetect int

	// 源站信息结构
	SourceInfo FwdSourceInfo

	// 规则的状态
	Status string

	// 更新时间,unix格式
	UpdateTime int
}

BGPFwdRule - BGP高防的转发规则信息

type BindNapIPRequest

type BindNapIPRequest struct {
	request.CommonBase

	// 绑定的资源ID
	BindResourceId *string `required:"true"`

	// EIP资源ID
	EIPId *string `required:"true"`

	// 高防IP
	NapIp *string `required:"true"`

	// 高防资源ID
	ResourceId *string `required:"true"`

	// 绑定的资源类型(uhost:云主机,ulb:负载均衡,upm:物理机)
	ResourceType *string `required:"true"`
}

BindNapIPRequest is request schema for BindNapIP action

type BindNapIPResponse

type BindNapIPResponse struct {
	response.CommonBase

	// 错误信息
	Message string
}

BindNapIPResponse is response schema for BindNapIP action

type BlockAllowDomainEntry

type BlockAllowDomainEntry struct {

	// 创建时间戳,例如:1581991500
	CreateTime int

	// 域名
	Domain string

	// 备注
	Remark string

	// 状态;1:添加中,2:成功,3:删除中,4:失败,5:已删除
	Status int
}

BlockAllowDomainEntry - 阻止/允许域名条目

type BuyHighProtectGameServiceRequest

type BuyHighProtectGameServiceRequest struct {
	request.CommonBase

	// 接入模式,默认为:IP;Domain:网站接入、IP:非网站接入
	AccessMode *string `required:"false"`

	// 线路区域, 可取范围{"SouthChina",   "EastChina"}
	AreaLine *string `required:"true"`

	// 计费方式 ,取值范围 {"Month",  "Year", "Dynamic", "Day"};其中华东双线周付使用Day,其他支持的周付使用Dynamic;
	ChargeType *string `required:"true"`

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

	// DDoS基础防护值(当购买套餐为多种线路的时候,顺序为,电信,联通,移动...,当为单线的时候只传DefenceDDosBaseFlowArr.0)
	DefenceDDosBaseFlowArr []string `required:"false"`

	// DDoS最大防护值(当购买套餐为多种线路的时候,顺序为,电信,联通,移动...;当为单线的时候只传DefenceDDosMaxFlowArr.0)
	DefenceDDosMaxFlowArr []string `required:"false"`

	// 防御类型,默认为TypeFixed; 取值范围{"TypeFixed",  "TypeDynamic"}
	DefenceType *string `required:"false"`

	// 购买的套餐所在机房,取值范围{"Hangzhou2",  "Hangzhou", "Xiamen"}
	EngineRoom []string `required:"true"`

	// 转发类型,默认为:Proxy;Proxy:代理、Passthrough:直连
	ForwardType *string `required:"false"`

	// 高防服务名称
	HighProtectGameServiceName *string `required:"false"`

	// 'default': 'DUPLET',  取值范围 {"DUPLET", "BGP"}
	LineType *string `required:"true"`

	// 计费时长
	Quantity *int `required:"true"`

	// 带宽
	SrcBandwidth *int `required:"true"`

	// 供应商编号
	Vendor *int `required:"false"`
}

BuyHighProtectGameServiceRequest is request schema for BuyHighProtectGameService action

type BuyHighProtectGameServiceResponse

type BuyHighProtectGameServiceResponse struct {
	response.CommonBase

	// 返回的用户资源信息
	ResourceInfo ResourceInfo
}

BuyHighProtectGameServiceResponse is response schema for BuyHighProtectGameService action

type CreateBGPServiceFwdRuleRequest added in v0.21.52

type CreateBGPServiceFwdRuleRequest struct {
	request.CommonBase

	// 备份源站的IP
	BackupIP *string `required:"false"`

	// 备份源站的端口
	BackupPort *int `required:"false"`

	// BGP的IP
	BgpIP *string `required:"true"`

	// 默认为0,为IP协议的转发端口,其余的自定义
	BgpIPPort *int `required:"false"`

	// 转发协议的类型包括三种:默认为“IP”,还可以选择为“TCP”
	FwdType *string `required:"false"`

	// 转发协议的类型是否为负载均衡的:默认为“No”,还可以选择为“Yes”。负载均衡模式下必须配置BackupIP
	LoadBalance *string `required:"false"`

	// 备注,默认为空
	Remark *string `required:"false"`

	// 资源id
	ResourceId *string `required:"true"`

	// 回源地址,可填 IP地址 或 域名
	SourceAddrArr []string `required:"false"`

	// 表示对源站进行检测:默认为0表示关闭,还可以选择为1表示开启
	SourceDetect *int `required:"false"`

	// 回源端口
	SourcePortArr []string `required:"false"`

	// 回源TOA
	SourceToaIDArr []string `required:"false"`

	// 回源类型,分 “IP”、“Domain”
	SourceType *string `required:"false"`
}

CreateBGPServiceFwdRuleRequest is request schema for CreateBGPServiceFwdRule action

type CreateBGPServiceFwdRuleResponse added in v0.21.52

type CreateBGPServiceFwdRuleResponse struct {
	response.CommonBase

	// 转发规则的数据库索引值
	RuleIndex int
}

CreateBGPServiceFwdRuleResponse is response schema for CreateBGPServiceFwdRule action

type CreateBGPServiceIPRequest

type CreateBGPServiceIPRequest struct {
	request.CommonBase

	// 高防IP对应机房(直连高防必须携带)
	EIPRegion *string `required:"false"`

	// 备注,默认为空
	Remark *string `required:"false"`

	// 资源id,表示归属在哪个高防服务下
	ResourceId *string `required:"true"`

	// ip的类型, 默认是TypeFree
	TypeIP *string `required:"false"`
}

CreateBGPServiceIPRequest is request schema for CreateBGPServiceIP action

type CreateBGPServiceIPResponse

type CreateBGPServiceIPResponse struct {
	response.CommonBase

	// cname记录
	Cname string

	// 分配的BGP高防IP的IP地址
	DefenceIP string

	// 是否热备份开启
	EnableSwitch int

	// IPId
	IPId int
}

CreateBGPServiceIPResponse is response schema for CreateBGPServiceIP action

type DeleteBGPServiceFwdRuleRequest

type DeleteBGPServiceFwdRuleRequest struct {
	request.CommonBase

	// 资源id
	ResourceId *string `required:"true"`

	// 需要删除的转发规则ID
	RuleIndex *int `required:"true"`
}

DeleteBGPServiceFwdRuleRequest is request schema for DeleteBGPServiceFwdRule action

type DeleteBGPServiceFwdRuleResponse

type DeleteBGPServiceFwdRuleResponse struct {
	response.CommonBase
}

DeleteBGPServiceFwdRuleResponse is response schema for DeleteBGPServiceFwdRule action

type DeleteBGPServiceIPRequest

type DeleteBGPServiceIPRequest struct {
	request.CommonBase

	// 需要删除的高防IP
	DefenceIp *string `required:"true"`

	// 资源id
	ResourceId *string `required:"true"`
}

DeleteBGPServiceIPRequest is request schema for DeleteBGPServiceIP action

type DeleteBGPServiceIPResponse

type DeleteBGPServiceIPResponse struct {
	response.CommonBase
}

DeleteBGPServiceIPResponse is response schema for DeleteBGPServiceIP action

type DeleteHighProtectGameIPInfoRequest

type DeleteHighProtectGameIPInfoRequest struct {
	request.CommonBase

	// 要删除的高防ip
	DefenceIp *string `required:"true"`

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

DeleteHighProtectGameIPInfoRequest is request schema for DeleteHighProtectGameIPInfo action

type DeleteHighProtectGameIPInfoResponse

type DeleteHighProtectGameIPInfoResponse struct {
	response.CommonBase
}

DeleteHighProtectGameIPInfoResponse is response schema for DeleteHighProtectGameIPInfo action

type DeleteHighProtectGameServiceRequest

type DeleteHighProtectGameServiceRequest struct {
	request.CommonBase

	// 删除的资源Id
	ResourceId *string `required:"true"`
}

DeleteHighProtectGameServiceRequest is request schema for DeleteHighProtectGameService action

type DeleteHighProtectGameServiceResponse

type DeleteHighProtectGameServiceResponse struct {
	response.CommonBase
}

DeleteHighProtectGameServiceResponse is response schema for DeleteHighProtectGameService action

type DeleteNapAllowListDomainRequest

type DeleteNapAllowListDomainRequest struct {
	request.CommonBase

	// 域名,N从0开始,多个域名:Domain.0、Domain.1、...
	Domain []string `required:"true"`

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

DeleteNapAllowListDomainRequest is request schema for DeleteNapAllowListDomain action

type DeleteNapAllowListDomainResponse

type DeleteNapAllowListDomainResponse struct {
	response.CommonBase

	// 域名配置结果
	Data []DomainConfigResult
}

DeleteNapAllowListDomainResponse is response schema for DeleteNapAllowListDomain action

type DescribeBuyHighProtectGameIPPriceRequest

type DescribeBuyHighProtectGameIPPriceRequest struct {
	request.CommonBase

	// 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费; Dynamic, 按需付费(需开启权限); Trial
	ChargeType *string `required:"true"`

	// 购买数量
	Quantity *int `required:"true"`

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

DescribeBuyHighProtectGameIPPriceRequest is request schema for DescribeBuyHighProtectGameIPPrice action

type DescribeBuyHighProtectGameIPPriceResponse

type DescribeBuyHighProtectGameIPPriceResponse struct {
	response.CommonBase

	// 溢价
	PremiumPrice float64

	// 单位价格
	UnitPrice float64
}

DescribeBuyHighProtectGameIPPriceResponse is response schema for DescribeBuyHighProtectGameIPPrice action

type DescribeHighProtectGameIPInfoRequest

type DescribeHighProtectGameIPInfoRequest struct {
	request.CommonBase

	// 返回数据长度,默认为50。
	Limit *int `required:"false"`

	// 列表起始位置偏移量,默认为0。
	Offset *int `required:"false"`

	// 资源短id
	ResourceId *string `required:"true"`
}

DescribeHighProtectGameIPInfoRequest is request schema for DescribeHighProtectGameIPInfo action

type DescribeHighProtectGameIPInfoResponse

type DescribeHighProtectGameIPInfoResponse struct {
	response.CommonBase

	// 可用剩余ip配额数
	AvailableIPQuota int

	// 高防IP信息
	GameIPInfo []GameIpInfoTotal

	// 已经配置的总数
	TotalCount int
}

DescribeHighProtectGameIPInfoResponse is response schema for DescribeHighProtectGameIPInfo action

type DescribeNapHistoryStatisticRequest

type DescribeNapHistoryStatisticRequest struct {
	request.CommonBase

	// 查询粒度。1.分钟粒度 2.小时粒度 3.天粒度 默认为21.分钟粒度,BeginTime开始时间是7天内,EndTime-BeginTime时间跨度最大是1小时2.小时粒度,BeginTime开始时间是30天内,EndTime-BeginTime时间跨度最大是7天3.天粒度,BeginTime开始时间是180天内,EndTime-BeginTime时间跨度最大是90天
	Accuracy *int `required:"false"`

	// 开始时间,Unix时间戳
	BeginTime *int `required:"true"`

	// 结束时间,Unix时间戳
	EndTime *int `required:"true"`

	// 返回数据长度,默认不限制
	Limit *int `required:"false"`

	// 高防IP
	NapIP *string `required:"false"`

	// 列表起始位置偏移量,默认为0
	Offset *int `required:"false"`

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

DescribeNapHistoryStatisticRequest is request schema for DescribeNapHistoryStatistic action

type DescribeNapHistoryStatisticResponse

type DescribeNapHistoryStatisticResponse struct {
	response.CommonBase

	// 统计数据
	NetStats []NetStats
}

DescribeNapHistoryStatisticResponse is response schema for DescribeNapHistoryStatistic action

type DescribeNapRealTimeStatisticRequest

type DescribeNapRealTimeStatisticRequest struct {
	request.CommonBase

	// 开始时间,Unix时间戳
	BeginTime *int `required:"true"`

	// 结束时间,Unix时间戳(时间跨度不超过1小时)
	EndTime *int `required:"true"`

	// 返回数据长度,默认不限制
	Limit *int `required:"false"`

	// 高防IP
	NapIP *string `required:"false"`

	// 列表起始位置偏移量,默认为0
	Offset *int `required:"false"`

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

DescribeNapRealTimeStatisticRequest is request schema for DescribeNapRealTimeStatistic action

type DescribeNapRealTimeStatisticResponse

type DescribeNapRealTimeStatisticResponse struct {
	response.CommonBase

	// 统计数据
	NetStats []NetStats
}

DescribeNapRealTimeStatisticResponse is response schema for DescribeNapRealTimeStatistic action

type DescribeNapServiceInfoRequest

type DescribeNapServiceInfoRequest struct {
	request.CommonBase

	// 返回数据长度,默认为10
	Limit *int `required:"false"`

	// 高防类型;0:全部、1:内地高防、2:海外高防
	NapType *int `required:"false"`

	// 列表起始位置偏移量,默认为0
	Offset *int `required:"false"`

	// 资源ID
	ResourceId *string `required:"false"`
}

DescribeNapServiceInfoRequest is request schema for DescribeNapServiceInfo action

type DescribeNapServiceInfoResponse

type DescribeNapServiceInfoResponse struct {
	response.CommonBase

	// 高防服务信息
	ServiceInfo []ServiceInfo

	// 总数
	TotalCount int
}

DescribeNapServiceInfoResponse is response schema for DescribeNapServiceInfo action

type DescribePassthroughNapIPRequest

type DescribePassthroughNapIPRequest struct {
	request.CommonBase

	// 限制(传EIPs.0时暂时无效)
	Limit *int `required:"false"`

	// 高防IP
	NapIp *string `required:"false"`

	// 位偏移(传EIPs.0时暂时无效)
	Offset *int `required:"false"`

	// 高防资源ID
	ResourceId *string `required:"true"`
}

DescribePassthroughNapIPRequest is request schema for DescribePassthroughNapIP action

type DescribePassthroughNapIPResponse

type DescribePassthroughNapIPResponse struct {
	response.CommonBase

	// 合法IP配额
	AvailableIPQuota int

	// EIP信息
	IPInfo []IPInfo

	// 错误信息
	Message string

	// IP总个数
	TotalCount int
}

DescribePassthroughNapIPResponse is response schema for DescribePassthroughNapIP action

type DescribeUpgradeHighProtectGameServicePriceRequest

type DescribeUpgradeHighProtectGameServicePriceRequest struct {
	request.CommonBase

	// 区域,华东和华南,EastChina 和SouthChina
	AreaLine *string `required:"false"`

	// DDoS弹性防护值
	DefenceDDosBaseFlowArr []string `required:"false"`

	// DDoS基础防护值
	DefenceDDosMaxFlowArr []string `required:"false"`

	// 防御类型,默认为TypeFixed
	DefenceType *string `required:"false"`

	// 代表机房,例如Dongguan  Hangzhou
	EngineRoom []string `required:"false"`

	// 线路
	LineType *string `required:"false"`

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

	// 带宽,默认100M
	SrcBandwidth *int `required:"false"`
}

DescribeUpgradeHighProtectGameServicePriceRequest is request schema for DescribeUpgradeHighProtectGameServicePrice action

type DescribeUpgradeHighProtectGameServicePriceResponse

type DescribeUpgradeHighProtectGameServicePriceResponse struct {
	response.CommonBase

	// 收费IP配额
	ChargeIPQuota int

	// 免费IP配额
	FreeIPQuota int

	// 价格
	Price int
}

DescribeUpgradeHighProtectGameServicePriceResponse is response schema for DescribeUpgradeHighProtectGameServicePrice action

type DomainConfigResult

type DomainConfigResult struct {

	// 错误码
	Code int

	// 域名
	Domain string

	// 提示信息
	Message string
}

DomainConfigResult - 域名配置结果

type EIPAddrSet

type EIPAddrSet struct {

	// IP类型:gaofang
	EIPType string

	// 弹性IP地址
	IP string

	// 运营商信息, 枚举值为:  BGP: BGP; International: 国际.
	OperatorName string
}

EIPAddrSet - EIP地址信息

type FwdClientProxyInfo

type FwdClientProxyInfo struct {

	// 回源IP个数
	Count int

	// 回源IP列表
	IPList []string
}

FwdClientProxyInfo - 转发规则,回源代理配置列表

type FwdSourceInfo

type FwdSourceInfo struct {

	// 回源配置列表
	Conf []FwdSourceInfoConf

	// 回源类型,分 IP 和 Domain
	Type string
}

FwdSourceInfo - 转发规则,回源配置信息

type FwdSourceInfoConf

type FwdSourceInfoConf struct {

	// 源站IP列表
	IPList []string

	// 源站端口
	Port int

	// 源站,兼容IP和域名
	Source string

	// 源站Toa
	Toa int
}

FwdSourceInfoConf - 转发规则,回源信息配置详细结构

type GameIpInfoTotal

type GameIpInfoTotal struct {

	// 高防IP Cname
	Cname string

	// 高防IP
	DefenceIP string

	// 线路类型
	LineType string

	// 用户mark
	Remark string

	// 规则的个数
	RuleCnt int

	// 回源ip列表
	SrcIP []string

	// ip配置状态
	Status string
}

GameIpInfoTotal - 高防ip信息统一描述结构

type GetBGPServiceFwdRuleRequest

type GetBGPServiceFwdRuleRequest struct {
	request.CommonBase

	// 指定需要查询的IP下的规则
	BgpIP *string `required:"false"`

	// 分页显示的条目数,默认值为32
	Limit *int `required:"false"`

	// 分页显示的起始偏移,默认值为0
	Offset *int `required:"false"`

	// 资源id
	ResourceId *string `required:"true"`

	// 查询指定的rule_id, 不填写则默认获取所有的转发规则
	RuleIndex *int `required:"false"`
}

GetBGPServiceFwdRuleRequest is request schema for GetBGPServiceFwdRule action

type GetBGPServiceFwdRuleResponse

type GetBGPServiceFwdRuleResponse struct {
	response.CommonBase

	// 负载模式下可添加的规则数量(根据IP查询才返回此参数)
	AvailLoad int

	// 非负载模式下可添加的规则数量(根据IP查询才返回此参数)
	AvailNonload int

	// 当前配置的规则中是否存在IP规则(根据IP查询才返回此参数)
	IpRuleExist bool

	// 满足要求的数据条目
	RuleCnt int

	// 转发规则信息
	RuleInfo []BGPFwdRule
}

GetBGPServiceFwdRuleResponse is response schema for GetBGPServiceFwdRule action

type GetBGPServiceIPRequest

type GetBGPServiceIPRequest struct {
	request.CommonBase

	// BGP高防IP
	BgpIP *string `required:"false"`

	// 分页显示的条目数,默认值为32
	Limit *int `required:"false"`

	// 分页显示的起始偏移,默认值为0
	Offset *int `required:"false"`

	// 资源id
	ResourceId *string `required:"true"`
}

GetBGPServiceIPRequest is request schema for GetBGPServiceIP action

type GetBGPServiceIPResponse

type GetBGPServiceIPResponse struct {
	response.CommonBase

	// 套餐可用的ip配额
	AvailableIPQuota int

	// 返回高防IP的相关信息
	GameIPInfo []GameIpInfoTotal

	// 套餐中已经配置的ip数量
	TotalCount int
}

GetBGPServiceIPResponse is response schema for GetBGPServiceIP action

type GetBuyNapServicePriceRequest

type GetBuyNapServicePriceRequest struct {
	request.CommonBase

	// 接入模式,Domain:网站接入、IP:非网站接入;默认为:IP
	AccessMode *string `required:"false"`

	// 地区线路
	AreaLine *string `required:"true"`

	// 计费方式
	ChargeType *string `required:"true"`

	// DDoS基础防护流量
	DefenceDDosBaseFlowArr []string `required:"true"`

	// DDoS最大防护流量
	DefenceDDosMaxFlowArr []string `required:"true"`

	// 地区
	EngineRoom []string `required:"true"`

	// 线路类型
	LineType *string `required:"true"`

	// 计费时长
	Quantity *string `required:"true"`

	// 带宽
	SrcBandwidth *string `required:"true"`
}

GetBuyNapServicePriceRequest is request schema for GetBuyNapServicePrice action

type GetBuyNapServicePriceResponse

type GetBuyNapServicePriceResponse struct {
	response.CommonBase

	// 收费IP配额
	ChargeIPQuota int

	// 免费IP配额
	FreeIPQuota int

	// 错误信息
	Message string

	// 价格
	Price float64

	// UDP免费IP配额
	UdpFreeIpQuota int
}

GetBuyNapServicePriceResponse is response schema for GetBuyNapServicePrice action

type GetNapAllowListDomainRequest

type GetNapAllowListDomainRequest struct {
	request.CommonBase

	// 获取指定域名信息
	Domain *string `required:"false"`

	// 域名模糊查找
	DomainLike *string `required:"false"`

	// 返回数据长度,默认为1000
	Limit *int `required:"false"`

	// 列表起始位置偏移量,默认为0
	Offset *int `required:"false"`

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

GetNapAllowListDomainRequest is request schema for GetNapAllowListDomain action

type GetNapAllowListDomainResponse

type GetNapAllowListDomainResponse struct {
	response.CommonBase

	// 域名允许列表
	DomainList []BlockAllowDomainEntry

	// 列表总条目数
	TotalCount int
}

GetNapAllowListDomainResponse is response schema for GetNapAllowListDomain action

type GetNapServiceConfigRequest

type GetNapServiceConfigRequest struct {
	request.CommonBase

	// 线路区域
	AreaLine *string `required:"false"`

	// 购买的套餐所在机房
	EngineRoom *string `required:"false"`

	// 线路类型
	LineType *string `required:"false"`

	// 高防类型;0:全部、1:内地高防、:2:海外高防
	NapType *int `required:"false"`
}

GetNapServiceConfigRequest is request schema for GetNapServiceConfig action

type GetNapServiceConfigResponse

type GetNapServiceConfigResponse struct {
	response.CommonBase

	// 高防服务配置
	NapServiceConfig []NapServiceConfigEntry
}

GetNapServiceConfigResponse is response schema for GetNapServiceConfig action

type IPInfo

type IPInfo struct {

	// 创建时间
	CreateTime int

	// 高防IP信息
	EIPAddr []EIPAddrSet

	// EIP资源ID
	EIPId string

	// EIP Region
	EIPRegion string

	// 资源信息
	Resource Resouce

	// 状态
	Status string

	// 业务组
	Tag string
}

IPInfo - 高防IP信息

type ModifyHighProtectGameIPInfoRequest

type ModifyHighProtectGameIPInfoRequest struct {
	request.CommonBase

	// 高防ip
	DefenceIp *string `required:"true"`

	// 资源Id
	ResourceId *string `required:"true"`

	// 源站IP
	UserIP *string `required:"true"`
}

ModifyHighProtectGameIPInfoRequest is request schema for ModifyHighProtectGameIPInfo action

type ModifyHighProtectGameIPInfoResponse

type ModifyHighProtectGameIPInfoResponse struct {
	response.CommonBase
}

ModifyHighProtectGameIPInfoResponse is response schema for ModifyHighProtectGameIPInfo action

type ModifyHighProtectGameServiceRequest

type ModifyHighProtectGameServiceRequest struct {
	request.CommonBase

	// 高防名称
	HighProtectGameServiceName *string `required:"false"`

	// 资源Id
	ResourceId *string `required:"true"`
}

ModifyHighProtectGameServiceRequest is request schema for ModifyHighProtectGameService action

type ModifyHighProtectGameServiceResponse

type ModifyHighProtectGameServiceResponse struct {
	response.CommonBase
}

ModifyHighProtectGameServiceResponse is response schema for ModifyHighProtectGameService action

type ModifyNapServiceAutoRenewRequest

type ModifyNapServiceAutoRenewRequest struct {
	request.CommonBase

	// 自动续费开关, 0:关闭;1:开启
	AutoRenew *int `required:"true"`

	// 资源Id
	ResourceId *string `required:"true"`
}

ModifyNapServiceAutoRenewRequest is request schema for ModifyNapServiceAutoRenew action

type ModifyNapServiceAutoRenewResponse

type ModifyNapServiceAutoRenewResponse struct {
	response.CommonBase
}

ModifyNapServiceAutoRenewResponse is response schema for ModifyNapServiceAutoRenew action

type NapServiceConfigEntry

type NapServiceConfigEntry struct {

	// 线路区域
	AreaLine string

	// 灾备配置
	DR string

	// 按天购买配置
	DayPay string

	// 域名配置
	Domain string

	// 是否可以配置域名回源
	DomainSrc string

	// 按需购买配置
	DynamicPay string

	// 购买的套餐所在机房
	EngineRoom string

	// 线路类型
	LineType string

	// 按月购买配置
	MonthPay string

	// 高防类型,1:内地高防、2:海外高防
	NapType int

	// 按年购买配置
	YearPay string
}

NapServiceConfigEntry - 高防服务配置条目

type NetStatEntry

type NetStatEntry struct {

	// 流量,单位:Mbits
	Bps float64

	// 包量,单位:pps
	Pps int
}

NetStatEntry - 统计条目

type NetStats

type NetStats struct {

	// 丢弃NetStatEntry
	Drop NetStatEntry

	// 出向NetStatEntry
	Egress NetStatEntry

	// 入向NetStatEntry
	Ingress NetStatEntry

	// Unix时间戳
	Time int
}

NetStats - 网络统计

type RenewHighProtectGameServiceRequest

type RenewHighProtectGameServiceRequest struct {
	request.CommonBase

	// 区域,华东和华南,EastChina 和SouthChina
	AreaLine *string `required:"true"`

	// 计费方式
	ChargeType *string `required:"true"`

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

	// DDoS基础防御值
	DefenceDDosBaseFlowArr []string `required:"false"`

	// DDoS弹性防御值
	DefenceDDosMaxFlowArr []string `required:"false"`

	// 防御类型,默认为TypeFixed
	DefenceType *string `required:"false"`

	// 代表机房,例如Dongguan  Hangzhou
	EngineRoom []string `required:"true"`

	// 线路
	LineType *string `required:"true"`

	// 购买数量
	Quantity *int `required:"true"`

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

	// 带宽,默认100M
	SrcBandwidth *int `required:"true"`
}

RenewHighProtectGameServiceRequest is request schema for RenewHighProtectGameService action

type RenewHighProtectGameServiceResponse

type RenewHighProtectGameServiceResponse struct {
	response.CommonBase

	// 资源信息
	ResourceInfo ResourceInfo
}

RenewHighProtectGameServiceResponse is response schema for RenewHighProtectGameService action

type Resouce

type Resouce struct {

	// EIP资源ID
	EIPId string

	// 资源ID
	ResourceId string

	// 资源名
	ResourceName string

	// 资源类型
	ResourceType string

	// 地区
	Zone string
}

Resouce - 资源信息

type ResourceInfo

type ResourceInfo struct {

	// 资源id
	ResourceId string
}

ResourceInfo - 资源信息

type ServiceInfo

type ServiceInfo struct {

	// 接入模式,Domain:网站接入、IP:非网站接入
	AccessMode string

	// 防护机房所在区域
	AreaLine string

	// 是否开启自动续费
	AutoRenew string

	// 付费类型
	ChargeType string

	// 创建时间
	CreateTime int

	// 套餐基础防护组
	DefenceDDosBaseFlowArr []int

	// 套餐最大防护组
	DefenceDDosMaxFlowArr []int

	// 防护状态
	DefenceStatus string

	// 防护类型
	DefenceType string

	// 防护机房名称
	EngineRoom []string

	// 过期时间
	ExpiredTime int

	// 转发类型,Proxy:代理、Passthrough:直连
	ForwardType string

	// 套餐ID
	GameId int

	// 线路类型
	LineType string

	// 套餐名称
	Name string

	// 高防类型,1:内地高防、2:海外高防
	NapType int

	// 项目ID
	ProjectId string

	// region id
	RegionId int

	// 资源ID
	ResourceId string

	// 业务带宽
	SrcBandwidth int

	// 供应商ID
	Vendor int
}

ServiceInfo - 高防服务信息

type SetNapDomainEntryRemarkRequest

type SetNapDomainEntryRemarkRequest struct {
	request.CommonBase

	// 域名
	Domain *string `required:"true"`

	// 备注,默认为空
	Remark *string `required:"false"`

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

SetNapDomainEntryRemarkRequest is request schema for SetNapDomainEntryRemark action

type SetNapDomainEntryRemarkResponse

type SetNapDomainEntryRemarkResponse struct {
	response.CommonBase
}

SetNapDomainEntryRemarkResponse is response schema for SetNapDomainEntryRemark action

type SetNapFwdRuleRemarkRequest

type SetNapFwdRuleRemarkRequest struct {
	request.CommonBase

	// 备注,默认为空
	Remark *string `required:"false"`

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

	// 要修改的规则index
	RuleIndex *string `required:"true"`
}

SetNapFwdRuleRemarkRequest is request schema for SetNapFwdRuleRemark action

type SetNapFwdRuleRemarkResponse

type SetNapFwdRuleRemarkResponse struct {
	response.CommonBase
}

SetNapFwdRuleRemarkResponse is response schema for SetNapFwdRuleRemark action

type SetNapIpRemarkRequest

type SetNapIpRemarkRequest struct {
	request.CommonBase

	// 高防IP
	NapIp *string `required:"true"`

	// 备注,默认为空
	Remark *string `required:"false"`

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

SetNapIpRemarkRequest is request schema for SetNapIpRemark action

type SetNapIpRemarkResponse

type SetNapIpRemarkResponse struct {
	response.CommonBase
}

SetNapIpRemarkResponse is response schema for SetNapIpRemark action

type UADSClient

type UADSClient struct {
	*ucloud.Client
}

UADSClient is the client of UADS

func NewClient

func NewClient(config *ucloud.Config, credential *auth.Credential) *UADSClient

NewClient will return a instance of UADSClient

func (*UADSClient) AddHighProtectGameIPInfo

API: AddHighProtectGameIPInfo

添加代理ip

func (*UADSClient) AddNapAllowListDomain

API: AddNapAllowListDomain

添加域名允许列表

func (*UADSClient) BindNapIP

func (c *UADSClient) BindNapIP(req *BindNapIPRequest) (*BindNapIPResponse, error)

API: BindNapIP

直连高防:将尚未使用的高防EIP绑定到指定的资源

func (*UADSClient) BuyHighProtectGameService

API: BuyHighProtectGameService

购买高防服务

func (*UADSClient) CreateBGPServiceFwdRule added in v0.21.52

API: CreateBGPServiceFwdRule

创建BGP高防转发规则

func (*UADSClient) CreateBGPServiceIP

func (c *UADSClient) CreateBGPServiceIP(req *CreateBGPServiceIPRequest) (*CreateBGPServiceIPResponse, error)

API: CreateBGPServiceIP

分配一个BGP IP

func (*UADSClient) DeleteBGPServiceFwdRule

API: DeleteBGPServiceFwdRule

删除转发规则

func (*UADSClient) DeleteBGPServiceIP

func (c *UADSClient) DeleteBGPServiceIP(req *DeleteBGPServiceIPRequest) (*DeleteBGPServiceIPResponse, error)

API: DeleteBGPServiceIP

删除BGP高防IP

func (*UADSClient) DeleteHighProtectGameIPInfo

API: DeleteHighProtectGameIPInfo

删除高防IP

func (*UADSClient) DeleteHighProtectGameService

API: DeleteHighProtectGameService

删除高防

func (*UADSClient) DeleteNapAllowListDomain

API: DeleteNapAllowListDomain

删除域名允许列表

func (*UADSClient) DescribeBuyHighProtectGameIPPrice

API: DescribeBuyHighProtectGameIPPrice

获取购买IP的价格

func (*UADSClient) DescribeHighProtectGameIPInfo

API: DescribeHighProtectGameIPInfo

获取高防IP信息

func (*UADSClient) DescribeNapHistoryStatistic

API: DescribeNapHistoryStatistic

获取高防历史统计

func (*UADSClient) DescribeNapRealTimeStatistic

API: DescribeNapRealTimeStatistic

获取高防实时统计

func (*UADSClient) DescribeNapServiceInfo

API: DescribeNapServiceInfo

获取高防服务信息

func (*UADSClient) DescribePassthroughNapIP

API: DescribePassthroughNapIP

获取直连高防IP信息

func (*UADSClient) DescribeUpgradeHighProtectGameServicePrice

API: DescribeUpgradeHighProtectGameServicePrice

获取高防升降级价格

func (*UADSClient) GetBGPServiceFwdRule

API: GetBGPServiceFwdRule

获取转发规则

func (*UADSClient) GetBGPServiceIP

func (c *UADSClient) GetBGPServiceIP(req *GetBGPServiceIPRequest) (*GetBGPServiceIPResponse, error)

API: GetBGPServiceIP

获取BGP高防IP的信息

func (*UADSClient) GetBuyNapServicePrice

API: GetBuyNapServicePrice

获取高防价格

func (*UADSClient) GetNapAllowListDomain

API: GetNapAllowListDomain

获取域名允许列表

func (*UADSClient) GetNapServiceConfig

API: GetNapServiceConfig

获取高防服务配置

func (*UADSClient) ModifyHighProtectGameIPInfo

API: ModifyHighProtectGameIPInfo

修改高防IP信息

func (*UADSClient) ModifyHighProtectGameService

API: ModifyHighProtectGameService

修改高防信息

func (*UADSClient) ModifyNapServiceAutoRenew

API: ModifyNapServiceAutoRenew

修改高防服务自动续费开关

func (*UADSClient) NewAddHighProtectGameIPInfoRequest

func (c *UADSClient) NewAddHighProtectGameIPInfoRequest() *AddHighProtectGameIPInfoRequest

NewAddHighProtectGameIPInfoRequest will create request of AddHighProtectGameIPInfo action.

func (*UADSClient) NewAddNapAllowListDomainRequest

func (c *UADSClient) NewAddNapAllowListDomainRequest() *AddNapAllowListDomainRequest

NewAddNapAllowListDomainRequest will create request of AddNapAllowListDomain action.

func (*UADSClient) NewBindNapIPRequest

func (c *UADSClient) NewBindNapIPRequest() *BindNapIPRequest

NewBindNapIPRequest will create request of BindNapIP action.

func (*UADSClient) NewBuyHighProtectGameServiceRequest

func (c *UADSClient) NewBuyHighProtectGameServiceRequest() *BuyHighProtectGameServiceRequest

NewBuyHighProtectGameServiceRequest will create request of BuyHighProtectGameService action.

func (*UADSClient) NewCreateBGPServiceFwdRuleRequest added in v0.21.52

func (c *UADSClient) NewCreateBGPServiceFwdRuleRequest() *CreateBGPServiceFwdRuleRequest

NewCreateBGPServiceFwdRuleRequest will create request of CreateBGPServiceFwdRule action.

func (*UADSClient) NewCreateBGPServiceIPRequest

func (c *UADSClient) NewCreateBGPServiceIPRequest() *CreateBGPServiceIPRequest

NewCreateBGPServiceIPRequest will create request of CreateBGPServiceIP action.

func (*UADSClient) NewDeleteBGPServiceFwdRuleRequest

func (c *UADSClient) NewDeleteBGPServiceFwdRuleRequest() *DeleteBGPServiceFwdRuleRequest

NewDeleteBGPServiceFwdRuleRequest will create request of DeleteBGPServiceFwdRule action.

func (*UADSClient) NewDeleteBGPServiceIPRequest

func (c *UADSClient) NewDeleteBGPServiceIPRequest() *DeleteBGPServiceIPRequest

NewDeleteBGPServiceIPRequest will create request of DeleteBGPServiceIP action.

func (*UADSClient) NewDeleteHighProtectGameIPInfoRequest

func (c *UADSClient) NewDeleteHighProtectGameIPInfoRequest() *DeleteHighProtectGameIPInfoRequest

NewDeleteHighProtectGameIPInfoRequest will create request of DeleteHighProtectGameIPInfo action.

func (*UADSClient) NewDeleteHighProtectGameServiceRequest

func (c *UADSClient) NewDeleteHighProtectGameServiceRequest() *DeleteHighProtectGameServiceRequest

NewDeleteHighProtectGameServiceRequest will create request of DeleteHighProtectGameService action.

func (*UADSClient) NewDeleteNapAllowListDomainRequest

func (c *UADSClient) NewDeleteNapAllowListDomainRequest() *DeleteNapAllowListDomainRequest

NewDeleteNapAllowListDomainRequest will create request of DeleteNapAllowListDomain action.

func (*UADSClient) NewDescribeBuyHighProtectGameIPPriceRequest

func (c *UADSClient) NewDescribeBuyHighProtectGameIPPriceRequest() *DescribeBuyHighProtectGameIPPriceRequest

NewDescribeBuyHighProtectGameIPPriceRequest will create request of DescribeBuyHighProtectGameIPPrice action.

func (*UADSClient) NewDescribeHighProtectGameIPInfoRequest

func (c *UADSClient) NewDescribeHighProtectGameIPInfoRequest() *DescribeHighProtectGameIPInfoRequest

NewDescribeHighProtectGameIPInfoRequest will create request of DescribeHighProtectGameIPInfo action.

func (*UADSClient) NewDescribeNapHistoryStatisticRequest

func (c *UADSClient) NewDescribeNapHistoryStatisticRequest() *DescribeNapHistoryStatisticRequest

NewDescribeNapHistoryStatisticRequest will create request of DescribeNapHistoryStatistic action.

func (*UADSClient) NewDescribeNapRealTimeStatisticRequest

func (c *UADSClient) NewDescribeNapRealTimeStatisticRequest() *DescribeNapRealTimeStatisticRequest

NewDescribeNapRealTimeStatisticRequest will create request of DescribeNapRealTimeStatistic action.

func (*UADSClient) NewDescribeNapServiceInfoRequest

func (c *UADSClient) NewDescribeNapServiceInfoRequest() *DescribeNapServiceInfoRequest

NewDescribeNapServiceInfoRequest will create request of DescribeNapServiceInfo action.

func (*UADSClient) NewDescribePassthroughNapIPRequest

func (c *UADSClient) NewDescribePassthroughNapIPRequest() *DescribePassthroughNapIPRequest

NewDescribePassthroughNapIPRequest will create request of DescribePassthroughNapIP action.

func (*UADSClient) NewDescribeUpgradeHighProtectGameServicePriceRequest

func (c *UADSClient) NewDescribeUpgradeHighProtectGameServicePriceRequest() *DescribeUpgradeHighProtectGameServicePriceRequest

NewDescribeUpgradeHighProtectGameServicePriceRequest will create request of DescribeUpgradeHighProtectGameServicePrice action.

func (*UADSClient) NewGetBGPServiceFwdRuleRequest

func (c *UADSClient) NewGetBGPServiceFwdRuleRequest() *GetBGPServiceFwdRuleRequest

NewGetBGPServiceFwdRuleRequest will create request of GetBGPServiceFwdRule action.

func (*UADSClient) NewGetBGPServiceIPRequest

func (c *UADSClient) NewGetBGPServiceIPRequest() *GetBGPServiceIPRequest

NewGetBGPServiceIPRequest will create request of GetBGPServiceIP action.

func (*UADSClient) NewGetBuyNapServicePriceRequest

func (c *UADSClient) NewGetBuyNapServicePriceRequest() *GetBuyNapServicePriceRequest

NewGetBuyNapServicePriceRequest will create request of GetBuyNapServicePrice action.

func (*UADSClient) NewGetNapAllowListDomainRequest

func (c *UADSClient) NewGetNapAllowListDomainRequest() *GetNapAllowListDomainRequest

NewGetNapAllowListDomainRequest will create request of GetNapAllowListDomain action.

func (*UADSClient) NewGetNapServiceConfigRequest

func (c *UADSClient) NewGetNapServiceConfigRequest() *GetNapServiceConfigRequest

NewGetNapServiceConfigRequest will create request of GetNapServiceConfig action.

func (*UADSClient) NewModifyHighProtectGameIPInfoRequest

func (c *UADSClient) NewModifyHighProtectGameIPInfoRequest() *ModifyHighProtectGameIPInfoRequest

NewModifyHighProtectGameIPInfoRequest will create request of ModifyHighProtectGameIPInfo action.

func (*UADSClient) NewModifyHighProtectGameServiceRequest

func (c *UADSClient) NewModifyHighProtectGameServiceRequest() *ModifyHighProtectGameServiceRequest

NewModifyHighProtectGameServiceRequest will create request of ModifyHighProtectGameService action.

func (*UADSClient) NewModifyNapServiceAutoRenewRequest

func (c *UADSClient) NewModifyNapServiceAutoRenewRequest() *ModifyNapServiceAutoRenewRequest

NewModifyNapServiceAutoRenewRequest will create request of ModifyNapServiceAutoRenew action.

func (*UADSClient) NewRenewHighProtectGameServiceRequest

func (c *UADSClient) NewRenewHighProtectGameServiceRequest() *RenewHighProtectGameServiceRequest

NewRenewHighProtectGameServiceRequest will create request of RenewHighProtectGameService action.

func (*UADSClient) NewSetNapDomainEntryRemarkRequest

func (c *UADSClient) NewSetNapDomainEntryRemarkRequest() *SetNapDomainEntryRemarkRequest

NewSetNapDomainEntryRemarkRequest will create request of SetNapDomainEntryRemark action.

func (*UADSClient) NewSetNapFwdRuleRemarkRequest

func (c *UADSClient) NewSetNapFwdRuleRemarkRequest() *SetNapFwdRuleRemarkRequest

NewSetNapFwdRuleRemarkRequest will create request of SetNapFwdRuleRemark action.

func (*UADSClient) NewSetNapIpRemarkRequest

func (c *UADSClient) NewSetNapIpRemarkRequest() *SetNapIpRemarkRequest

NewSetNapIpRemarkRequest will create request of SetNapIpRemark action.

func (*UADSClient) NewUnBindNapIPRequest

func (c *UADSClient) NewUnBindNapIPRequest() *UnBindNapIPRequest

NewUnBindNapIPRequest will create request of UnBindNapIP action.

func (*UADSClient) NewUpdateBGPServiceFwdRuleRequest

func (c *UADSClient) NewUpdateBGPServiceFwdRuleRequest() *UpdateBGPServiceFwdRuleRequest

NewUpdateBGPServiceFwdRuleRequest will create request of UpdateBGPServiceFwdRule action.

func (*UADSClient) NewUpdateNapFwdRuleDomainResolutionRequest

func (c *UADSClient) NewUpdateNapFwdRuleDomainResolutionRequest() *UpdateNapFwdRuleDomainResolutionRequest

NewUpdateNapFwdRuleDomainResolutionRequest will create request of UpdateNapFwdRuleDomainResolution action.

func (*UADSClient) NewUpgradeHighProtectGameServiceRequest

func (c *UADSClient) NewUpgradeHighProtectGameServiceRequest() *UpgradeHighProtectGameServiceRequest

NewUpgradeHighProtectGameServiceRequest will create request of UpgradeHighProtectGameService action.

func (*UADSClient) RenewHighProtectGameService

API: RenewHighProtectGameService

续费高防服务

func (*UADSClient) SetNapDomainEntryRemark

API: SetNapDomainEntryRemark

设置域名条目备注

func (*UADSClient) SetNapFwdRuleRemark

API: SetNapFwdRuleRemark

设置高防转发规则备注信息

func (*UADSClient) SetNapIpRemark

func (c *UADSClient) SetNapIpRemark(req *SetNapIpRemarkRequest) (*SetNapIpRemarkResponse, error)

API: SetNapIpRemark

设置高防IP的备注信息

func (*UADSClient) UnBindNapIP

func (c *UADSClient) UnBindNapIP(req *UnBindNapIPRequest) (*UnBindNapIPResponse, error)

API: UnBindNapIP

直连高防:将高防EIP从资源上解绑

func (*UADSClient) UpdateBGPServiceFwdRule

API: UpdateBGPServiceFwdRule

用于修改BGP高防的规则信息

func (*UADSClient) UpdateNapFwdRuleDomainResolution

API: UpdateNapFwdRuleDomainResolution

手动触发域名回源转发规则更新

func (*UADSClient) UpgradeHighProtectGameService

API: UpgradeHighProtectGameService

升降级高防服务

type UnBindNapIPRequest

type UnBindNapIPRequest struct {
	request.CommonBase

	// 需要解绑的资源ID
	BindResourceId *string `required:"true"`

	// 高防EIP资源ID
	EIPId *string `required:"true"`

	// 高防Ip
	NapIp *string `required:"true"`

	// 高防资源ID
	ResourceId *string `required:"true"`

	// 解绑的资源类型(uhost:云主机,ulb:负载均衡,upm:物理机)
	ResourceType *string `required:"true"`
}

UnBindNapIPRequest is request schema for UnBindNapIP action

type UnBindNapIPResponse

type UnBindNapIPResponse struct {
	response.CommonBase

	// 错误信息
	Message string
}

UnBindNapIPResponse is response schema for UnBindNapIP action

type UpdateBGPServiceFwdRuleRequest

type UpdateBGPServiceFwdRuleRequest struct {
	request.CommonBase

	// 备份源站的IP
	BackupIP *string `required:"false"`

	// 备份源站的端口
	BackupPort *int `required:"false"`

	// BGP的IP
	BgpIP *string `required:"true"`

	// 默认为0,为IP协议的转发端口,其余的自定义
	BgpIPPort *int `required:"false"`

	// 转发协议的类型包括三种:默认为“IP”,还可以选择为“TCP”或"UDP"
	FwdType *string `required:"false"`

	// 转发协议的类型是否为负载均衡的:默认为“No”,还可以选择为“Yes”。负载模式的规则最多添加2条,非负载模式的规则最多添加8条
	LoadBalance *string `required:"false"`

	// 资源id
	ResourceId *string `required:"true"`

	// 规则uuid
	RuleID *string `required:"true"`

	// 要修改的规则index
	RuleIndex *int `required:"true"`

	// 回源地址,可填 IP地址 或 域名
	SourceAddrArr []string `required:"false"`

	// 表示对源站进行检测:默认为0表示关闭,还可以选择为1表示开启
	SourceDetect *int `required:"false"`

	// 回源端口
	SourcePortArr []string `required:"false"`

	// 回源TOA
	SourceToaIDArr []string `required:"false"`
}

UpdateBGPServiceFwdRuleRequest is request schema for UpdateBGPServiceFwdRule action

type UpdateBGPServiceFwdRuleResponse

type UpdateBGPServiceFwdRuleResponse struct {
	response.CommonBase

	// 转发规则的数据库索引
	RuleIndex int
}

UpdateBGPServiceFwdRuleResponse is response schema for UpdateBGPServiceFwdRule action

type UpdateNapFwdRuleDomainResolutionRequest

type UpdateNapFwdRuleDomainResolutionRequest struct {
	request.CommonBase

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

	// 要修改的规则index
	RuleIndex *int `required:"true"`
}

UpdateNapFwdRuleDomainResolutionRequest is request schema for UpdateNapFwdRuleDomainResolution action

type UpdateNapFwdRuleDomainResolutionResponse

type UpdateNapFwdRuleDomainResolutionResponse struct {
	response.CommonBase
}

UpdateNapFwdRuleDomainResolutionResponse is response schema for UpdateNapFwdRuleDomainResolution action

type UpgradeHighProtectGameServiceRequest

type UpgradeHighProtectGameServiceRequest struct {
	request.CommonBase

	// 区域,华东和华南,EastChina 和SouthChina
	AreaLine *string `required:"true"`

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

	// DDoS基础防御值
	DefenceDDosBaseFlowArr []string `required:"false"`

	// DDoS弹性防御值
	DefenceDDosMaxFlowArr []string `required:"false"`

	// 防御类型,默认为TypeFixed
	DefenceType *string `required:"false"`

	// 机房
	EngineRoom []string `required:"true"`

	// 线路类型
	LineType *string `required:"true"`

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

	// 业务带宽
	SrcBandwidth *int `required:"true"`
}

UpgradeHighProtectGameServiceRequest is request schema for UpgradeHighProtectGameService action

type UpgradeHighProtectGameServiceResponse

type UpgradeHighProtectGameServiceResponse struct {
	response.CommonBase

	// 返回资源信息
	ResourceInfo ResourceInfo
}

UpgradeHighProtectGameServiceResponse is response schema for UpgradeHighProtectGameService action

Jump to

Keyboard shortcuts

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