models

package
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alarm

type Alarm struct {

	/* 规则实例ID (Optional) */
	AlarmId string `json:"alarmId"`

	/* 规则名称 (Optional) */
	Name string `json:"name"`

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 资源类型 bandwidth:带宽 (Optional) */
	ResourceType string `json:"resourceType"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 监控项英文标识 (Optional) */
	Metric string `json:"metric"`

	/* 监控项名称 (Optional) */
	MetricName string `json:"metricName"`

	/* 统计周期(单位:分钟) (Optional) */
	Period int `json:"period"`

	/* 统计方法:平均值=avg、最大值=max、最小值=min (Optional) */
	StatisticMethod string `json:"statisticMethod"`

	/* 计算方式 >=、>、<、<=、=、!= (Optional) */
	Operator string `json:"operator"`

	/* 阈值 (Optional) */
	Threshold float64 `json:"threshold"`

	/* 连续多少次后报警 (Optional) */
	Times int `json:"times"`

	/* 通知周期 单位:小时 (Optional) */
	NoticePeriod int `json:"noticePeriod"`

	/* 规则状态 disabled:禁用 enabled:启用 (Optional) */
	Status string `json:"status"`

	/* 交换机信息 (Optional) */
	Switchboard []Switchboard `json:"switchboard"`
}

type AlarmHistory

type AlarmHistory struct {

	/* 规则实例ID (Optional) */
	AlarmId string `json:"alarmId"`

	/* 规则名称 (Optional) */
	Name string `json:"name"`

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 资源类型 bandwidth:带宽 (Optional) */
	ResourceType string `json:"resourceType"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 监控项英文标识 (Optional) */
	Metric string `json:"metric"`

	/* 监控项名称 (Optional) */
	MetricName string `json:"metricName"`

	/* 统计周期(单位:分钟) (Optional) */
	Period int `json:"period"`

	/* 统计方法:平均值=avg、最大值=max、最小值=min (Optional) */
	StatisticMethod string `json:"statisticMethod"`

	/* 计算方式 >=、>、<、<=、=、!= (Optional) */
	Operator string `json:"operator"`

	/* 阈值 (Optional) */
	Threshold float64 `json:"threshold"`

	/* 连续多少次后报警 (Optional) */
	Times int `json:"times"`

	/* 通知周期 单位:小时 (Optional) */
	NoticePeriod int `json:"noticePeriod"`

	/* 规则状态 disabled:禁用 enabled:启用 (Optional) */
	Status string `json:"status"`

	/* IP地址 (Optional) */
	ManagementIp string `json:"managementIp"`

	/* 端口名称 (Optional) */
	IfName string `json:"ifName"`

	/* 报警状态 normal:正常 alarm:报警 (Optional) */
	AlarmStatus string `json:"alarmStatus"`

	/* 报警值 (Optional) */
	Value float64 `json:"value"`

	/* 报警时间 遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	NoticeTime string `json:"noticeTime"`

	/* 报警条件 (Optional) */
	Condition string `json:"condition"`

	/* 策略ID (Optional) */
	StrategyId int `json:"strategyId"`
}

type Attach added in v1.41.0

type Attach struct {

	/* 附件名 (Optional) */
	AttachName *string `json:"attachName"`

	/* 附件地址 (Optional) */
	AttachPath *string `json:"attachPath"`
}

type Bandwidth

type Bandwidth struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 带宽实例ID (Optional) */
	BandwidthId string `json:"bandwidthId"`

	/* 带宽名称 (Optional) */
	BandwidthName string `json:"bandwidthName"`

	/* 状态 normal:正常 abnormal:异常 (Optional) */
	Status string `json:"status"`

	/* 线路类型 dynamicBGP:动态BGP thirdLineBGP:三线BGP telecom:电信单线 unicom:联通单线 mobile:移动单线 (Optional) */
	LineType string `json:"lineType"`

	/* 计费方式
	fixedBandwidth:固定带宽
	95thPercentile:95峰值(IN,OUT统一计算95)
	merge95thPercentile:95峰值(多出口合并计费)
	95thPercentileSeparate:95峰值(IN,OUT分别计算95,取较大者)
	merge95thPercentileAvg:日95峰值月平均(多出口合并计费)
	 (Optional) */
	ChargeType string `json:"chargeType"`

	/* 合同带宽(Mbps) (Optional) */
	Bandwidth int `json:"bandwidth"`

	/* 关联的公网IP (Optional) */
	RelatedIp []RelatedIp `json:"relatedIp"`

	/* 交换机信息 (Optional) */
	Switchboard []Switchboard `json:"switchboard"`
}

