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,788 @@
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__ = ['ReferenceListArgs', 'ReferenceList']
20
+
21
+ @pulumi.input_type
22
+ class ReferenceListArgs:
23
+ def __init__(__self__, *,
24
+ description: pulumi.Input[str],
25
+ entries: pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]],
26
+ instance: pulumi.Input[str],
27
+ location: pulumi.Input[str],
28
+ reference_list_id: pulumi.Input[str],
29
+ syntax_type: pulumi.Input[str],
30
+ project: Optional[pulumi.Input[str]] = None):
31
+ """
32
+ The set of arguments for constructing a ReferenceList resource.
33
+ :param pulumi.Input[str] description: Required. A user-provided description of the reference list.
34
+ :param pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]] entries: Required. The entries of the reference list.
35
+ When listed, they are returned in the order that was specified at creation
36
+ or update. The combined size of the values of the reference list may not
37
+ exceed 6MB.
38
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
39
+ Structure is documented below.
40
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
41
+ :param pulumi.Input[str] location: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
42
+ :param pulumi.Input[str] reference_list_id: Required. The ID to use for the reference list. This is also the display name for
43
+ the reference list. It must satisfy the following requirements:
44
+ - Starts with letter.
45
+ - Contains only letters, numbers and underscore.
46
+ - Has length < 256.
47
+ - Must be unique.
48
+ :param pulumi.Input[str] syntax_type: Possible values:
49
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
50
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
51
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
52
+ """
53
+ pulumi.set(__self__, "description", description)
54
+ pulumi.set(__self__, "entries", entries)
55
+ pulumi.set(__self__, "instance", instance)
56
+ pulumi.set(__self__, "location", location)
57
+ pulumi.set(__self__, "reference_list_id", reference_list_id)
58
+ pulumi.set(__self__, "syntax_type", syntax_type)
59
+ if project is not None:
60
+ pulumi.set(__self__, "project", project)
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def description(self) -> pulumi.Input[str]:
65
+ """
66
+ Required. A user-provided description of the reference list.
67
+ """
68
+ return pulumi.get(self, "description")
69
+
70
+ @description.setter
71
+ def description(self, value: pulumi.Input[str]):
72
+ pulumi.set(self, "description", value)
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def entries(self) -> pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]]:
77
+ """
78
+ Required. The entries of the reference list.
79
+ When listed, they are returned in the order that was specified at creation
80
+ or update. The combined size of the values of the reference list may not
81
+ exceed 6MB.
82
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
83
+ Structure is documented below.
84
+ """
85
+ return pulumi.get(self, "entries")
86
+
87
+ @entries.setter
88
+ def entries(self, value: pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]]):
89
+ pulumi.set(self, "entries", value)
90
+
91
+ @property
92
+ @pulumi.getter
93
+ def instance(self) -> pulumi.Input[str]:
94
+ """
95
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
96
+ """
97
+ return pulumi.get(self, "instance")
98
+
99
+ @instance.setter
100
+ def instance(self, value: pulumi.Input[str]):
101
+ pulumi.set(self, "instance", value)
102
+
103
+ @property
104
+ @pulumi.getter
105
+ def location(self) -> pulumi.Input[str]:
106
+ """
107
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
108
+ """
109
+ return pulumi.get(self, "location")
110
+
111
+ @location.setter
112
+ def location(self, value: pulumi.Input[str]):
113
+ pulumi.set(self, "location", value)
114
+
115
+ @property
116
+ @pulumi.getter(name="referenceListId")
117
+ def reference_list_id(self) -> pulumi.Input[str]:
118
+ """
119
+ Required. The ID to use for the reference list. This is also the display name for
120
+ the reference list. It must satisfy the following requirements:
121
+ - Starts with letter.
122
+ - Contains only letters, numbers and underscore.
123
+ - Has length < 256.
124
+ - Must be unique.
125
+ """
126
+ return pulumi.get(self, "reference_list_id")
127
+
128
+ @reference_list_id.setter
129
+ def reference_list_id(self, value: pulumi.Input[str]):
130
+ pulumi.set(self, "reference_list_id", value)
131
+
132
+ @property
133
+ @pulumi.getter(name="syntaxType")
134
+ def syntax_type(self) -> pulumi.Input[str]:
135
+ """
136
+ Possible values:
137
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
138
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
139
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
140
+ """
141
+ return pulumi.get(self, "syntax_type")
142
+
143
+ @syntax_type.setter
144
+ def syntax_type(self, value: pulumi.Input[str]):
145
+ pulumi.set(self, "syntax_type", value)
146
+
147
+ @property
148
+ @pulumi.getter
149
+ def project(self) -> Optional[pulumi.Input[str]]:
150
+ return pulumi.get(self, "project")
151
+
152
+ @project.setter
153
+ def project(self, value: Optional[pulumi.Input[str]]):
154
+ pulumi.set(self, "project", value)
155
+
156
+
157
+ @pulumi.input_type
158
+ class _ReferenceListState:
159
+ def __init__(__self__, *,
160
+ description: Optional[pulumi.Input[str]] = None,
161
+ display_name: Optional[pulumi.Input[str]] = None,
162
+ entries: Optional[pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]]] = None,
163
+ instance: Optional[pulumi.Input[str]] = None,
164
+ location: Optional[pulumi.Input[str]] = None,
165
+ name: Optional[pulumi.Input[str]] = None,
166
+ project: Optional[pulumi.Input[str]] = None,
167
+ reference_list_id: Optional[pulumi.Input[str]] = None,
168
+ revision_create_time: Optional[pulumi.Input[str]] = None,
169
+ rule_associations_count: Optional[pulumi.Input[int]] = None,
170
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
171
+ scope_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ReferenceListScopeInfoArgs']]]] = None,
172
+ syntax_type: Optional[pulumi.Input[str]] = None):
173
+ """
174
+ Input properties used for looking up and filtering ReferenceList resources.
175
+ :param pulumi.Input[str] description: Required. A user-provided description of the reference list.
176
+ :param pulumi.Input[str] display_name: Output only. The unique display name of the reference list.
177
+ :param pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]] entries: Required. The entries of the reference list.
178
+ When listed, they are returned in the order that was specified at creation
179
+ or update. The combined size of the values of the reference list may not
180
+ exceed 6MB.
181
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
182
+ Structure is documented below.
183
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
184
+ :param pulumi.Input[str] location: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
185
+ :param pulumi.Input[str] name: Output only. The resource name of the reference list.
186
+ Format:
187
+ projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
188
+ :param pulumi.Input[str] reference_list_id: Required. The ID to use for the reference list. This is also the display name for
189
+ the reference list. It must satisfy the following requirements:
190
+ - Starts with letter.
191
+ - Contains only letters, numbers and underscore.
192
+ - Has length < 256.
193
+ - Must be unique.
194
+ :param pulumi.Input[str] revision_create_time: Output only. The timestamp when the reference list was last updated.
195
+ :param pulumi.Input[int] rule_associations_count: Output only. The count of self-authored rules using the reference list.
196
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] rules: Output only. The resource names for the associated self-authored Rules that use this
197
+ reference list.
198
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
199
+ :param pulumi.Input[Sequence[pulumi.Input['ReferenceListScopeInfoArgs']]] scope_infos: ScopeInfo specifies the scope info of the reference list.
200
+ Structure is documented below.
201
+ :param pulumi.Input[str] syntax_type: Possible values:
202
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
203
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
204
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
205
+ """
206
+ if description is not None:
207
+ pulumi.set(__self__, "description", description)
208
+ if display_name is not None:
209
+ pulumi.set(__self__, "display_name", display_name)
210
+ if entries is not None:
211
+ pulumi.set(__self__, "entries", entries)
212
+ if instance is not None:
213
+ pulumi.set(__self__, "instance", instance)
214
+ if location is not None:
215
+ pulumi.set(__self__, "location", location)
216
+ if name is not None:
217
+ pulumi.set(__self__, "name", name)
218
+ if project is not None:
219
+ pulumi.set(__self__, "project", project)
220
+ if reference_list_id is not None:
221
+ pulumi.set(__self__, "reference_list_id", reference_list_id)
222
+ if revision_create_time is not None:
223
+ pulumi.set(__self__, "revision_create_time", revision_create_time)
224
+ if rule_associations_count is not None:
225
+ pulumi.set(__self__, "rule_associations_count", rule_associations_count)
226
+ if rules is not None:
227
+ pulumi.set(__self__, "rules", rules)
228
+ if scope_infos is not None:
229
+ pulumi.set(__self__, "scope_infos", scope_infos)
230
+ if syntax_type is not None:
231
+ pulumi.set(__self__, "syntax_type", syntax_type)
232
+
233
+ @property
234
+ @pulumi.getter
235
+ def description(self) -> Optional[pulumi.Input[str]]:
236
+ """
237
+ Required. A user-provided description of the reference list.
238
+ """
239
+ return pulumi.get(self, "description")
240
+
241
+ @description.setter
242
+ def description(self, value: Optional[pulumi.Input[str]]):
243
+ pulumi.set(self, "description", value)
244
+
245
+ @property
246
+ @pulumi.getter(name="displayName")
247
+ def display_name(self) -> Optional[pulumi.Input[str]]:
248
+ """
249
+ Output only. The unique display name of the reference list.
250
+ """
251
+ return pulumi.get(self, "display_name")
252
+
253
+ @display_name.setter
254
+ def display_name(self, value: Optional[pulumi.Input[str]]):
255
+ pulumi.set(self, "display_name", value)
256
+
257
+ @property
258
+ @pulumi.getter
259
+ def entries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]]]:
260
+ """
261
+ Required. The entries of the reference list.
262
+ When listed, they are returned in the order that was specified at creation
263
+ or update. The combined size of the values of the reference list may not
264
+ exceed 6MB.
265
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
266
+ Structure is documented below.
267
+ """
268
+ return pulumi.get(self, "entries")
269
+
270
+ @entries.setter
271
+ def entries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ReferenceListEntryArgs']]]]):
272
+ pulumi.set(self, "entries", value)
273
+
274
+ @property
275
+ @pulumi.getter
276
+ def instance(self) -> Optional[pulumi.Input[str]]:
277
+ """
278
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
279
+ """
280
+ return pulumi.get(self, "instance")
281
+
282
+ @instance.setter
283
+ def instance(self, value: Optional[pulumi.Input[str]]):
284
+ pulumi.set(self, "instance", value)
285
+
286
+ @property
287
+ @pulumi.getter
288
+ def location(self) -> Optional[pulumi.Input[str]]:
289
+ """
290
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
291
+ """
292
+ return pulumi.get(self, "location")
293
+
294
+ @location.setter
295
+ def location(self, value: Optional[pulumi.Input[str]]):
296
+ pulumi.set(self, "location", value)
297
+
298
+ @property
299
+ @pulumi.getter
300
+ def name(self) -> Optional[pulumi.Input[str]]:
301
+ """
302
+ Output only. The resource name of the reference list.
303
+ Format:
304
+ projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
305
+ """
306
+ return pulumi.get(self, "name")
307
+
308
+ @name.setter
309
+ def name(self, value: Optional[pulumi.Input[str]]):
310
+ pulumi.set(self, "name", value)
311
+
312
+ @property
313
+ @pulumi.getter
314
+ def project(self) -> Optional[pulumi.Input[str]]:
315
+ return pulumi.get(self, "project")
316
+
317
+ @project.setter
318
+ def project(self, value: Optional[pulumi.Input[str]]):
319
+ pulumi.set(self, "project", value)
320
+
321
+ @property
322
+ @pulumi.getter(name="referenceListId")
323
+ def reference_list_id(self) -> Optional[pulumi.Input[str]]:
324
+ """
325
+ Required. The ID to use for the reference list. This is also the display name for
326
+ the reference list. It must satisfy the following requirements:
327
+ - Starts with letter.
328
+ - Contains only letters, numbers and underscore.
329
+ - Has length < 256.
330
+ - Must be unique.
331
+ """
332
+ return pulumi.get(self, "reference_list_id")
333
+
334
+ @reference_list_id.setter
335
+ def reference_list_id(self, value: Optional[pulumi.Input[str]]):
336
+ pulumi.set(self, "reference_list_id", value)
337
+
338
+ @property
339
+ @pulumi.getter(name="revisionCreateTime")
340
+ def revision_create_time(self) -> Optional[pulumi.Input[str]]:
341
+ """
342
+ Output only. The timestamp when the reference list was last updated.
343
+ """
344
+ return pulumi.get(self, "revision_create_time")
345
+
346
+ @revision_create_time.setter
347
+ def revision_create_time(self, value: Optional[pulumi.Input[str]]):
348
+ pulumi.set(self, "revision_create_time", value)
349
+
350
+ @property
351
+ @pulumi.getter(name="ruleAssociationsCount")
352
+ def rule_associations_count(self) -> Optional[pulumi.Input[int]]:
353
+ """
354
+ Output only. The count of self-authored rules using the reference list.
355
+ """
356
+ return pulumi.get(self, "rule_associations_count")
357
+
358
+ @rule_associations_count.setter
359
+ def rule_associations_count(self, value: Optional[pulumi.Input[int]]):
360
+ pulumi.set(self, "rule_associations_count", value)
361
+
362
+ @property
363
+ @pulumi.getter
364
+ def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
365
+ """
366
+ Output only. The resource names for the associated self-authored Rules that use this
367
+ reference list.
368
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
369
+ """
370
+ return pulumi.get(self, "rules")
371
+
372
+ @rules.setter
373
+ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
374
+ pulumi.set(self, "rules", value)
375
+
376
+ @property
377
+ @pulumi.getter(name="scopeInfos")
378
+ def scope_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ReferenceListScopeInfoArgs']]]]:
379
+ """
380
+ ScopeInfo specifies the scope info of the reference list.
381
+ Structure is documented below.
382
+ """
383
+ return pulumi.get(self, "scope_infos")
384
+
385
+ @scope_infos.setter
386
+ def scope_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ReferenceListScopeInfoArgs']]]]):
387
+ pulumi.set(self, "scope_infos", value)
388
+
389
+ @property
390
+ @pulumi.getter(name="syntaxType")
391
+ def syntax_type(self) -> Optional[pulumi.Input[str]]:
392
+ """
393
+ Possible values:
394
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
395
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
396
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
397
+ """
398
+ return pulumi.get(self, "syntax_type")
399
+
400
+ @syntax_type.setter
401
+ def syntax_type(self, value: Optional[pulumi.Input[str]]):
402
+ pulumi.set(self, "syntax_type", value)
403
+
404
+
405
+ class ReferenceList(pulumi.CustomResource):
406
+ @overload
407
+ def __init__(__self__,
408
+ resource_name: str,
409
+ opts: Optional[pulumi.ResourceOptions] = None,
410
+ description: Optional[pulumi.Input[str]] = None,
411
+ entries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListEntryArgs', 'ReferenceListEntryArgsDict']]]]] = None,
412
+ instance: Optional[pulumi.Input[str]] = None,
413
+ location: Optional[pulumi.Input[str]] = None,
414
+ project: Optional[pulumi.Input[str]] = None,
415
+ reference_list_id: Optional[pulumi.Input[str]] = None,
416
+ syntax_type: Optional[pulumi.Input[str]] = None,
417
+ __props__=None):
418
+ """
419
+ ## Example Usage
420
+
421
+ ### Chronicle Referencelist Basic
422
+
423
+ ```python
424
+ import pulumi
425
+ import pulumi_gcp as gcp
426
+
427
+ example = gcp.chronicle.ReferenceList("example",
428
+ location="us",
429
+ instance="00000000-0000-0000-0000-000000000000",
430
+ reference_list_id="reference_list_id",
431
+ description="referencelist-description",
432
+ entries=[{
433
+ "value": "referencelist-entry-value",
434
+ }],
435
+ syntax_type="REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING")
436
+ ```
437
+
438
+ ## Import
439
+
440
+ ReferenceList can be imported using any of these accepted formats:
441
+
442
+ * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/referenceLists/{{reference_list_id}}`
443
+
444
+ * `{{project}}/{{location}}/{{instance}}/{{reference_list_id}}`
445
+
446
+ * `{{location}}/{{instance}}/{{reference_list_id}}`
447
+
448
+ When using the `pulumi import` command, ReferenceList can be imported using one of the formats above. For example:
449
+
450
+ ```sh
451
+ $ pulumi import gcp:chronicle/referenceList:ReferenceList default projects/{{project}}/locations/{{location}}/instances/{{instance}}/referenceLists/{{reference_list_id}}
452
+ ```
453
+
454
+ ```sh
455
+ $ pulumi import gcp:chronicle/referenceList:ReferenceList default {{project}}/{{location}}/{{instance}}/{{reference_list_id}}
456
+ ```
457
+
458
+ ```sh
459
+ $ pulumi import gcp:chronicle/referenceList:ReferenceList default {{location}}/{{instance}}/{{reference_list_id}}
460
+ ```
461
+
462
+ :param str resource_name: The name of the resource.
463
+ :param pulumi.ResourceOptions opts: Options for the resource.
464
+ :param pulumi.Input[str] description: Required. A user-provided description of the reference list.
465
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListEntryArgs', 'ReferenceListEntryArgsDict']]]] entries: Required. The entries of the reference list.
466
+ When listed, they are returned in the order that was specified at creation
467
+ or update. The combined size of the values of the reference list may not
468
+ exceed 6MB.
469
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
470
+ Structure is documented below.
471
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
472
+ :param pulumi.Input[str] location: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
473
+ :param pulumi.Input[str] reference_list_id: Required. The ID to use for the reference list. This is also the display name for
474
+ the reference list. It must satisfy the following requirements:
475
+ - Starts with letter.
476
+ - Contains only letters, numbers and underscore.
477
+ - Has length < 256.
478
+ - Must be unique.
479
+ :param pulumi.Input[str] syntax_type: Possible values:
480
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
481
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
482
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
483
+ """
484
+ ...
485
+ @overload
486
+ def __init__(__self__,
487
+ resource_name: str,
488
+ args: ReferenceListArgs,
489
+ opts: Optional[pulumi.ResourceOptions] = None):
490
+ """
491
+ ## Example Usage
492
+
493
+ ### Chronicle Referencelist Basic
494
+
495
+ ```python
496
+ import pulumi
497
+ import pulumi_gcp as gcp
498
+
499
+ example = gcp.chronicle.ReferenceList("example",
500
+ location="us",
501
+ instance="00000000-0000-0000-0000-000000000000",
502
+ reference_list_id="reference_list_id",
503
+ description="referencelist-description",
504
+ entries=[{
505
+ "value": "referencelist-entry-value",
506
+ }],
507
+ syntax_type="REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING")
508
+ ```
509
+
510
+ ## Import
511
+
512
+ ReferenceList can be imported using any of these accepted formats:
513
+
514
+ * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/referenceLists/{{reference_list_id}}`
515
+
516
+ * `{{project}}/{{location}}/{{instance}}/{{reference_list_id}}`
517
+
518
+ * `{{location}}/{{instance}}/{{reference_list_id}}`
519
+
520
+ When using the `pulumi import` command, ReferenceList can be imported using one of the formats above. For example:
521
+
522
+ ```sh
523
+ $ pulumi import gcp:chronicle/referenceList:ReferenceList default projects/{{project}}/locations/{{location}}/instances/{{instance}}/referenceLists/{{reference_list_id}}
524
+ ```
525
+
526
+ ```sh
527
+ $ pulumi import gcp:chronicle/referenceList:ReferenceList default {{project}}/{{location}}/{{instance}}/{{reference_list_id}}
528
+ ```
529
+
530
+ ```sh
531
+ $ pulumi import gcp:chronicle/referenceList:ReferenceList default {{location}}/{{instance}}/{{reference_list_id}}
532
+ ```
533
+
534
+ :param str resource_name: The name of the resource.
535
+ :param ReferenceListArgs 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(ReferenceListArgs, 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
+ description: Optional[pulumi.Input[str]] = None,
550
+ entries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListEntryArgs', 'ReferenceListEntryArgsDict']]]]] = None,
551
+ instance: Optional[pulumi.Input[str]] = None,
552
+ location: Optional[pulumi.Input[str]] = None,
553
+ project: Optional[pulumi.Input[str]] = None,
554
+ reference_list_id: Optional[pulumi.Input[str]] = None,
555
+ syntax_type: Optional[pulumi.Input[str]] = None,
556
+ __props__=None):
557
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
558
+ if not isinstance(opts, pulumi.ResourceOptions):
559
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
560
+ if opts.id is None:
561
+ if __props__ is not None:
562
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
563
+ __props__ = ReferenceListArgs.__new__(ReferenceListArgs)
564
+
565
+ if description is None and not opts.urn:
566
+ raise TypeError("Missing required property 'description'")
567
+ __props__.__dict__["description"] = description
568
+ if entries is None and not opts.urn:
569
+ raise TypeError("Missing required property 'entries'")
570
+ __props__.__dict__["entries"] = entries
571
+ if instance is None and not opts.urn:
572
+ raise TypeError("Missing required property 'instance'")
573
+ __props__.__dict__["instance"] = instance
574
+ if location is None and not opts.urn:
575
+ raise TypeError("Missing required property 'location'")
576
+ __props__.__dict__["location"] = location
577
+ __props__.__dict__["project"] = project
578
+ if reference_list_id is None and not opts.urn:
579
+ raise TypeError("Missing required property 'reference_list_id'")
580
+ __props__.__dict__["reference_list_id"] = reference_list_id
581
+ if syntax_type is None and not opts.urn:
582
+ raise TypeError("Missing required property 'syntax_type'")
583
+ __props__.__dict__["syntax_type"] = syntax_type
584
+ __props__.__dict__["display_name"] = None
585
+ __props__.__dict__["name"] = None
586
+ __props__.__dict__["revision_create_time"] = None
587
+ __props__.__dict__["rule_associations_count"] = None
588
+ __props__.__dict__["rules"] = None
589
+ __props__.__dict__["scope_infos"] = None
590
+ super(ReferenceList, __self__).__init__(
591
+ 'gcp:chronicle/referenceList:ReferenceList',
592
+ resource_name,
593
+ __props__,
594
+ opts)
595
+
596
+ @staticmethod
597
+ def get(resource_name: str,
598
+ id: pulumi.Input[str],
599
+ opts: Optional[pulumi.ResourceOptions] = None,
600
+ description: Optional[pulumi.Input[str]] = None,
601
+ display_name: Optional[pulumi.Input[str]] = None,
602
+ entries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListEntryArgs', 'ReferenceListEntryArgsDict']]]]] = None,
603
+ instance: Optional[pulumi.Input[str]] = None,
604
+ location: Optional[pulumi.Input[str]] = None,
605
+ name: Optional[pulumi.Input[str]] = None,
606
+ project: Optional[pulumi.Input[str]] = None,
607
+ reference_list_id: Optional[pulumi.Input[str]] = None,
608
+ revision_create_time: Optional[pulumi.Input[str]] = None,
609
+ rule_associations_count: Optional[pulumi.Input[int]] = None,
610
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
611
+ scope_infos: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListScopeInfoArgs', 'ReferenceListScopeInfoArgsDict']]]]] = None,
612
+ syntax_type: Optional[pulumi.Input[str]] = None) -> 'ReferenceList':
613
+ """
614
+ Get an existing ReferenceList resource's state with the given name, id, and optional extra
615
+ properties used to qualify the lookup.
616
+
617
+ :param str resource_name: The unique name of the resulting resource.
618
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
619
+ :param pulumi.ResourceOptions opts: Options for the resource.
620
+ :param pulumi.Input[str] description: Required. A user-provided description of the reference list.
621
+ :param pulumi.Input[str] display_name: Output only. The unique display name of the reference list.
622
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListEntryArgs', 'ReferenceListEntryArgsDict']]]] entries: Required. The entries of the reference list.
623
+ When listed, they are returned in the order that was specified at creation
624
+ or update. The combined size of the values of the reference list may not
625
+ exceed 6MB.
626
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
627
+ Structure is documented below.
628
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
629
+ :param pulumi.Input[str] location: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
630
+ :param pulumi.Input[str] name: Output only. The resource name of the reference list.
631
+ Format:
632
+ projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
633
+ :param pulumi.Input[str] reference_list_id: Required. The ID to use for the reference list. This is also the display name for
634
+ the reference list. It must satisfy the following requirements:
635
+ - Starts with letter.
636
+ - Contains only letters, numbers and underscore.
637
+ - Has length < 256.
638
+ - Must be unique.
639
+ :param pulumi.Input[str] revision_create_time: Output only. The timestamp when the reference list was last updated.
640
+ :param pulumi.Input[int] rule_associations_count: Output only. The count of self-authored rules using the reference list.
641
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] rules: Output only. The resource names for the associated self-authored Rules that use this
642
+ reference list.
643
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
644
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ReferenceListScopeInfoArgs', 'ReferenceListScopeInfoArgsDict']]]] scope_infos: ScopeInfo specifies the scope info of the reference list.
645
+ Structure is documented below.
646
+ :param pulumi.Input[str] syntax_type: Possible values:
647
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
648
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
649
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
650
+ """
651
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
652
+
653
+ __props__ = _ReferenceListState.__new__(_ReferenceListState)
654
+
655
+ __props__.__dict__["description"] = description
656
+ __props__.__dict__["display_name"] = display_name
657
+ __props__.__dict__["entries"] = entries
658
+ __props__.__dict__["instance"] = instance
659
+ __props__.__dict__["location"] = location
660
+ __props__.__dict__["name"] = name
661
+ __props__.__dict__["project"] = project
662
+ __props__.__dict__["reference_list_id"] = reference_list_id
663
+ __props__.__dict__["revision_create_time"] = revision_create_time
664
+ __props__.__dict__["rule_associations_count"] = rule_associations_count
665
+ __props__.__dict__["rules"] = rules
666
+ __props__.__dict__["scope_infos"] = scope_infos
667
+ __props__.__dict__["syntax_type"] = syntax_type
668
+ return ReferenceList(resource_name, opts=opts, __props__=__props__)
669
+
670
+ @property
671
+ @pulumi.getter
672
+ def description(self) -> pulumi.Output[str]:
673
+ """
674
+ Required. A user-provided description of the reference list.
675
+ """
676
+ return pulumi.get(self, "description")
677
+
678
+ @property
679
+ @pulumi.getter(name="displayName")
680
+ def display_name(self) -> pulumi.Output[str]:
681
+ """
682
+ Output only. The unique display name of the reference list.
683
+ """
684
+ return pulumi.get(self, "display_name")
685
+
686
+ @property
687
+ @pulumi.getter
688
+ def entries(self) -> pulumi.Output[Sequence['outputs.ReferenceListEntry']]:
689
+ """
690
+ Required. The entries of the reference list.
691
+ When listed, they are returned in the order that was specified at creation
692
+ or update. The combined size of the values of the reference list may not
693
+ exceed 6MB.
694
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
695
+ Structure is documented below.
696
+ """
697
+ return pulumi.get(self, "entries")
698
+
699
+ @property
700
+ @pulumi.getter
701
+ def instance(self) -> pulumi.Output[str]:
702
+ """
703
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
704
+ """
705
+ return pulumi.get(self, "instance")
706
+
707
+ @property
708
+ @pulumi.getter
709
+ def location(self) -> pulumi.Output[str]:
710
+ """
711
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
712
+ """
713
+ return pulumi.get(self, "location")
714
+
715
+ @property
716
+ @pulumi.getter
717
+ def name(self) -> pulumi.Output[str]:
718
+ """
719
+ Output only. The resource name of the reference list.
720
+ Format:
721
+ projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
722
+ """
723
+ return pulumi.get(self, "name")
724
+
725
+ @property
726
+ @pulumi.getter
727
+ def project(self) -> pulumi.Output[str]:
728
+ return pulumi.get(self, "project")
729
+
730
+ @property
731
+ @pulumi.getter(name="referenceListId")
732
+ def reference_list_id(self) -> pulumi.Output[str]:
733
+ """
734
+ Required. The ID to use for the reference list. This is also the display name for
735
+ the reference list. It must satisfy the following requirements:
736
+ - Starts with letter.
737
+ - Contains only letters, numbers and underscore.
738
+ - Has length < 256.
739
+ - Must be unique.
740
+ """
741
+ return pulumi.get(self, "reference_list_id")
742
+
743
+ @property
744
+ @pulumi.getter(name="revisionCreateTime")
745
+ def revision_create_time(self) -> pulumi.Output[str]:
746
+ """
747
+ Output only. The timestamp when the reference list was last updated.
748
+ """
749
+ return pulumi.get(self, "revision_create_time")
750
+
751
+ @property
752
+ @pulumi.getter(name="ruleAssociationsCount")
753
+ def rule_associations_count(self) -> pulumi.Output[int]:
754
+ """
755
+ Output only. The count of self-authored rules using the reference list.
756
+ """
757
+ return pulumi.get(self, "rule_associations_count")
758
+
759
+ @property
760
+ @pulumi.getter
761
+ def rules(self) -> pulumi.Output[Sequence[str]]:
762
+ """
763
+ Output only. The resource names for the associated self-authored Rules that use this
764
+ reference list.
765
+ This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
766
+ """
767
+ return pulumi.get(self, "rules")
768
+
769
+ @property
770
+ @pulumi.getter(name="scopeInfos")
771
+ def scope_infos(self) -> pulumi.Output[Sequence['outputs.ReferenceListScopeInfo']]:
772
+ """
773
+ ScopeInfo specifies the scope info of the reference list.
774
+ Structure is documented below.
775
+ """
776
+ return pulumi.get(self, "scope_infos")
777
+
778
+ @property
779
+ @pulumi.getter(name="syntaxType")
780
+ def syntax_type(self) -> pulumi.Output[str]:
781
+ """
782
+ Possible values:
783
+ REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING
784
+ REFERENCE_LIST_SYNTAX_TYPE_REGEX
785
+ REFERENCE_LIST_SYNTAX_TYPE_CIDR
786
+ """
787
+ return pulumi.get(self, "syntax_type")
788
+