@pulumi/cloudamqp 3.24.0 → 3.24.1
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/integrationLog.d.ts +127 -0
- package/integrationLog.js +127 -0
- package/integrationLog.js.map +1 -1
- package/integrationMetric.d.ts +178 -0
- package/integrationMetric.js +178 -0
- package/integrationMetric.js.map +1 -1
- package/package.json +2 -2
package/integrationLog.d.ts
CHANGED
|
@@ -226,6 +226,133 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
226
226
|
*
|
|
227
227
|
* or by using googleServiceAccountKey resource from Google provider
|
|
228
228
|
*
|
|
229
|
+
* ```typescript
|
|
230
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
231
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
232
|
+
* import * as google from "@pulumi/google";
|
|
233
|
+
* import * as std from "@pulumi/std";
|
|
234
|
+
*
|
|
235
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
236
|
+
* accountId: "<account_id>",
|
|
237
|
+
* description: "<description>",
|
|
238
|
+
* displayName: "<display_name>",
|
|
239
|
+
* });
|
|
240
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
241
|
+
* const stackdriver = new cloudamqp.IntegrationLog("stackdriver", {
|
|
242
|
+
* instanceId: instance.id,
|
|
243
|
+
* name: "stackdriver",
|
|
244
|
+
* projectId: std.index.jsondecode({
|
|
245
|
+
* input: std.index.base64decode({
|
|
246
|
+
* input: serviceAccountKey.privateKey,
|
|
247
|
+
* }).result,
|
|
248
|
+
* }).result.projectId,
|
|
249
|
+
* privateKey: std.index.jsondecode({
|
|
250
|
+
* input: std.index.base64decode({
|
|
251
|
+
* input: serviceAccountKey.privateKey,
|
|
252
|
+
* }).result,
|
|
253
|
+
* }).result.privateKey,
|
|
254
|
+
* clientEmail: std.index.jsondecode({
|
|
255
|
+
* input: std.index.base64decode({
|
|
256
|
+
* input: serviceAccountKey.privateKey,
|
|
257
|
+
* }).result,
|
|
258
|
+
* }).result.clientEmail,
|
|
259
|
+
* });
|
|
260
|
+
* ```
|
|
261
|
+
*
|
|
262
|
+
* </details>
|
|
263
|
+
*
|
|
264
|
+
* <details>
|
|
265
|
+
* <summary>
|
|
266
|
+
* <b>
|
|
267
|
+
* <i>Stackdriver log integration (v1.21.0 or newer versions)</i>
|
|
268
|
+
* </b>
|
|
269
|
+
* </summary>
|
|
270
|
+
*
|
|
271
|
+
* Use credentials argument and let the provider do the Base64decode and internally populate,
|
|
272
|
+
* *project_id, client_name, private_key*
|
|
273
|
+
*
|
|
274
|
+
* ```typescript
|
|
275
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
276
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
277
|
+
* import * as google from "@pulumi/google";
|
|
278
|
+
*
|
|
279
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
280
|
+
* accountId: "<account_id>",
|
|
281
|
+
* description: "<description>",
|
|
282
|
+
* displayName: "<display_name>",
|
|
283
|
+
* });
|
|
284
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
285
|
+
* const stackdriver = new cloudamqp.IntegrationLog("stackdriver", {
|
|
286
|
+
* instanceId: instance.id,
|
|
287
|
+
* name: "stackdriver",
|
|
288
|
+
* credentials: serviceAccountKey.privateKey,
|
|
289
|
+
* });
|
|
290
|
+
* ```
|
|
291
|
+
*
|
|
292
|
+
* or use the same as earlier version and decode the google service account key
|
|
293
|
+
*
|
|
294
|
+
* ```typescript
|
|
295
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
296
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
297
|
+
* import * as google from "@pulumi/google";
|
|
298
|
+
* import * as std from "@pulumi/std";
|
|
299
|
+
*
|
|
300
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
301
|
+
* accountId: "<account_id>",
|
|
302
|
+
* description: "<description>",
|
|
303
|
+
* displayName: "<display_name>",
|
|
304
|
+
* });
|
|
305
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
306
|
+
* const stackdriver = new cloudamqp.IntegrationLog("stackdriver", {
|
|
307
|
+
* instanceId: instance.id,
|
|
308
|
+
* name: "stackdriver",
|
|
309
|
+
* projectId: std.index.jsondecode({
|
|
310
|
+
* input: std.index.base64decode({
|
|
311
|
+
* input: serviceAccountKey.privateKey,
|
|
312
|
+
* }).result,
|
|
313
|
+
* }).result.projectId,
|
|
314
|
+
* privateKey: std.index.jsondecode({
|
|
315
|
+
* input: std.index.base64decode({
|
|
316
|
+
* input: serviceAccountKey.privateKey,
|
|
317
|
+
* }).result,
|
|
318
|
+
* }).result.privateKey,
|
|
319
|
+
* clientEmail: std.index.jsondecode({
|
|
320
|
+
* input: std.index.base64decode({
|
|
321
|
+
* input: serviceAccountKey.privateKey,
|
|
322
|
+
* }).result,
|
|
323
|
+
* }).result.clientEmail,
|
|
324
|
+
* });
|
|
325
|
+
* ```
|
|
326
|
+
*
|
|
327
|
+
* </details>
|
|
328
|
+
*
|
|
329
|
+
* ## Integration type reference
|
|
330
|
+
*
|
|
331
|
+
* Valid arguments for third party log integrations. See more information at
|
|
332
|
+
* [CloudAMQP API add integration].
|
|
333
|
+
*
|
|
334
|
+
* Required arguments for all integrations: name
|
|
335
|
+
*
|
|
336
|
+
* | Integration | name | Required arguments |
|
|
337
|
+
* | ---- | ---- | ---- |
|
|
338
|
+
* | Azure monitor | azureMonitor | tenant_id, application_id, application_secret, dce_uri, table, dcrId |
|
|
339
|
+
* | CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region |
|
|
340
|
+
* | Coralogix | coralogix | private_key, endpoint, application, subsystem |
|
|
341
|
+
* | Data Dog | datadog | region, api_keys, tags |
|
|
342
|
+
* | Log Entries | logentries | token |
|
|
343
|
+
* | Loggly | loggly | token |
|
|
344
|
+
* | Papertrail | papertrail | url |
|
|
345
|
+
* | Scalyr | scalyr | token, host |
|
|
346
|
+
* | Splunk | splunk | token, host_port, sourcetype |
|
|
347
|
+
* | Stackdriver | stackdriver | credentials |
|
|
348
|
+
*
|
|
349
|
+
* ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments: project_id, private_key,
|
|
350
|
+
* clientEmail
|
|
351
|
+
*
|
|
352
|
+
* ## Dependency
|
|
353
|
+
*
|
|
354
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
355
|
+
*
|
|
229
356
|
* ## Import
|
|
230
357
|
*
|
|
231
358
|
* `cloudamqp_integration_log`can be imported using the resource identifier together with CloudAMQP
|
package/integrationLog.js
CHANGED
|
@@ -232,6 +232,133 @@ const utilities = require("./utilities");
|
|
|
232
232
|
*
|
|
233
233
|
* or by using googleServiceAccountKey resource from Google provider
|
|
234
234
|
*
|
|
235
|
+
* ```typescript
|
|
236
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
237
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
238
|
+
* import * as google from "@pulumi/google";
|
|
239
|
+
* import * as std from "@pulumi/std";
|
|
240
|
+
*
|
|
241
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
242
|
+
* accountId: "<account_id>",
|
|
243
|
+
* description: "<description>",
|
|
244
|
+
* displayName: "<display_name>",
|
|
245
|
+
* });
|
|
246
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
247
|
+
* const stackdriver = new cloudamqp.IntegrationLog("stackdriver", {
|
|
248
|
+
* instanceId: instance.id,
|
|
249
|
+
* name: "stackdriver",
|
|
250
|
+
* projectId: std.index.jsondecode({
|
|
251
|
+
* input: std.index.base64decode({
|
|
252
|
+
* input: serviceAccountKey.privateKey,
|
|
253
|
+
* }).result,
|
|
254
|
+
* }).result.projectId,
|
|
255
|
+
* privateKey: std.index.jsondecode({
|
|
256
|
+
* input: std.index.base64decode({
|
|
257
|
+
* input: serviceAccountKey.privateKey,
|
|
258
|
+
* }).result,
|
|
259
|
+
* }).result.privateKey,
|
|
260
|
+
* clientEmail: std.index.jsondecode({
|
|
261
|
+
* input: std.index.base64decode({
|
|
262
|
+
* input: serviceAccountKey.privateKey,
|
|
263
|
+
* }).result,
|
|
264
|
+
* }).result.clientEmail,
|
|
265
|
+
* });
|
|
266
|
+
* ```
|
|
267
|
+
*
|
|
268
|
+
* </details>
|
|
269
|
+
*
|
|
270
|
+
* <details>
|
|
271
|
+
* <summary>
|
|
272
|
+
* <b>
|
|
273
|
+
* <i>Stackdriver log integration (v1.21.0 or newer versions)</i>
|
|
274
|
+
* </b>
|
|
275
|
+
* </summary>
|
|
276
|
+
*
|
|
277
|
+
* Use credentials argument and let the provider do the Base64decode and internally populate,
|
|
278
|
+
* *project_id, client_name, private_key*
|
|
279
|
+
*
|
|
280
|
+
* ```typescript
|
|
281
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
282
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
283
|
+
* import * as google from "@pulumi/google";
|
|
284
|
+
*
|
|
285
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
286
|
+
* accountId: "<account_id>",
|
|
287
|
+
* description: "<description>",
|
|
288
|
+
* displayName: "<display_name>",
|
|
289
|
+
* });
|
|
290
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
291
|
+
* const stackdriver = new cloudamqp.IntegrationLog("stackdriver", {
|
|
292
|
+
* instanceId: instance.id,
|
|
293
|
+
* name: "stackdriver",
|
|
294
|
+
* credentials: serviceAccountKey.privateKey,
|
|
295
|
+
* });
|
|
296
|
+
* ```
|
|
297
|
+
*
|
|
298
|
+
* or use the same as earlier version and decode the google service account key
|
|
299
|
+
*
|
|
300
|
+
* ```typescript
|
|
301
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
302
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
303
|
+
* import * as google from "@pulumi/google";
|
|
304
|
+
* import * as std from "@pulumi/std";
|
|
305
|
+
*
|
|
306
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
307
|
+
* accountId: "<account_id>",
|
|
308
|
+
* description: "<description>",
|
|
309
|
+
* displayName: "<display_name>",
|
|
310
|
+
* });
|
|
311
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
312
|
+
* const stackdriver = new cloudamqp.IntegrationLog("stackdriver", {
|
|
313
|
+
* instanceId: instance.id,
|
|
314
|
+
* name: "stackdriver",
|
|
315
|
+
* projectId: std.index.jsondecode({
|
|
316
|
+
* input: std.index.base64decode({
|
|
317
|
+
* input: serviceAccountKey.privateKey,
|
|
318
|
+
* }).result,
|
|
319
|
+
* }).result.projectId,
|
|
320
|
+
* privateKey: std.index.jsondecode({
|
|
321
|
+
* input: std.index.base64decode({
|
|
322
|
+
* input: serviceAccountKey.privateKey,
|
|
323
|
+
* }).result,
|
|
324
|
+
* }).result.privateKey,
|
|
325
|
+
* clientEmail: std.index.jsondecode({
|
|
326
|
+
* input: std.index.base64decode({
|
|
327
|
+
* input: serviceAccountKey.privateKey,
|
|
328
|
+
* }).result,
|
|
329
|
+
* }).result.clientEmail,
|
|
330
|
+
* });
|
|
331
|
+
* ```
|
|
332
|
+
*
|
|
333
|
+
* </details>
|
|
334
|
+
*
|
|
335
|
+
* ## Integration type reference
|
|
336
|
+
*
|
|
337
|
+
* Valid arguments for third party log integrations. See more information at
|
|
338
|
+
* [CloudAMQP API add integration].
|
|
339
|
+
*
|
|
340
|
+
* Required arguments for all integrations: name
|
|
341
|
+
*
|
|
342
|
+
* | Integration | name | Required arguments |
|
|
343
|
+
* | ---- | ---- | ---- |
|
|
344
|
+
* | Azure monitor | azureMonitor | tenant_id, application_id, application_secret, dce_uri, table, dcrId |
|
|
345
|
+
* | CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region |
|
|
346
|
+
* | Coralogix | coralogix | private_key, endpoint, application, subsystem |
|
|
347
|
+
* | Data Dog | datadog | region, api_keys, tags |
|
|
348
|
+
* | Log Entries | logentries | token |
|
|
349
|
+
* | Loggly | loggly | token |
|
|
350
|
+
* | Papertrail | papertrail | url |
|
|
351
|
+
* | Scalyr | scalyr | token, host |
|
|
352
|
+
* | Splunk | splunk | token, host_port, sourcetype |
|
|
353
|
+
* | Stackdriver | stackdriver | credentials |
|
|
354
|
+
*
|
|
355
|
+
* ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments: project_id, private_key,
|
|
356
|
+
* clientEmail
|
|
357
|
+
*
|
|
358
|
+
* ## Dependency
|
|
359
|
+
*
|
|
360
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
361
|
+
*
|
|
235
362
|
* ## Import
|
|
236
363
|
*
|
|
237
364
|
* `cloudamqp_integration_log`can be imported using the resource identifier together with CloudAMQP
|
package/integrationLog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationLog.js","sourceRoot":"","sources":["../integrationLog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"integrationLog.js","sourceRoot":"","sources":["../integrationLog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,EAAE,QAAQ,EAAE,mBAAmB,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,CAAC;QACxK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1NL,wCA2NC;AA7MG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
package/integrationMetric.d.ts
CHANGED
|
@@ -159,6 +159,184 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
159
159
|
*
|
|
160
160
|
* or by using googleServiceAccountKey resource from Google provider
|
|
161
161
|
*
|
|
162
|
+
* ```typescript
|
|
163
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
164
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
165
|
+
* import * as google from "@pulumi/google";
|
|
166
|
+
* import * as std from "@pulumi/std";
|
|
167
|
+
*
|
|
168
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
169
|
+
* accountId: "<account_id>",
|
|
170
|
+
* description: "<description>",
|
|
171
|
+
* displayName: "<display_name>",
|
|
172
|
+
* });
|
|
173
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
174
|
+
* const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
|
|
175
|
+
* instanceId: instance.id,
|
|
176
|
+
* name: "stackdriver",
|
|
177
|
+
* projectId: std.index.jsondecode({
|
|
178
|
+
* input: std.index.base64decode({
|
|
179
|
+
* input: serviceAccountKey.privateKey,
|
|
180
|
+
* }).result,
|
|
181
|
+
* }).result.projectId,
|
|
182
|
+
* privateKey: std.index.jsondecode({
|
|
183
|
+
* input: std.index.base64decode({
|
|
184
|
+
* input: serviceAccountKey.privateKey,
|
|
185
|
+
* }).result,
|
|
186
|
+
* }).result.privateKey,
|
|
187
|
+
* clientEmail: std.index.jsondecode({
|
|
188
|
+
* input: std.index.base64decode({
|
|
189
|
+
* input: serviceAccountKey.privateKey,
|
|
190
|
+
* }).result,
|
|
191
|
+
* }).result.clientEmail,
|
|
192
|
+
* });
|
|
193
|
+
* ```
|
|
194
|
+
*
|
|
195
|
+
* </details>
|
|
196
|
+
*
|
|
197
|
+
* <details>
|
|
198
|
+
* <summary>
|
|
199
|
+
* <b>
|
|
200
|
+
* <i>Stackdriver metric integration (v1.21.0 or newer versions)</i>
|
|
201
|
+
* </b>
|
|
202
|
+
* </summary>
|
|
203
|
+
*
|
|
204
|
+
* Use credentials argument and let the provider do the Base64decode and internally populate,
|
|
205
|
+
* *project_id, client_name, private_key*
|
|
206
|
+
*
|
|
207
|
+
* ```typescript
|
|
208
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
209
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
210
|
+
* import * as google from "@pulumi/google";
|
|
211
|
+
*
|
|
212
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
213
|
+
* accountId: "<account_id>",
|
|
214
|
+
* description: "<description>",
|
|
215
|
+
* displayName: "<display_name>",
|
|
216
|
+
* });
|
|
217
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
218
|
+
* const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
|
|
219
|
+
* instanceId: instance.id,
|
|
220
|
+
* name: "stackdriver",
|
|
221
|
+
* credentials: serviceAccountKey.privateKey,
|
|
222
|
+
* });
|
|
223
|
+
* ```
|
|
224
|
+
*
|
|
225
|
+
* or use the same as earlier version and decode the google service account key
|
|
226
|
+
*
|
|
227
|
+
* ```typescript
|
|
228
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
229
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
230
|
+
* import * as google from "@pulumi/google";
|
|
231
|
+
* import * as std from "@pulumi/std";
|
|
232
|
+
*
|
|
233
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
234
|
+
* accountId: "<account_id>",
|
|
235
|
+
* description: "<description>",
|
|
236
|
+
* displayName: "<display_name>",
|
|
237
|
+
* });
|
|
238
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
239
|
+
* const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
|
|
240
|
+
* instanceId: instance.id,
|
|
241
|
+
* name: "stackdriver",
|
|
242
|
+
* projectId: std.index.jsondecode({
|
|
243
|
+
* input: std.index.base64decode({
|
|
244
|
+
* input: serviceAccountKey.privateKey,
|
|
245
|
+
* }).result,
|
|
246
|
+
* }).result.projectId,
|
|
247
|
+
* privateKey: std.index.jsondecode({
|
|
248
|
+
* input: std.index.base64decode({
|
|
249
|
+
* input: serviceAccountKey.privateKey,
|
|
250
|
+
* }).result,
|
|
251
|
+
* }).result.privateKey,
|
|
252
|
+
* clientEmail: std.index.jsondecode({
|
|
253
|
+
* input: std.index.base64decode({
|
|
254
|
+
* input: serviceAccountKey.privateKey,
|
|
255
|
+
* }).result,
|
|
256
|
+
* }).result.clientEmail,
|
|
257
|
+
* });
|
|
258
|
+
* ```
|
|
259
|
+
*
|
|
260
|
+
* </details>
|
|
261
|
+
*
|
|
262
|
+
* ## Argument References
|
|
263
|
+
*
|
|
264
|
+
* The following arguments are supported:
|
|
265
|
+
*
|
|
266
|
+
* * `name` - (Required) The name of the third party log integration. See
|
|
267
|
+
* `Integration service reference`
|
|
268
|
+
* * `region` - (Optional) Region hosting the integration service.
|
|
269
|
+
* * `accessKeyId` - (Optional) AWS access key identifier.
|
|
270
|
+
* * `secretAccessKey` - (Optional) AWS secret access key.
|
|
271
|
+
* * `iamRole` - (Optional) The ARN of the role to be assumed when publishing metrics.
|
|
272
|
+
* * `iamExternalId` - (Optional) External identifier that match the role you created.
|
|
273
|
+
* * `apiKey` - (Optional) The API key for the integration service.
|
|
274
|
+
* * `email` - (Optional) The email address registred for the integration service.
|
|
275
|
+
* * `credentials` - (Optional) Google Service Account private key credentials.
|
|
276
|
+
* * `projectId` - (Optional/Computed) The project identifier.
|
|
277
|
+
* * `privateKey` - (Optional/Computed) The private access key.
|
|
278
|
+
* * `clientEmail` - (Optional/Computed) The client email registered for the integration service.
|
|
279
|
+
* * `tags` - (Optional) Tags. e.g. `env=prod,region=europe`.
|
|
280
|
+
*
|
|
281
|
+
* ***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
282
|
+
* letter, read more about tags format in the [Datadog documentation].
|
|
283
|
+
*
|
|
284
|
+
* * `queueAllowlist` - (Optional) Allowlist queues using regular expression. Leave empty to include
|
|
285
|
+
* all queues.
|
|
286
|
+
* * `vhostAllowlist` - (Optional) Allowlist vhost using regular expression. Leave empty to include
|
|
287
|
+
* all vhosts.
|
|
288
|
+
* * `queueWhitelist` - **Deprecated** Use queueAllowlist instead
|
|
289
|
+
* * `vhostWhitelist` - **Deprecated** Use vhostAllowlist instead
|
|
290
|
+
* * `includeAdQueues` - (Optional) Include auto delete queues.
|
|
291
|
+
*
|
|
292
|
+
* This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
293
|
+
* integration used. See [integration type reference] below for more information.
|
|
294
|
+
*
|
|
295
|
+
* ## Integration service references
|
|
296
|
+
*
|
|
297
|
+
* Valid names for third party log integration.
|
|
298
|
+
*
|
|
299
|
+
* | Name | Description |
|
|
300
|
+
* |---------------|---------------------------------------------------------------|
|
|
301
|
+
* | cloudwatch | Access key: Create an IAM user with permission to `PutMetricData` |
|
|
302
|
+
* | cloudwatchV2 | Access key: Create an IAM user with permission to `PutMetricData` |
|
|
303
|
+
* | cloudwatch | Assume role: Create a IAM role with the permission to `PutMetricData` |
|
|
304
|
+
* | cloudwatchV2 | Assume role: Create a IAM role with the permission to `PutMetricData` |
|
|
305
|
+
* | datadog | Create a Datadog API key at app.datadoghq.com |
|
|
306
|
+
* | datadogV2 | Create a Datadog API key at app.datadoghq.com |
|
|
307
|
+
* | librato | Create a new API token (with record only permissions) here: https://metrics.librato.com/tokens |
|
|
308
|
+
* | newrelic | Deprecated! |
|
|
309
|
+
* | newrelicV2 | Find or register an Insert API key for your account: Go to insights.newrelic.com > Manage data > API keys. |
|
|
310
|
+
* | stackdriver | Create a service account and add 'monitor metrics writer' role from your Google Cloud Account |
|
|
311
|
+
*
|
|
312
|
+
* ## Integration type reference
|
|
313
|
+
*
|
|
314
|
+
* Valid arguments for third party metrics integrations. See more information at
|
|
315
|
+
* [CloudAMQP API add integrations].
|
|
316
|
+
*
|
|
317
|
+
* Required arguments for all integrations: *name*</br>
|
|
318
|
+
* Optional arguments for all integrations: *tags*, *queue_allowlist*, *vhost_allowlist*
|
|
319
|
+
*
|
|
320
|
+
* | Name | Type | Required arguments |
|
|
321
|
+
* |------------------------|----------------|------------------------------------------------------|
|
|
322
|
+
* | Cloudwatch | cloudwatch | Access key: region, access_key_id, secretAccessKey |
|
|
323
|
+
* | Cloudwatch v2 | cloudwatchV2 | Access key: region, access_key_id, secretAccessKey |
|
|
324
|
+
* | Cloudwatch | cloudwatch | Assume role: region, iam_role, iamExternalId |
|
|
325
|
+
* | Cloudwatch v2 | cloudwatchV2 | Assume role: region, iam_role, iamExternalId |
|
|
326
|
+
* | Datadog | datadog | api_key, region |
|
|
327
|
+
* | Datadog v2 | datadogV2 | api_key, region |
|
|
328
|
+
* | Librato | librato | email, apiKey |
|
|
329
|
+
* | New relic (deprecated) | newrelic | - |
|
|
330
|
+
* | New relic v2 | newrelicV2 | api_key, region |
|
|
331
|
+
* | Stackdriver | stackdriver | credentials |
|
|
332
|
+
*
|
|
333
|
+
* ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments: project_id, private_key,
|
|
334
|
+
* clientEmail
|
|
335
|
+
*
|
|
336
|
+
* ## Dependency
|
|
337
|
+
*
|
|
338
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
339
|
+
*
|
|
162
340
|
* ## Import
|
|
163
341
|
*
|
|
164
342
|
* `cloudamqp_integration_metric`can be imported using the resource identifier together with CloudAMQP
|
package/integrationMetric.js
CHANGED
|
@@ -165,6 +165,184 @@ const utilities = require("./utilities");
|
|
|
165
165
|
*
|
|
166
166
|
* or by using googleServiceAccountKey resource from Google provider
|
|
167
167
|
*
|
|
168
|
+
* ```typescript
|
|
169
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
170
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
171
|
+
* import * as google from "@pulumi/google";
|
|
172
|
+
* import * as std from "@pulumi/std";
|
|
173
|
+
*
|
|
174
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
175
|
+
* accountId: "<account_id>",
|
|
176
|
+
* description: "<description>",
|
|
177
|
+
* displayName: "<display_name>",
|
|
178
|
+
* });
|
|
179
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
180
|
+
* const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
|
|
181
|
+
* instanceId: instance.id,
|
|
182
|
+
* name: "stackdriver",
|
|
183
|
+
* projectId: std.index.jsondecode({
|
|
184
|
+
* input: std.index.base64decode({
|
|
185
|
+
* input: serviceAccountKey.privateKey,
|
|
186
|
+
* }).result,
|
|
187
|
+
* }).result.projectId,
|
|
188
|
+
* privateKey: std.index.jsondecode({
|
|
189
|
+
* input: std.index.base64decode({
|
|
190
|
+
* input: serviceAccountKey.privateKey,
|
|
191
|
+
* }).result,
|
|
192
|
+
* }).result.privateKey,
|
|
193
|
+
* clientEmail: std.index.jsondecode({
|
|
194
|
+
* input: std.index.base64decode({
|
|
195
|
+
* input: serviceAccountKey.privateKey,
|
|
196
|
+
* }).result,
|
|
197
|
+
* }).result.clientEmail,
|
|
198
|
+
* });
|
|
199
|
+
* ```
|
|
200
|
+
*
|
|
201
|
+
* </details>
|
|
202
|
+
*
|
|
203
|
+
* <details>
|
|
204
|
+
* <summary>
|
|
205
|
+
* <b>
|
|
206
|
+
* <i>Stackdriver metric integration (v1.21.0 or newer versions)</i>
|
|
207
|
+
* </b>
|
|
208
|
+
* </summary>
|
|
209
|
+
*
|
|
210
|
+
* Use credentials argument and let the provider do the Base64decode and internally populate,
|
|
211
|
+
* *project_id, client_name, private_key*
|
|
212
|
+
*
|
|
213
|
+
* ```typescript
|
|
214
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
215
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
216
|
+
* import * as google from "@pulumi/google";
|
|
217
|
+
*
|
|
218
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
219
|
+
* accountId: "<account_id>",
|
|
220
|
+
* description: "<description>",
|
|
221
|
+
* displayName: "<display_name>",
|
|
222
|
+
* });
|
|
223
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
224
|
+
* const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
|
|
225
|
+
* instanceId: instance.id,
|
|
226
|
+
* name: "stackdriver",
|
|
227
|
+
* credentials: serviceAccountKey.privateKey,
|
|
228
|
+
* });
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* or use the same as earlier version and decode the google service account key
|
|
232
|
+
*
|
|
233
|
+
* ```typescript
|
|
234
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
235
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
236
|
+
* import * as google from "@pulumi/google";
|
|
237
|
+
* import * as std from "@pulumi/std";
|
|
238
|
+
*
|
|
239
|
+
* const serviceAccount = new google.index.ServiceAccount("service_account", {
|
|
240
|
+
* accountId: "<account_id>",
|
|
241
|
+
* description: "<description>",
|
|
242
|
+
* displayName: "<display_name>",
|
|
243
|
+
* });
|
|
244
|
+
* const serviceAccountKey = new google.index.ServiceAccountKey("service_account_key", {serviceAccountId: serviceAccount.name});
|
|
245
|
+
* const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
|
|
246
|
+
* instanceId: instance.id,
|
|
247
|
+
* name: "stackdriver",
|
|
248
|
+
* projectId: std.index.jsondecode({
|
|
249
|
+
* input: std.index.base64decode({
|
|
250
|
+
* input: serviceAccountKey.privateKey,
|
|
251
|
+
* }).result,
|
|
252
|
+
* }).result.projectId,
|
|
253
|
+
* privateKey: std.index.jsondecode({
|
|
254
|
+
* input: std.index.base64decode({
|
|
255
|
+
* input: serviceAccountKey.privateKey,
|
|
256
|
+
* }).result,
|
|
257
|
+
* }).result.privateKey,
|
|
258
|
+
* clientEmail: std.index.jsondecode({
|
|
259
|
+
* input: std.index.base64decode({
|
|
260
|
+
* input: serviceAccountKey.privateKey,
|
|
261
|
+
* }).result,
|
|
262
|
+
* }).result.clientEmail,
|
|
263
|
+
* });
|
|
264
|
+
* ```
|
|
265
|
+
*
|
|
266
|
+
* </details>
|
|
267
|
+
*
|
|
268
|
+
* ## Argument References
|
|
269
|
+
*
|
|
270
|
+
* The following arguments are supported:
|
|
271
|
+
*
|
|
272
|
+
* * `name` - (Required) The name of the third party log integration. See
|
|
273
|
+
* `Integration service reference`
|
|
274
|
+
* * `region` - (Optional) Region hosting the integration service.
|
|
275
|
+
* * `accessKeyId` - (Optional) AWS access key identifier.
|
|
276
|
+
* * `secretAccessKey` - (Optional) AWS secret access key.
|
|
277
|
+
* * `iamRole` - (Optional) The ARN of the role to be assumed when publishing metrics.
|
|
278
|
+
* * `iamExternalId` - (Optional) External identifier that match the role you created.
|
|
279
|
+
* * `apiKey` - (Optional) The API key for the integration service.
|
|
280
|
+
* * `email` - (Optional) The email address registred for the integration service.
|
|
281
|
+
* * `credentials` - (Optional) Google Service Account private key credentials.
|
|
282
|
+
* * `projectId` - (Optional/Computed) The project identifier.
|
|
283
|
+
* * `privateKey` - (Optional/Computed) The private access key.
|
|
284
|
+
* * `clientEmail` - (Optional/Computed) The client email registered for the integration service.
|
|
285
|
+
* * `tags` - (Optional) Tags. e.g. `env=prod,region=europe`.
|
|
286
|
+
*
|
|
287
|
+
* ***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
288
|
+
* letter, read more about tags format in the [Datadog documentation].
|
|
289
|
+
*
|
|
290
|
+
* * `queueAllowlist` - (Optional) Allowlist queues using regular expression. Leave empty to include
|
|
291
|
+
* all queues.
|
|
292
|
+
* * `vhostAllowlist` - (Optional) Allowlist vhost using regular expression. Leave empty to include
|
|
293
|
+
* all vhosts.
|
|
294
|
+
* * `queueWhitelist` - **Deprecated** Use queueAllowlist instead
|
|
295
|
+
* * `vhostWhitelist` - **Deprecated** Use vhostAllowlist instead
|
|
296
|
+
* * `includeAdQueues` - (Optional) Include auto delete queues.
|
|
297
|
+
*
|
|
298
|
+
* This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
299
|
+
* integration used. See [integration type reference] below for more information.
|
|
300
|
+
*
|
|
301
|
+
* ## Integration service references
|
|
302
|
+
*
|
|
303
|
+
* Valid names for third party log integration.
|
|
304
|
+
*
|
|
305
|
+
* | Name | Description |
|
|
306
|
+
* |---------------|---------------------------------------------------------------|
|
|
307
|
+
* | cloudwatch | Access key: Create an IAM user with permission to `PutMetricData` |
|
|
308
|
+
* | cloudwatchV2 | Access key: Create an IAM user with permission to `PutMetricData` |
|
|
309
|
+
* | cloudwatch | Assume role: Create a IAM role with the permission to `PutMetricData` |
|
|
310
|
+
* | cloudwatchV2 | Assume role: Create a IAM role with the permission to `PutMetricData` |
|
|
311
|
+
* | datadog | Create a Datadog API key at app.datadoghq.com |
|
|
312
|
+
* | datadogV2 | Create a Datadog API key at app.datadoghq.com |
|
|
313
|
+
* | librato | Create a new API token (with record only permissions) here: https://metrics.librato.com/tokens |
|
|
314
|
+
* | newrelic | Deprecated! |
|
|
315
|
+
* | newrelicV2 | Find or register an Insert API key for your account: Go to insights.newrelic.com > Manage data > API keys. |
|
|
316
|
+
* | stackdriver | Create a service account and add 'monitor metrics writer' role from your Google Cloud Account |
|
|
317
|
+
*
|
|
318
|
+
* ## Integration type reference
|
|
319
|
+
*
|
|
320
|
+
* Valid arguments for third party metrics integrations. See more information at
|
|
321
|
+
* [CloudAMQP API add integrations].
|
|
322
|
+
*
|
|
323
|
+
* Required arguments for all integrations: *name*</br>
|
|
324
|
+
* Optional arguments for all integrations: *tags*, *queue_allowlist*, *vhost_allowlist*
|
|
325
|
+
*
|
|
326
|
+
* | Name | Type | Required arguments |
|
|
327
|
+
* |------------------------|----------------|------------------------------------------------------|
|
|
328
|
+
* | Cloudwatch | cloudwatch | Access key: region, access_key_id, secretAccessKey |
|
|
329
|
+
* | Cloudwatch v2 | cloudwatchV2 | Access key: region, access_key_id, secretAccessKey |
|
|
330
|
+
* | Cloudwatch | cloudwatch | Assume role: region, iam_role, iamExternalId |
|
|
331
|
+
* | Cloudwatch v2 | cloudwatchV2 | Assume role: region, iam_role, iamExternalId |
|
|
332
|
+
* | Datadog | datadog | api_key, region |
|
|
333
|
+
* | Datadog v2 | datadogV2 | api_key, region |
|
|
334
|
+
* | Librato | librato | email, apiKey |
|
|
335
|
+
* | New relic (deprecated) | newrelic | - |
|
|
336
|
+
* | New relic v2 | newrelicV2 | api_key, region |
|
|
337
|
+
* | Stackdriver | stackdriver | credentials |
|
|
338
|
+
*
|
|
339
|
+
* ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments: project_id, private_key,
|
|
340
|
+
* clientEmail
|
|
341
|
+
*
|
|
342
|
+
* ## Dependency
|
|
343
|
+
*
|
|
344
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
345
|
+
*
|
|
168
346
|
* ## Import
|
|
169
347
|
*
|
|
170
348
|
* `cloudamqp_integration_metric`can be imported using the resource identifier together with CloudAMQP
|
package/integrationMetric.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationMetric.js","sourceRoot":"","sources":["../integrationMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"integrationMetric.js","sourceRoot":"","sources":["../integrationMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmXG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,S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,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,CAAC,EAAE,CAAC;QACzI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtLL,8CAuLC;AAzKG,gBAAgB;AACO,8BAAY,GAAG,qDAAqD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudamqp",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing CloudAMQP resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "cloudamqp",
|
|
26
|
-
"version": "3.24.
|
|
26
|
+
"version": "3.24.1"
|
|
27
27
|
}
|
|
28
28
|
}
|