pulumi-gcp 8.13.0a1736231082__py3-none-any.whl → 8.13.1__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 (90) hide show
  1. pulumi_gcp/__init__.py +43 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
  3. pulumi_gcp/accesscontextmanager/outputs.py +2 -2
  4. pulumi_gcp/artifactregistry/_inputs.py +83 -0
  5. pulumi_gcp/artifactregistry/get_repository.py +15 -4
  6. pulumi_gcp/artifactregistry/outputs.py +112 -0
  7. pulumi_gcp/artifactregistry/repository.py +93 -7
  8. pulumi_gcp/backupdisasterrecovery/get_backup.py +38 -2
  9. pulumi_gcp/backupdisasterrecovery/get_data_source.py +38 -2
  10. pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
  11. pulumi_gcp/bigquery/_inputs.py +369 -0
  12. pulumi_gcp/bigquery/dataset_access.py +61 -0
  13. pulumi_gcp/bigquery/job.py +6 -18
  14. pulumi_gcp/bigquery/outputs.py +350 -0
  15. pulumi_gcp/bigquery/table.py +47 -0
  16. pulumi_gcp/chronicle/__init__.py +10 -0
  17. pulumi_gcp/chronicle/_inputs.py +169 -0
  18. pulumi_gcp/chronicle/outputs.py +107 -0
  19. pulumi_gcp/chronicle/watchlist.py +776 -0
  20. pulumi_gcp/cloudrunv2/_inputs.py +6 -3
  21. pulumi_gcp/cloudrunv2/outputs.py +10 -6
  22. pulumi_gcp/composer/_inputs.py +80 -5
  23. pulumi_gcp/composer/outputs.py +111 -4
  24. pulumi_gcp/compute/_inputs.py +181 -87
  25. pulumi_gcp/compute/firewall_policy_association.py +50 -39
  26. pulumi_gcp/compute/get_network.py +17 -2
  27. pulumi_gcp/compute/get_subnetwork.py +18 -4
  28. pulumi_gcp/compute/network.py +39 -2
  29. pulumi_gcp/compute/outputs.py +157 -58
  30. pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
  31. pulumi_gcp/compute/resize_request.py +26 -40
  32. pulumi_gcp/config/__init__.pyi +2 -0
  33. pulumi_gcp/config/vars.py +4 -0
  34. pulumi_gcp/dataproc/batch.py +4 -18
  35. pulumi_gcp/datastream/_inputs.py +68 -0
  36. pulumi_gcp/datastream/outputs.py +41 -1
  37. pulumi_gcp/developerconnect/connection.py +58 -12
  38. pulumi_gcp/diagflow/_inputs.py +3 -3
  39. pulumi_gcp/diagflow/outputs.py +2 -2
  40. pulumi_gcp/filestore/backup.py +71 -3
  41. pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
  42. pulumi_gcp/firestore/_inputs.py +3 -3
  43. pulumi_gcp/firestore/outputs.py +2 -2
  44. pulumi_gcp/gkehub/__init__.py +1 -0
  45. pulumi_gcp/gkehub/get_feature.py +226 -0
  46. pulumi_gcp/gkehub/outputs.py +1153 -0
  47. pulumi_gcp/gkeonprem/__init__.py +1 -0
  48. pulumi_gcp/gkeonprem/_inputs.py +2364 -0
  49. pulumi_gcp/gkeonprem/outputs.py +1780 -0
  50. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +1715 -0
  51. pulumi_gcp/integrationconnectors/_inputs.py +6 -6
  52. pulumi_gcp/integrationconnectors/connection.py +7 -7
  53. pulumi_gcp/integrationconnectors/outputs.py +4 -4
  54. pulumi_gcp/kms/__init__.py +2 -0
  55. pulumi_gcp/kms/get_autokey_config.py +121 -0
  56. pulumi_gcp/kms/get_key_handle.py +185 -0
  57. pulumi_gcp/netapp/kmsconfig.py +2 -14
  58. pulumi_gcp/networkconnectivity/hub.py +108 -0
  59. pulumi_gcp/networkconnectivity/spoke.py +195 -0
  60. pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +4 -0
  61. pulumi_gcp/networksecurity/__init__.py +2 -0
  62. pulumi_gcp/networksecurity/_inputs.py +78 -0
  63. pulumi_gcp/networksecurity/intercept_endpoint_group.py +723 -0
  64. pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +815 -0
  65. pulumi_gcp/networksecurity/outputs.py +48 -0
  66. pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
  67. pulumi_gcp/orgpolicy/policy.py +2 -2
  68. pulumi_gcp/parallelstore/instance.py +149 -0
  69. pulumi_gcp/projects/usage_export_bucket.py +42 -110
  70. pulumi_gcp/provider.py +20 -0
  71. pulumi_gcp/pubsub/subscription.py +6 -6
  72. pulumi_gcp/pulumi-plugin.json +1 -1
  73. pulumi_gcp/securesourcemanager/instance.py +4 -16
  74. pulumi_gcp/spanner/instance_iam_binding.py +14 -0
  75. pulumi_gcp/spanner/instance_iam_member.py +14 -0
  76. pulumi_gcp/sql/database_instance.py +7 -7
  77. pulumi_gcp/storage/__init__.py +1 -0
  78. pulumi_gcp/storage/_inputs.py +431 -0
  79. pulumi_gcp/storage/folder.py +483 -0
  80. pulumi_gcp/storage/outputs.py +363 -0
  81. pulumi_gcp/storage/transfer_job.py +84 -38
  82. pulumi_gcp/vertex/_inputs.py +26 -25
  83. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  84. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  85. pulumi_gcp/vertex/outputs.py +15 -14
  86. pulumi_gcp/workstations/workstation.py +55 -1
  87. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/METADATA +2 -2
  88. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/RECORD +90 -79
  89. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/WHEEL +1 -1
  90. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,776 @@
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__ = ['WatchlistArgs', 'Watchlist']
20
+
21
+ @pulumi.input_type
22
+ class WatchlistArgs:
23
+ def __init__(__self__, *,
24
+ display_name: pulumi.Input[str],
25
+ entity_population_mechanism: pulumi.Input['WatchlistEntityPopulationMechanismArgs'],
26
+ instance: pulumi.Input[str],
27
+ location: pulumi.Input[str],
28
+ watchlist_id: pulumi.Input[str],
29
+ description: Optional[pulumi.Input[str]] = None,
30
+ multiplying_factor: Optional[pulumi.Input[float]] = None,
31
+ project: Optional[pulumi.Input[str]] = None,
32
+ watchlist_user_preferences: Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']] = None):
33
+ """
34
+ The set of arguments for constructing a Watchlist resource.
35
+ :param pulumi.Input[str] display_name: Required. Display name of the watchlist.
36
+ Note that it must be at least one character and less than 63 characters
37
+ (https://google.aip.dev/148).
38
+ :param pulumi.Input['WatchlistEntityPopulationMechanismArgs'] entity_population_mechanism: Mechanism to populate entities in the watchlist.
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] watchlist_id: Optional. The ID to use for the watchlist,
43
+ which will become the final component of the watchlist's resource name.
44
+ This value should be 4-63 characters, and valid characters
45
+ are /a-z-/.
46
+ :param pulumi.Input[str] description: Optional. Description of the watchlist.
47
+ :param pulumi.Input[float] multiplying_factor: Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
48
+ :param pulumi.Input['WatchlistWatchlistUserPreferencesArgs'] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
49
+ """
50
+ pulumi.set(__self__, "display_name", display_name)
51
+ pulumi.set(__self__, "entity_population_mechanism", entity_population_mechanism)
52
+ pulumi.set(__self__, "instance", instance)
53
+ pulumi.set(__self__, "location", location)
54
+ pulumi.set(__self__, "watchlist_id", watchlist_id)
55
+ if description is not None:
56
+ pulumi.set(__self__, "description", description)
57
+ if multiplying_factor is not None:
58
+ pulumi.set(__self__, "multiplying_factor", multiplying_factor)
59
+ if project is not None:
60
+ pulumi.set(__self__, "project", project)
61
+ if watchlist_user_preferences is not None:
62
+ pulumi.set(__self__, "watchlist_user_preferences", watchlist_user_preferences)
63
+
64
+ @property
65
+ @pulumi.getter(name="displayName")
66
+ def display_name(self) -> pulumi.Input[str]:
67
+ """
68
+ Required. Display name of the watchlist.
69
+ Note that it must be at least one character and less than 63 characters
70
+ (https://google.aip.dev/148).
71
+ """
72
+ return pulumi.get(self, "display_name")
73
+
74
+ @display_name.setter
75
+ def display_name(self, value: pulumi.Input[str]):
76
+ pulumi.set(self, "display_name", value)
77
+
78
+ @property
79
+ @pulumi.getter(name="entityPopulationMechanism")
80
+ def entity_population_mechanism(self) -> pulumi.Input['WatchlistEntityPopulationMechanismArgs']:
81
+ """
82
+ Mechanism to populate entities in the watchlist.
83
+ Structure is documented below.
84
+ """
85
+ return pulumi.get(self, "entity_population_mechanism")
86
+
87
+ @entity_population_mechanism.setter
88
+ def entity_population_mechanism(self, value: pulumi.Input['WatchlistEntityPopulationMechanismArgs']):
89
+ pulumi.set(self, "entity_population_mechanism", 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="watchlistId")
117
+ def watchlist_id(self) -> pulumi.Input[str]:
118
+ """
119
+ Optional. The ID to use for the watchlist,
120
+ which will become the final component of the watchlist's resource name.
121
+ This value should be 4-63 characters, and valid characters
122
+ are /a-z-/.
123
+ """
124
+ return pulumi.get(self, "watchlist_id")
125
+
126
+ @watchlist_id.setter
127
+ def watchlist_id(self, value: pulumi.Input[str]):
128
+ pulumi.set(self, "watchlist_id", value)
129
+
130
+ @property
131
+ @pulumi.getter
132
+ def description(self) -> Optional[pulumi.Input[str]]:
133
+ """
134
+ Optional. Description of the watchlist.
135
+ """
136
+ return pulumi.get(self, "description")
137
+
138
+ @description.setter
139
+ def description(self, value: Optional[pulumi.Input[str]]):
140
+ pulumi.set(self, "description", value)
141
+
142
+ @property
143
+ @pulumi.getter(name="multiplyingFactor")
144
+ def multiplying_factor(self) -> Optional[pulumi.Input[float]]:
145
+ """
146
+ Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
147
+ """
148
+ return pulumi.get(self, "multiplying_factor")
149
+
150
+ @multiplying_factor.setter
151
+ def multiplying_factor(self, value: Optional[pulumi.Input[float]]):
152
+ pulumi.set(self, "multiplying_factor", value)
153
+
154
+ @property
155
+ @pulumi.getter
156
+ def project(self) -> Optional[pulumi.Input[str]]:
157
+ return pulumi.get(self, "project")
158
+
159
+ @project.setter
160
+ def project(self, value: Optional[pulumi.Input[str]]):
161
+ pulumi.set(self, "project", value)
162
+
163
+ @property
164
+ @pulumi.getter(name="watchlistUserPreferences")
165
+ def watchlist_user_preferences(self) -> Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']]:
166
+ """
167
+ A collection of user preferences for watchlist UI configuration.
168
+ """
169
+ return pulumi.get(self, "watchlist_user_preferences")
170
+
171
+ @watchlist_user_preferences.setter
172
+ def watchlist_user_preferences(self, value: Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']]):
173
+ pulumi.set(self, "watchlist_user_preferences", value)
174
+
175
+
176
+ @pulumi.input_type
177
+ class _WatchlistState:
178
+ def __init__(__self__, *,
179
+ create_time: Optional[pulumi.Input[str]] = None,
180
+ description: Optional[pulumi.Input[str]] = None,
181
+ display_name: Optional[pulumi.Input[str]] = None,
182
+ entity_counts: Optional[pulumi.Input[Sequence[pulumi.Input['WatchlistEntityCountArgs']]]] = None,
183
+ entity_population_mechanism: Optional[pulumi.Input['WatchlistEntityPopulationMechanismArgs']] = None,
184
+ instance: Optional[pulumi.Input[str]] = None,
185
+ location: Optional[pulumi.Input[str]] = None,
186
+ multiplying_factor: Optional[pulumi.Input[float]] = None,
187
+ name: Optional[pulumi.Input[str]] = None,
188
+ project: Optional[pulumi.Input[str]] = None,
189
+ update_time: Optional[pulumi.Input[str]] = None,
190
+ watchlist_id: Optional[pulumi.Input[str]] = None,
191
+ watchlist_user_preferences: Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']] = None):
192
+ """
193
+ Input properties used for looking up and filtering Watchlist resources.
194
+ :param pulumi.Input[str] create_time: Output only. Time the watchlist was created.
195
+ :param pulumi.Input[str] description: Optional. Description of the watchlist.
196
+ :param pulumi.Input[str] display_name: Required. Display name of the watchlist.
197
+ Note that it must be at least one character and less than 63 characters
198
+ (https://google.aip.dev/148).
199
+ :param pulumi.Input[Sequence[pulumi.Input['WatchlistEntityCountArgs']]] entity_counts: Count of different types of entities in the watchlist.
200
+ Structure is documented below.
201
+ :param pulumi.Input['WatchlistEntityPopulationMechanismArgs'] entity_population_mechanism: Mechanism to populate entities in the watchlist.
202
+ Structure is documented below.
203
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
204
+ :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".
205
+ :param pulumi.Input[float] multiplying_factor: Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
206
+ :param pulumi.Input[str] name: Identifier. Resource name of the watchlist. This unique identifier is generated using values provided for the URL parameters.
207
+ Format:
208
+ projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
209
+ :param pulumi.Input[str] update_time: Output only. Time the watchlist was last updated.
210
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
211
+ which will become the final component of the watchlist's resource name.
212
+ This value should be 4-63 characters, and valid characters
213
+ are /a-z-/.
214
+ :param pulumi.Input['WatchlistWatchlistUserPreferencesArgs'] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
215
+ """
216
+ if create_time is not None:
217
+ pulumi.set(__self__, "create_time", create_time)
218
+ if description is not None:
219
+ pulumi.set(__self__, "description", description)
220
+ if display_name is not None:
221
+ pulumi.set(__self__, "display_name", display_name)
222
+ if entity_counts is not None:
223
+ pulumi.set(__self__, "entity_counts", entity_counts)
224
+ if entity_population_mechanism is not None:
225
+ pulumi.set(__self__, "entity_population_mechanism", entity_population_mechanism)
226
+ if instance is not None:
227
+ pulumi.set(__self__, "instance", instance)
228
+ if location is not None:
229
+ pulumi.set(__self__, "location", location)
230
+ if multiplying_factor is not None:
231
+ pulumi.set(__self__, "multiplying_factor", multiplying_factor)
232
+ if name is not None:
233
+ pulumi.set(__self__, "name", name)
234
+ if project is not None:
235
+ pulumi.set(__self__, "project", project)
236
+ if update_time is not None:
237
+ pulumi.set(__self__, "update_time", update_time)
238
+ if watchlist_id is not None:
239
+ pulumi.set(__self__, "watchlist_id", watchlist_id)
240
+ if watchlist_user_preferences is not None:
241
+ pulumi.set(__self__, "watchlist_user_preferences", watchlist_user_preferences)
242
+
243
+ @property
244
+ @pulumi.getter(name="createTime")
245
+ def create_time(self) -> Optional[pulumi.Input[str]]:
246
+ """
247
+ Output only. Time the watchlist was created.
248
+ """
249
+ return pulumi.get(self, "create_time")
250
+
251
+ @create_time.setter
252
+ def create_time(self, value: Optional[pulumi.Input[str]]):
253
+ pulumi.set(self, "create_time", value)
254
+
255
+ @property
256
+ @pulumi.getter
257
+ def description(self) -> Optional[pulumi.Input[str]]:
258
+ """
259
+ Optional. Description of the watchlist.
260
+ """
261
+ return pulumi.get(self, "description")
262
+
263
+ @description.setter
264
+ def description(self, value: Optional[pulumi.Input[str]]):
265
+ pulumi.set(self, "description", value)
266
+
267
+ @property
268
+ @pulumi.getter(name="displayName")
269
+ def display_name(self) -> Optional[pulumi.Input[str]]:
270
+ """
271
+ Required. Display name of the watchlist.
272
+ Note that it must be at least one character and less than 63 characters
273
+ (https://google.aip.dev/148).
274
+ """
275
+ return pulumi.get(self, "display_name")
276
+
277
+ @display_name.setter
278
+ def display_name(self, value: Optional[pulumi.Input[str]]):
279
+ pulumi.set(self, "display_name", value)
280
+
281
+ @property
282
+ @pulumi.getter(name="entityCounts")
283
+ def entity_counts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WatchlistEntityCountArgs']]]]:
284
+ """
285
+ Count of different types of entities in the watchlist.
286
+ Structure is documented below.
287
+ """
288
+ return pulumi.get(self, "entity_counts")
289
+
290
+ @entity_counts.setter
291
+ def entity_counts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WatchlistEntityCountArgs']]]]):
292
+ pulumi.set(self, "entity_counts", value)
293
+
294
+ @property
295
+ @pulumi.getter(name="entityPopulationMechanism")
296
+ def entity_population_mechanism(self) -> Optional[pulumi.Input['WatchlistEntityPopulationMechanismArgs']]:
297
+ """
298
+ Mechanism to populate entities in the watchlist.
299
+ Structure is documented below.
300
+ """
301
+ return pulumi.get(self, "entity_population_mechanism")
302
+
303
+ @entity_population_mechanism.setter
304
+ def entity_population_mechanism(self, value: Optional[pulumi.Input['WatchlistEntityPopulationMechanismArgs']]):
305
+ pulumi.set(self, "entity_population_mechanism", value)
306
+
307
+ @property
308
+ @pulumi.getter
309
+ def instance(self) -> Optional[pulumi.Input[str]]:
310
+ """
311
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
312
+ """
313
+ return pulumi.get(self, "instance")
314
+
315
+ @instance.setter
316
+ def instance(self, value: Optional[pulumi.Input[str]]):
317
+ pulumi.set(self, "instance", value)
318
+
319
+ @property
320
+ @pulumi.getter
321
+ def location(self) -> Optional[pulumi.Input[str]]:
322
+ """
323
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
324
+ """
325
+ return pulumi.get(self, "location")
326
+
327
+ @location.setter
328
+ def location(self, value: Optional[pulumi.Input[str]]):
329
+ pulumi.set(self, "location", value)
330
+
331
+ @property
332
+ @pulumi.getter(name="multiplyingFactor")
333
+ def multiplying_factor(self) -> Optional[pulumi.Input[float]]:
334
+ """
335
+ Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
336
+ """
337
+ return pulumi.get(self, "multiplying_factor")
338
+
339
+ @multiplying_factor.setter
340
+ def multiplying_factor(self, value: Optional[pulumi.Input[float]]):
341
+ pulumi.set(self, "multiplying_factor", value)
342
+
343
+ @property
344
+ @pulumi.getter
345
+ def name(self) -> Optional[pulumi.Input[str]]:
346
+ """
347
+ Identifier. Resource name of the watchlist. This unique identifier is generated using values provided for the URL parameters.
348
+ Format:
349
+ projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
350
+ """
351
+ return pulumi.get(self, "name")
352
+
353
+ @name.setter
354
+ def name(self, value: Optional[pulumi.Input[str]]):
355
+ pulumi.set(self, "name", value)
356
+
357
+ @property
358
+ @pulumi.getter
359
+ def project(self) -> Optional[pulumi.Input[str]]:
360
+ return pulumi.get(self, "project")
361
+
362
+ @project.setter
363
+ def project(self, value: Optional[pulumi.Input[str]]):
364
+ pulumi.set(self, "project", value)
365
+
366
+ @property
367
+ @pulumi.getter(name="updateTime")
368
+ def update_time(self) -> Optional[pulumi.Input[str]]:
369
+ """
370
+ Output only. Time the watchlist was last updated.
371
+ """
372
+ return pulumi.get(self, "update_time")
373
+
374
+ @update_time.setter
375
+ def update_time(self, value: Optional[pulumi.Input[str]]):
376
+ pulumi.set(self, "update_time", value)
377
+
378
+ @property
379
+ @pulumi.getter(name="watchlistId")
380
+ def watchlist_id(self) -> Optional[pulumi.Input[str]]:
381
+ """
382
+ Optional. The ID to use for the watchlist,
383
+ which will become the final component of the watchlist's resource name.
384
+ This value should be 4-63 characters, and valid characters
385
+ are /a-z-/.
386
+ """
387
+ return pulumi.get(self, "watchlist_id")
388
+
389
+ @watchlist_id.setter
390
+ def watchlist_id(self, value: Optional[pulumi.Input[str]]):
391
+ pulumi.set(self, "watchlist_id", value)
392
+
393
+ @property
394
+ @pulumi.getter(name="watchlistUserPreferences")
395
+ def watchlist_user_preferences(self) -> Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']]:
396
+ """
397
+ A collection of user preferences for watchlist UI configuration.
398
+ """
399
+ return pulumi.get(self, "watchlist_user_preferences")
400
+
401
+ @watchlist_user_preferences.setter
402
+ def watchlist_user_preferences(self, value: Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']]):
403
+ pulumi.set(self, "watchlist_user_preferences", value)
404
+
405
+
406
+ class Watchlist(pulumi.CustomResource):
407
+ @overload
408
+ def __init__(__self__,
409
+ resource_name: str,
410
+ opts: Optional[pulumi.ResourceOptions] = None,
411
+ description: Optional[pulumi.Input[str]] = None,
412
+ display_name: Optional[pulumi.Input[str]] = None,
413
+ entity_population_mechanism: Optional[pulumi.Input[Union['WatchlistEntityPopulationMechanismArgs', 'WatchlistEntityPopulationMechanismArgsDict']]] = None,
414
+ instance: Optional[pulumi.Input[str]] = None,
415
+ location: Optional[pulumi.Input[str]] = None,
416
+ multiplying_factor: Optional[pulumi.Input[float]] = None,
417
+ project: Optional[pulumi.Input[str]] = None,
418
+ watchlist_id: Optional[pulumi.Input[str]] = None,
419
+ watchlist_user_preferences: Optional[pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']]] = None,
420
+ __props__=None):
421
+ """
422
+ ## Example Usage
423
+
424
+ ### Chronicle Watchlist Basic
425
+
426
+ ```python
427
+ import pulumi
428
+ import pulumi_gcp as gcp
429
+
430
+ example = gcp.chronicle.Watchlist("example",
431
+ location="us",
432
+ instance="00000000-0000-0000-0000-000000000000",
433
+ watchlist_id="watchlist-name",
434
+ description="watchlist-description",
435
+ display_name="watchlist-name",
436
+ multiplying_factor=1,
437
+ entity_population_mechanism={
438
+ "manual": {},
439
+ },
440
+ watchlist_user_preferences={
441
+ "pinned": True,
442
+ })
443
+ ```
444
+
445
+ ## Import
446
+
447
+ Watchlist can be imported using any of these accepted formats:
448
+
449
+ * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/watchlists/{{watchlist_id}}`
450
+
451
+ * `{{project}}/{{location}}/{{instance}}/{{watchlist_id}}`
452
+
453
+ * `{{location}}/{{instance}}/{{watchlist_id}}`
454
+
455
+ When using the `pulumi import` command, Watchlist can be imported using one of the formats above. For example:
456
+
457
+ ```sh
458
+ $ pulumi import gcp:chronicle/watchlist:Watchlist default projects/{{project}}/locations/{{location}}/instances/{{instance}}/watchlists/{{watchlist_id}}
459
+ ```
460
+
461
+ ```sh
462
+ $ pulumi import gcp:chronicle/watchlist:Watchlist default {{project}}/{{location}}/{{instance}}/{{watchlist_id}}
463
+ ```
464
+
465
+ ```sh
466
+ $ pulumi import gcp:chronicle/watchlist:Watchlist default {{location}}/{{instance}}/{{watchlist_id}}
467
+ ```
468
+
469
+ :param str resource_name: The name of the resource.
470
+ :param pulumi.ResourceOptions opts: Options for the resource.
471
+ :param pulumi.Input[str] description: Optional. Description of the watchlist.
472
+ :param pulumi.Input[str] display_name: Required. Display name of the watchlist.
473
+ Note that it must be at least one character and less than 63 characters
474
+ (https://google.aip.dev/148).
475
+ :param pulumi.Input[Union['WatchlistEntityPopulationMechanismArgs', 'WatchlistEntityPopulationMechanismArgsDict']] entity_population_mechanism: Mechanism to populate entities in the watchlist.
476
+ Structure is documented below.
477
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
478
+ :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".
479
+ :param pulumi.Input[float] multiplying_factor: Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
480
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
481
+ which will become the final component of the watchlist's resource name.
482
+ This value should be 4-63 characters, and valid characters
483
+ are /a-z-/.
484
+ :param pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
485
+ """
486
+ ...
487
+ @overload
488
+ def __init__(__self__,
489
+ resource_name: str,
490
+ args: WatchlistArgs,
491
+ opts: Optional[pulumi.ResourceOptions] = None):
492
+ """
493
+ ## Example Usage
494
+
495
+ ### Chronicle Watchlist Basic
496
+
497
+ ```python
498
+ import pulumi
499
+ import pulumi_gcp as gcp
500
+
501
+ example = gcp.chronicle.Watchlist("example",
502
+ location="us",
503
+ instance="00000000-0000-0000-0000-000000000000",
504
+ watchlist_id="watchlist-name",
505
+ description="watchlist-description",
506
+ display_name="watchlist-name",
507
+ multiplying_factor=1,
508
+ entity_population_mechanism={
509
+ "manual": {},
510
+ },
511
+ watchlist_user_preferences={
512
+ "pinned": True,
513
+ })
514
+ ```
515
+
516
+ ## Import
517
+
518
+ Watchlist can be imported using any of these accepted formats:
519
+
520
+ * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/watchlists/{{watchlist_id}}`
521
+
522
+ * `{{project}}/{{location}}/{{instance}}/{{watchlist_id}}`
523
+
524
+ * `{{location}}/{{instance}}/{{watchlist_id}}`
525
+
526
+ When using the `pulumi import` command, Watchlist can be imported using one of the formats above. For example:
527
+
528
+ ```sh
529
+ $ pulumi import gcp:chronicle/watchlist:Watchlist default projects/{{project}}/locations/{{location}}/instances/{{instance}}/watchlists/{{watchlist_id}}
530
+ ```
531
+
532
+ ```sh
533
+ $ pulumi import gcp:chronicle/watchlist:Watchlist default {{project}}/{{location}}/{{instance}}/{{watchlist_id}}
534
+ ```
535
+
536
+ ```sh
537
+ $ pulumi import gcp:chronicle/watchlist:Watchlist default {{location}}/{{instance}}/{{watchlist_id}}
538
+ ```
539
+
540
+ :param str resource_name: The name of the resource.
541
+ :param WatchlistArgs args: The arguments to use to populate this resource's properties.
542
+ :param pulumi.ResourceOptions opts: Options for the resource.
543
+ """
544
+ ...
545
+ def __init__(__self__, resource_name: str, *args, **kwargs):
546
+ resource_args, opts = _utilities.get_resource_args_opts(WatchlistArgs, pulumi.ResourceOptions, *args, **kwargs)
547
+ if resource_args is not None:
548
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
549
+ else:
550
+ __self__._internal_init(resource_name, *args, **kwargs)
551
+
552
+ def _internal_init(__self__,
553
+ resource_name: str,
554
+ opts: Optional[pulumi.ResourceOptions] = None,
555
+ description: Optional[pulumi.Input[str]] = None,
556
+ display_name: Optional[pulumi.Input[str]] = None,
557
+ entity_population_mechanism: Optional[pulumi.Input[Union['WatchlistEntityPopulationMechanismArgs', 'WatchlistEntityPopulationMechanismArgsDict']]] = None,
558
+ instance: Optional[pulumi.Input[str]] = None,
559
+ location: Optional[pulumi.Input[str]] = None,
560
+ multiplying_factor: Optional[pulumi.Input[float]] = None,
561
+ project: Optional[pulumi.Input[str]] = None,
562
+ watchlist_id: Optional[pulumi.Input[str]] = None,
563
+ watchlist_user_preferences: Optional[pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']]] = None,
564
+ __props__=None):
565
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
566
+ if not isinstance(opts, pulumi.ResourceOptions):
567
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
568
+ if opts.id is None:
569
+ if __props__ is not None:
570
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
571
+ __props__ = WatchlistArgs.__new__(WatchlistArgs)
572
+
573
+ __props__.__dict__["description"] = description
574
+ if display_name is None and not opts.urn:
575
+ raise TypeError("Missing required property 'display_name'")
576
+ __props__.__dict__["display_name"] = display_name
577
+ if entity_population_mechanism is None and not opts.urn:
578
+ raise TypeError("Missing required property 'entity_population_mechanism'")
579
+ __props__.__dict__["entity_population_mechanism"] = entity_population_mechanism
580
+ if instance is None and not opts.urn:
581
+ raise TypeError("Missing required property 'instance'")
582
+ __props__.__dict__["instance"] = instance
583
+ if location is None and not opts.urn:
584
+ raise TypeError("Missing required property 'location'")
585
+ __props__.__dict__["location"] = location
586
+ __props__.__dict__["multiplying_factor"] = multiplying_factor
587
+ __props__.__dict__["project"] = project
588
+ if watchlist_id is None and not opts.urn:
589
+ raise TypeError("Missing required property 'watchlist_id'")
590
+ __props__.__dict__["watchlist_id"] = watchlist_id
591
+ __props__.__dict__["watchlist_user_preferences"] = watchlist_user_preferences
592
+ __props__.__dict__["create_time"] = None
593
+ __props__.__dict__["entity_counts"] = None
594
+ __props__.__dict__["name"] = None
595
+ __props__.__dict__["update_time"] = None
596
+ super(Watchlist, __self__).__init__(
597
+ 'gcp:chronicle/watchlist:Watchlist',
598
+ resource_name,
599
+ __props__,
600
+ opts)
601
+
602
+ @staticmethod
603
+ def get(resource_name: str,
604
+ id: pulumi.Input[str],
605
+ opts: Optional[pulumi.ResourceOptions] = None,
606
+ create_time: Optional[pulumi.Input[str]] = None,
607
+ description: Optional[pulumi.Input[str]] = None,
608
+ display_name: Optional[pulumi.Input[str]] = None,
609
+ entity_counts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WatchlistEntityCountArgs', 'WatchlistEntityCountArgsDict']]]]] = None,
610
+ entity_population_mechanism: Optional[pulumi.Input[Union['WatchlistEntityPopulationMechanismArgs', 'WatchlistEntityPopulationMechanismArgsDict']]] = None,
611
+ instance: Optional[pulumi.Input[str]] = None,
612
+ location: Optional[pulumi.Input[str]] = None,
613
+ multiplying_factor: Optional[pulumi.Input[float]] = None,
614
+ name: Optional[pulumi.Input[str]] = None,
615
+ project: Optional[pulumi.Input[str]] = None,
616
+ update_time: Optional[pulumi.Input[str]] = None,
617
+ watchlist_id: Optional[pulumi.Input[str]] = None,
618
+ watchlist_user_preferences: Optional[pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']]] = None) -> 'Watchlist':
619
+ """
620
+ Get an existing Watchlist resource's state with the given name, id, and optional extra
621
+ properties used to qualify the lookup.
622
+
623
+ :param str resource_name: The unique name of the resulting resource.
624
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
625
+ :param pulumi.ResourceOptions opts: Options for the resource.
626
+ :param pulumi.Input[str] create_time: Output only. Time the watchlist was created.
627
+ :param pulumi.Input[str] description: Optional. Description of the watchlist.
628
+ :param pulumi.Input[str] display_name: Required. Display name of the watchlist.
629
+ Note that it must be at least one character and less than 63 characters
630
+ (https://google.aip.dev/148).
631
+ :param pulumi.Input[Sequence[pulumi.Input[Union['WatchlistEntityCountArgs', 'WatchlistEntityCountArgsDict']]]] entity_counts: Count of different types of entities in the watchlist.
632
+ Structure is documented below.
633
+ :param pulumi.Input[Union['WatchlistEntityPopulationMechanismArgs', 'WatchlistEntityPopulationMechanismArgsDict']] entity_population_mechanism: Mechanism to populate entities in the watchlist.
634
+ Structure is documented below.
635
+ :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
636
+ :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".
637
+ :param pulumi.Input[float] multiplying_factor: Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
638
+ :param pulumi.Input[str] name: Identifier. Resource name of the watchlist. This unique identifier is generated using values provided for the URL parameters.
639
+ Format:
640
+ projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
641
+ :param pulumi.Input[str] update_time: Output only. Time the watchlist was last updated.
642
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
643
+ which will become the final component of the watchlist's resource name.
644
+ This value should be 4-63 characters, and valid characters
645
+ are /a-z-/.
646
+ :param pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
647
+ """
648
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
649
+
650
+ __props__ = _WatchlistState.__new__(_WatchlistState)
651
+
652
+ __props__.__dict__["create_time"] = create_time
653
+ __props__.__dict__["description"] = description
654
+ __props__.__dict__["display_name"] = display_name
655
+ __props__.__dict__["entity_counts"] = entity_counts
656
+ __props__.__dict__["entity_population_mechanism"] = entity_population_mechanism
657
+ __props__.__dict__["instance"] = instance
658
+ __props__.__dict__["location"] = location
659
+ __props__.__dict__["multiplying_factor"] = multiplying_factor
660
+ __props__.__dict__["name"] = name
661
+ __props__.__dict__["project"] = project
662
+ __props__.__dict__["update_time"] = update_time
663
+ __props__.__dict__["watchlist_id"] = watchlist_id
664
+ __props__.__dict__["watchlist_user_preferences"] = watchlist_user_preferences
665
+ return Watchlist(resource_name, opts=opts, __props__=__props__)
666
+
667
+ @property
668
+ @pulumi.getter(name="createTime")
669
+ def create_time(self) -> pulumi.Output[str]:
670
+ """
671
+ Output only. Time the watchlist was created.
672
+ """
673
+ return pulumi.get(self, "create_time")
674
+
675
+ @property
676
+ @pulumi.getter
677
+ def description(self) -> pulumi.Output[Optional[str]]:
678
+ """
679
+ Optional. Description of the watchlist.
680
+ """
681
+ return pulumi.get(self, "description")
682
+
683
+ @property
684
+ @pulumi.getter(name="displayName")
685
+ def display_name(self) -> pulumi.Output[str]:
686
+ """
687
+ Required. Display name of the watchlist.
688
+ Note that it must be at least one character and less than 63 characters
689
+ (https://google.aip.dev/148).
690
+ """
691
+ return pulumi.get(self, "display_name")
692
+
693
+ @property
694
+ @pulumi.getter(name="entityCounts")
695
+ def entity_counts(self) -> pulumi.Output[Sequence['outputs.WatchlistEntityCount']]:
696
+ """
697
+ Count of different types of entities in the watchlist.
698
+ Structure is documented below.
699
+ """
700
+ return pulumi.get(self, "entity_counts")
701
+
702
+ @property
703
+ @pulumi.getter(name="entityPopulationMechanism")
704
+ def entity_population_mechanism(self) -> pulumi.Output['outputs.WatchlistEntityPopulationMechanism']:
705
+ """
706
+ Mechanism to populate entities in the watchlist.
707
+ Structure is documented below.
708
+ """
709
+ return pulumi.get(self, "entity_population_mechanism")
710
+
711
+ @property
712
+ @pulumi.getter
713
+ def instance(self) -> pulumi.Output[str]:
714
+ """
715
+ The unique identifier for the Chronicle instance, which is the same as the customer ID.
716
+ """
717
+ return pulumi.get(self, "instance")
718
+
719
+ @property
720
+ @pulumi.getter
721
+ def location(self) -> pulumi.Output[str]:
722
+ """
723
+ The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
724
+ """
725
+ return pulumi.get(self, "location")
726
+
727
+ @property
728
+ @pulumi.getter(name="multiplyingFactor")
729
+ def multiplying_factor(self) -> pulumi.Output[Optional[float]]:
730
+ """
731
+ Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
732
+ """
733
+ return pulumi.get(self, "multiplying_factor")
734
+
735
+ @property
736
+ @pulumi.getter
737
+ def name(self) -> pulumi.Output[str]:
738
+ """
739
+ Identifier. Resource name of the watchlist. This unique identifier is generated using values provided for the URL parameters.
740
+ Format:
741
+ projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
742
+ """
743
+ return pulumi.get(self, "name")
744
+
745
+ @property
746
+ @pulumi.getter
747
+ def project(self) -> pulumi.Output[str]:
748
+ return pulumi.get(self, "project")
749
+
750
+ @property
751
+ @pulumi.getter(name="updateTime")
752
+ def update_time(self) -> pulumi.Output[str]:
753
+ """
754
+ Output only. Time the watchlist was last updated.
755
+ """
756
+ return pulumi.get(self, "update_time")
757
+
758
+ @property
759
+ @pulumi.getter(name="watchlistId")
760
+ def watchlist_id(self) -> pulumi.Output[str]:
761
+ """
762
+ Optional. The ID to use for the watchlist,
763
+ which will become the final component of the watchlist's resource name.
764
+ This value should be 4-63 characters, and valid characters
765
+ are /a-z-/.
766
+ """
767
+ return pulumi.get(self, "watchlist_id")
768
+
769
+ @property
770
+ @pulumi.getter(name="watchlistUserPreferences")
771
+ def watchlist_user_preferences(self) -> pulumi.Output['outputs.WatchlistWatchlistUserPreferences']:
772
+ """
773
+ A collection of user preferences for watchlist UI configuration.
774
+ """
775
+ return pulumi.get(self, "watchlist_user_preferences")
776
+