pulumi-cloudamqp 3.21.0a1743485311__py3-none-any.whl → 3.21.0a1744082841__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-cloudamqp might be problematic. Click here for more details.
- pulumi_cloudamqp/__init__.py +9 -0
- pulumi_cloudamqp/_inputs.py +28 -9
- pulumi_cloudamqp/account_action.py +14 -7
- pulumi_cloudamqp/alarm.py +90 -30
- pulumi_cloudamqp/custom_domain.py +52 -10
- pulumi_cloudamqp/extra_disk_size.py +117 -101
- pulumi_cloudamqp/get_account.py +8 -2
- pulumi_cloudamqp/get_account_vpcs.py +13 -40
- pulumi_cloudamqp/get_alarm.py +50 -44
- pulumi_cloudamqp/get_credentials.py +10 -18
- pulumi_cloudamqp/get_instance.py +51 -2
- pulumi_cloudamqp/get_nodes.py +3 -50
- pulumi_cloudamqp/get_notification.py +17 -20
- pulumi_cloudamqp/get_plugins.py +15 -42
- pulumi_cloudamqp/get_plugins_community.py +16 -40
- pulumi_cloudamqp/get_upgradable_versions.py +10 -16
- pulumi_cloudamqp/get_vpc_gcp_info.py +23 -118
- pulumi_cloudamqp/get_vpc_info.py +18 -112
- pulumi_cloudamqp/instance.py +400 -177
- pulumi_cloudamqp/integration_aws_eventbridge.py +90 -26
- pulumi_cloudamqp/integration_log.py +135 -50
- pulumi_cloudamqp/integration_metric.py +50 -2
- pulumi_cloudamqp/maintenance_window.py +515 -0
- pulumi_cloudamqp/node_actions.py +32 -10
- pulumi_cloudamqp/notification.py +103 -22
- pulumi_cloudamqp/outputs.py +118 -28
- pulumi_cloudamqp/plugin.py +89 -25
- pulumi_cloudamqp/plugin_community.py +87 -27
- pulumi_cloudamqp/privatelink_aws.py +62 -270
- pulumi_cloudamqp/privatelink_azure.py +64 -268
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/rabbit_configuration.py +209 -86
- pulumi_cloudamqp/security_firewall.py +76 -23
- pulumi_cloudamqp/upgrade_lavinmq.py +0 -74
- pulumi_cloudamqp/upgrade_rabbitmq.py +14 -261
- pulumi_cloudamqp/vpc.py +48 -16
- pulumi_cloudamqp/vpc_connect.py +111 -499
- pulumi_cloudamqp/vpc_gcp_peering.py +141 -506
- pulumi_cloudamqp/vpc_peering.py +50 -36
- pulumi_cloudamqp/webhook.py +48 -9
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.21.0a1744082841.dist-info/RECORD +50 -0
- pulumi_cloudamqp-3.21.0a1743485311.dist-info/RECORD +0 -49
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/top_level.txt +0 -0
|
@@ -247,11 +247,16 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
247
247
|
with_headers: Optional[pulumi.Input[bool]] = None,
|
|
248
248
|
__props__=None):
|
|
249
249
|
"""
|
|
250
|
-
This resource allows you to create and manage, an [AWS EventBridge]
|
|
250
|
+
This resource allows you to create and manage, an [AWS EventBridge] for a CloudAMQP instance. Once
|
|
251
|
+
created, continue to map the EventBridge in the [AWS Eventbridge console].
|
|
251
252
|
|
|
252
|
-
> Our consumer needs to have exclusive usage to the configured queue and the maximum body size
|
|
253
|
+
> Our consumer needs to have exclusive usage to the configured queue and the maximum body size
|
|
254
|
+
allowed on msgs by AWS is 256kb. The message body has to be valid JSON for AWS Eventbridge to accept
|
|
255
|
+
it. If messages are too large or are not valid JSON, they will be rejected (tip: setup a dead-letter
|
|
256
|
+
queue to catch them).
|
|
253
257
|
|
|
254
|
-
Not possible to update this resource. Any changes made to the argument will destroy and recreate the
|
|
258
|
+
Not possible to update this resource. Any changes made to the argument will destroy and recreate the
|
|
259
|
+
resource. Hence why all arguments use ForceNew.
|
|
255
260
|
|
|
256
261
|
Only available for dedicated subscription plans.
|
|
257
262
|
|
|
@@ -263,11 +268,11 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
263
268
|
|
|
264
269
|
instance = cloudamqp.Instance("instance",
|
|
265
270
|
name="Test instance",
|
|
266
|
-
plan="
|
|
271
|
+
plan="penguin-1",
|
|
267
272
|
region="amazon-web-services::us-west-1",
|
|
268
273
|
rmq_version="3.11.5",
|
|
269
274
|
tags=["aws"])
|
|
270
|
-
|
|
275
|
+
this = cloudamqp.IntegrationAwsEventbridge("this",
|
|
271
276
|
instance_id=instance.id,
|
|
272
277
|
vhost=instance.vhost,
|
|
273
278
|
queue="<QUEUE-NAME>",
|
|
@@ -276,15 +281,18 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
276
281
|
with_headers=True)
|
|
277
282
|
```
|
|
278
283
|
|
|
279
|
-
## Argument
|
|
284
|
+
## Argument References
|
|
280
285
|
|
|
281
286
|
The following arguments are supported:
|
|
282
287
|
|
|
283
|
-
* `aws_account_id`
|
|
284
|
-
|
|
285
|
-
* `
|
|
286
|
-
|
|
287
|
-
* `
|
|
288
|
+
* `aws_account_id` - (ForceNew/Required) The 12 digit AWS Account ID where you want the events to
|
|
289
|
+
be sent to.
|
|
290
|
+
* `aws_region` - (ForceNew/Required) The AWS region where you the events to be sent to.
|
|
291
|
+
(e.g. us-west-1, us-west-2, ..., etc.)
|
|
292
|
+
* `vhost` - (ForceNew/Required) The VHost the queue resides in.
|
|
293
|
+
* `queue` - (ForceNew/Required) A (durable) queue on your RabbitMQ instance.
|
|
294
|
+
* `with_headers` - (ForceNew/Required) Include message headers in the event data.
|
|
295
|
+
`({ "headers": { }, "body": { "your": "message" } })`
|
|
288
296
|
|
|
289
297
|
## Dependency
|
|
290
298
|
|
|
@@ -292,12 +300,36 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
292
300
|
|
|
293
301
|
## Import
|
|
294
302
|
|
|
295
|
-
`cloudamqp_integration_aws_eventbridge` can be imported using
|
|
303
|
+
`cloudamqp_integration_aws_eventbridge` can be imported using the resource identifier together with
|
|
304
|
+
|
|
305
|
+
CloudAMQP instance identifier (CSV separated). To retrieve the resource identifier, use
|
|
306
|
+
|
|
307
|
+
[CloudAMQP API list eventbridges].
|
|
308
|
+
|
|
309
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
310
|
+
|
|
311
|
+
hcl
|
|
312
|
+
|
|
313
|
+
import {
|
|
314
|
+
|
|
315
|
+
to = cloudamqp_integration_aws_eventbridge.this
|
|
316
|
+
|
|
317
|
+
id = format("<id>,%s", cloudamqp_instance.instance.id)
|
|
318
|
+
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
Or with Terraform CLI:
|
|
296
322
|
|
|
297
323
|
```sh
|
|
298
|
-
$ pulumi import cloudamqp:index/integrationAwsEventbridge:IntegrationAwsEventbridge
|
|
324
|
+
$ pulumi import cloudamqp:index/integrationAwsEventbridge:IntegrationAwsEventbridge this <id>,<instance_id>`
|
|
299
325
|
```
|
|
300
326
|
|
|
327
|
+
[AWS EventBridge]: https://aws.amazon.com/eventbridge
|
|
328
|
+
|
|
329
|
+
[AWS Eventbridge console]: https://console.aws.amazon.com/events/home
|
|
330
|
+
|
|
331
|
+
[CloudAMQP API list eventbridges]: https://docs.cloudamqp.com/cloudamqp_api.html#list-eventbridges
|
|
332
|
+
|
|
301
333
|
:param str resource_name: The name of the resource.
|
|
302
334
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
303
335
|
:param pulumi.Input[str] aws_account_id: The 12 digit AWS Account ID where you want the events to be sent to.
|
|
@@ -314,11 +346,16 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
314
346
|
args: IntegrationAwsEventbridgeArgs,
|
|
315
347
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
316
348
|
"""
|
|
317
|
-
This resource allows you to create and manage, an [AWS EventBridge]
|
|
349
|
+
This resource allows you to create and manage, an [AWS EventBridge] for a CloudAMQP instance. Once
|
|
350
|
+
created, continue to map the EventBridge in the [AWS Eventbridge console].
|
|
318
351
|
|
|
319
|
-
> Our consumer needs to have exclusive usage to the configured queue and the maximum body size
|
|
352
|
+
> Our consumer needs to have exclusive usage to the configured queue and the maximum body size
|
|
353
|
+
allowed on msgs by AWS is 256kb. The message body has to be valid JSON for AWS Eventbridge to accept
|
|
354
|
+
it. If messages are too large or are not valid JSON, they will be rejected (tip: setup a dead-letter
|
|
355
|
+
queue to catch them).
|
|
320
356
|
|
|
321
|
-
Not possible to update this resource. Any changes made to the argument will destroy and recreate the
|
|
357
|
+
Not possible to update this resource. Any changes made to the argument will destroy and recreate the
|
|
358
|
+
resource. Hence why all arguments use ForceNew.
|
|
322
359
|
|
|
323
360
|
Only available for dedicated subscription plans.
|
|
324
361
|
|
|
@@ -330,11 +367,11 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
330
367
|
|
|
331
368
|
instance = cloudamqp.Instance("instance",
|
|
332
369
|
name="Test instance",
|
|
333
|
-
plan="
|
|
370
|
+
plan="penguin-1",
|
|
334
371
|
region="amazon-web-services::us-west-1",
|
|
335
372
|
rmq_version="3.11.5",
|
|
336
373
|
tags=["aws"])
|
|
337
|
-
|
|
374
|
+
this = cloudamqp.IntegrationAwsEventbridge("this",
|
|
338
375
|
instance_id=instance.id,
|
|
339
376
|
vhost=instance.vhost,
|
|
340
377
|
queue="<QUEUE-NAME>",
|
|
@@ -343,15 +380,18 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
343
380
|
with_headers=True)
|
|
344
381
|
```
|
|
345
382
|
|
|
346
|
-
## Argument
|
|
383
|
+
## Argument References
|
|
347
384
|
|
|
348
385
|
The following arguments are supported:
|
|
349
386
|
|
|
350
|
-
* `aws_account_id`
|
|
351
|
-
|
|
352
|
-
* `
|
|
353
|
-
|
|
354
|
-
* `
|
|
387
|
+
* `aws_account_id` - (ForceNew/Required) The 12 digit AWS Account ID where you want the events to
|
|
388
|
+
be sent to.
|
|
389
|
+
* `aws_region` - (ForceNew/Required) The AWS region where you the events to be sent to.
|
|
390
|
+
(e.g. us-west-1, us-west-2, ..., etc.)
|
|
391
|
+
* `vhost` - (ForceNew/Required) The VHost the queue resides in.
|
|
392
|
+
* `queue` - (ForceNew/Required) A (durable) queue on your RabbitMQ instance.
|
|
393
|
+
* `with_headers` - (ForceNew/Required) Include message headers in the event data.
|
|
394
|
+
`({ "headers": { }, "body": { "your": "message" } })`
|
|
355
395
|
|
|
356
396
|
## Dependency
|
|
357
397
|
|
|
@@ -359,12 +399,36 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
359
399
|
|
|
360
400
|
## Import
|
|
361
401
|
|
|
362
|
-
`cloudamqp_integration_aws_eventbridge` can be imported using
|
|
402
|
+
`cloudamqp_integration_aws_eventbridge` can be imported using the resource identifier together with
|
|
403
|
+
|
|
404
|
+
CloudAMQP instance identifier (CSV separated). To retrieve the resource identifier, use
|
|
405
|
+
|
|
406
|
+
[CloudAMQP API list eventbridges].
|
|
407
|
+
|
|
408
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
409
|
+
|
|
410
|
+
hcl
|
|
411
|
+
|
|
412
|
+
import {
|
|
413
|
+
|
|
414
|
+
to = cloudamqp_integration_aws_eventbridge.this
|
|
415
|
+
|
|
416
|
+
id = format("<id>,%s", cloudamqp_instance.instance.id)
|
|
417
|
+
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
Or with Terraform CLI:
|
|
363
421
|
|
|
364
422
|
```sh
|
|
365
|
-
$ pulumi import cloudamqp:index/integrationAwsEventbridge:IntegrationAwsEventbridge
|
|
423
|
+
$ pulumi import cloudamqp:index/integrationAwsEventbridge:IntegrationAwsEventbridge this <id>,<instance_id>`
|
|
366
424
|
```
|
|
367
425
|
|
|
426
|
+
[AWS EventBridge]: https://aws.amazon.com/eventbridge
|
|
427
|
+
|
|
428
|
+
[AWS Eventbridge console]: https://console.aws.amazon.com/events/home
|
|
429
|
+
|
|
430
|
+
[CloudAMQP API list eventbridges]: https://docs.cloudamqp.com/cloudamqp_api.html#list-eventbridges
|
|
431
|
+
|
|
368
432
|
:param str resource_name: The name of the resource.
|
|
369
433
|
:param IntegrationAwsEventbridgeArgs args: The arguments to use to populate this resource's properties.
|
|
370
434
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -56,25 +56,30 @@ class IntegrationLogArgs:
|
|
|
56
56
|
:param pulumi.Input[str] client_email: The client email registered for the integration service.
|
|
57
57
|
:param pulumi.Input[str] credentials: Google Service Account private key credentials.
|
|
58
58
|
:param pulumi.Input[str] dce_uri: The data collection endpoint for Azure monitor.
|
|
59
|
-
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
59
|
+
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
60
|
+
Monitor.
|
|
60
61
|
|
|
61
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
62
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
63
|
+
integration used. See [integration type reference] table below for more information.
|
|
62
64
|
:param pulumi.Input[str] endpoint: The syslog destination to send the logs to for Coralogix.
|
|
63
|
-
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
65
|
+
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
66
|
+
app.eu.scalyr.com)
|
|
64
67
|
:param pulumi.Input[str] host_port: Destination to send the logs.
|
|
65
68
|
:param pulumi.Input[str] name: The name of the third party log integration. See
|
|
66
|
-
|
|
69
|
+
[integration type reference]
|
|
67
70
|
:param pulumi.Input[str] private_key: The private access key.
|
|
68
71
|
:param pulumi.Input[str] private_key_id: Private key identifier. (Stackdriver)
|
|
69
72
|
:param pulumi.Input[str] project_id: The project identifier.
|
|
70
73
|
:param pulumi.Input[str] region: Region hosting the integration service.
|
|
71
74
|
:param pulumi.Input[str] secret_access_key: AWS secret access key.
|
|
72
|
-
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
75
|
+
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
76
|
+
(Splunk)
|
|
73
77
|
:param pulumi.Input[str] subsystem: The subsystem name for Coralogix.
|
|
74
78
|
:param pulumi.Input[str] table: The table name for Azure monitor.
|
|
75
79
|
:param pulumi.Input[str] tags: Tags. e.g. `env=prod,region=europe`.
|
|
76
80
|
|
|
77
|
-
***Note
|
|
81
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
82
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
78
83
|
:param pulumi.Input[str] tenant_id: The tenant identifier for Azure monitor.
|
|
79
84
|
:param pulumi.Input[str] token: Token used for authentication.
|
|
80
85
|
:param pulumi.Input[str] url: Endpoint to log integration.
|
|
@@ -243,9 +248,11 @@ class IntegrationLogArgs:
|
|
|
243
248
|
@pulumi.getter(name="dcrId")
|
|
244
249
|
def dcr_id(self) -> Optional[pulumi.Input[str]]:
|
|
245
250
|
"""
|
|
246
|
-
ID of data collection rule that your DCE is linked to for Azure
|
|
251
|
+
ID of data collection rule that your DCE is linked to for Azure
|
|
252
|
+
Monitor.
|
|
247
253
|
|
|
248
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
254
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
255
|
+
integration used. See [integration type reference] table below for more information.
|
|
249
256
|
"""
|
|
250
257
|
return pulumi.get(self, "dcr_id")
|
|
251
258
|
|
|
@@ -269,7 +276,8 @@ class IntegrationLogArgs:
|
|
|
269
276
|
@pulumi.getter
|
|
270
277
|
def host(self) -> Optional[pulumi.Input[str]]:
|
|
271
278
|
"""
|
|
272
|
-
The host for Scalyr integration. (app.scalyr.com,
|
|
279
|
+
The host for Scalyr integration. (app.scalyr.com,
|
|
280
|
+
app.eu.scalyr.com)
|
|
273
281
|
"""
|
|
274
282
|
return pulumi.get(self, "host")
|
|
275
283
|
|
|
@@ -294,7 +302,7 @@ class IntegrationLogArgs:
|
|
|
294
302
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
295
303
|
"""
|
|
296
304
|
The name of the third party log integration. See
|
|
297
|
-
|
|
305
|
+
[integration type reference]
|
|
298
306
|
"""
|
|
299
307
|
return pulumi.get(self, "name")
|
|
300
308
|
|
|
@@ -366,7 +374,8 @@ class IntegrationLogArgs:
|
|
|
366
374
|
@pulumi.getter
|
|
367
375
|
def sourcetype(self) -> Optional[pulumi.Input[str]]:
|
|
368
376
|
"""
|
|
369
|
-
Assign source type to the data exported, eg. generic_single_line.
|
|
377
|
+
Assign source type to the data exported, eg. generic_single_line.
|
|
378
|
+
(Splunk)
|
|
370
379
|
"""
|
|
371
380
|
return pulumi.get(self, "sourcetype")
|
|
372
381
|
|
|
@@ -404,7 +413,8 @@ class IntegrationLogArgs:
|
|
|
404
413
|
"""
|
|
405
414
|
Tags. e.g. `env=prod,region=europe`.
|
|
406
415
|
|
|
407
|
-
***Note
|
|
416
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
417
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
408
418
|
"""
|
|
409
419
|
return pulumi.get(self, "tags")
|
|
410
420
|
|
|
@@ -488,26 +498,31 @@ class _IntegrationLogState:
|
|
|
488
498
|
:param pulumi.Input[str] client_email: The client email registered for the integration service.
|
|
489
499
|
:param pulumi.Input[str] credentials: Google Service Account private key credentials.
|
|
490
500
|
:param pulumi.Input[str] dce_uri: The data collection endpoint for Azure monitor.
|
|
491
|
-
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
501
|
+
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
502
|
+
Monitor.
|
|
492
503
|
|
|
493
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
504
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
505
|
+
integration used. See [integration type reference] table below for more information.
|
|
494
506
|
:param pulumi.Input[str] endpoint: The syslog destination to send the logs to for Coralogix.
|
|
495
|
-
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
507
|
+
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
508
|
+
app.eu.scalyr.com)
|
|
496
509
|
:param pulumi.Input[str] host_port: Destination to send the logs.
|
|
497
510
|
:param pulumi.Input[int] instance_id: Instance identifier used to make proxy calls
|
|
498
511
|
:param pulumi.Input[str] name: The name of the third party log integration. See
|
|
499
|
-
|
|
512
|
+
[integration type reference]
|
|
500
513
|
:param pulumi.Input[str] private_key: The private access key.
|
|
501
514
|
:param pulumi.Input[str] private_key_id: Private key identifier. (Stackdriver)
|
|
502
515
|
:param pulumi.Input[str] project_id: The project identifier.
|
|
503
516
|
:param pulumi.Input[str] region: Region hosting the integration service.
|
|
504
517
|
:param pulumi.Input[str] secret_access_key: AWS secret access key.
|
|
505
|
-
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
518
|
+
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
519
|
+
(Splunk)
|
|
506
520
|
:param pulumi.Input[str] subsystem: The subsystem name for Coralogix.
|
|
507
521
|
:param pulumi.Input[str] table: The table name for Azure monitor.
|
|
508
522
|
:param pulumi.Input[str] tags: Tags. e.g. `env=prod,region=europe`.
|
|
509
523
|
|
|
510
|
-
***Note
|
|
524
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
525
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
511
526
|
:param pulumi.Input[str] tenant_id: The tenant identifier for Azure monitor.
|
|
512
527
|
:param pulumi.Input[str] token: Token used for authentication.
|
|
513
528
|
:param pulumi.Input[str] url: Endpoint to log integration.
|
|
@@ -665,9 +680,11 @@ class _IntegrationLogState:
|
|
|
665
680
|
@pulumi.getter(name="dcrId")
|
|
666
681
|
def dcr_id(self) -> Optional[pulumi.Input[str]]:
|
|
667
682
|
"""
|
|
668
|
-
ID of data collection rule that your DCE is linked to for Azure
|
|
683
|
+
ID of data collection rule that your DCE is linked to for Azure
|
|
684
|
+
Monitor.
|
|
669
685
|
|
|
670
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
686
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
687
|
+
integration used. See [integration type reference] table below for more information.
|
|
671
688
|
"""
|
|
672
689
|
return pulumi.get(self, "dcr_id")
|
|
673
690
|
|
|
@@ -691,7 +708,8 @@ class _IntegrationLogState:
|
|
|
691
708
|
@pulumi.getter
|
|
692
709
|
def host(self) -> Optional[pulumi.Input[str]]:
|
|
693
710
|
"""
|
|
694
|
-
The host for Scalyr integration. (app.scalyr.com,
|
|
711
|
+
The host for Scalyr integration. (app.scalyr.com,
|
|
712
|
+
app.eu.scalyr.com)
|
|
695
713
|
"""
|
|
696
714
|
return pulumi.get(self, "host")
|
|
697
715
|
|
|
@@ -728,7 +746,7 @@ class _IntegrationLogState:
|
|
|
728
746
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
729
747
|
"""
|
|
730
748
|
The name of the third party log integration. See
|
|
731
|
-
|
|
749
|
+
[integration type reference]
|
|
732
750
|
"""
|
|
733
751
|
return pulumi.get(self, "name")
|
|
734
752
|
|
|
@@ -800,7 +818,8 @@ class _IntegrationLogState:
|
|
|
800
818
|
@pulumi.getter
|
|
801
819
|
def sourcetype(self) -> Optional[pulumi.Input[str]]:
|
|
802
820
|
"""
|
|
803
|
-
Assign source type to the data exported, eg. generic_single_line.
|
|
821
|
+
Assign source type to the data exported, eg. generic_single_line.
|
|
822
|
+
(Splunk)
|
|
804
823
|
"""
|
|
805
824
|
return pulumi.get(self, "sourcetype")
|
|
806
825
|
|
|
@@ -838,7 +857,8 @@ class _IntegrationLogState:
|
|
|
838
857
|
"""
|
|
839
858
|
Tags. e.g. `env=prod,region=europe`.
|
|
840
859
|
|
|
841
|
-
***Note
|
|
860
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
861
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
842
862
|
"""
|
|
843
863
|
return pulumi.get(self, "tags")
|
|
844
864
|
|
|
@@ -1046,6 +1066,7 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1046
1066
|
name="loggly",
|
|
1047
1067
|
token=loggly_token)
|
|
1048
1068
|
```
|
|
1069
|
+
|
|
1049
1070
|
</details>
|
|
1050
1071
|
|
|
1051
1072
|
<details>
|
|
@@ -1085,6 +1106,8 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1085
1106
|
host=scalyr_host)
|
|
1086
1107
|
```
|
|
1087
1108
|
|
|
1109
|
+
</details>
|
|
1110
|
+
|
|
1088
1111
|
<details>
|
|
1089
1112
|
<summary>
|
|
1090
1113
|
<b>
|
|
@@ -1106,8 +1129,6 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1106
1129
|
|
|
1107
1130
|
</details>
|
|
1108
1131
|
|
|
1109
|
-
</details>
|
|
1110
|
-
|
|
1111
1132
|
<details>
|
|
1112
1133
|
<summary>
|
|
1113
1134
|
<b>
|
|
@@ -1133,12 +1154,36 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1133
1154
|
|
|
1134
1155
|
## Import
|
|
1135
1156
|
|
|
1136
|
-
`cloudamqp_integration_log`can be imported using the resource identifier together with CloudAMQP
|
|
1157
|
+
`cloudamqp_integration_log`can be imported using the resource identifier together with CloudAMQP
|
|
1158
|
+
|
|
1159
|
+
instance identifier. The identifiers are CSV separated, see example below. To retrieve the resource,
|
|
1160
|
+
|
|
1161
|
+
use [CloudAMQP API list integration].
|
|
1162
|
+
|
|
1163
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
1164
|
+
|
|
1165
|
+
hcl
|
|
1166
|
+
|
|
1167
|
+
import {
|
|
1168
|
+
|
|
1169
|
+
to = cloudamqp_integration_log.this
|
|
1170
|
+
|
|
1171
|
+
id = format("<id>,%s", cloudamqp_instance.instance.id)
|
|
1172
|
+
|
|
1173
|
+
}
|
|
1137
1174
|
|
|
1138
1175
|
```sh
|
|
1139
|
-
$ pulumi import cloudamqp:index/integrationLog:IntegrationLog
|
|
1176
|
+
$ pulumi import cloudamqp:index/integrationLog:IntegrationLog this <id>,<instance_id>`
|
|
1140
1177
|
```
|
|
1141
1178
|
|
|
1179
|
+
[CloudAMQP API add integration]: https://docs.cloudamqp.com/cloudamqp_api.html#add-log-integration
|
|
1180
|
+
|
|
1181
|
+
[CloudAMQP API list integration]: https://docs.cloudamqp.com/cloudamqp_api.html#list-log-integrations
|
|
1182
|
+
|
|
1183
|
+
[Datadog documentation]: https://docs.datadoghq.com/getting_started/tagging/#define-tags
|
|
1184
|
+
|
|
1185
|
+
[integration type reference]: #integration-type-reference
|
|
1186
|
+
|
|
1142
1187
|
:param str resource_name: The name of the resource.
|
|
1143
1188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1144
1189
|
:param pulumi.Input[str] access_key_id: AWS access key identifier.
|
|
@@ -1149,26 +1194,31 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1149
1194
|
:param pulumi.Input[str] client_email: The client email registered for the integration service.
|
|
1150
1195
|
:param pulumi.Input[str] credentials: Google Service Account private key credentials.
|
|
1151
1196
|
:param pulumi.Input[str] dce_uri: The data collection endpoint for Azure monitor.
|
|
1152
|
-
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
1197
|
+
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
1198
|
+
Monitor.
|
|
1153
1199
|
|
|
1154
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
1200
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
1201
|
+
integration used. See [integration type reference] table below for more information.
|
|
1155
1202
|
:param pulumi.Input[str] endpoint: The syslog destination to send the logs to for Coralogix.
|
|
1156
|
-
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
1203
|
+
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
1204
|
+
app.eu.scalyr.com)
|
|
1157
1205
|
:param pulumi.Input[str] host_port: Destination to send the logs.
|
|
1158
1206
|
:param pulumi.Input[int] instance_id: Instance identifier used to make proxy calls
|
|
1159
1207
|
:param pulumi.Input[str] name: The name of the third party log integration. See
|
|
1160
|
-
|
|
1208
|
+
[integration type reference]
|
|
1161
1209
|
:param pulumi.Input[str] private_key: The private access key.
|
|
1162
1210
|
:param pulumi.Input[str] private_key_id: Private key identifier. (Stackdriver)
|
|
1163
1211
|
:param pulumi.Input[str] project_id: The project identifier.
|
|
1164
1212
|
:param pulumi.Input[str] region: Region hosting the integration service.
|
|
1165
1213
|
:param pulumi.Input[str] secret_access_key: AWS secret access key.
|
|
1166
|
-
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
1214
|
+
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
1215
|
+
(Splunk)
|
|
1167
1216
|
:param pulumi.Input[str] subsystem: The subsystem name for Coralogix.
|
|
1168
1217
|
:param pulumi.Input[str] table: The table name for Azure monitor.
|
|
1169
1218
|
:param pulumi.Input[str] tags: Tags. e.g. `env=prod,region=europe`.
|
|
1170
1219
|
|
|
1171
|
-
***Note
|
|
1220
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
1221
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
1172
1222
|
:param pulumi.Input[str] tenant_id: The tenant identifier for Azure monitor.
|
|
1173
1223
|
:param pulumi.Input[str] token: Token used for authentication.
|
|
1174
1224
|
:param pulumi.Input[str] url: Endpoint to log integration.
|
|
@@ -1310,6 +1360,7 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1310
1360
|
name="loggly",
|
|
1311
1361
|
token=loggly_token)
|
|
1312
1362
|
```
|
|
1363
|
+
|
|
1313
1364
|
</details>
|
|
1314
1365
|
|
|
1315
1366
|
<details>
|
|
@@ -1349,6 +1400,8 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1349
1400
|
host=scalyr_host)
|
|
1350
1401
|
```
|
|
1351
1402
|
|
|
1403
|
+
</details>
|
|
1404
|
+
|
|
1352
1405
|
<details>
|
|
1353
1406
|
<summary>
|
|
1354
1407
|
<b>
|
|
@@ -1370,8 +1423,6 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1370
1423
|
|
|
1371
1424
|
</details>
|
|
1372
1425
|
|
|
1373
|
-
</details>
|
|
1374
|
-
|
|
1375
1426
|
<details>
|
|
1376
1427
|
<summary>
|
|
1377
1428
|
<b>
|
|
@@ -1397,12 +1448,36 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1397
1448
|
|
|
1398
1449
|
## Import
|
|
1399
1450
|
|
|
1400
|
-
`cloudamqp_integration_log`can be imported using the resource identifier together with CloudAMQP
|
|
1451
|
+
`cloudamqp_integration_log`can be imported using the resource identifier together with CloudAMQP
|
|
1452
|
+
|
|
1453
|
+
instance identifier. The identifiers are CSV separated, see example below. To retrieve the resource,
|
|
1454
|
+
|
|
1455
|
+
use [CloudAMQP API list integration].
|
|
1456
|
+
|
|
1457
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
1458
|
+
|
|
1459
|
+
hcl
|
|
1460
|
+
|
|
1461
|
+
import {
|
|
1462
|
+
|
|
1463
|
+
to = cloudamqp_integration_log.this
|
|
1464
|
+
|
|
1465
|
+
id = format("<id>,%s", cloudamqp_instance.instance.id)
|
|
1466
|
+
|
|
1467
|
+
}
|
|
1401
1468
|
|
|
1402
1469
|
```sh
|
|
1403
|
-
$ pulumi import cloudamqp:index/integrationLog:IntegrationLog
|
|
1470
|
+
$ pulumi import cloudamqp:index/integrationLog:IntegrationLog this <id>,<instance_id>`
|
|
1404
1471
|
```
|
|
1405
1472
|
|
|
1473
|
+
[CloudAMQP API add integration]: https://docs.cloudamqp.com/cloudamqp_api.html#add-log-integration
|
|
1474
|
+
|
|
1475
|
+
[CloudAMQP API list integration]: https://docs.cloudamqp.com/cloudamqp_api.html#list-log-integrations
|
|
1476
|
+
|
|
1477
|
+
[Datadog documentation]: https://docs.datadoghq.com/getting_started/tagging/#define-tags
|
|
1478
|
+
|
|
1479
|
+
[integration type reference]: #integration-type-reference
|
|
1480
|
+
|
|
1406
1481
|
:param str resource_name: The name of the resource.
|
|
1407
1482
|
:param IntegrationLogArgs args: The arguments to use to populate this resource's properties.
|
|
1408
1483
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -1534,26 +1609,31 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1534
1609
|
:param pulumi.Input[str] client_email: The client email registered for the integration service.
|
|
1535
1610
|
:param pulumi.Input[str] credentials: Google Service Account private key credentials.
|
|
1536
1611
|
:param pulumi.Input[str] dce_uri: The data collection endpoint for Azure monitor.
|
|
1537
|
-
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
1612
|
+
:param pulumi.Input[str] dcr_id: ID of data collection rule that your DCE is linked to for Azure
|
|
1613
|
+
Monitor.
|
|
1538
1614
|
|
|
1539
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
1615
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
1616
|
+
integration used. See [integration type reference] table below for more information.
|
|
1540
1617
|
:param pulumi.Input[str] endpoint: The syslog destination to send the logs to for Coralogix.
|
|
1541
|
-
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
1618
|
+
:param pulumi.Input[str] host: The host for Scalyr integration. (app.scalyr.com,
|
|
1619
|
+
app.eu.scalyr.com)
|
|
1542
1620
|
:param pulumi.Input[str] host_port: Destination to send the logs.
|
|
1543
1621
|
:param pulumi.Input[int] instance_id: Instance identifier used to make proxy calls
|
|
1544
1622
|
:param pulumi.Input[str] name: The name of the third party log integration. See
|
|
1545
|
-
|
|
1623
|
+
[integration type reference]
|
|
1546
1624
|
:param pulumi.Input[str] private_key: The private access key.
|
|
1547
1625
|
:param pulumi.Input[str] private_key_id: Private key identifier. (Stackdriver)
|
|
1548
1626
|
:param pulumi.Input[str] project_id: The project identifier.
|
|
1549
1627
|
:param pulumi.Input[str] region: Region hosting the integration service.
|
|
1550
1628
|
:param pulumi.Input[str] secret_access_key: AWS secret access key.
|
|
1551
|
-
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
1629
|
+
:param pulumi.Input[str] sourcetype: Assign source type to the data exported, eg. generic_single_line.
|
|
1630
|
+
(Splunk)
|
|
1552
1631
|
:param pulumi.Input[str] subsystem: The subsystem name for Coralogix.
|
|
1553
1632
|
:param pulumi.Input[str] table: The table name for Azure monitor.
|
|
1554
1633
|
:param pulumi.Input[str] tags: Tags. e.g. `env=prod,region=europe`.
|
|
1555
1634
|
|
|
1556
|
-
***Note
|
|
1635
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
1636
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
1557
1637
|
:param pulumi.Input[str] tenant_id: The tenant identifier for Azure monitor.
|
|
1558
1638
|
:param pulumi.Input[str] token: Token used for authentication.
|
|
1559
1639
|
:param pulumi.Input[str] url: Endpoint to log integration.
|
|
@@ -1658,9 +1738,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1658
1738
|
@pulumi.getter(name="dcrId")
|
|
1659
1739
|
def dcr_id(self) -> pulumi.Output[Optional[str]]:
|
|
1660
1740
|
"""
|
|
1661
|
-
ID of data collection rule that your DCE is linked to for Azure
|
|
1741
|
+
ID of data collection rule that your DCE is linked to for Azure
|
|
1742
|
+
Monitor.
|
|
1662
1743
|
|
|
1663
|
-
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
1744
|
+
This is the full list of all arguments. Only a subset of arguments are used based on which type of
|
|
1745
|
+
integration used. See [integration type reference] table below for more information.
|
|
1664
1746
|
"""
|
|
1665
1747
|
return pulumi.get(self, "dcr_id")
|
|
1666
1748
|
|
|
@@ -1676,7 +1758,8 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1676
1758
|
@pulumi.getter
|
|
1677
1759
|
def host(self) -> pulumi.Output[Optional[str]]:
|
|
1678
1760
|
"""
|
|
1679
|
-
The host for Scalyr integration. (app.scalyr.com,
|
|
1761
|
+
The host for Scalyr integration. (app.scalyr.com,
|
|
1762
|
+
app.eu.scalyr.com)
|
|
1680
1763
|
"""
|
|
1681
1764
|
return pulumi.get(self, "host")
|
|
1682
1765
|
|
|
@@ -1701,7 +1784,7 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1701
1784
|
def name(self) -> pulumi.Output[str]:
|
|
1702
1785
|
"""
|
|
1703
1786
|
The name of the third party log integration. See
|
|
1704
|
-
|
|
1787
|
+
[integration type reference]
|
|
1705
1788
|
"""
|
|
1706
1789
|
return pulumi.get(self, "name")
|
|
1707
1790
|
|
|
@@ -1749,7 +1832,8 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1749
1832
|
@pulumi.getter
|
|
1750
1833
|
def sourcetype(self) -> pulumi.Output[Optional[str]]:
|
|
1751
1834
|
"""
|
|
1752
|
-
Assign source type to the data exported, eg. generic_single_line.
|
|
1835
|
+
Assign source type to the data exported, eg. generic_single_line.
|
|
1836
|
+
(Splunk)
|
|
1753
1837
|
"""
|
|
1754
1838
|
return pulumi.get(self, "sourcetype")
|
|
1755
1839
|
|
|
@@ -1775,7 +1859,8 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1775
1859
|
"""
|
|
1776
1860
|
Tags. e.g. `env=prod,region=europe`.
|
|
1777
1861
|
|
|
1778
|
-
***Note
|
|
1862
|
+
***Note:*** If tags are used with Datadog. The value part (prod, europe, ...) must start with a
|
|
1863
|
+
letter, read more about tags format in the [Datadog documentation].
|
|
1779
1864
|
"""
|
|
1780
1865
|
return pulumi.get(self, "tags")
|
|
1781
1866
|
|