pulumi-consul 3.13.0a1743571864__py3-none-any.whl → 3.13.0a1744182998__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 (71) hide show
  1. pulumi_consul/__init__.py +1 -0
  2. pulumi_consul/_inputs.py +1306 -1305
  3. pulumi_consul/acl_auth_method.py +141 -140
  4. pulumi_consul/acl_binding_rule.py +99 -98
  5. pulumi_consul/acl_policy.py +85 -84
  6. pulumi_consul/acl_role.py +71 -70
  7. pulumi_consul/acl_role_policy_attachment.py +29 -28
  8. pulumi_consul/acl_token.py +113 -112
  9. pulumi_consul/acl_token_policy_attachment.py +29 -28
  10. pulumi_consul/acl_token_role_attachment.py +29 -28
  11. pulumi_consul/admin_partition.py +29 -28
  12. pulumi_consul/agent_service.py +57 -56
  13. pulumi_consul/autopilot_config.py +113 -112
  14. pulumi_consul/catalog_entry.py +57 -56
  15. pulumi_consul/certificate_authority.py +35 -34
  16. pulumi_consul/config/__init__.py +1 -0
  17. pulumi_consul/config/__init__.pyi +1 -0
  18. pulumi_consul/config/outputs.py +18 -17
  19. pulumi_consul/config/vars.py +1 -0
  20. pulumi_consul/config_entry.py +71 -70
  21. pulumi_consul/config_entry_service_defaults.py +169 -168
  22. pulumi_consul/config_entry_service_intentions.py +57 -56
  23. pulumi_consul/config_entry_service_resolver.py +99 -98
  24. pulumi_consul/config_entry_service_router.py +57 -56
  25. pulumi_consul/config_entry_service_splitter.py +57 -56
  26. pulumi_consul/config_entry_v2_exported_services.py +113 -112
  27. pulumi_consul/get_acl_auth_method.py +24 -23
  28. pulumi_consul/get_acl_policy.py +20 -19
  29. pulumi_consul/get_acl_role.py +18 -17
  30. pulumi_consul/get_acl_token.py +20 -19
  31. pulumi_consul/get_acl_token_secret_id.py +22 -21
  32. pulumi_consul/get_agent_config.py +8 -7
  33. pulumi_consul/get_agent_self.py +73 -72
  34. pulumi_consul/get_autopilot_health.py +9 -8
  35. pulumi_consul/get_catalog_nodes.py +5 -4
  36. pulumi_consul/get_catalog_service.py +20 -19
  37. pulumi_consul/get_catalog_services.py +6 -5
  38. pulumi_consul/get_config_entry.py +23 -22
  39. pulumi_consul/get_config_entry_v2_exported_services.py +42 -41
  40. pulumi_consul/get_datacenters.py +3 -2
  41. pulumi_consul/get_key_prefix.py +29 -28
  42. pulumi_consul/get_keys.py +28 -27
  43. pulumi_consul/get_network_area_members.py +17 -16
  44. pulumi_consul/get_network_segments.py +13 -12
  45. pulumi_consul/get_nodes.py +5 -4
  46. pulumi_consul/get_peering.py +15 -14
  47. pulumi_consul/get_peerings.py +5 -4
  48. pulumi_consul/get_service.py +20 -19
  49. pulumi_consul/get_service_health.py +40 -39
  50. pulumi_consul/get_services.py +6 -5
  51. pulumi_consul/intention.py +113 -112
  52. pulumi_consul/key_prefix.py +85 -84
  53. pulumi_consul/keys.py +62 -61
  54. pulumi_consul/license.py +99 -98
  55. pulumi_consul/namespace.py +85 -84
  56. pulumi_consul/namespace_policy_attachment.py +29 -28
  57. pulumi_consul/namespace_role_attachment.py +29 -28
  58. pulumi_consul/network_area.py +71 -70
  59. pulumi_consul/node.py +81 -80
  60. pulumi_consul/outputs.py +1054 -1053
  61. pulumi_consul/peering.py +83 -82
  62. pulumi_consul/peering_token.py +60 -59
  63. pulumi_consul/prepared_query.py +183 -182
  64. pulumi_consul/provider.py +110 -109
  65. pulumi_consul/pulumi-plugin.json +1 -1
  66. pulumi_consul/service.py +165 -164
  67. {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/METADATA +1 -1
  68. pulumi_consul-3.13.0a1744182998.dist-info/RECORD +72 -0
  69. pulumi_consul-3.13.0a1743571864.dist-info/RECORD +0 -72
  70. {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/WHEEL +0 -0
  71. {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -61,7 +62,7 @@ class GetServiceHealthResult:
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def datacenter(self) -> Optional[str]:
65
+ def datacenter(self) -> Optional[builtins.str]:
65
66
  """
66
67
  The datacenter in which the node is running.
67
68
  * [`tagged_addresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) -
@@ -71,12 +72,12 @@ class GetServiceHealthResult:
71
72
 
72
73
  @property
73
74
  @pulumi.getter
74
- def filter(self) -> Optional[str]:
75
+ def filter(self) -> Optional[builtins.str]:
75
76
  return pulumi.get(self, "filter")
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def id(self) -> str:
80
+ def id(self) -> builtins.str:
80
81
  """
81
82
  The provider-assigned unique ID for this managed resource.
82
83
  """
@@ -84,7 +85,7 @@ class GetServiceHealthResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter
87
- def name(self) -> str:
88
+ def name(self) -> builtins.str:
88
89
  """
89
90
  The name of this health-check.
90
91
  """
@@ -92,7 +93,7 @@ class GetServiceHealthResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def near(self) -> Optional[str]:
96
+ def near(self) -> Optional[builtins.str]:
96
97
  """
97
98
  The node to which the result must be sorted to.
98
99
  """
@@ -100,7 +101,7 @@ class GetServiceHealthResult:
100
101
 
101
102
  @property
102
103
  @pulumi.getter(name="nodeMeta")
103
- def node_meta(self) -> Optional[Mapping[str, str]]:
104
+ def node_meta(self) -> Optional[Mapping[str, builtins.str]]:
104
105
  """
105
106
  The list of metadata to filter the nodes.
106
107
  """
@@ -108,7 +109,7 @@ class GetServiceHealthResult:
108
109
 
109
110
  @property
110
111
  @pulumi.getter
111
- def passing(self) -> Optional[bool]:
112
+ def passing(self) -> Optional[builtins.bool]:
112
113
  """
113
114
  Whether to return only nodes with all checks in the
114
115
  passing state.
@@ -127,7 +128,7 @@ class GetServiceHealthResult:
127
128
 
128
129
  @property
129
130
  @pulumi.getter
130
- def tag(self) -> Optional[str]:
131
+ def tag(self) -> Optional[builtins.str]:
131
132
  """
132
133
  The name of the tag used to filter the list.
133
134
  """
@@ -135,7 +136,7 @@ class GetServiceHealthResult:
135
136
 
136
137
  @property
137
138
  @pulumi.getter(name="waitFor")
138
- def wait_for(self) -> Optional[str]:
139
+ def wait_for(self) -> Optional[builtins.str]:
139
140
  return pulumi.get(self, "wait_for")
140
141
 
141
142
 
@@ -157,14 +158,14 @@ class AwaitableGetServiceHealthResult(GetServiceHealthResult):
157
158
  wait_for=self.wait_for)
158
159
 
159
160
 
160
- def get_service_health(datacenter: Optional[str] = None,
161
- filter: Optional[str] = None,
162
- name: Optional[str] = None,
163
- near: Optional[str] = None,
164
- node_meta: Optional[Mapping[str, str]] = None,
165
- passing: Optional[bool] = None,
166
- tag: Optional[str] = None,
167
- wait_for: Optional[str] = None,
161
+ def get_service_health(datacenter: Optional[builtins.str] = None,
162
+ filter: Optional[builtins.str] = None,
163
+ name: Optional[builtins.str] = None,
164
+ near: Optional[builtins.str] = None,
165
+ node_meta: Optional[Mapping[str, builtins.str]] = None,
166
+ passing: Optional[builtins.bool] = None,
167
+ tag: Optional[builtins.str] = None,
168
+ wait_for: Optional[builtins.str] = None,
168
169
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceHealthResult:
169
170
  """
170
171
  `get_service_health` can be used to get the list of the instances that
@@ -176,17 +177,17 @@ def get_service_health(datacenter: Optional[str] = None,
176
177
  updated, you should expect different results in a frequent basis.
177
178
 
178
179
 
179
- :param str datacenter: The Consul datacenter to query.
180
- :param str filter: A filter expression to refine the list of results, see
180
+ :param builtins.str datacenter: The Consul datacenter to query.
181
+ :param builtins.str filter: A filter expression to refine the list of results, see
181
182
  https://www.consul.io/api-docs/features/filtering and https://www.consul.io/api-docs/health#filtering-2.
182
- :param str name: The service name to select.
183
- :param str near: Specifies a node name to sort the node list in ascending order
183
+ :param builtins.str name: The service name to select.
184
+ :param builtins.str near: Specifies a node name to sort the node list in ascending order
184
185
  based on the estimated round trip time from that node.
185
- :param Mapping[str, str] node_meta: Filter the results to nodes with the specified key/value
186
+ :param Mapping[str, builtins.str] node_meta: Filter the results to nodes with the specified key/value
186
187
  pairs.
187
- :param bool passing: Whether to return only nodes with all checks in the
188
+ :param builtins.bool passing: Whether to return only nodes with all checks in the
188
189
  passing state. Defaults to `true`.
189
- :param str tag: A single tag that can be used to filter the list to return
190
+ :param builtins.str tag: A single tag that can be used to filter the list to return
190
191
  based on a single matching tag.
191
192
  """
192
193
  __args__ = dict()
@@ -212,14 +213,14 @@ def get_service_health(datacenter: Optional[str] = None,
212
213
  results=pulumi.get(__ret__, 'results'),
213
214
  tag=pulumi.get(__ret__, 'tag'),
214
215
  wait_for=pulumi.get(__ret__, 'wait_for'))
215
- def get_service_health_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
216
- filter: Optional[pulumi.Input[Optional[str]]] = None,
217
- name: Optional[pulumi.Input[str]] = None,
218
- near: Optional[pulumi.Input[Optional[str]]] = None,
219
- node_meta: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
220
- passing: Optional[pulumi.Input[Optional[bool]]] = None,
221
- tag: Optional[pulumi.Input[Optional[str]]] = None,
222
- wait_for: Optional[pulumi.Input[Optional[str]]] = None,
216
+ def get_service_health_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
217
+ filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
218
+ name: Optional[pulumi.Input[builtins.str]] = None,
219
+ near: Optional[pulumi.Input[Optional[builtins.str]]] = None,
220
+ node_meta: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
221
+ passing: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
222
+ tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
223
+ wait_for: Optional[pulumi.Input[Optional[builtins.str]]] = None,
223
224
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceHealthResult]:
224
225
  """
225
226
  `get_service_health` can be used to get the list of the instances that
@@ -231,17 +232,17 @@ def get_service_health_output(datacenter: Optional[pulumi.Input[Optional[str]]]
231
232
  updated, you should expect different results in a frequent basis.
232
233
 
233
234
 
234
- :param str datacenter: The Consul datacenter to query.
235
- :param str filter: A filter expression to refine the list of results, see
235
+ :param builtins.str datacenter: The Consul datacenter to query.
236
+ :param builtins.str filter: A filter expression to refine the list of results, see
236
237
  https://www.consul.io/api-docs/features/filtering and https://www.consul.io/api-docs/health#filtering-2.
237
- :param str name: The service name to select.
238
- :param str near: Specifies a node name to sort the node list in ascending order
238
+ :param builtins.str name: The service name to select.
239
+ :param builtins.str near: Specifies a node name to sort the node list in ascending order
239
240
  based on the estimated round trip time from that node.
240
- :param Mapping[str, str] node_meta: Filter the results to nodes with the specified key/value
241
+ :param Mapping[str, builtins.str] node_meta: Filter the results to nodes with the specified key/value
241
242
  pairs.
242
- :param bool passing: Whether to return only nodes with all checks in the
243
+ :param builtins.bool passing: Whether to return only nodes with all checks in the
243
244
  passing state. Defaults to `true`.
244
- :param str tag: A single tag that can be used to filter the list to return
245
+ :param builtins.str tag: A single tag that can be used to filter the list to return
245
246
  based on a single matching tag.
246
247
  """
247
248
  __args__ = dict()
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -50,7 +51,7 @@ class GetServicesResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter
53
- def datacenter(self) -> str:
54
+ def datacenter(self) -> builtins.str:
54
55
  """
55
56
  The datacenter the keys are being read from to.
56
57
  """
@@ -58,7 +59,7 @@ class GetServicesResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter
61
- def id(self) -> str:
62
+ def id(self) -> builtins.str:
62
63
  """
63
64
  The provider-assigned unique ID for this managed resource.
64
65
  """
@@ -66,7 +67,7 @@ class GetServicesResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter
69
- def names(self) -> Sequence[str]:
70
+ def names(self) -> Sequence[builtins.str]:
70
71
  return pulumi.get(self, "names")
71
72
 
72
73
  @property
@@ -76,12 +77,12 @@ class GetServicesResult:
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def services(self) -> Mapping[str, str]:
80
+ def services(self) -> Mapping[str, builtins.str]:
80
81
  return pulumi.get(self, "services")
81
82
 
82
83
  @property
83
84
  @pulumi.getter
84
- def tags(self) -> Mapping[str, str]:
85
+ def tags(self) -> Mapping[str, builtins.str]:
85
86
  """
86
87
  A map of the tags found for each service. If more than one service
87
88
  shares the same tag, unique service names will be joined by whitespace (this