@pulumi/cloudamqp 3.17.1 → 3.17.3

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.
@@ -1,50 +1,28 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource allows you to create and manage third party log integrations for a CloudAMQP instance. Once configured, the logs produced will be forward to corresponding integration.
3
+ * This resource allows you to create and manage third party log integrations for a CloudAMQP instance.
4
+ * Once configured, the logs produced will be forward to corresponding integration.
4
5
  *
5
6
  * Only available for dedicated subscription plans.
6
7
  *
7
- * ## Argument Reference (cloudwatchlog)
8
- *
9
- * Cloudwatch argument reference and example. Create an IAM user with programmatic access and the following permissions:
10
- *
11
- * * CreateLogGroup
12
- * * CreateLogStream
13
- * * DescribeLogGroups
14
- * * DescribeLogStreams
15
- * * PutLogEvents
16
- *
17
- * ## Integration service reference
18
- *
19
- * Valid names for third party log integration.
20
- *
21
- * | Name | Description |
22
- * |------------|---------------------------------------------------------------|
23
- * | cloudwatchlog | Create a IAM with programmatic access. |
24
- * | logentries | Create a Logentries token at https://logentries.com/app#/add-log/manual |
25
- * | loggly | Create a Loggly token at https://your-company}.loggly.com/tokens |
26
- * | papertrail | Create a Papertrail endpoint https://papertrailapp.com/systems/setup |
27
- * | splunk | Create a HTTP Event Collector token at `https://<your-splunk>.cloud.splunk.com/en-US/manager/search/http-eventcollector` |
28
- * | datadog | Create a Datadog API key at app.datadoghq.com |
29
- * | stackdriver | Create a service account and add 'monitor metrics writer' role from your Google Cloud Account |
30
- * | scalyr | Create a Log write token at https://app.scalyr.com/keys |
31
- *
32
8
  * ## Integration Type reference
33
9
  *
