pulumi-gcp 7.5.0a1704347630__py3-none-any.whl → 7.6.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. pulumi_gcp/__init__.py +99 -0
  2. pulumi_gcp/bigqueryanalyticshub/_inputs.py +40 -0
  3. pulumi_gcp/bigqueryanalyticshub/listing.py +117 -3
  4. pulumi_gcp/bigqueryanalyticshub/outputs.py +49 -0
  5. pulumi_gcp/clouddeploy/__init__.py +1 -0
  6. pulumi_gcp/clouddeploy/_inputs.py +239 -0
  7. pulumi_gcp/clouddeploy/automation.py +1103 -0
  8. pulumi_gcp/clouddeploy/outputs.py +246 -0
  9. pulumi_gcp/clouddomains/__init__.py +10 -0
  10. pulumi_gcp/clouddomains/_inputs.py +1098 -0
  11. pulumi_gcp/clouddomains/outputs.py +1156 -0
  12. pulumi_gcp/clouddomains/registration.py +1068 -0
  13. pulumi_gcp/cloudrunv2/job.py +4 -4
  14. pulumi_gcp/composer/_inputs.py +79 -1
  15. pulumi_gcp/composer/outputs.py +131 -4
  16. pulumi_gcp/compute/__init__.py +1 -0
  17. pulumi_gcp/compute/_inputs.py +180 -0
  18. pulumi_gcp/compute/get_instance_template.py +11 -1
  19. pulumi_gcp/compute/get_region_instance_template.py +11 -1
  20. pulumi_gcp/compute/get_reservation.py +212 -0
  21. pulumi_gcp/compute/instance_template.py +47 -0
  22. pulumi_gcp/compute/network_firewall_policy.py +20 -22
  23. pulumi_gcp/compute/outputs.py +325 -0
  24. pulumi_gcp/compute/region_instance_template.py +47 -0
  25. pulumi_gcp/compute/region_network_firewall_policy.py +31 -35
  26. pulumi_gcp/compute/router_peer.py +54 -0
  27. pulumi_gcp/compute/vpn_tunnel.py +8 -4
  28. pulumi_gcp/config/__init__.pyi +2 -0
  29. pulumi_gcp/config/vars.py +4 -0
  30. pulumi_gcp/container/_inputs.py +23 -0
  31. pulumi_gcp/container/aws_node_pool.py +7 -7
  32. pulumi_gcp/container/cluster.py +68 -14
  33. pulumi_gcp/container/get_cluster.py +11 -1
  34. pulumi_gcp/container/outputs.py +49 -0
  35. pulumi_gcp/dataflow/pipeline.py +1 -1
  36. pulumi_gcp/dataproc/_inputs.py +413 -39
  37. pulumi_gcp/dataproc/metastore_service.py +63 -0
  38. pulumi_gcp/dataproc/outputs.py +461 -39
  39. pulumi_gcp/dns/__init__.py +1 -0
  40. pulumi_gcp/dns/_inputs.py +94 -0
  41. pulumi_gcp/dns/get_managed_zones.py +89 -0
  42. pulumi_gcp/dns/outputs.py +62 -0
  43. pulumi_gcp/edgecontainer/vpn_connection.py +10 -10
  44. pulumi_gcp/filestore/__init__.py +1 -0
  45. pulumi_gcp/filestore/get_instance.py +258 -0
  46. pulumi_gcp/filestore/instance.py +7 -7
  47. pulumi_gcp/filestore/outputs.py +126 -0
  48. pulumi_gcp/gkebackup/backup_plan.py +24 -8
  49. pulumi_gcp/gkebackup/restore_plan.py +36 -12
  50. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +36 -12
  51. pulumi_gcp/gkebackup/restore_plan_iam_member.py +36 -12
  52. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +36 -12
  53. pulumi_gcp/gkehub/_inputs.py +502 -2
  54. pulumi_gcp/gkehub/feature.py +34 -0
  55. pulumi_gcp/gkehub/feature_membership.py +177 -0
  56. pulumi_gcp/gkehub/membership.py +18 -6
  57. pulumi_gcp/gkehub/outputs.py +502 -2
  58. pulumi_gcp/gkeonprem/_inputs.py +21 -25
  59. pulumi_gcp/gkeonprem/outputs.py +34 -25
  60. pulumi_gcp/gkeonprem/v_mware_node_pool.py +34 -0
  61. pulumi_gcp/integrationconnectors/__init__.py +1 -0
  62. pulumi_gcp/integrationconnectors/endpoint_attachment.py +669 -0
  63. pulumi_gcp/kms/_inputs.py +42 -0
  64. pulumi_gcp/kms/crypto_key.py +36 -0
  65. pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
  66. pulumi_gcp/kms/outputs.py +62 -0
  67. pulumi_gcp/logging/__init__.py +2 -0
  68. pulumi_gcp/logging/folder_settings.py +490 -0
  69. pulumi_gcp/logging/folder_sink.py +21 -21
  70. pulumi_gcp/logging/organization_settings.py +484 -0
  71. pulumi_gcp/logging/organization_sink.py +21 -21
  72. pulumi_gcp/logging/project_sink.py +7 -14
  73. pulumi_gcp/netapp/__init__.py +3 -0
  74. pulumi_gcp/netapp/active_directory.py +1413 -0
  75. pulumi_gcp/netapp/backup_vault.py +593 -0
  76. pulumi_gcp/netapp/kmsconfig.py +649 -0
  77. pulumi_gcp/orgpolicy/policy.py +28 -0
  78. pulumi_gcp/provider.py +20 -0
  79. pulumi_gcp/pubsub/subscription.py +29 -37
  80. pulumi_gcp/serviceaccount/account.py +47 -0
  81. pulumi_gcp/servicenetworking/connection.py +55 -1
  82. pulumi_gcp/sql/database_instance.py +2 -2
  83. pulumi_gcp/sql/ssl_cert.py +1 -1
  84. pulumi_gcp/sql/user.py +7 -7
  85. pulumi_gcp/storage/transfer_job.py +24 -5
  86. pulumi_gcp/vertex/__init__.py +3 -0
  87. pulumi_gcp/vertex/_inputs.py +339 -0
  88. pulumi_gcp/vertex/ai_feature_group.py +710 -0
  89. pulumi_gcp/vertex/ai_feature_online_store.py +962 -0
  90. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +804 -0
  91. pulumi_gcp/vertex/outputs.py +406 -0
  92. pulumi_gcp/vmwareengine/__init__.py +2 -0
  93. pulumi_gcp/vmwareengine/_inputs.py +84 -0
  94. pulumi_gcp/vmwareengine/external_access_rule.py +947 -0
  95. pulumi_gcp/vmwareengine/get_external_access_rule.py +245 -0
  96. pulumi_gcp/vmwareengine/outputs.py +146 -0
  97. pulumi_gcp/workflows/workflow.py +7 -7
  98. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/METADATA +1 -1
  99. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/RECORD +101 -82
  100. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/WHEEL +0 -0
  101. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,593 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = ['BackupVaultArgs', 'BackupVault']
