pulumi-consul 3.12.0a1713461993__py3-none-any.whl → 3.12.0a1713897703__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.
Files changed (50) hide show
  1. pulumi_consul/_inputs.py +22 -22
  2. pulumi_consul/acl_auth_method.py +0 -8
  3. pulumi_consul/acl_binding_rule.py +0 -4
  4. pulumi_consul/acl_policy.py +0 -4
  5. pulumi_consul/acl_role.py +7 -11
  6. pulumi_consul/acl_role_policy_attachment.py +0 -4
  7. pulumi_consul/acl_token.py +0 -4
  8. pulumi_consul/admin_partition.py +0 -4
  9. pulumi_consul/agent_service.py +0 -4
  10. pulumi_consul/autopilot_config.py +0 -4
  11. pulumi_consul/config_entry.py +0 -24
  12. pulumi_consul/config_entry_service_defaults.py +21 -21
  13. pulumi_consul/config_entry_service_intentions.py +21 -25
  14. pulumi_consul/config_entry_service_resolver.py +21 -25
  15. pulumi_consul/config_entry_service_router.py +21 -21
  16. pulumi_consul/config_entry_service_splitter.py +14 -18
  17. pulumi_consul/get_acl_auth_method.py +0 -4
  18. pulumi_consul/get_acl_policy.py +0 -4
  19. pulumi_consul/get_acl_role.py +2 -4
  20. pulumi_consul/get_acl_token.py +0 -4
  21. pulumi_consul/get_acl_token_secret_id.py +0 -4
  22. pulumi_consul/get_agent_config.py +0 -4
  23. pulumi_consul/get_autopilot_health.py +0 -4
  24. pulumi_consul/get_catalog_service.py +0 -8
  25. pulumi_consul/get_catalog_services.py +0 -4
  26. pulumi_consul/get_key_prefix.py +0 -8
  27. pulumi_consul/get_keys.py +0 -4
  28. pulumi_consul/get_network_area_members.py +0 -4
  29. pulumi_consul/get_network_segments.py +0 -4
  30. pulumi_consul/get_peering.py +0 -4
  31. pulumi_consul/get_peerings.py +0 -4
  32. pulumi_consul/get_service.py +0 -8
  33. pulumi_consul/get_services.py +0 -4
  34. pulumi_consul/intention.py +0 -8
  35. pulumi_consul/key_prefix.py +0 -4
  36. pulumi_consul/keys.py +0 -4
  37. pulumi_consul/license.py +0 -4
  38. pulumi_consul/namespace.py +0 -4
  39. pulumi_consul/network_area.py +0 -4
  40. pulumi_consul/node.py +0 -4
  41. pulumi_consul/outputs.py +22 -22
  42. pulumi_consul/peering.py +0 -4
  43. pulumi_consul/peering_token.py +0 -4
  44. pulumi_consul/prepared_query.py +7 -11
  45. pulumi_consul/service.py +7 -19
  46. {pulumi_consul-3.12.0a1713461993.dist-info → pulumi_consul-3.12.0a1713897703.dist-info}/METADATA +1 -1
  47. pulumi_consul-3.12.0a1713897703.dist-info/RECORD +70 -0
  48. pulumi_consul-3.12.0a1713461993.dist-info/RECORD +0 -70
  49. {pulumi_consul-3.12.0a1713461993.dist-info → pulumi_consul-3.12.0a1713897703.dist-info}/WHEEL +0 -0
  50. {pulumi_consul-3.12.0a1713461993.dist-info → pulumi_consul-3.12.0a1713897703.dist-info}/top_level.txt +0 -0
@@ -26,8 +26,8 @@ class ConfigEntryServiceSplitterArgs:
26
26
  :param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceSplitterSplitArgs']]] splits: Defines how much traffic to send to sets of service instances during a traffic split.
27
27
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
28
28
  :param pulumi.Input[str] name: Specifies a name for the configuration entry.
