pulumi-gcp 7.36.0a1723456487__py3-none-any.whl → 7.37.0__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 (53) hide show
  1. pulumi_gcp/__init__.py +72 -0
  2. pulumi_gcp/accesscontextmanager/__init__.py +2 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +780 -0
  4. pulumi_gcp/accesscontextmanager/outputs.py +601 -0
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +323 -0
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +332 -0
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +2 -24
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +2 -24
  9. pulumi_gcp/applicationintegration/client.py +2 -2
  10. pulumi_gcp/clouddeploy/_inputs.py +21 -1
  11. pulumi_gcp/clouddeploy/outputs.py +15 -1
  12. pulumi_gcp/cloudrunv2/_inputs.py +40 -0
  13. pulumi_gcp/cloudrunv2/outputs.py +46 -0
  14. pulumi_gcp/compute/region_target_https_proxy.py +28 -0
  15. pulumi_gcp/container/_inputs.py +26 -0
  16. pulumi_gcp/container/outputs.py +29 -0
  17. pulumi_gcp/dataform/repository.py +80 -2
  18. pulumi_gcp/discoveryengine/data_store.py +93 -2
  19. pulumi_gcp/gkehub/_inputs.py +63 -0
  20. pulumi_gcp/gkehub/outputs.py +38 -0
  21. pulumi_gcp/logging/get_log_view_iam_policy.py +28 -2
  22. pulumi_gcp/logging/log_view_iam_binding.py +512 -0
  23. pulumi_gcp/logging/log_view_iam_member.py +512 -0
  24. pulumi_gcp/logging/log_view_iam_policy.py +512 -0
  25. pulumi_gcp/netapp/_inputs.py +6 -6
  26. pulumi_gcp/netapp/outputs.py +4 -4
  27. pulumi_gcp/networkconnectivity/regional_endpoint.py +6 -6
  28. pulumi_gcp/organizations/get_project.py +11 -1
  29. pulumi_gcp/organizations/project.py +76 -21
  30. pulumi_gcp/pulumi-plugin.json +1 -1
  31. pulumi_gcp/securitycenter/__init__.py +8 -0
  32. pulumi_gcp/securitycenter/_inputs.py +191 -0
  33. pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +146 -0
  34. pulumi_gcp/securitycenter/outputs.py +115 -0
  35. pulumi_gcp/securitycenter/v2_folder_mute_config.py +679 -0
  36. pulumi_gcp/securitycenter/v2_organization_source.py +416 -0
  37. pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +722 -0
  38. pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +722 -0
  39. pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +561 -0
  40. pulumi_gcp/securitycenter/v2_project_mute_config.py +684 -0
  41. pulumi_gcp/securitycenter/v2_project_notification_config.py +559 -0
  42. pulumi_gcp/spanner/instance.py +0 -7
  43. pulumi_gcp/sql/_inputs.py +3 -3
  44. pulumi_gcp/sql/outputs.py +6 -6
  45. pulumi_gcp/storage/bucket_object.py +28 -0
  46. pulumi_gcp/storage/get_bucket_object.py +14 -1
  47. pulumi_gcp/storage/get_bucket_object_content.py +11 -1
  48. pulumi_gcp/storage/managed_folder.py +72 -2
  49. pulumi_gcp/vmwareengine/network_policy.py +6 -6
  50. {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/METADATA +1 -1
  51. {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/RECORD +53 -43
  52. {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/WHEEL +1 -1
  53. {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,679 @@
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__ = ['V2FolderMuteConfigArgs', 'V2FolderMuteConfig']
18
+
19
+ @pulumi.input_type
20
+ class V2FolderMuteConfigArgs:
21
+ def __init__(__self__, *,
22
+ filter: pulumi.Input[str],
23
+ folder: pulumi.Input[str],
24
+ mute_config_id: pulumi.Input[str],
25
+ type: pulumi.Input[str],
26
+ description: Optional[pulumi.Input[str]] = None,
27
+ location: Optional[pulumi.Input[str]] = None):
28
+ """
29
+ The set of arguments for constructing a V2FolderMuteConfig resource.
30
+ :param pulumi.Input[str] filter: An expression that defines the filter to apply across create/update
31
+ events of findings. While creating a filter string, be mindful of
32
+ the scope in which the mute configuration is being created. E.g.,
33
+ If a filter contains project = X but is created under the
34
+ project = Y scope, it might not match any findings.
35
+ :param pulumi.Input[str] folder: The folder whose Cloud Security Command Center the Mute
36
+ Config lives in.
37
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
38
+
39
+
40
+ - - -
41
+ :param pulumi.Input[str] type: The type of the mute config.
42
+ :param pulumi.Input[str] description: A description of the mute config.
43
+ :param pulumi.Input[str] location: location Id is provided by folder. If not provided, Use global as default.
44
+ """
45
+ pulumi.set(__self__, "filter", filter)
46
+ pulumi.set(__self__, "folder", folder)
47
+ pulumi.set(__self__, "mute_config_id", mute_config_id)
48
+ pulumi.set(__self__, "type", type)
49
+ if description is not None:
50
+ pulumi.set(__self__, "description", description)
51
+ if location is not None:
52
+ pulumi.set(__self__, "location", location)
53
+
54
+ @property
55
+ @pulumi.getter
56
+ def filter(self) -> pulumi.Input[str]:
57
+ """
58
+ An expression that defines the filter to apply across create/update
59
+ events of findings. While creating a filter string, be mindful of
60
+ the scope in which the mute configuration is being created. E.g.,
61
+ If a filter contains project = X but is created under the
62
+ project = Y scope, it might not match any findings.
63
+ """
64
+ return pulumi.get(self, "filter")
65
+
66
+ @filter.setter
67
+ def filter(self, value: pulumi.Input[str]):
68
+ pulumi.set(self, "filter", value)
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def folder(self) -> pulumi.Input[str]:
73
+ """
74
+ The folder whose Cloud Security Command Center the Mute
75
+ Config lives in.
76
+ """
77
+ return pulumi.get(self, "folder")
78
+
79
+ @folder.setter
80
+ def folder(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "folder", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="muteConfigId")
85
+ def mute_config_id(self) -> pulumi.Input[str]:
86
+ """
87
+ Unique identifier provided by the client within the parent scope.
88
+
89
+
90
+ - - -
91
+ """
92
+ return pulumi.get(self, "mute_config_id")
93
+
94
+ @mute_config_id.setter
95
+ def mute_config_id(self, value: pulumi.Input[str]):
96
+ pulumi.set(self, "mute_config_id", value)
97
+
98
+ @property
99
+ @pulumi.getter
100
+ def type(self) -> pulumi.Input[str]:
101
+ """
102
+ The type of the mute config.
103
+ """
104
+ return pulumi.get(self, "type")
105
+
106
+ @type.setter
107
+ def type(self, value: pulumi.Input[str]):
108
+ pulumi.set(self, "type", value)
109
+
110
+ @property
111
+ @pulumi.getter
112
+ def description(self) -> Optional[pulumi.Input[str]]:
113
+ """
114
+ A description of the mute config.
115
+ """
116
+ return pulumi.get(self, "description")
117
+
118
+ @description.setter
119
+ def description(self, value: Optional[pulumi.Input[str]]):
120
+ pulumi.set(self, "description", value)
121
+
122
+ @property
123
+ @pulumi.getter
124
+ def location(self) -> Optional[pulumi.Input[str]]:
125
+ """
126
+ location Id is provided by folder. If not provided, Use global as default.
127
+ """
128
+ return pulumi.get(self, "location")
129
+
130
+ @location.setter
131
+ def location(self, value: Optional[pulumi.Input[str]]):
132
+ pulumi.set(self, "location", value)
133
+
134
+
135
+ @pulumi.input_type
136
+ class _V2FolderMuteConfigState:
137
+ def __init__(__self__, *,
138
+ create_time: Optional[pulumi.Input[str]] = None,
139
+ description: Optional[pulumi.Input[str]] = None,
140
+ filter: Optional[pulumi.Input[str]] = None,
141
+ folder: Optional[pulumi.Input[str]] = None,
142
+ location: Optional[pulumi.Input[str]] = None,
143
+ most_recent_editor: Optional[pulumi.Input[str]] = None,
144
+ mute_config_id: Optional[pulumi.Input[str]] = None,
145
+ name: Optional[pulumi.Input[str]] = None,
146
+ type: Optional[pulumi.Input[str]] = None,
147
+ update_time: Optional[pulumi.Input[str]] = None):
148
+ """
149
+ Input properties used for looking up and filtering V2FolderMuteConfig resources.
150
+ :param pulumi.Input[str] create_time: The time at which the mute config was created. This field is set by
151
+ the server and will be ignored if provided on config creation.
152
+ :param pulumi.Input[str] description: A description of the mute config.
153
+ :param pulumi.Input[str] filter: An expression that defines the filter to apply across create/update
154
+ events of findings. While creating a filter string, be mindful of
155
+ the scope in which the mute configuration is being created. E.g.,
156
+ If a filter contains project = X but is created under the
157
+ project = Y scope, it might not match any findings.
158
+ :param pulumi.Input[str] folder: The folder whose Cloud Security Command Center the Mute
159
+ Config lives in.
160
+ :param pulumi.Input[str] location: location Id is provided by folder. If not provided, Use global as default.
161
+ :param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the mute config. This
162
+ field is set by the server and will be ignored if provided on
163
+ config creation or update.
164
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
165
+
166
+
167
+ - - -
168
+ :param pulumi.Input[str] name: Name of the mute config. Its format is
169
+ organizations/{organization}/locations/global/muteConfigs/{configId},
170
+ folders/{folder}/locations/global/muteConfigs/{configId},
171
+ or projects/{project}/locations/global/muteConfigs/{configId}
172
+ :param pulumi.Input[str] type: The type of the mute config.
173
+ :param pulumi.Input[str] update_time: Output only. The most recent time at which the mute config was
174
+ updated. This field is set by the server and will be ignored if
175
+ provided on config creation or update.
176
+ """
177
+ if create_time is not None:
178
+ pulumi.set(__self__, "create_time", create_time)
179
+ if description is not None:
180
+ pulumi.set(__self__, "description", description)
181
+ if filter is not None:
182
+ pulumi.set(__self__, "filter", filter)
183
+ if folder is not None:
184
+ pulumi.set(__self__, "folder", folder)
185
+ if location is not None:
186
+ pulumi.set(__self__, "location", location)
187
+ if most_recent_editor is not None:
188
+ pulumi.set(__self__, "most_recent_editor", most_recent_editor)
189
+ if mute_config_id is not None:
190
+ pulumi.set(__self__, "mute_config_id", mute_config_id)
191
+ if name is not None:
192
+ pulumi.set(__self__, "name", name)
193
+ if type is not None:
194
+ pulumi.set(__self__, "type", type)
195
+ if update_time is not None:
196
+ pulumi.set(__self__, "update_time", update_time)
197
+
198
+ @property
199
+ @pulumi.getter(name="createTime")
200
+ def create_time(self) -> Optional[pulumi.Input[str]]:
201
+ """
202
+ The time at which the mute config was created. This field is set by
203
+ the server and will be ignored if provided on config creation.
204
+ """
205
+ return pulumi.get(self, "create_time")
206
+
207
+ @create_time.setter
208
+ def create_time(self, value: Optional[pulumi.Input[str]]):
209
+ pulumi.set(self, "create_time", value)
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def description(self) -> Optional[pulumi.Input[str]]:
214
+ """
215
+ A description of the mute config.
216
+ """
217
+ return pulumi.get(self, "description")
218
+
219
+ @description.setter
220
+ def description(self, value: Optional[pulumi.Input[str]]):
221
+ pulumi.set(self, "description", value)
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def filter(self) -> Optional[pulumi.Input[str]]:
226
+ """
227
+ An expression that defines the filter to apply across create/update
228
+ events of findings. While creating a filter string, be mindful of
229
+ the scope in which the mute configuration is being created. E.g.,
230
+ If a filter contains project = X but is created under the
231
+ project = Y scope, it might not match any findings.
232
+ """
233
+ return pulumi.get(self, "filter")
234
+
235
+ @filter.setter
236
+ def filter(self, value: Optional[pulumi.Input[str]]):
237
+ pulumi.set(self, "filter", value)
238
+
239
+ @property
240
+ @pulumi.getter
241
+ def folder(self) -> Optional[pulumi.Input[str]]:
242
+ """
243
+ The folder whose Cloud Security Command Center the Mute
244
+ Config lives in.
245
+ """
246
+ return pulumi.get(self, "folder")
247
+
248
+ @folder.setter
249
+ def folder(self, value: Optional[pulumi.Input[str]]):
250
+ pulumi.set(self, "folder", value)
251
+
252
+ @property
253
+ @pulumi.getter
254
+ def location(self) -> Optional[pulumi.Input[str]]:
255
+ """
256
+ location Id is provided by folder. If not provided, Use global as default.
257
+ """
258
+ return pulumi.get(self, "location")
259
+
260
+ @location.setter
261
+ def location(self, value: Optional[pulumi.Input[str]]):
262
+ pulumi.set(self, "location", value)
263
+
264
+ @property
265
+ @pulumi.getter(name="mostRecentEditor")
266
+ def most_recent_editor(self) -> Optional[pulumi.Input[str]]:
267
+ """
268
+ Email address of the user who last edited the mute config. This
269
+ field is set by the server and will be ignored if provided on
270
+ config creation or update.
271
+ """
272
+ return pulumi.get(self, "most_recent_editor")
273
+
274
+ @most_recent_editor.setter
275
+ def most_recent_editor(self, value: Optional[pulumi.Input[str]]):
276
+ pulumi.set(self, "most_recent_editor", value)
277
+
278
+ @property
279
+ @pulumi.getter(name="muteConfigId")
280
+ def mute_config_id(self) -> Optional[pulumi.Input[str]]:
281
+ """
282
+ Unique identifier provided by the client within the parent scope.
283
+
284
+
285
+ - - -
286
+ """
287
+ return pulumi.get(self, "mute_config_id")
288
+
289
+ @mute_config_id.setter
290
+ def mute_config_id(self, value: Optional[pulumi.Input[str]]):
291
+ pulumi.set(self, "mute_config_id", value)
292
+
293
+ @property
294
+ @pulumi.getter
295
+ def name(self) -> Optional[pulumi.Input[str]]:
296
+ """
297
+ Name of the mute config. Its format is
298
+ organizations/{organization}/locations/global/muteConfigs/{configId},
299
+ folders/{folder}/locations/global/muteConfigs/{configId},
300
+ or projects/{project}/locations/global/muteConfigs/{configId}
301
+ """
302
+ return pulumi.get(self, "name")
303
+
304
+ @name.setter
305
+ def name(self, value: Optional[pulumi.Input[str]]):
306
+ pulumi.set(self, "name", value)
307
+
308
+ @property
309
+ @pulumi.getter
310
+ def type(self) -> Optional[pulumi.Input[str]]:
311
+ """
312
+ The type of the mute config.
313
+ """
314
+ return pulumi.get(self, "type")
315
+
316
+ @type.setter
317
+ def type(self, value: Optional[pulumi.Input[str]]):
318
+ pulumi.set(self, "type", value)
319
+
320
+ @property
321
+ @pulumi.getter(name="updateTime")
322
+ def update_time(self) -> Optional[pulumi.Input[str]]:
323
+ """
324
+ Output only. The most recent time at which the mute config was
325
+ updated. This field is set by the server and will be ignored if
326
+ provided on config creation or update.
327
+ """
328
+ return pulumi.get(self, "update_time")
329
+
330
+ @update_time.setter
331
+ def update_time(self, value: Optional[pulumi.Input[str]]):
332
+ pulumi.set(self, "update_time", value)
333
+
334
+
335
+ class V2FolderMuteConfig(pulumi.CustomResource):
336
+ @overload
337
+ def __init__(__self__,
338
+ resource_name: str,
339
+ opts: Optional[pulumi.ResourceOptions] = None,
340
+ description: Optional[pulumi.Input[str]] = None,
341
+ filter: Optional[pulumi.Input[str]] = None,
342
+ folder: Optional[pulumi.Input[str]] = None,
343
+ location: Optional[pulumi.Input[str]] = None,
344
+ mute_config_id: Optional[pulumi.Input[str]] = None,
345
+ type: Optional[pulumi.Input[str]] = None,
346
+ __props__=None):
347
+ """
348
+ Mute Findings is a volume management feature in Security Command Center
349
+ that lets you manually or programmatically hide irrelevant findings,
350
+ and create filters to automatically silence existing and future
351
+ findings based on criteria you specify.
352
+
353
+ To get more information about FolderMuteConfig, see:
354
+
355
+ * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v2/folders.muteConfigs)
356
+
357
+ ## Example Usage
358
+
359
+ ### Scc V2 Folder Mute Config Basic
360
+
361
+ ```python
362
+ import pulumi
363
+ import pulumi_gcp as gcp
364
+
365
+ folder = gcp.organizations.Folder("folder",
366
+ parent="organizations/123456789",
367
+ display_name="folder-name")
368
+ default = gcp.securitycenter.V2FolderMuteConfig("default",
369
+ mute_config_id="my-config",
370
+ folder=folder.folder_id,
371
+ location="global",
372
+ description="My custom Cloud Security Command Center Finding Folder mute Configuration",
373
+ filter="severity = \\"HIGH\\"",
374
+ type="STATIC")
375
+ ```
376
+
377
+ ## Import
378
+
379
+ FolderMuteConfig can be imported using any of these accepted formats:
380
+
381
+ * `folders/{{folder}}/locations/{{location}}/muteConfigs/{{mute_config_id}}`
382
+
383
+ * `{{folder}}/{{location}}/{{mute_config_id}}`
384
+
385
+ When using the `pulumi import` command, FolderMuteConfig can be imported using one of the formats above. For example:
386
+
387
+ ```sh
388
+ $ pulumi import gcp:securitycenter/v2FolderMuteConfig:V2FolderMuteConfig default folders/{{folder}}/locations/{{location}}/muteConfigs/{{mute_config_id}}
389
+ ```
390
+
391
+ ```sh
392
+ $ pulumi import gcp:securitycenter/v2FolderMuteConfig:V2FolderMuteConfig default {{folder}}/{{location}}/{{mute_config_id}}
393
+ ```
394
+
395
+ :param str resource_name: The name of the resource.
396
+ :param pulumi.ResourceOptions opts: Options for the resource.
397
+ :param pulumi.Input[str] description: A description of the mute config.
398
+ :param pulumi.Input[str] filter: An expression that defines the filter to apply across create/update
399
+ events of findings. While creating a filter string, be mindful of
400
+ the scope in which the mute configuration is being created. E.g.,
401
+ If a filter contains project = X but is created under the
402
+ project = Y scope, it might not match any findings.
403
+ :param pulumi.Input[str] folder: The folder whose Cloud Security Command Center the Mute
404
+ Config lives in.
405
+ :param pulumi.Input[str] location: location Id is provided by folder. If not provided, Use global as default.
406
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
407
+
408
+
409
+ - - -
410
+ :param pulumi.Input[str] type: The type of the mute config.
411
+ """
412
+ ...
413
+ @overload
414
+ def __init__(__self__,
415
+ resource_name: str,
416
+ args: V2FolderMuteConfigArgs,
417
+ opts: Optional[pulumi.ResourceOptions] = None):
418
+ """
419
+ Mute Findings is a volume management feature in Security Command Center
420
+ that lets you manually or programmatically hide irrelevant findings,
421
+ and create filters to automatically silence existing and future
422
+ findings based on criteria you specify.
423
+
424
+ To get more information about FolderMuteConfig, see:
425
+
426
+ * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v2/folders.muteConfigs)
427
+
428
+ ## Example Usage
429
+
430
+ ### Scc V2 Folder Mute Config Basic
431
+
432
+ ```python
433
+ import pulumi
434
+ import pulumi_gcp as gcp
435
+
436
+ folder = gcp.organizations.Folder("folder",
437
+ parent="organizations/123456789",
438
+ display_name="folder-name")
439
+ default = gcp.securitycenter.V2FolderMuteConfig("default",
440
+ mute_config_id="my-config",
441
+ folder=folder.folder_id,
442
+ location="global",
443
+ description="My custom Cloud Security Command Center Finding Folder mute Configuration",
444
+ filter="severity = \\"HIGH\\"",
445
+ type="STATIC")
446
+ ```
447
+
448
+ ## Import
449
+
450
+ FolderMuteConfig can be imported using any of these accepted formats:
451
+
452
+ * `folders/{{folder}}/locations/{{location}}/muteConfigs/{{mute_config_id}}`
453
+
454
+ * `{{folder}}/{{location}}/{{mute_config_id}}`
455
+
456
+ When using the `pulumi import` command, FolderMuteConfig can be imported using one of the formats above. For example:
457
+
458
+ ```sh
459
+ $ pulumi import gcp:securitycenter/v2FolderMuteConfig:V2FolderMuteConfig default folders/{{folder}}/locations/{{location}}/muteConfigs/{{mute_config_id}}
460
+ ```
461
+
462
+ ```sh
463
+ $ pulumi import gcp:securitycenter/v2FolderMuteConfig:V2FolderMuteConfig default {{folder}}/{{location}}/{{mute_config_id}}
464
+ ```
465
+
466
+ :param str resource_name: The name of the resource.
467
+ :param V2FolderMuteConfigArgs args: The arguments to use to populate this resource's properties.
468
+ :param pulumi.ResourceOptions opts: Options for the resource.
469
+ """
470
+ ...
471
+ def __init__(__self__, resource_name: str, *args, **kwargs):
472
+ resource_args, opts = _utilities.get_resource_args_opts(V2FolderMuteConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
473
+ if resource_args is not None:
474
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
475
+ else:
476
+ __self__._internal_init(resource_name, *args, **kwargs)
477
+
478
+ def _internal_init(__self__,
479
+ resource_name: str,
480
+ opts: Optional[pulumi.ResourceOptions] = None,
481
+ description: Optional[pulumi.Input[str]] = None,
482
+ filter: Optional[pulumi.Input[str]] = None,
483
+ folder: Optional[pulumi.Input[str]] = None,
484
+ location: Optional[pulumi.Input[str]] = None,
485
+ mute_config_id: Optional[pulumi.Input[str]] = None,
486
+ type: Optional[pulumi.Input[str]] = None,
487
+ __props__=None):
488
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
489
+ if not isinstance(opts, pulumi.ResourceOptions):
490
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
491
+ if opts.id is None:
492
+ if __props__ is not None:
493
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
494
+ __props__ = V2FolderMuteConfigArgs.__new__(V2FolderMuteConfigArgs)
495
+
496
+ __props__.__dict__["description"] = description
497
+ if filter is None and not opts.urn:
498
+ raise TypeError("Missing required property 'filter'")
499
+ __props__.__dict__["filter"] = filter
500
+ if folder is None and not opts.urn:
501
+ raise TypeError("Missing required property 'folder'")
502
+ __props__.__dict__["folder"] = folder
503
+ __props__.__dict__["location"] = location
504
+ if mute_config_id is None and not opts.urn:
505
+ raise TypeError("Missing required property 'mute_config_id'")
506
+ __props__.__dict__["mute_config_id"] = mute_config_id
507
+ if type is None and not opts.urn:
508
+ raise TypeError("Missing required property 'type'")
509
+ __props__.__dict__["type"] = type
510
+ __props__.__dict__["create_time"] = None
511
+ __props__.__dict__["most_recent_editor"] = None
512
+ __props__.__dict__["name"] = None
513
+ __props__.__dict__["update_time"] = None
514
+ super(V2FolderMuteConfig, __self__).__init__(
515
+ 'gcp:securitycenter/v2FolderMuteConfig:V2FolderMuteConfig',
516
+ resource_name,
517
+ __props__,
518
+ opts)
519
+
520
+ @staticmethod
521
+ def get(resource_name: str,
522
+ id: pulumi.Input[str],
523
+ opts: Optional[pulumi.ResourceOptions] = None,
524
+ create_time: Optional[pulumi.Input[str]] = None,
525
+ description: Optional[pulumi.Input[str]] = None,
526
+ filter: Optional[pulumi.Input[str]] = None,
527
+ folder: Optional[pulumi.Input[str]] = None,
528
+ location: Optional[pulumi.Input[str]] = None,
529
+ most_recent_editor: Optional[pulumi.Input[str]] = None,
530
+ mute_config_id: Optional[pulumi.Input[str]] = None,
531
+ name: Optional[pulumi.Input[str]] = None,
532
+ type: Optional[pulumi.Input[str]] = None,
533
+ update_time: Optional[pulumi.Input[str]] = None) -> 'V2FolderMuteConfig':
534
+ """
535
+ Get an existing V2FolderMuteConfig resource's state with the given name, id, and optional extra
536
+ properties used to qualify the lookup.
537
+
538
+ :param str resource_name: The unique name of the resulting resource.
539
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
540
+ :param pulumi.ResourceOptions opts: Options for the resource.
541
+ :param pulumi.Input[str] create_time: The time at which the mute config was created. This field is set by
542
+ the server and will be ignored if provided on config creation.
543
+ :param pulumi.Input[str] description: A description of the mute config.
544
+ :param pulumi.Input[str] filter: An expression that defines the filter to apply across create/update
545
+ events of findings. While creating a filter string, be mindful of
546
+ the scope in which the mute configuration is being created. E.g.,
547
+ If a filter contains project = X but is created under the
548
+ project = Y scope, it might not match any findings.
549
+ :param pulumi.Input[str] folder: The folder whose Cloud Security Command Center the Mute
550
+ Config lives in.
551
+ :param pulumi.Input[str] location: location Id is provided by folder. If not provided, Use global as default.
552
+ :param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the mute config. This
553
+ field is set by the server and will be ignored if provided on
554
+ config creation or update.
555
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
556
+
557
+
558
+ - - -
559
+ :param pulumi.Input[str] name: Name of the mute config. Its format is
560
+ organizations/{organization}/locations/global/muteConfigs/{configId},
561
+ folders/{folder}/locations/global/muteConfigs/{configId},
562
+ or projects/{project}/locations/global/muteConfigs/{configId}
563
+ :param pulumi.Input[str] type: The type of the mute config.
564
+ :param pulumi.Input[str] update_time: Output only. The most recent time at which the mute config was
565
+ updated. This field is set by the server and will be ignored if
566
+ provided on config creation or update.
567
+ """
568
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
569
+
570
+ __props__ = _V2FolderMuteConfigState.__new__(_V2FolderMuteConfigState)
571
+
572
+ __props__.__dict__["create_time"] = create_time
573
+ __props__.__dict__["description"] = description
574
+ __props__.__dict__["filter"] = filter
575
+ __props__.__dict__["folder"] = folder
576
+ __props__.__dict__["location"] = location
577
+ __props__.__dict__["most_recent_editor"] = most_recent_editor
578
+ __props__.__dict__["mute_config_id"] = mute_config_id
579
+ __props__.__dict__["name"] = name
580
+ __props__.__dict__["type"] = type
581
+ __props__.__dict__["update_time"] = update_time
582
+ return V2FolderMuteConfig(resource_name, opts=opts, __props__=__props__)
583
+
584
+ @property
585
+ @pulumi.getter(name="createTime")
586
+ def create_time(self) -> pulumi.Output[str]:
587
+ """
588
+ The time at which the mute config was created. This field is set by
589
+ the server and will be ignored if provided on config creation.
590
+ """
591
+ return pulumi.get(self, "create_time")
592
+
593
+ @property
594
+ @pulumi.getter
595
+ def description(self) -> pulumi.Output[Optional[str]]:
596
+ """
597
+ A description of the mute config.
598
+ """
599
+ return pulumi.get(self, "description")
600
+
601
+ @property
602
+ @pulumi.getter
603
+ def filter(self) -> pulumi.Output[str]:
604
+ """
605
+ An expression that defines the filter to apply across create/update
606
+ events of findings. While creating a filter string, be mindful of
607
+ the scope in which the mute configuration is being created. E.g.,
608
+ If a filter contains project = X but is created under the
609
+ project = Y scope, it might not match any findings.
610
+ """
611
+ return pulumi.get(self, "filter")
612
+
613
+ @property
614
+ @pulumi.getter
615
+ def folder(self) -> pulumi.Output[str]:
616
+ """
617
+ The folder whose Cloud Security Command Center the Mute
618
+ Config lives in.
619
+ """
620
+ return pulumi.get(self, "folder")
621
+
622
+ @property
623
+ @pulumi.getter
624
+ def location(self) -> pulumi.Output[Optional[str]]:
625
+ """
626
+ location Id is provided by folder. If not provided, Use global as default.
627
+ """
628
+ return pulumi.get(self, "location")
629
+
630
+ @property
631
+ @pulumi.getter(name="mostRecentEditor")
632
+ def most_recent_editor(self) -> pulumi.Output[str]:
633
+ """
634
+ Email address of the user who last edited the mute config. This
635
+ field is set by the server and will be ignored if provided on
636
+ config creation or update.
637
+ """
638
+ return pulumi.get(self, "most_recent_editor")
639
+
640
+ @property
641
+ @pulumi.getter(name="muteConfigId")
642
+ def mute_config_id(self) -> pulumi.Output[str]:
643
+ """
644
+ Unique identifier provided by the client within the parent scope.
645
+
646
+
647
+ - - -
648
+ """
649
+ return pulumi.get(self, "mute_config_id")
650
+
651
+ @property
652
+ @pulumi.getter
653
+ def name(self) -> pulumi.Output[str]:
654
+ """
655
+ Name of the mute config. Its format is
656
+ organizations/{organization}/locations/global/muteConfigs/{configId},
657
+ folders/{folder}/locations/global/muteConfigs/{configId},
658
+ or projects/{project}/locations/global/muteConfigs/{configId}
659
+ """
660
+ return pulumi.get(self, "name")
661
+
662
+ @property
663
+ @pulumi.getter
664
+ def type(self) -> pulumi.Output[str]:
665
+ """
666
+ The type of the mute config.
667
+ """
668
+ return pulumi.get(self, "type")
669
+
670
+ @property
671
+ @pulumi.getter(name="updateTime")
672
+ def update_time(self) -> pulumi.Output[str]:
673
+ """
674
+ Output only. The most recent time at which the mute config was
675
+ updated. This field is set by the server and will be ignored if
676
+ provided on config creation or update.
677
+ """
678
+ return pulumi.get(self, "update_time")
679
+