type BandwidthOverview added in v1.41.0

type BandwidthOverview struct {

	/* 带宽(出口)总数目 (Optional) */
	Sum int `json:"sum"`

	/* 动态BGP (Optional) */
	DynamicBGP int `json:"dynamicBGP"`

	/* 三线BGP (Optional) */
	ThirdLineBGP int `json:"thirdLineBGP"`

	/* 电信单线 (Optional) */
	Telecom int `json:"telecom"`

	/* 联通单线 (Optional) */
	Unicom int `json:"unicom"`

	/* 移动单线 (Optional) */
	Mobile int `json:"mobile"`
}

type BandwidthTraffic

type BandwidthTraffic struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 带宽实例ID (Optional) */
	BandwidthId string `json:"bandwidthId"`

	/* 带宽名称 (Optional) */
	BandwidthName string `json:"bandwidthName"`

	/* 总上行实时流量 (Optional) */
	TotalTrafficIn float64 `json:"totalTrafficIn"`

	/* 总下行实时流量 (Optional) */
	TotalTrafficOut float64 `json:"totalTrafficOut"`

	/* 总带宽 (Optional) */
	Bandwidth int `json:"bandwidth"`

	/* 线路类型 dynamicBGP:动态BGP thirdLineBGP:三线BGP telecom:电信单线 unicom:联通单线 mobile:移动单线 (Optional) */
	LineType string `json:"lineType"`

	/* 关联的公网IP (Optional) */
	RelatedIp []RelatedIp `json:"relatedIp"`

	/* 交换机信息 (Optional) */
	Switchboard []DescribeSwitchboard `json:"switchboard"`
}

type Cabinet

