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