@volcengine/pulumi-volcenginecc 0.0.47 → 0.0.48
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.
- package/id/getOauth2CredentialProvider.d.ts +74 -0
- package/id/getOauth2CredentialProvider.d.ts.map +1 -0
- package/id/getOauth2CredentialProvider.js +51 -0
- package/id/getOauth2CredentialProvider.js.map +1 -0
- package/id/getOauth2CredentialProviders.d.ts +23 -0
- package/id/getOauth2CredentialProviders.d.ts.map +1 -0
- package/id/getOauth2CredentialProviders.js +47 -0
- package/id/getOauth2CredentialProviders.js.map +1 -0
- package/id/index.d.ts +9 -0
- package/id/index.d.ts.map +1 -1
- package/id/index.js +12 -1
- package/id/index.js.map +1 -1
- package/id/oauth2CredentialProvider.d.ts +191 -0
- package/id/oauth2CredentialProvider.d.ts.map +1 -0
- package/id/oauth2CredentialProvider.js +157 -0
- package/id/oauth2CredentialProvider.js.map +1 -0
- package/kms/getSecret.d.ts +29 -0
- package/kms/getSecret.d.ts.map +1 -1
- package/kms/getSecret.js.map +1 -1
- package/kms/secret.d.ts +80 -0
- package/kms/secret.d.ts.map +1 -1
- package/kms/secret.js +14 -0
- package/kms/secret.js.map +1 -1
- package/package.json +1 -1
- package/tls/alarmContentTemplateType.d.ts +263 -0
- package/tls/alarmContentTemplateType.d.ts.map +1 -0
- package/tls/alarmContentTemplateType.js +183 -0
- package/tls/alarmContentTemplateType.js.map +1 -0
- package/tls/getAlarmContentTemplateType.d.ts +90 -0
- package/tls/getAlarmContentTemplateType.d.ts.map +1 -0
- package/tls/getAlarmContentTemplateType.js +51 -0
- package/tls/getAlarmContentTemplateType.js.map +1 -0
- package/tls/getAlarmContentTemplateTypes.d.ts +23 -0
- package/tls/getAlarmContentTemplateTypes.d.ts.map +1 -0
- package/tls/getAlarmContentTemplateTypes.js +47 -0
- package/tls/getAlarmContentTemplateTypes.js.map +1 -0
- package/tls/index.d.ts +9 -0
- package/tls/index.d.ts.map +1 -1
- package/tls/index.js +13 -2
- package/tls/index.js.map +1 -1
- package/tos/bucket.d.ts +1 -1
- package/tos/bucket.js +1 -1
- package/tos/getObject.d.ts +118 -0
- package/tos/getObject.d.ts.map +1 -0
- package/tos/getObject.js +51 -0
- package/tos/getObject.js.map +1 -0
- package/tos/getObjects.d.ts +23 -0
- package/tos/getObjects.d.ts.map +1 -0
- package/tos/getObjects.js +47 -0
- package/tos/getObjects.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.d.ts.map +1 -1
- package/tos/index.js +13 -1
- package/tos/index.js.map +1 -1
- package/tos/tosObject.d.ts +294 -0
- package/tos/tosObject.d.ts.map +1 -0
- package/tos/tosObject.js +168 -0
- package/tos/tosObject.js.map +1 -0
- package/types/input.d.ts +680 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1404 -47
- package/types/output.d.ts.map +1 -1
- package/veenedge/getVeen.d.ts +206 -0
- package/veenedge/getVeen.d.ts.map +1 -0
- package/veenedge/getVeen.js +51 -0
- package/veenedge/getVeen.js.map +1 -0
- package/veenedge/getVeens.d.ts +23 -0
- package/veenedge/getVeens.d.ts.map +1 -0
- package/veenedge/getVeens.js +47 -0
- package/veenedge/getVeens.js.map +1 -0
- package/veenedge/index.d.ts +9 -0
- package/veenedge/index.d.ts.map +1 -1
- package/veenedge/index.js +12 -1
- package/veenedge/index.js.map +1 -1
- package/veenedge/veen.d.ts +475 -0
- package/veenedge/veen.d.ts.map +1 -0
- package/veenedge/veen.js +211 -0
- package/veenedge/veen.js.map +1 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* TLS alert content template
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new volcenginecc.tls.AlarmContentTemplateType("Example", {
|
|
14
|
+
* alarmContentTemplateName: "cc-test-1001",
|
|
15
|
+
* needValidContent: true,
|
|
16
|
+
* dingTalk: {
|
|
17
|
+
* content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
|
|
18
|
+
* locale: "en-US",
|
|
19
|
+
* title: "TLS告警",
|
|
20
|
+
* },
|
|
21
|
+
* email: {
|
|
22
|
+
* content: `告警策略:{{Alarm}}<br>
|
|
23
|
+
* 告警日志项目:{{ProjectName}}<br>
|
|
24
|
+
* 告警日志主题:{{AlarmTopicName}}<br>
|
|
25
|
+
* 告警级别:{{Severity}}<br>
|
|
26
|
+
* 首次触发时间:{{StartTime}}<br>
|
|
27
|
+
* 触发条件:{{Condition}}<br>
|
|
28
|
+
* 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
|
|
29
|
+
* 告警持续时间:{{Duration}}<br>
|
|
30
|
+
* 附加通知内容:{{NotifyMsg}}<br>
|
|
31
|
+
* 日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
|
|
32
|
+
* 告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
|
|
33
|
+
*
|
|
34
|
+
* 感谢对火山引擎的支持`,
|
|
35
|
+
* locale: "en-US",
|
|
36
|
+
* subject: "TLS告警",
|
|
37
|
+
* },
|
|
38
|
+
* lark: {
|
|
39
|
+
* content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
|
|
40
|
+
* locale: "en-US",
|
|
41
|
+
* title: "告警通知",
|
|
42
|
+
* },
|
|
43
|
+
* sms: {
|
|
44
|
+
* content: "告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}",
|
|
45
|
+
* locale: "zh-CN",
|
|
46
|
+
* },
|
|
47
|
+
* vms: {
|
|
48
|
+
* content: "通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
|
|
49
|
+
* locale: "zh-CN",
|
|
50
|
+
* },
|
|
51
|
+
* weChat: {
|
|
52
|
+
* content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
|
|
53
|
+
* locale: "zh-CN",
|
|
54
|
+
* title: "告警通知",
|
|
55
|
+
* },
|
|
56
|
+
* webhook: {
|
|
57
|
+
* content: `{
|
|
58
|
+
* "msg_type": "interactive",
|
|
59
|
+
* "card": {
|
|
60
|
+
* "config": {
|
|
61
|
+
* "wide_screen_mode": True
|
|
62
|
+
* },
|
|
63
|
+
* "elements": [
|
|
64
|
+
* {
|
|
65
|
+
* "content": "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\\n附加通知内容:{{NotifyMsg|escapejs}}\\n\\n感谢对火山引擎的支持",
|
|
66
|
+
* "tag": "markdown"
|
|
67
|
+
* }
|
|
68
|
+
* ],
|
|
69
|
+
* "header": {
|
|
70
|
+
* "template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
|
|
71
|
+
* "title": {
|
|
72
|
+
* "content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
|
|
73
|
+
* "tag": "plain_text"
|
|
74
|
+
* }
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
77
|
+
* }`,
|
|
78
|
+
* },
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* ## Import
|
|
83
|
+
*
|
|
84
|
+
* ```sh
|
|
85
|
+
* $ pulumi import volcenginecc:tls/alarmContentTemplateType:AlarmContentTemplateType example "alarm_content_template_id"
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export declare class AlarmContentTemplateType extends pulumi.CustomResource {
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing AlarmContentTemplateType resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlarmContentTemplateTypeState, opts?: pulumi.CustomResourceOptions): AlarmContentTemplateType;
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of AlarmContentTemplateType. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj: any): obj is AlarmContentTemplateType;
|
|
104
|
+
/**
|
|
105
|
+
* Alert notification template ID
|
|
106
|
+
*/
|
|
107
|
+
readonly alarmContentTemplateId: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Name of the alert notification content template
|
|
110
|
+
*/
|
|
111
|
+
readonly alarmContentTemplateName: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Creation time of the alert notification content template
|
|
114
|
+
*/
|
|
115
|
+
readonly createTime: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* DingTalk notification content template
|
|
118
|
+
*/
|
|
119
|
+
readonly dingTalk: pulumi.Output<outputs.tls.AlarmContentTemplateTypeDingTalk>;
|
|
120
|
+
/**
|
|
121
|
+
* Email notification content template
|
|
122
|
+
*/
|
|
123
|
+
readonly email: pulumi.Output<outputs.tls.AlarmContentTemplateTypeEmail>;
|
|
124
|
+
/**
|
|
125
|
+
* Is default template
|
|
126
|
+
*/
|
|
127
|
+
readonly isDefault: pulumi.Output<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* Feishu notification content template
|
|
130
|
+
*/
|
|
131
|
+
readonly lark: pulumi.Output<outputs.tls.AlarmContentTemplateTypeLark>;
|
|
132
|
+
/**
|
|
133
|
+
* Last modified time of the alert notification content template
|
|
134
|
+
*/
|
|
135
|
+
readonly modifyTime: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Whether to validate the content template
|
|
138
|
+
*/
|
|
139
|
+
readonly needValidContent: pulumi.Output<boolean>;
|
|
140
|
+
/**
|
|
141
|
+
* SMS notification content template
|
|
142
|
+
*/
|
|
143
|
+
readonly sms: pulumi.Output<outputs.tls.AlarmContentTemplateTypeSms>;
|
|
144
|
+
/**
|
|
145
|
+
* Voice notification content template
|
|
146
|
+
*/
|
|
147
|
+
readonly vms: pulumi.Output<outputs.tls.AlarmContentTemplateTypeVms>;
|
|
148
|
+
/**
|
|
149
|
+
* WeCom notification content template
|
|
150
|
+
*/
|
|
151
|
+
readonly weChat: pulumi.Output<outputs.tls.AlarmContentTemplateTypeWeChat>;
|
|
152
|
+
/**
|
|
153
|
+
* Custom Webhook alert notification content template
|
|
154
|
+
*/
|
|
155
|
+
readonly webhook: pulumi.Output<outputs.tls.AlarmContentTemplateTypeWebhook>;
|
|
156
|
+
/**
|
|
157
|
+
* Create a AlarmContentTemplateType resource with the given unique name, arguments, and options.
|
|
158
|
+
*
|
|
159
|
+
* @param name The _unique_ name of the resource.
|
|
160
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
161
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
162
|
+
*/
|
|
163
|
+
constructor(name: string, args: AlarmContentTemplateTypeArgs, opts?: pulumi.CustomResourceOptions);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Input properties used for looking up and filtering AlarmContentTemplateType resources.
|
|
167
|
+
*/
|
|
168
|
+
export interface AlarmContentTemplateTypeState {
|
|
169
|
+
/**
|
|
170
|
+
* Alert notification template ID
|
|
171
|
+
*/
|
|
172
|
+
alarmContentTemplateId?: pulumi.Input<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Name of the alert notification content template
|
|
175
|
+
*/
|
|
176
|
+
alarmContentTemplateName?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Creation time of the alert notification content template
|
|
179
|
+
*/
|
|
180
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* DingTalk notification content template
|
|
183
|
+
*/
|
|
184
|
+
dingTalk?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeDingTalk | undefined>;
|
|
185
|
+
/**
|
|
186
|
+
* Email notification content template
|
|
187
|
+
*/
|
|
188
|
+
email?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeEmail | undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* Is default template
|
|
191
|
+
*/
|
|
192
|
+
isDefault?: pulumi.Input<boolean | undefined>;
|
|
193
|
+
/**
|
|
194
|
+
* Feishu notification content template
|
|
195
|
+
*/
|
|
196
|
+
lark?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeLark | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Last modified time of the alert notification content template
|
|
199
|
+
*/
|
|
200
|
+
modifyTime?: pulumi.Input<string | undefined>;
|
|
201
|
+
/**
|
|
202
|
+
* Whether to validate the content template
|
|
203
|
+
*/
|
|
204
|
+
needValidContent?: pulumi.Input<boolean | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* SMS notification content template
|
|
207
|
+
*/
|
|
208
|
+
sms?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeSms | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* Voice notification content template
|
|
211
|
+
*/
|
|
212
|
+
vms?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeVms | undefined>;
|
|
213
|
+
/**
|
|
214
|
+
* WeCom notification content template
|
|
215
|
+
*/
|
|
216
|
+
weChat?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeWeChat | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* Custom Webhook alert notification content template
|
|
219
|
+
*/
|
|
220
|
+
webhook?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeWebhook | undefined>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The set of arguments for constructing a AlarmContentTemplateType resource.
|
|
224
|
+
*/
|
|
225
|
+
export interface AlarmContentTemplateTypeArgs {
|
|
226
|
+
/**
|
|
227
|
+
* Name of the alert notification content template
|
|
228
|
+
*/
|
|
229
|
+
alarmContentTemplateName: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* DingTalk notification content template
|
|
232
|
+
*/
|
|
233
|
+
dingTalk?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeDingTalk | undefined>;
|
|
234
|
+
/**
|
|
235
|
+
* Email notification content template
|
|
236
|
+
*/
|
|
237
|
+
email?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeEmail | undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* Feishu notification content template
|
|
240
|
+
*/
|
|
241
|
+
lark?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeLark | undefined>;
|
|
242
|
+
/**
|
|
243
|
+
* Whether to validate the content template
|
|
244
|
+
*/
|
|
245
|
+
needValidContent?: pulumi.Input<boolean | undefined>;
|
|
246
|
+
/**
|
|
247
|
+
* SMS notification content template
|
|
248
|
+
*/
|
|
249
|
+
sms?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeSms | undefined>;
|
|
250
|
+
/**
|
|
251
|
+
* Voice notification content template
|
|
252
|
+
*/
|
|
253
|
+
vms?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeVms | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* WeCom notification content template
|
|
256
|
+
*/
|
|
257
|
+
weChat?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeWeChat | undefined>;
|
|
258
|
+
/**
|
|
259
|
+
* Custom Webhook alert notification content template
|
|
260
|
+
*/
|
|
261
|
+
webhook?: pulumi.Input<inputs.tls.AlarmContentTemplateTypeWebhook | undefined>;
|
|
262
|
+
}
|
|
263
|
+
//# sourceMappingURL=alarmContentTemplateType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarmContentTemplateType.d.ts","sourceRoot":"","sources":["../../tls/alarmContentTemplateType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,qBAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,wBAAwB;IAOlK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,wBAAwB;IAOnE;;OAEG;IACH,SAAgC,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9E;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxE;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;IAC9F;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,C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AC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IACjF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC7E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;CAClF"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.AlarmContentTemplateType = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* TLS alert content template
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new volcenginecc.tls.AlarmContentTemplateType("Example", {
|
|
41
|
+
* alarmContentTemplateName: "cc-test-1001",
|
|
42
|
+
* needValidContent: true,
|
|
43
|
+
* dingTalk: {
|
|
44
|
+
* content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
|
|
45
|
+
* locale: "en-US",
|
|
46
|
+
* title: "TLS告警",
|
|
47
|
+
* },
|
|
48
|
+
* email: {
|
|
49
|
+
* content: `告警策略:{{Alarm}}<br>
|
|
50
|
+
* 告警日志项目:{{ProjectName}}<br>
|
|
51
|
+
* 告警日志主题:{{AlarmTopicName}}<br>
|
|
52
|
+
* 告警级别:{{Severity}}<br>
|
|
53
|
+
* 首次触发时间:{{StartTime}}<br>
|
|
54
|
+
* 触发条件:{{Condition}}<br>
|
|
55
|
+
* 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
|
|
56
|
+
* 告警持续时间:{{Duration}}<br>
|
|
57
|
+
* 附加通知内容:{{NotifyMsg}}<br>
|
|
58
|
+
* 日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
|
|
59
|
+
* 告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
|
|
60
|
+
*
|
|
61
|
+
* 感谢对火山引擎的支持`,
|
|
62
|
+
* locale: "en-US",
|
|
63
|
+
* subject: "TLS告警",
|
|
64
|
+
* },
|
|
65
|
+
* lark: {
|
|
66
|
+
* content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
|
|
67
|
+
* locale: "en-US",
|
|
68
|
+
* title: "告警通知",
|
|
69
|
+
* },
|
|
70
|
+
* sms: {
|
|
71
|
+
* content: "告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}",
|
|
72
|
+
* locale: "zh-CN",
|
|
73
|
+
* },
|
|
74
|
+
* vms: {
|
|
75
|
+
* content: "通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
|
|
76
|
+
* locale: "zh-CN",
|
|
77
|
+
* },
|
|
78
|
+
* weChat: {
|
|
79
|
+
* content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
|
|
80
|
+
* locale: "zh-CN",
|
|
81
|
+
* title: "告警通知",
|
|
82
|
+
* },
|
|
83
|
+
* webhook: {
|
|
84
|
+
* content: `{
|
|
85
|
+
* "msg_type": "interactive",
|
|
86
|
+
* "card": {
|
|
87
|
+
* "config": {
|
|
88
|
+
* "wide_screen_mode": True
|
|
89
|
+
* },
|
|
90
|
+
* "elements": [
|
|
91
|
+
* {
|
|
92
|
+
* "content": "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\\n附加通知内容:{{NotifyMsg|escapejs}}\\n\\n感谢对火山引擎的支持",
|
|
93
|
+
* "tag": "markdown"
|
|
94
|
+
* }
|
|
95
|
+
* ],
|
|
96
|
+
* "header": {
|
|
97
|
+
* "template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
|
|
98
|
+
* "title": {
|
|
99
|
+
* "content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
|
|
100
|
+
* "tag": "plain_text"
|
|
101
|
+
* }
|
|
102
|
+
* }
|
|
103
|
+
* }
|
|
104
|
+
* }`,
|
|
105
|
+
* },
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* ## Import
|
|
110
|
+
*
|
|
111
|
+
* ```sh
|
|
112
|
+
* $ pulumi import volcenginecc:tls/alarmContentTemplateType:AlarmContentTemplateType example "alarm_content_template_id"
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
class AlarmContentTemplateType extends pulumi.CustomResource {
|
|
116
|
+
/**
|
|
117
|
+
* Get an existing AlarmContentTemplateType resource's state with the given name, ID, and optional extra
|
|
118
|
+
* properties used to qualify the lookup.
|
|
119
|
+
*
|
|
120
|
+
* @param name The _unique_ name of the resulting resource.
|
|
121
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
122
|
+
* @param state Any extra arguments used during the lookup.
|
|
123
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
124
|
+
*/
|
|
125
|
+
static get(name, id, state, opts) {
|
|
126
|
+
return new AlarmContentTemplateType(name, state, { ...opts, id: id });
|
|
127
|
+
}
|
|
128
|
+
/** @internal */
|
|
129
|
+
static __pulumiType = 'volcenginecc:tls/alarmContentTemplateType:AlarmContentTemplateType';
|
|
130
|
+
/**
|
|
131
|
+
* Returns true if the given object is an instance of AlarmContentTemplateType. This is designed to work even
|
|
132
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
133
|
+
*/
|
|
134
|
+
static isInstance(obj) {
|
|
135
|
+
if (obj === undefined || obj === null) {
|
|
136
|
+
return false;
|
|
137
|
+
}
|
|
138
|
+
return obj['__pulumiType'] === AlarmContentTemplateType.__pulumiType;
|
|
139
|
+
}
|
|
140
|
+
constructor(name, argsOrState, opts) {
|
|
141
|
+
let resourceInputs = {};
|
|
142
|
+
opts = opts || {};
|
|
143
|
+
if (opts.id) {
|
|
144
|
+
const state = argsOrState;
|
|
145
|
+
resourceInputs["alarmContentTemplateId"] = state?.alarmContentTemplateId;
|
|
146
|
+
resourceInputs["alarmContentTemplateName"] = state?.alarmContentTemplateName;
|
|
147
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
148
|
+
resourceInputs["dingTalk"] = state?.dingTalk;
|
|
149
|
+
resourceInputs["email"] = state?.email;
|
|
150
|
+
resourceInputs["isDefault"] = state?.isDefault;
|
|
151
|
+
resourceInputs["lark"] = state?.lark;
|
|
152
|
+
resourceInputs["modifyTime"] = state?.modifyTime;
|
|
153
|
+
resourceInputs["needValidContent"] = state?.needValidContent;
|
|
154
|
+
resourceInputs["sms"] = state?.sms;
|
|
155
|
+
resourceInputs["vms"] = state?.vms;
|
|
156
|
+
resourceInputs["weChat"] = state?.weChat;
|
|
157
|
+
resourceInputs["webhook"] = state?.webhook;
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
const args = argsOrState;
|
|
161
|
+
if (args?.alarmContentTemplateName === undefined && !opts.urn) {
|
|
162
|
+
throw new Error("Missing required property 'alarmContentTemplateName'");
|
|
163
|
+
}
|
|
164
|
+
resourceInputs["alarmContentTemplateName"] = args?.alarmContentTemplateName;
|
|
165
|
+
resourceInputs["dingTalk"] = args?.dingTalk;
|
|
166
|
+
resourceInputs["email"] = args?.email;
|
|
167
|
+
resourceInputs["lark"] = args?.lark;
|
|
168
|
+
resourceInputs["needValidContent"] = args?.needValidContent;
|
|
169
|
+
resourceInputs["sms"] = args?.sms;
|
|
170
|
+
resourceInputs["vms"] = args?.vms;
|
|
171
|
+
resourceInputs["weChat"] = args?.weChat;
|
|
172
|
+
resourceInputs["webhook"] = args?.webhook;
|
|
173
|
+
resourceInputs["alarmContentTemplateId"] = undefined /*out*/;
|
|
174
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
175
|
+
resourceInputs["isDefault"] = undefined /*out*/;
|
|
176
|
+
resourceInputs["modifyTime"] = undefined /*out*/;
|
|
177
|
+
}
|
|
178
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
179
|
+
super(AlarmContentTemplateType.__pulumiType, name, resourceInputs, opts);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
exports.AlarmContentTemplateType = AlarmContentTemplateType;
|
|
183
|
+
//# sourceMappingURL=alarmContentTemplateType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarmContentTemplateType.js","sourceRoot":"","sources":["../../tls/alarmContentTemplateType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CA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AI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAhIL,4DAiIC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::TLS::AlarmContentTemplateType
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAlarmContentTemplateType(args: GetAlarmContentTemplateTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetAlarmContentTemplateTypeResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAlarmContentTemplateType.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAlarmContentTemplateTypeArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAlarmContentTemplateType.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAlarmContentTemplateTypeResult {
|
|
20
|
+
/**
|
|
21
|
+
* Alert notification template ID
|
|
22
|
+
*/
|
|
23
|
+
readonly alarmContentTemplateId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the alert notification content template
|
|
26
|
+
*/
|
|
27
|
+
readonly alarmContentTemplateName: string;
|
|
28
|
+
/**
|
|
29
|
+
* Creation time of the alert notification content template
|
|
30
|
+
*/
|
|
31
|
+
readonly createTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* DingTalk notification content template
|
|
34
|
+
*/
|
|
35
|
+
readonly dingTalk: outputs.tls.GetAlarmContentTemplateTypeDingTalk;
|
|
36
|
+
/**
|
|
37
|
+
* Email notification content template
|
|
38
|
+
*/
|
|
39
|
+
readonly email: outputs.tls.GetAlarmContentTemplateTypeEmail;
|
|
40
|
+
/**
|
|
41
|
+
* Uniquely identifies the resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* Is default template
|
|
46
|
+
*/
|
|
47
|
+
readonly isDefault: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Feishu notification content template
|
|
50
|
+
*/
|
|
51
|
+
readonly lark: outputs.tls.GetAlarmContentTemplateTypeLark;
|
|
52
|
+
/**
|
|
53
|
+
* Last modified time of the alert notification content template
|
|
54
|
+
*/
|
|
55
|
+
readonly modifyTime: string;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to validate the content template
|
|
58
|
+
*/
|
|
59
|
+
readonly needValidContent: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* SMS notification content template
|
|
62
|
+
*/
|
|
63
|
+
readonly sms: outputs.tls.GetAlarmContentTemplateTypeSms;
|
|
64
|
+
/**
|
|
65
|
+
* Voice notification content template
|
|
66
|
+
*/
|
|
67
|
+
readonly vms: outputs.tls.GetAlarmContentTemplateTypeVms;
|
|
68
|
+
/**
|
|
69
|
+
* WeCom notification content template
|
|
70
|
+
*/
|
|
71
|
+
readonly weChat: outputs.tls.GetAlarmContentTemplateTypeWeChat;
|
|
72
|
+
/**
|
|
73
|
+
* Custom Webhook alert notification content template
|
|
74
|
+
*/
|
|
75
|
+
readonly webhook: outputs.tls.GetAlarmContentTemplateTypeWebhook;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Data Source schema for Volcengine::TLS::AlarmContentTemplateType
|
|
79
|
+
*/
|
|
80
|
+
export declare function getAlarmContentTemplateTypeOutput(args: GetAlarmContentTemplateTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlarmContentTemplateTypeResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getAlarmContentTemplateType.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetAlarmContentTemplateTypeOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* Uniquely identifies the resource.
|
|
87
|
+
*/
|
|
88
|
+
id: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=getAlarmContentTemplateType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlarmContentTemplateType.d.ts","sourceRoot":"","sources":["../../tls/getAlarmContentTemplateType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAK1J;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC;IAC/D;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC;CACpE;AACD;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAKlL;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getAlarmContentTemplateTypeOutput = exports.getAlarmContentTemplateType = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Volcengine::TLS::AlarmContentTemplateType
|
|
33
|
+
*/
|
|
34
|
+
function getAlarmContentTemplateType(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("volcenginecc:tls/getAlarmContentTemplateType:getAlarmContentTemplateType", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getAlarmContentTemplateType = getAlarmContentTemplateType;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Volcengine::TLS::AlarmContentTemplateType
|
|
43
|
+
*/
|
|
44
|
+
function getAlarmContentTemplateTypeOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("volcenginecc:tls/getAlarmContentTemplateType:getAlarmContentTemplateType", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getAlarmContentTemplateTypeOutput = getAlarmContentTemplateTypeOutput;
|
|
51
|
+
//# sourceMappingURL=getAlarmContentTemplateType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlarmContentTemplateType.js","sourceRoot":"","sources":["../../tls/getAlarmContentTemplateType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC;AAyED;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAAiC;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0EAA0E,EAAE;QAC3G,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8EAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::TLS::AlarmContentTemplateType
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAlarmContentTemplateTypes(opts?: pulumi.InvokeOptions): Promise<GetAlarmContentTemplateTypesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAlarmContentTemplateTypes.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAlarmContentTemplateTypesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::TLS::AlarmContentTemplateType
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAlarmContentTemplateTypesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlarmContentTemplateTypesResult>;
|
|
23
|
+
//# sourceMappingURL=getAlarmContentTemplateTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlarmContentTemplateTypes.d.ts","sourceRoot":"","sources":["../../tls/getAlarmContentTemplateTypes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAIrH;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAIvI"}
|