type Cabinet struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 机柜Id (Optional) */
	CabinetId string `json:"cabinetId"`

	/* 机柜编码 (Optional) */
	CabinetNo string `json:"cabinetNo"`

	/* 房间号 (Optional) */
	RoomNo string `json:"roomNo"`

	/* 机柜空间(U) (Optional) */
	CabinetSpace int `json:"cabinetSpace"`

	/* 额定电流(A) (Optional) */
	CabinetPower int `json:"cabinetPower"`

	/* 机柜类型 formal:正式机柜 reserved:预留机柜 (Optional) */
	CabinetType string `json:"cabinetType"`

	/* 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关电中 (Optional) */
	CabinetOpenStatus string `json:"cabinetOpenStatus"`

	/* 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	CabinetOpenTime string `json:"cabinetOpenTime"`

	/* 到期时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ExpireTime string `json:"expireTime"`

	/* 预留开始时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ReserveStartTime string `json:"reserveStartTime"`

	/* 预留结束时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ReserveEndTime string `json:"reserveEndTime"`

	/* 设备数量 (Optional) */
	DeviceNum int `json:"deviceNum"`

	/* 占用U数(U) (Optional) */
	RackUOccupy int `json:"rackUOccupy"`

	/* 空闲U数(U) (Optional) */
	RackUFree int `json:"rackUFree"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性(目前仅支持包年包月) (Optional) */
	BillingType int `json:"billingType"`
}

type CabinetOverview added in v1.41.0

type CabinetOverview struct {

	/* 机柜总数目 (Optional) */
	Sum int `json:"sum"`

	/* 已开通机柜数目 (Optional) */
	Enabled int `json:"enabled"`

	/* 未开通机柜数目 (Optional) */
	Disabled int `json:"disabled"`

	/* 开通中机柜数目 (Optional) */
	Enabling int `json:"enabling"`

	/* 关闭中机柜数目 (Optional) */
	Disabling int `json:"disabling"`
}

type CreateAlarmSpec added in v1.41.0

type CreateAlarmSpec struct {

	/* idc机房实例ID (Optional) */
	Idc string `json:"idc"`

	/* 资源类型,bandwidth:带宽 (Optional) */
	ResourceType string `json:"resourceType"`

	/* 带宽实例ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 规则名称 (Optional) */
	Name string `json:"name"`

	/* 监控项,bandwidthTrafficIn:上行实时流量 bandwidthTrafficOut:下行实时流量 (Optional) */
	Metric string `json:"metric"`

	/* 统计周期(单位:分钟) (Optional) */
	Period int `json:"period"`

	/* 统计方法:平均值=avg、最大值=max、最小值=min (Optional) */
	StatisticMethod string `json:"statisticMethod"`

	/* 计算方式 >=、>、<、<=、=、!= (Optional) */
	Operator string `json:"operator"`

	/* 阈值 (Optional) */
	Threshold float64 `json:"threshold"`

	/* 连续多少次后报警 (Optional) */
	Times int `json:"times"`

	/* 通知周期 单位:小时 (Optional) */
	NoticePeriod int `json:"noticePeriod"`

	/* 规则状态 disabled:禁用 enabled:启用 (Optional) */
	Status string `json:"status"`

	/* 通知方式 all:全部 sms:短信 email:邮件 (Optional) */
	NoticeMethod string `json:"noticeMethod"`

	/* 通知对象 all:全部 persons:个人 groups:角色组 (Optional) */
	NoticeObj string `json:"noticeObj"`

	/* 通知对象用户ID,若多个用逗号分隔 (Optional) */
	UserId string `json:"userId"`
}

type CreateGeneralServicesTicket added in v1.41.0

type CreateGeneralServicesTicket struct {

	/* 提单人手机号 (Optional) */
	Phone string `json:"phone"`

	/* 提单人邮箱 (Optional) */
	Email string `json:"email"`

	/* idc机房实例id (Optional) */
	Idc string `json:"idc"`

	/* 是否是商业化外部机房 (Optional) */
	IsExternalIdc bool `json:"isExternalIdc"`

	/* 数量 (Optional) */
	Count int `json:"count"`

	/* 外部机房地址 (Optional) */
	ExternalIdcAddress string `json:"externalIdcAddress"`

	/* 外部机房联系人 (Optional) */
	ExternalIdcContactPerson string `json:"externalIdcContactPerson"`

	/* 外部机房联系电话 (Optional) */
	ExternalIdcContactPhone string `json:"externalIdcContactPhone"`

	/* 描述 (Optional) */
	Remarks string `json:"remarks"`

	/* 附件 (Optional) */
	Attach []Attach `json:"attach"`
}

type DataPoint

type DataPoint struct {

	/* UNIX时间戳 (Optional) */
	Timestamp int `json:"timestamp"`

	/* 采样值 (Optional) */
	Value float64 `json:"value"`
}

type DescribeAlarm

type DescribeAlarm struct {

	/* 规则实例ID (Optional) */
	AlarmId string `json:"alarmId"`

	/* 规则名称 (Optional) */
	Name string `json:"name"`

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 资源类型 bandwidth:带宽 (Optional) */
	ResourceType string `json:"resourceType"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 监控项英文标识 (Optional) */
	Metric string `json:"metric"`

	/* 监控项名称 (Optional) */
	MetricName string `json:"metricName"`

	/* 统计周期(单位:分钟) (Optional) */
	Period int `json:"period"`

	/* 统计方法:平均值=avg、最大值=max、最小值=min (Optional) */
	StatisticMethod string `json:"statisticMethod"`

	/* 计算方式 >=、>、<、<=、=、!= (Optional) */
	Operator string `json:"operator"`

	/* 阈值 (Optional) */
	Threshold float64 `json:"threshold"`

	/* 连续多少次后报警 (Optional) */
	Times int `json:"times"`

	/* 通知周期 单位:小时 (Optional) */
	NoticePeriod int `json:"noticePeriod"`

	/* 规则状态 disabled:禁用 enabled:启用 (Optional) */
	Status string `json:"status"`
}

type DescribeBandwidth

