Documentation ¶
Index ¶
- Constants
- type AgentGroup
- type AlarmInfo
- type AlarmTopic
- type BindAlarmPolicyRequest
- type BindAlarmPolicyResponse
- type CatAgent
- type CatLog
- type CatReturnDetail
- type CatReturnSummary
- type CatTaskDetail
- type Client
- func (c *Client) BindAlarmPolicy(request *BindAlarmPolicyRequest) (response *BindAlarmPolicyResponse, err error)
- func (c *Client) CreateAgentGroup(request *CreateAgentGroupRequest) (response *CreateAgentGroupResponse, err error)
- func (c *Client) CreateTaskEx(request *CreateTaskExRequest) (response *CreateTaskExResponse, err error)
- func (c *Client) DeleteAgentGroup(request *DeleteAgentGroupRequest) (response *DeleteAgentGroupResponse, err error)
- func (c *Client) DeleteTasks(request *DeleteTasksRequest) (response *DeleteTasksResponse, err error)
- func (c *Client) DescribeAgentGroups(request *DescribeAgentGroupsRequest) (response *DescribeAgentGroupsResponse, err error)
- func (c *Client) DescribeAgents(request *DescribeAgentsRequest) (response *DescribeAgentsResponse, err error)
- func (c *Client) DescribeAlarmTopic(request *DescribeAlarmTopicRequest) (response *DescribeAlarmTopicResponse, err error)
- func (c *Client) DescribeAlarms(request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
- func (c *Client) DescribeAlarmsByTask(request *DescribeAlarmsByTaskRequest) (response *DescribeAlarmsByTaskResponse, err error)
- func (c *Client) DescribeCatLogs(request *DescribeCatLogsRequest) (response *DescribeCatLogsResponse, err error)
- func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTasksByType(request *DescribeTasksByTypeRequest) (response *DescribeTasksByTypeResponse, err error)
- func (c *Client) DescribeUserLimit(request *DescribeUserLimitRequest) (response *DescribeUserLimitResponse, err error)
- func (c *Client) GetAvailRatioHistory(request *GetAvailRatioHistoryRequest) (response *GetAvailRatioHistoryResponse, err error)
- func (c *Client) GetDailyAvailRatio(request *GetDailyAvailRatioRequest) (response *GetDailyAvailRatioResponse, err error)
- func (c *Client) GetRealAvailRatio(request *GetRealAvailRatioRequest) (response *GetRealAvailRatioResponse, err error)
- func (c *Client) GetRespTimeTrendEx(request *GetRespTimeTrendExRequest) (response *GetRespTimeTrendExResponse, err error)
- func (c *Client) GetResultSummary(request *GetResultSummaryRequest) (response *GetResultSummaryResponse, err error)
- func (c *Client) GetReturnCodeHistory(request *GetReturnCodeHistoryRequest) (response *GetReturnCodeHistoryResponse, err error)
- func (c *Client) GetReturnCodeInfo(request *GetReturnCodeInfoRequest) (response *GetReturnCodeInfoResponse, err error)
- func (c *Client) GetTaskTotalNumber(request *GetTaskTotalNumberRequest) (response *GetTaskTotalNumberResponse, err error)
- func (c *Client) ModifyAgentGroup(request *ModifyAgentGroupRequest) (response *ModifyAgentGroupResponse, err error)
- func (c *Client) ModifyTaskEx(request *ModifyTaskExRequest) (response *ModifyTaskExResponse, err error)
- func (c *Client) PauseTask(request *PauseTaskRequest) (response *PauseTaskResponse, err error)
- func (c *Client) RunTask(request *RunTaskRequest) (response *RunTaskResponse, err error)
- func (c *Client) VerifyResult(request *VerifyResultRequest) (response *VerifyResultResponse, err error)
- type CreateAgentGroupRequest
- type CreateAgentGroupResponse
- type CreateTaskExRequest
- type CreateTaskExResponse
- type DataPoint
- type DataPointMetric
- type DeleteAgentGroupRequest
- type DeleteAgentGroupResponse
- type DeleteTasksRequest
- type DeleteTasksResponse
- type DescribeAgentGroupsRequest
- type DescribeAgentGroupsResponse
- type DescribeAgentsRequest
- type DescribeAgentsResponse
- type DescribeAlarmTopicRequest
- type DescribeAlarmTopicResponse
- type DescribeAlarmsByTaskRequest
- type DescribeAlarmsByTaskResponse
- type DescribeAlarmsRequest
- type DescribeAlarmsResponse
- type DescribeCatLogsRequest
- type DescribeCatLogsResponse
- type DescribeTaskDetailRequest
- type DescribeTaskDetailResponse
- type DescribeTasksByTypeRequest
- type DescribeTasksByTypeResponse
- type DescribeUserLimitRequest
- type DescribeUserLimitResponse
- type DimensionsDetail
- type GetAvailRatioHistoryRequest
- type GetAvailRatioHistoryResponse
- type GetDailyAvailRatioRequest
- type GetDailyAvailRatioResponse
- type GetRealAvailRatioRequest
- type GetRealAvailRatioResponse
- type GetRespTimeTrendExRequest
- type GetRespTimeTrendExResponse
- type GetResultSummaryRequest
- type GetResultSummaryResponse
- type GetReturnCodeHistoryRequest
- type GetReturnCodeHistoryResponse
- type GetReturnCodeInfoRequest
- type GetReturnCodeInfoResponse
- type GetTaskTotalNumberRequest
- type GetTaskTotalNumberResponse
- type IspDetail
- type ModifyAgentGroupRequest
- type ModifyAgentGroupResponse
- type ModifyTaskExRequest
- type ModifyTaskExResponse
- type PauseTaskRequest
- type PauseTaskResponse
- type ProvinceDetail
- type ResultSummary
- type RunTaskRequest
- type RunTaskResponse
- type TaskAlarm
- type VerifyResultRequest
- type VerifyResultResponse
Constants ¶
View Source
const APIVersion = "2018-04-09"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentGroup ¶
type AgentGroup struct { // 拨测分组ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // 拨测分组名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 是否默认拨测分组。1表示是,0表示否 IsDefault *uint64 `json:"IsDefault,omitempty" name:"IsDefault"` // 使用本拨测分组的任务数 TaskNum *uint64 `json:"TaskNum,omitempty" name:"TaskNum"` // 拨测结点列表 GroupDetail []*CatAgent `json:"GroupDetail,omitempty" name:"GroupDetail" list` // 最大拨测分组数 MaxGroupNum *uint64 `json:"MaxGroupNum,omitempty" name:"MaxGroupNum"` }
type AlarmInfo ¶
type AlarmInfo struct { // 告警对象的名称 ObjName *string `json:"ObjName,omitempty" name:"ObjName"` // 告警发生的时间 FirstOccurTime *string `json:"FirstOccurTime,omitempty" name:"FirstOccurTime"` // 告警结束的时间 LastOccurTime *string `json:"LastOccurTime,omitempty" name:"LastOccurTime"` // 告警状态。1 表示已恢复,0 表示未恢复,2表示数据不足 Status *uint64 `json:"Status,omitempty" name:"Status"` // 告警的内容 Content *string `json:"Content,omitempty" name:"Content"` // 拨测任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 特征项名字 MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 特征项数值 MetricValue *string `json:"MetricValue,omitempty" name:"MetricValue"` // 告警对象的ID ObjId *string `json:"ObjId,omitempty" name:"ObjId"` }
type AlarmTopic ¶
type BindAlarmPolicyRequest ¶
type BindAlarmPolicyRequest struct { *tchttp.BaseRequest // 拨测任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 告警策略组Id PolicyGroupId *uint64 `json:"PolicyGroupId,omitempty" name:"PolicyGroupId"` // 是否绑定操作。非0 为绑定, 0 为 解绑。缺省表示 绑定。 IfBind *uint64 `json:"IfBind,omitempty" name:"IfBind"` // 告警主题Id TopicId *string `json:"TopicId,omitempty" name:"TopicId"` }
func NewBindAlarmPolicyRequest ¶
func NewBindAlarmPolicyRequest() (request *BindAlarmPolicyRequest)
func (*BindAlarmPolicyRequest) FromJsonString ¶
func (r *BindAlarmPolicyRequest) FromJsonString(s string) error
func (*BindAlarmPolicyRequest) ToJsonString ¶
func (r *BindAlarmPolicyRequest) ToJsonString() string
type BindAlarmPolicyResponse ¶
type BindAlarmPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewBindAlarmPolicyResponse ¶
func NewBindAlarmPolicyResponse() (response *BindAlarmPolicyResponse)
func (*BindAlarmPolicyResponse) FromJsonString ¶
func (r *BindAlarmPolicyResponse) FromJsonString(s string) error
func (*BindAlarmPolicyResponse) ToJsonString ¶
func (r *BindAlarmPolicyResponse) ToJsonString() string
type CatAgent ¶
type CatAgent struct { // 拨测结点所在的省份(拼音缩写) Province *string `json:"Province,omitempty" name:"Province"` // 拨测结点所在的运营商(英文缩写) Isp *string `json:"Isp,omitempty" name:"Isp"` // 拨测结点所在的省份(中文名称) // 注意:此字段可能返回 null,表示取不到有效值。 ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // 拨测结点所在的运营商(中文名称) // 注意:此字段可能返回 null,表示取不到有效值。 IspName *string `json:"IspName,omitempty" name:"IspName"` }
type CatLog ¶
type CatLog struct { // 拨测时间点 Time *string `json:"Time,omitempty" name:"Time"` // 拨测类型 CatTypeName *string `json:"CatTypeName,omitempty" name:"CatTypeName"` // 任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 拨测点所在城市 City *string `json:"City,omitempty" name:"City"` // 拨测点所在运营商 Isp *string `json:"Isp,omitempty" name:"Isp"` // 被拨测Server的IP ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"` // 被拨测Server的域名 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 执行耗时,单位毫秒 TotalTime *uint64 `json:"TotalTime,omitempty" name:"TotalTime"` // 成功失败(1 失败,0 成功) ResultType *uint64 `json:"ResultType,omitempty" name:"ResultType"` // 失败错误码 ResultCode *uint64 `json:"ResultCode,omitempty" name:"ResultCode"` // 请求包大小 ReqPkgSize *uint64 `json:"ReqPkgSize,omitempty" name:"ReqPkgSize"` // 回应包大小 RspPkgSize *uint64 `json:"RspPkgSize,omitempty" name:"RspPkgSize"` // 拨测请求 ReqMsg *string `json:"ReqMsg,omitempty" name:"ReqMsg"` // 拨测回应 RespMsg *string `json:"RespMsg,omitempty" name:"RespMsg"` // 客户端IP ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // 拨测点所在城市名称 CityName *string `json:"CityName,omitempty" name:"CityName"` // 拨测点所在运营商名称 IspName *string `json:"IspName,omitempty" name:"IspName"` // 解析耗时,单位毫秒 ParseTime *uint64 `json:"ParseTime,omitempty" name:"ParseTime"` // 连接耗时,单位毫秒 ConnectTime *uint64 `json:"ConnectTime,omitempty" name:"ConnectTime"` // 数据发送耗时,单位毫秒 SendTime *uint64 `json:"SendTime,omitempty" name:"SendTime"` // 等待耗时,单位毫秒 WaitTime *uint64 `json:"WaitTime,omitempty" name:"WaitTime"` // 接收耗时,单位毫秒 ReceiveTime *uint64 `json:"ReceiveTime,omitempty" name:"ReceiveTime"` }
type CatReturnDetail ¶
type CatReturnDetail struct { // 运营商名称 IspName *string `json:"IspName,omitempty" name:"IspName"` // 省份全拼 Province *string `json:"Province,omitempty" name:"Province"` // 省份中文名称 ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // Map键值 MapKey *string `json:"MapKey,omitempty" name:"MapKey"` // 拨测目标的IP ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"` // 拨测失败个数 ResultCount *uint64 `json:"ResultCount,omitempty" name:"ResultCount"` // 拨测失败返回码 ResultCode *uint64 `json:"ResultCode,omitempty" name:"ResultCode"` // 拨测失败原因描述 ErrorReason *string `json:"ErrorReason,omitempty" name:"ErrorReason"` }
type CatReturnSummary ¶
type CatTaskDetail ¶
type CatTaskDetail struct { // 任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 任务名称 TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // 任务周期,单位为分钟。目前支持1,5,15,30几种取值 Period *uint64 `json:"Period,omitempty" name:"Period"` // 拨测类型。http, https, ping, tcp 之一 CatTypeName *string `json:"CatTypeName,omitempty" name:"CatTypeName"` // 拨测任务的URL CgiUrl *string `json:"CgiUrl,omitempty" name:"CgiUrl"` // 拨测分组ID AgentGroupId *uint64 `json:"AgentGroupId,omitempty" name:"AgentGroupId"` // 告警策略组ID PolicyGroupId *uint64 `json:"PolicyGroupId,omitempty" name:"PolicyGroupId"` // 任务状态。1表示暂停,2表示运行中,0为初始态 Status *uint64 `json:"Status,omitempty" name:"Status"` // 任务创建时间 AddTime *string `json:"AddTime,omitempty" name:"AddTime"` // 任务类型。0 站点监控,2 可用性监控 Type *uint64 `json:"Type,omitempty" name:"Type"` // 绑定的统一告警主题ID TopicId *string `json:"TopicId,omitempty" name:"TopicId"` // 告警状态。0 未启用,1, 启用 AlarmStatus *uint64 `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // 指定的域名 Host *string `json:"Host,omitempty" name:"Host"` // 拨测目标的端口号 Port *uint64 `json:"Port,omitempty" name:"Port"` // 要在结果中进行匹配的字符串 CheckStr *string `json:"CheckStr,omitempty" name:"CheckStr"` // 1 表示通过检查结果是否包含CheckStr 进行校验 CheckType *uint64 `json:"CheckType,omitempty" name:"CheckType"` // 用户Agent信息 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // 设置的Cookie信息 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` // POST 请求数据。空字符串表示非POST请求 PostData *string `json:"PostData,omitempty" name:"PostData"` // SSL协议版本 SslVer *string `json:"SslVer,omitempty" name:"SslVer"` // 是否为Header请求。非0 Header 请求 IsHeader *uint64 `json:"IsHeader,omitempty" name:"IsHeader"` // 目的DNS服务器 DnsSvr *string `json:"DnsSvr,omitempty" name:"DnsSvr"` // 需要检验是否在DNS IP列表的IP DnsCheckIp *string `json:"DnsCheckIp,omitempty" name:"DnsCheckIp"` // DNS查询类型 DnsQueryType *string `json:"DnsQueryType,omitempty" name:"DnsQueryType"` // 登录服务器的账号 UserName *string `json:"UserName,omitempty" name:"UserName"` // 登录服务器的密码 PassWord *string `json:"PassWord,omitempty" name:"PassWord"` // 是否使用安全链接SSL, 0 不使用,1 使用 UseSecConn *uint64 `json:"UseSecConn,omitempty" name:"UseSecConn"` // FTP登录验证方式 0 不验证 1 匿名登录 2 需要身份验证 NeedAuth *uint64 `json:"NeedAuth,omitempty" name:"NeedAuth"` // 请求数据类型。0 表示请求为字符串类型。1表示为二进制类型 ReqDataType *uint64 `json:"ReqDataType,omitempty" name:"ReqDataType"` // 发起TCP, UDP请求的协议请求数据 ReqData *string `json:"ReqData,omitempty" name:"ReqData"` // 响应数据类型。0 表示响应为字符串类型。1表示为二进制类型 RespDataType *uint64 `json:"RespDataType,omitempty" name:"RespDataType"` // 预期的UDP请求的回应数据 RespData *string `json:"RespData,omitempty" name:"RespData"` // 跟随跳转次数 RedirectFollowNum *uint64 `json:"RedirectFollowNum,omitempty" name:"RedirectFollowNum"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BindAlarmPolicy ¶
func (c *Client) BindAlarmPolicy(request *BindAlarmPolicyRequest) (response *BindAlarmPolicyResponse, err error)
绑定拨测任务和告警策略组
func (*Client) CreateAgentGroup ¶
func (c *Client) CreateAgentGroup(request *CreateAgentGroupRequest) (response *CreateAgentGroupResponse, err error)
添加拨测分组
func (*Client) CreateTaskEx ¶
func (c *Client) CreateTaskEx(request *CreateTaskExRequest) (response *CreateTaskExResponse, err error)
创建拨测任务(扩展)
func (*Client) DeleteAgentGroup ¶
func (c *Client) DeleteAgentGroup(request *DeleteAgentGroupRequest) (response *DeleteAgentGroupResponse, err error)
删除拨测分组
func (*Client) DeleteTasks ¶
func (c *Client) DeleteTasks(request *DeleteTasksRequest) (response *DeleteTasksResponse, err error)
删除多个拨测任务
func (*Client) DescribeAgentGroups ¶
func (c *Client) DescribeAgentGroups(request *DescribeAgentGroupsRequest) (response *DescribeAgentGroupsResponse, err error)
查询拨测分组列表
func (*Client) DescribeAgents ¶
func (c *Client) DescribeAgents(request *DescribeAgentsRequest) (response *DescribeAgentsResponse, err error)
查询本用户可选的拨测点列表
func (*Client) DescribeAlarmTopic ¶
func (c *Client) DescribeAlarmTopic(request *DescribeAlarmTopicRequest) (response *DescribeAlarmTopicResponse, err error)
查询用户的告警主题列表
func (*Client) DescribeAlarms ¶
func (c *Client) DescribeAlarms(request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
查询拨测告警列表
func (*Client) DescribeAlarmsByTask ¶
func (c *Client) DescribeAlarmsByTask(request *DescribeAlarmsByTaskRequest) (response *DescribeAlarmsByTaskResponse, err error)
按任务查询拨测告警列表
func (*Client) DescribeCatLogs ¶
func (c *Client) DescribeCatLogs(request *DescribeCatLogsRequest) (response *DescribeCatLogsResponse, err error)
查询拨测流水
func (*Client) DescribeTaskDetail ¶
func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
查询拨测任务信息
func (*Client) DescribeTasksByType ¶
func (c *Client) DescribeTasksByType(request *DescribeTasksByTypeRequest) (response *DescribeTasksByTypeResponse, err error)
按类型查询拨测任务列表
func (*Client) DescribeUserLimit ¶
func (c *Client) DescribeUserLimit(request *DescribeUserLimitRequest) (response *DescribeUserLimitResponse, err error)
获取用户可用资源限制
func (*Client) GetAvailRatioHistory ¶
func (c *Client) GetAvailRatioHistory(request *GetAvailRatioHistoryRequest) (response *GetAvailRatioHistoryResponse, err error)
获取指定时刻的可用率地图信息
func (*Client) GetDailyAvailRatio ¶
func (c *Client) GetDailyAvailRatio(request *GetDailyAvailRatioRequest) (response *GetDailyAvailRatioResponse, err error)
获取一天的整体可用率信息
func (*Client) GetRealAvailRatio ¶
func (c *Client) GetRealAvailRatio(request *GetRealAvailRatioRequest) (response *GetRealAvailRatioResponse, err error)
获取实时可用率信息
func (*Client) GetRespTimeTrendEx ¶
func (c *Client) GetRespTimeTrendEx(request *GetRespTimeTrendExRequest) (response *GetRespTimeTrendExResponse, err error)
查询拨测任务的走势数据
func (*Client) GetResultSummary ¶
func (c *Client) GetResultSummary(request *GetResultSummaryRequest) (response *GetResultSummaryResponse, err error)
获取任务列表的实时数据
func (*Client) GetReturnCodeHistory ¶
func (c *Client) GetReturnCodeHistory(request *GetReturnCodeHistoryRequest) (response *GetReturnCodeHistoryResponse, err error)
查询拨测任务的历史返回码信息
func (*Client) GetReturnCodeInfo ¶
func (c *Client) GetReturnCodeInfo(request *GetReturnCodeInfoRequest) (response *GetReturnCodeInfoResponse, err error)
查询拨测任务的返回码统计信息
func (*Client) GetTaskTotalNumber ¶
func (c *Client) GetTaskTotalNumber(request *GetTaskTotalNumberRequest) (response *GetTaskTotalNumberResponse, err error)
获取AppId下的拨测任务总数
func (*Client) ModifyAgentGroup ¶
func (c *Client) ModifyAgentGroup(request *ModifyAgentGroupRequest) (response *ModifyAgentGroupResponse, err error)
修改拨测分组
func (*Client) ModifyTaskEx ¶
func (c *Client) ModifyTaskEx(request *ModifyTaskExRequest) (response *ModifyTaskExResponse, err error)
修改拨测任务(扩展)
func (*Client) PauseTask ¶
func (c *Client) PauseTask(request *PauseTaskRequest) (response *PauseTaskResponse, err error)
暂停拨测任务
func (*Client) RunTask ¶
func (c *Client) RunTask(request *RunTaskRequest) (response *RunTaskResponse, err error)
运行拨测任务
func (*Client) VerifyResult ¶
func (c *Client) VerifyResult(request *VerifyResultRequest) (response *VerifyResultResponse, err error)
验证拨测任务,结果验证查询(验证成功的,才建议创建拨测任务)
type CreateAgentGroupRequest ¶
type CreateAgentGroupRequest struct { *tchttp.BaseRequest // 拨测分组名称,不超过32个字符 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 是否为默认分组,取值可为 0 或 1。取 1 时表示设置为默认分组 IsDefault *int64 `json:"IsDefault,omitempty" name:"IsDefault"` // Province, Isp 需要成对地进行选择。参数对的取值范围。参见:DescribeAgents 的返回结果。 Agents []*CatAgent `json:"Agents,omitempty" name:"Agents" list` }
func NewCreateAgentGroupRequest ¶
func NewCreateAgentGroupRequest() (request *CreateAgentGroupRequest)
func (*CreateAgentGroupRequest) FromJsonString ¶
func (r *CreateAgentGroupRequest) FromJsonString(s string) error
func (*CreateAgentGroupRequest) ToJsonString ¶
func (r *CreateAgentGroupRequest) ToJsonString() string
type CreateAgentGroupResponse ¶
type CreateAgentGroupResponse struct { *tchttp.BaseResponse Response *struct { // 拨测分组Id GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAgentGroupResponse ¶
func NewCreateAgentGroupResponse() (response *CreateAgentGroupResponse)
func (*CreateAgentGroupResponse) FromJsonString ¶
func (r *CreateAgentGroupResponse) FromJsonString(s string) error
func (*CreateAgentGroupResponse) ToJsonString ¶
func (r *CreateAgentGroupResponse) ToJsonString() string
type CreateTaskExRequest ¶
type CreateTaskExRequest struct { *tchttp.BaseRequest // http, https, ping, tcp, ftp, smtp, udp, dns 之一 CatTypeName *string `json:"CatTypeName,omitempty" name:"CatTypeName"` // 拨测的URL, 例如:www.qq.com (URL域名解析需要能解析出具体的IP) Url *string `json:"Url,omitempty" name:"Url"` // 拨测周期。取值可为1,5,15,30之一, 单位:分钟。精度不能低于用户等级规定的最小精度 Period *uint64 `json:"Period,omitempty" name:"Period"` // 拨测任务名称不能超过32个字符。同一个用户创建的任务名不可重复 TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // 拨测分组ID,体现本拨测任务要采用哪些运营商作为拨测源。一般可直接填写本用户的默认拨测分组。参见:DescribeAgentGroups 接口,本参数使用返回结果里的GroupId的值。注意: Type为0时,AgentGroupId为必填 AgentGroupId *uint64 `json:"AgentGroupId,omitempty" name:"AgentGroupId"` // 指定域名(如需要) Host *string `json:"Host,omitempty" name:"Host"` // 是否为Header请求(非0 发起Header 请求。为0,且PostData 非空,发起POST请求。为0,PostData 为空,发起GET请求) IsHeader *uint64 `json:"IsHeader,omitempty" name:"IsHeader"` // URL中含有"https"时有用。缺省为SSLv23。需要为 TLSv1_2, TLSv1_1, TLSv1, SSLv2, SSLv23, SSLv3 之一 SslVer *string `json:"SslVer,omitempty" name:"SslVer"` // POST请求数据。空字符串表示非POST请求 PostData *string `json:"PostData,omitempty" name:"PostData"` // 用户Agent信息 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // 要在结果中进行匹配的字符串 CheckStr *string `json:"CheckStr,omitempty" name:"CheckStr"` // 1 表示通过检查结果是否包含CheckStr 进行校验 CheckType *uint64 `json:"CheckType,omitempty" name:"CheckType"` // 需要设置的Cookie信息 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` // 任务ID,用于验证且修改任务时传入原任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 登录服务器的账号。如果为空字符串,表示不用校验用户密码。只做简单连接服务器的拨测 UserName *string `json:"UserName,omitempty" name:"UserName"` // 登录服务器的密码 PassWord *string `json:"PassWord,omitempty" name:"PassWord"` // 缺省为0。0 表示请求为字符串类型。1表示为二进制类型 ReqDataType *uint64 `json:"ReqDataType,omitempty" name:"ReqDataType"` // 发起TCP, UDP请求的协议请求数据 ReqData *string `json:"ReqData,omitempty" name:"ReqData"` // 缺省为0。0 表示响应为字符串类型。1表示为二进制类型 RespDataType *uint64 `json:"RespDataType,omitempty" name:"RespDataType"` // 预期的UDP请求的回应数据。字符串型,只需要返回的结果里包含本字符串算校验通过。二进制型,则需要严格等于才算通过 RespData *string `json:"RespData,omitempty" name:"RespData"` // 目的DNS服务器 可以为空字符串 DnsSvr *string `json:"DnsSvr,omitempty" name:"DnsSvr"` // 需要检验是否在DNS IP列表的IP。可以为空字符串,表示不校验 DnsCheckIp *string `json:"DnsCheckIp,omitempty" name:"DnsCheckIp"` // 需要为下列值之一。缺省为A。A, MX, NS, CNAME, TXT, ANY DnsQueryType *string `json:"DnsQueryType,omitempty" name:"DnsQueryType"` // 是否使用安全链接SSL, 0 不使用,1 使用 UseSecConn *uint64 `json:"UseSecConn,omitempty" name:"UseSecConn"` // FTP登录验证方式, 0 不验证 , 1 匿名登录, 2 需要身份验证 NeedAuth *uint64 `json:"NeedAuth,omitempty" name:"NeedAuth"` // 拨测目标的端口号 Port *uint64 `json:"Port,omitempty" name:"Port"` // Type=0 默认 (站点监控)Type=2 可用率监控 Type *uint64 `json:"Type,omitempty" name:"Type"` // IsVerify=0 非验证任务 IsVerify=1 验证任务,不传则默认为0 IsVerify *uint64 `json:"IsVerify,omitempty" name:"IsVerify"` // 跟随跳转次数,取值范围0-5,不传则表示不跟随 RedirectFollowNum *uint64 `json:"RedirectFollowNum,omitempty" name:"RedirectFollowNum"` }
func NewCreateTaskExRequest ¶
func NewCreateTaskExRequest() (request *CreateTaskExRequest)
func (*CreateTaskExRequest) FromJsonString ¶
func (r *CreateTaskExRequest) FromJsonString(s string) error
func (*CreateTaskExRequest) ToJsonString ¶
func (r *CreateTaskExRequest) ToJsonString() string
type CreateTaskExResponse ¶
type CreateTaskExResponse struct { *tchttp.BaseResponse Response *struct { // 拨测结果查询ID。接下来可以使用查询拨测是否能够成功,验证能否通过。 ResultId *uint64 `json:"ResultId,omitempty" name:"ResultId"` // 拨测任务ID。验证通过后,创建任务时使用,传递给CreateTask 接口。 TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTaskExResponse ¶
func NewCreateTaskExResponse() (response *CreateTaskExResponse)
func (*CreateTaskExResponse) FromJsonString ¶
func (r *CreateTaskExResponse) FromJsonString(s string) error
func (*CreateTaskExResponse) ToJsonString ¶
func (r *CreateTaskExResponse) ToJsonString() string
type DataPointMetric ¶
type DeleteAgentGroupRequest ¶
type DeleteAgentGroupRequest struct { *tchttp.BaseRequest // 拨测分组id GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` }
func NewDeleteAgentGroupRequest ¶
func NewDeleteAgentGroupRequest() (request *DeleteAgentGroupRequest)
func (*DeleteAgentGroupRequest) FromJsonString ¶
func (r *DeleteAgentGroupRequest) FromJsonString(s string) error
func (*DeleteAgentGroupRequest) ToJsonString ¶
func (r *DeleteAgentGroupRequest) ToJsonString() string
type DeleteAgentGroupResponse ¶
type DeleteAgentGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAgentGroupResponse ¶
func NewDeleteAgentGroupResponse() (response *DeleteAgentGroupResponse)
func (*DeleteAgentGroupResponse) FromJsonString ¶
func (r *DeleteAgentGroupResponse) FromJsonString(s string) error
func (*DeleteAgentGroupResponse) ToJsonString ¶
func (r *DeleteAgentGroupResponse) ToJsonString() string
type DeleteTasksRequest ¶
type DeleteTasksRequest struct { *tchttp.BaseRequest // 拨测任务id TaskIds []*uint64 `json:"TaskIds,omitempty" name:"TaskIds" list` }
func NewDeleteTasksRequest ¶
func NewDeleteTasksRequest() (request *DeleteTasksRequest)
func (*DeleteTasksRequest) FromJsonString ¶
func (r *DeleteTasksRequest) FromJsonString(s string) error
func (*DeleteTasksRequest) ToJsonString ¶
func (r *DeleteTasksRequest) ToJsonString() string
type DeleteTasksResponse ¶
type DeleteTasksResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteTasksResponse ¶
func NewDeleteTasksResponse() (response *DeleteTasksResponse)
func (*DeleteTasksResponse) FromJsonString ¶
func (r *DeleteTasksResponse) FromJsonString(s string) error
func (*DeleteTasksResponse) ToJsonString ¶
func (r *DeleteTasksResponse) ToJsonString() string
type DescribeAgentGroupsRequest ¶
type DescribeAgentGroupsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAgentGroupsRequest ¶
func NewDescribeAgentGroupsRequest() (request *DescribeAgentGroupsRequest)
func (*DescribeAgentGroupsRequest) FromJsonString ¶
func (r *DescribeAgentGroupsRequest) FromJsonString(s string) error
func (*DescribeAgentGroupsRequest) ToJsonString ¶
func (r *DescribeAgentGroupsRequest) ToJsonString() string
type DescribeAgentGroupsResponse ¶
type DescribeAgentGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 用户所属的系统默认拨测分组 SysDefaultGroup *AgentGroup `json:"SysDefaultGroup,omitempty" name:"SysDefaultGroup"` // 用户创建的拨测分组列表 CustomGroups []*AgentGroup `json:"CustomGroups,omitempty" name:"CustomGroups" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAgentGroupsResponse ¶
func NewDescribeAgentGroupsResponse() (response *DescribeAgentGroupsResponse)
func (*DescribeAgentGroupsResponse) FromJsonString ¶
func (r *DescribeAgentGroupsResponse) FromJsonString(s string) error
func (*DescribeAgentGroupsResponse) ToJsonString ¶
func (r *DescribeAgentGroupsResponse) ToJsonString() string
type DescribeAgentsRequest ¶
type DescribeAgentsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAgentsRequest ¶
func NewDescribeAgentsRequest() (request *DescribeAgentsRequest)
func (*DescribeAgentsRequest) FromJsonString ¶
func (r *DescribeAgentsRequest) FromJsonString(s string) error
func (*DescribeAgentsRequest) ToJsonString ¶
func (r *DescribeAgentsRequest) ToJsonString() string
type DescribeAgentsResponse ¶
type DescribeAgentsResponse struct { *tchttp.BaseResponse Response *struct { // 本用户可选的拨测点列表 Agents []*CatAgent `json:"Agents,omitempty" name:"Agents" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAgentsResponse ¶
func NewDescribeAgentsResponse() (response *DescribeAgentsResponse)
func (*DescribeAgentsResponse) FromJsonString ¶
func (r *DescribeAgentsResponse) FromJsonString(s string) error
func (*DescribeAgentsResponse) ToJsonString ¶
func (r *DescribeAgentsResponse) ToJsonString() string
type DescribeAlarmTopicRequest ¶
type DescribeAlarmTopicRequest struct { *tchttp.BaseRequest // 如果不存在拨测相关的主题,是否自动创建一个。取值可为0, 1,默认为0 NeedAdd *uint64 `json:"NeedAdd,omitempty" name:"NeedAdd"` }
func NewDescribeAlarmTopicRequest ¶
func NewDescribeAlarmTopicRequest() (request *DescribeAlarmTopicRequest)
func (*DescribeAlarmTopicRequest) FromJsonString ¶
func (r *DescribeAlarmTopicRequest) FromJsonString(s string) error
func (*DescribeAlarmTopicRequest) ToJsonString ¶
func (r *DescribeAlarmTopicRequest) ToJsonString() string
type DescribeAlarmTopicResponse ¶
type DescribeAlarmTopicResponse struct { *tchttp.BaseResponse Response *struct { // 主题个数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 主题列表 Topics []*AlarmTopic `json:"Topics,omitempty" name:"Topics" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAlarmTopicResponse ¶
func NewDescribeAlarmTopicResponse() (response *DescribeAlarmTopicResponse)
func (*DescribeAlarmTopicResponse) FromJsonString ¶
func (r *DescribeAlarmTopicResponse) FromJsonString(s string) error
func (*DescribeAlarmTopicResponse) ToJsonString ¶
func (r *DescribeAlarmTopicResponse) ToJsonString() string
type DescribeAlarmsByTaskRequest ¶
type DescribeAlarmsByTaskRequest struct { *tchttp.BaseRequest // 拨测任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 从第Offset 条开始查询。缺省值为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 本批次查询Limit 条记录。缺省值为20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 0 全部, 1 已恢复, 2 未恢复 默认为0。其他值,视为0 查全部状态 Status *uint64 `json:"Status,omitempty" name:"Status"` // 格式如:2017-05-09 00:00:00 缺省为7天前0点 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 格式如:2017-05-10 00:00:00 缺省为明天0点 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 排序字段,可为Time, ObjName, Duration, Status, Content 之一。缺省为Time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 升序或降序。可为Desc, Asc之一。缺省为Desc SortType *string `json:"SortType,omitempty" name:"SortType"` // 告警对象的名称 ObjName *string `json:"ObjName,omitempty" name:"ObjName"` }
func NewDescribeAlarmsByTaskRequest ¶
func NewDescribeAlarmsByTaskRequest() (request *DescribeAlarmsByTaskRequest)
func (*DescribeAlarmsByTaskRequest) FromJsonString ¶
func (r *DescribeAlarmsByTaskRequest) FromJsonString(s string) error
func (*DescribeAlarmsByTaskRequest) ToJsonString ¶
func (r *DescribeAlarmsByTaskRequest) ToJsonString() string
type DescribeAlarmsByTaskResponse ¶
type DescribeAlarmsByTaskResponse struct { *tchttp.BaseResponse Response *struct { // 告警信息列表 AlarmInfos []*AlarmInfo `json:"AlarmInfos,omitempty" name:"AlarmInfos" list` // 故障率 FaultRatio *float64 `json:"FaultRatio,omitempty" name:"FaultRatio"` // 故障总时长 FaultTimeSpec *string `json:"FaultTimeSpec,omitempty" name:"FaultTimeSpec"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAlarmsByTaskResponse ¶
func NewDescribeAlarmsByTaskResponse() (response *DescribeAlarmsByTaskResponse)
func (*DescribeAlarmsByTaskResponse) FromJsonString ¶
func (r *DescribeAlarmsByTaskResponse) FromJsonString(s string) error
func (*DescribeAlarmsByTaskResponse) ToJsonString ¶
func (r *DescribeAlarmsByTaskResponse) ToJsonString() string
type DescribeAlarmsRequest ¶
type DescribeAlarmsRequest struct { *tchttp.BaseRequest // 从第Offset 条开始查询。缺省值为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 本批次查询Limit 条记录。缺省值为20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 0 全部, 1 已恢复, 2 未恢复 默认为0。其他值,视为0 查全部状态。 Status *uint64 `json:"Status,omitempty" name:"Status"` // 格式如:2017-05-09 00:00:00 缺省为7天前0点 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 格式如:2017-05-10 00:00:00 缺省为明天0点 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 告警任务名 ObjName *string `json:"ObjName,omitempty" name:"ObjName"` // 排序字段,可为Time, ObjName, Duration, Status, Content 之一。缺省为Time。 SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 升序或降序。可为Desc, Asc之一。缺省为Desc。 SortType *string `json:"SortType,omitempty" name:"SortType"` }
func NewDescribeAlarmsRequest ¶
func NewDescribeAlarmsRequest() (request *DescribeAlarmsRequest)
func (*DescribeAlarmsRequest) FromJsonString ¶
func (r *DescribeAlarmsRequest) FromJsonString(s string) error
func (*DescribeAlarmsRequest) ToJsonString ¶
func (r *DescribeAlarmsRequest) ToJsonString() string
type DescribeAlarmsResponse ¶
type DescribeAlarmsResponse struct { *tchttp.BaseResponse Response *struct { // 告警总条数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 本批告警信息列表 AlarmInfos []*AlarmInfo `json:"AlarmInfos,omitempty" name:"AlarmInfos" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAlarmsResponse ¶
func NewDescribeAlarmsResponse() (response *DescribeAlarmsResponse)
func (*DescribeAlarmsResponse) FromJsonString ¶
func (r *DescribeAlarmsResponse) FromJsonString(s string) error
func (*DescribeAlarmsResponse) ToJsonString ¶
func (r *DescribeAlarmsResponse) ToJsonString() string
type DescribeCatLogsRequest ¶
type DescribeCatLogsRequest struct { *tchttp.BaseRequest // 拨测任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 从第Offset 条开始查询。缺省值为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 本批次查询Limit 条记录。缺省值为20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 格式如:2017-05-09 00:00:00 缺省为当天0点,最多拉取1天的数据 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 格式如:2017-05-10 00:00:00 缺省为当前时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 按时间升序或降序。默认降序。可选值: Desc, Asc SortType *string `json:"SortType,omitempty" name:"SortType"` }
func NewDescribeCatLogsRequest ¶
func NewDescribeCatLogsRequest() (request *DescribeCatLogsRequest)
func (*DescribeCatLogsRequest) FromJsonString ¶
func (r *DescribeCatLogsRequest) FromJsonString(s string) error
func (*DescribeCatLogsRequest) ToJsonString ¶
func (r *DescribeCatLogsRequest) ToJsonString() string
type DescribeCatLogsResponse ¶
type DescribeCatLogsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的总记录数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 拨测记录列表 CatLogs []*CatLog `json:"CatLogs,omitempty" name:"CatLogs" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCatLogsResponse ¶
func NewDescribeCatLogsResponse() (response *DescribeCatLogsResponse)
func (*DescribeCatLogsResponse) FromJsonString ¶
func (r *DescribeCatLogsResponse) FromJsonString(s string) error
func (*DescribeCatLogsResponse) ToJsonString ¶
func (r *DescribeCatLogsResponse) ToJsonString() string
type DescribeTaskDetailRequest ¶
type DescribeTaskDetailRequest struct { *tchttp.BaseRequest // 拨测任务id 数组 TaskIds []*uint64 `json:"TaskIds,omitempty" name:"TaskIds" list` }
func NewDescribeTaskDetailRequest ¶
func NewDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest)
func (*DescribeTaskDetailRequest) FromJsonString ¶
func (r *DescribeTaskDetailRequest) FromJsonString(s string) error
func (*DescribeTaskDetailRequest) ToJsonString ¶
func (r *DescribeTaskDetailRequest) ToJsonString() string
type DescribeTaskDetailResponse ¶
type DescribeTaskDetailResponse struct { *tchttp.BaseResponse Response *struct { // 拨测任务列表 Tasks []*CatTaskDetail `json:"Tasks,omitempty" name:"Tasks" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTaskDetailResponse ¶
func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse)
func (*DescribeTaskDetailResponse) FromJsonString ¶
func (r *DescribeTaskDetailResponse) FromJsonString(s string) error
func (*DescribeTaskDetailResponse) ToJsonString ¶
func (r *DescribeTaskDetailResponse) ToJsonString() string
type DescribeTasksByTypeRequest ¶
type DescribeTasksByTypeRequest struct { *tchttp.BaseRequest // 从第Offset 条开始查询。缺省值为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 本批次查询Limit 条记录。缺省值为20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 拨测任务类型。0 站点监控,2 可用性监控。缺省值为2 Type *uint64 `json:"Type,omitempty" name:"Type"` }
func NewDescribeTasksByTypeRequest ¶
func NewDescribeTasksByTypeRequest() (request *DescribeTasksByTypeRequest)
func (*DescribeTasksByTypeRequest) FromJsonString ¶
func (r *DescribeTasksByTypeRequest) FromJsonString(s string) error
func (*DescribeTasksByTypeRequest) ToJsonString ¶
func (r *DescribeTasksByTypeRequest) ToJsonString() string
type DescribeTasksByTypeResponse ¶
type DescribeTasksByTypeResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的总任务数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 任务列表 Tasks []*TaskAlarm `json:"Tasks,omitempty" name:"Tasks" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTasksByTypeResponse ¶
func NewDescribeTasksByTypeResponse() (response *DescribeTasksByTypeResponse)
func (*DescribeTasksByTypeResponse) FromJsonString ¶
func (r *DescribeTasksByTypeResponse) FromJsonString(s string) error
func (*DescribeTasksByTypeResponse) ToJsonString ¶
func (r *DescribeTasksByTypeResponse) ToJsonString() string
type DescribeUserLimitRequest ¶
type DescribeUserLimitRequest struct {
*tchttp.BaseRequest
}
func NewDescribeUserLimitRequest ¶
func NewDescribeUserLimitRequest() (request *DescribeUserLimitRequest)
func (*DescribeUserLimitRequest) FromJsonString ¶
func (r *DescribeUserLimitRequest) FromJsonString(s string) error
func (*DescribeUserLimitRequest) ToJsonString ¶
func (r *DescribeUserLimitRequest) ToJsonString() string
type DescribeUserLimitResponse ¶
type DescribeUserLimitResponse struct { *tchttp.BaseResponse Response *struct { // 用户可建立的最大任务数 MaxTaskNum *uint64 `json:"MaxTaskNum,omitempty" name:"MaxTaskNum"` // 用户可用的最大拨测结点数 MaxAgentNum *uint64 `json:"MaxAgentNum,omitempty" name:"MaxAgentNum"` // 用户可建立的最大拨测分组数 MaxGroupNum *uint64 `json:"MaxGroupNum,omitempty" name:"MaxGroupNum"` // 用户可用的最小拨测间隔 MinPeriod *uint64 `json:"MinPeriod,omitempty" name:"MinPeriod"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeUserLimitResponse ¶
func NewDescribeUserLimitResponse() (response *DescribeUserLimitResponse)
func (*DescribeUserLimitResponse) FromJsonString ¶
func (r *DescribeUserLimitResponse) FromJsonString(s string) error
func (*DescribeUserLimitResponse) ToJsonString ¶
func (r *DescribeUserLimitResponse) ToJsonString() string
type DimensionsDetail ¶
type GetAvailRatioHistoryRequest ¶
type GetAvailRatioHistoryRequest struct { *tchttp.BaseRequest // 拨测任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 具体时间点 TimeStamp *string `json:"TimeStamp,omitempty" name:"TimeStamp"` }
func NewGetAvailRatioHistoryRequest ¶
func NewGetAvailRatioHistoryRequest() (request *GetAvailRatioHistoryRequest)
func (*GetAvailRatioHistoryRequest) FromJsonString ¶
func (r *GetAvailRatioHistoryRequest) FromJsonString(s string) error
func (*GetAvailRatioHistoryRequest) ToJsonString ¶
func (r *GetAvailRatioHistoryRequest) ToJsonString() string
type GetAvailRatioHistoryResponse ¶
type GetAvailRatioHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 整体平均可用率 AvgAvailRatio *float64 `json:"AvgAvailRatio,omitempty" name:"AvgAvailRatio"` // 各省份最低可用率 LowestAvailRatio *float64 `json:"LowestAvailRatio,omitempty" name:"LowestAvailRatio"` // 可用率最低的省份 LowestProvince *string `json:"LowestProvince,omitempty" name:"LowestProvince"` // 可用率最低的运营商 LowestIsp *string `json:"LowestIsp,omitempty" name:"LowestIsp"` // 分省份的可用率数据 ProvinceData []*ProvinceDetail `json:"ProvinceData,omitempty" name:"ProvinceData" list` // 国内平均耗时,单位毫秒 AvgTime *float64 `json:"AvgTime,omitempty" name:"AvgTime"` // 国外平均可用率 AvgAvailRatio2 *float64 `json:"AvgAvailRatio2,omitempty" name:"AvgAvailRatio2"` // 国外平均耗时,单位毫秒 AvgTime2 *float64 `json:"AvgTime2,omitempty" name:"AvgTime2"` // 国外最低可用率 LowestAvailRatio2 *float64 `json:"LowestAvailRatio2,omitempty" name:"LowestAvailRatio2"` // 国外可用率最低的区域 LowestProvince2 *string `json:"LowestProvince2,omitempty" name:"LowestProvince2"` // 国外可用率最低的运营商 LowestIsp2 *string `json:"LowestIsp2,omitempty" name:"LowestIsp2"` // 国外分区域的可用率数据 ProvinceData2 []*ProvinceDetail `json:"ProvinceData2,omitempty" name:"ProvinceData2" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetAvailRatioHistoryResponse ¶
func NewGetAvailRatioHistoryResponse() (response *GetAvailRatioHistoryResponse)
func (*GetAvailRatioHistoryResponse) FromJsonString ¶
func (r *GetAvailRatioHistoryResponse) FromJsonString(s string) error
func (*GetAvailRatioHistoryResponse) ToJsonString ¶
func (r *GetAvailRatioHistoryResponse) ToJsonString() string
type GetDailyAvailRatioRequest ¶
type GetDailyAvailRatioRequest struct { *tchttp.BaseRequest // 拨测任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewGetDailyAvailRatioRequest ¶
func NewGetDailyAvailRatioRequest() (request *GetDailyAvailRatioRequest)
func (*GetDailyAvailRatioRequest) FromJsonString ¶
func (r *GetDailyAvailRatioRequest) FromJsonString(s string) error
func (*GetDailyAvailRatioRequest) ToJsonString ¶
func (r *GetDailyAvailRatioRequest) ToJsonString() string
type GetDailyAvailRatioResponse ¶
type GetDailyAvailRatioResponse struct { *tchttp.BaseResponse Response *struct { // 整体平均可用率 AvgAvailRatio *float64 `json:"AvgAvailRatio,omitempty" name:"AvgAvailRatio"` // 各省份最低可用率 LowestAvailRatio *float64 `json:"LowestAvailRatio,omitempty" name:"LowestAvailRatio"` // 可用率最低的省份 LowestProvince *string `json:"LowestProvince,omitempty" name:"LowestProvince"` // 分省份的可用率数据 ProvinceData []*ProvinceDetail `json:"ProvinceData,omitempty" name:"ProvinceData" list` // 国内平均耗时,单位毫秒 AvgTime *float64 `json:"AvgTime,omitempty" name:"AvgTime"` // 国外平均可用率 AvgAvailRatio2 *float64 `json:"AvgAvailRatio2,omitempty" name:"AvgAvailRatio2"` // 国外平均耗时,单位毫秒 AvgTime2 *float64 `json:"AvgTime2,omitempty" name:"AvgTime2"` // 国外最低可用率 LowestAvailRatio2 *float64 `json:"LowestAvailRatio2,omitempty" name:"LowestAvailRatio2"` // 国外可用率最低的区域 LowestProvince2 *string `json:"LowestProvince2,omitempty" name:"LowestProvince2"` // 国外分区域的可用率数据 ProvinceData2 []*ProvinceDetail `json:"ProvinceData2,omitempty" name:"ProvinceData2" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetDailyAvailRatioResponse ¶
func NewGetDailyAvailRatioResponse() (response *GetDailyAvailRatioResponse)
func (*GetDailyAvailRatioResponse) FromJsonString ¶
func (r *GetDailyAvailRatioResponse) FromJsonString(s string) error
func (*GetDailyAvailRatioResponse) ToJsonString ¶
func (r *GetDailyAvailRatioResponse) ToJsonString() string
type GetRealAvailRatioRequest ¶
type GetRealAvailRatioRequest struct { *tchttp.BaseRequest // 拨测任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewGetRealAvailRatioRequest ¶
func NewGetRealAvailRatioRequest() (request *GetRealAvailRatioRequest)
func (*GetRealAvailRatioRequest) FromJsonString ¶
func (r *GetRealAvailRatioRequest) FromJsonString(s string) error
func (*GetRealAvailRatioRequest) ToJsonString ¶
func (r *GetRealAvailRatioRequest) ToJsonString() string
type GetRealAvailRatioResponse ¶
type GetRealAvailRatioResponse struct { *tchttp.BaseResponse Response *struct { // 国内平均可用率 AvgAvailRatio *float64 `json:"AvgAvailRatio,omitempty" name:"AvgAvailRatio"` // 各省份最低可用率 LowestAvailRatio *float64 `json:"LowestAvailRatio,omitempty" name:"LowestAvailRatio"` // 可用率最低的省份 LowestProvince *string `json:"LowestProvince,omitempty" name:"LowestProvince"` // 可用率最低的运营商 LowestIsp *string `json:"LowestIsp,omitempty" name:"LowestIsp"` // 分省份的可用率数据 ProvinceData []*ProvinceDetail `json:"ProvinceData,omitempty" name:"ProvinceData" list` // 国内平均耗时,单位毫秒 AvgTime *float64 `json:"AvgTime,omitempty" name:"AvgTime"` // 国外平均可用率 AvgAvailRatio2 *float64 `json:"AvgAvailRatio2,omitempty" name:"AvgAvailRatio2"` // 国外平均耗时,单位毫秒 AvgTime2 *float64 `json:"AvgTime2,omitempty" name:"AvgTime2"` // 国外最低可用率 LowestAvailRatio2 *float64 `json:"LowestAvailRatio2,omitempty" name:"LowestAvailRatio2"` // 国外可用率最低的区域 LowestProvince2 *string `json:"LowestProvince2,omitempty" name:"LowestProvince2"` // 国外可用率最低的运营商 LowestIsp2 *string `json:"LowestIsp2,omitempty" name:"LowestIsp2"` // 国外分区域的可用率数据 ProvinceData2 []*ProvinceDetail `json:"ProvinceData2,omitempty" name:"ProvinceData2" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetRealAvailRatioResponse ¶
func NewGetRealAvailRatioResponse() (response *GetRealAvailRatioResponse)
func (*GetRealAvailRatioResponse) FromJsonString ¶
func (r *GetRealAvailRatioResponse) FromJsonString(s string) error
func (*GetRealAvailRatioResponse) ToJsonString ¶
func (r *GetRealAvailRatioResponse) ToJsonString() string
type GetRespTimeTrendExRequest ¶
type GetRespTimeTrendExRequest struct { *tchttp.BaseRequest // 验证成功的拨测任务id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 统计数据的发生日期。格式如:2017-05-09 Date *string `json:"Date,omitempty" name:"Date"` // 数据的采集周期,单位分钟。取值可为 1, 5, 15, 30 Period *uint64 `json:"Period,omitempty" name:"Period"` // 可为 Isp, Province Dimensions *DimensionsDetail `json:"Dimensions,omitempty" name:"Dimensions"` // 可为 totalTime, parseTime, connectTime, sendTime, waitTime, receiveTime, availRatio。缺省值为 totalTime MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewGetRespTimeTrendExRequest ¶
func NewGetRespTimeTrendExRequest() (request *GetRespTimeTrendExRequest)
func (*GetRespTimeTrendExRequest) FromJsonString ¶
func (r *GetRespTimeTrendExRequest) FromJsonString(s string) error
func (*GetRespTimeTrendExRequest) ToJsonString ¶
func (r *GetRespTimeTrendExRequest) ToJsonString() string
type GetRespTimeTrendExResponse ¶
type GetRespTimeTrendExResponse struct { *tchttp.BaseResponse Response *struct { // 数据点集合,时延等走势数据 DataPoints []*DataPointMetric `json:"DataPoints,omitempty" name:"DataPoints" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetRespTimeTrendExResponse ¶
func NewGetRespTimeTrendExResponse() (response *GetRespTimeTrendExResponse)
func (*GetRespTimeTrendExResponse) FromJsonString ¶
func (r *GetRespTimeTrendExResponse) FromJsonString(s string) error
func (*GetRespTimeTrendExResponse) ToJsonString ¶
func (r *GetRespTimeTrendExResponse) ToJsonString() string
type GetResultSummaryRequest ¶
type GetResultSummaryRequest struct { *tchttp.BaseRequest // 任务Id列表 TaskIds []*uint64 `json:"TaskIds,omitempty" name:"TaskIds" list` }
func NewGetResultSummaryRequest ¶
func NewGetResultSummaryRequest() (request *GetResultSummaryRequest)
func (*GetResultSummaryRequest) FromJsonString ¶
func (r *GetResultSummaryRequest) FromJsonString(s string) error
func (*GetResultSummaryRequest) ToJsonString ¶
func (r *GetResultSummaryRequest) ToJsonString() string
type GetResultSummaryResponse ¶
type GetResultSummaryResponse struct { *tchttp.BaseResponse Response *struct { // 实时统计数据 RealData []*ResultSummary `json:"RealData,omitempty" name:"RealData" list` // 按天的统计数据 DayData []*ResultSummary `json:"DayData,omitempty" name:"DayData" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetResultSummaryResponse ¶
func NewGetResultSummaryResponse() (response *GetResultSummaryResponse)
func (*GetResultSummaryResponse) FromJsonString ¶
func (r *GetResultSummaryResponse) FromJsonString(s string) error
func (*GetResultSummaryResponse) ToJsonString ¶
func (r *GetResultSummaryResponse) ToJsonString() string
type GetReturnCodeHistoryRequest ¶
type GetReturnCodeHistoryRequest struct { *tchttp.BaseRequest // 正整数。验证成功的拨测任务id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 开始时间点。格式如:2017-05-09 10:20:00。注意,BeginTime 和 EndTime 需要在同一天 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 结束时间点。格式如:2017-05-09 10:25:00。注意,BeginTime 和 EndTime 需要在同一天 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 省份名称的全拼 Province *string `json:"Province,omitempty" name:"Province"` }
func NewGetReturnCodeHistoryRequest ¶
func NewGetReturnCodeHistoryRequest() (request *GetReturnCodeHistoryRequest)
func (*GetReturnCodeHistoryRequest) FromJsonString ¶
func (r *GetReturnCodeHistoryRequest) FromJsonString(s string) error
func (*GetReturnCodeHistoryRequest) ToJsonString ¶
func (r *GetReturnCodeHistoryRequest) ToJsonString() string
type GetReturnCodeHistoryResponse ¶
type GetReturnCodeHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 拨测失败详情列表 Details []*CatReturnDetail `json:"Details,omitempty" name:"Details" list` // 拨测失败汇总列表 Summary []*CatReturnSummary `json:"Summary,omitempty" name:"Summary" list` // 开始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 截至时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetReturnCodeHistoryResponse ¶
func NewGetReturnCodeHistoryResponse() (response *GetReturnCodeHistoryResponse)
func (*GetReturnCodeHistoryResponse) FromJsonString ¶
func (r *GetReturnCodeHistoryResponse) FromJsonString(s string) error
func (*GetReturnCodeHistoryResponse) ToJsonString ¶
func (r *GetReturnCodeHistoryResponse) ToJsonString() string
type GetReturnCodeInfoRequest ¶
type GetReturnCodeInfoRequest struct { *tchttp.BaseRequest // 正整数。验证成功的拨测任务id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 开始时间点。格式如:2017-05-09 10:20:00,最多拉群两天的数据 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 结束时间点。格式如:2017-05-09 10:25:00,最多拉群两天的数据 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 省份名称的全拼 Province *string `json:"Province,omitempty" name:"Province"` }
func NewGetReturnCodeInfoRequest ¶
func NewGetReturnCodeInfoRequest() (request *GetReturnCodeInfoRequest)
func (*GetReturnCodeInfoRequest) FromJsonString ¶
func (r *GetReturnCodeInfoRequest) FromJsonString(s string) error
func (*GetReturnCodeInfoRequest) ToJsonString ¶
func (r *GetReturnCodeInfoRequest) ToJsonString() string
type GetReturnCodeInfoResponse ¶
type GetReturnCodeInfoResponse struct { *tchttp.BaseResponse Response *struct { // 拨测失败详情列表 Details []*CatReturnDetail `json:"Details,omitempty" name:"Details" list` // 拨测失败汇总列表 Summary []*CatReturnSummary `json:"Summary,omitempty" name:"Summary" list` // 开始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 截至时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetReturnCodeInfoResponse ¶
func NewGetReturnCodeInfoResponse() (response *GetReturnCodeInfoResponse)
func (*GetReturnCodeInfoResponse) FromJsonString ¶
func (r *GetReturnCodeInfoResponse) FromJsonString(s string) error
func (*GetReturnCodeInfoResponse) ToJsonString ¶
func (r *GetReturnCodeInfoResponse) ToJsonString() string
type GetTaskTotalNumberRequest ¶
type GetTaskTotalNumberRequest struct {
*tchttp.BaseRequest
}
func NewGetTaskTotalNumberRequest ¶
func NewGetTaskTotalNumberRequest() (request *GetTaskTotalNumberRequest)
func (*GetTaskTotalNumberRequest) FromJsonString ¶
func (r *GetTaskTotalNumberRequest) FromJsonString(s string) error
func (*GetTaskTotalNumberRequest) ToJsonString ¶
func (r *GetTaskTotalNumberRequest) ToJsonString() string
type GetTaskTotalNumberResponse ¶
type GetTaskTotalNumberResponse struct { *tchttp.BaseResponse Response *struct { // 拨测任务总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTaskTotalNumberResponse ¶
func NewGetTaskTotalNumberResponse() (response *GetTaskTotalNumberResponse)
func (*GetTaskTotalNumberResponse) FromJsonString ¶
func (r *GetTaskTotalNumberResponse) FromJsonString(s string) error
func (*GetTaskTotalNumberResponse) ToJsonString ¶
func (r *GetTaskTotalNumberResponse) ToJsonString() string
type ModifyAgentGroupRequest ¶
type ModifyAgentGroupRequest struct { *tchttp.BaseRequest // 拨测分组ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // 拨测分组名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 是否为默认分组。取值可为0,1。取 1 时表示设置为默认分组 IsDefault *int64 `json:"IsDefault,omitempty" name:"IsDefault"` // Province, Isp 需要成对地进行选择。参数对的取值范围。参见:DescribeAgents 的返回结果。 Agents []*CatAgent `json:"Agents,omitempty" name:"Agents" list` }
func NewModifyAgentGroupRequest ¶
func NewModifyAgentGroupRequest() (request *ModifyAgentGroupRequest)
func (*ModifyAgentGroupRequest) FromJsonString ¶
func (r *ModifyAgentGroupRequest) FromJsonString(s string) error
func (*ModifyAgentGroupRequest) ToJsonString ¶
func (r *ModifyAgentGroupRequest) ToJsonString() string
type ModifyAgentGroupResponse ¶
type ModifyAgentGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAgentGroupResponse ¶
func NewModifyAgentGroupResponse() (response *ModifyAgentGroupResponse)
func (*ModifyAgentGroupResponse) FromJsonString ¶
func (r *ModifyAgentGroupResponse) FromJsonString(s string) error
func (*ModifyAgentGroupResponse) ToJsonString ¶
func (r *ModifyAgentGroupResponse) ToJsonString() string
type ModifyTaskExRequest ¶
type ModifyTaskExRequest struct { *tchttp.BaseRequest // http, https, ping, tcp, ftp, smtp, udp, dns 之一 CatTypeName *string `json:"CatTypeName,omitempty" name:"CatTypeName"` // 拨测的URL,例如:www.qq.com (URL域名解析需要能解析出具体的IP) Url *string `json:"Url,omitempty" name:"Url"` // 拨测周期。取值可为1,5,15,30之一, 单位:分钟。精度不能低于用户等级规定的最小精度 Period *uint64 `json:"Period,omitempty" name:"Period"` // 拨测任务名称不能超过32个字符。同一个用户创建的任务名不可重复 TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // 验证成功的拨测任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 拨测分组ID,体现本拨测任务要采用哪些运营商作为拨测源。一般可直接填写本用户的默认拨测分组。参见:DescribeAgentGroupList 接口,本参数使用返回结果里的GroupId的值。注意,Type为0时,AgentGroupId为必填 AgentGroupId *uint64 `json:"AgentGroupId,omitempty" name:"AgentGroupId"` // 指定域名(如需要) Host *string `json:"Host,omitempty" name:"Host"` // 拨测目标的端口号 Port *uint64 `json:"Port,omitempty" name:"Port"` // 是否为Header请求(非0 发起Header 请求。为0,且PostData非空,发起POST请求。为0,PostData为空,发起GET请求) IsHeader *uint64 `json:"IsHeader,omitempty" name:"IsHeader"` // URL中含有"https"时有用。缺省为SSLv23。需要为 TLSv1_2, TLSv1_1, TLSv1, SSLv2, SSLv23, SSLv3 之一 SslVer *string `json:"SslVer,omitempty" name:"SslVer"` // POST 请求数据,空字符串表示非POST请求 PostData *string `json:"PostData,omitempty" name:"PostData"` // 用户Agent信息 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // 要在结果中进行匹配的字符串 CheckStr *string `json:"CheckStr,omitempty" name:"CheckStr"` // 1 表示通过检查结果是否包含CheckStr 进行校验 CheckType *uint64 `json:"CheckType,omitempty" name:"CheckType"` // 需要设置的Cookie信息 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` // 登录服务器的账号。如果为空字符串,表示不用校验用户密码。只做简单连接服务器的拨测 UserName *string `json:"UserName,omitempty" name:"UserName"` // 登录服务器的密码 PassWord *string `json:"PassWord,omitempty" name:"PassWord"` // 缺省为0,0 表示请求为字符串类型, 1表示为二进制类型 ReqDataType *uint64 `json:"ReqDataType,omitempty" name:"ReqDataType"` // 发起TCP, UDP请求的协议请求数据 ReqData *string `json:"ReqData,omitempty" name:"ReqData"` // 缺省为0。0 表示请求为字符串类型。1表示为二进制类型 RespDataType *string `json:"RespDataType,omitempty" name:"RespDataType"` // 预期的UDP请求的回应数据。字符串型,只需要返回的结果里包含本字符串算校验通过。二进制型,则需要严格等于才算通过 RespData *string `json:"RespData,omitempty" name:"RespData"` // 目的DNS服务器,可以为空字符串 DnsSvr *string `json:"DnsSvr,omitempty" name:"DnsSvr"` // 需要检验是否在DNS IP列表的IP。可以为空字符串,表示不校验 DnsCheckIp *string `json:"DnsCheckIp,omitempty" name:"DnsCheckIp"` // 需要为下列值之一。缺省为A。A, MX, NS, CNAME, TXT, ANY DnsQueryType *string `json:"DnsQueryType,omitempty" name:"DnsQueryType"` // 是否使用安全链接SSL, 0 不使用,1 使用 UseSecConn *uint64 `json:"UseSecConn,omitempty" name:"UseSecConn"` // FTP登录验证方式, 0 不验证 1 匿名登录 2 需要身份验证 NeedAuth *uint64 `json:"NeedAuth,omitempty" name:"NeedAuth"` // Type=0 默认 (站点监控) Type=2 可用率监控 Type *uint64 `json:"Type,omitempty" name:"Type"` // 跟随跳转次数,取值范围0-5,不传则表示不跟随 RedirectFollowNum *uint64 `json:"RedirectFollowNum,omitempty" name:"RedirectFollowNum"` }
func NewModifyTaskExRequest ¶
func NewModifyTaskExRequest() (request *ModifyTaskExRequest)
func (*ModifyTaskExRequest) FromJsonString ¶
func (r *ModifyTaskExRequest) FromJsonString(s string) error
func (*ModifyTaskExRequest) ToJsonString ¶
func (r *ModifyTaskExRequest) ToJsonString() string
type ModifyTaskExResponse ¶
type ModifyTaskExResponse struct { *tchttp.BaseResponse Response *struct { // 拨测任务ID。验证通过后,创建任务时使用,传递给CreateTask 接口。 TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyTaskExResponse ¶
func NewModifyTaskExResponse() (response *ModifyTaskExResponse)
func (*ModifyTaskExResponse) FromJsonString ¶
func (r *ModifyTaskExResponse) FromJsonString(s string) error
func (*ModifyTaskExResponse) ToJsonString ¶
func (r *ModifyTaskExResponse) ToJsonString() string
type PauseTaskRequest ¶
type PauseTaskRequest struct { *tchttp.BaseRequest // 拨测任务id TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewPauseTaskRequest ¶
func NewPauseTaskRequest() (request *PauseTaskRequest)
func (*PauseTaskRequest) FromJsonString ¶
func (r *PauseTaskRequest) FromJsonString(s string) error
func (*PauseTaskRequest) ToJsonString ¶
func (r *PauseTaskRequest) ToJsonString() string
type PauseTaskResponse ¶
type PauseTaskResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewPauseTaskResponse ¶
func NewPauseTaskResponse() (response *PauseTaskResponse)
func (*PauseTaskResponse) FromJsonString ¶
func (r *PauseTaskResponse) FromJsonString(s string) error
func (*PauseTaskResponse) ToJsonString ¶
func (r *PauseTaskResponse) ToJsonString() string
type ProvinceDetail ¶
type ProvinceDetail struct { // 可用率 AvgAvailRatio *float64 `json:"AvgAvailRatio,omitempty" name:"AvgAvailRatio"` // 省份名称 ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // 省份英文名称 Mapkey *string `json:"Mapkey,omitempty" name:"Mapkey"` // 统计时间点 TimeStamp *string `json:"TimeStamp,omitempty" name:"TimeStamp"` // 分运营商可用率 IspDetail []*IspDetail `json:"IspDetail,omitempty" name:"IspDetail" list` // 平均耗时,单位毫秒 AvgTime *float64 `json:"AvgTime,omitempty" name:"AvgTime"` // 省份 Province *string `json:"Province,omitempty" name:"Province"` }
type ResultSummary ¶
type ResultSummary struct { // 统计时间 LogTime *string `json:"LogTime,omitempty" name:"LogTime"` // 任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 实时可用率 AvailRatio *float64 `json:"AvailRatio,omitempty" name:"AvailRatio"` // 实时响应时间 ReponseTime *float64 `json:"ReponseTime,omitempty" name:"ReponseTime"` }
type RunTaskRequest ¶
type RunTaskRequest struct { *tchttp.BaseRequest // 任务Id TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewRunTaskRequest ¶
func NewRunTaskRequest() (request *RunTaskRequest)
func (*RunTaskRequest) FromJsonString ¶
func (r *RunTaskRequest) FromJsonString(s string) error
func (*RunTaskRequest) ToJsonString ¶
func (r *RunTaskRequest) ToJsonString() string
type RunTaskResponse ¶
type RunTaskResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRunTaskResponse ¶
func NewRunTaskResponse() (response *RunTaskResponse)
func (*RunTaskResponse) FromJsonString ¶
func (r *RunTaskResponse) FromJsonString(s string) error
func (*RunTaskResponse) ToJsonString ¶
func (r *RunTaskResponse) ToJsonString() string
type TaskAlarm ¶
type TaskAlarm struct { // 任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 任务名称 TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // 任务周期,单位为分钟。目前支持1,5,15,30几种取值 Period *uint64 `json:"Period,omitempty" name:"Period"` // 拨测类型。http, https, ping, tcp, udp, smtp, pop3, dns 之一 CatTypeName *string `json:"CatTypeName,omitempty" name:"CatTypeName"` // 任务状态。1表示暂停,2表示运行中,0为初始态 Status *uint64 `json:"Status,omitempty" name:"Status"` // 拨测任务的URL CgiUrl *string `json:"CgiUrl,omitempty" name:"CgiUrl"` // 任务创建时间 AddTime *string `json:"AddTime,omitempty" name:"AddTime"` // 告警状态。1 故障,0 正常 AlarmStatus *uint64 `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // 告警状态描述,统计信息 StatusInfo *string `json:"StatusInfo,omitempty" name:"StatusInfo"` // 任务更新时间 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type VerifyResultRequest ¶
type VerifyResultRequest struct { *tchttp.BaseRequest // 要查询的拨测任务的结果id ResultId *uint64 `json:"ResultId,omitempty" name:"ResultId"` }
func NewVerifyResultRequest ¶
func NewVerifyResultRequest() (request *VerifyResultRequest)
func (*VerifyResultRequest) FromJsonString ¶
func (r *VerifyResultRequest) FromJsonString(s string) error
func (*VerifyResultRequest) ToJsonString ¶
func (r *VerifyResultRequest) ToJsonString() string
type VerifyResultResponse ¶
type VerifyResultResponse struct { *tchttp.BaseResponse Response *struct { // 错误的原因 ErrorReason *string `json:"ErrorReason,omitempty" name:"ErrorReason"` // 错误号 ResultCode *int64 `json:"ResultCode,omitempty" name:"ResultCode"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewVerifyResultResponse ¶
func NewVerifyResultResponse() (response *VerifyResultResponse)
func (*VerifyResultResponse) FromJsonString ¶
func (r *VerifyResultResponse) FromJsonString(s string) error
func (*VerifyResultResponse) ToJsonString ¶
func (r *VerifyResultResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.