pulumi-gcp 8.15.0a1737527599__py3-none-any.whl → 8.16.0a1737786862__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 (77) hide show
  1. pulumi_gcp/__init__.py +78 -0
  2. pulumi_gcp/accesscontextmanager/access_level_condition.py +28 -0
  3. pulumi_gcp/accesscontextmanager/egress_policy.py +28 -0
  4. pulumi_gcp/accesscontextmanager/ingress_policy.py +28 -0
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +28 -0
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +28 -0
  7. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
  8. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +28 -0
  9. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +28 -0
  10. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +56 -0
  11. pulumi_gcp/apigee/__init__.py +1 -0
  12. pulumi_gcp/apigee/environment_addons_config.py +266 -0
  13. pulumi_gcp/artifactregistry/repository.py +32 -2
  14. pulumi_gcp/bigquery/connection.py +2 -2
  15. pulumi_gcp/bigquery/routine.py +2 -2
  16. pulumi_gcp/billing/project_info.py +4 -4
  17. pulumi_gcp/chronicle/__init__.py +3 -0
  18. pulumi_gcp/chronicle/_inputs.py +379 -0
  19. pulumi_gcp/chronicle/data_access_label.py +21 -21
  20. pulumi_gcp/chronicle/outputs.py +302 -0
  21. pulumi_gcp/chronicle/reference_list.py +788 -0
  22. pulumi_gcp/chronicle/rule.py +1308 -0
  23. pulumi_gcp/chronicle/rule_deployment.py +849 -0
  24. pulumi_gcp/colab/__init__.py +10 -0
  25. pulumi_gcp/colab/_inputs.py +359 -0
  26. pulumi_gcp/colab/outputs.py +344 -0
  27. pulumi_gcp/colab/runtime_template.py +1160 -0
  28. pulumi_gcp/compute/_inputs.py +9 -9
  29. pulumi_gcp/compute/interconnect_attachment.py +7 -7
  30. pulumi_gcp/compute/outputs.py +6 -6
  31. pulumi_gcp/compute/route.py +8 -16
  32. pulumi_gcp/compute/subnetwork.py +7 -7
  33. pulumi_gcp/compute/target_instance.py +4 -4
  34. pulumi_gcp/compute/url_map.py +4 -0
  35. pulumi_gcp/config/__init__.pyi +6 -0
  36. pulumi_gcp/config/vars.py +12 -0
  37. pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
  38. pulumi_gcp/dataplex/entry_type.py +2 -2
  39. pulumi_gcp/dataplex/task.py +16 -16
  40. pulumi_gcp/dataproc/batch.py +10 -10
  41. pulumi_gcp/discoveryengine/_inputs.py +54 -0
  42. pulumi_gcp/discoveryengine/data_store.py +94 -0
  43. pulumi_gcp/discoveryengine/outputs.py +51 -0
  44. pulumi_gcp/edgenetwork/__init__.py +1 -0
  45. pulumi_gcp/edgenetwork/interconnect_attachment.py +941 -0
  46. pulumi_gcp/firestore/field.py +4 -4
  47. pulumi_gcp/gemini/code_repository_index.py +47 -0
  48. pulumi_gcp/gkehub/membership_binding.py +6 -6
  49. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  50. pulumi_gcp/gkehub/namespace.py +4 -4
  51. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  52. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  53. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  54. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  55. pulumi_gcp/networksecurity/authz_policy.py +0 -202
  56. pulumi_gcp/orgpolicy/policy.py +2 -2
  57. pulumi_gcp/parametermanager/__init__.py +13 -0
  58. pulumi_gcp/parametermanager/_inputs.py +174 -0
  59. pulumi_gcp/parametermanager/get_regional_parameter.py +230 -0
  60. pulumi_gcp/parametermanager/outputs.py +191 -0
  61. pulumi_gcp/parametermanager/parameter.py +706 -0
  62. pulumi_gcp/parametermanager/regional_parameter.py +762 -0
  63. pulumi_gcp/parametermanager/regional_parameter_version.py +558 -0
  64. pulumi_gcp/provider.py +60 -0
  65. pulumi_gcp/pubsub/subscription.py +6 -6
  66. pulumi_gcp/pulumi-plugin.json +1 -1
  67. pulumi_gcp/sql/_inputs.py +54 -0
  68. pulumi_gcp/sql/database_instance.py +78 -16
  69. pulumi_gcp/sql/get_database_instance.py +12 -1
  70. pulumi_gcp/sql/outputs.py +122 -0
  71. pulumi_gcp/sql/source_representation_instance.py +7 -14
  72. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  73. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  74. {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/METADATA +1 -1
  75. {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/RECORD +77 -61
  76. {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/WHEEL +0 -0
  77. {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,762 @@
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 sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['RegionalParameterArgs', 'RegionalParameter']
20
+
21
+ @pulumi.input_type
22
+ class RegionalParameterArgs:
23
+ def __init__(__self__, *,
24
+ location: pulumi.Input[str],
25
+ parameter_id: pulumi.Input[str],
26
+ format: Optional[pulumi.Input[str]] = None,
27
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
+ project: Optional[pulumi.Input[str]] = None):
29
+ """
30
+ The set of arguments for constructing a RegionalParameter resource.
31
+ :param pulumi.Input[str] location: The location of the regional parameter. eg us-central1
32
+ :param pulumi.Input[str] parameter_id: This must be unique within the project.
33
+
34
+
35
+ - - -
36
+ :param pulumi.Input[str] format: The format type of the regional parameter.
37
+ Default value is `UNFORMATTED`.
38
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
39
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this regional Parameter.
40
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
41
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
42
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
43
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
44
+ No more than 64 labels can be assigned to a given resource.
45
+ An object containing a list of "key": value pairs. Example:
46
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
47
+
48
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
49
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
50
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
51
+ If it is not provided, the provider project is used.
52
+ """
53
+ pulumi.set(__self__, "location", location)
54
+ pulumi.set(__self__, "parameter_id", parameter_id)
55
+ if format is not None:
56
+ pulumi.set(__self__, "format", format)
57
+ if labels is not None:
58
+ pulumi.set(__self__, "labels", labels)
59
+ if project is not None:
60
+ pulumi.set(__self__, "project", project)
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def location(self) -> pulumi.Input[str]:
65
+ """
66
+ The location of the regional parameter. eg us-central1
67
+ """
68
+ return pulumi.get(self, "location")
69
+
70
+ @location.setter
71
+ def location(self, value: pulumi.Input[str]):
72
+ pulumi.set(self, "location", value)
73
+
74
+ @property
75
+ @pulumi.getter(name="parameterId")
76
+ def parameter_id(self) -> pulumi.Input[str]:
77
+ """
78
+ This must be unique within the project.
79
+
80
+
81
+ - - -
82
+ """
83
+ return pulumi.get(self, "parameter_id")
84
+
85
+ @parameter_id.setter
86
+ def parameter_id(self, value: pulumi.Input[str]):
87
+ pulumi.set(self, "parameter_id", value)
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def format(self) -> Optional[pulumi.Input[str]]:
92
+ """
93
+ The format type of the regional parameter.
94
+ Default value is `UNFORMATTED`.
95
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
96
+ """
97
+ return pulumi.get(self, "format")
98
+
99
+ @format.setter
100
+ def format(self, value: Optional[pulumi.Input[str]]):
101
+ pulumi.set(self, "format", value)
102
+
103
+ @property
104
+ @pulumi.getter
105
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
106
+ """
107
+ The labels assigned to this regional Parameter.
108
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
109
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
110
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
111
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
112
+ No more than 64 labels can be assigned to a given resource.
113
+ An object containing a list of "key": value pairs. Example:
114
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
115
+
116
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
117
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
118
+ """
119
+ return pulumi.get(self, "labels")
120
+
121
+ @labels.setter
122
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
123
+ pulumi.set(self, "labels", value)
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def project(self) -> Optional[pulumi.Input[str]]:
128
+ """
129
+ The ID of the project in which the resource belongs.
130
+ If it is not provided, the provider project is used.
131
+ """
132
+ return pulumi.get(self, "project")
133
+
134
+ @project.setter
135
+ def project(self, value: Optional[pulumi.Input[str]]):
136
+ pulumi.set(self, "project", value)
137
+
138
+
139
+ @pulumi.input_type
140
+ class _RegionalParameterState:
141
+ def __init__(__self__, *,
142
+ create_time: Optional[pulumi.Input[str]] = None,
143
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
144
+ format: Optional[pulumi.Input[str]] = None,
145
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
146
+ location: Optional[pulumi.Input[str]] = None,
147
+ name: Optional[pulumi.Input[str]] = None,
148
+ parameter_id: Optional[pulumi.Input[str]] = None,
149
+ policy_members: Optional[pulumi.Input[Sequence[pulumi.Input['RegionalParameterPolicyMemberArgs']]]] = None,
150
+ project: Optional[pulumi.Input[str]] = None,
151
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
152
+ update_time: Optional[pulumi.Input[str]] = None):
153
+ """
154
+ Input properties used for looking up and filtering RegionalParameter resources.
155
+ :param pulumi.Input[str] create_time: The time at which the regional Parameter was created.
156
+ :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.
157
+ :param pulumi.Input[str] format: The format type of the regional parameter.
158
+ Default value is `UNFORMATTED`.
159
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
160
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this regional Parameter.
161
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
162
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
163
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
164
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
165
+ No more than 64 labels can be assigned to a given resource.
166
+ An object containing a list of "key": value pairs. Example:
167
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
168
+
169
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
170
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
171
+ :param pulumi.Input[str] location: The location of the regional parameter. eg us-central1
172
+ :param pulumi.Input[str] name: The resource name of the regional Parameter. Format:
173
+ `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
174
+ :param pulumi.Input[str] parameter_id: This must be unique within the project.
175
+
176
+
177
+ - - -
178
+ :param pulumi.Input[Sequence[pulumi.Input['RegionalParameterPolicyMemberArgs']]] policy_members: An object containing a unique resource identity tied to the regional parameter.
179
+ Structure is documented below.
180
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
181
+ If it is not provided, the provider project is used.
182
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
183
+ and default labels configured on the provider.
184
+ :param pulumi.Input[str] update_time: The time at which the regional Parameter was updated.
185
+ """
186
+ if create_time is not None:
187
+ pulumi.set(__self__, "create_time", create_time)
188
+ if effective_labels is not None:
189
+ pulumi.set(__self__, "effective_labels", effective_labels)
190
+ if format is not None:
191
+ pulumi.set(__self__, "format", format)
192
+ if labels is not None:
193
+ pulumi.set(__self__, "labels", labels)
194
+ if location is not None:
195
+ pulumi.set(__self__, "location", location)
196
+ if name is not None:
197
+ pulumi.set(__self__, "name", name)
198
+ if parameter_id is not None:
199
+ pulumi.set(__self__, "parameter_id", parameter_id)
200
+ if policy_members is not None:
201
+ pulumi.set(__self__, "policy_members", policy_members)
202
+ if project is not None:
203
+ pulumi.set(__self__, "project", project)
204
+ if pulumi_labels is not None:
205
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
206
+ if update_time is not None:
207
+ pulumi.set(__self__, "update_time", update_time)
208
+
209
+ @property
210
+ @pulumi.getter(name="createTime")
211
+ def create_time(self) -> Optional[pulumi.Input[str]]:
212
+ """
213
+ The time at which the regional Parameter was created.
214
+ """
215
+ return pulumi.get(self, "create_time")
216
+
217
+ @create_time.setter
218
+ def create_time(self, value: Optional[pulumi.Input[str]]):
219
+ pulumi.set(self, "create_time", value)
220
+
221
+ @property
222
+ @pulumi.getter(name="effectiveLabels")
223
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
224
+ """
225
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
226
+ """
227
+ return pulumi.get(self, "effective_labels")
228
+
229
+ @effective_labels.setter
230
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
231
+ pulumi.set(self, "effective_labels", value)
232
+
233
+ @property
234
+ @pulumi.getter
235
+ def format(self) -> Optional[pulumi.Input[str]]:
236
+ """
237
+ The format type of the regional parameter.
238
+ Default value is `UNFORMATTED`.
239
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
240
+ """
241
+ return pulumi.get(self, "format")
242
+
243
+ @format.setter
244
+ def format(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "format", value)
246
+
247
+ @property
248
+ @pulumi.getter
249
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
250
+ """
251
+ The labels assigned to this regional Parameter.
252
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
253
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
254
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
255
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
256
+ No more than 64 labels can be assigned to a given resource.
257
+ An object containing a list of "key": value pairs. Example:
258
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
259
+
260
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
261
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
262
+ """
263
+ return pulumi.get(self, "labels")
264
+
265
+ @labels.setter
266
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
267
+ pulumi.set(self, "labels", value)
268
+
269
+ @property
270
+ @pulumi.getter
271
+ def location(self) -> Optional[pulumi.Input[str]]:
272
+ """
273
+ The location of the regional parameter. eg us-central1
274
+ """
275
+ return pulumi.get(self, "location")
276
+
277
+ @location.setter
278
+ def location(self, value: Optional[pulumi.Input[str]]):
279
+ pulumi.set(self, "location", value)
280
+
281
+ @property
282
+ @pulumi.getter
283
+ def name(self) -> Optional[pulumi.Input[str]]:
284
+ """
285
+ The resource name of the regional Parameter. Format:
286
+ `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
287
+ """
288
+ return pulumi.get(self, "name")
289
+
290
+ @name.setter
291
+ def name(self, value: Optional[pulumi.Input[str]]):
292
+ pulumi.set(self, "name", value)
293
+
294
+ @property
295
+ @pulumi.getter(name="parameterId")
296
+ def parameter_id(self) -> Optional[pulumi.Input[str]]:
297
+ """
298
+ This must be unique within the project.
299
+
300
+
301
+ - - -
302
+ """
303
+ return pulumi.get(self, "parameter_id")
304
+
305
+ @parameter_id.setter
306
+ def parameter_id(self, value: Optional[pulumi.Input[str]]):
307
+ pulumi.set(self, "parameter_id", value)
308
+
309
+ @property
310
+ @pulumi.getter(name="policyMembers")
311
+ def policy_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegionalParameterPolicyMemberArgs']]]]:
312
+ """
313
+ An object containing a unique resource identity tied to the regional parameter.
314
+ Structure is documented below.
315
+ """
316
+ return pulumi.get(self, "policy_members")
317
+
318
+ @policy_members.setter
319
+ def policy_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RegionalParameterPolicyMemberArgs']]]]):
320
+ pulumi.set(self, "policy_members", value)
321
+
322
+ @property
323
+ @pulumi.getter
324
+ def project(self) -> Optional[pulumi.Input[str]]:
325
+ """
326
+ The ID of the project in which the resource belongs.
327
+ If it is not provided, the provider project is used.
328
+ """
329
+ return pulumi.get(self, "project")
330
+
331
+ @project.setter
332
+ def project(self, value: Optional[pulumi.Input[str]]):
333
+ pulumi.set(self, "project", value)
334
+
335
+ @property
336
+ @pulumi.getter(name="pulumiLabels")
337
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
338
+ """
339
+ The combination of labels configured directly on the resource
340
+ and default labels configured on the provider.
341
+ """
342
+ return pulumi.get(self, "pulumi_labels")
343
+
344
+ @pulumi_labels.setter
345
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
346
+ pulumi.set(self, "pulumi_labels", value)
347
+
348
+ @property
349
+ @pulumi.getter(name="updateTime")
350
+ def update_time(self) -> Optional[pulumi.Input[str]]:
351
+ """
352
+ The time at which the regional Parameter was updated.
353
+ """
354
+ return pulumi.get(self, "update_time")
355
+
356
+ @update_time.setter
357
+ def update_time(self, value: Optional[pulumi.Input[str]]):
358
+ pulumi.set(self, "update_time", value)
359
+
360
+
361
+ class RegionalParameter(pulumi.CustomResource):
362
+ @overload
363
+ def __init__(__self__,
364
+ resource_name: str,
365
+ opts: Optional[pulumi.ResourceOptions] = None,
366
+ format: Optional[pulumi.Input[str]] = None,
367
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
368
+ location: Optional[pulumi.Input[str]] = None,
369
+ parameter_id: Optional[pulumi.Input[str]] = None,
370
+ project: Optional[pulumi.Input[str]] = None,
371
+ __props__=None):
372
+ """
373
+ ## Example Usage
374
+
375
+ ### Regional Parameter Basic
376
+
377
+ ```python
378
+ import pulumi
379
+ import pulumi_gcp as gcp
380
+
381
+ regional_parameter_basic = gcp.parametermanager.RegionalParameter("regional-parameter-basic",
382
+ parameter_id="regional_parameter",
383
+ location="us-central1")
384
+ ```
385
+ ### Regional Parameter With Format
386
+
387
+ ```python
388
+ import pulumi
389
+ import pulumi_gcp as gcp
390
+
391
+ regional_parameter_with_format = gcp.parametermanager.RegionalParameter("regional-parameter-with-format",
392
+ parameter_id="regional_parameter",
393
+ location="us-central1",
394
+ format="JSON")
395
+ ```
396
+ ### Regional Parameter With Labels
397
+
398
+ ```python
399
+ import pulumi
400
+ import pulumi_gcp as gcp
401
+
402
+ regional_parameter_with_labels = gcp.parametermanager.RegionalParameter("regional-parameter-with-labels",
403
+ parameter_id="regional_parameter",
404
+ location="us-central1",
405
+ labels={
406
+ "key1": "val1",
407
+ "key2": "val2",
408
+ "key3": "val3",
409
+ "key4": "val4",
410
+ "key5": "val5",
411
+ })
412
+ ```
413
+
414
+ ## Import
415
+
416
+ RegionalParameter can be imported using any of these accepted formats:
417
+
418
+ * `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
419
+
420
+ * `{{project}}/{{location}}/{{parameter_id}}`
421
+
422
+ * `{{location}}/{{parameter_id}}`
423
+
424
+ When using the `pulumi import` command, RegionalParameter can be imported using one of the formats above. For example:
425
+
426
+ ```sh
427
+ $ pulumi import gcp:parametermanager/regionalParameter:RegionalParameter default projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}
428
+ ```
429
+
430
+ ```sh
431
+ $ pulumi import gcp:parametermanager/regionalParameter:RegionalParameter default {{project}}/{{location}}/{{parameter_id}}
432
+ ```
433
+
434
+ ```sh
435
+ $ pulumi import gcp:parametermanager/regionalParameter:RegionalParameter default {{location}}/{{parameter_id}}
436
+ ```
437
+
438
+ :param str resource_name: The name of the resource.
439
+ :param pulumi.ResourceOptions opts: Options for the resource.
440
+ :param pulumi.Input[str] format: The format type of the regional parameter.
441
+ Default value is `UNFORMATTED`.
442
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
443
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this regional Parameter.
444
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
445
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
446
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
447
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
448
+ No more than 64 labels can be assigned to a given resource.
449
+ An object containing a list of "key": value pairs. Example:
450
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
451
+
452
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
453
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
454
+ :param pulumi.Input[str] location: The location of the regional parameter. eg us-central1
455
+ :param pulumi.Input[str] parameter_id: This must be unique within the project.
456
+
457
+
458
+ - - -
459
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
460
+ If it is not provided, the provider project is used.
461
+ """
462
+ ...
463
+ @overload
464
+ def __init__(__self__,
465
+ resource_name: str,
466
+ args: RegionalParameterArgs,
467
+ opts: Optional[pulumi.ResourceOptions] = None):
468
+ """
469
+ ## Example Usage
470
+
471
+ ### Regional Parameter Basic
472
+
473
+ ```python
474
+ import pulumi
475
+ import pulumi_gcp as gcp
476
+
477
+ regional_parameter_basic = gcp.parametermanager.RegionalParameter("regional-parameter-basic",
478
+ parameter_id="regional_parameter",
479
+ location="us-central1")
480
+ ```
481
+ ### Regional Parameter With Format
482
+
483
+ ```python
484
+ import pulumi
485
+ import pulumi_gcp as gcp
486
+
487
+ regional_parameter_with_format = gcp.parametermanager.RegionalParameter("regional-parameter-with-format",
488
+ parameter_id="regional_parameter",
489
+ location="us-central1",
490
+ format="JSON")
491
+ ```
492
+ ### Regional Parameter With Labels
493
+
494
+ ```python
495
+ import pulumi
496
+ import pulumi_gcp as gcp
497
+
498
+ regional_parameter_with_labels = gcp.parametermanager.RegionalParameter("regional-parameter-with-labels",
499
+ parameter_id="regional_parameter",
500
+ location="us-central1",
501
+ labels={
502
+ "key1": "val1",
503
+ "key2": "val2",
504
+ "key3": "val3",
505
+ "key4": "val4",
506
+ "key5": "val5",
507
+ })
508
+ ```
509
+
510
+ ## Import
511
+
512
+ RegionalParameter can be imported using any of these accepted formats:
513
+
514
+ * `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
515
+
516
+ * `{{project}}/{{location}}/{{parameter_id}}`
517
+
518
+ * `{{location}}/{{parameter_id}}`
519
+
520
+ When using the `pulumi import` command, RegionalParameter can be imported using one of the formats above. For example:
521
+
522
+ ```sh
523
+ $ pulumi import gcp:parametermanager/regionalParameter:RegionalParameter default projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}
524
+ ```
525
+
526
+ ```sh
527
+ $ pulumi import gcp:parametermanager/regionalParameter:RegionalParameter default {{project}}/{{location}}/{{parameter_id}}
528
+ ```
529
+
530
+ ```sh
531
+ $ pulumi import gcp:parametermanager/regionalParameter:RegionalParameter default {{location}}/{{parameter_id}}
532
+ ```
533
+
534
+ :param str resource_name: The name of the resource.
535
+ :param RegionalParameterArgs args: The arguments to use to populate this resource's properties.
536
+ :param pulumi.ResourceOptions opts: Options for the resource.
537
+ """
538
+ ...
539
+ def __init__(__self__, resource_name: str, *args, **kwargs):
540
+ resource_args, opts = _utilities.get_resource_args_opts(RegionalParameterArgs, pulumi.ResourceOptions, *args, **kwargs)
541
+ if resource_args is not None:
542
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
543
+ else:
544
+ __self__._internal_init(resource_name, *args, **kwargs)
545
+
546
+ def _internal_init(__self__,
547
+ resource_name: str,
548
+ opts: Optional[pulumi.ResourceOptions] = None,
549
+ format: Optional[pulumi.Input[str]] = None,
550
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
551
+ location: Optional[pulumi.Input[str]] = None,
552
+ parameter_id: Optional[pulumi.Input[str]] = None,
553
+ project: Optional[pulumi.Input[str]] = None,
554
+ __props__=None):
555
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
556
+ if not isinstance(opts, pulumi.ResourceOptions):
557
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
558
+ if opts.id is None:
559
+ if __props__ is not None:
560
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
561
+ __props__ = RegionalParameterArgs.__new__(RegionalParameterArgs)
562
+
563
+ __props__.__dict__["format"] = format
564
+ __props__.__dict__["labels"] = labels
565
+ if location is None and not opts.urn:
566
+ raise TypeError("Missing required property 'location'")
567
+ __props__.__dict__["location"] = location
568
+ if parameter_id is None and not opts.urn:
569
+ raise TypeError("Missing required property 'parameter_id'")
570
+ __props__.__dict__["parameter_id"] = parameter_id
571
+ __props__.__dict__["project"] = project
572
+ __props__.__dict__["create_time"] = None
573
+ __props__.__dict__["effective_labels"] = None
574
+ __props__.__dict__["name"] = None
575
+ __props__.__dict__["policy_members"] = None
576
+ __props__.__dict__["pulumi_labels"] = None
577
+ __props__.__dict__["update_time"] = None
578
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
579
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
580
+ super(RegionalParameter, __self__).__init__(
581
+ 'gcp:parametermanager/regionalParameter:RegionalParameter',
582
+ resource_name,
583
+ __props__,
584
+ opts)
585
+
586
+ @staticmethod
587
+ def get(resource_name: str,
588
+ id: pulumi.Input[str],
589
+ opts: Optional[pulumi.ResourceOptions] = None,
590
+ create_time: Optional[pulumi.Input[str]] = None,
591
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
592
+ format: Optional[pulumi.Input[str]] = None,
593
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
594
+ location: Optional[pulumi.Input[str]] = None,
595
+ name: Optional[pulumi.Input[str]] = None,
596
+ parameter_id: Optional[pulumi.Input[str]] = None,
597
+ policy_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionalParameterPolicyMemberArgs', 'RegionalParameterPolicyMemberArgsDict']]]]] = None,
598
+ project: Optional[pulumi.Input[str]] = None,
599
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
600
+ update_time: Optional[pulumi.Input[str]] = None) -> 'RegionalParameter':
601
+ """
602
+ Get an existing RegionalParameter resource's state with the given name, id, and optional extra
603
+ properties used to qualify the lookup.
604
+
605
+ :param str resource_name: The unique name of the resulting resource.
606
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
607
+ :param pulumi.ResourceOptions opts: Options for the resource.
608
+ :param pulumi.Input[str] create_time: The time at which the regional Parameter was created.
609
+ :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.
610
+ :param pulumi.Input[str] format: The format type of the regional parameter.
611
+ Default value is `UNFORMATTED`.
612
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
613
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this regional Parameter.
614
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
615
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
616
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
617
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
618
+ No more than 64 labels can be assigned to a given resource.
619
+ An object containing a list of "key": value pairs. Example:
620
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
621
+
622
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
623
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
624
+ :param pulumi.Input[str] location: The location of the regional parameter. eg us-central1
625
+ :param pulumi.Input[str] name: The resource name of the regional Parameter. Format:
626
+ `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
627
+ :param pulumi.Input[str] parameter_id: This must be unique within the project.
628
+
629
+
630
+ - - -
631
+ :param pulumi.Input[Sequence[pulumi.Input[Union['RegionalParameterPolicyMemberArgs', 'RegionalParameterPolicyMemberArgsDict']]]] policy_members: An object containing a unique resource identity tied to the regional parameter.
632
+ Structure is documented below.
633
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
634
+ If it is not provided, the provider project is used.
635
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
636
+ and default labels configured on the provider.
637
+ :param pulumi.Input[str] update_time: The time at which the regional Parameter was updated.
638
+ """
639
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
640
+
641
+ __props__ = _RegionalParameterState.__new__(_RegionalParameterState)
642
+
643
+ __props__.__dict__["create_time"] = create_time
644
+ __props__.__dict__["effective_labels"] = effective_labels
645
+ __props__.__dict__["format"] = format
646
+ __props__.__dict__["labels"] = labels
647
+ __props__.__dict__["location"] = location
648
+ __props__.__dict__["name"] = name
649
+ __props__.__dict__["parameter_id"] = parameter_id
650
+ __props__.__dict__["policy_members"] = policy_members
651
+ __props__.__dict__["project"] = project
652
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
653
+ __props__.__dict__["update_time"] = update_time
654
+ return RegionalParameter(resource_name, opts=opts, __props__=__props__)
655
+
656
+ @property
657
+ @pulumi.getter(name="createTime")
658
+ def create_time(self) -> pulumi.Output[str]:
659
+ """
660
+ The time at which the regional Parameter was created.
661
+ """
662
+ return pulumi.get(self, "create_time")
663
+
664
+ @property
665
+ @pulumi.getter(name="effectiveLabels")
666
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
667
+ """
668
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
669
+ """
670
+ return pulumi.get(self, "effective_labels")
671
+
672
+ @property
673
+ @pulumi.getter
674
+ def format(self) -> pulumi.Output[Optional[str]]:
675
+ """
676
+ The format type of the regional parameter.
677
+ Default value is `UNFORMATTED`.
678
+ Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
679
+ """
680
+ return pulumi.get(self, "format")
681
+
682
+ @property
683
+ @pulumi.getter
684
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
685
+ """
686
+ The labels assigned to this regional Parameter.
687
+ Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
688
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
689
+ Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
690
+ and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
691
+ No more than 64 labels can be assigned to a given resource.
692
+ An object containing a list of "key": value pairs. Example:
693
+ { "name": "wrench", "mass": "1.3kg", "count": "3" }.
694
+
695
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
696
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
697
+ """
698
+ return pulumi.get(self, "labels")
699
+
700
+ @property
701
+ @pulumi.getter
702
+ def location(self) -> pulumi.Output[str]:
703
+ """
704
+ The location of the regional parameter. eg us-central1
705
+ """
706
+ return pulumi.get(self, "location")
707
+
708
+ @property
709
+ @pulumi.getter
710
+ def name(self) -> pulumi.Output[str]:
711
+ """
712
+ The resource name of the regional Parameter. Format:
713
+ `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
714
+ """
715
+ return pulumi.get(self, "name")
716
+
717
+ @property
718
+ @pulumi.getter(name="parameterId")
719
+ def parameter_id(self) -> pulumi.Output[str]:
720
+ """
721
+ This must be unique within the project.
722
+
723
+
724
+ - - -
725
+ """
726
+ return pulumi.get(self, "parameter_id")
727
+
728
+ @property
729
+ @pulumi.getter(name="policyMembers")
730
+ def policy_members(self) -> pulumi.Output[Sequence['outputs.RegionalParameterPolicyMember']]:
731
+ """
732
+ An object containing a unique resource identity tied to the regional parameter.
733
+ Structure is documented below.
734
+ """
735
+ return pulumi.get(self, "policy_members")
736
+
737
+ @property
738
+ @pulumi.getter
739
+ def project(self) -> pulumi.Output[str]:
740
+ """
741
+ The ID of the project in which the resource belongs.
742
+ If it is not provided, the provider project is used.
743
+ """
744
+ return pulumi.get(self, "project")
745
+
746
+ @property
747
+ @pulumi.getter(name="pulumiLabels")
748
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
749
+ """
750
+ The combination of labels configured directly on the resource
751
+ and default labels configured on the provider.
752
+ """
753
+ return pulumi.get(self, "pulumi_labels")
754
+
755
+ @property
756
+ @pulumi.getter(name="updateTime")
757
+ def update_time(self) -> pulumi.Output[str]:
758
+ """
759
+ The time at which the regional Parameter was updated.
760
+ """
761
+ return pulumi.get(self, "update_time")
762
+