pulumi-cloudamqp 3.16.0a1695822250__py3-none-any.whl → 3.17.0a1696359693__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/_inputs.py +49 -10
- pulumi_cloudamqp/alarm.py +85 -23
- pulumi_cloudamqp/config/vars.py +1 -1
- pulumi_cloudamqp/custom_domain.py +31 -5
- pulumi_cloudamqp/extra_disk_size.py +52 -12
- pulumi_cloudamqp/get_account.py +43 -1
- pulumi_cloudamqp/get_account_vpcs.py +44 -1
- pulumi_cloudamqp/get_alarm.py +1 -1
- pulumi_cloudamqp/get_credentials.py +1 -1
- pulumi_cloudamqp/get_instance.py +1 -1
- pulumi_cloudamqp/get_nodes.py +1 -1
- pulumi_cloudamqp/get_notification.py +1 -1
- pulumi_cloudamqp/get_plugins.py +1 -1
- pulumi_cloudamqp/get_plugins_community.py +1 -1
- pulumi_cloudamqp/get_upgradable_versions.py +1 -1
- pulumi_cloudamqp/get_vpc_gcp_info.py +1 -1
- pulumi_cloudamqp/get_vpc_info.py +1 -1
- pulumi_cloudamqp/instance.py +109 -31
- pulumi_cloudamqp/integration_aws_eventbridge.py +58 -14
- pulumi_cloudamqp/integration_log.py +121 -35
- pulumi_cloudamqp/integration_metric.py +139 -47
- pulumi_cloudamqp/node_actions.py +40 -8
- pulumi_cloudamqp/notification.py +49 -11
- pulumi_cloudamqp/outputs.py +165 -37
- pulumi_cloudamqp/plugin.py +43 -9
- pulumi_cloudamqp/plugin_community.py +43 -9
- pulumi_cloudamqp/privatelink_aws.py +52 -12
- pulumi_cloudamqp/privatelink_azure.py +52 -12
- pulumi_cloudamqp/provider.py +21 -4
- pulumi_cloudamqp/rabbit_configuration.py +91 -25
- pulumi_cloudamqp/security_firewall.py +43 -9
- pulumi_cloudamqp/upgrade_rabbitmq.py +25 -3
- pulumi_cloudamqp/vpc.py +46 -10
- pulumi_cloudamqp/vpc_gcp_peering.py +52 -12
- pulumi_cloudamqp/vpc_peering.py +52 -12
- pulumi_cloudamqp/webhook.py +55 -13
- {pulumi_cloudamqp-3.16.0a1695822250.dist-info → pulumi_cloudamqp-3.17.0a1696359693.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.17.0a1696359693.dist-info/RECORD +45 -0
- pulumi_cloudamqp-3.16.0a1695822250.dist-info/RECORD +0 -45
- {pulumi_cloudamqp-3.16.0a1695822250.dist-info → pulumi_cloudamqp-3.17.0a1696359693.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.16.0a1695822250.dist-info → pulumi_cloudamqp-3.17.0a1696359693.dist-info}/top_level.txt +0 -0
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['IntegrationMetricArgs', 'IntegrationMetric']
|
|
@@ -57,51 +57,98 @@ class IntegrationMetricArgs:
|
|
|
57
57
|
:param pulumi.Input[str] vhost_allowlist: (optional) allowlist using regular expression
|
|
58
58
|
:param pulumi.Input[str] vhost_whitelist: **Deprecated**
|
|
59
59
|
"""
|
|
60
|
-
|
|
60
|
+
IntegrationMetricArgs._configure(
|
|
61
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
62
|
+
instance_id=instance_id,
|
|
63
|
+
access_key_id=access_key_id,
|
|
64
|
+
api_key=api_key,
|
|
65
|
+
client_email=client_email,
|
|
66
|
+
credentials=credentials,
|
|
67
|
+
email=email,
|
|
68
|
+
iam_external_id=iam_external_id,
|
|
69
|
+
iam_role=iam_role,
|
|
70
|
+
license_key=license_key,
|
|
71
|
+
name=name,
|
|
72
|
+
private_key=private_key,
|
|
73
|
+
private_key_id=private_key_id,
|
|
74
|
+
project_id=project_id,
|
|
75
|
+
queue_allowlist=queue_allowlist,
|
|
76
|
+
queue_whitelist=queue_whitelist,
|
|
77
|
+
region=region,
|
|
78
|
+
secret_access_key=secret_access_key,
|
|
79
|
+
tags=tags,
|
|
80
|
+
vhost_allowlist=vhost_allowlist,
|
|
81
|
+
vhost_whitelist=vhost_whitelist,
|
|
82
|
+
)
|
|
83
|
+
@staticmethod
|
|
84
|
+
def _configure(
|
|
85
|
+
_setter: Callable[[Any, Any], None],
|
|
86
|
+
instance_id: pulumi.Input[int],
|
|
87
|
+
access_key_id: Optional[pulumi.Input[str]] = None,
|
|
88
|
+
api_key: Optional[pulumi.Input[str]] = None,
|
|
89
|
+
client_email: Optional[pulumi.Input[str]] = None,
|
|
90
|
+
credentials: Optional[pulumi.Input[str]] = None,
|
|
91
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
92
|
+
iam_external_id: Optional[pulumi.Input[str]] = None,
|
|
93
|
+
iam_role: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
license_key: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
private_key_id: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
queue_allowlist: Optional[pulumi.Input[str]] = None,
|
|
100
|
+
queue_whitelist: Optional[pulumi.Input[str]] = None,
|
|
101
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
102
|
+
secret_access_key: Optional[pulumi.Input[str]] = None,
|
|
103
|
+
tags: Optional[pulumi.Input[str]] = None,
|
|
104
|
+
vhost_allowlist: Optional[pulumi.Input[str]] = None,
|
|
105
|
+
vhost_whitelist: Optional[pulumi.Input[str]] = None,
|
|
106
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
107
|
+
_setter("instance_id", instance_id)
|
|
61
108
|
if access_key_id is not None:
|
|
62
|
-
|
|
109
|
+
_setter("access_key_id", access_key_id)
|
|
63
110
|
if api_key is not None:
|
|
64
|
-
|
|
111
|
+
_setter("api_key", api_key)
|
|
65
112
|
if client_email is not None:
|
|
66
|
-
|
|
113
|
+
_setter("client_email", client_email)
|
|
67
114
|
if credentials is not None:
|
|
68
|
-
|
|
115
|
+
_setter("credentials", credentials)
|
|
69
116
|
if email is not None:
|
|
70
|
-
|
|
117
|
+
_setter("email", email)
|
|
71
118
|
if iam_external_id is not None:
|
|
72
|
-
|
|
119
|
+
_setter("iam_external_id", iam_external_id)
|
|
73
120
|
if iam_role is not None:
|
|
74
|
-
|
|
121
|
+
_setter("iam_role", iam_role)
|
|
75
122
|
if license_key is not None:
|
|
76
|
-
|
|
123
|
+
_setter("license_key", license_key)
|
|
77
124
|
if name is not None:
|
|
78
|
-
|
|
125
|
+
_setter("name", name)
|
|
79
126
|
if private_key is not None:
|
|
80
|
-
|
|
127
|
+
_setter("private_key", private_key)
|
|
81
128
|
if private_key_id is not None:
|
|
82
|
-
|
|
129
|
+
_setter("private_key_id", private_key_id)
|
|
83
130
|
if project_id is not None:
|
|
84
|
-
|
|
131
|
+
_setter("project_id", project_id)
|
|
85
132
|
if queue_allowlist is not None:
|
|
86
|
-
|
|
133
|
+
_setter("queue_allowlist", queue_allowlist)
|
|
87
134
|
if queue_whitelist is not None:
|
|
88
135
|
warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
|
|
89
136
|
pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
|
|
90
137
|
if queue_whitelist is not None:
|
|
91
|
-
|
|
138
|
+
_setter("queue_whitelist", queue_whitelist)
|
|
92
139
|
if region is not None:
|
|
93
|
-
|
|
140
|
+
_setter("region", region)
|
|
94
141
|
if secret_access_key is not None:
|
|
95
|
-
|
|
142
|
+
_setter("secret_access_key", secret_access_key)
|
|
96
143
|
if tags is not None:
|
|
97
|
-
|
|
144
|
+
_setter("tags", tags)
|
|
98
145
|
if vhost_allowlist is not None:
|
|
99
|
-
|
|
146
|
+
_setter("vhost_allowlist", vhost_allowlist)
|
|
100
147
|
if vhost_whitelist is not None:
|
|
101
148
|
warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
|
|
102
149
|
pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
|
|
103
150
|
if vhost_whitelist is not None:
|
|
104
|
-
|
|
151
|
+
_setter("vhost_whitelist", vhost_whitelist)
|
|
105
152
|
|
|
106
153
|
@property
|
|
107
154
|
@pulumi.getter(name="instanceId")
|
|
@@ -396,52 +443,99 @@ class _IntegrationMetricState:
|
|
|
396
443
|
:param pulumi.Input[str] vhost_allowlist: (optional) allowlist using regular expression
|
|
397
444
|
:param pulumi.Input[str] vhost_whitelist: **Deprecated**
|
|
398
445
|
"""
|
|
446
|
+
_IntegrationMetricState._configure(
|
|
447
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
448
|
+
access_key_id=access_key_id,
|
|
449
|
+
api_key=api_key,
|
|
450
|
+
client_email=client_email,
|
|
451
|
+
credentials=credentials,
|
|
452
|
+
email=email,
|
|
453
|
+
iam_external_id=iam_external_id,
|
|
454
|
+
iam_role=iam_role,
|
|
455
|
+
instance_id=instance_id,
|
|
456
|
+
license_key=license_key,
|
|
457
|
+
name=name,
|
|
458
|
+
private_key=private_key,
|
|
459
|
+
private_key_id=private_key_id,
|
|
460
|
+
project_id=project_id,
|
|
461
|
+
queue_allowlist=queue_allowlist,
|
|
462
|
+
queue_whitelist=queue_whitelist,
|
|
463
|
+
region=region,
|
|
464
|
+
secret_access_key=secret_access_key,
|
|
465
|
+
tags=tags,
|
|
466
|
+
vhost_allowlist=vhost_allowlist,
|
|
467
|
+
vhost_whitelist=vhost_whitelist,
|
|
468
|
+
)
|
|
469
|
+
@staticmethod
|
|
470
|
+
def _configure(
|
|
471
|
+
_setter: Callable[[Any, Any], None],
|
|
472
|
+
access_key_id: Optional[pulumi.Input[str]] = None,
|
|
473
|
+
api_key: Optional[pulumi.Input[str]] = None,
|
|
474
|
+
client_email: Optional[pulumi.Input[str]] = None,
|
|
475
|
+
credentials: Optional[pulumi.Input[str]] = None,
|
|
476
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
477
|
+
iam_external_id: Optional[pulumi.Input[str]] = None,
|
|
478
|
+
iam_role: Optional[pulumi.Input[str]] = None,
|
|
479
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
480
|
+
license_key: Optional[pulumi.Input[str]] = None,
|
|
481
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
482
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
483
|
+
private_key_id: Optional[pulumi.Input[str]] = None,
|
|
484
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
485
|
+
queue_allowlist: Optional[pulumi.Input[str]] = None,
|
|
486
|
+
queue_whitelist: Optional[pulumi.Input[str]] = None,
|
|
487
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
488
|
+
secret_access_key: Optional[pulumi.Input[str]] = None,
|
|
489
|
+
tags: Optional[pulumi.Input[str]] = None,
|
|
490
|
+
vhost_allowlist: Optional[pulumi.Input[str]] = None,
|
|
491
|
+
vhost_whitelist: Optional[pulumi.Input[str]] = None,
|
|
492
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
399
493
|
if access_key_id is not None:
|
|
400
|
-
|
|
494
|
+
_setter("access_key_id", access_key_id)
|
|
401
495
|
if api_key is not None:
|
|
402
|
-
|
|
496
|
+
_setter("api_key", api_key)
|
|
403
497
|
if client_email is not None:
|
|
404
|
-
|
|
498
|
+
_setter("client_email", client_email)
|
|
405
499
|
if credentials is not None:
|
|
406
|
-
|
|
500
|
+
_setter("credentials", credentials)
|
|
407
501
|
if email is not None:
|
|
408
|
-
|
|
502
|
+
_setter("email", email)
|
|
409
503
|
if iam_external_id is not None:
|
|
410
|
-
|
|
504
|
+
_setter("iam_external_id", iam_external_id)
|
|
411
505
|
if iam_role is not None:
|
|
412
|
-
|
|
506
|
+
_setter("iam_role", iam_role)
|
|
413
507
|
if instance_id is not None:
|
|
414
|
-
|
|
508
|
+
_setter("instance_id", instance_id)
|
|
415
509
|
if license_key is not None:
|
|
416
|
-
|
|
510
|
+
_setter("license_key", license_key)
|
|
417
511
|
if name is not None:
|
|
418
|
-
|
|
512
|
+
_setter("name", name)
|
|
419
513
|
if private_key is not None:
|
|
420
|
-
|
|
514
|
+
_setter("private_key", private_key)
|
|
421
515
|
if private_key_id is not None:
|
|
422
|
-
|
|
516
|
+
_setter("private_key_id", private_key_id)
|
|
423
517
|
if project_id is not None:
|
|
424
|
-
|
|
518
|
+
_setter("project_id", project_id)
|
|
425
519
|
if queue_allowlist is not None:
|
|
426
|
-
|
|
520
|
+
_setter("queue_allowlist", queue_allowlist)
|
|
427
521
|
if queue_whitelist is not None:
|
|
428
522
|
warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
|
|
429
523
|
pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
|
|
430
524
|
if queue_whitelist is not None:
|
|
431
|
-
|
|
525
|
+
_setter("queue_whitelist", queue_whitelist)
|
|
432
526
|
if region is not None:
|
|
433
|
-
|
|
527
|
+
_setter("region", region)
|
|
434
528
|
if secret_access_key is not None:
|
|
435
|
-
|
|
529
|
+
_setter("secret_access_key", secret_access_key)
|
|
436
530
|
if tags is not None:
|
|
437
|
-
|
|
531
|
+
_setter("tags", tags)
|
|
438
532
|
if vhost_allowlist is not None:
|
|
439
|
-
|
|
533
|
+
_setter("vhost_allowlist", vhost_allowlist)
|
|
440
534
|
if vhost_whitelist is not None:
|
|
441
535
|
warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
|
|
442
536
|
pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
|
|
443
537
|
if vhost_whitelist is not None:
|
|
444
|
-
|
|
538
|
+
_setter("vhost_whitelist", vhost_whitelist)
|
|
445
539
|
|
|
446
540
|
@property
|
|
447
541
|
@pulumi.getter(name="accessKeyId")
|
|
@@ -759,6 +853,10 @@ class IntegrationMetric(pulumi.CustomResource):
|
|
|
759
853
|
if resource_args is not None:
|
|
760
854
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
761
855
|
else:
|
|
856
|
+
kwargs = kwargs or {}
|
|
857
|
+
def _setter(key, value):
|
|
858
|
+
kwargs[key] = value
|
|
859
|
+
IntegrationMetricArgs._configure(_setter, **kwargs)
|
|
762
860
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
763
861
|
|
|
764
862
|
def _internal_init(__self__,
|
|
@@ -809,17 +907,11 @@ class IntegrationMetric(pulumi.CustomResource):
|
|
|
809
907
|
__props__.__dict__["private_key_id"] = None if private_key_id is None else pulumi.Output.secret(private_key_id)
|
|
810
908
|
__props__.__dict__["project_id"] = project_id
|
|
811
909
|
__props__.__dict__["queue_allowlist"] = queue_allowlist
|
|
812
|
-
if queue_whitelist is not None and not opts.urn:
|
|
813
|
-
warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
|
|
814
|
-
pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
|
|
815
910
|
__props__.__dict__["queue_whitelist"] = queue_whitelist
|
|
816
911
|
__props__.__dict__["region"] = region
|
|
817
912
|
__props__.__dict__["secret_access_key"] = None if secret_access_key is None else pulumi.Output.secret(secret_access_key)
|
|
818
913
|
__props__.__dict__["tags"] = tags
|
|
819
914
|
__props__.__dict__["vhost_allowlist"] = vhost_allowlist
|
|
820
|
-
if vhost_whitelist is not None and not opts.urn:
|
|
821
|
-
warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
|
|
822
|
-
pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
|
|
823
915
|
__props__.__dict__["vhost_whitelist"] = vhost_whitelist
|
|
824
916
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials", "privateKey", "privateKeyId", "secretAccessKey"])
|
|
825
917
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
pulumi_cloudamqp/node_actions.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['NodeActionsArgs', 'NodeActions']
|
|
@@ -23,9 +23,22 @@ class NodeActionsArgs:
|
|
|
23
23
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
24
24
|
:param pulumi.Input[str] node_name: The node name, e.g `green-guinea-pig-01`.
|
|
25
25
|
"""
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
NodeActionsArgs._configure(
|
|
27
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
28
|
+
action=action,
|
|
29
|
+
instance_id=instance_id,
|
|
30
|
+
node_name=node_name,
|
|
31
|
+
)
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _configure(
|
|
34
|
+
_setter: Callable[[Any, Any], None],
|
|
35
|
+
action: pulumi.Input[str],
|
|
36
|
+
instance_id: pulumi.Input[int],
|
|
37
|
+
node_name: pulumi.Input[str],
|
|
38
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
39
|
+
_setter("action", action)
|
|
40
|
+
_setter("instance_id", instance_id)
|
|
41
|
+
_setter("node_name", node_name)
|
|
29
42
|
|
|
30
43
|
@property
|
|
31
44
|
@pulumi.getter
|
|
@@ -78,14 +91,29 @@ class _NodeActionsState:
|
|
|
78
91
|
:param pulumi.Input[str] node_name: The node name, e.g `green-guinea-pig-01`.
|
|
79
92
|
:param pulumi.Input[bool] running: If the node is running.
|
|
80
93
|
"""
|
|
94
|
+
_NodeActionsState._configure(
|
|
95
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
96
|
+
action=action,
|
|
97
|
+
instance_id=instance_id,
|
|
98
|
+
node_name=node_name,
|
|
99
|
+
running=running,
|
|
100
|
+
)
|
|
101
|
+
@staticmethod
|
|
102
|
+
def _configure(
|
|
103
|
+
_setter: Callable[[Any, Any], None],
|
|
104
|
+
action: Optional[pulumi.Input[str]] = None,
|
|
105
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
106
|
+
node_name: Optional[pulumi.Input[str]] = None,
|
|
107
|
+
running: Optional[pulumi.Input[bool]] = None,
|
|
108
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
81
109
|
if action is not None:
|
|
82
|
-
|
|
110
|
+
_setter("action", action)
|
|
83
111
|
if instance_id is not None:
|
|
84
|
-
|
|
112
|
+
_setter("instance_id", instance_id)
|
|
85
113
|
if node_name is not None:
|
|
86
|
-
|
|
114
|
+
_setter("node_name", node_name)
|
|
87
115
|
if running is not None:
|
|
88
|
-
|
|
116
|
+
_setter("running", running)
|
|
89
117
|
|
|
90
118
|
@property
|
|
91
119
|
@pulumi.getter
|
|
@@ -407,6 +435,10 @@ class NodeActions(pulumi.CustomResource):
|
|
|
407
435
|
if resource_args is not None:
|
|
408
436
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
409
437
|
else:
|
|
438
|
+
kwargs = kwargs or {}
|
|
439
|
+
def _setter(key, value):
|
|
440
|
+
kwargs[key] = value
|
|
441
|
+
NodeActionsArgs._configure(_setter, **kwargs)
|
|
410
442
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
411
443
|
|
|
412
444
|
def _internal_init(__self__,
|
pulumi_cloudamqp/notification.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['NotificationArgs', 'Notification']
|
|
@@ -27,13 +27,30 @@ class NotificationArgs:
|
|
|
27
27
|
:param pulumi.Input[str] name: Display name of the recipient.
|
|
28
28
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: Options argument (e.g. `rk` used for VictorOps routing key).
|
|
29
29
|
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
NotificationArgs._configure(
|
|
31
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
32
|
+
instance_id=instance_id,
|
|
33
|
+
type=type,
|
|
34
|
+
value=value,
|
|
35
|
+
name=name,
|
|
36
|
+
options=options,
|
|
37
|
+
)
|
|
38
|
+
@staticmethod
|
|
39
|
+
def _configure(
|
|
40
|
+
_setter: Callable[[Any, Any], None],
|
|
41
|
+
instance_id: pulumi.Input[int],
|
|
42
|
+
type: pulumi.Input[str],
|
|
43
|
+
value: pulumi.Input[str],
|
|
44
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
45
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
46
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
47
|
+
_setter("instance_id", instance_id)
|
|
48
|
+
_setter("type", type)
|
|
49
|
+
_setter("value", value)
|
|
33
50
|
if name is not None:
|
|
34
|
-
|
|
51
|
+
_setter("name", name)
|
|
35
52
|
if options is not None:
|
|
36
|
-
|
|
53
|
+
_setter("options", options)
|
|
37
54
|
|
|
38
55
|
@property
|
|
39
56
|
@pulumi.getter(name="instanceId")
|
|
@@ -112,16 +129,33 @@ class _NotificationState:
|
|
|
112
129
|
:param pulumi.Input[str] type: Type of the notification. See valid options below.
|
|
113
130
|
:param pulumi.Input[str] value: Integration/API key or endpoint to send the notification.
|
|
114
131
|
"""
|
|
132
|
+
_NotificationState._configure(
|
|
133
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
134
|
+
instance_id=instance_id,
|
|
135
|
+
name=name,
|
|
136
|
+
options=options,
|
|
137
|
+
type=type,
|
|
138
|
+
value=value,
|
|
139
|
+
)
|
|
140
|
+
@staticmethod
|
|
141
|
+
def _configure(
|
|
142
|
+
_setter: Callable[[Any, Any], None],
|
|
143
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
144
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
146
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
value: Optional[pulumi.Input[str]] = None,
|
|
148
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
115
149
|
if instance_id is not None:
|
|
116
|
-
|
|
150
|
+
_setter("instance_id", instance_id)
|
|
117
151
|
if name is not None:
|
|
118
|
-
|
|
152
|
+
_setter("name", name)
|
|
119
153
|
if options is not None:
|
|
120
|
-
|
|
154
|
+
_setter("options", options)
|
|
121
155
|
if type is not None:
|
|
122
|
-
|
|
156
|
+
_setter("type", type)
|
|
123
157
|
if value is not None:
|
|
124
|
-
|
|
158
|
+
_setter("value", value)
|
|
125
159
|
|
|
126
160
|
@property
|
|
127
161
|
@pulumi.getter(name="instanceId")
|
|
@@ -345,6 +379,10 @@ class Notification(pulumi.CustomResource):
|
|
|
345
379
|
if resource_args is not None:
|
|
346
380
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
347
381
|
else:
|
|
382
|
+
kwargs = kwargs or {}
|
|
383
|
+
def _setter(key, value):
|
|
384
|
+
kwargs[key] = value
|
|
385
|
+
NotificationArgs._configure(_setter, **kwargs)
|
|
348
386
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
349
387
|
|
|
350
388
|
def _internal_init(__self__,
|