@ucloud-sdks/ucloud-sdk-js 0.2.32 → 0.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const client_1 = __importDefault(require("../../core/client"));
|
|
7
|
+
const request_1 = __importDefault(require("../../core/request"));
|
|
8
|
+
/**
|
|
9
|
+
* This client is used to call actions of **ulogservice** service
|
|
10
|
+
*/
|
|
11
|
+
class ULogServiceClient extends client_1.default {
|
|
12
|
+
constructor({ config, credential, }) {
|
|
13
|
+
super({ config, credential });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* BindULogServiceGroupToCollectConf - 日志主题采集配置绑定机器组
|
|
17
|
+
*
|
|
18
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/bind_u_log_service_group_to_collect_conf
|
|
19
|
+
*/
|
|
20
|
+
bindULogServiceGroupToCollectConf(request) {
|
|
21
|
+
const args = Object.assign({ Action: 'BindULogServiceGroupToCollectConf' }, (request || {}));
|
|
22
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* CreateULogServiceCollectConf - 创建日志主题采集配置
|
|
26
|
+
*
|
|
27
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/create_u_log_service_collect_conf
|
|
28
|
+
*/
|
|
29
|
+
createULogServiceCollectConf(request) {
|
|
30
|
+
const args = Object.assign({ Action: 'CreateULogServiceCollectConf' }, (request || {}));
|
|
31
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* CreateULogServiceLogSet - 创建日志集
|
|
35
|
+
*
|
|
36
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/create_u_log_service_log_set
|
|
37
|
+
*/
|
|
38
|
+
createULogServiceLogSet(request) {
|
|
39
|
+
const args = Object.assign({ Action: 'CreateULogServiceLogSet' }, (request || {}));
|
|
40
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* CreateULogServiceMachineGroup - 创建机器组
|
|
44
|
+
*
|
|
45
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/create_u_log_service_machine_group
|
|
46
|
+
*/
|
|
47
|
+
createULogServiceMachineGroup(request) {
|
|
48
|
+
const args = Object.assign({ Action: 'CreateULogServiceMachineGroup' }, (request || {}));
|
|
49
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* CreateULogServiceTopic - 创建ULogService主题
|
|
53
|
+
*
|
|
54
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/create_u_log_service_topic
|
|
55
|
+
*/
|
|
56
|
+
createULogServiceTopic(request) {
|
|
57
|
+
const args = Object.assign({ Action: 'CreateULogServiceTopic' }, (request || {}));
|
|
58
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* DeleteULogServiceCollectConf - 删除日志主题采集配置
|
|
62
|
+
*
|
|
63
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/delete_u_log_service_collect_conf
|
|
64
|
+
*/
|
|
65
|
+
deleteULogServiceCollectConf(request) {
|
|
66
|
+
const args = Object.assign({ Action: 'DeleteULogServiceCollectConf' }, (request || {}));
|
|
67
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* DeleteULogServiceLogSet - 删除日志集
|
|
71
|
+
*
|
|
72
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/delete_u_log_service_log_set
|
|
73
|
+
*/
|
|
74
|
+
deleteULogServiceLogSet(request) {
|
|
75
|
+
const args = Object.assign({ Action: 'DeleteULogServiceLogSet' }, (request || {}));
|
|
76
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* DeleteULogServiceMachineGroup - 删除机器组
|
|
80
|
+
*
|
|
81
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/delete_u_log_service_machine_group
|
|
82
|
+
*/
|
|
83
|
+
deleteULogServiceMachineGroup(request) {
|
|
84
|
+
const args = Object.assign({ Action: 'DeleteULogServiceMachineGroup' }, (request || {}));
|
|
85
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* DeleteULogServiceTopic - 删除ULogService主题
|
|
89
|
+
*
|
|
90
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/delete_u_log_service_topic
|
|
91
|
+
*/
|
|
92
|
+
deleteULogServiceTopic(request) {
|
|
93
|
+
const args = Object.assign({ Action: 'DeleteULogServiceTopic' }, (request || {}));
|
|
94
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* DescribeULogServiceMachineGroup - 查询日志采集机器组
|
|
98
|
+
*
|
|
99
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_machine_group
|
|
100
|
+
*/
|
|
101
|
+
describeULogServiceMachineGroup(request) {
|
|
102
|
+
const args = Object.assign({ Action: 'DescribeULogServiceMachineGroup' }, (request || {}));
|
|
103
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* ListULogServiceCollectConf - 查询日志主题采集配置列表
|
|
107
|
+
*
|
|
108
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/list_u_log_service_collect_conf
|
|
109
|
+
*/
|
|
110
|
+
listULogServiceCollectConf(request) {
|
|
111
|
+
const args = Object.assign({ Action: 'ListULogServiceCollectConf' }, (request || {}));
|
|
112
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* ListULogServiceLogSet - 查询日志集列表
|
|
116
|
+
*
|
|
117
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/list_u_log_service_log_set
|
|
118
|
+
*/
|
|
119
|
+
listULogServiceLogSet(request) {
|
|
120
|
+
const args = Object.assign({ Action: 'ListULogServiceLogSet' }, (request || {}));
|
|
121
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* ListULogServiceMachineGroup - 查看机器组列表
|
|
125
|
+
*
|
|
126
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/list_u_log_service_machine_group
|
|
127
|
+
*/
|
|
128
|
+
listULogServiceMachineGroup(request) {
|
|
129
|
+
const args = Object.assign({ Action: 'ListULogServiceMachineGroup' }, (request || {}));
|
|
130
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* ListULogServiceTopic - 获取ULogService主题
|
|
134
|
+
*
|
|
135
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/list_u_log_service_topic
|
|
136
|
+
*/
|
|
137
|
+
listULogServiceTopic(request) {
|
|
138
|
+
const args = Object.assign({ Action: 'ListULogServiceTopic' }, (request || {}));
|
|
139
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* QueryULogServiceLog - 查询ULogService日志
|
|
143
|
+
*
|
|
144
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/query_u_log_service_log
|
|
145
|
+
*/
|
|
146
|
+
queryULogServiceLog(request) {
|
|
147
|
+
const args = Object.assign({ Action: 'QueryULogServiceLog' }, (request || {}));
|
|
148
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* UpdateULogServiceCollectConf - 修改日志主题采集配置
|
|
152
|
+
*
|
|
153
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/update_u_log_service_collect_conf
|
|
154
|
+
*/
|
|
155
|
+
updateULogServiceCollectConf(request) {
|
|
156
|
+
const args = Object.assign({ Action: 'UpdateULogServiceCollectConf' }, (request || {}));
|
|
157
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* UpdateULogServiceMachineGroup - 更新日志机器组
|
|
161
|
+
*
|
|
162
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/update_u_log_service_machine_group
|
|
163
|
+
*/
|
|
164
|
+
updateULogServiceMachineGroup(request) {
|
|
165
|
+
const args = Object.assign({ Action: 'UpdateULogServiceMachineGroup' }, (request || {}));
|
|
166
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.default = ULogServiceClient;
|