type DescribeBandwidth struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 带宽实例ID (Optional) */
	BandwidthId string `json:"bandwidthId"`

	/* 带宽名称 (Optional) */
	BandwidthName string `json:"bandwidthName"`

	/* 状态 normal:正常 abnormal:异常 (Optional) */
	Status string `json:"status"`

	/* 线路类型 dynamicBGP:动态BGP thirdLineBGP:三线BGP telecom:电信单线 unicom:联通单线 mobile:移动单线 (Optional) */
	LineType string `json:"lineType"`

	/* 计费方式
	fixedBandwidth:固定带宽
	95thPercentile:95峰值(IN,OUT统一计算95)
	merge95thPercentile:95峰值(多出口合并计费)
	95thPercentileSeparate:95峰值(IN,OUT分别计算95,取较大者)
	merge95thPercentileAvg:日95峰值月平均(多出口合并计费)
	 (Optional) */
	ChargeType string `json:"chargeType"`

	/* 合同带宽(Mbps) (Optional) */
	Bandwidth int `json:"bandwidth"`

	/* 关联的公网IP (Optional) */
	RelatedIp []RelatedIp `json:"relatedIp"`

	/* 交换机信息 (Optional) */
	Switchboard []Switchboard `json:"switchboard"`
}

type DescribeBandwidthTraffic

type DescribeBandwidthTraffic struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 带宽实例ID (Optional) */
	BandwidthId string `json:"bandwidthId"`

	/* 带宽名称 (Optional) */
	BandwidthName string `json:"bandwidthName"`

	/* 总上行实时流量 (Optional) */
	TotalTrafficIn float64 `json:"totalTrafficIn"`

	/* 总下行实时流量 (Optional) */
	TotalTrafficOut float64 `json:"totalTrafficOut"`

	/* 总带宽 (Optional) */
	Bandwidth int `json:"bandwidth"`
}

type DescribeCabinet

type DescribeCabinet struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 机柜Id (Optional) */
	CabinetId string `json:"cabinetId"`

	/* 机柜编码 (Optional) */
	CabinetNo string `json:"cabinetNo"`

	/* 房间号 (Optional) */
	RoomNo string `json:"roomNo"`

	/* 机柜空间(U) (Optional) */
	CabinetSpace int `json:"cabinetSpace"`

	/* 额定电流(A) (Optional) */
	CabinetPower int `json:"cabinetPower"`

	/* 机柜类型 formal:正式机柜 reserved:预留机柜 (Optional) */
	CabinetType string `json:"cabinetType"`

	/* 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关电中 (Optional) */
	CabinetOpenStatus string `json:"cabinetOpenStatus"`

	/* 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	CabinetOpenTime string `json:"cabinetOpenTime"`

	/* 到期时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ExpireTime string `json:"expireTime"`

	/* 预留开始时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ReserveStartTime string `json:"reserveStartTime"`

	/* 预留结束时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ReserveEndTime string `json:"reserveEndTime"`
}

type DescribeDevice

type DescribeDevice struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 设备Id (Optional) */
	DeviceId string `json:"deviceId"`

	/* 设备编码 (Optional) */
	DeviceNo string `json:"deviceNo"`

	/* 设备SN号 (Optional) */
	SnNo string `json:"snNo"`

	/* 机柜编码 (Optional) */
	CabinetNo string `json:"cabinetNo"`

	/* 所在U位 (Optional) */
	RackUIndex string `json:"rackUIndex"`

	/* U数(U) (Optional) */
	UNum int `json:"uNum"`

	/* 品牌 (Optional) */
	Brand string `json:"brand"`

	/* 型号 (Optional) */
	Model string `json:"model"`

	/* 设备类型 server:服务器 network:网络设备 storage:存储设备 other:其他设备 (Optional) */
	DeviceType string `json:"deviceType"`

	/* 资产归属 own:自备 lease:租赁 (Optional) */
	AssetBelong string `json:"assetBelong"`

	/* 资产状态 launched:已上架 opened:已开通 canceling:退订中 operating:操作中 modifying:变更中 (Optional) */
	AssetStatus string `json:"assetStatus"`

	/* 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	DeviceOpenTime string `json:"deviceOpenTime"`
}

type DescribeSwitchboard added in v1.17.0

type DescribeSwitchboard struct {

	/* IP (Optional) */
	Ip string `json:"ip"`

	/* 端口 (Optional) */
	Port string `json:"port"`

	/* 上行实时流量 (Optional) */
	TrafficIn float64 `json:"trafficIn"`

	/* 下行实时流量 (Optional) */
	TrafficOut float64 `json:"trafficOut"`

	/* 报警状态 normal:正常 alarm:报警 (Optional) */
	AlarmStatus string `json:"alarmStatus"`
}