29
- :param pulumi.Input[str] namespace: Specifies the namespace to use in the FQDN when resolving the service.
30
- :param pulumi.Input[str] partition: Specifies the admin partition to use in the FQDN when resolving the service.
29
+ :param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
30
+ :param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
31
31
  """
32
32
  pulumi.set(__self__, "splits", splits)
33
33
  if meta is not None:
@@ -79,7 +79,7 @@ class ConfigEntryServiceSplitterArgs:
79
79
  @pulumi.getter
80
80
  def namespace(self) -> Optional[pulumi.Input[str]]:
81
81
  """
82
- Specifies the namespace to use in the FQDN when resolving the service.
82
+ Specifies the namespace to apply the configuration entry.
83
83
  """
84
84
  return pulumi.get(self, "namespace")
85
85
 
@@ -91,7 +91,7 @@ class ConfigEntryServiceSplitterArgs:
91
91
  @pulumi.getter
92
92
  def partition(self) -> Optional[pulumi.Input[str]]:
93
93
  """
94
- Specifies the admin partition to use in the FQDN when resolving the service.
94
+ Specifies the admin partition to apply the configuration entry.
95
95
  """
96
96
  return pulumi.get(self, "partition")
97
97
 
@@ -112,8 +112,8 @@ class _ConfigEntryServiceSplitterState:
112
112
  Input properties used for looking up and filtering ConfigEntryServiceSplitter resources.
113
113
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
114
114
  :param pulumi.Input[str] name: Specifies a name for the configuration entry.
115
- :param pulumi.Input[str] namespace: Specifies the namespace to use in the FQDN when resolving the service.
116
- :param pulumi.Input[str] partition: Specifies the admin partition to use in the FQDN when resolving the service.
115
+ :param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
116
+ :param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
117
117
  :param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceSplitterSplitArgs']]] splits: Defines how much traffic to send to sets of service instances during a traffic split.
118
118
  """
119
119
  if meta is not None:
@@ -155,7 +155,7 @@ class _ConfigEntryServiceSplitterState:
155
155
  @pulumi.getter
156
156
  def namespace(self) -> Optional[pulumi.Input[str]]:
157
157
  """
158
- Specifies the namespace to use in the FQDN when resolving the service.
158
+ Specifies the namespace to apply the configuration entry.
159
159
  """
160
160
  return pulumi.get(self, "namespace")
161
161
 
@@ -167,7 +167,7 @@ class _ConfigEntryServiceSplitterState:
167
167
  @pulumi.getter
168
168
  def partition(self) -> Optional[pulumi.Input[str]]:
169
169
  """
170
- Specifies the admin partition to use in the FQDN when resolving the service.
170
+ Specifies the admin partition to apply the configuration entry.
171
171
  """
172
172
  return pulumi.get(self, "partition")
173
173
 
@@ -202,7 +202,6 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
202
202
  """
203
203
  ## Example Usage
204
204
 
205
- <!--Start PulumiCodeChooser -->
206
205
  ```python
207
206
  import pulumi
208
207
  import json
@@ -273,7 +272,6 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
273
272
  ),
274
273
  ])
275
274
  ```
276
- <!--End PulumiCodeChooser -->
277
275
 
278
276
  ## Import
279
277
 
@@ -285,8 +283,8 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
285
283
  :param pulumi.ResourceOptions opts: Options for the resource.
286
284
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
287
285
  :param pulumi.Input[str] name: Specifies a name for the configuration entry.
288
- :param pulumi.Input[str] namespace: Specifies the namespace to use in the FQDN when resolving the service.
289
- :param pulumi.Input[str] partition: Specifies the admin partition to use in the FQDN when resolving the service.
286
+ :param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
287
+ :param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
290
288
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceSplitterSplitArgs']]]] splits: Defines how much traffic to send to sets of service instances during a traffic split.
291
289
  """
292
290
  ...