13
+
14
+ @pulumi.input_type
15
+ class BackupVaultArgs:
16
+ def __init__(__self__, *,
17
+ location: pulumi.Input[str],
18
+ description: Optional[pulumi.Input[str]] = None,
19
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
20
+ name: Optional[pulumi.Input[str]] = None,
21
+ project: Optional[pulumi.Input[str]] = None):
22
+ """
23
+ The set of arguments for constructing a BackupVault resource.
24
+ :param pulumi.Input[str] location: Location (region) of the backup vault.
25
+ :param pulumi.Input[str] description: An optional description of this resource.
26
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
27
+
28
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
29
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
30
+ :param pulumi.Input[str] name: The resource name of the backup vault. Needs to be unique per location.
31
+
32
+
33
+ - - -
34
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
35
+ If it is not provided, the provider project is used.
36
+ """
37
+ pulumi.set(__self__, "location", location)
38
+ if description is not None:
39
+ pulumi.set(__self__, "description", description)
40
+ if labels is not None:
41
+ pulumi.set(__self__, "labels", labels)
42
+ if name is not None:
43
+ pulumi.set(__self__, "name", name)
44
+ if project is not None:
45
+ pulumi.set(__self__, "project", project)
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def location(self) -> pulumi.Input[str]:
50
+ """
51
+ Location (region) of the backup vault.
52
+ """
53
+ return pulumi.get(self, "location")
54
+
55
+ @location.setter
56
+ def location(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "location", value)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def description(self) -> Optional[pulumi.Input[str]]:
62
+ """
63
+ An optional description of this resource.
64
+ """
65
+ return pulumi.get(self, "description")
66
+
67
+ @description.setter
68
+ def description(self, value: Optional[pulumi.Input[str]]):
69
+ pulumi.set(self, "description", value)
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
74
+ """
75
+ Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
76
+
77
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
78
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
79
+ """
80
+ return pulumi.get(self, "labels")
81
+
82
+ @labels.setter
83
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
84
+ pulumi.set(self, "labels", value)
85
+
86
+ @property
87
+ @pulumi.getter
88
+ def name(self) -> Optional[pulumi.Input[str]]:
89
+ """
90
+ The resource name of the backup vault. Needs to be unique per location.
91
+
92
+
93
+ - - -
94
+ """
95
+ return pulumi.get(self, "name")
96
+
97
+ @name.setter
98
+ def name(self, value: Optional[pulumi.Input[str]]):
99
+ pulumi.set(self, "name", value)
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def project(self) -> Optional[pulumi.Input[str]]:
104
+ """
105
+ The ID of the project in which the resource belongs.
106
+ If it is not provided, the provider project is used.
107
+ """
108
+ return pulumi.get(self, "project")
109
+
110
+ @project.setter
111
+ def project(self, value: Optional[pulumi.Input[str]]):
112
+ pulumi.set(self, "project", value)
113
+
114
+
115
+ @pulumi.input_type
116
+ class _BackupVaultState:
117
+ def __init__(__self__, *,
118
+ create_time: Optional[pulumi.Input[str]] = None,
119
+ description: Optional[pulumi.Input[str]] = None,
120
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
121
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
122
+ location: Optional[pulumi.Input[str]] = None,
123
+ name: Optional[pulumi.Input[str]] = None,
124
+ project: Optional[pulumi.Input[str]] = None,
125
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
126
+ state: Optional[pulumi.Input[str]] = None):
127
+ """
128
+ Input properties used for looking up and filtering BackupVault resources.
129
+ :param pulumi.Input[str] create_time: Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
130
+ :param pulumi.Input[str] description: An optional description of this resource.
131
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
132
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
133
+
134
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
135
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
136
+ :param pulumi.Input[str] location: Location (region) of the backup vault.
137
+ :param pulumi.Input[str] name: The resource name of the backup vault. Needs to be unique per location.
138
+
139
+
140
+ - - -
141
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
142
+ If it is not provided, the provider project is used.
143
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
144
+ and default labels configured on the provider.
145
+ :param pulumi.Input[str] state: The state of the Backup Vault.
146
+ """
147
+ if create_time is not None:
148
+ pulumi.set(__self__, "create_time", create_time)
149
+ if description is not None:
150
+ pulumi.set(__self__, "description", description)
151
+ if effective_labels is not None:
152
+ pulumi.set(__self__, "effective_labels", effective_labels)
153
+ if labels is not None:
154
+ pulumi.set(__self__, "labels", labels)
155
+ if location is not None:
156
+ pulumi.set(__self__, "location", location)
157
+ if name is not None:
158
+ pulumi.set(__self__, "name", name)
159
+ if project is not None:
160
+ pulumi.set(__self__, "project", project)
161
+ if pulumi_labels is not None:
162
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
163
+ if state is not None:
164
+ pulumi.set(__self__, "state", state)
165
+
166
+ @property
167
+ @pulumi.getter(name="createTime")
168
+ def create_time(self) -> Optional[pulumi.Input[str]]:
169
+ """
170
+ Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
171
+ """
172
+ return pulumi.get(self, "create_time")
173
+
174
+ @create_time.setter
175
+ def create_time(self, value: Optional[pulumi.Input[str]]):
176
+ pulumi.set(self, "create_time", value)
177
+
178
+ @property
179
+ @pulumi.getter
180
+ def description(self) -> Optional[pulumi.Input[str]]:
181
+ """
182
+ An optional description of this resource.
183
+ """
184
+ return pulumi.get(self, "description")
185
+
186
+ @description.setter
187
+ def description(self, value: Optional[pulumi.Input[str]]):
188
+ pulumi.set(self, "description", value)
189
+
190
+ @property
191
+ @pulumi.getter(name="effectiveLabels")
192
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
193
+ """
194
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
195
+ """
196
+ return pulumi.get(self, "effective_labels")
197
+
198
+ @effective_labels.setter
199
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
200
+ pulumi.set(self, "effective_labels", value)
201
+
202
+ @property
203
+ @pulumi.getter
204
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
205
+ """
206
+ Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
207
+
208
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
209
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
210
+ """
211
+ return pulumi.get(self, "labels")
212
+
213
+ @labels.setter
214
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
215
+ pulumi.set(self, "labels", value)
216
+
217
+ @property
218
+ @pulumi.getter
219
+ def location(self) -> Optional[pulumi.Input[str]]:
220
+ """
221
+ Location (region) of the backup vault.
222
+ """
223
+ return pulumi.get(self, "location")
224
+
225
+ @location.setter
226
+ def location(self, value: Optional[pulumi.Input[str]]):
227
+ pulumi.set(self, "location", value)
228
+
229
+ @property
230
+ @pulumi.getter
231
+ def name(self) -> Optional[pulumi.Input[str]]:
232
+ """
233
+ The resource name of the backup vault. Needs to be unique per location.
234
+
235
+
236
+ - - -
237
+ """
238
+ return pulumi.get(self, "name")
239
+
240
+ @name.setter
241
+ def name(self, value: Optional[pulumi.Input[str]]):
242
+ pulumi.set(self, "name", value)
243
+
244
+ @property
245
+ @pulumi.getter
246
+ def project(self) -> Optional[pulumi.Input[str]]:
247
+ """
248
+ The ID of the project in which the resource belongs.
249
+ If it is not provided, the provider project is used.
250
+ """
251
+ return pulumi.get(self, "project")
252
+
253
+ @project.setter
254
+ def project(self, value: Optional[pulumi.Input[str]]):
255
+ pulumi.set(self, "project", value)
256
+
257
+ @property
258
+ @pulumi.getter(name="pulumiLabels")
259
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
260
+ """
261
+ The combination of labels configured directly on the resource
262
+ and default labels configured on the provider.
263
+ """
264
+ return pulumi.get(self, "pulumi_labels")
265
+
266
+ @pulumi_labels.setter
267
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
268
+ pulumi.set(self, "pulumi_labels", value)
269
+
270
+ @property
271
+ @pulumi.getter
272
+ def state(self) -> Optional[pulumi.Input[str]]:
273
+ """
274
+ The state of the Backup Vault.
275
+ """
276
+ return pulumi.get(self, "state")
277
+
278
+ @state.setter
279
+ def state(self, value: Optional[pulumi.Input[str]]):
280
+ pulumi.set(self, "state", value)
281
+
282
+
283
+ class BackupVault(pulumi.CustomResource):
284
+ @overload
285
+ def __init__(__self__,
286
+ resource_name: str,
287
+ opts: Optional[pulumi.ResourceOptions] = None,
288
+ description: Optional[pulumi.Input[str]] = None,
289
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
290
+ location: Optional[pulumi.Input[str]] = None,
291
+ name: Optional[pulumi.Input[str]] = None,
292
+ project: Optional[pulumi.Input[str]] = None,
293
+ __props__=None):
294
+ """
295
+ A backup vault is the location where backups are stored. You can only create one backup vault per region.
296
+ A vault can hold multiple backups for multiple volumes in that region.
297
+
298
+ To get more information about backupVault, see:
299
+
300
+ * [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults)
301
+ * How-to Guides
302
+ * [Documentation](https://cloud.google.com/netapp/volumes/docs/protect-data/about-volume-backups)
303
+
304
+ ## Example Usage
305
+ ### Netapp Backup Vault
306
+
307
+ ```python
308
+ import pulumi
309
+ import pulumi_gcp as gcp
310
+
311
+ test_backup_vault = gcp.netapp.BackupVault("testBackupVault",
312
+ location="us-central1",
313
+ description="Terraform created vault",
314
+ labels={
315
+ "creator": "testuser",
316
+ })
317
+ ```
318
+
319
+ ## Import
320
+
321
+ backupVault can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/backupVaults/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import backupVault using one of the formats above. For exampletf import {
322
+
323
+ id = "projects/{{project}}/locations/{{location}}/backupVaults/{{name}}"
324
+
325
+ to = google_netapp_backup_vault.default }
326
+
327
+ ```sh
328
+ $ pulumi import gcp:netapp/backupVault:BackupVault When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), backupVault can be imported using one of the formats above. For example
329
+ ```
330
+
331
+ ```sh
332
+ $ pulumi import gcp:netapp/backupVault:BackupVault default projects/{{project}}/locations/{{location}}/backupVaults/{{name}}
333
+ ```
334
+
335
+ ```sh
336
+ $ pulumi import gcp:netapp/backupVault:BackupVault default {{project}}/{{location}}/{{name}}
337
+ ```
338
+
339
+ ```sh
340
+ $ pulumi import gcp:netapp/backupVault:BackupVault default {{location}}/{{name}}
341
+ ```
342
+
343
+ :param str resource_name: The name of the resource.
344
+ :param pulumi.ResourceOptions opts: Options for the resource.
345
+ :param pulumi.Input[str] description: An optional description of this resource.
346
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
347
+
348
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
349
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
350
+ :param pulumi.Input[str] location: Location (region) of the backup vault.
351
+ :param pulumi.Input[str] name: The resource name of the backup vault. Needs to be unique per location.
352
+
353
+
354
+ - - -
355
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
356
+ If it is not provided, the provider project is used.
357
+ """
358
+ ...
359
+ @overload
360
+ def __init__(__self__,
361
+ resource_name: str,
362
+ args: BackupVaultArgs,
363
+ opts: Optional[pulumi.ResourceOptions] = None):
364
+ """
365
+ A backup vault is the location where backups are stored. You can only create one backup vault per region.
366
+ A vault can hold multiple backups for multiple volumes in that region.
367
+
368
+ To get more information about backupVault, see:
369
+
370
+ * [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults)
371
+ * How-to Guides
372
+ * [Documentation](https://cloud.google.com/netapp/volumes/docs/protect-data/about-volume-backups)
373
+
374
+ ## Example Usage
375
+ ### Netapp Backup Vault
376
+
377
+ ```python
378
+ import pulumi
379
+ import pulumi_gcp as gcp
380
+
381
+ test_backup_vault = gcp.netapp.BackupVault("testBackupVault",
382
+ location="us-central1",
383
+ description="Terraform created vault",
384
+ labels={
385
+ "creator": "testuser",
386
+ })
387
+ ```
388
+
389
+ ## Import
390
+
391
+ backupVault can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/backupVaults/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import backupVault using one of the formats above. For exampletf import {
392
+
393
+ id = "projects/{{project}}/locations/{{location}}/backupVaults/{{name}}"
394
+
395
+ to = google_netapp_backup_vault.default }
396
+
397
+ ```sh
398
+ $ pulumi import gcp:netapp/backupVault:BackupVault When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), backupVault can be imported using one of the formats above. For example
399
+ ```
400
+
401
+ ```sh
402
+ $ pulumi import gcp:netapp/backupVault:BackupVault default projects/{{project}}/locations/{{location}}/backupVaults/{{name}}
403
+ ```
404
+
405
+ ```sh
406
+ $ pulumi import gcp:netapp/backupVault:BackupVault default {{project}}/{{location}}/{{name}}
407
+ ```
408
+
409
+ ```sh
410
+ $ pulumi import gcp:netapp/backupVault:BackupVault default {{location}}/{{name}}
411
+ ```
412
+
413
+ :param str resource_name: The name of the resource.
414
+ :param BackupVaultArgs args: The arguments to use to populate this resource's properties.
415
+ :param pulumi.ResourceOptions opts: Options for the resource.
416
+ """
417
+ ...
418
+ def __init__(__self__, resource_name: str, *args, **kwargs):
419
+ resource_args, opts = _utilities.get_resource_args_opts(BackupVaultArgs, pulumi.ResourceOptions, *args, **kwargs)
420
+ if resource_args is not None:
421
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
422
+ else:
423
+ __self__._internal_init(resource_name, *args, **kwargs)
424
+
425
+ def _internal_init(__self__,
426
+ resource_name: str,
427
+ opts: Optional[pulumi.ResourceOptions] = None,
428
+ description: Optional[pulumi.Input[str]] = None,
429
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
430
+ location: Optional[pulumi.Input[str]] = None,
431
+ name: Optional[pulumi.Input[str]] = None,
432
+ project: Optional[pulumi.Input[str]] = None,
433
+ __props__=None):
434
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
435
+ if not isinstance(opts, pulumi.ResourceOptions):
436
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
437
+ if opts.id is None:
438
+ if __props__ is not None:
439
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
440
+ __props__ = BackupVaultArgs.__new__(BackupVaultArgs)
441
+
442
+ __props__.__dict__["description"] = description
443
+ __props__.__dict__["labels"] = labels
444
+ if location is None and not opts.urn:
445
+ raise TypeError("Missing required property 'location'")
446
+ __props__.__dict__["location"] = location
447
+ __props__.__dict__["name"] = name
448
+ __props__.__dict__["project"] = project
449
+ __props__.__dict__["create_time"] = None
450
+ __props__.__dict__["effective_labels"] = None
451
+ __props__.__dict__["pulumi_labels"] = None
452
+ __props__.__dict__["state"] = None
453
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
454
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
455
+ super(BackupVault, __self__).__init__(
456
+ 'gcp:netapp/backupVault:BackupVault',
457
+ resource_name,
458
+ __props__,
459
+ opts)
460
+
461
+ @staticmethod
462
+ def get(resource_name: str,
463
+ id: pulumi.Input[str],
464
+ opts: Optional[pulumi.ResourceOptions] = None,
465
+ create_time: Optional[pulumi.Input[str]] = None,
466
+ description: Optional[pulumi.Input[str]] = None,
467
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
468
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
469
+ location: Optional[pulumi.Input[str]] = None,
470
+ name: Optional[pulumi.Input[str]] = None,
471
+ project: Optional[pulumi.Input[str]] = None,
472
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
473
+ state: Optional[pulumi.Input[str]] = None) -> 'BackupVault':
474
+ """
475
+ Get an existing BackupVault resource's state with the given name, id, and optional extra
476
+ properties used to qualify the lookup.
477
+
478
+ :param str resource_name: The unique name of the resulting resource.
479
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
480
+ :param pulumi.ResourceOptions opts: Options for the resource.
481
+ :param pulumi.Input[str] create_time: Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
482
+ :param pulumi.Input[str] description: An optional description of this resource.
483
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
484
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
485
+
486
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
487
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
488
+ :param pulumi.Input[str] location: Location (region) of the backup vault.
489
+ :param pulumi.Input[str] name: The resource name of the backup vault. Needs to be unique per location.
490
+
491
+
492
+ - - -
493
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
494
+ If it is not provided, the provider project is used.
495
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
496
+ and default labels configured on the provider.
497
+ :param pulumi.Input[str] state: The state of the Backup Vault.
498
+ """
499
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
500
+
501
+ __props__ = _BackupVaultState.__new__(_BackupVaultState)
502
+
503
+ __props__.__dict__["create_time"] = create_time
504
+ __props__.__dict__["description"] = description
505
+ __props__.__dict__["effective_labels"] = effective_labels
506
+ __props__.__dict__["labels"] = labels
507
+ __props__.__dict__["location"] = location
508
+ __props__.__dict__["name"] = name
509
+ __props__.__dict__["project"] = project
510
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
511
+ __props__.__dict__["state"] = state
512
+ return BackupVault(resource_name, opts=opts, __props__=__props__)
513
+
514
+ @property
515
+ @pulumi.getter(name="createTime")
516
+ def create_time(self) -> pulumi.Output[str]:
517
+ """
518
+ Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
519
+ """
520
+ return pulumi.get(self, "create_time")
521
+
522
+ @property
523
+ @pulumi.getter
524
+ def description(self) -> pulumi.Output[Optional[str]]:
525
+ """
526
+ An optional description of this resource.
527
+ """
528
+ return pulumi.get(self, "description")
529
+
530
+ @property
531
+ @pulumi.getter(name="effectiveLabels")
532
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
533
+ """
534
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
535
+ """
536
+ return pulumi.get(self, "effective_labels")
537
+
538
+ @property
539
+ @pulumi.getter
540
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
541
+ """
542
+ Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
543
+
544
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
545
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
546
+ """
547
+ return pulumi.get(self, "labels")
548
+
549
+ @property
550
+ @pulumi.getter
551
+ def location(self) -> pulumi.Output[str]:
552
+ """
553
+ Location (region) of the backup vault.
554
+ """
555
+ return pulumi.get(self, "location")
556
+
557
+ @property
558
+ @pulumi.getter
559
+ def name(self) -> pulumi.Output[str]:
560
+ """
561
+ The resource name of the backup vault. Needs to be unique per location.
562
+
563
+
564
+ - - -
565
+ """
566
+ return pulumi.get(self, "name")
567
+
568
+ @property
569
+ @pulumi.getter
570
+ def project(self) -> pulumi.Output[str]:
571
+ """
572
+ The ID of the project in which the resource belongs.
573
+ If it is not provided, the provider project is used.
574
+ """
575
+ return pulumi.get(self, "project")
576
+
577
+ @property
578
+ @pulumi.getter(name="pulumiLabels")
579
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
580
+ """
581
+ The combination of labels configured directly on the resource
582
+ and default labels configured on the provider.
583
+ """
584
+ return pulumi.get(self, "pulumi_labels")
585
+
586
+ @property
587
+ @pulumi.getter
588
+ def state(self) -> pulumi.Output[str]:
589
+ """
590
+ The state of the Backup Vault.
591
+ """
592
+ return pulumi.get(self, "state")
593
+