type Device

type Device struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 设备Id (Optional) */
	DeviceId string `json:"deviceId"`

	/* 设备编码 (Optional) */
	DeviceNo string `json:"deviceNo"`

	/* 设备SN号 (Optional) */
	SnNo string `json:"snNo"`

	/* 机柜编码 (Optional) */
	CabinetNo string `json:"cabinetNo"`

	/* 所在U位 (Optional) */
	RackUIndex string `json:"rackUIndex"`

	/* U数(U) (Optional) */
	UNum int `json:"uNum"`

	/* 品牌 (Optional) */
	Brand string `json:"brand"`

	/* 型号 (Optional) */
	Model string `json:"model"`

	/* 系统IP (Optional) */
	SysIp string `json:"sysIp"`

	/* 管理IP (Optional) */
	ManageIp string `json:"manageIp"`

	/* 设备类型 server:服务器 network:网络设备 storage:存储设备 other:其他设备 (Optional) */
	DeviceType string `json:"deviceType"`

	/* 资产归属 own:自备 lease:租赁 (Optional) */
	AssetBelong string `json:"assetBelong"`

	/* 资产状态 launched:已上架 opened:已开通 canceling:退订中 operating:操作中 modifying:变更中 (Optional) */
	AssetStatus string `json:"assetStatus"`

	/* 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	DeviceOpenTime string `json:"deviceOpenTime"`

	/* CPU (Optional) */
	CpuCore string `json:"cpuCore"`

	/* 内存 (Optional) */
	Memory string `json:"memory"`

	/* 磁盘 (Optional) */
	Disk string `json:"disk"`
}

type DeviceOverview added in v1.41.0

type DeviceOverview struct {

	/* 设备总数目 (Optional) */
	Sum int `json:"sum"`

	/* 服务器总数目 (Optional) */
	Server int `json:"server"`

	/* 网络设备总数目 (Optional) */
	Network int `json:"network"`

	/* 存储设备总数目 (Optional) */
	Storage int `json:"storage"`

	/* 其它设备总数目 (Optional) */
	Other int `json:"other"`
}

type Idc

type Idc struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 是否是商业化外部机房 (Optional) */
	IsExternalIdc bool `json:"isExternalIdc"`
}

type Ip

type Ip struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 公网IP实例ID (Optional) */
	IpId string `json:"ipId"`

	/* IP地址段 (Optional) */
	CidrAddr string `json:"cidrAddr"`

	/* IP数量 (Optional) */
	IpQuantity string `json:"ipQuantity"`

	/* IP类型 IPV4/IPV6 (Optional) */
	IpType string `json:"ipType"`

	/* 网络位地址 (Optional) */
	NetworkAddr string `json:"networkAddr"`

	/* 网关地址 (Optional) */
	GatewayAddr string `json:"gatewayAddr"`

	/* 广播地址 (Optional) */
	BroadcastAddr string `json:"broadcastAddr"`

	/* 线路类型 dynamicBGP:动态BGP thirdLineBGP:三线BGP telecom:电信单线 unicom:联通单线 mobile:移动单线 (Optional) */
	LineType string `json:"lineType"`

	/* 状态 normal:正常 abnormal:异常 (Optional) */
	Status string `json:"status"`
}

type IpOverview added in v1.41.0

type IpOverview struct {

	/* 公网IP总数目 (Optional) */
	Sum int `json:"sum"`

	/* 正常IP总数目 (Optional) */
	Normal int `json:"normal"`

	/* 异常IP总数目 (Optional) */
	Abnormal int `json:"abnormal"`
}

type LastDownsampleRespItem