@@ -298,7 +296,6 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
298
296
  """
299
297
  ## Example Usage
300
298
 
301
- <!--Start PulumiCodeChooser -->
302
299
  ```python
303
300
  import pulumi
304
301
  import json
@@ -369,7 +366,6 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
369
366
  ),
370
367
  ])
371
368
  ```
372
- <!--End PulumiCodeChooser -->
373
369
 
374
370
  ## Import
375
371
 
@@ -437,8 +433,8 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
437
433
  :param pulumi.ResourceOptions opts: Options for the resource.
438
434
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
439
435
  :param pulumi.Input[str] name: Specifies a name for the configuration entry.
440
- :param pulumi.Input[str] namespace: Specifies the namespace to use in the FQDN when resolving the service.
441
- :param pulumi.Input[str] partition: Specifies the admin partition to use in the FQDN when resolving the service.
436
+ :param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
437
+ :param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
442
438
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceSplitterSplitArgs']]]] splits: Defines how much traffic to send to sets of service instances during a traffic split.
443
439
  """
444
440
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -472,7 +468,7 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
472
468
  @pulumi.getter
473
469
  def namespace(self) -> pulumi.Output[Optional[str]]:
474
470
  """
475
- Specifies the namespace to use in the FQDN when resolving the service.
471
+ Specifies the namespace to apply the configuration entry.
476
472
  """
477
473
  return pulumi.get(self, "namespace")
478
474
 
@@ -480,7 +476,7 @@ class ConfigEntryServiceSplitter(pulumi.CustomResource):
480
476
  @pulumi.getter
481
477
  def partition(self) -> pulumi.Output[Optional[str]]:
482
478
  """
483
- Specifies the admin partition to use in the FQDN when resolving the service.
479
+ Specifies the admin partition to apply the configuration entry.
484
480
  """
485
481
  return pulumi.get(self, "partition")
486
482
 
