-
Notifications
You must be signed in to change notification settings - Fork 266
/
struct_result_item.go
80 lines (78 loc) · 5.49 KB
/
struct_result_item.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package elasticsearch
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// ResultItem is a nested struct in elasticsearch response
type ResultItem struct {
Timestamp int64 `json:"timestamp" xml:"timestamp"`
Health string `json:"health" xml:"health"`
TaskId string `json:"taskId" xml:"taskId"`
ResId string `json:"resId" xml:"resId"`
FileName string `json:"fileName" xml:"fileName"`
ContentCollection map[string]interface{} `json:"contentCollection" xml:"contentCollection"`
EcsInstanceName string `json:"ecsInstanceName" xml:"ecsInstanceName"`
Namespace string `json:"namespace" xml:"namespace"`
HeapPercent string `json:"heapPercent" xml:"heapPercent"`
GmtUpdateTime string `json:"gmtUpdateTime" xml:"gmtUpdateTime"`
SourceType string `json:"sourceType" xml:"sourceType"`
Source string `json:"source" xml:"source"`
Name string `json:"name" xml:"name"`
ResVersion string `json:"resVersion" xml:"resVersion"`
OsType string `json:"osType" xml:"osType"`
CreateTime string `json:"createTime" xml:"createTime"`
TagKey string `json:"TagKey" xml:"TagKey"`
TemplateName string `json:"templateName" xml:"templateName"`
Content string `json:"content" xml:"content"`
Endpoint string `json:"endpoint" xml:"endpoint"`
PipelineId string `json:"pipelineId" xml:"pipelineId"`
Code string `json:"code" xml:"code"`
Port int `json:"port" xml:"port"`
Tags string `json:"tags" xml:"tags"`
ResType string `json:"resType" xml:"resType"`
Host string `json:"host" xml:"host"`
VpcId string `json:"vpcId" xml:"vpcId"`
Message string `json:"message" xml:"message"`
FilePath string `json:"filePath" xml:"filePath"`
Instances string `json:"instances" xml:"instances"`
NetworkType string `json:"networkType" xml:"networkType"`
Level string `json:"level" xml:"level"`
LoadOneM string `json:"loadOneM" xml:"loadOneM"`
FileSize int64 `json:"fileSize" xml:"fileSize"`
State string `json:"state" xml:"state"`
EcsInstanceId string `json:"ecsInstanceId" xml:"ecsInstanceId"`
KibanaEndpoint string `json:"kibanaEndpoint" xml:"kibanaEndpoint"`
CpuPercent string `json:"cpuPercent" xml:"cpuPercent"`
TagValue string `json:"TagValue" xml:"TagValue"`
DiskUsedPercent string `json:"diskUsedPercent" xml:"diskUsedPercent"`
DryRun bool `json:"dryRun" xml:"dryRun"`
OwnerId string `json:"ownerId" xml:"ownerId"`
PipelineStatus string `json:"pipelineStatus" xml:"pipelineStatus"`
Status string `json:"status" xml:"status"`
NodeType string `json:"nodeType" xml:"nodeType"`
InstanceId string `json:"instanceId" xml:"instanceId"`
ZoneId string `json:"zoneId" xml:"zoneId"`
Description string `json:"description" xml:"description"`
Available bool `json:"available" xml:"available"`
CloudAssistantStatus string `json:"cloudAssistantStatus" xml:"cloudAssistantStatus"`
EsInstanceId string `json:"esInstanceId" xml:"esInstanceId"`
SpecificationUrl string `json:"specificationUrl" xml:"specificationUrl"`
GmtCreatedTime string `json:"gmtCreatedTime" xml:"gmtCreatedTime"`
CollectorPaths []string `json:"collectorPaths" xml:"collectorPaths"`
SourceCluster SourceCluster `json:"sourceCluster" xml:"sourceCluster"`
SinkCluster SinkCluster `json:"sinkCluster" xml:"sinkCluster"`
Configs []ConfigsItem `json:"configs" xml:"configs"`
ExtendConfigs []ExtendConfigsItem `json:"extendConfigs" xml:"extendConfigs"`
IpAddress []IpAddressItem `json:"ipAddress" xml:"ipAddress"`
Collectors []CollectorsItem `json:"collectors" xml:"collectors"`
}