@ucloud-sdks/ucloud-sdk-js 0.2.37 → 0.2.38
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.
|
@@ -205,7 +205,7 @@ export interface CreateAliasRequest {
|
|
|
205
205
|
*/
|
|
206
206
|
AliasName: string;
|
|
207
207
|
/**
|
|
208
|
-
* 密钥 ID
|
|
208
|
+
* 密钥 ID 或别名。
|
|
209
209
|
*/
|
|
210
210
|
KeyId: string;
|
|
211
211
|
/**
|
|
@@ -426,7 +426,7 @@ export interface DisableKeyResponse {
|
|
|
426
426
|
*/
|
|
427
427
|
export interface DisableKeyRotationRequest {
|
|
428
428
|
/**
|
|
429
|
-
* 密钥 ID
|
|
429
|
+
* 密钥 ID或别名。
|
|
430
430
|
*/
|
|
431
431
|
KeyId: string;
|
|
432
432
|
/**
|
|
@@ -484,7 +484,7 @@ export interface EnableKeyRotationResponse {
|
|
|
484
484
|
*/
|
|
485
485
|
export interface EncryptRequest {
|
|
486
486
|
/**
|
|
487
|
-
* 密钥资源长 ID
|
|
487
|
+
* 密钥资源长 ID 或别名。
|
|
488
488
|
*/
|
|
489
489
|
KeyId: string;
|
|
490
490
|
/**
|
|
@@ -632,7 +632,7 @@ export interface GenerateDataKeyPairWithoutPlaintextResponse {
|
|
|
632
632
|
*/
|
|
633
633
|
export interface GenerateDataKeyWithoutPlaintextRequest {
|
|
634
634
|
/**
|
|
635
|
-
* 密钥资源长 ID
|
|
635
|
+
* 密钥资源长 ID或别名。
|
|
636
636
|
*/
|
|
637
637
|
KeyId: string;
|
|
638
638
|
/**
|
|
@@ -718,7 +718,7 @@ export interface GenerateRandomResponse {
|
|
|
718
718
|
*/
|
|
719
719
|
export interface GetKeyRotationStatusRequest {
|
|
720
720
|
/**
|
|
721
|
-
* 密钥资源长 ID
|
|
721
|
+
* 密钥资源长 ID 或别名。
|
|
722
722
|
*/
|
|
723
723
|
KeyId: string;
|
|
724
724
|
/**
|
|
@@ -760,7 +760,7 @@ export interface GetKeyRotationStatusResponse {
|
|
|
760
760
|
*/
|
|
761
761
|
export interface GetPublicKeyRequest {
|
|
762
762
|
/**
|
|
763
|
-
* 密钥 ID
|
|
763
|
+
* 密钥 ID 或 别名。
|
|
764
764
|
*/
|
|
765
765
|
KeyId: string;
|
|
766
766
|
/**
|
|
@@ -972,7 +972,7 @@ export interface ListKeysResponse {
|
|
|
972
972
|
*/
|
|
973
973
|
export interface RotateKeyOnDemandRequest {
|
|
974
974
|
/**
|
|
975
|
-
* 密钥 ID
|
|
975
|
+
* 密钥 ID 或别名。
|
|
976
976
|
*/
|
|
977
977
|
KeyId: string;
|
|
978
978
|
/**
|
|
@@ -1016,7 +1016,7 @@ export interface ScheduleKeyDeletionResponse {
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
export interface SignRequest {
|
|
1018
1018
|
/**
|
|
1019
|
-
* 密钥资源长 ID
|
|
1019
|
+
* 密钥资源长 ID 或别名。
|
|
1020
1020
|
*/
|
|
1021
1021
|
KeyId: string;
|
|
1022
1022
|
/**
|
|
@@ -1062,7 +1062,7 @@ export interface UpdateAliasRequest {
|
|
|
1062
1062
|
*/
|
|
1063
1063
|
AliasName: string;
|
|
1064
1064
|
/**
|
|
1065
|
-
* 密钥 ID
|
|
1065
|
+
* 密钥 ID 或别名。
|
|
1066
1066
|
*/
|
|
1067
1067
|
KeyId: string;
|
|
1068
1068
|
/**
|
|
@@ -1080,7 +1080,7 @@ export interface UpdateAliasResponse {
|
|
|
1080
1080
|
*/
|
|
1081
1081
|
export interface UpdateKeyDescriptionRequest {
|
|
1082
1082
|
/**
|
|
1083
|
-
* 密钥资源长 ID
|
|
1083
|
+
* 密钥资源长 ID或别名。
|
|
1084
1084
|
*/
|
|
1085
1085
|
KeyId: string;
|
|
1086
1086
|
/**
|
|
@@ -1110,7 +1110,7 @@ export interface UpdateKeyDescriptionResponse {
|
|
|
1110
1110
|
*/
|
|
1111
1111
|
export interface VerifyRequest {
|
|
1112
1112
|
/**
|
|
1113
|
-
* 密钥 ID
|
|
1113
|
+
* 密钥 ID或别名。
|
|
1114
1114
|
*/
|
|
1115
1115
|
KeyId: string;
|
|
1116
1116
|
/**
|
|
@@ -69,6 +69,12 @@ export default class ULogServiceClient extends Client {
|
|
|
69
69
|
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_machine_group
|
|
70
70
|
*/
|
|
71
71
|
describeULogServiceMachineGroup(request?: DescribeULogServiceMachineGroupRequest): Promise<DescribeULogServiceMachineGroupResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
74
|
+
*
|
|
75
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/get_u_log_service_topic_field
|
|
76
|
+
*/
|
|
77
|
+
getULogServiceTopicField(request?: GetULogServiceTopicFieldRequest): Promise<GetULogServiceTopicFieldResponse>;
|
|
72
78
|
/**
|
|
73
79
|
* ListULogServiceCollectConf - 查询日志主题采集配置列表
|
|
74
80
|
*
|
|
@@ -111,6 +117,12 @@ export default class ULogServiceClient extends Client {
|
|
|
111
117
|
* See also: https://docs.ucloud.cn/api/ulogservice-api/update_u_log_service_machine_group
|
|
112
118
|
*/
|
|
113
119
|
updateULogServiceMachineGroup(request?: UpdateULogServiceMachineGroupRequest): Promise<UpdateULogServiceMachineGroupResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* UpdateULogServiceTopicField - 更新ULogService主题索引字段
|
|
122
|
+
*
|
|
123
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/update_u_log_service_topic_field
|
|
124
|
+
*/
|
|
125
|
+
updateULogServiceTopicField(request?: UpdateULogServiceTopicFieldRequest): Promise<UpdateULogServiceTopicFieldResponse>;
|
|
114
126
|
}
|
|
115
127
|
/**
|
|
116
128
|
* BindULogServiceGroupToCollectConf - 日志主题采集配置绑定机器组
|
|
@@ -439,6 +451,41 @@ export interface DescribeULogServiceMachineGroupResponse {
|
|
|
439
451
|
Ips?: string;
|
|
440
452
|
};
|
|
441
453
|
}
|
|
454
|
+
/**
|
|
455
|
+
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
456
|
+
*/
|
|
457
|
+
export interface GetULogServiceTopicFieldRequest {
|
|
458
|
+
/**
|
|
459
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
460
|
+
*/
|
|
461
|
+
Zone: string;
|
|
462
|
+
/**
|
|
463
|
+
* 主题Id
|
|
464
|
+
*/
|
|
465
|
+
TopicId: string;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
469
|
+
*/
|
|
470
|
+
export interface GetULogServiceTopicFieldResponse {
|
|
471
|
+
/**
|
|
472
|
+
* 索引字段数据,是一个数组
|
|
473
|
+
*/
|
|
474
|
+
Data: {
|
|
475
|
+
/**
|
|
476
|
+
* 索引名称
|
|
477
|
+
*/
|
|
478
|
+
FieldName?: string;
|
|
479
|
+
/**
|
|
480
|
+
* 索引类型,可取的值有: long, double, text
|
|
481
|
+
*/
|
|
482
|
+
FieldType?: string;
|
|
483
|
+
/**
|
|
484
|
+
* 是否保留字段,true表示保留字段,false表示非保留字段
|
|
485
|
+
*/
|
|
486
|
+
IsReserved?: boolean;
|
|
487
|
+
}[];
|
|
488
|
+
}
|
|
442
489
|
/**
|
|
443
490
|
* ListULogServiceCollectConf - 查询日志主题采集配置列表
|
|
444
491
|
*/
|
|
@@ -915,3 +962,34 @@ export interface UpdateULogServiceMachineGroupRequest {
|
|
|
915
962
|
*/
|
|
916
963
|
export interface UpdateULogServiceMachineGroupResponse {
|
|
917
964
|
}
|
|
965
|
+
/**
|
|
966
|
+
* UpdateULogServiceTopicField - 更新ULogService主题索引字段
|
|
967
|
+
*/
|
|
968
|
+
export interface UpdateULogServiceTopicFieldRequest {
|
|
969
|
+
/**
|
|
970
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
971
|
+
*/
|
|
972
|
+
Zone: string;
|
|
973
|
+
/**
|
|
974
|
+
* 主题Id
|
|
975
|
+
*/
|
|
976
|
+
TopicId: string;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
*/
|
|
980
|
+
FieldInfos?: {
|
|
981
|
+
/**
|
|
982
|
+
* 字段名称支持字母、横线(-)、斜杠(/)、特殊符号(@)、数字、下划线(_)和点(.),且不能以下划线开头,长度不超过255个字符
|
|
983
|
+
*/
|
|
984
|
+
FieldName?: string;
|
|
985
|
+
/**
|
|
986
|
+
* 主题字段类型(text、long、double)
|
|
987
|
+
*/
|
|
988
|
+
FieldType?: string;
|
|
989
|
+
}[];
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* UpdateULogServiceTopicField - 更新ULogService主题索引字段
|
|
993
|
+
*/
|
|
994
|
+
export interface UpdateULogServiceTopicFieldResponse {
|
|
995
|
+
}
|
|
@@ -102,6 +102,15 @@ class ULogServiceClient extends client_1.default {
|
|
|
102
102
|
const args = Object.assign({ Action: 'DescribeULogServiceMachineGroup' }, (request || {}));
|
|
103
103
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
107
|
+
*
|
|
108
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/get_u_log_service_topic_field
|
|
109
|
+
*/
|
|
110
|
+
getULogServiceTopicField(request) {
|
|
111
|
+
const args = Object.assign({ Action: 'GetULogServiceTopicField' }, (request || {}));
|
|
112
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
113
|
+
}
|
|
105
114
|
/**
|
|
106
115
|
* ListULogServiceCollectConf - 查询日志主题采集配置列表
|
|
107
116
|
*
|
|
@@ -165,5 +174,14 @@ class ULogServiceClient extends client_1.default {
|
|
|
165
174
|
const args = Object.assign({ Action: 'UpdateULogServiceMachineGroup' }, (request || {}));
|
|
166
175
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
167
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* UpdateULogServiceTopicField - 更新ULogService主题索引字段
|
|
179
|
+
*
|
|
180
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/update_u_log_service_topic_field
|
|
181
|
+
*/
|
|
182
|
+
updateULogServiceTopicField(request) {
|
|
183
|
+
const args = Object.assign({ Action: 'UpdateULogServiceTopicField' }, (request || {}));
|
|
184
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
185
|
+
}
|
|
168
186
|
}
|
|
169
187
|
exports.default = ULogServiceClient;
|