pulumi-gcp 7.34.0a1722421695__py3-none-any.whl → 7.34.0a1722604983__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.

Potentially problematic release.


This version of pulumi-gcp might be problematic. Click here for more details.

Files changed (78) hide show
  1. pulumi_gcp/__init__.py +40 -0
  2. pulumi_gcp/alloydb/_inputs.py +174 -0
  3. pulumi_gcp/alloydb/instance.py +54 -0
  4. pulumi_gcp/alloydb/outputs.py +133 -0
  5. pulumi_gcp/apigee/__init__.py +2 -0
  6. pulumi_gcp/apigee/environment_keyvaluemaps.py +370 -0
  7. pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +440 -0
  8. pulumi_gcp/apigee/instance.py +2 -2
  9. pulumi_gcp/apigee/nat_address.py +2 -2
  10. pulumi_gcp/apigee/organization.py +4 -4
  11. pulumi_gcp/apphub/service_project_attachment.py +11 -11
  12. pulumi_gcp/bigquery/_inputs.py +36 -0
  13. pulumi_gcp/bigquery/app_profile.py +54 -0
  14. pulumi_gcp/bigquery/outputs.py +38 -0
  15. pulumi_gcp/bigquery/reservation.py +34 -4
  16. pulumi_gcp/bigquery/table.py +65 -21
  17. pulumi_gcp/bigtable/table.py +27 -26
  18. pulumi_gcp/certificateauthority/authority.py +4 -4
  19. pulumi_gcp/cloudfunctions/function.py +47 -0
  20. pulumi_gcp/cloudfunctions/get_function.py +11 -1
  21. pulumi_gcp/cloudfunctionsv2/function.py +2 -2
  22. pulumi_gcp/cloudrun/_inputs.py +24 -21
  23. pulumi_gcp/cloudrun/outputs.py +20 -24
  24. pulumi_gcp/cloudrunv2/_inputs.py +3 -0
  25. pulumi_gcp/cloudrunv2/outputs.py +4 -0
  26. pulumi_gcp/compute/__init__.py +2 -0
  27. pulumi_gcp/compute/_inputs.py +2334 -329
  28. pulumi_gcp/compute/backend_service.py +6 -0
  29. pulumi_gcp/compute/outputs.py +1466 -7
  30. pulumi_gcp/compute/public_advertised_prefix.py +30 -2
  31. pulumi_gcp/compute/resize_request.py +782 -0
  32. pulumi_gcp/compute/router_peer.py +437 -0
  33. pulumi_gcp/compute/router_route_policy.py +616 -0
  34. pulumi_gcp/compute/service_attachment.py +7 -14
  35. pulumi_gcp/container/_inputs.py +215 -18
  36. pulumi_gcp/container/node_pool.py +0 -14
  37. pulumi_gcp/container/outputs.py +226 -12
  38. pulumi_gcp/databasemigrationservice/private_connection.py +10 -6
  39. pulumi_gcp/dataloss/_inputs.py +707 -21
  40. pulumi_gcp/dataloss/outputs.py +588 -14
  41. pulumi_gcp/datastore/data_store_index.py +24 -12
  42. pulumi_gcp/datastream/_inputs.py +83 -3
  43. pulumi_gcp/datastream/outputs.py +51 -3
  44. pulumi_gcp/datastream/stream.py +170 -0
  45. pulumi_gcp/firebase/database_instance.py +8 -8
  46. pulumi_gcp/firebase/hosting_site.py +8 -8
  47. pulumi_gcp/firestore/index.py +10 -10
  48. pulumi_gcp/gkeonprem/_inputs.py +78 -78
  49. pulumi_gcp/gkeonprem/outputs.py +52 -52
  50. pulumi_gcp/iap/client.py +4 -4
  51. pulumi_gcp/integrationconnectors/_inputs.py +30 -30
  52. pulumi_gcp/integrationconnectors/outputs.py +20 -20
  53. pulumi_gcp/netapp/volume.py +1 -1
  54. pulumi_gcp/networkconnectivity/_inputs.py +3 -6
  55. pulumi_gcp/networkconnectivity/hub.py +60 -49
  56. pulumi_gcp/networkconnectivity/outputs.py +2 -4
  57. pulumi_gcp/networkconnectivity/spoke.py +159 -104
  58. pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
  59. pulumi_gcp/orgpolicy/policy.py +4 -4
  60. pulumi_gcp/projects/get_project_service.py +11 -1
  61. pulumi_gcp/projects/service.py +68 -0
  62. pulumi_gcp/projects/service_identity.py +30 -2
  63. pulumi_gcp/pubsub/subscription.py +6 -6
  64. pulumi_gcp/pulumi-plugin.json +1 -1
  65. pulumi_gcp/securesourcemanager/instance.py +528 -4
  66. pulumi_gcp/securitycenter/__init__.py +1 -0
  67. pulumi_gcp/securitycenter/v2_organization_mute_config.py +673 -0
  68. pulumi_gcp/sql/database_instance.py +2 -2
  69. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  70. pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
  71. pulumi_gcp/vmwareengine/private_cloud.py +121 -2
  72. pulumi_gcp/workbench/_inputs.py +77 -0
  73. pulumi_gcp/workbench/instance.py +18 -4
  74. pulumi_gcp/workbench/outputs.py +67 -1
  75. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/METADATA +1 -1
  76. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/RECORD +78 -73
  77. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/WHEEL +0 -0
  78. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,673 @@
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__ = ['V2OrganizationMuteConfigArgs', 'V2OrganizationMuteConfig']
18
+
19
+ @pulumi.input_type
20
+ class V2OrganizationMuteConfigArgs:
21
+ def __init__(__self__, *,
22
+ filter: pulumi.Input[str],
23
+ mute_config_id: pulumi.Input[str],
24
+ organization: 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 V2OrganizationMuteConfig 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] mute_config_id: Unique identifier provided by the client within the parent scope.
36
+
37
+
38
+ - - -
39
+ :param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Mute
40
+ Config lives in.
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 organization. If not provided, Use global as default.
44
+ """
45
+ pulumi.set(__self__, "filter", filter)
46
+ pulumi.set(__self__, "mute_config_id", mute_config_id)
47
+ pulumi.set(__self__, "organization", organization)
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(name="muteConfigId")
72
+ def mute_config_id(self) -> pulumi.Input[str]:
73
+ """
74
+ Unique identifier provided by the client within the parent scope.
75
+
76
+
77
+ - - -
78
+ """
79
+ return pulumi.get(self, "mute_config_id")
80
+
81
+ @mute_config_id.setter
82
+ def mute_config_id(self, value: pulumi.Input[str]):
83
+ pulumi.set(self, "mute_config_id", value)
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def organization(self) -> pulumi.Input[str]:
88
+ """
89
+ The organization whose Cloud Security Command Center the Mute
90
+ Config lives in.
91
+ """
92
+ return pulumi.get(self, "organization")
93
+
94
+ @organization.setter
95
+ def organization(self, value: pulumi.Input[str]):
96
+ pulumi.set(self, "organization", 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 organization. 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 _V2OrganizationMuteConfigState:
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
+ location: Optional[pulumi.Input[str]] = None,
142
+ most_recent_editor: Optional[pulumi.Input[str]] = None,
143
+ mute_config_id: Optional[pulumi.Input[str]] = None,
144
+ name: Optional[pulumi.Input[str]] = None,
145
+ organization: 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 V2OrganizationMuteConfig 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] location: location Id is provided by organization. If not provided, Use global as default.
159
+ :param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the mute config. This
160
+ field is set by the server and will be ignored if provided on
161
+ config creation or update.
162
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
163
+
164
+
165
+ - - -
166
+ :param pulumi.Input[str] name: Name of the mute config. Its format is
167
+ organizations/{organization}/locations/global/muteConfigs/{configId},
168
+ folders/{folder}/locations/global/muteConfigs/{configId},
169
+ or projects/{project}/locations/global/muteConfigs/{configId}
170
+ :param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Mute
171
+ Config lives in.
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 location is not None:
184
+ pulumi.set(__self__, "location", location)
185
+ if most_recent_editor is not None:
186
+ pulumi.set(__self__, "most_recent_editor", most_recent_editor)
187
+ if mute_config_id is not None:
188
+ pulumi.set(__self__, "mute_config_id", mute_config_id)
189
+ if name is not None:
190
+ pulumi.set(__self__, "name", name)
191
+ if organization is not None:
192
+ pulumi.set(__self__, "organization", organization)
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 location(self) -> Optional[pulumi.Input[str]]:
242
+ """
243
+ location Id is provided by organization. If not provided, Use global as default.
244
+ """
245
+ return pulumi.get(self, "location")
246
+
247
+ @location.setter
248
+ def location(self, value: Optional[pulumi.Input[str]]):
249
+ pulumi.set(self, "location", value)
250
+
251
+ @property
252
+ @pulumi.getter(name="mostRecentEditor")
253
+ def most_recent_editor(self) -> Optional[pulumi.Input[str]]:
254
+ """
255
+ Email address of the user who last edited the mute config. This
256
+ field is set by the server and will be ignored if provided on
257
+ config creation or update.
258
+ """
259
+ return pulumi.get(self, "most_recent_editor")
260
+
261
+ @most_recent_editor.setter
262
+ def most_recent_editor(self, value: Optional[pulumi.Input[str]]):
263
+ pulumi.set(self, "most_recent_editor", value)
264
+
265
+ @property
266
+ @pulumi.getter(name="muteConfigId")
267
+ def mute_config_id(self) -> Optional[pulumi.Input[str]]:
268
+ """
269
+ Unique identifier provided by the client within the parent scope.
270
+
271
+
272
+ - - -
273
+ """
274
+ return pulumi.get(self, "mute_config_id")
275
+
276
+ @mute_config_id.setter
277
+ def mute_config_id(self, value: Optional[pulumi.Input[str]]):
278
+ pulumi.set(self, "mute_config_id", value)
279
+
280
+ @property
281
+ @pulumi.getter
282
+ def name(self) -> Optional[pulumi.Input[str]]:
283
+ """
284
+ Name of the mute config. Its format is
285
+ organizations/{organization}/locations/global/muteConfigs/{configId},
286
+ folders/{folder}/locations/global/muteConfigs/{configId},
287
+ or projects/{project}/locations/global/muteConfigs/{configId}
288
+ """
289
+ return pulumi.get(self, "name")
290
+
291
+ @name.setter
292
+ def name(self, value: Optional[pulumi.Input[str]]):
293
+ pulumi.set(self, "name", value)
294
+
295
+ @property
296
+ @pulumi.getter
297
+ def organization(self) -> Optional[pulumi.Input[str]]:
298
+ """
299
+ The organization whose Cloud Security Command Center the Mute
300
+ Config lives in.
301
+ """
302
+ return pulumi.get(self, "organization")
303
+
304
+ @organization.setter
305
+ def organization(self, value: Optional[pulumi.Input[str]]):
306
+ pulumi.set(self, "organization", 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 V2OrganizationMuteConfig(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
+ location: Optional[pulumi.Input[str]] = None,
343
+ mute_config_id: Optional[pulumi.Input[str]] = None,
344
+ organization: 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 OrganizationMuteConfig, see:
354
+
355
+ * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.muteConfigs)
356
+
357
+ ## Example Usage
358
+
359
+ ### Scc V2 Organization Mute Config Basic
360
+
361
+ ```python
362
+ import pulumi
363
+ import pulumi_gcp as gcp
364
+
365
+ default = gcp.securitycenter.V2OrganizationMuteConfig("default",
366
+ mute_config_id="my-config",
367
+ organization="123456789",
368
+ location="global",
369
+ description="My custom Cloud Security Command Center Finding Organization mute Configuration",
370
+ filter="severity = \\"HIGH\\"",
371
+ type="STATIC")
372
+ ```
373
+
374
+ ## Import
375
+
376
+ OrganizationMuteConfig can be imported using any of these accepted formats:
377
+
378
+ * `organizations/{{organization}}/locations/{{location}}/muteConfigs/{{mute_config_id}}`
379
+
380
+ * `{{organization}}/{{location}}/{{mute_config_id}}`
381
+
382
+ When using the `pulumi import` command, OrganizationMuteConfig can be imported using one of the formats above. For example:
383
+
384
+ ```sh
385
+ $ pulumi import gcp:securitycenter/v2OrganizationMuteConfig:V2OrganizationMuteConfig default organizations/{{organization}}/locations/{{location}}/muteConfigs/{{mute_config_id}}
386
+ ```
387
+
388
+ ```sh
389
+ $ pulumi import gcp:securitycenter/v2OrganizationMuteConfig:V2OrganizationMuteConfig default {{organization}}/{{location}}/{{mute_config_id}}
390
+ ```
391
+
392
+ :param str resource_name: The name of the resource.
393
+ :param pulumi.ResourceOptions opts: Options for the resource.
394
+ :param pulumi.Input[str] description: A description of the mute config.
395
+ :param pulumi.Input[str] filter: An expression that defines the filter to apply across create/update
396
+ events of findings. While creating a filter string, be mindful of
397
+ the scope in which the mute configuration is being created. E.g.,
398
+ If a filter contains project = X but is created under the
399
+ project = Y scope, it might not match any findings.
400
+ :param pulumi.Input[str] location: location Id is provided by organization. If not provided, Use global as default.
401
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
402
+
403
+
404
+ - - -
405
+ :param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Mute
406
+ Config lives in.
407
+ :param pulumi.Input[str] type: The type of the mute config.
408
+ """
409
+ ...
410
+ @overload
411
+ def __init__(__self__,
412
+ resource_name: str,
413
+ args: V2OrganizationMuteConfigArgs,
414
+ opts: Optional[pulumi.ResourceOptions] = None):
415
+ """
416
+ Mute Findings is a volume management feature in Security Command Center
417
+ that lets you manually or programmatically hide irrelevant findings,
418
+ and create filters to automatically silence existing and future
419
+ findings based on criteria you specify.
420
+
421
+ To get more information about OrganizationMuteConfig, see:
422
+
423
+ * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.muteConfigs)
424
+
425
+ ## Example Usage
426
+
427
+ ### Scc V2 Organization Mute Config Basic
428
+
429
+ ```python
430
+ import pulumi
431
+ import pulumi_gcp as gcp
432
+
433
+ default = gcp.securitycenter.V2OrganizationMuteConfig("default",
434
+ mute_config_id="my-config",
435
+ organization="123456789",
436
+ location="global",
437
+ description="My custom Cloud Security Command Center Finding Organization mute Configuration",
438
+ filter="severity = \\"HIGH\\"",
439
+ type="STATIC")
440
+ ```
441
+
442
+ ## Import
443
+
444
+ OrganizationMuteConfig can be imported using any of these accepted formats:
445
+
446
+ * `organizations/{{organization}}/locations/{{location}}/muteConfigs/{{mute_config_id}}`
447
+
448
+ * `{{organization}}/{{location}}/{{mute_config_id}}`
449
+
450
+ When using the `pulumi import` command, OrganizationMuteConfig can be imported using one of the formats above. For example:
451
+
452
+ ```sh
453
+ $ pulumi import gcp:securitycenter/v2OrganizationMuteConfig:V2OrganizationMuteConfig default organizations/{{organization}}/locations/{{location}}/muteConfigs/{{mute_config_id}}
454
+ ```
455
+
456
+ ```sh
457
+ $ pulumi import gcp:securitycenter/v2OrganizationMuteConfig:V2OrganizationMuteConfig default {{organization}}/{{location}}/{{mute_config_id}}
458
+ ```
459
+
460
+ :param str resource_name: The name of the resource.
461
+ :param V2OrganizationMuteConfigArgs args: The arguments to use to populate this resource's properties.
462
+ :param pulumi.ResourceOptions opts: Options for the resource.
463
+ """
464
+ ...
465
+ def __init__(__self__, resource_name: str, *args, **kwargs):
466
+ resource_args, opts = _utilities.get_resource_args_opts(V2OrganizationMuteConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
467
+ if resource_args is not None:
468
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
469
+ else:
470
+ __self__._internal_init(resource_name, *args, **kwargs)
471
+
472
+ def _internal_init(__self__,
473
+ resource_name: str,
474
+ opts: Optional[pulumi.ResourceOptions] = None,
475
+ description: Optional[pulumi.Input[str]] = None,
476
+ filter: Optional[pulumi.Input[str]] = None,
477
+ location: Optional[pulumi.Input[str]] = None,
478
+ mute_config_id: Optional[pulumi.Input[str]] = None,
479
+ organization: Optional[pulumi.Input[str]] = None,
480
+ type: Optional[pulumi.Input[str]] = None,
481
+ __props__=None):
482
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
483
+ if not isinstance(opts, pulumi.ResourceOptions):
484
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
485
+ if opts.id is None:
486
+ if __props__ is not None:
487
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
488
+ __props__ = V2OrganizationMuteConfigArgs.__new__(V2OrganizationMuteConfigArgs)
489
+
490
+ __props__.__dict__["description"] = description
491
+ if filter is None and not opts.urn:
492
+ raise TypeError("Missing required property 'filter'")
493
+ __props__.__dict__["filter"] = filter
494
+ __props__.__dict__["location"] = location
495
+ if mute_config_id is None and not opts.urn:
496
+ raise TypeError("Missing required property 'mute_config_id'")
497
+ __props__.__dict__["mute_config_id"] = mute_config_id
498
+ if organization is None and not opts.urn:
499
+ raise TypeError("Missing required property 'organization'")
500
+ __props__.__dict__["organization"] = organization
501
+ if type is None and not opts.urn:
502
+ raise TypeError("Missing required property 'type'")
503
+ __props__.__dict__["type"] = type
504
+ __props__.__dict__["create_time"] = None
505
+ __props__.__dict__["most_recent_editor"] = None
506
+ __props__.__dict__["name"] = None
507
+ __props__.__dict__["update_time"] = None
508
+ super(V2OrganizationMuteConfig, __self__).__init__(
509
+ 'gcp:securitycenter/v2OrganizationMuteConfig:V2OrganizationMuteConfig',
510
+ resource_name,
511
+ __props__,
512
+ opts)
513
+
514
+ @staticmethod
515
+ def get(resource_name: str,
516
+ id: pulumi.Input[str],
517
+ opts: Optional[pulumi.ResourceOptions] = None,
518
+ create_time: Optional[pulumi.Input[str]] = None,
519
+ description: Optional[pulumi.Input[str]] = None,
520
+ filter: Optional[pulumi.Input[str]] = None,
521
+ location: Optional[pulumi.Input[str]] = None,
522
+ most_recent_editor: Optional[pulumi.Input[str]] = None,
523
+ mute_config_id: Optional[pulumi.Input[str]] = None,
524
+ name: Optional[pulumi.Input[str]] = None,
525
+ organization: Optional[pulumi.Input[str]] = None,
526
+ type: Optional[pulumi.Input[str]] = None,
527
+ update_time: Optional[pulumi.Input[str]] = None) -> 'V2OrganizationMuteConfig':
528
+ """
529
+ Get an existing V2OrganizationMuteConfig resource's state with the given name, id, and optional extra
530
+ properties used to qualify the lookup.
531
+
532
+ :param str resource_name: The unique name of the resulting resource.
533
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
534
+ :param pulumi.ResourceOptions opts: Options for the resource.
535
+ :param pulumi.Input[str] create_time: The time at which the mute config was created. This field is set by
536
+ the server and will be ignored if provided on config creation.
537
+ :param pulumi.Input[str] description: A description of the mute config.
538
+ :param pulumi.Input[str] filter: An expression that defines the filter to apply across create/update
539
+ events of findings. While creating a filter string, be mindful of
540
+ the scope in which the mute configuration is being created. E.g.,
541
+ If a filter contains project = X but is created under the
542
+ project = Y scope, it might not match any findings.
543
+ :param pulumi.Input[str] location: location Id is provided by organization. If not provided, Use global as default.
544
+ :param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the mute config. This
545
+ field is set by the server and will be ignored if provided on
546
+ config creation or update.
547
+ :param pulumi.Input[str] mute_config_id: Unique identifier provided by the client within the parent scope.
548
+
549
+
550
+ - - -
551
+ :param pulumi.Input[str] name: Name of the mute config. Its format is
552
+ organizations/{organization}/locations/global/muteConfigs/{configId},
553
+ folders/{folder}/locations/global/muteConfigs/{configId},
554
+ or projects/{project}/locations/global/muteConfigs/{configId}
555
+ :param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Mute
556
+ Config lives in.
557
+ :param pulumi.Input[str] type: The type of the mute config.
558
+ :param pulumi.Input[str] update_time: Output only. The most recent time at which the mute config was
559
+ updated. This field is set by the server and will be ignored if
560
+ provided on config creation or update.
561
+ """
562
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
563
+
564
+ __props__ = _V2OrganizationMuteConfigState.__new__(_V2OrganizationMuteConfigState)
565
+
566
+ __props__.__dict__["create_time"] = create_time
567
+ __props__.__dict__["description"] = description
568
+ __props__.__dict__["filter"] = filter
569
+ __props__.__dict__["location"] = location
570
+ __props__.__dict__["most_recent_editor"] = most_recent_editor
571
+ __props__.__dict__["mute_config_id"] = mute_config_id
572
+ __props__.__dict__["name"] = name
573
+ __props__.__dict__["organization"] = organization
574
+ __props__.__dict__["type"] = type
575
+ __props__.__dict__["update_time"] = update_time
576
+ return V2OrganizationMuteConfig(resource_name, opts=opts, __props__=__props__)
577
+
578
+ @property
579
+ @pulumi.getter(name="createTime")
580
+ def create_time(self) -> pulumi.Output[str]:
581
+ """
582
+ The time at which the mute config was created. This field is set by
583
+ the server and will be ignored if provided on config creation.
584
+ """
585
+ return pulumi.get(self, "create_time")
586
+
587
+ @property
588
+ @pulumi.getter
589
+ def description(self) -> pulumi.Output[Optional[str]]:
590
+ """
591
+ A description of the mute config.
592
+ """
593
+ return pulumi.get(self, "description")
594
+
595
+ @property
596
+ @pulumi.getter
597
+ def filter(self) -> pulumi.Output[str]:
598
+ """
599
+ An expression that defines the filter to apply across create/update
600
+ events of findings. While creating a filter string, be mindful of
601
+ the scope in which the mute configuration is being created. E.g.,
602
+ If a filter contains project = X but is created under the
603
+ project = Y scope, it might not match any findings.
604
+ """
605
+ return pulumi.get(self, "filter")
606
+
607
+ @property
608
+ @pulumi.getter
609
+ def location(self) -> pulumi.Output[Optional[str]]:
610
+ """
611
+ location Id is provided by organization. If not provided, Use global as default.
612
+ """
613
+ return pulumi.get(self, "location")
614
+
615
+ @property
616
+ @pulumi.getter(name="mostRecentEditor")
617
+ def most_recent_editor(self) -> pulumi.Output[str]:
618
+ """
619
+ Email address of the user who last edited the mute config. This
620
+ field is set by the server and will be ignored if provided on
621
+ config creation or update.
622
+ """
623
+ return pulumi.get(self, "most_recent_editor")
624
+
625
+ @property
626
+ @pulumi.getter(name="muteConfigId")
627
+ def mute_config_id(self) -> pulumi.Output[str]:
628
+ """
629
+ Unique identifier provided by the client within the parent scope.
630
+
631
+
632
+ - - -
633
+ """
634
+ return pulumi.get(self, "mute_config_id")
635
+
636
+ @property
637
+ @pulumi.getter
638
+ def name(self) -> pulumi.Output[str]:
639
+ """
640
+ Name of the mute config. Its format is
641
+ organizations/{organization}/locations/global/muteConfigs/{configId},
642
+ folders/{folder}/locations/global/muteConfigs/{configId},
643
+ or projects/{project}/locations/global/muteConfigs/{configId}
644
+ """
645
+ return pulumi.get(self, "name")
646
+
647
+ @property
648
+ @pulumi.getter
649
+ def organization(self) -> pulumi.Output[str]:
650
+ """
651
+ The organization whose Cloud Security Command Center the Mute
652
+ Config lives in.
653
+ """
654
+ return pulumi.get(self, "organization")
655
+
656
+ @property
657
+ @pulumi.getter
658
+ def type(self) -> pulumi.Output[str]:
659
+ """
660
+ The type of the mute config.
661
+ """
662
+ return pulumi.get(self, "type")
663
+
664
+ @property
665
+ @pulumi.getter(name="updateTime")
666
+ def update_time(self) -> pulumi.Output[str]:
667
+ """
668
+ Output only. The most recent time at which the mute config was
669
+ updated. This field is set by the server and will be ignored if
670
+ provided on config creation or update.
671
+ """
672
+ return pulumi.get(self, "update_time")
673
+
@@ -859,7 +859,7 @@ class DatabaseInstance(pulumi.CustomResource):
859
859
  "tier": "db-f1-micro",
860
860
  "ip_configuration": {
861
861
  "ipv4_enabled": False,
862
- "private_network": private_network.id,
862
+ "private_network": private_network.self_link,
863
863
  "enable_private_path_for_google_cloud_services": True,
864
864
  },
865
865
  },
@@ -1053,7 +1053,7 @@ class DatabaseInstance(pulumi.CustomResource):
1053
1053
  "tier": "db-f1-micro",
1054
1054
  "ip_configuration": {
1055
1055
  "ipv4_enabled": False,
1056
- "private_network": private_network.id,
1056
+ "private_network": private_network.self_link,
1057
1057
  "enable_private_path_for_google_cloud_services": True,
1058
1058
  },
1059
1059
  },