pulumi-gcp 8.14.0a1736836474__py3-none-any.whl → 8.14.0a1736952890__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/applicationintegration/_inputs.py +3 -3
  3. pulumi_gcp/applicationintegration/outputs.py +2 -2
  4. pulumi_gcp/beyondcorp/__init__.py +1 -0
  5. pulumi_gcp/beyondcorp/_inputs.py +93 -0
  6. pulumi_gcp/beyondcorp/outputs.py +89 -0
  7. pulumi_gcp/beyondcorp/security_gateway.py +670 -0
  8. pulumi_gcp/blockchainnodeengine/_inputs.py +3 -3
  9. pulumi_gcp/blockchainnodeengine/outputs.py +2 -2
  10. pulumi_gcp/certificateauthority/_inputs.py +6 -6
  11. pulumi_gcp/certificateauthority/outputs.py +4 -4
  12. pulumi_gcp/certificatemanager/_inputs.py +3 -3
  13. pulumi_gcp/certificatemanager/outputs.py +2 -2
  14. pulumi_gcp/chronicle/__init__.py +2 -0
  15. pulumi_gcp/chronicle/_inputs.py +388 -0
  16. pulumi_gcp/chronicle/data_access_label.py +690 -0
  17. pulumi_gcp/chronicle/data_access_scope.py +1094 -0
  18. pulumi_gcp/chronicle/outputs.py +322 -0
  19. pulumi_gcp/chronicle/watchlist.py +68 -45
  20. pulumi_gcp/cloudbuild/_inputs.py +3 -3
  21. pulumi_gcp/cloudbuild/outputs.py +2 -2
  22. pulumi_gcp/cloudquota/__init__.py +1 -0
  23. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +336 -0
  24. pulumi_gcp/compute/_inputs.py +33 -33
  25. pulumi_gcp/compute/instance_group_manager.py +9 -9
  26. pulumi_gcp/compute/outputs.py +22 -22
  27. pulumi_gcp/compute/region_instance_group_manager.py +9 -9
  28. pulumi_gcp/datacatalog/_inputs.py +3 -3
  29. pulumi_gcp/datacatalog/outputs.py +2 -2
  30. pulumi_gcp/developerconnect/_inputs.py +910 -42
  31. pulumi_gcp/developerconnect/connection.py +614 -86
  32. pulumi_gcp/developerconnect/git_repository_link.py +4 -0
  33. pulumi_gcp/developerconnect/outputs.py +717 -28
  34. pulumi_gcp/dns/_inputs.py +124 -20
  35. pulumi_gcp/dns/outputs.py +90 -16
  36. pulumi_gcp/dns/record_set.py +82 -0
  37. pulumi_gcp/edgecontainer/_inputs.py +3 -3
  38. pulumi_gcp/edgecontainer/outputs.py +2 -2
  39. pulumi_gcp/gkeonprem/_inputs.py +15 -15
  40. pulumi_gcp/gkeonprem/outputs.py +10 -10
  41. pulumi_gcp/gkeonprem/v_mware_cluster.py +1 -1
  42. pulumi_gcp/iap/_inputs.py +9 -3
  43. pulumi_gcp/iap/outputs.py +6 -2
  44. pulumi_gcp/iap/settings.py +63 -63
  45. pulumi_gcp/identityplatform/_inputs.py +9 -9
  46. pulumi_gcp/identityplatform/outputs.py +6 -6
  47. pulumi_gcp/integrationconnectors/_inputs.py +6 -6
  48. pulumi_gcp/integrationconnectors/outputs.py +4 -4
  49. pulumi_gcp/monitoring/_inputs.py +3 -3
  50. pulumi_gcp/monitoring/outputs.py +2 -2
  51. pulumi_gcp/oracledatabase/_inputs.py +3 -3
  52. pulumi_gcp/oracledatabase/outputs.py +2 -2
  53. pulumi_gcp/pulumi-plugin.json +1 -1
  54. pulumi_gcp/sql/_inputs.py +20 -0
  55. pulumi_gcp/sql/database_instance.py +2 -2
  56. pulumi_gcp/sql/outputs.py +36 -0
  57. pulumi_gcp/transcoder/_inputs.py +6 -6
  58. pulumi_gcp/transcoder/outputs.py +4 -4
  59. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/METADATA +1 -1
  60. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/RECORD +62 -58
  61. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/WHEEL +0 -0
  62. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,690 @@
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
+
17
+ __all__ = ['DataAccessLabelArgs', 'DataAccessLabel']
18
+
19
+ @pulumi.input_type
20
+ class DataAccessLabelArgs:
21
+ def __init__(__self__, *,
22
+ data_access_label_id: pulumi.Input[str],
23
+ instance: pulumi.Input[str],
24
+ location: pulumi.Input[str],
25
+ udm_query: pulumi.Input[str],
26
+ description: Optional[pulumi.Input[str]] = None,
27
+ project: Optional[pulumi.Input[str]] = None):
28
+ """
29
+ The set of arguments for constructing a DataAccessLabel resource.
30
+ :param pulumi.Input[str] data_access_label_id: Required. The ID to use for the data access label, which will become the label's
31
+ display name and the final component of the label's resource name. It must
32
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
33
+ with a letter, and it must not exceed 1000 characters.
34
+
35
+
36
+ - - -
37
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
38
+ :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".
39
+ :param pulumi.Input[str] udm_query: A UDM query over event data.
40
+ :param pulumi.Input[str] description: Optional. A description of the data access label for a human reader.
41
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
42
+ If it is not provided, the provider project is used.
43
+ """
44
+ pulumi.set(__self__, "data_access_label_id", data_access_label_id)
45
+ pulumi.set(__self__, "instance", instance)
46
+ pulumi.set(__self__, "location", location)
47
+ pulumi.set(__self__, "udm_query", udm_query)
48
+ if description is not None:
49
+ pulumi.set(__self__, "description", description)
50
+ if project is not None:
51
+ pulumi.set(__self__, "project", project)
52
+
53
+ @property
54
+ @pulumi.getter(name="dataAccessLabelId")
55
+ def data_access_label_id(self) -> pulumi.Input[str]:
56
+ """
57
+ Required. The ID to use for the data access label, which will become the label's
58
+ display name and the final component of the label's resource name. It must
59
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
60
+ with a letter, and it must not exceed 1000 characters.
61
+
62
+
63
+ - - -
64
+ """
65
+ return pulumi.get(self, "data_access_label_id")
66
+
67
+ @data_access_label_id.setter
68
+ def data_access_label_id(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "data_access_label_id", value)
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def instance(self) -> pulumi.Input[str]:
74
+ """
75
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
76
+ """
77
+ return pulumi.get(self, "instance")
78
+
79
+ @instance.setter
80
+ def instance(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "instance", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def location(self) -> pulumi.Input[str]:
86
+ """
87
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
88
+ """
89
+ return pulumi.get(self, "location")
90
+
91
+ @location.setter
92
+ def location(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "location", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="udmQuery")
97
+ def udm_query(self) -> pulumi.Input[str]:
98
+ """
99
+ A UDM query over event data.
100
+ """
101
+ return pulumi.get(self, "udm_query")
102
+
103
+ @udm_query.setter
104
+ def udm_query(self, value: pulumi.Input[str]):
105
+ pulumi.set(self, "udm_query", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def description(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ Optional. A description of the data access label for a human reader.
112
+ """
113
+ return pulumi.get(self, "description")
114
+
115
+ @description.setter
116
+ def description(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "description", value)
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def project(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ The ID of the project in which the resource belongs.
124
+ If it is not provided, the provider project is used.
125
+ """
126
+ return pulumi.get(self, "project")
127
+
128
+ @project.setter
129
+ def project(self, value: Optional[pulumi.Input[str]]):
130
+ pulumi.set(self, "project", value)
131
+
132
+
133
+ @pulumi.input_type
134
+ class _DataAccessLabelState:
135
+ def __init__(__self__, *,
136
+ author: Optional[pulumi.Input[str]] = None,
137
+ create_time: Optional[pulumi.Input[str]] = None,
138
+ data_access_label_id: Optional[pulumi.Input[str]] = None,
139
+ description: Optional[pulumi.Input[str]] = None,
140
+ display_name: Optional[pulumi.Input[str]] = None,
141
+ instance: Optional[pulumi.Input[str]] = None,
142
+ last_editor: Optional[pulumi.Input[str]] = None,
143
+ location: Optional[pulumi.Input[str]] = None,
144
+ name: Optional[pulumi.Input[str]] = None,
145
+ project: Optional[pulumi.Input[str]] = None,
146
+ udm_query: Optional[pulumi.Input[str]] = None,
147
+ update_time: Optional[pulumi.Input[str]] = None):
148
+ """
149
+ Input properties used for looking up and filtering DataAccessLabel resources.
150
+ :param pulumi.Input[str] author: Output only. The user who created the data access label.
151
+ :param pulumi.Input[str] create_time: Output only. The time at which the data access label was created.
152
+ :param pulumi.Input[str] data_access_label_id: Required. The ID to use for the data access label, which will become the label's
153
+ display name and the final component of the label's resource name. It must
154
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
155
+ with a letter, and it must not exceed 1000 characters.
156
+
157
+
158
+ - - -
159
+ :param pulumi.Input[str] description: Optional. A description of the data access label for a human reader.
160
+ :param pulumi.Input[str] display_name: Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
161
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
162
+ :param pulumi.Input[str] last_editor: Output only. The user who last updated the data access label.
163
+ :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".
164
+ :param pulumi.Input[str] name: The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters.
165
+ Format:
166
+ projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
167
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
168
+ If it is not provided, the provider project is used.
169
+ :param pulumi.Input[str] udm_query: A UDM query over event data.
170
+ :param pulumi.Input[str] update_time: Output only. The time at which the data access label was last updated.
171
+ """
172
+ if author is not None:
173
+ pulumi.set(__self__, "author", author)
174
+ if create_time is not None:
175
+ pulumi.set(__self__, "create_time", create_time)
176
+ if data_access_label_id is not None:
177
+ pulumi.set(__self__, "data_access_label_id", data_access_label_id)
178
+ if description is not None:
179
+ pulumi.set(__self__, "description", description)
180
+ if display_name is not None:
181
+ pulumi.set(__self__, "display_name", display_name)
182
+ if instance is not None:
183
+ pulumi.set(__self__, "instance", instance)
184
+ if last_editor is not None:
185
+ pulumi.set(__self__, "last_editor", last_editor)
186
+ if location is not None:
187
+ pulumi.set(__self__, "location", location)
188
+ if name is not None:
189
+ pulumi.set(__self__, "name", name)
190
+ if project is not None:
191
+ pulumi.set(__self__, "project", project)
192
+ if udm_query is not None:
193
+ pulumi.set(__self__, "udm_query", udm_query)
194
+ if update_time is not None:
195
+ pulumi.set(__self__, "update_time", update_time)
196
+
197
+ @property
198
+ @pulumi.getter
199
+ def author(self) -> Optional[pulumi.Input[str]]:
200
+ """
201
+ Output only. The user who created the data access label.
202
+ """
203
+ return pulumi.get(self, "author")
204
+
205
+ @author.setter
206
+ def author(self, value: Optional[pulumi.Input[str]]):
207
+ pulumi.set(self, "author", value)
208
+
209
+ @property
210
+ @pulumi.getter(name="createTime")
211
+ def create_time(self) -> Optional[pulumi.Input[str]]:
212
+ """
213
+ Output only. The time at which the data access label 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="dataAccessLabelId")
223
+ def data_access_label_id(self) -> Optional[pulumi.Input[str]]:
224
+ """
225
+ Required. The ID to use for the data access label, which will become the label's
226
+ display name and the final component of the label's resource name. It must
227
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
228
+ with a letter, and it must not exceed 1000 characters.
229
+
230
+
231
+ - - -
232
+ """
233
+ return pulumi.get(self, "data_access_label_id")
234
+
235
+ @data_access_label_id.setter
236
+ def data_access_label_id(self, value: Optional[pulumi.Input[str]]):
237
+ pulumi.set(self, "data_access_label_id", value)
238
+
239
+ @property
240
+ @pulumi.getter
241
+ def description(self) -> Optional[pulumi.Input[str]]:
242
+ """
243
+ Optional. A description of the data access label for a human reader.
244
+ """
245
+ return pulumi.get(self, "description")
246
+
247
+ @description.setter
248
+ def description(self, value: Optional[pulumi.Input[str]]):
249
+ pulumi.set(self, "description", value)
250
+
251
+ @property
252
+ @pulumi.getter(name="displayName")
253
+ def display_name(self) -> Optional[pulumi.Input[str]]:
254
+ """
255
+ Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
256
+ """
257
+ return pulumi.get(self, "display_name")
258
+
259
+ @display_name.setter
260
+ def display_name(self, value: Optional[pulumi.Input[str]]):
261
+ pulumi.set(self, "display_name", value)
262
+
263
+ @property
264
+ @pulumi.getter
265
+ def instance(self) -> Optional[pulumi.Input[str]]:
266
+ """
267
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
268
+ """
269
+ return pulumi.get(self, "instance")
270
+
271
+ @instance.setter
272
+ def instance(self, value: Optional[pulumi.Input[str]]):
273
+ pulumi.set(self, "instance", value)
274
+
275
+ @property
276
+ @pulumi.getter(name="lastEditor")
277
+ def last_editor(self) -> Optional[pulumi.Input[str]]:
278
+ """
279
+ Output only. The user who last updated the data access label.
280
+ """
281
+ return pulumi.get(self, "last_editor")
282
+
283
+ @last_editor.setter
284
+ def last_editor(self, value: Optional[pulumi.Input[str]]):
285
+ pulumi.set(self, "last_editor", value)
286
+
287
+ @property
288
+ @pulumi.getter
289
+ def location(self) -> Optional[pulumi.Input[str]]:
290
+ """
291
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
292
+ """
293
+ return pulumi.get(self, "location")
294
+
295
+ @location.setter
296
+ def location(self, value: Optional[pulumi.Input[str]]):
297
+ pulumi.set(self, "location", value)
298
+
299
+ @property
300
+ @pulumi.getter
301
+ def name(self) -> Optional[pulumi.Input[str]]:
302
+ """
303
+ The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters.
304
+ Format:
305
+ projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
306
+ """
307
+ return pulumi.get(self, "name")
308
+
309
+ @name.setter
310
+ def name(self, value: Optional[pulumi.Input[str]]):
311
+ pulumi.set(self, "name", value)
312
+
313
+ @property
314
+ @pulumi.getter
315
+ def project(self) -> Optional[pulumi.Input[str]]:
316
+ """
317
+ The ID of the project in which the resource belongs.
318
+ If it is not provided, the provider project is used.
319
+ """
320
+ return pulumi.get(self, "project")
321
+
322
+ @project.setter
323
+ def project(self, value: Optional[pulumi.Input[str]]):
324
+ pulumi.set(self, "project", value)
325
+
326
+ @property
327
+ @pulumi.getter(name="udmQuery")
328
+ def udm_query(self) -> Optional[pulumi.Input[str]]:
329
+ """
330
+ A UDM query over event data.
331
+ """
332
+ return pulumi.get(self, "udm_query")
333
+
334
+ @udm_query.setter
335
+ def udm_query(self, value: Optional[pulumi.Input[str]]):
336
+ pulumi.set(self, "udm_query", value)
337
+
338
+ @property
339
+ @pulumi.getter(name="updateTime")
340
+ def update_time(self) -> Optional[pulumi.Input[str]]:
341
+ """
342
+ Output only. The time at which the data access label was last updated.
343
+ """
344
+ return pulumi.get(self, "update_time")
345
+
346
+ @update_time.setter
347
+ def update_time(self, value: Optional[pulumi.Input[str]]):
348
+ pulumi.set(self, "update_time", value)
349
+
350
+
351
+ class DataAccessLabel(pulumi.CustomResource):
352
+ @overload
353
+ def __init__(__self__,
354
+ resource_name: str,
355
+ opts: Optional[pulumi.ResourceOptions] = None,
356
+ data_access_label_id: Optional[pulumi.Input[str]] = None,
357
+ description: Optional[pulumi.Input[str]] = None,
358
+ instance: Optional[pulumi.Input[str]] = None,
359
+ location: Optional[pulumi.Input[str]] = None,
360
+ project: Optional[pulumi.Input[str]] = None,
361
+ udm_query: Optional[pulumi.Input[str]] = None,
362
+ __props__=None):
363
+ """
364
+ ## Example Usage
365
+
366
+ ### Chronicle Dataaccesslabel Basic
367
+
368
+ ```python
369
+ import pulumi
370
+ import pulumi_gcp as gcp
371
+
372
+ example = gcp.chronicle.DataAccessLabel("example",
373
+ location="us",
374
+ instance="00000000-0000-0000-0000-000000000000",
375
+ data_access_label_id="label-id",
376
+ udm_query="principal.hostname=\\"google.com\\"",
377
+ description="label-description")
378
+ ```
379
+
380
+ ## Import
381
+
382
+ DataAccessLabel can be imported using any of these accepted formats:
383
+
384
+ * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataAccessLabels/{{data_access_label_id}}`
385
+
386
+ * `{{project}}/{{location}}/{{instance}}/{{data_access_label_id}}`
387
+
388
+ * `{{location}}/{{instance}}/{{data_access_label_id}}`
389
+
390
+ When using the `pulumi import` command, DataAccessLabel can be imported using one of the formats above. For example:
391
+
392
+ ```sh
393
+ $ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataAccessLabels/{{data_access_label_id}}
394
+ ```
395
+
396
+ ```sh
397
+ $ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default {{project}}/{{location}}/{{instance}}/{{data_access_label_id}}
398
+ ```
399
+
400
+ ```sh
401
+ $ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default {{location}}/{{instance}}/{{data_access_label_id}}
402
+ ```
403
+
404
+ :param str resource_name: The name of the resource.
405
+ :param pulumi.ResourceOptions opts: Options for the resource.
406
+ :param pulumi.Input[str] data_access_label_id: Required. The ID to use for the data access label, which will become the label's
407
+ display name and the final component of the label's resource name. It must
408
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
409
+ with a letter, and it must not exceed 1000 characters.
410
+
411
+
412
+ - - -
413
+ :param pulumi.Input[str] description: Optional. A description of the data access label for a human reader.
414
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
415
+ :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".
416
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
417
+ If it is not provided, the provider project is used.
418
+ :param pulumi.Input[str] udm_query: A UDM query over event data.
419
+ """
420
+ ...
421
+ @overload
422
+ def __init__(__self__,
423
+ resource_name: str,
424
+ args: DataAccessLabelArgs,
425
+ opts: Optional[pulumi.ResourceOptions] = None):
426
+ """
427
+ ## Example Usage
428
+
429
+ ### Chronicle Dataaccesslabel Basic
430
+
431
+ ```python
432
+ import pulumi
433
+ import pulumi_gcp as gcp
434
+
435
+ example = gcp.chronicle.DataAccessLabel("example",
436
+ location="us",
437
+ instance="00000000-0000-0000-0000-000000000000",
438
+ data_access_label_id="label-id",
439
+ udm_query="principal.hostname=\\"google.com\\"",
440
+ description="label-description")
441
+ ```
442
+
443
+ ## Import
444
+
445
+ DataAccessLabel can be imported using any of these accepted formats:
446
+
447
+ * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataAccessLabels/{{data_access_label_id}}`
448
+
449
+ * `{{project}}/{{location}}/{{instance}}/{{data_access_label_id}}`
450
+
451
+ * `{{location}}/{{instance}}/{{data_access_label_id}}`
452
+
453
+ When using the `pulumi import` command, DataAccessLabel can be imported using one of the formats above. For example:
454
+
455
+ ```sh
456
+ $ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataAccessLabels/{{data_access_label_id}}
457
+ ```
458
+
459
+ ```sh
460
+ $ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default {{project}}/{{location}}/{{instance}}/{{data_access_label_id}}
461
+ ```
462
+
463
+ ```sh
464
+ $ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default {{location}}/{{instance}}/{{data_access_label_id}}
465
+ ```
466
+
467
+ :param str resource_name: The name of the resource.
468
+ :param DataAccessLabelArgs args: The arguments to use to populate this resource's properties.
469
+ :param pulumi.ResourceOptions opts: Options for the resource.
470
+ """
471
+ ...
472
+ def __init__(__self__, resource_name: str, *args, **kwargs):
473
+ resource_args, opts = _utilities.get_resource_args_opts(DataAccessLabelArgs, pulumi.ResourceOptions, *args, **kwargs)
474
+ if resource_args is not None:
475
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
476
+ else:
477
+ __self__._internal_init(resource_name, *args, **kwargs)
478
+
479
+ def _internal_init(__self__,
480
+ resource_name: str,
481
+ opts: Optional[pulumi.ResourceOptions] = None,
482
+ data_access_label_id: Optional[pulumi.Input[str]] = None,
483
+ description: Optional[pulumi.Input[str]] = None,
484
+ instance: Optional[pulumi.Input[str]] = None,
485
+ location: Optional[pulumi.Input[str]] = None,
486
+ project: Optional[pulumi.Input[str]] = None,
487
+ udm_query: Optional[pulumi.Input[str]] = None,
488
+ __props__=None):
489
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
490
+ if not isinstance(opts, pulumi.ResourceOptions):
491
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
492
+ if opts.id is None:
493
+ if __props__ is not None:
494
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
495
+ __props__ = DataAccessLabelArgs.__new__(DataAccessLabelArgs)
496
+
497
+ if data_access_label_id is None and not opts.urn:
498
+ raise TypeError("Missing required property 'data_access_label_id'")
499
+ __props__.__dict__["data_access_label_id"] = data_access_label_id
500
+ __props__.__dict__["description"] = description
501
+ if instance is None and not opts.urn:
502
+ raise TypeError("Missing required property 'instance'")
503
+ __props__.__dict__["instance"] = instance
504
+ if location is None and not opts.urn:
505
+ raise TypeError("Missing required property 'location'")
506
+ __props__.__dict__["location"] = location
507
+ __props__.__dict__["project"] = project
508
+ if udm_query is None and not opts.urn:
509
+ raise TypeError("Missing required property 'udm_query'")
510
+ __props__.__dict__["udm_query"] = udm_query
511
+ __props__.__dict__["author"] = None
512
+ __props__.__dict__["create_time"] = None
513
+ __props__.__dict__["display_name"] = None
514
+ __props__.__dict__["last_editor"] = None
515
+ __props__.__dict__["name"] = None
516
+ __props__.__dict__["update_time"] = None
517
+ super(DataAccessLabel, __self__).__init__(
518
+ 'gcp:chronicle/dataAccessLabel:DataAccessLabel',
519
+ resource_name,
520
+ __props__,
521
+ opts)
522
+
523
+ @staticmethod
524
+ def get(resource_name: str,
525
+ id: pulumi.Input[str],
526
+ opts: Optional[pulumi.ResourceOptions] = None,
527
+ author: Optional[pulumi.Input[str]] = None,
528
+ create_time: Optional[pulumi.Input[str]] = None,
529
+ data_access_label_id: Optional[pulumi.Input[str]] = None,
530
+ description: Optional[pulumi.Input[str]] = None,
531
+ display_name: Optional[pulumi.Input[str]] = None,
532
+ instance: Optional[pulumi.Input[str]] = None,
533
+ last_editor: Optional[pulumi.Input[str]] = None,
534
+ location: Optional[pulumi.Input[str]] = None,
535
+ name: Optional[pulumi.Input[str]] = None,
536
+ project: Optional[pulumi.Input[str]] = None,
537
+ udm_query: Optional[pulumi.Input[str]] = None,
538
+ update_time: Optional[pulumi.Input[str]] = None) -> 'DataAccessLabel':
539
+ """
540
+ Get an existing DataAccessLabel resource's state with the given name, id, and optional extra
541
+ properties used to qualify the lookup.
542
+
543
+ :param str resource_name: The unique name of the resulting resource.
544
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
545
+ :param pulumi.ResourceOptions opts: Options for the resource.
546
+ :param pulumi.Input[str] author: Output only. The user who created the data access label.
547
+ :param pulumi.Input[str] create_time: Output only. The time at which the data access label was created.
548
+ :param pulumi.Input[str] data_access_label_id: Required. The ID to use for the data access label, which will become the label's
549
+ display name and the final component of the label's resource name. It must
550
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
551
+ with a letter, and it must not exceed 1000 characters.
552
+
553
+
554
+ - - -
555
+ :param pulumi.Input[str] description: Optional. A description of the data access label for a human reader.
556
+ :param pulumi.Input[str] display_name: Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
557
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
558
+ :param pulumi.Input[str] last_editor: Output only. The user who last updated the data access label.
559
+ :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".
560
+ :param pulumi.Input[str] name: The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters.
561
+ Format:
562
+ projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
563
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
564
+ If it is not provided, the provider project is used.
565
+ :param pulumi.Input[str] udm_query: A UDM query over event data.
566
+ :param pulumi.Input[str] update_time: Output only. The time at which the data access label was last updated.
567
+ """
568
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
569
+
570
+ __props__ = _DataAccessLabelState.__new__(_DataAccessLabelState)
571
+
572
+ __props__.__dict__["author"] = author
573
+ __props__.__dict__["create_time"] = create_time
574
+ __props__.__dict__["data_access_label_id"] = data_access_label_id
575
+ __props__.__dict__["description"] = description
576
+ __props__.__dict__["display_name"] = display_name
577
+ __props__.__dict__["instance"] = instance
578
+ __props__.__dict__["last_editor"] = last_editor
579
+ __props__.__dict__["location"] = location
580
+ __props__.__dict__["name"] = name
581
+ __props__.__dict__["project"] = project
582
+ __props__.__dict__["udm_query"] = udm_query
583
+ __props__.__dict__["update_time"] = update_time
584
+ return DataAccessLabel(resource_name, opts=opts, __props__=__props__)
585
+
586
+ @property
587
+ @pulumi.getter
588
+ def author(self) -> pulumi.Output[str]:
589
+ """
590
+ Output only. The user who created the data access label.
591
+ """
592
+ return pulumi.get(self, "author")
593
+
594
+ @property
595
+ @pulumi.getter(name="createTime")
596
+ def create_time(self) -> pulumi.Output[str]:
597
+ """
598
+ Output only. The time at which the data access label was created.
599
+ """
600
+ return pulumi.get(self, "create_time")
601
+
602
+ @property
603
+ @pulumi.getter(name="dataAccessLabelId")
604
+ def data_access_label_id(self) -> pulumi.Output[str]:
605
+ """
606
+ Required. The ID to use for the data access label, which will become the label's
607
+ display name and the final component of the label's resource name. It must
608
+ only contain ASCII lowercase letters, numbers, and dashes; it must begin
609
+ with a letter, and it must not exceed 1000 characters.
610
+
611
+
612
+ - - -
613
+ """
614
+ return pulumi.get(self, "data_access_label_id")
615
+
616
+ @property
617
+ @pulumi.getter
618
+ def description(self) -> pulumi.Output[Optional[str]]:
619
+ """
620
+ Optional. A description of the data access label for a human reader.
621
+ """
622
+ return pulumi.get(self, "description")
623
+
624
+ @property
625
+ @pulumi.getter(name="displayName")
626
+ def display_name(self) -> pulumi.Output[str]:
627
+ """
628
+ Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
629
+ """
630
+ return pulumi.get(self, "display_name")
631
+
632
+ @property
633
+ @pulumi.getter
634
+ def instance(self) -> pulumi.Output[str]:
635
+ """
636
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
637
+ """
638
+ return pulumi.get(self, "instance")
639
+
640
+ @property
641
+ @pulumi.getter(name="lastEditor")
642
+ def last_editor(self) -> pulumi.Output[str]:
643
+ """
644
+ Output only. The user who last updated the data access label.
645
+ """
646
+ return pulumi.get(self, "last_editor")
647
+
648
+ @property
649
+ @pulumi.getter
650
+ def location(self) -> pulumi.Output[str]:
651
+ """
652
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
653
+ """
654
+ return pulumi.get(self, "location")
655
+
656
+ @property
657
+ @pulumi.getter
658
+ def name(self) -> pulumi.Output[str]:
659
+ """
660
+ The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters.
661
+ Format:
662
+ projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
663
+ """
664
+ return pulumi.get(self, "name")
665
+
666
+ @property
667
+ @pulumi.getter
668
+ def project(self) -> pulumi.Output[str]:
669
+ """
670
+ The ID of the project in which the resource belongs.
671
+ If it is not provided, the provider project is used.
672
+ """
673
+ return pulumi.get(self, "project")
674
+
675
+ @property
676
+ @pulumi.getter(name="udmQuery")
677
+ def udm_query(self) -> pulumi.Output[str]:
678
+ """
679
+ A UDM query over event data.
680
+ """
681
+ return pulumi.get(self, "udm_query")
682
+
683
+ @property
684
+ @pulumi.getter(name="updateTime")
685
+ def update_time(self) -> pulumi.Output[str]:
686
+ """
687
+ Output only. The time at which the data access label was last updated.
688
+ """
689
+ return pulumi.get(self, "update_time")
690
+