@@ -187,7 +187,6 @@ def get_acl_auth_method(name: Optional[str] = None,
187
187
 
188
188
  ## Example Usage
189
189
 
190
- <!--Start PulumiCodeChooser -->
191
190
  ```python
192
191
  import pulumi
193
192
  import pulumi_consul as consul
@@ -195,7 +194,6 @@ def get_acl_auth_method(name: Optional[str] = None,
195
194
  test = consul.get_acl_auth_method(name="minikube")
196
195
  pulumi.export("consulAclAuthMethod", test.config)
197
196
  ```
198
- <!--End PulumiCodeChooser -->
199
197
 
200
198
 
201
199
  :param str name: The name of the ACL Auth Method.
@@ -235,7 +233,6 @@ def get_acl_auth_method_output(name: Optional[pulumi.Input[str]] = None,
235
233
 
236
234
  ## Example Usage
237
235
 
238
- <!--Start PulumiCodeChooser -->
239
236
  ```python
240
237
  import pulumi
241
238
  import pulumi_consul as consul
@@ -243,7 +240,6 @@ def get_acl_auth_method_output(name: Optional[pulumi.Input[str]] = None,
243
240
  test = consul.get_acl_auth_method(name="minikube")
244
241
  pulumi.export("consulAclAuthMethod", test.config)
245
242
  ```
246
- <!--End PulumiCodeChooser -->
247
243
 
248
244
 
249
245
  :param str name: The name of the ACL Auth Method.
@@ -117,7 +117,6 @@ def get_acl_policy(name: Optional[str] = None,
117
117
 
118
118
  ## Example Usage
119
119
 
120
- <!--Start PulumiCodeChooser -->
121
120
  ```python
122
121
  import pulumi
123
122
  import pulumi_consul as consul
@@ -125,7 +124,6 @@ def get_acl_policy(name: Optional[str] = None,
125
124
  agent = consul.get_acl_policy(name="agent")
126
125
  pulumi.export("consulAclPolicy", agent.rules)
127
126
  ```
128
- <!--End PulumiCodeChooser -->
129
127
 
130
128
 
131
129
  :param str name: The name of the ACL Policy.
@@ -160,7 +158,6 @@ def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
160
158
 
161
159
  ## Example Usage
162
160
 
163
- <!--Start PulumiCodeChooser -->
164
161
  ```python
165
162
  import pulumi
166
163
  import pulumi_consul as consul
@@ -168,7 +165,6 @@ def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
168
165
  agent = consul.get_acl_policy(name="agent")
169
166
  pulumi.export("consulAclPolicy", agent.rules)
170
167
  ```
171
- <!--End PulumiCodeChooser -->
172
168
 
173
169
 
174
170
  :param str name: The name of the ACL Policy.
@@ -150,7 +150,6 @@ def get_acl_role(name: Optional[str] = None,
150
150
 
151
151
  ## Example Usage
152
152
 
153
- <!--Start PulumiCodeChooser -->
154
153
  ```python
155
154
  import pulumi
156
155
  import pulumi_consul as consul
@@ -158,9 +157,9 @@ def get_acl_role(name: Optional[str] = None,
158
157
  test = consul.get_acl_role(name="example-role")
159
158
  pulumi.export("consulAclRole", test.id)
160
159
  ```
161
- <!--End PulumiCodeChooser -->
162
160
 
163
161
 
162
+ :param str name: The name of the ACL Role.
164
163
  :param str namespace: The namespace to lookup the role.
165
164
  :param str partition: The partition to lookup the role.
166
165
  """
@@ -193,7 +192,6 @@ def get_acl_role_output(name: Optional[pulumi.Input[str]] = None,
193
192
 
194
193
  ## Example Usage
195
194
 
196
- <!--Start PulumiCodeChooser -->
197
195
  ```python
198
196
  import pulumi
199
197
  import pulumi_consul as consul
@@ -201,9 +199,9 @@ def get_acl_role_output(name: Optional[pulumi.Input[str]] = None,
201
199
  test = consul.get_acl_role(name="example-role")
202
200
  pulumi.export("consulAclRole", test.id)
203
201
  ```
204
- <!--End PulumiCodeChooser -->
205
202
 
206
203
 
204
+ :param str name: The name of the ACL Role.
207
205
  :param str namespace: The namespace to lookup the role.
208
206
  :param str partition: The partition to lookup the role.
209
207
  """
@@ -188,7 +188,6 @@ def get_acl_token(accessor_id: Optional[str] = None,
188
188
 
189
189
  ## Example Usage
190
190
 
191
- <!--Start PulumiCodeChooser -->
192
191
  ```python
193
192
  import pulumi
194
193
  import pulumi_consul as consul
@@ -196,7 +195,6 @@ def get_acl_token(accessor_id: Optional[str] = None,
196
195
  test = consul.get_acl_token(accessor_id="00000000-0000-0000-0000-000000000002")
197
196
  pulumi.export("consulAclPolicies", test.policies)
198
197
  ```
199
- <!--End PulumiCodeChooser -->
200
198
 
201
199
 
202
200
  :param str accessor_id: The accessor ID of the ACL token.
@@ -237,7 +235,6 @@ def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
237
235
 
238
236
  ## Example Usage
239
237
 
240
- <!--Start PulumiCodeChooser -->
241
238
  ```python
242
239
  import pulumi
243
240
  import pulumi_consul as consul
@@ -245,7 +242,6 @@ def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
245
242
  test = consul.get_acl_token(accessor_id="00000000-0000-0000-0000-000000000002")
246
243
  pulumi.export("consulAclPolicies", test.policies)
247
244
  ```
248
- <!--End PulumiCodeChooser -->
249
245
 
250
246
 
251
247
  :param str accessor_id: The accessor ID of the ACL token.
@@ -109,7 +109,6 @@ def get_acl_token_secret_id(accessor_id: Optional[str] = None,
109
109
  """
110
110
  ## Example Usage
111
111
 
112
- <!--Start PulumiCodeChooser -->
113
112
  ```python
114
113
  import pulumi
115
114
  import pulumi_consul as consul
@@ -126,7 +125,6 @@ def get_acl_token_secret_id(accessor_id: Optional[str] = None,
126
125
  pgp_key="keybase:my_username")
127
126
  pulumi.export("consulAclTokenSecretId", read.encrypted_secret_id)
128
127
  ```
129
- <!--End PulumiCodeChooser -->
130
128
 
131
129
 
132
130
  :param str accessor_id: The accessor ID of the ACL token.
@@ -160,7 +158,6 @@ def get_acl_token_secret_id_output(accessor_id: Optional[pulumi.Input[str]] = No
160
158
  """
161
159
  ## Example Usage
162
160
 
163
- <!--Start PulumiCodeChooser -->
164
161
  ```python
165
162
  import pulumi
166
163
  import pulumi_consul as consul
@@ -177,7 +174,6 @@ def get_acl_token_secret_id_output(accessor_id: Optional[pulumi.Input[str]] = No
177
174
  pgp_key="keybase:my_username")
178
175
  pulumi.export("consulAclTokenSecretId", read.encrypted_secret_id)
179
176
  ```
180
- <!--End PulumiCodeChooser -->
181
177
 
182
178
 
183
179
  :param str accessor_id: The accessor ID of the ACL token.
@@ -128,7 +128,6 @@ def get_agent_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe
128
128
 
129
129
  ## Example Usage
130
130
 
131
- <!--Start PulumiCodeChooser -->
132
131
  ```python
133
132
  import pulumi
134
133
  import pulumi_consul as consul
@@ -136,7 +135,6 @@ def get_agent_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe
136
135
  remote_agent = consul.get_agent_config()
137
136
  pulumi.export("consulVersion", remote_agent.version)
138
137
  ```
139
- <!--End PulumiCodeChooser -->
140
138
  """
141
139
  __args__ = dict()
142
140
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -165,7 +163,6 @@ def get_agent_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulu
165
163
 
166
164
  ## Example Usage
167
165
 
168
- <!--Start PulumiCodeChooser -->
169
166
  ```python
170
167
  import pulumi
171
168
  import pulumi_consul as consul
@@ -173,6 +170,5 @@ def get_agent_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulu
173
170
  remote_agent = consul.get_agent_config()
174
171
  pulumi.export("consulVersion", remote_agent.version)
175
172
  ```
176
- <!--End PulumiCodeChooser -->
177
173
  """
178
174
  ...
@@ -102,7 +102,6 @@ def get_autopilot_health(datacenter: Optional[str] = None,
102
102
 
103
103
  ## Example Usage
104
104
 
105
- <!--Start PulumiCodeChooser -->
106
105
  ```python
107
106
  import pulumi
108
107
  import pulumi_consul as consul
@@ -110,7 +109,6 @@ def get_autopilot_health(datacenter: Optional[str] = None,
110
109
  read = consul.get_autopilot_health()
111
110
  pulumi.export("health", read.healthy)
112
111
  ```
113
- <!--End PulumiCodeChooser -->
114
112
 
115
113
 
116
114
  :param str datacenter: The datacenter to use. This overrides the agent's
@@ -139,7 +137,6 @@ def get_autopilot_health_output(datacenter: Optional[pulumi.Input[Optional[str]]
139
137
 
140
138
  ## Example Usage
141
139
 
142
- <!--Start PulumiCodeChooser -->
143
140
  ```python
144
141
  import pulumi
145
142
  import pulumi_consul as consul
@@ -147,7 +144,6 @@ def get_autopilot_health_output(datacenter: Optional[pulumi.Input[Optional[str]]
147
144
  read = consul.get_autopilot_health()
148
145
  pulumi.export("health", read.healthy)
149
146
  ```
150
- <!--End PulumiCodeChooser -->
151
147
 
152
148
 
153
149
  :param str datacenter: The datacenter to use. This overrides the agent's
@@ -134,7 +134,6 @@ def get_catalog_service(datacenter: Optional[str] = None,
134
134
 
135
135
  ## Example Usage
136
136
 
137
- <!--Start PulumiCodeChooser -->
138
137
  ```python
139
138
  import pulumi
140
139
  import pulumi_consul as consul
@@ -147,15 +146,12 @@ def get_catalog_service(datacenter: Optional[str] = None,
147
146
  app = example.index.Resource("app", description=std.join(separator= ,
148
147
  input=nodes).result)
149
148
  ```
150
- <!--End PulumiCodeChooser -->
151
149
 
152
150
 
153
151
  :param str datacenter: The Consul datacenter to query. Defaults to the
154
152
  same value found in `query_options` parameter specified below, or if that is
155
153
  empty, the `datacenter` value found in the Consul agent that this provider is
156
154
  configured to talk to.
157
- :param str filter: A filter expression to refine the query, see https://www.consul.io/api-docs/features/filtering
158
- and https://www.consul.io/api-docs/catalog#filtering-1.
159
155
  :param str name: The service name to select.
160
156
  :param Sequence[pulumi.InputType['GetCatalogServiceQueryOptionArgs']] query_options: See below.
161
157
  :param str tag: A single tag that can be used to filter the list of nodes
@@ -200,7 +196,6 @@ def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[str]]]
200
196
 
201
197
  ## Example Usage
202
198
 
203
- <!--Start PulumiCodeChooser -->
204
199
  ```python
205
200
  import pulumi
206
201
  import pulumi_consul as consul
@@ -213,15 +208,12 @@ def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[str]]]
213
208
  app = example.index.Resource("app", description=std.join(separator= ,
214
209
  input=nodes).result)
215
210
  ```
216
- <!--End PulumiCodeChooser -->
217
211
 
218
212
 
219
213
  :param str datacenter: The Consul datacenter to query. Defaults to the
220
214
  same value found in `query_options` parameter specified below, or if that is
221
215
  empty, the `datacenter` value found in the Consul agent that this provider is
222
216
  configured to talk to.
223
- :param str filter: A filter expression to refine the query, see https://www.consul.io/api-docs/features/filtering
224
- and https://www.consul.io/api-docs/catalog#filtering-1.
225
217
  :param str name: The service name to select.
226
218
  :param Sequence[pulumi.InputType['GetCatalogServiceQueryOptionArgs']] query_options: See below.
227
219
  :param str tag: A single tag that can be used to filter the list of nodes
@@ -115,7 +115,6 @@ def get_catalog_services(query_options: Optional[Sequence[pulumi.InputType['GetC
115
115
 
116
116
  ## Example Usage
117
117
 
118
- <!--Start PulumiCodeChooser -->
119
118
  ```python
120
119
  import pulumi
121
120
  import pulumi_consul as consul
@@ -129,7 +128,6 @@ def get_catalog_services(query_options: Optional[Sequence[pulumi.InputType['GetC
129
128
  app = example.index.Resource("app", description=std.join(separator= ,
130
129
  input=names).result)
131
130
  ```
132
- <!--End PulumiCodeChooser -->
133
131
 
134
132
 
135
133
  :param Sequence[pulumi.InputType['GetCatalogServicesQueryOptionArgs']] query_options: See below.
@@ -163,7 +161,6 @@ def get_catalog_services_output(query_options: Optional[pulumi.Input[Optional[Se
163
161
 
164
162
  ## Example Usage
165
163
 
166
- <!--Start PulumiCodeChooser -->
167
164
  ```python
168
165
  import pulumi
169
166
  import pulumi_consul as consul
@@ -177,7 +174,6 @@ def get_catalog_services_output(query_options: Optional[pulumi.Input[Optional[Se
177
174
  app = example.index.Resource("app", description=std.join(separator= ,
178
175
  input=names).result)
179
176
  ```
180
- <!--End PulumiCodeChooser -->
181
177
 
182
178
 
183
179
  :param Sequence[pulumi.InputType['GetCatalogServicesQueryOptionArgs']] query_options: See below.
@@ -145,7 +145,6 @@ def get_key_prefix(datacenter: Optional[str] = None,
145
145
  """
146
146
  ## Example Usage
147
147
 
148
- <!--Start PulumiCodeChooser -->
149
148
  ```python
150
149
  import pulumi
151
150
  import pulumi_aws as aws
@@ -162,9 +161,7 @@ def get_key_prefix(datacenter: Optional[str] = None,
162
161
  # Start our instance with the dynamic ami value
163
162
  app_instance = aws.index.Instance("app", ami=app.var.ami)
164
163
  ```
165
- <!--End PulumiCodeChooser -->
166
164
 
167
- <!--Start PulumiCodeChooser -->
168
165
  ```python
169
166
  import pulumi
170
167
  import pulumi_aws as aws
@@ -176,7 +173,6 @@ def get_key_prefix(datacenter: Optional[str] = None,
176
173
  # Start our instance with the dynamic ami value
177
174
  web_instance = aws.index.Instance("web", ami=web.subkeys.app_launch_ami)
178
175
  ```
179
- <!--End PulumiCodeChooser -->
180
176
 
181
177
 
182
178
  :param str datacenter: The datacenter to use. This overrides the
@@ -224,7 +220,6 @@ def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[str]]] = No
224
220
  """
225
221
  ## Example Usage
226
222
 
227
- <!--Start PulumiCodeChooser -->
228
223
  ```python
229
224
  import pulumi
230
225
  import pulumi_aws as aws
@@ -241,9 +236,7 @@ def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[str]]] = No
241
236
  # Start our instance with the dynamic ami value
242
237
  app_instance = aws.index.Instance("app", ami=app.var.ami)
243
238
  ```
244
- <!--End PulumiCodeChooser -->
245
239
 
246
- <!--Start PulumiCodeChooser -->
247
240
  ```python
248
241
  import pulumi
249
242
  import pulumi_aws as aws
@@ -255,7 +248,6 @@ def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[str]]] = No
255
248
  # Start our instance with the dynamic ami value
256
249
  web_instance = aws.index.Instance("web", ami=web.subkeys.app_launch_ami)
257
250
  ```
258
- <!--End PulumiCodeChooser -->
259
251
 
260
252
 
261
253
  :param str datacenter: The datacenter to use. This overrides the
pulumi_consul/get_keys.py CHANGED
@@ -147,7 +147,6 @@ def get_keys(datacenter: Optional[str] = None,
147
147
 
148
148
  ## Example Usage
149
149
 
150
- <!--Start PulumiCodeChooser -->
151
150
  ```python
152
151
  import pulumi
153
152
  import pulumi_aws as aws
@@ -162,7 +161,6 @@ def get_keys(datacenter: Optional[str] = None,
162
161
  # Start our instance with the dynamic ami value
163
162
  app_instance = aws.index.Instance("app", ami=app.var.ami)
164
163
  ```
165
- <!--End PulumiCodeChooser -->
166
164
 
167
165
 
168
166
  :param str datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
@@ -206,7 +204,6 @@ def get_keys_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
206
204
 
207
205
  ## Example Usage
208
206
 
209
- <!--Start PulumiCodeChooser -->
210
207
  ```python
211
208
  import pulumi
212
209
  import pulumi_aws as aws
@@ -221,7 +218,6 @@ def get_keys_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
221
218
  # Start our instance with the dynamic ami value
222
219
  app_instance = aws.index.Instance("app", ami=app.var.ami)
223
220
  ```
224
- <!--End PulumiCodeChooser -->
225
221
 
226
222
 
227
223
  :param str datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
@@ -107,7 +107,6 @@ def get_network_area_members(datacenter: Optional[str] = None,
107
107
 
108
108
  ## Example Usage
109
109
 
110
- <!--Start PulumiCodeChooser -->
111
110
  ```python
112
111
  import pulumi
113
112
  import pulumi_consul as consul
@@ -119,7 +118,6 @@ def get_network_area_members(datacenter: Optional[str] = None,
119
118
  dc2 = consul.get_network_area_members_output(uuid=dc2_network_area.id)
120
119
  pulumi.export("members", dc2.members)
121
120
  ```
122
- <!--End PulumiCodeChooser -->
123
121
 
124
122
 
125
123
  :param str datacenter: The datacenter to use. This overrides the
@@ -156,7 +154,6 @@ def get_network_area_members_output(datacenter: Optional[pulumi.Input[Optional[s
156
154
 
157
155
  ## Example Usage
158
156
 
159
- <!--Start PulumiCodeChooser -->
160
157
  ```python
161
158
  import pulumi
162
159
  import pulumi_consul as consul
@@ -168,7 +165,6 @@ def get_network_area_members_output(datacenter: Optional[pulumi.Input[Optional[s
168
165
  dc2 = consul.get_network_area_members_output(uuid=dc2_network_area.id)
169
166
  pulumi.export("members", dc2.members)
170
167
  ```
171
- <!--End PulumiCodeChooser -->
172
168
 
173
169
 
174
170
  :param str datacenter: The datacenter to use. This overrides the
@@ -93,7 +93,6 @@ def get_network_segments(datacenter: Optional[str] = None,
93
93
 
94
94
  ## Example Usage
95
95
 
96
- <!--Start PulumiCodeChooser -->
97
96
  ```python
98
97
  import pulumi
99
98
  import pulumi_consul as consul
@@ -101,7 +100,6 @@ def get_network_segments(datacenter: Optional[str] = None,
101
100
  segments = consul.get_network_segments()
102
101
  pulumi.export("segments", segments.segments)
103
102
  ```
104
- <!--End PulumiCodeChooser -->
105
103
 
106
104
 
107
105
  :param str datacenter: The datacenter to use. This overrides the
@@ -134,7 +132,6 @@ def get_network_segments_output(datacenter: Optional[pulumi.Input[Optional[str]]
134
132
 
135
133
  ## Example Usage
136
134
 
137
- <!--Start PulumiCodeChooser -->
138
135
  ```python
139
136
  import pulumi
140
137
  import pulumi_consul as consul
@@ -142,7 +139,6 @@ def get_network_segments_output(datacenter: Optional[pulumi.Input[Optional[str]]
142
139
  segments = consul.get_network_segments()
143
140
  pulumi.export("segments", segments.segments)
144
141
  ```
145
- <!--End PulumiCodeChooser -->
146
142
 
147
143
 
148
144
  :param str datacenter: The datacenter to use. This overrides the
@@ -131,14 +131,12 @@ def get_peering(partition: Optional[str] = None,
131
131
  """
132
132
  ## Example Usage
133
133
 
134
- <!--Start PulumiCodeChooser -->
135
134
  ```python
136
135
  import pulumi
137
136
  import pulumi_consul as consul
138
137
 
139
138
  basic = consul.get_peering(peer_name="peered-cluster")
140
139
  ```
141
- <!--End PulumiCodeChooser -->
142
140
  """
143
141
  __args__ = dict()
144
142
  __args__['partition'] = partition
@@ -166,13 +164,11 @@ def get_peering_output(partition: Optional[pulumi.Input[Optional[str]]] = None,
166
164
  """
167
165
  ## Example Usage
168
166
 
169
- <!--Start PulumiCodeChooser -->
170
167
  ```python
171
168
  import pulumi
172
169
  import pulumi_consul as consul
173
170
 
174
171
  basic = consul.get_peering(peer_name="peered-cluster")
175
172
  ```
176
- <!--End PulumiCodeChooser -->
177
173
  """
178
174
  ...
@@ -68,14 +68,12 @@ def get_peerings(partition: Optional[str] = None,
68
68
  """
69
69
  ## Example Usage
70
70
 
71
- <!--Start PulumiCodeChooser -->
72
71
  ```python
73
72
  import pulumi
74
73
  import pulumi_consul as consul
75
74
 
76
75
  peers = consul.get_peerings()
77
76
  ```
78
- <!--End PulumiCodeChooser -->
79
77
  """
80
78
  __args__ = dict()
81
79
  __args__['partition'] = partition
@@ -94,13 +92,11 @@ def get_peerings_output(partition: Optional[pulumi.Input[Optional[str]]] = None,
94
92
  """
95
93
  ## Example Usage
96
94
 
97
- <!--Start PulumiCodeChooser -->
98
95
  ```python
99
96
  import pulumi
100
97
  import pulumi_consul as consul
101
98
 
102
99
  peers = consul.get_peerings()
103
100
  ```
104
- <!--End PulumiCodeChooser -->
105
101
  """
106
102
  ...