type LastDownsampleRespItem struct {

	/* 监控项英文标识 (Optional) */
	Metric string `json:"metric"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 采样值 (Optional) */
	Value float64 `json:"value"`
}

type Metric

type Metric struct {

	/* 监控项英文标识 (Optional) */
	Metric string `json:"metric"`

	/* 监控项名称 (Optional) */
	MetricName string `json:"metricName"`
}

type MetricData

type MetricData struct {

	/*  (Optional) */
	Data []DataPoint `json:"data"`

	/*  (Optional) */
	Statistic Statistic `json:"statistic"`

	/*  (Optional) */
	Metric Metric `json:"metric"`
}

type RelatedIp added in v1.17.0

type RelatedIp struct {

	/* IP地址段 (Optional) */
	CidrAddr string `json:"cidrAddr"`

	/* 线路类型 dynamicBGP:动态BGP thirdLineBGP:三线BGP telecom:电信单线 unicom:联通单线 mobile:移动单线 (Optional) */
	LineType string `json:"lineType"`
}

type Room

type Room struct {

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 房间号 (Optional) */
	RoomNo string `json:"roomNo"`
}

type Statistic

type Statistic struct {

	/* 最大值 (Optional) */
	Max float64 `json:"max"`

	/* 最小值 (Optional) */
	Min float64 `json:"min"`

	/* 平均值 (Optional) */
	Avg float64 `json:"avg"`
}

type SwitchAlarmSpec added in v1.41.0

type SwitchAlarmSpec struct {

	/* 规则状态 disabled:禁用 enabled:启用 (Optional) */
	Status string `json:"status"`
}

type Switchboard added in v1.17.0

type Switchboard struct {

	/* IP (Optional) */
	Ip string `json:"ip"`

	/* 端口 (Optional) */
	Port string `json:"port"`
}

type Ticket

type Ticket struct {

	/* 工单编号 (Optional) */
	TicketNo string `json:"ticketNo"`

	/* 工单名称 (Optional) */
	TicketTemplateName string `json:"ticketTemplateName"`

	/* 工单模板CODE (Optional) */
	TicketTemplateCode string `json:"ticketTemplateCode"`

	/* 工单类型 (Optional) */
	TicketTypeName string `json:"ticketTypeName"`

	/* 工单状态 pendingReview:待审核 已撤销 revoked:已撤销 processing:处理中 pendingVerification:待核验 pendingClose:待关单 rejected:已拒绝 completed:已完成 cancelled:已取消 draft:草稿中 (Optional) */
	Status string `json:"status"`

	/* 描述 (Optional) */
	Description string `json:"description"`

	/* 创建时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 关闭时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ (Optional) */
	ClosedTime string `json:"closedTime"`

	/* 电话 (Optional) */
	Phone string `json:"phone"`

	/* 邮箱 (Optional) */
	Email string `json:"email"`

	/* 机房英文标识 (Optional) */
	Idc string `json:"idc"`

	/* 机房名称 (Optional) */
	IdcName string `json:"idcName"`

	/* 通用服务工单申请数量 (Optional) */
	Count int `json:"count"`

	/* 是否是商业化外部机房 (Optional) */
	IsExternalIdc bool `json:"isExternalIdc"`

	/* 外部机房地址 (Optional) */
	ExternalIdcAddress string `json:"externalIdcAddress"`

	/* 外部机房联系人 (Optional) */
	ExternalIdcContactPerson string `json:"externalIdcContactPerson"`

	/* 外部机房联系电话 (Optional) */
	ExternalIdcContactPhone string `json:"externalIdcContactPhone"`
}

type TrafficSamplingData added in v1.20.0

type TrafficSamplingData struct {

	/* 源IP (Optional) */
	SrcIp string `json:"srcIp"`

	/* 目的IP (Optional) */
	DstIp string `json:"dstIp"`

	/* 源端口 (Optional) */
	SrcPort int `json:"srcPort"`

	/* 目的端口 (Optional) */
	DstPort int `json:"dstPort"`

	/* 采样包长度 (Optional) */
	SampleDataLength int `json:"sampleDataLength"`

	/* 采样比 (Optional) */
	SamplingInterval int `json:"samplingInterval"`

	/* 协议 (Optional) */
	ProtocolName string `json:"protocolName"`

	/* 时间戳 (Optional) */
	Timestamp int `json:"timestamp"`

	/* 唯一ID标识 (Optional) */
	UniqueId string `json:"uniqueId"`

	/* 运营商类型 移动:CM 联通:CU 电信:CT (Optional) */
	OperatorType string `json:"operatorType"`
}

Jump to

Keyboard shortcuts

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