34
- * Valid arguments for third party log integrations.
10
+ * Valid arguments for third party log integrations. See more information at [docs.cloudamqp.com](https://docs.cloudamqp.com/cloudamqp_api.html#add-log-integration)
35
11
  *
36
12
  * Required arguments for all integrations: name
37
13
  *
38
- * | Name | Type | Required arguments |
14
+ * | Integration | name | Required arguments |
39
15
  * | ---- | ---- | ---- |
16
+ * | Azure monitor | azureMonitor | tenant_id, application_id, application_secret, dce_uri, table, dcrId |
40
17
  * | CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region |
18
+ * | Coralogix | coralogix | private_key, endpoint, application, subsystem |
19
+ * | Data Dog | datadog | region, api_keys, tags |
41
20
  * | Log Entries | logentries | token |
42
21
  * | Loggly | loggly | token |
43
22
  * | Papertrail | papertrail | url |
23
+ * | Scalyr | scalyr | token, host |
44
24
  * | Splunk | splunk | token, host_port, sourcetype |
45
- * | Data Dog | datadog | region, api_keys, tags |
46
25
  * | Stackdriver | stackdriver | credentials |
47
- * | Scalyr | scalyr | token, host |
48
26
  *
49
27
  * ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments : project_id, private_key, clientEmail
50
28
  *
@@ -84,6 +62,18 @@ export declare class IntegrationLog extends pulumi.CustomResource {
84
62
  * The API key.
85
63
  */
86
64
  readonly apiKey: pulumi.Output<string | undefined>;
65
+ /**
66
+ * The application name for Coralogix.
67
+ */
68
+ readonly application: pulumi.Output<string | undefined>;
69
+ /**
70
+ * The application identifier for Azure monitor.
71
+ */
72
+ readonly applicationId: pulumi.Output<string | undefined>;
73
+ /**
74
+ * The application secret for Azure monitor.
75
+ */
76
+ readonly applicationSecret: pulumi.Output<string | undefined>;
87
77
  /**
88
78
  * The client email registered for the integration service.
89
79
  */
@@ -92,6 +82,20 @@ export declare class IntegrationLog extends pulumi.CustomResource {
92
82
  * Google Service Account private key credentials.
93
83
  */
94
84
  readonly credentials: pulumi.Output<string | undefined>;
85
+ /**
86
+ * The data collection endpoint for Azure monitor.
87
+ */
88
+ readonly dceUri: pulumi.Output<string | undefined>;
89
+ /**
90
+ * ID of data collection rule that your DCE is linked to for Azure Monitor.
91
+ *
92
+ * This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
93
+ */
94
+ readonly dcrId: pulumi.Output<string | undefined>;
95
+ /**
96
+ * The syslog destination to send the logs to for Coralogix.
97
+ */
98
+ readonly endpoint: pulumi.Output<string | undefined>;
95
99
  /**
96
100
  * The host for Scalyr integration. (app.scalyr.com, app.eu.scalyr.com)
97
101
  */
@@ -106,6 +110,7 @@ export declare class IntegrationLog extends pulumi.CustomResource {
106
110
  readonly instanceId: pulumi.Output<number>;
107
111
  /**
108
112
  * The name of the third party log integration. See
113
+ * Integration type reference
109
114
  */
110
115
  readonly name: pulumi.Output<string>;
111
116
  /**
@@ -130,14 +135,24 @@ export declare class IntegrationLog extends pulumi.CustomResource {
130
135
  readonly secretAccessKey: pulumi.Output<string | undefined>;
131
136
  /**
132
137
  * Assign source type to the data exported, eg. generic_single_line. (Splunk)
133
- *
134
- * This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
135
138
  */
136
139
  readonly sourcetype: pulumi.Output<string | undefined>;
137
140
  /**
138
- * Tag the integration, e.g. env=prod, region=europe.
141
+ * The subsystem name for Coralogix.
142
+ */
143
+ readonly subsystem: pulumi.Output<string | undefined>;
144
+ /**
145
+ * The table name for Azure monitor.
146
+ */
147
+ readonly table: pulumi.Output<string | undefined>;
148
+ /**
149
+ * Tag the integration, e.g. env=prod,region=europe.
139
150
  */
140
151
  readonly tags: pulumi.Output<string | undefined>;
152
+ /**
153
+ * The tenant identifier for Azure monitor.
154
+ */
155
+ readonly tenantId: pulumi.Output<string | undefined>;
141
156
  /**
142
157
  * Token used for authentication.
143
158
  */
@@ -167,6 +182,18 @@ export interface IntegrationLogState {
167
182
  * The API key.
168
183
  */
169
184
  apiKey?: pulumi.Input<string>;
185
+ /**
186
+ * The application name for Coralogix.
187
+ */
188
+ application?: pulumi.Input<string>;
189
+ /**
190
+ * The application identifier for Azure monitor.
191
+ */
192
+ applicationId?: pulumi.Input<string>;
193
+ /**
194
+ * The application secret for Azure monitor.
195
+ */
196
+ applicationSecret?: pulumi.Input<string>;
170
197
  /**
171
198
  * The client email registered for the integration service.
172
199
  */
@@ -175,6 +202,20 @@ export interface IntegrationLogState {
175
202
  * Google Service Account private key credentials.
176
203
  */
177
204
  credentials?: pulumi.Input<string>;
205
+ /**
206
+ * The data collection endpoint for Azure monitor.
207
+ */
208
+ dceUri?: pulumi.Input<string>;
209
+ /**
210
+ * ID of data collection rule that your DCE is linked to for Azure Monitor.
211
+ *
212
+ * This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
213
+ */
214
+ dcrId?: pulumi.Input<string>;
215
+ /**
216
+ * The syslog destination to send the logs to for Coralogix.
217
+ */
218
+ endpoint?: pulumi.Input<string>;
178
219
  /**
179
220
  * The host for Scalyr integration. (app.scalyr.com, app.eu.scalyr.com)
180
221
  */
@@ -189,6 +230,7 @@ export interface IntegrationLogState {
189
230
  instanceId?: pulumi.Input<number>;
190
231
  /**
191
232
  * The name of the third party log integration. See
233
+ * Integration type reference
192
234
  */
193
235
  name?: pulumi.Input<string>;
194
236
  /**
@@ -213,14 +255,24 @@ export interface IntegrationLogState {
213
255
  secretAccessKey?: pulumi.Input<string>;
214
256
  /**
215
257
  * Assign source type to the data exported, eg. generic_single_line. (Splunk)
216
- *
217
- * This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
218
258
  */
219
259
  sourcetype?: pulumi.Input<string>;
220
260
  /**
221
- * Tag the integration, e.g. env=prod, region=europe.
261
+ * The subsystem name for Coralogix.
262
+ */
263
+ subsystem?: pulumi.Input<string>;
264
+ /**
265
+ * The table name for Azure monitor.
266
+ */
267
+ table?: pulumi.Input<string>;
268
+ /**
269
+ * Tag the integration, e.g. env=prod,region=europe.
222
270
  */
223
271
  tags?: pulumi.Input<string>;
272
+ /**
273
+ * The tenant identifier for Azure monitor.
274
+ */
275
+ tenantId?: pulumi.Input<string>;
224
276
  /**
225
277
  * Token used for authentication.
226
278
  */
@@ -242,6 +294,18 @@ export interface IntegrationLogArgs {
242
294
  * The API key.
243
295
  */
244
296
  apiKey?: pulumi.Input<string>;
297
+ /**
298
+ * The application name for Coralogix.
299
+ */
300
+ application?: pulumi.Input<string>;
301
+ /**
302
+ * The application identifier for Azure monitor.
303
+ */
304
+ applicationId?: pulumi.Input<string>;
305
+ /**
306
+ * The application secret for Azure monitor.
307
+ */
308
+ applicationSecret?: pulumi.Input<string>;
245
309
  /**
246
310
  * The client email registered for the integration service.
247
311
  */
@@ -250,6 +314,20 @@ export interface IntegrationLogArgs {
250
314
  * Google Service Account private key credentials.
251
315
  */
252
316
  credentials?: pulumi.Input<string>;
317
+ /**
318
+ * The data collection endpoint for Azure monitor.
319
+ */
320
+ dceUri?: pulumi.Input<string>;
321
+ /**
322
+ * ID of data collection rule that your DCE is linked to for Azure Monitor.
323
+ *
324
+ * This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
325
+ */
326
+ dcrId?: pulumi.Input<string>;
327
+ /**
328
+ * The syslog destination to send the logs to for Coralogix.
329
+ */
330
+ endpoint?: pulumi.Input<string>;
253
331
  /**
254
332
  * The host for Scalyr integration. (app.scalyr.com, app.eu.scalyr.com)
255
333
  */
@@ -264,6 +342,7 @@ export interface IntegrationLogArgs {
264
342
  instanceId: pulumi.Input<number>;
265
343
  /**
266
344
  * The name of the third party log integration. See
345
+ * Integration type reference
267
346
  */
268
347
  name?: pulumi.Input<string>;
269
348
  /**
@@ -288,14 +367,24 @@ export interface IntegrationLogArgs {
288
367
  secretAccessKey?: pulumi.Input<string>;
289
368
  /**
290
369
  * Assign source type to the data exported, eg. generic_single_line. (Splunk)
291
- *
292
- * This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
293
370
  */
294
371
  sourcetype?: pulumi.Input<string>;
295
372
  /**
296
- * Tag the integration, e.g. env=prod, region=europe.
373
+ * The subsystem name for Coralogix.
374
+ */
375
+ subsystem?: pulumi.Input<string>;
376
+ /**
377
+ * The table name for Azure monitor.
378
+ */
379
+ table?: pulumi.Input<string>;
380
+ /**
381
+ * Tag the integration, e.g. env=prod,region=europe.
297
382
  */
298
383
  tags?: pulumi.Input<string>;
384
+ /**
385
+ * The tenant identifier for Azure monitor.
386
+ */
387
+ tenantId?: pulumi.Input<string>;
299
388
  /**
300
389
  * Token used for authentication.
301
390
  */
package/integrationLog.js CHANGED
@@ -6,51 +6,29 @@ exports.IntegrationLog = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * This resource allows you to create and manage third party log integrations for a CloudAMQP instance. Once configured, the logs produced will be forward to corresponding integration.
9
+ * This resource allows you to create and manage third party log integrations for a CloudAMQP instance.
10
+ * Once configured, the logs produced will be forward to corresponding integration.
10
11
  *
11
12
  * Only available for dedicated subscription plans.
12
13
  *
13
- * ## Argument Reference (cloudwatchlog)
14
- *
15
- * Cloudwatch argument reference and example. Create an IAM user with programmatic access and the following permissions:
16
- *
17
- * * CreateLogGroup
18
- * * CreateLogStream
19
- * * DescribeLogGroups
20
- * * DescribeLogStreams
21
- * * PutLogEvents
22
- *
23
- * ## Integration service reference
24
- *
25
- * Valid names for third party log integration.
26
- *
27
- * | Name | Description |
28
- * |------------|---------------------------------------------------------------|
29
- * | cloudwatchlog | Create a IAM with programmatic access. |
30
- * | logentries | Create a Logentries token at https://logentries.com/app#/add-log/manual |
31
- * | loggly | Create a Loggly token at https://your-company}.loggly.com/tokens |
32
- * | papertrail | Create a Papertrail endpoint https://papertrailapp.com/systems/setup |
33
- * | splunk | Create a HTTP Event Collector token at `https://<your-splunk>.cloud.splunk.com/en-US/manager/search/http-eventcollector` |
34
- * | datadog | Create a Datadog API key at app.datadoghq.com |
35
- * | stackdriver | Create a service account and add 'monitor metrics writer' role from your Google Cloud Account |
36
- * | scalyr | Create a Log write token at https://app.scalyr.com/keys |
37
- *
38
14
  * ## Integration Type reference
39
15
  *
40
- * Valid arguments for third party log integrations.
16
+ * Valid arguments for third party log integrations. See more information at [docs.cloudamqp.com](https://docs.cloudamqp.com/cloudamqp_api.html#add-log-integration)
41
17
  *
42
18
  * Required arguments for all integrations: name
43
19
  *
44
- * | Name | Type | Required arguments |
20
+ * | Integration | name | Required arguments |
45
21
  * | ---- | ---- | ---- |
22
+ * | Azure monitor | azureMonitor | tenant_id, application_id, application_secret, dce_uri, table, dcrId |
46
23
  * | CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region |
24
+ * | Coralogix | coralogix | private_key, endpoint, application, subsystem |
25
+ * | Data Dog | datadog | region, api_keys, tags |
47
26
  * | Log Entries | logentries | token |
48
27
  * | Loggly | loggly | token |
49
28
  * | Papertrail | papertrail | url |
29
+ * | Scalyr | scalyr | token, host |
50
30
  * | Splunk | splunk | token, host_port, sourcetype |
51
- * | Data Dog | datadog | region, api_keys, tags |
52
31
  * | Stackdriver | stackdriver | credentials |
53
- * | Scalyr | scalyr | token, host |
54
32
  *
55
33
  * ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments : project_id, private_key, clientEmail
56
34
  *
@@ -96,8 +74,14 @@ class IntegrationLog extends pulumi.CustomResource {
96
74
  const state = argsOrState;
97
75
  resourceInputs["accessKeyId"] = state ? state.accessKeyId : undefined;
98
76
  resourceInputs["apiKey"] = state ? state.apiKey : undefined;
77
+ resourceInputs["application"] = state ? state.application : undefined;
78
+ resourceInputs["applicationId"] = state ? state.applicationId : undefined;
79
+ resourceInputs["applicationSecret"] = state ? state.applicationSecret : undefined;
99
80
  resourceInputs["clientEmail"] = state ? state.clientEmail : undefined;
100
81
  resourceInputs["credentials"] = state ? state.credentials : undefined;
82
+ resourceInputs["dceUri"] = state ? state.dceUri : undefined;
83
+ resourceInputs["dcrId"] = state ? state.dcrId : undefined;
84
+ resourceInputs["endpoint"] = state ? state.endpoint : undefined;
101
85
  resourceInputs["host"] = state ? state.host : undefined;
102
86
  resourceInputs["hostPort"] = state ? state.hostPort : undefined;
103
87
  resourceInputs["instanceId"] = state ? state.instanceId : undefined;
@@ -108,7 +92,10 @@ class IntegrationLog extends pulumi.CustomResource {
108
92
  resourceInputs["region"] = state ? state.region : undefined;
109
93
  resourceInputs["secretAccessKey"] = state ? state.secretAccessKey : undefined;
110
94
  resourceInputs["sourcetype"] = state ? state.sourcetype : undefined;
95
+ resourceInputs["subsystem"] = state ? state.subsystem : undefined;
96
+ resourceInputs["table"] = state ? state.table : undefined;
111
97
  resourceInputs["tags"] = state ? state.tags : undefined;
98
+ resourceInputs["tenantId"] = state ? state.tenantId : undefined;
112
99
  resourceInputs["token"] = state ? state.token : undefined;
113
100
  resourceInputs["url"] = state ? state.url : undefined;
114
101
  }
@@ -119,8 +106,14 @@ class IntegrationLog extends pulumi.CustomResource {
119
106
  }
120
107
  resourceInputs["accessKeyId"] = (args === null || args === void 0 ? void 0 : args.accessKeyId) ? pulumi.secret(args.accessKeyId) : undefined;
121
108
  resourceInputs["apiKey"] = (args === null || args === void 0 ? void 0 : args.apiKey) ? pulumi.secret(args.apiKey) : undefined;
109
+ resourceInputs["application"] = args ? args.application : undefined;
110
+ resourceInputs["applicationId"] = args ? args.applicationId : undefined;
111
+ resourceInputs["applicationSecret"] = (args === null || args === void 0 ? void 0 : args.applicationSecret) ? pulumi.secret(args.applicationSecret) : undefined;
122
112
  resourceInputs["clientEmail"] = args ? args.clientEmail : undefined;
123
113
  resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
114
+ resourceInputs["dceUri"] = args ? args.dceUri : undefined;
115
+ resourceInputs["dcrId"] = args ? args.dcrId : undefined;
116
+ resourceInputs["endpoint"] = args ? args.endpoint : undefined;
124
117
  resourceInputs["host"] = args ? args.host : undefined;
125
118
  resourceInputs["hostPort"] = args ? args.hostPort : undefined;
126
119
  resourceInputs["instanceId"] = args ? args.instanceId : undefined;
@@ -131,12 +124,15 @@ class IntegrationLog extends pulumi.CustomResource {
131
124
  resourceInputs["region"] = args ? args.region : undefined;
132
125
  resourceInputs["secretAccessKey"] = (args === null || args === void 0 ? void 0 : args.secretAccessKey) ? pulumi.secret(args.secretAccessKey) : undefined;
133
126
  resourceInputs["sourcetype"] = args ? args.sourcetype : undefined;
127
+ resourceInputs["subsystem"] = args ? args.subsystem : undefined;
128
+ resourceInputs["table"] = args ? args.table : undefined;
134
129
  resourceInputs["tags"] = args ? args.tags : undefined;
130
+ resourceInputs["tenantId"] = args ? args.tenantId : undefined;
135
131
  resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
136
132
  resourceInputs["url"] = args ? args.url : undefined;
137
133
  }
138
134
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
139
- const secretOpts = { additionalSecretOutputs: ["accessKeyId", "apiKey", "credentials", "privateKey", "privateKeyId", "secretAccessKey", "token"] };
135
+ const secretOpts = { additionalSecretOutputs: ["accessKeyId", "apiKey", "applicationSecret", "credentials", "privateKey", "privateKeyId", "secretAccessKey", "token"] };
140
136
  opts = pulumi.mergeOptions(opts, secretOpts);
141
137
  super(IntegrationLog.__pulumiType, name, resourceInputs, opts);
142
138
  }
@@ -1 +1 @@
1
- {"version":3,"file":"integrationLog.js","sourceRoot":"","sources":["../integrationLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;Q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AI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;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;;AAnNL,wCAoNC;AAtMG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
package/notification.d.ts CHANGED
@@ -6,24 +6,51 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * <details>
10
+ * <summary>
11
+ * <b>Email recipient</b>
12
+ * </summary>
13
+ *
9
14
  * ```typescript
10
15
  * import * as pulumi from "@pulumi/pulumi";
11
16
  * import * as cloudamqp from "@pulumi/cloudamqp";
12
17
  *
13
- * // New recipient to receieve notifications
14
18
  * const emailRecipient = new cloudamqp.Notification("emailRecipient", {
15
19
  * instanceId: cloudamqp_instance.instance.id,
16
20
  * type: "email",
17
21
  * value: "alarm@example.com",
18
22
  * });
19
- * const victoropsRecipient = new cloudamqp.Notification("victoropsRecipient", {
23
+ * ```
24
+ *
25
+ * </details>
26
+ *
27
+ * <details>
28
+ * <summary>
29
+ * <b>OpsGenie recipient</b>
30
+ * </summary>
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as cloudamqp from "@pulumi/cloudamqp";
35
+ *
36
+ * const opsgenieRecipient = new cloudamqp.Notification("opsgenieRecipient", {
20
37
  * instanceId: cloudamqp_instance.instance.id,
21
- * type: "victorops",
22
- * value: "<UUID>",
23
- * options: {
24
- * rk: "ROUTINGKEY",
25
- * },
38
+ * type: "opsgenie",
39
+ * value: "<api-key>",
26
40
  * });
41
+ * ```
42
+ *
43
+ * </details>
44
+ *
45
+ * <details>
46
+ * <summary>
47
+ * <b>Pagerduty recipient</b>
48
+ * </summary>
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as cloudamqp from "@pulumi/cloudamqp";
53
+ *
27
54
  * const pagerdutyRecipient = new cloudamqp.Notification("pagerdutyRecipient", {
28
55
  * instanceId: cloudamqp_instance.instance.id,
29
56
  * type: "pagerduty",
@@ -33,24 +60,102 @@ import * as pulumi from "@pulumi/pulumi";
33
60
  * },
34
61
  * });
35
62
  * ```
63
+ *
64
+ * </details>
65
+ *
66
+ * <details>
67
+ * <summary>
68
+ * <b>Signl4 recipient</b>
69
+ * </summary>
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as cloudamqp from "@pulumi/cloudamqp";
74
+ *
75
+ * const signl4Recipient = new cloudamqp.Notification("signl4Recipient", {
76
+ * instanceId: cloudamqp_instance.instance.id,
77
+ * type: "signl4",
78
+ * value: "<team-secret>",
79
+ * });
80
+ * ```
81
+ *
82
+ * </details>
83
+ *
84
+ * <details>
85
+ * <summary>
86
+ * <b>Teams recipient</b>
87
+ * </summary>
88
+ *
89
+ * ```typescript
90
+ * import * as pulumi from "@pulumi/pulumi";
91
+ * import * as cloudamqp from "@pulumi/cloudamqp";
92
+ *
93
+ * const teamsRecipient = new cloudamqp.Notification("teamsRecipient", {
94
+ * instanceId: cloudamqp_instance.instance.id,
95
+ * type: "teams",
96
+ * value: "<teams-webhook-url>",
97
+ * });
98
+ * ```
99
+ *
100
+ * </details>
101
+ *
102
+ * <details>
103
+ * <summary>
104
+ * <b>Victorops recipient</b>
105
+ * </summary>
106
+ *
107
+ * ```typescript
108
+ * import * as pulumi from "@pulumi/pulumi";
109
+ * import * as cloudamqp from "@pulumi/cloudamqp";
110
+ *
111
+ * const victoropsRecipient = new cloudamqp.Notification("victoropsRecipient", {
112
+ * instanceId: cloudamqp_instance.instance.id,
113
+ * type: "victorops",
114
+ * value: "<integration-key>",
115
+ * options: {
116
+ * rk: "ROUTINGKEY",
117
+ * },
118
+ * });
119
+ * ```
120
+ *
121
+ * </details>
122
+ *
123
+ * <details>
124
+ * <summary>
125
+ * <b>Webhook recipient</b>
126
+ * </summary>
127
+ *
128
+ * ```typescript
129
+ * import * as pulumi from "@pulumi/pulumi";
130
+ * import * as cloudamqp from "@pulumi/cloudamqp";
131
+ *
132
+ * const webhookRecipient = new cloudamqp.Notification("webhookRecipient", {
133
+ * instanceId: cloudamqp_instance.instance.id,
134
+ * type: "webhook",
135
+ * value: "<webhook-url>",
136
+ * });
137
+ * ```
138
+ *
139
+ * </details>
36
140
  * ## Notification Type reference
37
141
  *
38
142
  * Valid options for notification type.
39
143
  *
40
144
  * * email
41
- * * webhook
42
- * * pagerduty
43
- * * victorops
44
145
  * * opsgenie
45
146
  * * opsgenie-eu
147
+ * * pagerduty
148
+ * * signl4
46
149
  * * slack
47
150
  * * teams
151
+ * * victorops
152
+ * * webhook
48
153
  *
49
154
  * ## Options parameter
50
155
  *
51
- * | Type | Options | Description | Note |
52
- * |-----------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
53
- * | Victorops | rk | Routing key to route alarm notification | - |
156
+ * | Type | Options | Description | Note |
157
+ * |---|---|---|---|
158
+ * | Victorops | rk | Routing key to route alarm notification | - |
54
159
  * | PagerDuty | dedupkey | Default the dedup key for PagerDuty is generated depending on what alarm has triggered, but here you can set what `dedup` key to use so even if the same alarm is triggered for different resources you only get one notification. Leave blank to use the generated dedup key. | If multiple alarms are triggered using this recipient, since they all share `dedup` key only the first alarm will be shown in PagerDuty |
55
160
  *
56
161
  * ## Dependency
package/notification.js CHANGED
@@ -12,24 +12,51 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
+ * <details>
16
+ * <summary>
17
+ * <b>Email recipient</b>
18
+ * </summary>
19
+ *
15
20
  * ```typescript
16
21
  * import * as pulumi from "@pulumi/pulumi";
17
22
  * import * as cloudamqp from "@pulumi/cloudamqp";
18
23
  *
19
- * // New recipient to receieve notifications
20
24
  * const emailRecipient = new cloudamqp.Notification("emailRecipient", {
21
25
  * instanceId: cloudamqp_instance.instance.id,
22
26
  * type: "email",
23
27
  * value: "alarm@example.com",
24
28
  * });
25
- * const victoropsRecipient = new cloudamqp.Notification("victoropsRecipient", {
29
+ * ```
30
+ *
31
+ * </details>
32
+ *
33
+ * <details>
34
+ * <summary>
35
+ * <b>OpsGenie recipient</b>
36
+ * </summary>
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as cloudamqp from "@pulumi/cloudamqp";
41
+ *
42
+ * const opsgenieRecipient = new cloudamqp.Notification("opsgenieRecipient", {
26
43
  * instanceId: cloudamqp_instance.instance.id,
27
- * type: "victorops",
28
- * value: "<UUID>",
29
- * options: {
30
- * rk: "ROUTINGKEY",
31
- * },
44
+ * type: "opsgenie",
45
+ * value: "<api-key>",
32
46
  * });
47
+ * ```
48
+ *
49
+ * </details>
50
+ *
51
+ * <details>
52
+ * <summary>
53
+ * <b>Pagerduty recipient</b>
54
+ * </summary>
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as cloudamqp from "@pulumi/cloudamqp";
59
+ *
33
60
  * const pagerdutyRecipient = new cloudamqp.Notification("pagerdutyRecipient", {
34
61
  * instanceId: cloudamqp_instance.instance.id,
35
62
  * type: "pagerduty",
@@ -39,24 +66,102 @@ const utilities = require("./utilities");
39
66
  * },
40
67
  * });
41
68
  * ```
69
+ *
70
+ * </details>
71
+ *
72
+ * <details>
73
+ * <summary>
74
+ * <b>Signl4 recipient</b>
75
+ * </summary>
76
+ *
77
+ * ```typescript
78
+ * import * as pulumi from "@pulumi/pulumi";
79
+ * import * as cloudamqp from "@pulumi/cloudamqp";
80
+ *
81
+ * const signl4Recipient = new cloudamqp.Notification("signl4Recipient", {
82
+ * instanceId: cloudamqp_instance.instance.id,
83
+ * type: "signl4",
84
+ * value: "<team-secret>",
85
+ * });
86
+ * ```
87
+ *
88
+ * </details>
89
+ *
90
+ * <details>
91
+ * <summary>
92
+ * <b>Teams recipient</b>
93
+ * </summary>
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as cloudamqp from "@pulumi/cloudamqp";
98
+ *
99
+ * const teamsRecipient = new cloudamqp.Notification("teamsRecipient", {
100
+ * instanceId: cloudamqp_instance.instance.id,
101
+ * type: "teams",
102
+ * value: "<teams-webhook-url>",
103
+ * });
104
+ * ```
105
+ *
106
+ * </details>
107
+ *
108
+ * <details>
109
+ * <summary>
110
+ * <b>Victorops recipient</b>
111
+ * </summary>
112
+ *
113
+ * ```typescript
114
+ * import * as pulumi from "@pulumi/pulumi";
115
+ * import * as cloudamqp from "@pulumi/cloudamqp";
116
+ *
117
+ * const victoropsRecipient = new cloudamqp.Notification("victoropsRecipient", {
118
+ * instanceId: cloudamqp_instance.instance.id,
119
+ * type: "victorops",
120
+ * value: "<integration-key>",
121
+ * options: {
122
+ * rk: "ROUTINGKEY",
123
+ * },
124
+ * });
125
+ * ```
126
+ *
127
+ * </details>
128
+ *
129
+ * <details>
130
+ * <summary>
131
+ * <b>Webhook recipient</b>
132
+ * </summary>
133
+ *
134
+ * ```typescript
135
+ * import * as pulumi from "@pulumi/pulumi";
136
+ * import * as cloudamqp from "@pulumi/cloudamqp";
137
+ *
138
+ * const webhookRecipient = new cloudamqp.Notification("webhookRecipient", {
139
+ * instanceId: cloudamqp_instance.instance.id,
140
+ * type: "webhook",
141
+ * value: "<webhook-url>",
142
+ * });
143
+ * ```
144
+ *
145
+ * </details>
42
146
  * ## Notification Type reference
43
147
  *
44
148
  * Valid options for notification type.
45
149
  *
46
150
  * * email
47
- * * webhook
48
- * * pagerduty
49
- * * victorops
50
151
  * * opsgenie
51
152
  * * opsgenie-eu
153
+ * * pagerduty
154
+ * * signl4
52
155
  * * slack
53
156
  * * teams
157
+ * * victorops
158
+ * * webhook
54
159
  *
55
160
  * ## Options parameter
56
161
  *
57
- * | Type | Options | Description | Note |
58
- * |-----------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
59
- * | Victorops | rk | Routing key to route alarm notification | - |
162
+ * | Type | Options | Description | Note |
163
+ * |---|---|---|---|
164
+ * | Victorops | rk | Routing key to route alarm notification | - |
60
165
  * | PagerDuty | dedupkey | Default the dedup key for PagerDuty is generated depending on what alarm has triggered, but here you can set what `dedup` key to use so even if the same alarm is triggered for different resources you only get one notification. Leave blank to use the generated dedup key. | If multiple alarms are triggered using this recipient, since they all share `dedup` key only the first alarm will be shown in PagerDuty |
61
166
  *
62
167
  * ## Dependency
@@ -1 +1 @@
1
- {"version":3,"file":"notification.js","sourceRoot":"","sources":["../notification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EA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AAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAtFL,oCAuFC;AAzEG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/cloudamqp",
3
- "version": "v3.17.1",
3
+ "version": "v3.17.3",
4
4
  "description": "A Pulumi package for creating and managing CloudAMQP resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/plugin.d.ts CHANGED
@@ -29,25 +29,23 @@ export declare class Plugin extends pulumi.CustomResource {
29
29
  */
30
30
  readonly description: pulumi.Output<string>;
31
31
  /**
32
- * Enable or disable the plugins.
32
+ * If the plugin is enabled
33
33
  */
34
34
  readonly enabled: pulumi.Output<boolean>;
35
35
  /**
36
- * The CloudAMQP instance ID.
36
+ * Instance identifier
37
37
  */
38
38
  readonly instanceId: pulumi.Output<number>;
39
39
  /**
40
- * The name of the Rabbit MQ plugin.
40
+ * The name of the plugin
41
41
  */
42
42
  readonly name: pulumi.Output<string>;
43
43
  /**
44
- * Configurable sleep time (seconds) for retries when requesting information
45
- * about plugins. Default set to 10 seconds. *Available from v1.29.0*
44
+ * Configurable sleep time in seconds between retries for plugins
46
45
  */
47
46
  readonly sleep: pulumi.Output<number | undefined>;
48
47
  /**
49
- * Configurable timeout time (seconds) for retries when requesting
50
- * information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
48
+ * Configurable timeout time in seconds for plugins
51
49
  */
52
50
  readonly timeout: pulumi.Output<number | undefined>;
53
51
  /**
@@ -72,25 +70,23 @@ export interface PluginState {
72
70
  */
73
71
  description?: pulumi.Input<string>;
74
72
  /**
75
- * Enable or disable the plugins.
73
+ * If the plugin is enabled
76
74
  */
77
75
  enabled?: pulumi.Input<boolean>;
78
76
  /**
79
- * The CloudAMQP instance ID.
77
+ * Instance identifier
80
78
  */
81
79
  instanceId?: pulumi.Input<number>;
82
80
  /**
83
- * The name of the Rabbit MQ plugin.
81
+ * The name of the plugin
84
82
  */
85
83
  name?: pulumi.Input<string>;
86
84
  /**
87
- * Configurable sleep time (seconds) for retries when requesting information
88
- * about plugins. Default set to 10 seconds. *Available from v1.29.0*
85
+ * Configurable sleep time in seconds between retries for plugins
89
86
  */
90
87
  sleep?: pulumi.Input<number>;
91
88
  /**
92
- * Configurable timeout time (seconds) for retries when requesting
93
- * information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
89
+ * Configurable timeout time in seconds for plugins
94
90
  */
95
91
  timeout?: pulumi.Input<number>;
96
92
  /**
@@ -103,25 +99,23 @@ export interface PluginState {
103
99
  */
104
100
  export interface PluginArgs {
105
101
  /**
106
- * Enable or disable the plugins.
102
+ * If the plugin is enabled
107
103
  */
108
104
  enabled: pulumi.Input<boolean>;
109
105
  /**
110
- * The CloudAMQP instance ID.
106
+ * Instance identifier
111
107
  */
112
108
  instanceId: pulumi.Input<number>;
113
109
  /**
114
- * The name of the Rabbit MQ plugin.
110
+ * The name of the plugin
115
111
  */
116
112
  name?: pulumi.Input<string>;
117
113
  /**
118
- * Configurable sleep time (seconds) for retries when requesting information
119
- * about plugins. Default set to 10 seconds. *Available from v1.29.0*
114
+ * Configurable sleep time in seconds between retries for plugins
120
115
  */
121
116
  sleep?: pulumi.Input<number>;
122
117
  /**
123
- * Configurable timeout time (seconds) for retries when requesting
124
- * information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
118
+ * Configurable timeout time in seconds for plugins
125
119
  */
126
120
  timeout?: pulumi.Input<number>;
127
121
  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AAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA/FL,wBAgGC;AAlFG,gBAAgB;AACO,mBAAY,GAAG,+BAA+B,CAAC"}
@@ -29,15 +29,15 @@ export declare class PluginCommunity extends pulumi.CustomResource {
29
29
  */
30
30
  readonly description: pulumi.Output<string>;
31
31
  /**
32
- * Enable or disable the plugins.
32
+ * If the plugin is enabled
33
33
  */
34
34
  readonly enabled: pulumi.Output<boolean>;
35
35
  /**
36
- * The CloudAMQP instance ID.
36
+ * Instance identifier
37
37
  */
38
38
  readonly instanceId: pulumi.Output<number>;
39
39
  /**
40
- * The name of the Rabbit MQ community plugin.
40
+ * The name of the plugin
41
41
  */
42
42
  readonly name: pulumi.Output<string>;
43
43
  /**
@@ -45,13 +45,11 @@ export declare class PluginCommunity extends pulumi.CustomResource {
45
45
  */
46
46
  readonly require: pulumi.Output<string>;
47
47
  /**
48
- * Configurable sleep time (seconds) for retries when requesting information
49
- * about community plugins. Default set to 10 seconds. *Available from v1.29.0*
48
+ * Configurable sleep time in seconds between retries for plugins
50
49
  */
51
50
  readonly sleep: pulumi.Output<number | undefined>;
52
51
  /**
53
- * Configurable timeout time (seconds) for retries when requesting
54
- * information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
52
+ * Configurable timeout time in seconds for plugins
55
53
  */
56
54
  readonly timeout: pulumi.Output<number | undefined>;
57
55
  /**
@@ -72,15 +70,15 @@ export interface PluginCommunityState {
72
70
  */
73
71
  description?: pulumi.Input<string>;
74
72
  /**
75
- * Enable or disable the plugins.
73
+ * If the plugin is enabled
76
74
  */
77
75
  enabled?: pulumi.Input<boolean>;
78
76
  /**
79
- * The CloudAMQP instance ID.
77
+ * Instance identifier
80
78
  */
81
79
  instanceId?: pulumi.Input<number>;
82
80
  /**
83
- * The name of the Rabbit MQ community plugin.
81
+ * The name of the plugin
84
82
  */
85
83
  name?: pulumi.Input<string>;
86
84
  /**
@@ -88,13 +86,11 @@ export interface PluginCommunityState {
88
86
  */
89
87
  require?: pulumi.Input<string>;
90
88
  /**
91
- * Configurable sleep time (seconds) for retries when requesting information
92
- * about community plugins. Default set to 10 seconds. *Available from v1.29.0*
89
+ * Configurable sleep time in seconds between retries for plugins
93
90
  */
94
91
  sleep?: pulumi.Input<number>;
95
92
  /**
96
- * Configurable timeout time (seconds) for retries when requesting
97
- * information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
93
+ * Configurable timeout time in seconds for plugins
98
94
  */
99
95
  timeout?: pulumi.Input<number>;
100
96
  }
@@ -103,25 +99,23 @@ export interface PluginCommunityState {
103
99
  */
104
100
  export interface PluginCommunityArgs {
105
101
  /**
106
- * Enable or disable the plugins.
102
+ * If the plugin is enabled
107
103
  */
108
104
  enabled: pulumi.Input<boolean>;
109
105
  /**
110
- * The CloudAMQP instance ID.
106
+ * Instance identifier
111
107
  */
112
108
  instanceId: pulumi.Input<number>;
113
109
  /**
114
- * The name of the Rabbit MQ community plugin.
110
+ * The name of the plugin
115
111
  */
116
112
  name?: pulumi.Input<string>;
117
113
  /**
118
- * Configurable sleep time (seconds) for retries when requesting information
119
- * about community plugins. Default set to 10 seconds. *Available from v1.29.0*
114
+ * Configurable sleep time in seconds between retries for plugins
120
115
  */
121
116
  sleep?: pulumi.Input<number>;
122
117
  /**
123
- * Configurable timeout time (seconds) for retries when requesting
124
- * information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
118
+ * Configurable timeout time in seconds for plugins
125
119
  */
126
120
  timeout?: pulumi.Input<number>;
127
121
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pluginCommunity.js","sourceRoot":"","sources":["../pluginCommunity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAyCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAA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C,CAAC;IACpE,CAAC;;AA/FL,0CAgGC;AAlFG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
@@ -27,23 +27,16 @@ export declare class SecurityFirewall extends pulumi.CustomResource {
27
27
  */
28
28
  static isInstance(obj: any): obj is SecurityFirewall;
29
29
  /**
30
- * The CloudAMQP instance ID.
30
+ * Instance identifier
31
31
  */
32
32
  readonly instanceId: pulumi.Output<number>;
33
- /**
34
- * An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
35
- */
36
33
  readonly rules: pulumi.Output<outputs.SecurityFirewallRule[]>;
37
34
  /**
38
- * Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
35
+ * Configurable sleep time in seconds between retries for firewall configuration
39
36
  */
40
37
  readonly sleep: pulumi.Output<number | undefined>;
41
38
  /**
42
- * Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
43
- *
44
- * ___
45
- *
46
- * The `rules` block consists of:
39
+ * Configurable timeout time in seconds for firewall configuration
47
40
  */
48
41
  readonly timeout: pulumi.Output<number | undefined>;
49
42
  /**
@@ -60,23 +53,16 @@ export declare class SecurityFirewall extends pulumi.CustomResource {
60
53
  */
61
54
  export interface SecurityFirewallState {
62
55
  /**
63
- * The CloudAMQP instance ID.
56
+ * Instance identifier
64
57
  */
65
58
  instanceId?: pulumi.Input<number>;
66
- /**
67
- * An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
68
- */
69
59
  rules?: pulumi.Input<pulumi.Input<inputs.SecurityFirewallRule>[]>;
70
60
  /**
71
- * Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
61
+ * Configurable sleep time in seconds between retries for firewall configuration
72
62
  */
73
63
  sleep?: pulumi.Input<number>;
74
64
  /**
75
- * Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
76
- *
77
- * ___
78
- *
79
- * The `rules` block consists of:
65
+ * Configurable timeout time in seconds for firewall configuration
80
66
  */
81
67
  timeout?: pulumi.Input<number>;
82
68
  }
@@ -85,23 +71,16 @@ export interface SecurityFirewallState {
85
71
  */
86
72
  export interface SecurityFirewallArgs {
87
73
  /**
88
- * The CloudAMQP instance ID.
74
+ * Instance identifier
89
75
  */
90
76
  instanceId: pulumi.Input<number>;
91
- /**
92
- * An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
93
- */
94
77
  rules: pulumi.Input<pulumi.Input<inputs.SecurityFirewallRule>[]>;
95
78
  /**
96
- * Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
79
+ * Configurable sleep time in seconds between retries for firewall configuration
97
80
  */
98
81
  sleep?: pulumi.Input<number>;
99
82
  /**
100
- * Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
101
- *
102
- * ___
103
- *
104
- * The `rules` block consists of:
83
+ * Configurable timeout time in seconds for firewall configuration
105
84
  */
106
85
  timeout?: pulumi.Input<number>;
107
86
  }
@@ -1 +1 @@
1
- {"version":3,"file":"securityFirewall.js","sourceRoot":"","sources":["../securityFirewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA+BD,YAAY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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA1EL,4CA2EC;AA7DG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
package/types/input.d.ts CHANGED
@@ -17,42 +17,8 @@ export interface InstanceCopySetting {
17
17
  subscriptionId: pulumi.Input<string>;
18
18
  }
19
19
  export interface SecurityFirewallRule {
20
- /**
21
- * Description name of the rule. e.g. Default.
22
- *
23
- * Pre-defined services for RabbitMQ:
24
- *
25
- * | Service name | Port |
26
- * |--------------|-------|
27
- * | AMQP | 5672 |
28
- * | AMQPS | 5671 |
29
- * | HTTPS | 443 |
30
- * | MQTT | 1883 |
31
- * | MQTTS | 8883 |
32
- * | STOMP | 61613 |
33
- * | STOMPS | 61614 |
34
- * | STREAM | 5552 |
35
- * | STREAM_SSL | 5551 |
36
- *
37
- * Pre-defined services for LavinMQ:
38
- *
39
- * | Service name | Port |
40
- * |--------------|-------|
41
- * | AMQP | 5672 |
42
- * | AMQPS | 5671 |
43
- * | HTTPS | 443 |
44
- */
45
20
  description?: pulumi.Input<string>;
46
- /**
47
- * CIDR address: IP address with CIDR notation (e.g. 10.56.72.0/24)
48
- */
49
21
  ip: pulumi.Input<string>;
50
- /**
51
- * Custom ports to be opened
52
- */
53
22
  ports?: pulumi.Input<pulumi.Input<number>[]>;
54
- /**
55
- * Pre-defined service ports, see table below
56
- */
57
23
  services?: pulumi.Input<pulumi.Input<string>[]>;
58
24
  }
package/types/output.d.ts CHANGED
@@ -57,42 +57,8 @@ export interface InstanceCopySetting {
57
57
  subscriptionId: string;
58
58
  }
59
59
  export interface SecurityFirewallRule {
60
- /**
61
- * Description name of the rule. e.g. Default.
62
- *
63
- * Pre-defined services for RabbitMQ:
64
- *
65
- * | Service name | Port |
66
- * |--------------|-------|
67
- * | AMQP | 5672 |
68
- * | AMQPS | 5671 |
69
- * | HTTPS | 443 |
70
- * | MQTT | 1883 |
71
- * | MQTTS | 8883 |
72
- * | STOMP | 61613 |
73
- * | STOMPS | 61614 |
74
- * | STREAM | 5552 |
75
- * | STREAM_SSL | 5551 |
76
- *
77
- * Pre-defined services for LavinMQ:
78
- *
79
- * | Service name | Port |
80
- * |--------------|-------|
81
- * | AMQP | 5672 |
82
- * | AMQPS | 5671 |
83
- * | HTTPS | 443 |
84
- */
85
60
  description?: string;
86
- /**
87
- * CIDR address: IP address with CIDR notation (e.g. 10.56.72.0/24)
88
- */
89
61
  ip: string;
90
- /**
91
- * Custom ports to be opened
92
- */
93
62
  ports?: number[];
94
- /**
95
- * Pre-defined service ports, see table below
96
- */
97
63
  services?: string[];
98
64
  }