Documentation ¶
Index ¶
- Variables
- type Action
- type ActionCallBack
- type ActionDisableTime
- type ActionMember
- type ActionNotification
- type ActionNotificationType
- type ActionUserInfo
- type AggTag
- type AlarmAction
- type AlarmConfig
- type AlarmConfigV2
- type AlarmInstance
- type AlarmLevel
- type AlarmMetric
- type AlarmMonitorObject
- type AlarmPolicy
- type AlarmRule
- type AlarmRuleV2
- type AlarmType
- type AppAggrTag
- type AppMetric
- type AppMonitorAlarmConfig
- type AppMonitorAlarmRule
- type ApplicationDimensionTableDeleteRequest
- type ApplicationDimensionTableInfoRequest
- type ApplicationDimensionTableInfoResponse
- type ApplicationDimensionTableListRequest
- type ApplicationInfoDeleteRequest
- type ApplicationInfoListResponse
- type ApplicationInfoRequest
- type ApplicationInfoResponse
- type ApplicationInfoUpdateRequest
- type ApplicationInstanceCreateRequest
- type ApplicationInstanceCreatedInfo
- type ApplicationInstanceCreatedListRequest
- type ApplicationInstanceCreatedListResponse
- type ApplicationInstanceDeleteRequest
- type ApplicationInstanceInfo
- type ApplicationInstanceListRequest
- type ApplicationInstanceListResponse
- type ApplicationMonitorTaskDeleteRequest
- type ApplicationMonitorTaskDetailRequest
- type ApplicationMonitorTaskInfoListResponse
- type ApplicationMonitorTaskInfoLogRequest
- type ApplicationMonitorTaskInfoLogResponse
- type ApplicationMonitorTaskInfoNormalResponse
- type ApplicationMonitorTaskInfoRequest
- type ApplicationMonitorTaskInfoUpdateRequest
- type ApplicationMonitorTaskListRequest
- type ApplicationMonitorTaskResponse
- type BatchGetMetricDataRequest
- type BatchGetMetricDataResponse
- type CloudEvent
- type CloudEventResponse
- type CommonAlarmConfigRequest
- type CreateActionRequest
- type CreateActionResponse
- type CreateAlarmPolicyV2Response
- type CreateDNSTask
- type CreateFtpTask
- type CreateHTTPSTask
- type CreateHTTPSTaskResponse
- type CreateHTTPTask
- type CreateHTTPTaskResponse
- type CreatePingTask
- type CreateSiteAlarmConfigRequest
- type CreateSiteAlarmConfigResponse
- type CreateTCPTask
- type CreateTaskResponse
- type CreateUDPTask
- type CustomBatchEventNames
- type CustomBatchIds
- type CustomBatchNames
- type DashboardBaseResponse
- type DashboardBillboardData
- type DashboardBillboardResponse
- type DashboardDataRequest
- type DashboardDimension
- type DashboardDimensionsData
- type DashboardDimensionsRequest
- type DashboardDimensionsResponse
- type DashboardMetric
- type DashboardMonitorObject
- type DashboardNamespace
- type DashboardReportData
- type DashboardReportDataResponse
- type DashboardRequest
- type DashboardResponse
- type DashboardSeniorTrendData
- type DashboardTrendData
- type DashboardTrendResponse
- type DashboardTrendSeniorResponse
- type DashboardWidgetConfigure
- type DashboardWidgetRequest
- type Data
- type DataPoints
- type DeleteActionRequest
- type DeleteActionResponse
- type DeleteAppMonitorAlarmConfigRequest
- type DeleteSiteAlarmConfigRequest
- type DeleteTaskResponse
- type Dimension
- type DimensionFilter
- type DimensionValue
- type ErrorBatchGetMetricData
- type EventDataRequest
- type EventFilter
- type EventPolicy
- type EventResource
- type EventResourceFilter
- type GetAppMonitorAlarmConfigDetailRequest
- type GetAppMonitorAlarmMetricsRequest
- type GetMetricDataForApplicationRequest
- type GetMetricDataForApplicationResult
- type GetMetricDataRequest
- type GetMetricDataResponse
- type GetMetricMetaForApplicationRequest
- type GetSiteAgentByTaskIDResponse
- type GetSiteAgentListRequest
- type GetSiteAgentListResponse
- type GetSiteAgentsResponse
- type GetSiteAlarmConfigListRequest
- type GetSiteAlarmConfigListResponse
- type GetSiteAlarmConfigRequest
- type GetSiteMetricDataRequest
- type GetSiteMetricDataResponse
- type GetSiteViewResponse
- type GetTaskDetailRequest
- type GetTaskDetailResponse
- type GetTaskList
- type GetTaskListRequest
- type GetTaskListResponse
- type HostInstanceInfo
- type IGInstanceItem
- type IGInstanceListResponse
- type IGInstanceQuery
- type InstanceGroup
- type InstanceGroupBase
- type InstanceGroupListResponse
- type InstanceGroupQuery
- type Item
- type Job
- type KV
- type Level
- type ListActionsPageResult
- type ListActionsRequest
- type ListActionsResponse
- type ListAlarmMetricsRequest
- type ListAppMonitorAlarmConfigsRequest
- type ListAppMonitorAlarmConfigsResponse
- type ListNamespaceEventsRequest
- type ListNamespaceEventsResponse
- type ListNamespaceMetricsRequest
- type ListNamespaceMetricsResponse
- type ListNamespacesRequest
- type ListNamespacesResponse
- type ListNotifyGroupsPageResult
- type ListNotifyGroupsRequest
- type ListNotifyGroupsResponse
- type ListNotifyPartiesPageResult
- type ListNotifyPartiesRequest
- type ListNotifyPartiesResponse
- type ListSingleInstanceAlarmConfigsRequest
- type ListSingleInstanceAlarmConfigsResponse
- type LogExtractRequest
- type LogExtractResult
- type MergedGroup
- type Metric
- type MetricDataDimension
- type MetricDimensions
- type MonitorObject
- type MonitorObjectType
- type MonitorObjectViewModel
- type MonitorResource
- type Namespace
- type NamespaceEvent
- type NamespaceItemView
- type NamespaceMetric
- type NamespaceMetricDimension
- type NamespaceWithMetricAndEvent
- type NotifyGroup
- type NotifyParty
- type Numeric
- type Pageable
- type PlatformEventData
- type PlatformEventResponse
- type PolicyResource
- type ScopeValue
- type SiteAlarmRule
- type Sort
- type SrcType
- type Style
- type SubService
- type SuccessBatchGetMetricData
- type TagForTsdb
- type TargetType
- type TimeRange
- type UpdateActionRequest
- type UpdateActionResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var AlarmLevelMap = map[AlarmLevel]bool{ AlarmLevelNotice: true, AlarmLevelWarning: true, AlarmLevelCritical: true, AlarmLevelMajor: true, AlarmLevelCustom: true, }
View Source
var TargetTypeMap = map[TargetType]bool{ TargetTypeAllInstances: true, TargetTypeInstanceGroup: true, TargetTypeMultiInstances: true, TargetTypeInstanceTags: true, }
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { ProductName string `json:"productName,omitempty"` Name string `json:"name,omitempty"` Alias string `json:"alias,omitempty"` Source string `json:"source,omitempty"` Type string `json:"type,omitempty"` DisableTimes []ActionDisableTime `json:"disableTimes,omitempty"` Notifications []ActionNotification `json:"notifications,omitempty"` ActionCallBacks []ActionCallBack `json:"actionCallBacks,omitempty"` Members []ActionMember `json:"members,omitempty"` UserInfos []ActionUserInfo `json:"userInfos,omitempty"` GroupInfos map[string][]*ActionUserInfo `json:"groupInfos,omitempty"` LastModifiedDate string `json:"lastModifiedDate,omitempty"` }
type ActionCallBack ¶
type ActionCallBack struct {
Url string `json:"url,omitempty"`
}
type ActionDisableTime ¶
type ActionMember ¶
type ActionNotification ¶
type ActionNotification struct { Type ActionNotificationType `json:"type,omitempty"` //AliasName string `json:"aliasName,omitempty"` Receiver string `json:"receiver,omitempty"` }
type ActionNotificationType ¶
type ActionNotificationType string
const ( ActionNotificationTypeEmail ActionNotificationType = "EMAIL" ActionNotificationTypePhone ActionNotificationType = "PHONE" ActionNotificationTypeSms ActionNotificationType = "SMS" )
type ActionUserInfo ¶
type AlarmAction ¶
type AlarmConfig ¶
type AlarmConfig struct { AliasName string `json:"aliasName,omitempty"` AlarmName string `json:"alarmName,omitempty"` Level AlarmLevel `json:"level,omitempty"` MonitorObject *AlarmMonitorObject `json:"monitorObject,omitempty"` IncidentActions []string `json:"alarmActions,omitempty"` ResumeAction []string `json:"okActions,omitempty"` InsufficientActions []string `json:"insufficientActions,omitempty"` Region string `json:"region,omitempty"` Scope string `json:"scope,omitempty"` UserId string `json:"userId,omitempty"` Rules [][]*AlarmRule `json:"rules,omitempty"` SrcName string `json:"srcName,omitempty"` SrcType string `json:"srcType,omitempty"` AlarmType string `json:"type,omitempty"` AlarmDescription string `json:"alarmDescription"` EventTypeList []string `json:"eventTypeList,omitempty"` InsufficientCycle int `json:"insufficientCycle,omitempty"` RepeatAlarmCycle int `json:"repeatAlarmCycle,omitempty"` MaxRepeatCount int `json:"maxRepeatCount,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` CallbackToken string `json:"callbackToken,omitempty"` }
type AlarmConfigV2 ¶
type AlarmConfigV2 struct { UserId string `json:"userId,omitempty"` AlarmName string `json:"alarmName,omitempty"` AliasName string `json:"aliasName,omitempty"` Region string `json:"region,omitempty"` Scope string `json:"scope,omitempty"` InsufficientDataPendingPeriod int `json:"insufficientDataPendingPeriod,omitempty"` AlarmRepeatInterval int `json:"alarmRepeatInterval,omitempty"` AlarmRepeatCount int `json:"alarmRepeatCount,omitempty"` ResourceType string `json:"resourceType,omitempty"` AlarmLevel AlarmLevel `json:"alarmLevel,omitempty"` TargetType TargetType `json:"targetType,omitempty"` TargetInstanceGroups []string `json:"targetInstanceGroups,omitempty"` TargetInstances []*AlarmInstance `json:"targetInstances,omitempty"` TargetInstanceTags []*KV `json:"targetInstanceTags,omitempty"` Policies []*AlarmPolicy `json:"policies,omitempty"` Actions []*AlarmAction `json:"actions,omitempty"` }
type AlarmInstance ¶
type AlarmLevel ¶
type AlarmLevel string
const ( AlarmLevelNotice AlarmLevel = "NOTICE" AlarmLevelWarning AlarmLevel = "WARNING" AlarmLevelCritical AlarmLevel = "CRITICAL" AlarmLevelMajor AlarmLevel = "MAJOR" AlarmLevelCustom AlarmLevel = "CUSTOM" )
type AlarmMetric ¶
type AlarmMetric struct { Alias string `json:"alias,omitempty"` Name string `json:"name,omitempty"` UnitCategory string `json:"unitCategory,omitempty"` UnitName string `json:"unitName,omitempty"` Cycle int `json:"cycle,omitempty"` Scope string `json:"scope,omitempty"` TypeName string `json:"typeName,omitempty"` MetricDimensions [][]string `json:"metricDimensions,omitempty"` }
type AlarmMonitorObject ¶
type AlarmMonitorObject struct { MonitorType MonitorObjectType `json:"type,omitempty"` Names []string `json:"names,omitempty"` Resources []*PolicyResource `json:"resources,omitempty"` TypeName string `json:"typeName,omitempty"` }
type AlarmPolicy ¶
type AlarmPolicy struct { AlarmPendingPeriodCount int `json:"alarmPendingPeriodCount,omitempty"` Rules []*AlarmRuleV2 `json:"rules,omitempty"` }
type AlarmRule ¶
type AlarmRule struct { Index int `json:"index,omitempty"` Metric string `json:"metric,omitempty"` PeriodInSecond int `json:"periodInSecond,omitempty"` Statistics string `json:"statistics,omitempty"` Threshold string `json:"threshold,omitempty"` ComparisonOperator string `json:"comparisonOperator,omitempty"` EvaluationPeriodCount int `json:"evaluationPeriodCount,omitempty"` MetricDimensions []*Dimension `json:"metricDimensions,omitempty"` }
type AlarmRuleV2 ¶
type AlarmRuleV2 struct { MetricName string `json:"metricName,omitempty"` MetricDimensions []*KV `json:"metricDimensions,omitempty"` Operator string `json:"operator,omitempty"` Statistics string `json:"statistics,omitempty"` Threshold float64 `json:"threshold,omitempty"` Window int `json:"window,omitempty"` }
type AppAggrTag ¶
type AppMetric ¶
type AppMetric struct { Id int64 `json:"id,omitempty"` TaskId int64 `json:"taskId,omitempty"` MetricName string `json:"metricName,omitempty"` MetricAlias string `json:"metricAlias,omitempty"` MetricUnit string `json:"metricUnit,omitempty"` ValueFieldType int `json:"valueFieldType,omitempty"` ValueFieldName string `json:"valueFieldName,omitempty"` ValueMatchRule string `json:"valueMatchRule,omitempty"` AggrTags []AppAggrTag `json:"aggrTags,omitempty"` SaveInstanceData int `json:"saveInstanceData,omitempty"` }
type AppMonitorAlarmConfig ¶
type AppMonitorAlarmConfig struct { AlarmDescription string `json:"alarmDescription"` AlarmName string `json:"alarmName,omitempty"` UserId string `json:"userId,omitempty"` AppName string `json:"appName,omitempty"` MonitorObjectType MonitorObjectType `json:"monitorObjectType,omitempty"` MonitorObject MonitorObject `json:"monitorObject,omitempty"` SrcName string `json:"srcName,omitempty"` SrcType SrcType `json:"srcType,omitempty"` Type AlarmType `json:"type,omitempty"` Level AlarmLevel `json:"level,omitempty"` ActionEnabled bool `json:"actionEnabled,omitempty"` PolicyEnabled bool `json:"policyEnabled,omitempty"` Rules [][]AppMonitorAlarmRule `json:"rules,omitempty"` IncidentActions []string `json:"incidentActions,omitempty"` ResumeAction []string `json:"resumeAction,omitempty"` InsufficientActions []string `json:"insufficientActions,omitempty"` InsufficientCycle int `json:"insufficientCycle,omitempty"` RepeatAlarmCycle int `json:"repeatAlarmCycle,omitempty"` MaxRepeatCount int `json:"maxRepeatCount,omitempty"` }
type AppMonitorAlarmRule ¶
type AppMonitorAlarmRule struct { Metric string `json:"metric,omitempty"` MetricAlias string `json:"metricAlias,omitempty"` Cycle int `json:"cycle,omitempty"` Statistics string `json:"statistics,omitempty"` Threshold float64 `json:"threshold,omitempty"` ComparisonOperator string `json:"comparisonOperator,omitempty"` Count int `json:"count,omitempty"` Function string `json:"function,omitempty"` MetricDimensions []Dimension `json:"metricDimensions,omitempty"` Sequence int `json:"sequence,omitempty"` FormulaV2Alias string `json:"formulaV2Alias,omitempty"` MetricTags string `json:"metricTags,omitempty"` }
type ApplicationInfoDeleteRequest ¶
type ApplicationInfoDeleteRequest struct {
Name string `json:"name,omitempty"`
}
type ApplicationInfoListResponse ¶
type ApplicationInfoListResponse struct { Content []*ApplicationInfoResponse `json:"content,omitempty"` Pageable *Pageable `json:"pageable,omitempty"` Last bool `json:"last,omitempty"` TotalElements int `json:"totalElements,omitempty"` TotalPages int `json:"totalPages,omitempty"` First bool `json:"first,omitempty"` Sort *Sort `json:"sort,omitempty"` Number int `json:"number,omitempty"` NumberOfElements int `json:"numberOfElements,omitempty"` Size int `json:"size,omitempty"` }
type ApplicationInfoRequest ¶
type ApplicationInfoResponse ¶
type ApplicationInstanceCreateRequest ¶
type ApplicationInstanceCreateRequest struct { AppName string `json:"appName,omitempty"` UserID string `json:"userId,omitempty"` HostList []*HostInstanceInfo `json:"hostList,omitempty"` }
type ApplicationInstanceCreatedInfo ¶
type ApplicationInstanceCreatedInfo struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` InstanceOffSet int `json:"instanceOffSet,omitempty"` InstanceID string `json:"instanceId,omitempty"` Region string `json:"region,omitempty"` UserID string `json:"userId,omitempty"` AppName string `json:"appName,omitempty"` HostName string `json:"hostName,omitempty"` IP string `json:"ip,omitempty"` }
type ApplicationInstanceCreatedListResponse ¶
type ApplicationInstanceCreatedListResponse struct { Content []*ApplicationInstanceCreatedInfo `json:"content,omitempty"` Query interface{} `json:"query,omitempty"` Fields []interface{} `json:"fields,omitempty"` OrderBy []interface{} `json:"orderBy,omitempty"` PageNumber int `json:"pageNumber,omitempty"` PageSize int `json:"pageSize,omitempty"` PageElements int `json:"pageElements,omitempty"` Last bool `json:"last,omitempty"` First bool `json:"first,omitempty"` TotalPages int `json:"totalPages,omitempty"` TotalElements int `json:"totalElements,omitempty"` }
type ApplicationInstanceInfo ¶
type ApplicationInstanceInfo struct { FloatingIP string `json:"floatingIp,omitempty"` HasBinded bool `json:"hasBinded,omitempty"` ID string `json:"id,omitempty"` InstanceID string `json:"instanceId,omitempty"` InstanceUUID string `json:"instanceUuid,omitempty"` InternalIP string `json:"internalIp,omitempty"` Name string `json:"name,omitempty"` PublicIP string `json:"publicIp,omitempty"` }
type ApplicationInstanceListRequest ¶
type ApplicationInstanceListRequest struct { PageSize int `json:"pageSize,omitempty"` PageNo int `json:"pageNo,omitempty"` SearchName string `json:"searchName,omitempty"` SearchValue string `json:"searchValue,omitempty"` Region string `json:"region,omitempty"` AppName string `json:"appName,omitempty"` }
type ApplicationInstanceListResponse ¶
type ApplicationInstanceListResponse struct { Content []*ApplicationInstanceInfo `json:"content,omitempty"` Fields []interface{} `json:"fields,omitempty"` First bool `json:"first,omitempty"` Last bool `json:"last,omitempty"` OrderBy []interface{} `json:"orderBy,omitempty"` PageElements int `json:"pageElements,omitempty"` PageNumber int `json:"pageNumber,omitempty"` PageSize int `json:"pageSize,omitempty"` Query interface{} `json:"query,omitempty"` TotalElements int `json:"totalElements,omitempty"` TotalPages int `json:"totalPages,omitempty"` }
type ApplicationMonitorTaskInfoListResponse ¶
type ApplicationMonitorTaskInfoListResponse struct { ID int `json:"id"` Name string `json:"name"` AliasName string `json:"aliasName"` AppName string `json:"appName"` UserID string `json:"userId"` Cycle int `json:"cycle"` Target string `json:"target"` Type int `json:"type"` Description string `json:"description"` HasAlarmConfig bool `json:"hasAlarmConfig"` }
type ApplicationMonitorTaskInfoLogRequest ¶
type ApplicationMonitorTaskInfoLogRequest struct { AppName string `json:"appName,omitempty"` AliasName string `json:"aliasName,omitempty"` Type int `json:"type,omitempty"` Description string `json:"description,omitempty"` Target string `json:"target,omitempty"` Cycle int `json:"cycle,omitempty"` Rate int `json:"rate,omitempty"` ExtractResult []*LogExtractResult `json:"extractResult,omitempty"` LogExample string `json:"logExample,omitempty"` MatchRule string `json:"matchRule,omitempty"` UserID string `json:"userId,omitempty"` Metrics []*Metric `json:"metrics,omitempty"` }
type ApplicationMonitorTaskInfoLogResponse ¶
type ApplicationMonitorTaskInfoLogResponse struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` AliasName string `json:"aliasName,omitempty"` AppName string `json:"appName,omitempty"` UserID string `json:"userId,omitempty"` Cycle int `json:"cycle,omitempty"` Target string `json:"target,omitempty"` Type int `json:"type"` Description string `json:"description,omitempty"` HasAlarmConfig bool `json:"hasAlarmConfig"` LogExample string `json:"logExample,omitempty"` MatchRule string `json:"matchRule,omitempty"` Rate int `json:"rate,omitempty"` ExtractResult []*LogExtractResult `json:"extractResult,omitempty"` Metrics []*Metric `json:"metrics,omitempty"` }
type ApplicationMonitorTaskInfoUpdateRequest ¶
type ApplicationMonitorTaskInfoUpdateRequest struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` AppName string `json:"appName,omitempty"` AliasName string `json:"aliasName,omitempty"` Type int `json:"type,omitempty"` Description string `json:"description,omitempty"` Target string `json:"target,omitempty"` Cycle int `json:"cycle,omitempty"` Rate int `json:"rate,omitempty"` ExtractResult []*LogExtractResult `json:"extractResult,omitempty"` LogExample string `json:"logExample,omitempty"` MatchRule string `json:"matchRule,omitempty"` UserID string `json:"userId,omitempty"` Metrics []*Metric `json:"metrics,omitempty"` }
type ApplicationMonitorTaskResponse ¶
type ApplicationMonitorTaskResponse struct { ID int `json:"id"` Name string `json:"name"` AliasName string `json:"aliasName"` AppName string `json:"appName"` UserID string `json:"userId"` Cycle int `json:"cycle"` Target string `json:"target"` Type int `json:"type"` Description string `json:"description"` HasAlarmConfig bool `json:"hasAlarmConfig"` }
type BatchGetMetricDataRequest ¶
type BatchGetMetricDataRequest struct { UserId string `json:"userId,omitempty"` Scope string `json:"scope,omitempty"` MetricNames []string `json:"metricNames,omitempty"` Dimensions map[string]string `json:"dimensions,omitempty"` Statistics []string `json:"statistics,omitempty"` StartTime string `json:"startTime,omitempty"` EndTime string `json:"endTime,omitempty"` PeriodInSecond int `json:"periodInSecond,omitempty"` }
type BatchGetMetricDataResponse ¶
type BatchGetMetricDataResponse struct { RequestId string `json:"requestId,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` SuccessList []*SuccessBatchGetMetricData `json:"successList,omitempty"` ErrorList []*ErrorBatchGetMetricData `json:"errorList,omitempty"` }
type CloudEvent ¶
type CloudEvent struct { EventID string `json:"eventId,omitempty"` EventName string `json:"eventName,omitempty"` EventAlias string `json:"eventAlias,omitempty"` EventLevel string `json:"eventLevel,omitempty"` EventTime string `json:"eventTime,omitempty"` EventContent string `json:"eventContent,omitempty"` EventSource string `json:"eventSource,omitempty"` EventStatus string `json:"eventStatus,omitempty"` EventDetail string `json:"eventDetail,omitempty"` }
type CloudEventResponse ¶
type CloudEventResponse struct { PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` TotalCount int `json:"totalCount,omitempty"` TotalPage int `json:"totalPage,omitempty"` Result []CloudEvent `json:"result,omitempty"` }
type CreateActionRequest ¶
type CreateActionRequest struct { UserId string `json:"userId,omitempty"` Notifications []ActionNotification `json:"notifications,omitempty"` Members []ActionMember `json:"members,omitempty"` Alias string `json:"alias,omitempty"` DisableTimes []ActionDisableTime `json:"disableTimes,omitempty"` ActionCallBacks []ActionCallBack `json:"actionCallBacks"` }
type CreateActionResponse ¶
type CreateActionResponse struct { Success bool `json:"success,omitempty"` Result interface{} `json:"result,omitempty"` }
type CreateAlarmPolicyV2Response ¶
type CreateAlarmPolicyV2Response struct { Success bool `json:"success,omitempty"` Msg string `json:"msg,omitempty"` Result *AlarmConfigV2 `json:"result,omitempty"` }
type CreateDNSTask ¶
type CreateDNSTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` IPType string `json:"ipType,omitempty"` Server string `json:"server,omitempty"` ResolveType string `json:"resolveType,omitempty"` KidnapWhite string `json:"kidnapWhite,omitempty"` }
type CreateFtpTask ¶
type CreateFtpTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` IPType string `json:"ipType,omitempty"` Port int `json:"port,omitempty"` AnonymousLogin bool `json:"anonymousLogin,omitempty"` UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
type CreateHTTPSTask ¶
type CreateHTTPSTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Method string `json:"method,omitempty"` PostContent string `json:"postContent,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` AdvanceConfig string `json:"advanceConfig,omitempty"` IPType string `json:"ipType,omitempty"` Cookies string `json:"cookies,omitempty"` Host string `json:"host,omitempty"` UserAgent string `json:"userAgent,omitempty"` ResponseCode string `json:"responseCode,omitempty"` ResponseCheck string `json:"responseCheck,omitempty"` UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
type CreateHTTPSTaskResponse ¶
type CreateHTTPSTaskResponse struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Method string `json:"method,omitempty"` PostContent string `json:"postContent,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` AdvanceConfig bool `json:"advanceConfig,omitempty"` IPType string `json:"ipType,omitempty"` Cookies string `json:"cookies,omitempty"` Host string `json:"host,omitempty"` UserAgent string `json:"userAgent,omitempty"` ResponseCode string `json:"responseCode,omitempty"` ResponseCheck string `json:"responseCheck,omitempty"` UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
type CreateHTTPTask ¶
type CreateHTTPTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Method string `json:"method,omitempty"` PostContent string `json:"postContent,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` AdvanceConfig string `json:"advanceConfig,omitempty"` IPType string `json:"ipType,omitempty"` Cookies string `json:"cookies,omitempty"` Host string `json:"host,omitempty"` UserAgent string `json:"userAgent,omitempty"` ResponseCode string `json:"responseCode,omitempty"` ResponseCheck string `json:"responseCheck,omitempty"` UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
type CreateHTTPTaskResponse ¶
type CreateHTTPTaskResponse struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Method string `json:"method,omitempty"` PostContent string `json:"postContent,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` AdvanceConfig bool `json:"advanceConfig,omitempty"` IPType string `json:"ipType,omitempty"` Cookies string `json:"cookies,omitempty"` Host string `json:"host,omitempty"` UserAgent string `json:"userAgent,omitempty"` ResponseCode string `json:"responseCode,omitempty"` ResponseCheck string `json:"responseCheck,omitempty"` UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
type CreatePingTask ¶
type CreatePingTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` PacketCount int `json:"packetCount,omitempty"` PacketLossRate int `json:"packetLossRate,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` IPType string `json:"ipType,omitempty"` }
type CreateSiteAlarmConfigRequest ¶
type CreateSiteAlarmConfigRequest struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` Comment string `json:"comment,omitempty"` AlarmName string `json:"alarmName,omitempty"` AliasName string `json:"aliasName,omitempty"` Namespace string `json:"namespace,omitempty"` Level Level `json:"level,omitempty"` ActionEnabled string `json:"actionEnabled,omitempty"` ResumeActions []string `json:"resumeActions,omitempty"` InsufficientActions []string `json:"insufficientActions,omitempty"` IncidentAction []string `json:"incidentAction,omitempty"` InsufficientCycle int `json:"insufficientCycle,omitempty"` Rules []SiteAlarmRule `json:"rules,omitempty"` Region string `json:"region,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` CallbackToken string `json:"callbackToken,omitempty"` Method string `json:"method,omitempty"` SiteMonitor string `json:"siteMonitor,omitempty"` Tag string `json:"tag,omitempty"` Cycle int `json:"cycle,omitempty"` }
type CreateSiteAlarmConfigResponse ¶
type CreateSiteAlarmConfigResponse struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` Comment string `json:"comment,omitempty"` AlarmName string `json:"alarmName,omitempty"` AliasName string `json:"aliasName,omitempty"` Namespace string `json:"namespace,omitempty"` Level Level `json:"level,omitempty"` ActionEnabled bool `json:"actionEnabled,omitempty"` ResumeActions []string `json:"resumeActions,omitempty"` InsufficientActions []string `json:"insufficientActions,omitempty"` IncidentAction []string `json:"incidentAction,omitempty"` InsufficientCycle int `json:"insufficientCycle,omitempty"` Rules []SiteAlarmRule `json:"rules,omitempty"` Region string `json:"region,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` CallbackToken string `json:"callbackToken,omitempty"` Method string `json:"method,omitempty"` SiteMonitor string `json:"siteMonitor,omitempty"` Tag string `json:"tag,omitempty"` Cycle int `json:"cycle,omitempty"` }
type CreateTCPTask ¶
type CreateTCPTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` Port int `json:"port,omitempty"` AdvanceConfig bool `json:"advanceConfig,omitempty"` IPType string `json:"ipType,omitempty"` InputType int `json:"inputType,omitempty"` OutputType int `json:"outputType,omitempty"` Input string `json:"input,omitempty"` ExpectedOutput string `json:"expectedOutput,omitempty"` }
type CreateTaskResponse ¶
type CreateUDPTask ¶
type CreateUDPTask struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` TaskName string `json:"taskName,omitempty"` Address string `json:"address,omitempty"` Cycle int `json:"cycle,omitempty"` Idc string `json:"idc,omitempty"` Timeout int `json:"timeout,omitempty"` Port int `json:"port,omitempty"` IPType string `json:"ipType,omitempty"` InputType int `json:"inputType,omitempty"` OutputType int `json:"outputType,omitempty"` Input string `json:"input,omitempty"` ExpectedOutput string `json:"expectedOutput,omitempty"` }
type CustomBatchEventNames ¶
type CustomBatchIds ¶
type CustomBatchNames ¶
type DashboardBaseResponse ¶
type DashboardBillboardData ¶
type DashboardBillboardData struct { Data [][]float64 `json:"data,omitempty"` Decimals interface{} `json:"decimals,omitempty"` DisplayName string `json:"displayName,omitempty"` InstanceName string `json:"instanceName,omitempty"` MetricDimension string `json:"metricDimension,omitempty"` Name string `json:"name,omitempty"` Unit string `json:"unit,omitempty"` }
type DashboardBillboardResponse ¶
type DashboardBillboardResponse struct { Code int `json:"code,omitempty"` Data []DashboardBillboardData `json:"data,omitempty"` Message string `json:"message,omitempty"` TraceInfo string `json:"traceInfo,omitempty"` Success bool `json:"success,omitempty"` }
type DashboardDataRequest ¶
type DashboardDimension ¶
type DashboardDimensionsData ¶
type DashboardDimensionsData struct { Name string `json:"name,omitempty"` Product string `json:"product,omitempty"` Comment string `json:"comment,omitempty"` DimensionValues []DimensionValue `json:"dimensionValues,omitempty"` }
type DashboardDimensionsRequest ¶
type DashboardDimensionsRequest struct { UserID string `json:"userId,omitempty"` Service string `json:"service,omitempty"` Region string `json:"region,omitempty"` ResourceID string `json:"showId,omitempty"` Dimensions string `json:"dimensions,omitempty"` MetricName string `json:"metricName,omitempty"` }
type DashboardDimensionsResponse ¶
type DashboardDimensionsResponse struct { Code int `json:"code,omitempty"` Data []DashboardDimensionsData `json:"data,omitempty"` Message string `json:"message,omitempty"` TraceInfo string `json:"traceInfo,omitempty"` Success bool `json:"success,omitempty"` }
type DashboardMetric ¶
type DashboardMetric struct { Name string `json:"name,omitempty"` Unit string `json:"unit,omitempty"` Alias string `json:"alias,omitempty"` Contrast []string `json:"contrast,omitempty"` TimeContrast []string `json:"timeContrast,omitempty"` Statistics string `json:"statistics,omitempty"` Dimensions []string `json:"dimensions,omitempty"` MetricDimensions []MetricDimensions `json:"metricDimensions,omitempty"` Cycle int `json:"cycle,omitempty"` DisplayName string `json:"displayName,omitempty"` }
type DashboardMonitorObject ¶
type DashboardNamespace ¶
type DashboardNamespace struct { NamespaceType string `json:"namespaceType,omitempty"` Transfer string `json:"transfer"` Filter string `json:"filter,omitempty"` Name string `json:"name,omitempty"` InstanceName string `json:"instanceName,omitempty"` Region string `json:"region,omitempty"` BcmService string `json:"bcmService,omitempty"` SubService []SubService `json:"subService,omitempty"` }
type DashboardReportData ¶
type DashboardReportDataResponse ¶
type DashboardReportDataResponse struct { Code int `json:"code,omitempty"` Data []DashboardReportData `json:"data,omitempty"` Message string `json:"message,omitempty"` TraceInfo interface{} `json:"traceInfo,omitempty"` Success bool `json:"success,omitempty"` }
type DashboardRequest ¶
type DashboardResponse ¶
type DashboardTrendData ¶
type DashboardTrendData struct { Data [][]float64 `json:"data,omitempty"` Denominator int `json:"denominator,omitempty"` Dimensions string `json:"dimensions,omitempty"` Legend interface{} `json:"legend,omitempty"` Metric string `json:"metric,omitempty"` MetricType string `json:"metricType,omitempty"` MetricUnit string `json:"metricUnit,omitempty"` MetricUnitTransformation string `json:"metricUnitTransformation,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Numerator int `json:"numerator,omitempty"` Product interface{} `json:"product,omitempty"` Scope string `json:"scope,omitempty"` Statistics interface{} `json:"statistics,omitempty"` Time interface{} `json:"time,omitempty"` TransPolicy string `json:"transPolicy,omitempty"` HostName interface{} `json:"hostName,omitempty"` InternalIP interface{} `json:"internalIp,omitempty"` }
type DashboardTrendResponse ¶
type DashboardTrendResponse struct { Code int `json:"code,omitempty"` Data []DashboardTrendData `json:"data,omitempty"` Message string `json:"message,omitempty"` TraceInfo string `json:"traceInfo,omitempty"` Success bool `json:"success,omitempty"` }
type DashboardTrendSeniorResponse ¶
type DashboardTrendSeniorResponse struct { Code int `json:"code,omitempty"` Data []DashboardSeniorTrendData `json:"data,omitempty"` Message string `json:"message,omitempty"` TraceInfo string `json:"traceInfo,omitempty"` Success bool `json:"success,omitempty"` }
type DashboardWidgetRequest ¶
type DashboardWidgetRequest struct { DashboardName string `json:"dashboardName,omitempty"` UserID string `json:"userId,omitempty"` Title string `json:"title,omitempty"` Configure DashboardWidgetConfigure `json:"configure,omitempty"` WidgetName string `json:"widgetName,omitempty"` Type string `json:"type,omitempty"` }
type Data ¶
type Data struct { Metric []DashboardMetric `json:"metric,omitempty"` MonitorObject []DashboardMonitorObject `json:"monitorObject,omitempty"` Scope string `json:"scope,omitempty"` SubService string `json:"subService,omitempty"` Region string `json:"region,omitempty"` ScopeValue ScopeValue `json:"scopeValue,omitempty"` ResourceType string `json:"resourceType,omitempty"` MonitorType string `json:"monitorType,omitempty"` Namespace []DashboardNamespace `json:"namespace,omitempty"` Product string `json:"product,omitempty"` }
type DataPoints ¶
type DataPoints struct { Average float64 `json:"average,omitempty"` Sum float64 `json:"sum,omitempty"` Minimum float64 `json:"minimum,omitempty"` Maximum float64 `json:"maximum,omitempty"` SampleCount int64 `json:"sampleCount,omitempty"` Value float64 `json:"value,omitempty"` Timestamp string `json:"timestamp,omitempty"` }
type DeleteActionRequest ¶
type DeleteActionResponse ¶
type DeleteActionResponse CreateActionResponse
type DeleteTaskResponse ¶
type DimensionFilter ¶
type DimensionValue ¶
type ErrorBatchGetMetricData ¶
type EventDataRequest ¶
type EventDataRequest struct { PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` StartTime string `json:"startTime,omitempty"` EndTime string `json:"endTime,omitempty"` AccountID string `json:"accountId,omitempty"` Ascending bool `json:"ascending,omitempty"` Scope string `json:"scope,omitempty"` Region string `json:"region,omitempty"` EventLevel string `json:"eventLevel,omitempty"` EventName string `json:"eventName,omitempty"` EventAlias string `json:"eventAlias,omitempty"` ResourceType string `json:"resourceType,omitempty"` ResourceID string `json:"resourceId,omitempty"` EventID string `json:"eventId,omitempty"` }
type EventFilter ¶
type EventPolicy ¶
type EventPolicy struct { AccountID string `json:"accountId,omitempty"` ServiceName string `json:"serviceName,omitempty"` Name string `json:"name,omitempty"` BlockStatus string `json:"blockStatus,omitempty"` EventFilter EventFilter `json:"eventFilter,omitempty"` Resource EventResourceFilter `json:"resource,omitempty"` IncidentActions []string `json:"incidentActions,omitempty"` }
type EventResource ¶
type EventResource struct {
Identifiers []Dimension `json:"identifiers,omitempty"`
}
type EventResourceFilter ¶
type EventResourceFilter struct { Region string `json:"region,omitempty"` Type string `json:"type,omitempty"` MonitorObjectType string `json:"monitorObjectType,omitempty"` Resources []EventResource `json:"resources,omitempty"` }
type GetMetricDataForApplicationRequest ¶
type GetMetricDataForApplicationRequest struct { UserId string `json:"userId,omitempty"` AppName string `json:"appName,omitempty"` TaskName string `json:"taskName,omitempty"` MetricName string `json:"metricName,omitempty"` Instances []string `json:"instances,omitempty"` StartTime string `json:"startTime,omitempty"` EndTime string `json:"endTime,omitempty"` Cycle int `json:"cycle,omitempty"` Statistics []string `json:"statistics,omitempty"` Dimensions map[string][]string `json:"dimensions,omitempty"` AggrData bool `json:"aggrData,omitempty"` }
type GetMetricDataForApplicationResult ¶
type GetMetricDataForApplicationResult struct { Namespace string `json:"namespace,omitempty"` Dimensions []MetricDataDimension `json:"dimensions,omitempty"` DataPoints []DataPoints `json:"dataPoints"` }
type GetMetricDataRequest ¶
type GetMetricDataRequest struct { UserId string `json:"userId,omitempty"` Scope string `json:"scope,omitempty"` MetricName string `json:"metricName,omitempty"` Dimensions map[string]string `json:"dimensions,omitempty"` Statistics []string `json:"statistics,omitempty"` StartTime string `json:"startTime,omitempty"` EndTime string `json:"endTime,omitempty"` PeriodInSecond int `json:"periodInSecond,omitempty"` }
type GetMetricDataResponse ¶
type GetMetricDataResponse struct { RequestId string `json:"requestId,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` DataPoints []*DataPoints `json:"dataPoints,omitempty"` }
type GetMetricMetaForApplicationRequest ¶
type GetMetricMetaForApplicationRequest struct { UserId string `json:"userId,omitempty"` AppName string `json:"appName,omitempty"` TaskName string `json:"taskName,omitempty"` MetricName string `json:"metricName,omitempty"` Instances []string `json:"instances,omitempty"` DimensionKeys []string `json:"dimensionKeys,omitempty"` }
type GetSiteAgentByTaskIDResponse ¶
type GetSiteAgentByTaskIDResponse struct { Idcs []GetSiteAgentsResponse `json:"idcs,omitempty"` Isps []GetSiteAgentsResponse `json:"isps,omitempty"` }
type GetSiteAgentListRequest ¶
type GetSiteAgentListRequest struct {
UserID string `json:"userId,omitempty"`
}
type GetSiteAgentsResponse ¶
type GetSiteAlarmConfigListRequest ¶
type GetSiteAlarmConfigListRequest struct { UserID string `json:"userId,omitempty"` TaskID string `json:"taskId,omitempty"` AliasName string `json:"aliasName,omitempty"` ActionEnabled bool `json:"actionEnabled,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` }
type GetSiteAlarmConfigListResponse ¶
type GetSiteAlarmConfigListResponse struct { OrderBy string `json:"orderBy,omitempty"` Order string `json:"order,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` TotalCount int `json:"totalCount,omitempty"` Result []CreateSiteAlarmConfigResponse `json:"result,omitempty"` }
type GetSiteMetricDataRequest ¶
type GetSiteMetricDataRequest struct { UserID string `json:"userId,omitempty"` MetricName string `json:"metricName,omitempty"` Statistics []string `json:"statistics,omitempty"` StartTime string `json:"startTime,omitempty"` EndTime string `json:"endTime,omitempty"` Cycle int `json:"cycle,omitempty"` TaskID string `json:"taskId,omitempty"` Dimensions string `json:"dimensions,omitempty"` }
type GetSiteMetricDataResponse ¶
type GetSiteMetricDataResponse struct { Namespace string `json:"namespace,omitempty"` Dimensions []Dimension `json:"dimensions,omitempty"` DataPoints []DataPoints `json:"dataPoints,omitempty"` }
type GetSiteViewResponse ¶
type GetTaskDetailRequest ¶
type GetTaskDetailResponse ¶
type GetTaskList ¶
type GetTaskListRequest ¶
type GetTaskListResponse ¶
type GetTaskListResponse struct { PageSize int `json:"pageSize,omitempty"` PageNumber int `json:"pageNumber,omitempty"` TotalElements int `json:"totalElements,omitempty"` Content []GetTaskList `json:"content,omitempty"` }
type HostInstanceInfo ¶
type IGInstanceItem ¶
type IGInstanceListResponse ¶
type IGInstanceQuery ¶
type IGInstanceQuery struct { UserID string `json:"userId,omitempty"` ID string `json:"id,omitempty"` UUID string `json:"uuid,omitempty"` ServiceName string `json:"serviceName,omitempty"` TypeName string `json:"typeName,omitempty"` Region string `json:"region,omitempty"` ViewType string `json:"viewType,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` KeywordType string `json:"keywordType,omitempty"` Keyword string `json:"keyword,omitempty"` }
type InstanceGroup ¶
type InstanceGroup struct { ID int64 `json:"id,omitempty"` Name string `json:"name,omitempty"` ServiceName string `json:"serviceName,omitempty"` TypeName string `json:"typeName,omitempty"` Region string `json:"region,omitempty"` UserID string `json:"userId,omitempty"` UUID string `json:"uuid,omitempty"` Count int `json:"count,omitempty"` ServiceNameAlias string `json:"serviceNameAlias,omitempty"` TypeNameAlias string `json:"typeNameAlias,omitempty"` RegionAlias string `json:"regionAlias,omitempty"` TagKey string `json:"tagKey,omitempty"` }
type InstanceGroupBase ¶
type InstanceGroupQuery ¶
type InstanceGroupQuery struct { UserID string `json:"userId,omitempty"` Name string `json:"name,omitempty"` ServiceName string `json:"serviceName,omitempty"` Region string `json:"region,omitempty"` TypeName string `json:"typeName,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` }
type Job ¶
type Job struct { Alias string `json:"alias,omitempty"` BcmSource bool `json:"bcmSource,omitempty"` Contrast string `json:"contrast,omitempty"` Decimals interface{} `json:"decimals,omitempty"` DisplayName string `json:"displayName,omitempty"` EndTime int `json:"endTime,omitempty"` Flatten bool `json:"flatten,omitempty"` InstanceID interface{} `json:"instanceId,omitempty"` InstanceName string `json:"instanceName,omitempty"` IntranetIP interface{} `json:"intranetIp,omitempty"` Items []Item `json:"items,omitempty"` MetricName string `json:"metricName,omitempty"` Namespace string `json:"namespace,omitempty"` Offset int `json:"offset,omitempty"` OriginalPeriod int `json:"originalPeriod,omitempty"` Period int `json:"period,omitempty"` Product string `json:"product,omitempty"` StartTime int `json:"startTime,omitempty"` Statistics string `json:"statistics,omitempty"` Tags string `json:"tags,omitempty"` TagsForTsdb []TagForTsdb `json:"tagsForTsdb,omitempty"` Unit string `json:"unit,omitempty"` }
type ListActionsPageResult ¶
type ListActionsRequest ¶
type ListActionsResponse ¶
type ListActionsResponse struct { RequestId string `json:"requestId,omitempty"` Message string `json:"message,omitempty"` Success bool `json:"success,omitempty"` Code int `json:"code,omitempty"` Result ListActionsPageResult `json:"result,omitempty"` }
type ListAlarmMetricsRequest ¶
type ListAppMonitorAlarmConfigsRequest ¶
type ListAppMonitorAlarmConfigsRequest struct { UserId string `json:"userId,omitempty"` AppName string `json:"appName,omitempty"` AlarmName string `json:"alarmName,omitempty"` ActionEnabled *bool `json:"actionEnabled,omitempty"` SrcType SrcType `json:"srcType,omitempty"` TaskName string `json:"taskName,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` }
type ListAppMonitorAlarmConfigsResponse ¶
type ListAppMonitorAlarmConfigsResponse struct { TotalCount int `json:"totalCount,omitempty"` OrderBy string `json:"orderBy,omitempty"` Order string `json:"order,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` Result []AppMonitorAlarmConfig `json:"result,omitempty"` }
type ListNamespaceEventsResponse ¶
type ListNamespaceEventsResponse struct { PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` TotalCount int `json:"totalCount,omitempty"` Result []NamespaceEvent `json:"result,omitempty"` }
type ListNamespaceMetricsRequest ¶
type ListNamespaceMetricsRequest struct { UserId string `json:"userId,omitempty"` Namespace string `json:"namespace,omitempty"` MetricName string `json:"metricName,omitempty"` MetricAlias string `json:"metricAlias,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` }
type ListNamespaceMetricsResponse ¶
type ListNamespaceMetricsResponse struct { PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` TotalCount int `json:"totalCount,omitempty"` Result []NamespaceMetric `json:"result,omitempty"` }
type ListNamespacesRequest ¶
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` TotalCount int `json:"totalCount,omitempty"` Result []NamespaceWithMetricAndEvent `json:"result,omitempty"` }
type ListNotifyGroupsRequest ¶
type ListNotifyGroupsResponse ¶
type ListNotifyGroupsResponse struct { Success bool `json:"success,omitempty"` Status int `json:"status,omitempty"` Page ListNotifyGroupsPageResult `json:"page,omitempty"` }
type ListNotifyPartiesResponse ¶
type ListNotifyPartiesResponse struct { Success bool `json:"success,omitempty"` Status int `json:"status,omitempty"` Page ListNotifyPartiesPageResult `json:"page,omitempty"` }
type ListSingleInstanceAlarmConfigsRequest ¶
type ListSingleInstanceAlarmConfigsRequest struct { UserId string `json:"userId,omitempty"` Scope string `json:"scope,omitempty"` Region string `json:"region,omitempty"` Dimensions string `json:"dimensions,omitempty"` Order string `json:"order,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` ActionEnabled *bool `json:"actionEnabled,omitempty"` AlarmNamePrefix string `json:"alarmNamePrefix,omitempty"` }
type ListSingleInstanceAlarmConfigsResponse ¶
type ListSingleInstanceAlarmConfigsResponse struct { TotalCount int `json:"totalCount,omitempty"` OrderBy string `json:"orderBy,omitempty"` Order string `json:"order,omitempty"` PageNo int `json:"pageNo,omitempty"` PageSize int `json:"pageSize,omitempty"` Result []*AlarmConfig `json:"result,omitempty"` }
type LogExtractRequest ¶
type LogExtractResult ¶
type LogExtractResult struct { ID int `json:"id,omitempty"` TaskID int `json:"taskId,omitempty"` ExtractFieldName string `json:"extractFieldName,omitempty"` ExtractFieldValue string `json:"extractFieldValue,omitempty"` MetricEnable int `json:"metricEnable,omitempty"` DimensionMapTable string `json:"dimensionMapTable,omitempty"` }
type MergedGroup ¶
type MergedGroup struct { ID string `json:"id,omitempty"` UserId string `json:"userId,omitempty"` Region string `json:"region,omitempty"` ServiceName string `json:"serviceName,omitempty"` TypeName string `json:"typeName,omitempty"` Name string `json:"name,omitempty"` ResourceIDList []MonitorResource `json:"resourceIdList,omitempty"` }
type Metric ¶
type Metric struct { ID int `json:"id,omitempty"` TaskID int `json:"taskId,omitempty"` MetricName string `json:"metricName"` SaveInstanceData int `json:"saveInstanceData"` ValueFieldType int `json:"valueFieldType"` AggrTags []*AggTag `json:"aggrTags"` MetricAlias string `json:"metricAlias"` MetricUnit string `json:"metricUnit"` ValueFieldName string `json:"valueFieldName"` }
type MetricDataDimension ¶
type MetricDimensions ¶
type MonitorObject ¶
type MonitorObject struct { Id int64 `json:"id,omitempty"` MonitorObjectView []MonitorObjectViewModel `json:"monitorObjectView,omitempty"` MonitorObjectType string `json:"monitorObjectType,omitempty"` TypeName string `json:"typeName,omitempty"` }
type MonitorObjectType ¶
type MonitorObjectType string
const ( MonitorObjectApp MonitorObjectType = "APP" MonitorObjectService MonitorObjectType = "SERVICE" MonitorObjectInstance MonitorObjectType = "INSTANCE" MonitorObjectCustom MonitorObjectType = "CUSTOM" MonitorObjectDomain MonitorObjectType = "DOMAIN" )
type MonitorObjectViewModel ¶
type MonitorResource ¶
type MonitorResource struct { UserId string `json:"userId,omitempty"` Region string `json:"region,omitempty"` ServiceName string `json:"serviceName,omitempty"` TypeName string `json:"typeName,omitempty"` ResourceID string `json:"resourceId,omitempty"` ErrUpdateTime string `json:"errUpdateTime,omitempty"` Identifiers []Dimension `json:"identifiers,omitempty"` Properties []Dimension `json:"properties,omitempty"` Tags []Dimension `json:"tags,omitempty"` }
type NamespaceEvent ¶
type NamespaceEvent struct { UserId string `json:"userId,omitempty"` Namespace string `json:"namespace,omitempty"` EventName string `json:"eventName,omitempty"` EventNameAlias string `json:"eventNameAlias,omitempty"` EventLevel string `json:"eventLevel,omitempty"` Comment string `json:"comment,omitempty"` }
type NamespaceItemView ¶
type NamespaceMetric ¶
type NamespaceMetric struct { Id int64 `json:"id,omitempty"` UserId string `json:"userId,omitempty"` Namespace string `json:"namespace,omitempty"` MetricName string `json:"metricName,omitempty"` MetricAlias string `json:"metricAlias,omitempty"` Unit string `json:"unit,omitempty"` Cycle int `json:"cycle,omitempty"` Dimensions []NamespaceMetricDimension `json:"dimensions"` }
type NamespaceWithMetricAndEvent ¶
type NamespaceWithMetricAndEvent struct { Name string `json:"name,omitempty"` NamespaceAlias string `json:"namespaceAlias,omitempty"` UserId string `json:"userId,omitempty"` Comment string `json:"comment,omitempty"` Metrics []NamespaceItemView `json:"metrics,omitempty"` EventConfigs []NamespaceItemView `json:"eventConfigs,omitempty"` }
type NotifyGroup ¶
type NotifyParty ¶
type PlatformEventData ¶
type PlatformEventData struct { EventID string `json:"eventId,omitempty"` EventName string `json:"eventName,omitempty"` EventAlias string `json:"eventAlias,omitempty"` EventLevel string `json:"eventLevel,omitempty"` EventTime string `json:"eventTime,omitempty"` EventContent string `json:"eventContent,omitempty"` EventSource string `json:"eventSource,omitempty"` EventStatus string `json:"eventStatus,omitempty"` EventDetail string `json:"eventDetail,omitempty"` }
type PlatformEventResponse ¶
type PlatformEventResponse struct { Content []PlatformEventData `json:"content,omitempty"` PageNumber int `json:"pageNumber,omitempty"` PageSize int `json:"pageSize,omitempty"` PageElements int `json:"pageElements,omitempty"` Last bool `json:"last,omitempty"` First bool `json:"first,omitempty"` TotalPages int `json:"totalPages,omitempty"` TotalElements int64 `json:"totalElements,omitempty"` }
type PolicyResource ¶
type ScopeValue ¶
type SiteAlarmRule ¶
type SiteAlarmRule struct { Metric string `json:"metric,omitempty"` MetricAlias string `json:"metricAlias,omitempty"` Statistics string `json:"statistics,omitempty"` Threshold string `json:"threshold,omitempty"` ComparisonOperator string `json:"comparisonOperator,omitempty"` Cycle int `json:"cycle,omitempty"` Count int `json:"count,omitempty"` Function string `json:"function,omitempty"` ActOnIdcs []string `json:"actOnIdcs,omitempty"` ActOnIsps []string `json:"actOnIsps,omitempty"` VersionSite string `json:"versionSite,omitempty"` }
type SubService ¶
type SuccessBatchGetMetricData ¶
type SuccessBatchGetMetricData struct { MetricName string `json:"metricName,omitempty"` Dimensions []*Dimension `json:"dimensions,omitempty"` DataPoints []*DataPoints `json:"dataPoints,omitempty"` }
type TagForTsdb ¶
type TargetType ¶
type TargetType string
const ( TargetTypeAllInstances TargetType = "TARGET_TYPE_ALL_INSTANCES" TargetTypeInstanceGroup TargetType = "TARGET_TYPE_INSTANCE_GROUP" TargetTypeMultiInstances TargetType = "TARGET_TYPE_MULTI_INSTANCES" TargetTypeInstanceTags TargetType = "TARGET_TYPE_INSTANCE_TAGS" )
type UpdateActionRequest ¶
type UpdateActionRequest struct { UserId string `json:"userId,omitempty"` Name string `json:"name,omitempty"` Notifications []ActionNotification `json:"notifications,omitempty"` Members []ActionMember `json:"members,omitempty"` Alias string `json:"alias,omitempty"` DisableTimes []ActionDisableTime `json:"disableTimes,omitempty"` ActionCallBacks []ActionCallBack `json:"actionCallBacks"` Source string `json:"source,omitempty"` }
type UpdateActionResponse ¶
type UpdateActionResponse CreateActionResponse
Click to show internal directories.
Click to hide internal directories.