pulumi-gcp 7.25.0__py3-none-any.whl → 7.25.0a1717097889__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 (62) hide show
  1. pulumi_gcp/__init__.py +0 -88
  2. pulumi_gcp/appengine/_inputs.py +0 -18
  3. pulumi_gcp/appengine/domain_mapping.py +1 -1
  4. pulumi_gcp/appengine/outputs.py +0 -16
  5. pulumi_gcp/bigquery/_inputs.py +2 -286
  6. pulumi_gcp/bigquery/outputs.py +2 -289
  7. pulumi_gcp/bigquery/table.py +35 -77
  8. pulumi_gcp/cloudfunctionsv2/function.py +4 -0
  9. pulumi_gcp/cloudrun/_inputs.py +4 -80
  10. pulumi_gcp/cloudrun/outputs.py +4 -137
  11. pulumi_gcp/composer/user_workloads_secret.py +4 -4
  12. pulumi_gcp/compute/__init__.py +0 -1
  13. pulumi_gcp/compute/_inputs.py +176 -398
  14. pulumi_gcp/compute/instance_group_membership.py +2 -2
  15. pulumi_gcp/compute/interconnect_attachment.py +0 -82
  16. pulumi_gcp/compute/network_endpoint.py +2 -2
  17. pulumi_gcp/compute/network_endpoint_list.py +2 -2
  18. pulumi_gcp/compute/outputs.py +161 -609
  19. pulumi_gcp/compute/region_ssl_policy.py +40 -39
  20. pulumi_gcp/compute/security_policy_rule.py +1 -55
  21. pulumi_gcp/container/_inputs.py +0 -560
  22. pulumi_gcp/container/outputs.py +51 -1106
  23. pulumi_gcp/dataplex/__init__.py +0 -10
  24. pulumi_gcp/dataplex/_inputs.py +0 -160
  25. pulumi_gcp/dataplex/outputs.py +0 -112
  26. pulumi_gcp/datastream/connection_profile.py +0 -47
  27. pulumi_gcp/datastream/private_connection.py +0 -47
  28. pulumi_gcp/datastream/stream.py +0 -47
  29. pulumi_gcp/dns/get_managed_zone.py +3 -3
  30. pulumi_gcp/dns/managed_zone.py +7 -7
  31. pulumi_gcp/dns/outputs.py +2 -2
  32. pulumi_gcp/kms/__init__.py +0 -2
  33. pulumi_gcp/networkservices/__init__.py +0 -1
  34. pulumi_gcp/networkservices/_inputs.py +27 -245
  35. pulumi_gcp/networkservices/lb_traffic_extension.py +14 -28
  36. pulumi_gcp/networkservices/outputs.py +20 -251
  37. pulumi_gcp/orgpolicy/policy.py +2 -2
  38. pulumi_gcp/pubsub/_inputs.py +0 -16
  39. pulumi_gcp/pubsub/outputs.py +0 -25
  40. pulumi_gcp/pubsub/subscription.py +4 -8
  41. pulumi_gcp/pulumi-plugin.json +1 -1
  42. pulumi_gcp/sql/user.py +4 -4
  43. pulumi_gcp/tpu/_inputs.py +2 -2
  44. pulumi_gcp/tpu/outputs.py +2 -2
  45. {pulumi_gcp-7.25.0.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/METADATA +1 -1
  46. {pulumi_gcp-7.25.0.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/RECORD +48 -62
  47. pulumi_gcp/compute/get_subnetworks.py +0 -157
  48. pulumi_gcp/dataplex/aspect_type.py +0 -1077
  49. pulumi_gcp/dataplex/aspect_type_iam_binding.py +0 -765
  50. pulumi_gcp/dataplex/aspect_type_iam_member.py +0 -765
  51. pulumi_gcp/dataplex/aspect_type_iam_policy.py +0 -604
  52. pulumi_gcp/dataplex/entry_group.py +0 -722
  53. pulumi_gcp/dataplex/entry_group_iam_binding.py +0 -765
  54. pulumi_gcp/dataplex/entry_group_iam_member.py +0 -765
  55. pulumi_gcp/dataplex/entry_group_iam_policy.py +0 -604
  56. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +0 -164
  57. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +0 -164
  58. pulumi_gcp/kms/autokey_config.py +0 -366
  59. pulumi_gcp/kms/key_handle.py +0 -548
  60. pulumi_gcp/networkservices/lb_route_extension.py +0 -663
  61. {pulumi_gcp-7.25.0.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/WHEEL +0 -0
  62. {pulumi_gcp-7.25.0.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/top_level.txt +0 -0
@@ -1,663 +0,0 @@
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
- from . import outputs
12
- from ._inputs import *
13
-
14
- __all__ = ['LbRouteExtensionArgs', 'LbRouteExtension']
15
-
16
- @pulumi.input_type
17
- class LbRouteExtensionArgs:
18
- def __init__(__self__, *,
19
- extension_chains: pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]],
20
- forwarding_rules: pulumi.Input[Sequence[pulumi.Input[str]]],
21
- load_balancing_scheme: pulumi.Input[str],
22
- location: pulumi.Input[str],
23
- description: Optional[pulumi.Input[str]] = None,
24
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
25
- name: Optional[pulumi.Input[str]] = None,
26
- project: Optional[pulumi.Input[str]] = None):
27
- """
28
- The set of arguments for constructing a LbRouteExtension resource.
29
- :param pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]] extension_chains: A set of ordered extension chains that contain the match conditions and extensions to execute.
30
- Match conditions for each extension chain are evaluated in sequence for a given request.
31
- The first extension chain that has a condition that matches the request is executed.
32
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
33
- Structure is documented below.
34
- :param pulumi.Input[Sequence[pulumi.Input[str]]] forwarding_rules: A list of references to the forwarding rules to which this service extension is attached to.
35
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
36
- :param pulumi.Input[str] load_balancing_scheme: All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
37
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
38
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
39
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
40
- :param pulumi.Input[str] location: The location of the route extension
41
- :param pulumi.Input[str] description: A human-readable description of the resource.
42
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
43
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
44
- present on the resource.
45
- :param pulumi.Input[str] name: Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
46
- """
47
- pulumi.set(__self__, "extension_chains", extension_chains)
48
- pulumi.set(__self__, "forwarding_rules", forwarding_rules)
49
- pulumi.set(__self__, "load_balancing_scheme", load_balancing_scheme)
50
- pulumi.set(__self__, "location", location)
51
- if description is not None:
52
- pulumi.set(__self__, "description", description)
53
- if labels is not None:
54
- pulumi.set(__self__, "labels", labels)
55
- if name is not None:
56
- pulumi.set(__self__, "name", name)
57
- if project is not None:
58
- pulumi.set(__self__, "project", project)
59
-
60
- @property
61
- @pulumi.getter(name="extensionChains")
62
- def extension_chains(self) -> pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]]:
63
- """
64
- A set of ordered extension chains that contain the match conditions and extensions to execute.
65
- Match conditions for each extension chain are evaluated in sequence for a given request.
66
- The first extension chain that has a condition that matches the request is executed.
67
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
68
- Structure is documented below.
69
- """
70
- return pulumi.get(self, "extension_chains")
71
-
72
- @extension_chains.setter
73
- def extension_chains(self, value: pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]]):
74
- pulumi.set(self, "extension_chains", value)
75
-
76
- @property
77
- @pulumi.getter(name="forwardingRules")
78
- def forwarding_rules(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
79
- """
80
- A list of references to the forwarding rules to which this service extension is attached to.
81
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
82
- """
83
- return pulumi.get(self, "forwarding_rules")
84
-
85
- @forwarding_rules.setter
86
- def forwarding_rules(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
87
- pulumi.set(self, "forwarding_rules", value)
88
-
89
- @property
90
- @pulumi.getter(name="loadBalancingScheme")
91
- def load_balancing_scheme(self) -> pulumi.Input[str]:
92
- """
93
- All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
94
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
95
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
96
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
97
- """
98
- return pulumi.get(self, "load_balancing_scheme")
99
-
100
- @load_balancing_scheme.setter
101
- def load_balancing_scheme(self, value: pulumi.Input[str]):
102
- pulumi.set(self, "load_balancing_scheme", value)
103
-
104
- @property
105
- @pulumi.getter
106
- def location(self) -> pulumi.Input[str]:
107
- """
108
- The location of the route extension
109
- """
110
- return pulumi.get(self, "location")
111
-
112
- @location.setter
113
- def location(self, value: pulumi.Input[str]):
114
- pulumi.set(self, "location", value)
115
-
116
- @property
117
- @pulumi.getter
118
- def description(self) -> Optional[pulumi.Input[str]]:
119
- """
120
- A human-readable description of the resource.
121
- """
122
- return pulumi.get(self, "description")
123
-
124
- @description.setter
125
- def description(self, value: Optional[pulumi.Input[str]]):
126
- pulumi.set(self, "description", value)
127
-
128
- @property
129
- @pulumi.getter
130
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
131
- """
132
- Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
133
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
134
- present on the resource.
135
- """
136
- return pulumi.get(self, "labels")
137
-
138
- @labels.setter
139
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
140
- pulumi.set(self, "labels", value)
141
-
142
- @property
143
- @pulumi.getter
144
- def name(self) -> Optional[pulumi.Input[str]]:
145
- """
146
- Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
147
- """
148
- return pulumi.get(self, "name")
149
-
150
- @name.setter
151
- def name(self, value: Optional[pulumi.Input[str]]):
152
- pulumi.set(self, "name", value)
153
-
154
- @property
155
- @pulumi.getter
156
- def project(self) -> Optional[pulumi.Input[str]]:
157
- return pulumi.get(self, "project")
158
-
159
- @project.setter
160
- def project(self, value: Optional[pulumi.Input[str]]):
161
- pulumi.set(self, "project", value)
162
-
163
-
164
- @pulumi.input_type
165
- class _LbRouteExtensionState:
166
- def __init__(__self__, *,
167
- description: Optional[pulumi.Input[str]] = None,
168
- effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
169
- extension_chains: Optional[pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]]] = None,
170
- forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
171
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
172
- load_balancing_scheme: Optional[pulumi.Input[str]] = None,
173
- location: Optional[pulumi.Input[str]] = None,
174
- name: Optional[pulumi.Input[str]] = None,
175
- project: Optional[pulumi.Input[str]] = None,
176
- pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
177
- """
178
- Input properties used for looking up and filtering LbRouteExtension resources.
179
- :param pulumi.Input[str] description: A human-readable description of the resource.
180
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
181
- :param pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]] extension_chains: A set of ordered extension chains that contain the match conditions and extensions to execute.
182
- Match conditions for each extension chain are evaluated in sequence for a given request.
183
- The first extension chain that has a condition that matches the request is executed.
184
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
185
- Structure is documented below.
186
- :param pulumi.Input[Sequence[pulumi.Input[str]]] forwarding_rules: A list of references to the forwarding rules to which this service extension is attached to.
187
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
188
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
189
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
190
- present on the resource.
191
- :param pulumi.Input[str] load_balancing_scheme: All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
192
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
193
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
194
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
195
- :param pulumi.Input[str] location: The location of the route extension
196
- :param pulumi.Input[str] name: Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
197
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
198
- and default labels configured on the provider.
199
- """
200
- if description is not None:
201
- pulumi.set(__self__, "description", description)
202
- if effective_labels is not None:
203
- pulumi.set(__self__, "effective_labels", effective_labels)
204
- if extension_chains is not None:
205
- pulumi.set(__self__, "extension_chains", extension_chains)
206
- if forwarding_rules is not None:
207
- pulumi.set(__self__, "forwarding_rules", forwarding_rules)
208
- if labels is not None:
209
- pulumi.set(__self__, "labels", labels)
210
- if load_balancing_scheme is not None:
211
- pulumi.set(__self__, "load_balancing_scheme", load_balancing_scheme)
212
- if location is not None:
213
- pulumi.set(__self__, "location", location)
214
- if name is not None:
215
- pulumi.set(__self__, "name", name)
216
- if project is not None:
217
- pulumi.set(__self__, "project", project)
218
- if pulumi_labels is not None:
219
- pulumi.set(__self__, "pulumi_labels", pulumi_labels)
220
-
221
- @property
222
- @pulumi.getter
223
- def description(self) -> Optional[pulumi.Input[str]]:
224
- """
225
- A human-readable description of the resource.
226
- """
227
- return pulumi.get(self, "description")
228
-
229
- @description.setter
230
- def description(self, value: Optional[pulumi.Input[str]]):
231
- pulumi.set(self, "description", value)
232
-
233
- @property
234
- @pulumi.getter(name="effectiveLabels")
235
- def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
236
- """
237
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
238
- """
239
- return pulumi.get(self, "effective_labels")
240
-
241
- @effective_labels.setter
242
- def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
243
- pulumi.set(self, "effective_labels", value)
244
-
245
- @property
246
- @pulumi.getter(name="extensionChains")
247
- def extension_chains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]]]:
248
- """
249
- A set of ordered extension chains that contain the match conditions and extensions to execute.
250
- Match conditions for each extension chain are evaluated in sequence for a given request.
251
- The first extension chain that has a condition that matches the request is executed.
252
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
253
- Structure is documented below.
254
- """
255
- return pulumi.get(self, "extension_chains")
256
-
257
- @extension_chains.setter
258
- def extension_chains(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LbRouteExtensionExtensionChainArgs']]]]):
259
- pulumi.set(self, "extension_chains", value)
260
-
261
- @property
262
- @pulumi.getter(name="forwardingRules")
263
- def forwarding_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
264
- """
265
- A list of references to the forwarding rules to which this service extension is attached to.
266
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
267
- """
268
- return pulumi.get(self, "forwarding_rules")
269
-
270
- @forwarding_rules.setter
271
- def forwarding_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
272
- pulumi.set(self, "forwarding_rules", value)
273
-
274
- @property
275
- @pulumi.getter
276
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
277
- """
278
- Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
279
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
280
- present on the resource.
281
- """
282
- return pulumi.get(self, "labels")
283
-
284
- @labels.setter
285
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
286
- pulumi.set(self, "labels", value)
287
-
288
- @property
289
- @pulumi.getter(name="loadBalancingScheme")
290
- def load_balancing_scheme(self) -> Optional[pulumi.Input[str]]:
291
- """
292
- All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
293
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
294
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
295
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
296
- """
297
- return pulumi.get(self, "load_balancing_scheme")
298
-
299
- @load_balancing_scheme.setter
300
- def load_balancing_scheme(self, value: Optional[pulumi.Input[str]]):
301
- pulumi.set(self, "load_balancing_scheme", value)
302
-
303
- @property
304
- @pulumi.getter
305
- def location(self) -> Optional[pulumi.Input[str]]:
306
- """
307
- The location of the route extension
308
- """
309
- return pulumi.get(self, "location")
310
-
311
- @location.setter
312
- def location(self, value: Optional[pulumi.Input[str]]):
313
- pulumi.set(self, "location", value)
314
-
315
- @property
316
- @pulumi.getter
317
- def name(self) -> Optional[pulumi.Input[str]]:
318
- """
319
- Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
320
- """
321
- return pulumi.get(self, "name")
322
-
323
- @name.setter
324
- def name(self, value: Optional[pulumi.Input[str]]):
325
- pulumi.set(self, "name", value)
326
-
327
- @property
328
- @pulumi.getter
329
- def project(self) -> Optional[pulumi.Input[str]]:
330
- return pulumi.get(self, "project")
331
-
332
- @project.setter
333
- def project(self, value: Optional[pulumi.Input[str]]):
334
- pulumi.set(self, "project", value)
335
-
336
- @property
337
- @pulumi.getter(name="pulumiLabels")
338
- def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
339
- """
340
- The combination of labels configured directly on the resource
341
- and default labels configured on the provider.
342
- """
343
- return pulumi.get(self, "pulumi_labels")
344
-
345
- @pulumi_labels.setter
346
- def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
347
- pulumi.set(self, "pulumi_labels", value)
348
-
349
-
350
- class LbRouteExtension(pulumi.CustomResource):
351
- @overload
352
- def __init__(__self__,
353
- resource_name: str,
354
- opts: Optional[pulumi.ResourceOptions] = None,
355
- description: Optional[pulumi.Input[str]] = None,
356
- extension_chains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LbRouteExtensionExtensionChainArgs']]]]] = None,
357
- forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
358
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
359
- load_balancing_scheme: Optional[pulumi.Input[str]] = None,
360
- location: Optional[pulumi.Input[str]] = None,
361
- name: Optional[pulumi.Input[str]] = None,
362
- project: Optional[pulumi.Input[str]] = None,
363
- __props__=None):
364
- """
365
- LbRouteExtension is a resource that lets you control where traffic is routed to for a given request.
366
-
367
- To get more information about LbRouteExtension, see:
368
-
369
- * [API documentation](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.lbRouteExtensions)
370
- * How-to Guides
371
- * [Configure a route extension](https://cloud.google.com/service-extensions/docs/configure-callout#configure_a_route_extension)
372
-
373
- ## Example Usage
374
-
375
- ## Import
376
-
377
- LbRouteExtension can be imported using any of these accepted formats:
378
-
379
- * `projects/{{project}}/locations/{{location}}/lbRouteExtensions/{{name}}`
380
-
381
- * `{{project}}/{{location}}/{{name}}`
382
-
383
- * `{{location}}/{{name}}`
384
-
385
- When using the `pulumi import` command, LbRouteExtension can be imported using one of the formats above. For example:
386
-
387
- ```sh
388
- $ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default projects/{{project}}/locations/{{location}}/lbRouteExtensions/{{name}}
389
- ```
390
-
391
- ```sh
392
- $ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default {{project}}/{{location}}/{{name}}
393
- ```
394
-
395
- ```sh
396
- $ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default {{location}}/{{name}}
397
- ```
398
-
399
- :param str resource_name: The name of the resource.
400
- :param pulumi.ResourceOptions opts: Options for the resource.
401
- :param pulumi.Input[str] description: A human-readable description of the resource.
402
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LbRouteExtensionExtensionChainArgs']]]] extension_chains: A set of ordered extension chains that contain the match conditions and extensions to execute.
403
- Match conditions for each extension chain are evaluated in sequence for a given request.
404
- The first extension chain that has a condition that matches the request is executed.
405
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
406
- Structure is documented below.
407
- :param pulumi.Input[Sequence[pulumi.Input[str]]] forwarding_rules: A list of references to the forwarding rules to which this service extension is attached to.
408
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
409
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
410
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
411
- present on the resource.
412
- :param pulumi.Input[str] load_balancing_scheme: All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
413
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
414
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
415
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
416
- :param pulumi.Input[str] location: The location of the route extension
417
- :param pulumi.Input[str] name: Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
418
- """
419
- ...
420
- @overload
421
- def __init__(__self__,
422
- resource_name: str,
423
- args: LbRouteExtensionArgs,
424
- opts: Optional[pulumi.ResourceOptions] = None):
425
- """
426
- LbRouteExtension is a resource that lets you control where traffic is routed to for a given request.
427
-
428
- To get more information about LbRouteExtension, see:
429
-
430
- * [API documentation](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.lbRouteExtensions)
431
- * How-to Guides
432
- * [Configure a route extension](https://cloud.google.com/service-extensions/docs/configure-callout#configure_a_route_extension)
433
-
434
- ## Example Usage
435
-
436
- ## Import
437
-
438
- LbRouteExtension can be imported using any of these accepted formats:
439
-
440
- * `projects/{{project}}/locations/{{location}}/lbRouteExtensions/{{name}}`
441
-
442
- * `{{project}}/{{location}}/{{name}}`
443
-
444
- * `{{location}}/{{name}}`
445
-
446
- When using the `pulumi import` command, LbRouteExtension can be imported using one of the formats above. For example:
447
-
448
- ```sh
449
- $ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default projects/{{project}}/locations/{{location}}/lbRouteExtensions/{{name}}
450
- ```
451
-
452
- ```sh
453
- $ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default {{project}}/{{location}}/{{name}}
454
- ```
455
-
456
- ```sh
457
- $ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default {{location}}/{{name}}
458
- ```
459
-
460
- :param str resource_name: The name of the resource.
461
- :param LbRouteExtensionArgs args: The arguments to use to populate this resource's properties.
462
- :param pulumi.ResourceOptions opts: Options for the resource.
463
- """
464
- ...
465
- def __init__(__self__, resource_name: str, *args, **kwargs):
466
- resource_args, opts = _utilities.get_resource_args_opts(LbRouteExtensionArgs, pulumi.ResourceOptions, *args, **kwargs)
467
- if resource_args is not None:
468
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
469
- else:
470
- __self__._internal_init(resource_name, *args, **kwargs)
471
-
472
- def _internal_init(__self__,
473
- resource_name: str,
474
- opts: Optional[pulumi.ResourceOptions] = None,
475
- description: Optional[pulumi.Input[str]] = None,
476
- extension_chains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LbRouteExtensionExtensionChainArgs']]]]] = None,
477
- forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
478
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
479
- load_balancing_scheme: Optional[pulumi.Input[str]] = None,
480
- location: Optional[pulumi.Input[str]] = None,
481
- name: Optional[pulumi.Input[str]] = None,
482
- project: Optional[pulumi.Input[str]] = None,
483
- __props__=None):
484
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
485
- if not isinstance(opts, pulumi.ResourceOptions):
486
- raise TypeError('Expected resource options to be a ResourceOptions instance')
487
- if opts.id is None:
488
- if __props__ is not None:
489
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
490
- __props__ = LbRouteExtensionArgs.__new__(LbRouteExtensionArgs)
491
-
492
- __props__.__dict__["description"] = description
493
- if extension_chains is None and not opts.urn:
494
- raise TypeError("Missing required property 'extension_chains'")
495
- __props__.__dict__["extension_chains"] = extension_chains
496
- if forwarding_rules is None and not opts.urn:
497
- raise TypeError("Missing required property 'forwarding_rules'")
498
- __props__.__dict__["forwarding_rules"] = forwarding_rules
499
- __props__.__dict__["labels"] = labels
500
- if load_balancing_scheme is None and not opts.urn:
501
- raise TypeError("Missing required property 'load_balancing_scheme'")
502
- __props__.__dict__["load_balancing_scheme"] = load_balancing_scheme
503
- if location is None and not opts.urn:
504
- raise TypeError("Missing required property 'location'")
505
- __props__.__dict__["location"] = location
506
- __props__.__dict__["name"] = name
507
- __props__.__dict__["project"] = project
508
- __props__.__dict__["effective_labels"] = None
509
- __props__.__dict__["pulumi_labels"] = None
510
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
511
- opts = pulumi.ResourceOptions.merge(opts, secret_opts)
512
- super(LbRouteExtension, __self__).__init__(
513
- 'gcp:networkservices/lbRouteExtension:LbRouteExtension',
514
- resource_name,
515
- __props__,
516
- opts)
517
-
518
- @staticmethod
519
- def get(resource_name: str,
520
- id: pulumi.Input[str],
521
- opts: Optional[pulumi.ResourceOptions] = None,
522
- description: Optional[pulumi.Input[str]] = None,
523
- effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
524
- extension_chains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LbRouteExtensionExtensionChainArgs']]]]] = None,
525
- forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
526
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
527
- load_balancing_scheme: Optional[pulumi.Input[str]] = None,
528
- location: Optional[pulumi.Input[str]] = None,
529
- name: Optional[pulumi.Input[str]] = None,
530
- project: Optional[pulumi.Input[str]] = None,
531
- pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'LbRouteExtension':
532
- """
533
- Get an existing LbRouteExtension resource's state with the given name, id, and optional extra
534
- properties used to qualify the lookup.
535
-
536
- :param str resource_name: The unique name of the resulting resource.
537
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
538
- :param pulumi.ResourceOptions opts: Options for the resource.
539
- :param pulumi.Input[str] description: A human-readable description of the resource.
540
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
541
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LbRouteExtensionExtensionChainArgs']]]] extension_chains: A set of ordered extension chains that contain the match conditions and extensions to execute.
542
- Match conditions for each extension chain are evaluated in sequence for a given request.
543
- The first extension chain that has a condition that matches the request is executed.
544
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
545
- Structure is documented below.
546
- :param pulumi.Input[Sequence[pulumi.Input[str]]] forwarding_rules: A list of references to the forwarding rules to which this service extension is attached to.
547
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
548
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
549
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
550
- present on the resource.
551
- :param pulumi.Input[str] load_balancing_scheme: All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
552
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
553
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
554
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
555
- :param pulumi.Input[str] location: The location of the route extension
556
- :param pulumi.Input[str] name: Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
557
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
558
- and default labels configured on the provider.
559
- """
560
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
561
-
562
- __props__ = _LbRouteExtensionState.__new__(_LbRouteExtensionState)
563
-
564
- __props__.__dict__["description"] = description
565
- __props__.__dict__["effective_labels"] = effective_labels
566
- __props__.__dict__["extension_chains"] = extension_chains
567
- __props__.__dict__["forwarding_rules"] = forwarding_rules
568
- __props__.__dict__["labels"] = labels
569
- __props__.__dict__["load_balancing_scheme"] = load_balancing_scheme
570
- __props__.__dict__["location"] = location
571
- __props__.__dict__["name"] = name
572
- __props__.__dict__["project"] = project
573
- __props__.__dict__["pulumi_labels"] = pulumi_labels
574
- return LbRouteExtension(resource_name, opts=opts, __props__=__props__)
575
-
576
- @property
577
- @pulumi.getter
578
- def description(self) -> pulumi.Output[Optional[str]]:
579
- """
580
- A human-readable description of the resource.
581
- """
582
- return pulumi.get(self, "description")
583
-
584
- @property
585
- @pulumi.getter(name="effectiveLabels")
586
- def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
587
- """
588
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
589
- """
590
- return pulumi.get(self, "effective_labels")
591
-
592
- @property
593
- @pulumi.getter(name="extensionChains")
594
- def extension_chains(self) -> pulumi.Output[Sequence['outputs.LbRouteExtensionExtensionChain']]:
595
- """
596
- A set of ordered extension chains that contain the match conditions and extensions to execute.
597
- Match conditions for each extension chain are evaluated in sequence for a given request.
598
- The first extension chain that has a condition that matches the request is executed.
599
- Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
600
- Structure is documented below.
601
- """
602
- return pulumi.get(self, "extension_chains")
603
-
604
- @property
605
- @pulumi.getter(name="forwardingRules")
606
- def forwarding_rules(self) -> pulumi.Output[Sequence[str]]:
607
- """
608
- A list of references to the forwarding rules to which this service extension is attached to.
609
- At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
610
- """
611
- return pulumi.get(self, "forwarding_rules")
612
-
613
- @property
614
- @pulumi.getter
615
- def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
616
- """
617
- Set of labels associated with the LbRouteExtension resource. **Note**: This field is non-authoritative, and will only
618
- manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
619
- present on the resource.
620
- """
621
- return pulumi.get(self, "labels")
622
-
623
- @property
624
- @pulumi.getter(name="loadBalancingScheme")
625
- def load_balancing_scheme(self) -> pulumi.Output[str]:
626
- """
627
- All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
628
- For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
629
- [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
630
- Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
631
- """
632
- return pulumi.get(self, "load_balancing_scheme")
633
-
634
- @property
635
- @pulumi.getter
636
- def location(self) -> pulumi.Output[str]:
637
- """
638
- The location of the route extension
639
- """
640
- return pulumi.get(self, "location")
641
-
642
- @property
643
- @pulumi.getter
644
- def name(self) -> pulumi.Output[str]:
645
- """
646
- Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}
647
- """
648
- return pulumi.get(self, "name")
649
-
650
- @property
651
- @pulumi.getter
652
- def project(self) -> pulumi.Output[str]:
653
- return pulumi.get(self, "project")
654
-
655
- @property
656
- @pulumi.getter(name="pulumiLabels")
657
- def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
658
- """
659
- The combination of labels configured directly on the resource
660
- and default labels configured on the provider.
661
- """
662
- return pulumi.get(self, "pulumi_labels")
663
-