pulumi-consul 3.12.0a1722057841__py3-none-any.whl → 3.12.1__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-consul might be problematic. Click here for more details.

Files changed (34) hide show
  1. pulumi_consul/__init__.py +10 -0
  2. pulumi_consul/_inputs.py +2 -2
  3. pulumi_consul/acl_auth_method.py +5 -5
  4. pulumi_consul/acl_binding_rule.py +5 -5
  5. pulumi_consul/acl_role.py +21 -21
  6. pulumi_consul/acl_token.py +15 -15
  7. pulumi_consul/catalog_entry.py +5 -5
  8. pulumi_consul/config_entry_service_defaults.py +30 -30
  9. pulumi_consul/config_entry_service_intentions.py +48 -48
  10. pulumi_consul/config_entry_service_resolver.py +60 -60
  11. pulumi_consul/config_entry_service_router.py +5 -5
  12. pulumi_consul/config_entry_service_splitter.py +83 -83
  13. pulumi_consul/config_entry_v2_exported_services.py +474 -0
  14. pulumi_consul/get_catalog_nodes.py +4 -4
  15. pulumi_consul/get_catalog_service.py +4 -4
  16. pulumi_consul/get_catalog_services.py +10 -10
  17. pulumi_consul/get_config_entry_v2_exported_services.py +210 -0
  18. pulumi_consul/get_key_prefix.py +14 -14
  19. pulumi_consul/get_keys.py +14 -14
  20. pulumi_consul/get_nodes.py +4 -4
  21. pulumi_consul/get_service.py +4 -4
  22. pulumi_consul/get_services.py +10 -10
  23. pulumi_consul/key_prefix.py +15 -15
  24. pulumi_consul/keys.py +13 -13
  25. pulumi_consul/outputs.py +2 -2
  26. pulumi_consul/peering_token.py +50 -11
  27. pulumi_consul/prepared_query.py +51 -51
  28. pulumi_consul/provider.py +6 -6
  29. pulumi_consul/pulumi-plugin.json +1 -1
  30. pulumi_consul/service.py +43 -43
  31. {pulumi_consul-3.12.0a1722057841.dist-info → pulumi_consul-3.12.1.dist-info}/METADATA +1 -1
  32. {pulumi_consul-3.12.0a1722057841.dist-info → pulumi_consul-3.12.1.dist-info}/RECORD +34 -32
  33. {pulumi_consul-3.12.0a1722057841.dist-info → pulumi_consul-3.12.1.dist-info}/WHEEL +1 -1
  34. {pulumi_consul-3.12.0a1722057841.dist-info → pulumi_consul-3.12.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,474 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = ['ConfigEntryV2ExportedServicesArgs', 'ConfigEntryV2ExportedServices']
13
+
14
+ @pulumi.input_type
15
+ class ConfigEntryV2ExportedServicesArgs:
16
+ def __init__(__self__, *,
17
+ kind: pulumi.Input[str],
18
+ partition: pulumi.Input[str],
19
+ name: Optional[pulumi.Input[str]] = None,
20
+ namespace: Optional[pulumi.Input[str]] = None,
21
+ partition_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
22
+ peer_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
23
+ sameness_group_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
24
+ services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
25
+ """
26
+ The set of arguments for constructing a ConfigEntryV2ExportedServices resource.
27
+ :param pulumi.Input[str] kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
28
+ :param pulumi.Input[str] partition: The partition the config entry is associated with.
29
+ :param pulumi.Input[str] name: The name of the config entry to read.
30
+ :param pulumi.Input[str] namespace: The namespace the config entry is associated with.
31
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] partition_consumers: The exported service partition consumers.
32
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] peer_consumers: The exported service peer consumers.
33
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] sameness_group_consumers: The exported service sameness group consumers.
34
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] services: The exported services.
35
+ """
36
+ pulumi.set(__self__, "kind", kind)
37
+ pulumi.set(__self__, "partition", partition)
38
+ if name is not None:
39
+ pulumi.set(__self__, "name", name)
40
+ if namespace is not None:
41
+ pulumi.set(__self__, "namespace", namespace)
42
+ if partition_consumers is not None:
43
+ pulumi.set(__self__, "partition_consumers", partition_consumers)
44
+ if peer_consumers is not None:
45
+ pulumi.set(__self__, "peer_consumers", peer_consumers)
46
+ if sameness_group_consumers is not None:
47
+ pulumi.set(__self__, "sameness_group_consumers", sameness_group_consumers)
48
+ if services is not None:
49
+ pulumi.set(__self__, "services", services)
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def kind(self) -> pulumi.Input[str]:
54
+ """
55
+ The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
56
+ """
57
+ return pulumi.get(self, "kind")
58
+
59
+ @kind.setter
60
+ def kind(self, value: pulumi.Input[str]):
61
+ pulumi.set(self, "kind", value)
62
+
63
+ @property
64
+ @pulumi.getter
65
+ def partition(self) -> pulumi.Input[str]:
66
+ """
67
+ The partition the config entry is associated with.
68
+ """
69
+ return pulumi.get(self, "partition")
70
+
71
+ @partition.setter
72
+ def partition(self, value: pulumi.Input[str]):
73
+ pulumi.set(self, "partition", value)
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def name(self) -> Optional[pulumi.Input[str]]:
78
+ """
79
+ The name of the config entry to read.
80
+ """
81
+ return pulumi.get(self, "name")
82
+
83
+ @name.setter
84
+ def name(self, value: Optional[pulumi.Input[str]]):
85
+ pulumi.set(self, "name", value)
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def namespace(self) -> Optional[pulumi.Input[str]]:
90
+ """
91
+ The namespace the config entry is associated with.
92
+ """
93
+ return pulumi.get(self, "namespace")
94
+
95
+ @namespace.setter
96
+ def namespace(self, value: Optional[pulumi.Input[str]]):
97
+ pulumi.set(self, "namespace", value)
98
+
99
+ @property
100
+ @pulumi.getter(name="partitionConsumers")
101
+ def partition_consumers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
102
+ """
103
+ The exported service partition consumers.
104
+ """
105
+ return pulumi.get(self, "partition_consumers")
106
+
107
+ @partition_consumers.setter
108
+ def partition_consumers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
109
+ pulumi.set(self, "partition_consumers", value)
110
+
111
+ @property
112
+ @pulumi.getter(name="peerConsumers")
113
+ def peer_consumers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
114
+ """
115
+ The exported service peer consumers.
116
+ """
117
+ return pulumi.get(self, "peer_consumers")
118
+
119
+ @peer_consumers.setter
120
+ def peer_consumers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
121
+ pulumi.set(self, "peer_consumers", value)
122
+
123
+ @property
124
+ @pulumi.getter(name="samenessGroupConsumers")
125
+ def sameness_group_consumers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
126
+ """
127
+ The exported service sameness group consumers.
128
+ """
129
+ return pulumi.get(self, "sameness_group_consumers")
130
+
131
+ @sameness_group_consumers.setter
132
+ def sameness_group_consumers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
133
+ pulumi.set(self, "sameness_group_consumers", value)
134
+
135
+ @property
136
+ @pulumi.getter
137
+ def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
138
+ """
139
+ The exported services.
140
+ """
141
+ return pulumi.get(self, "services")
142
+
143
+ @services.setter
144
+ def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
145
+ pulumi.set(self, "services", value)
146
+
147
+
148
+ @pulumi.input_type
149
+ class _ConfigEntryV2ExportedServicesState:
150
+ def __init__(__self__, *,
151
+ kind: Optional[pulumi.Input[str]] = None,
152
+ name: Optional[pulumi.Input[str]] = None,
153
+ namespace: Optional[pulumi.Input[str]] = None,
154
+ partition: Optional[pulumi.Input[str]] = None,
155
+ partition_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
156
+ peer_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
157
+ sameness_group_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
158
+ services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
159
+ """
160
+ Input properties used for looking up and filtering ConfigEntryV2ExportedServices resources.
161
+ :param pulumi.Input[str] kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
162
+ :param pulumi.Input[str] name: The name of the config entry to read.
163
+ :param pulumi.Input[str] namespace: The namespace the config entry is associated with.
164
+ :param pulumi.Input[str] partition: The partition the config entry is associated with.
165
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] partition_consumers: The exported service partition consumers.
166
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] peer_consumers: The exported service peer consumers.
167
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] sameness_group_consumers: The exported service sameness group consumers.
168
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] services: The exported services.
169
+ """
170
+ if kind is not None:
171
+ pulumi.set(__self__, "kind", kind)
172
+ if name is not None:
173
+ pulumi.set(__self__, "name", name)
174
+ if namespace is not None:
175
+ pulumi.set(__self__, "namespace", namespace)
176
+ if partition is not None:
177
+ pulumi.set(__self__, "partition", partition)
178
+ if partition_consumers is not None:
179
+ pulumi.set(__self__, "partition_consumers", partition_consumers)
180
+ if peer_consumers is not None:
181
+ pulumi.set(__self__, "peer_consumers", peer_consumers)
182
+ if sameness_group_consumers is not None:
183
+ pulumi.set(__self__, "sameness_group_consumers", sameness_group_consumers)
184
+ if services is not None:
185
+ pulumi.set(__self__, "services", services)
186
+
187
+ @property
188
+ @pulumi.getter
189
+ def kind(self) -> Optional[pulumi.Input[str]]:
190
+ """
191
+ The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
192
+ """
193
+ return pulumi.get(self, "kind")
194
+
195
+ @kind.setter
196
+ def kind(self, value: Optional[pulumi.Input[str]]):
197
+ pulumi.set(self, "kind", value)
198
+
199
+ @property
200
+ @pulumi.getter
201
+ def name(self) -> Optional[pulumi.Input[str]]:
202
+ """
203
+ The name of the config entry to read.
204
+ """
205
+ return pulumi.get(self, "name")
206
+
207
+ @name.setter
208
+ def name(self, value: Optional[pulumi.Input[str]]):
209
+ pulumi.set(self, "name", value)
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def namespace(self) -> Optional[pulumi.Input[str]]:
214
+ """
215
+ The namespace the config entry is associated with.
216
+ """
217
+ return pulumi.get(self, "namespace")
218
+
219
+ @namespace.setter
220
+ def namespace(self, value: Optional[pulumi.Input[str]]):
221
+ pulumi.set(self, "namespace", value)
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def partition(self) -> Optional[pulumi.Input[str]]:
226
+ """
227
+ The partition the config entry is associated with.
228
+ """
229
+ return pulumi.get(self, "partition")
230
+
231
+ @partition.setter
232
+ def partition(self, value: Optional[pulumi.Input[str]]):
233
+ pulumi.set(self, "partition", value)
234
+
235
+ @property
236
+ @pulumi.getter(name="partitionConsumers")
237
+ def partition_consumers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
238
+ """
239
+ The exported service partition consumers.
240
+ """
241
+ return pulumi.get(self, "partition_consumers")
242
+
243
+ @partition_consumers.setter
244
+ def partition_consumers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
245
+ pulumi.set(self, "partition_consumers", value)
246
+
247
+ @property
248
+ @pulumi.getter(name="peerConsumers")
249
+ def peer_consumers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
250
+ """
251
+ The exported service peer consumers.
252
+ """
253
+ return pulumi.get(self, "peer_consumers")
254
+
255
+ @peer_consumers.setter
256
+ def peer_consumers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
257
+ pulumi.set(self, "peer_consumers", value)
258
+
259
+ @property
260
+ @pulumi.getter(name="samenessGroupConsumers")
261
+ def sameness_group_consumers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
262
+ """
263
+ The exported service sameness group consumers.
264
+ """
265
+ return pulumi.get(self, "sameness_group_consumers")
266
+
267
+ @sameness_group_consumers.setter
268
+ def sameness_group_consumers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
269
+ pulumi.set(self, "sameness_group_consumers", value)
270
+
271
+ @property
272
+ @pulumi.getter
273
+ def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
274
+ """
275
+ The exported services.
276
+ """
277
+ return pulumi.get(self, "services")
278
+
279
+ @services.setter
280
+ def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
281
+ pulumi.set(self, "services", value)
282
+
283
+
284
+ class ConfigEntryV2ExportedServices(pulumi.CustomResource):
285
+ @overload
286
+ def __init__(__self__,
287
+ resource_name: str,
288
+ opts: Optional[pulumi.ResourceOptions] = None,
289
+ kind: Optional[pulumi.Input[str]] = None,
290
+ name: Optional[pulumi.Input[str]] = None,
291
+ namespace: Optional[pulumi.Input[str]] = None,
292
+ partition: Optional[pulumi.Input[str]] = None,
293
+ partition_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
294
+ peer_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
295
+ sameness_group_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
296
+ services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
297
+ __props__=None):
298
+ """
299
+ Create a ConfigEntryV2ExportedServices resource with the given unique name, props, and options.
300
+ :param str resource_name: The name of the resource.
301
+ :param pulumi.ResourceOptions opts: Options for the resource.
302
+ :param pulumi.Input[str] kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
303
+ :param pulumi.Input[str] name: The name of the config entry to read.
304
+ :param pulumi.Input[str] namespace: The namespace the config entry is associated with.
305
+ :param pulumi.Input[str] partition: The partition the config entry is associated with.
306
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] partition_consumers: The exported service partition consumers.
307
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] peer_consumers: The exported service peer consumers.
308
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] sameness_group_consumers: The exported service sameness group consumers.
309
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] services: The exported services.
310
+ """
311
+ ...
312
+ @overload
313
+ def __init__(__self__,
314
+ resource_name: str,
315
+ args: ConfigEntryV2ExportedServicesArgs,
316
+ opts: Optional[pulumi.ResourceOptions] = None):
317
+ """
318
+ Create a ConfigEntryV2ExportedServices resource with the given unique name, props, and options.
319
+ :param str resource_name: The name of the resource.
320
+ :param ConfigEntryV2ExportedServicesArgs args: The arguments to use to populate this resource's properties.
321
+ :param pulumi.ResourceOptions opts: Options for the resource.
322
+ """
323
+ ...
324
+ def __init__(__self__, resource_name: str, *args, **kwargs):
325
+ resource_args, opts = _utilities.get_resource_args_opts(ConfigEntryV2ExportedServicesArgs, pulumi.ResourceOptions, *args, **kwargs)
326
+ if resource_args is not None:
327
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
328
+ else:
329
+ __self__._internal_init(resource_name, *args, **kwargs)
330
+
331
+ def _internal_init(__self__,
332
+ resource_name: str,
333
+ opts: Optional[pulumi.ResourceOptions] = None,
334
+ kind: Optional[pulumi.Input[str]] = None,
335
+ name: Optional[pulumi.Input[str]] = None,
336
+ namespace: Optional[pulumi.Input[str]] = None,
337
+ partition: Optional[pulumi.Input[str]] = None,
338
+ partition_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
339
+ peer_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
340
+ sameness_group_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
341
+ services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
342
+ __props__=None):
343
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
344
+ if not isinstance(opts, pulumi.ResourceOptions):
345
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
346
+ if opts.id is None:
347
+ if __props__ is not None:
348
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
349
+ __props__ = ConfigEntryV2ExportedServicesArgs.__new__(ConfigEntryV2ExportedServicesArgs)
350
+
351
+ if kind is None and not opts.urn:
352
+ raise TypeError("Missing required property 'kind'")
353
+ __props__.__dict__["kind"] = kind
354
+ __props__.__dict__["name"] = name
355
+ __props__.__dict__["namespace"] = namespace
356
+ if partition is None and not opts.urn:
357
+ raise TypeError("Missing required property 'partition'")
358
+ __props__.__dict__["partition"] = partition
359
+ __props__.__dict__["partition_consumers"] = partition_consumers
360
+ __props__.__dict__["peer_consumers"] = peer_consumers
361
+ __props__.__dict__["sameness_group_consumers"] = sameness_group_consumers
362
+ __props__.__dict__["services"] = services
363
+ super(ConfigEntryV2ExportedServices, __self__).__init__(
364
+ 'consul:index/configEntryV2ExportedServices:ConfigEntryV2ExportedServices',
365
+ resource_name,
366
+ __props__,
367
+ opts)
368
+
369
+ @staticmethod
370
+ def get(resource_name: str,
371
+ id: pulumi.Input[str],
372
+ opts: Optional[pulumi.ResourceOptions] = None,
373
+ kind: Optional[pulumi.Input[str]] = None,
374
+ name: Optional[pulumi.Input[str]] = None,
375
+ namespace: Optional[pulumi.Input[str]] = None,
376
+ partition: Optional[pulumi.Input[str]] = None,
377
+ partition_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
378
+ peer_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
379
+ sameness_group_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
380
+ services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ConfigEntryV2ExportedServices':
381
+ """
382
+ Get an existing ConfigEntryV2ExportedServices resource's state with the given name, id, and optional extra
383
+ properties used to qualify the lookup.
384
+
385
+ :param str resource_name: The unique name of the resulting resource.
386
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
387
+ :param pulumi.ResourceOptions opts: Options for the resource.
388
+ :param pulumi.Input[str] kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
389
+ :param pulumi.Input[str] name: The name of the config entry to read.
390
+ :param pulumi.Input[str] namespace: The namespace the config entry is associated with.
391
+ :param pulumi.Input[str] partition: The partition the config entry is associated with.
392
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] partition_consumers: The exported service partition consumers.
393
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] peer_consumers: The exported service peer consumers.
394
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] sameness_group_consumers: The exported service sameness group consumers.
395
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] services: The exported services.
396
+ """
397
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
398
+
399
+ __props__ = _ConfigEntryV2ExportedServicesState.__new__(_ConfigEntryV2ExportedServicesState)
400
+
401
+ __props__.__dict__["kind"] = kind
402
+ __props__.__dict__["name"] = name
403
+ __props__.__dict__["namespace"] = namespace
404
+ __props__.__dict__["partition"] = partition
405
+ __props__.__dict__["partition_consumers"] = partition_consumers
406
+ __props__.__dict__["peer_consumers"] = peer_consumers
407
+ __props__.__dict__["sameness_group_consumers"] = sameness_group_consumers
408
+ __props__.__dict__["services"] = services
409
+ return ConfigEntryV2ExportedServices(resource_name, opts=opts, __props__=__props__)
410
+
411
+ @property
412
+ @pulumi.getter
413
+ def kind(self) -> pulumi.Output[str]:
414
+ """
415
+ The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
416
+ """
417
+ return pulumi.get(self, "kind")
418
+
419
+ @property
420
+ @pulumi.getter
421
+ def name(self) -> pulumi.Output[str]:
422
+ """
423
+ The name of the config entry to read.
424
+ """
425
+ return pulumi.get(self, "name")
426
+
427
+ @property
428
+ @pulumi.getter
429
+ def namespace(self) -> pulumi.Output[Optional[str]]:
430
+ """
431
+ The namespace the config entry is associated with.
432
+ """
433
+ return pulumi.get(self, "namespace")
434
+
435
+ @property
436
+ @pulumi.getter
437
+ def partition(self) -> pulumi.Output[str]:
438
+ """
439
+ The partition the config entry is associated with.
440
+ """
441
+ return pulumi.get(self, "partition")
442
+
443
+ @property
444
+ @pulumi.getter(name="partitionConsumers")
445
+ def partition_consumers(self) -> pulumi.Output[Optional[Sequence[str]]]:
446
+ """
447
+ The exported service partition consumers.
448
+ """
449
+ return pulumi.get(self, "partition_consumers")
450
+
451
+ @property
452
+ @pulumi.getter(name="peerConsumers")
453
+ def peer_consumers(self) -> pulumi.Output[Optional[Sequence[str]]]:
454
+ """
455
+ The exported service peer consumers.
456
+ """
457
+ return pulumi.get(self, "peer_consumers")
458
+
459
+ @property
460
+ @pulumi.getter(name="samenessGroupConsumers")
461
+ def sameness_group_consumers(self) -> pulumi.Output[Optional[Sequence[str]]]:
462
+ """
463
+ The exported service sameness group consumers.
464
+ """
465
+ return pulumi.get(self, "sameness_group_consumers")
466
+
467
+ @property
468
+ @pulumi.getter
469
+ def services(self) -> pulumi.Output[Optional[Sequence[str]]]:
470
+ """
471
+ The exported services.
472
+ """
473
+ return pulumi.get(self, "services")
474
+
@@ -106,7 +106,7 @@ class AwaitableGetCatalogNodesResult(GetCatalogNodesResult):
106
106
  query_options=self.query_options)
107
107
 
108
108
 
109
- def get_catalog_nodes(query_options: Optional[Sequence[pulumi.InputType['GetCatalogNodesQueryOptionArgs']]] = None,
109
+ def get_catalog_nodes(query_options: Optional[Sequence[Union['GetCatalogNodesQueryOptionArgs', 'GetCatalogNodesQueryOptionArgsDict']]] = None,
110
110
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogNodesResult:
111
111
  """
112
112
  The `get_nodes` data source returns a list of Consul nodes that have
@@ -115,7 +115,7 @@ def get_catalog_nodes(query_options: Optional[Sequence[pulumi.InputType['GetCata
115
115
  nodes from a different WAN-attached Consul datacenter.
116
116
 
117
117
 
118
- :param Sequence[pulumi.InputType['GetCatalogNodesQueryOptionArgs']] query_options: See below.
118
+ :param Sequence[Union['GetCatalogNodesQueryOptionArgs', 'GetCatalogNodesQueryOptionArgsDict']] query_options: See below.
119
119
  """
120
120
  pulumi.log.warn("""get_catalog_nodes is deprecated: getCatalogNodes has been deprecated in favor of getNodes""")
121
121
  __args__ = dict()
@@ -133,7 +133,7 @@ def get_catalog_nodes(query_options: Optional[Sequence[pulumi.InputType['GetCata
133
133
 
134
134
 
135
135
  @_utilities.lift_output_func(get_catalog_nodes)
136
- def get_catalog_nodes_output(query_options: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetCatalogNodesQueryOptionArgs']]]]] = None,
136
+ def get_catalog_nodes_output(query_options: Optional[pulumi.Input[Optional[Sequence[Union['GetCatalogNodesQueryOptionArgs', 'GetCatalogNodesQueryOptionArgsDict']]]]] = None,
137
137
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogNodesResult]:
138
138
  """
139
139
  The `get_nodes` data source returns a list of Consul nodes that have
@@ -142,7 +142,7 @@ def get_catalog_nodes_output(query_options: Optional[pulumi.Input[Optional[Seque
142
142
  nodes from a different WAN-attached Consul datacenter.
143
143
 
144
144
 
145
- :param Sequence[pulumi.InputType['GetCatalogNodesQueryOptionArgs']] query_options: See below.
145
+ :param Sequence[Union['GetCatalogNodesQueryOptionArgs', 'GetCatalogNodesQueryOptionArgsDict']] query_options: See below.
146
146
  """
147
147
  pulumi.log.warn("""get_catalog_nodes is deprecated: getCatalogNodes has been deprecated in favor of getNodes""")
148
148
  ...
@@ -119,7 +119,7 @@ class AwaitableGetCatalogServiceResult(GetCatalogServiceResult):
119
119
  def get_catalog_service(datacenter: Optional[str] = None,
120
120
  filter: Optional[str] = None,
121
121
  name: Optional[str] = None,
122
- query_options: Optional[Sequence[pulumi.InputType['GetCatalogServiceQueryOptionArgs']]] = None,
122
+ query_options: Optional[Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']]] = None,
123
123
  tag: Optional[str] = None,
124
124
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogServiceResult:
125
125
  """
@@ -153,7 +153,7 @@ def get_catalog_service(datacenter: Optional[str] = None,
153
153
  empty, the `datacenter` value found in the Consul agent that this provider is
154
154
  configured to talk to.
155
155
  :param str name: The service name to select.
156
- :param Sequence[pulumi.InputType['GetCatalogServiceQueryOptionArgs']] query_options: See below.
156
+ :param Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']] query_options: See below.
157
157
  :param str tag: A single tag that can be used to filter the list of nodes
158
158
  to return based on a single matching tag..
159
159
  """
@@ -181,7 +181,7 @@ def get_catalog_service(datacenter: Optional[str] = None,
181
181
  def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
182
182
  filter: Optional[pulumi.Input[Optional[str]]] = None,
183
183
  name: Optional[pulumi.Input[str]] = None,
184
- query_options: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetCatalogServiceQueryOptionArgs']]]]] = None,
184
+ query_options: Optional[pulumi.Input[Optional[Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']]]]] = None,
185
185
  tag: Optional[pulumi.Input[Optional[str]]] = None,
186
186
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogServiceResult]:
187
187
  """
@@ -215,7 +215,7 @@ def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[str]]]
215
215
  empty, the `datacenter` value found in the Consul agent that this provider is
216
216
  configured to talk to.
217
217
  :param str name: The service name to select.
218
- :param Sequence[pulumi.InputType['GetCatalogServiceQueryOptionArgs']] query_options: See below.
218
+ :param Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']] query_options: See below.
219
219
  :param str tag: A single tag that can be used to filter the list of nodes
220
220
  to return based on a single matching tag..
221
221
  """
@@ -102,7 +102,7 @@ class AwaitableGetCatalogServicesResult(GetCatalogServicesResult):
102
102
  tags=self.tags)
103
103
 
104
104
 
105
- def get_catalog_services(query_options: Optional[Sequence[pulumi.InputType['GetCatalogServicesQueryOptionArgs']]] = None,
105
+ def get_catalog_services(query_options: Optional[Sequence[Union['GetCatalogServicesQueryOptionArgs', 'GetCatalogServicesQueryOptionArgsDict']]] = None,
106
106
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogServicesResult:
107
107
  """
108
108
  The `get_services` data source returns a list of Consul services that
@@ -121,16 +121,16 @@ def get_catalog_services(query_options: Optional[Sequence[pulumi.InputType['GetC
121
121
  import pulumi_example as example
122
122
  import pulumi_std as std
123
123
 
124
- read_dc1 = consul.get_services(query_options=[consul.GetServicesQueryOptionArgs(
125
- datacenter="dc1",
126
- )])
124
+ read_dc1 = consul.get_services(query_options=[{
125
+ "datacenter": "dc1",
126
+ }])
127
127
  # Set the description to a whitespace delimited list of the services
128
128
  app = example.index.Resource("app", description=std.join(separator= ,
129
129
  input=names).result)
130
130
  ```
131
131
 
132
132
 
133
- :param Sequence[pulumi.InputType['GetCatalogServicesQueryOptionArgs']] query_options: See below.
133
+ :param Sequence[Union['GetCatalogServicesQueryOptionArgs', 'GetCatalogServicesQueryOptionArgsDict']] query_options: See below.
134
134
  """
135
135
  pulumi.log.warn("""get_catalog_services is deprecated: getCatalogServices has been deprecated in favor of getServices""")
136
136
  __args__ = dict()
@@ -148,7 +148,7 @@ def get_catalog_services(query_options: Optional[Sequence[pulumi.InputType['GetC
148
148
 
149
149
 
150
150
  @_utilities.lift_output_func(get_catalog_services)
151
- def get_catalog_services_output(query_options: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetCatalogServicesQueryOptionArgs']]]]] = None,
151
+ def get_catalog_services_output(query_options: Optional[pulumi.Input[Optional[Sequence[Union['GetCatalogServicesQueryOptionArgs', 'GetCatalogServicesQueryOptionArgsDict']]]]] = None,
152
152
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogServicesResult]:
153
153
  """
154
154
  The `get_services` data source returns a list of Consul services that
@@ -167,16 +167,16 @@ def get_catalog_services_output(query_options: Optional[pulumi.Input[Optional[Se
167
167
  import pulumi_example as example
168
168
  import pulumi_std as std
169
169
 
170
- read_dc1 = consul.get_services(query_options=[consul.GetServicesQueryOptionArgs(
171
- datacenter="dc1",
172
- )])
170
+ read_dc1 = consul.get_services(query_options=[{
171
+ "datacenter": "dc1",
172
+ }])
173
173
  # Set the description to a whitespace delimited list of the services
174
174
  app = example.index.Resource("app", description=std.join(separator= ,
175
175
  input=names).result)
176
176
  ```
177
177
 
178
178
 
179
- :param Sequence[pulumi.InputType['GetCatalogServicesQueryOptionArgs']] query_options: See below.
179
+ :param Sequence[Union['GetCatalogServicesQueryOptionArgs', 'GetCatalogServicesQueryOptionArgsDict']] query_options: See below.
180
180
  """
181
181
  pulumi.log.warn("""get_catalog_services is deprecated: getCatalogServices has been deprecated in favor of getServices""")
182
182
  ...