pulumi-gcp 7.3.0a1702567892__py3-none-any.whl → 7.3.1__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 +129 -0
  2. pulumi_gcp/artifactregistry/_inputs.py +88 -0
  3. pulumi_gcp/artifactregistry/outputs.py +148 -0
  4. pulumi_gcp/artifactregistry/repository.py +116 -16
  5. pulumi_gcp/bigquery/_inputs.py +110 -0
  6. pulumi_gcp/bigquery/connection.py +123 -3
  7. pulumi_gcp/bigquery/outputs.py +145 -0
  8. pulumi_gcp/cloudbuild/_inputs.py +241 -1
  9. pulumi_gcp/cloudbuild/outputs.py +353 -2
  10. pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -2
  11. pulumi_gcp/cloudfunctionsv2/outputs.py +6 -2
  12. pulumi_gcp/cloudidentity/_inputs.py +54 -5
  13. pulumi_gcp/cloudidentity/group_membership.py +0 -8
  14. pulumi_gcp/cloudidentity/outputs.py +99 -4
  15. pulumi_gcp/cloudrunv2/_inputs.py +8 -4
  16. pulumi_gcp/cloudrunv2/job.py +44 -0
  17. pulumi_gcp/cloudrunv2/outputs.py +8 -4
  18. pulumi_gcp/cloudrunv2/service.py +42 -0
  19. pulumi_gcp/cloudtasks/queue.py +0 -10
  20. pulumi_gcp/composer/_inputs.py +17 -4
  21. pulumi_gcp/composer/outputs.py +20 -4
  22. pulumi_gcp/compute/_inputs.py +46 -0
  23. pulumi_gcp/compute/get_global_forwarding_rule.py +11 -1
  24. pulumi_gcp/compute/global_forwarding_rule.py +69 -0
  25. pulumi_gcp/compute/outputs.py +75 -0
  26. pulumi_gcp/config/__init__.pyi +6 -0
  27. pulumi_gcp/config/vars.py +12 -0
  28. pulumi_gcp/container/_inputs.py +58 -0
  29. pulumi_gcp/container/node_pool.py +68 -14
  30. pulumi_gcp/container/outputs.py +68 -0
  31. pulumi_gcp/dataform/__init__.py +4 -0
  32. pulumi_gcp/dataform/_inputs.py +80 -0
  33. pulumi_gcp/dataform/get_repository_iam_policy.py +144 -0
  34. pulumi_gcp/dataform/outputs.py +56 -0
  35. pulumi_gcp/dataform/repository_iam_binding.py +325 -0
  36. pulumi_gcp/dataform/repository_iam_member.py +325 -0
  37. pulumi_gcp/dataform/repository_iam_policy.py +254 -0
  38. pulumi_gcp/dataloss/_inputs.py +29 -26
  39. pulumi_gcp/dataloss/outputs.py +28 -25
  40. pulumi_gcp/dataloss/prevention_job_trigger.py +78 -0
  41. pulumi_gcp/datastream/connection_profile.py +82 -4
  42. pulumi_gcp/datastream/stream.py +32 -22
  43. pulumi_gcp/firestore/database.py +146 -28
  44. pulumi_gcp/gkehub/_inputs.py +821 -3
  45. pulumi_gcp/gkehub/feature.py +176 -0
  46. pulumi_gcp/gkehub/feature_membership.py +105 -59
  47. pulumi_gcp/gkehub/fleet.py +70 -2
  48. pulumi_gcp/gkehub/outputs.py +819 -3
  49. pulumi_gcp/gkehub/scope.py +2 -2
  50. pulumi_gcp/iam/_inputs.py +72 -0
  51. pulumi_gcp/iam/outputs.py +79 -0
  52. pulumi_gcp/iam/workforce_pool.py +75 -0
  53. pulumi_gcp/identityplatform/project_default_config.py +4 -0
  54. pulumi_gcp/logging/__init__.py +3 -0
  55. pulumi_gcp/logging/get_folder_settings.py +197 -0
  56. pulumi_gcp/logging/get_organization_settings.py +197 -0
  57. pulumi_gcp/logging/get_project_settings.py +197 -0
  58. pulumi_gcp/migrationcenter/__init__.py +8 -0
  59. pulumi_gcp/migrationcenter/group.py +652 -0
  60. pulumi_gcp/netapp/__init__.py +8 -0
  61. pulumi_gcp/netapp/storage_pool.py +970 -0
  62. pulumi_gcp/projects/iam_custom_role.py +7 -7
  63. pulumi_gcp/provider.py +60 -0
  64. pulumi_gcp/securesourcemanager/__init__.py +14 -0
  65. pulumi_gcp/securesourcemanager/_inputs.py +94 -0
  66. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +168 -0
  67. pulumi_gcp/securesourcemanager/instance.py +607 -0
  68. pulumi_gcp/securesourcemanager/instance_iam_binding.py +325 -0
  69. pulumi_gcp/securesourcemanager/instance_iam_member.py +325 -0
  70. pulumi_gcp/securesourcemanager/instance_iam_policy.py +254 -0
  71. pulumi_gcp/securesourcemanager/outputs.py +70 -0
  72. pulumi_gcp/securitycenter/__init__.py +1 -0
  73. pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +528 -0
  74. pulumi_gcp/sql/_inputs.py +2 -2
  75. pulumi_gcp/sql/database_instance.py +4 -4
  76. pulumi_gcp/sql/outputs.py +2 -2
  77. pulumi_gcp/storage/_inputs.py +16 -0
  78. pulumi_gcp/storage/outputs.py +21 -0
  79. pulumi_gcp/vertex/__init__.py +4 -0
  80. pulumi_gcp/vertex/_inputs.py +80 -0
  81. pulumi_gcp/vertex/ai_endpoint_iam_binding.py +325 -0
  82. pulumi_gcp/vertex/ai_endpoint_iam_member.py +325 -0
  83. pulumi_gcp/vertex/ai_endpoint_iam_policy.py +254 -0
  84. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +140 -0
  85. pulumi_gcp/vertex/outputs.py +56 -0
  86. pulumi_gcp/vmwareengine/__init__.py +5 -0
  87. pulumi_gcp/vmwareengine/_inputs.py +104 -2
  88. pulumi_gcp/vmwareengine/get_network.py +14 -4
  89. pulumi_gcp/vmwareengine/get_network_peering.py +260 -0
  90. pulumi_gcp/vmwareengine/get_network_policy.py +228 -0
  91. pulumi_gcp/vmwareengine/get_nsx_credentials.py +133 -0
  92. pulumi_gcp/vmwareengine/get_private_cloud.py +14 -4
  93. pulumi_gcp/vmwareengine/network.py +41 -7
  94. pulumi_gcp/vmwareengine/network_peering.py +959 -0
  95. pulumi_gcp/vmwareengine/network_policy.py +836 -0
  96. pulumi_gcp/vmwareengine/outputs.py +133 -2
  97. pulumi_gcp/vmwareengine/private_cloud.py +20 -68
  98. {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/METADATA +1 -1
  99. {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/RECORD +101 -72
  100. {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/WHEEL +0 -0
  101. {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,607 @@
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__ = ['InstanceArgs', 'Instance']
13
+
14
+ @pulumi.input_type
15
+ class InstanceArgs:
16
+ def __init__(__self__, *,
17
+ instance_id: pulumi.Input[str],
18
+ location: pulumi.Input[str],
19
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
20
+ project: Optional[pulumi.Input[str]] = None):
21
+ """
22
+ The set of arguments for constructing a Instance resource.
23
+ :param pulumi.Input[str] instance_id: The name for the Instance.
24
+
25
+
26
+ - - -
27
+ :param pulumi.Input[str] location: The location for the Instance.
28
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
29
+
30
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
31
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
32
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
33
+ If it is not provided, the provider project is used.
34
+ """
35
+ pulumi.set(__self__, "instance_id", instance_id)
36
+ pulumi.set(__self__, "location", location)
37
+ if labels is not None:
38
+ pulumi.set(__self__, "labels", labels)
39
+ if project is not None:
40
+ pulumi.set(__self__, "project", project)
41
+
42
+ @property
43
+ @pulumi.getter(name="instanceId")
44
+ def instance_id(self) -> pulumi.Input[str]:
45
+ """
46
+ The name for the Instance.
47
+
48
+
49
+ - - -
50
+ """
51
+ return pulumi.get(self, "instance_id")
52
+
53
+ @instance_id.setter
54
+ def instance_id(self, value: pulumi.Input[str]):
55
+ pulumi.set(self, "instance_id", value)
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def location(self) -> pulumi.Input[str]:
60
+ """
61
+ The location for the Instance.
62
+ """
63
+ return pulumi.get(self, "location")
64
+
65
+ @location.setter
66
+ def location(self, value: pulumi.Input[str]):
67
+ pulumi.set(self, "location", value)
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
72
+ """
73
+ Labels as key value pairs.
74
+
75
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
76
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
77
+ """
78
+ return pulumi.get(self, "labels")
79
+
80
+ @labels.setter
81
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
82
+ pulumi.set(self, "labels", value)
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def project(self) -> Optional[pulumi.Input[str]]:
87
+ """
88
+ The ID of the project in which the resource belongs.
89
+ If it is not provided, the provider project is used.
90
+ """
91
+ return pulumi.get(self, "project")
92
+
93
+ @project.setter
94
+ def project(self, value: Optional[pulumi.Input[str]]):
95
+ pulumi.set(self, "project", value)
96
+
97
+
98
+ @pulumi.input_type
99
+ class _InstanceState:
100
+ def __init__(__self__, *,
101
+ create_time: Optional[pulumi.Input[str]] = None,
102
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
103
+ instance_id: Optional[pulumi.Input[str]] = None,
104
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
105
+ location: Optional[pulumi.Input[str]] = None,
106
+ name: Optional[pulumi.Input[str]] = None,
107
+ project: Optional[pulumi.Input[str]] = None,
108
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
109
+ state: Optional[pulumi.Input[str]] = None,
110
+ update_time: Optional[pulumi.Input[str]] = None):
111
+ """
112
+ Input properties used for looking up and filtering Instance resources.
113
+ :param pulumi.Input[str] create_time: Time the Instance was created in UTC.
114
+ :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.
115
+ :param pulumi.Input[str] instance_id: The name for the Instance.
116
+
117
+
118
+ - - -
119
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
120
+
121
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
122
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
123
+ :param pulumi.Input[str] location: The location for the Instance.
124
+ :param pulumi.Input[str] name: The resource name for the Instance.
125
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
126
+ If it is not provided, the provider project is used.
127
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
128
+ and default labels configured on the provider.
129
+ :param pulumi.Input[str] state: The current state of the Instance.
130
+ :param pulumi.Input[str] update_time: Time the Instance was updated in UTC.
131
+ """
132
+ if create_time is not None:
133
+ pulumi.set(__self__, "create_time", create_time)
134
+ if effective_labels is not None:
135
+ pulumi.set(__self__, "effective_labels", effective_labels)
136
+ if instance_id is not None:
137
+ pulumi.set(__self__, "instance_id", instance_id)
138
+ if labels is not None:
139
+ pulumi.set(__self__, "labels", labels)
140
+ if location is not None:
141
+ pulumi.set(__self__, "location", location)
142
+ if name is not None:
143
+ pulumi.set(__self__, "name", name)
144
+ if project is not None:
145
+ pulumi.set(__self__, "project", project)
146
+ if pulumi_labels is not None:
147
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
148
+ if state is not None:
149
+ pulumi.set(__self__, "state", state)
150
+ if update_time is not None:
151
+ pulumi.set(__self__, "update_time", update_time)
152
+
153
+ @property
154
+ @pulumi.getter(name="createTime")
155
+ def create_time(self) -> Optional[pulumi.Input[str]]:
156
+ """
157
+ Time the Instance was created in UTC.
158
+ """
159
+ return pulumi.get(self, "create_time")
160
+
161
+ @create_time.setter
162
+ def create_time(self, value: Optional[pulumi.Input[str]]):
163
+ pulumi.set(self, "create_time", value)
164
+
165
+ @property
166
+ @pulumi.getter(name="effectiveLabels")
167
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
168
+ """
169
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
170
+ """
171
+ return pulumi.get(self, "effective_labels")
172
+
173
+ @effective_labels.setter
174
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
175
+ pulumi.set(self, "effective_labels", value)
176
+
177
+ @property
178
+ @pulumi.getter(name="instanceId")
179
+ def instance_id(self) -> Optional[pulumi.Input[str]]:
180
+ """
181
+ The name for the Instance.
182
+
183
+
184
+ - - -
185
+ """
186
+ return pulumi.get(self, "instance_id")
187
+
188
+ @instance_id.setter
189
+ def instance_id(self, value: Optional[pulumi.Input[str]]):
190
+ pulumi.set(self, "instance_id", value)
191
+
192
+ @property
193
+ @pulumi.getter
194
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
195
+ """
196
+ Labels as key value pairs.
197
+
198
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
199
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
200
+ """
201
+ return pulumi.get(self, "labels")
202
+
203
+ @labels.setter
204
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
205
+ pulumi.set(self, "labels", value)
206
+
207
+ @property
208
+ @pulumi.getter
209
+ def location(self) -> Optional[pulumi.Input[str]]:
210
+ """
211
+ The location for the Instance.
212
+ """
213
+ return pulumi.get(self, "location")
214
+
215
+ @location.setter
216
+ def location(self, value: Optional[pulumi.Input[str]]):
217
+ pulumi.set(self, "location", value)
218
+
219
+ @property
220
+ @pulumi.getter
221
+ def name(self) -> Optional[pulumi.Input[str]]:
222
+ """
223
+ The resource name for the Instance.
224
+ """
225
+ return pulumi.get(self, "name")
226
+
227
+ @name.setter
228
+ def name(self, value: Optional[pulumi.Input[str]]):
229
+ pulumi.set(self, "name", value)
230
+
231
+ @property
232
+ @pulumi.getter
233
+ def project(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ The ID of the project in which the resource belongs.
236
+ If it is not provided, the provider project is used.
237
+ """
238
+ return pulumi.get(self, "project")
239
+
240
+ @project.setter
241
+ def project(self, value: Optional[pulumi.Input[str]]):
242
+ pulumi.set(self, "project", value)
243
+
244
+ @property
245
+ @pulumi.getter(name="pulumiLabels")
246
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
247
+ """
248
+ The combination of labels configured directly on the resource
249
+ and default labels configured on the provider.
250
+ """
251
+ return pulumi.get(self, "pulumi_labels")
252
+
253
+ @pulumi_labels.setter
254
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
255
+ pulumi.set(self, "pulumi_labels", value)
256
+
257
+ @property
258
+ @pulumi.getter
259
+ def state(self) -> Optional[pulumi.Input[str]]:
260
+ """
261
+ The current state of the Instance.
262
+ """
263
+ return pulumi.get(self, "state")
264
+
265
+ @state.setter
266
+ def state(self, value: Optional[pulumi.Input[str]]):
267
+ pulumi.set(self, "state", value)
268
+
269
+ @property
270
+ @pulumi.getter(name="updateTime")
271
+ def update_time(self) -> Optional[pulumi.Input[str]]:
272
+ """
273
+ Time the Instance was updated in UTC.
274
+ """
275
+ return pulumi.get(self, "update_time")
276
+
277
+ @update_time.setter
278
+ def update_time(self, value: Optional[pulumi.Input[str]]):
279
+ pulumi.set(self, "update_time", value)
280
+
281
+
282
+ class Instance(pulumi.CustomResource):
283
+ @overload
284
+ def __init__(__self__,
285
+ resource_name: str,
286
+ opts: Optional[pulumi.ResourceOptions] = None,
287
+ instance_id: Optional[pulumi.Input[str]] = None,
288
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
289
+ location: Optional[pulumi.Input[str]] = None,
290
+ project: Optional[pulumi.Input[str]] = None,
291
+ __props__=None):
292
+ """
293
+ Instances are deployed to an available Google Cloud region and are accessible via their web interface.
294
+
295
+ To get more information about Instance, see:
296
+
297
+ * How-to Guides
298
+ * [Official Documentation](https://cloud.google.com/secure-source-manager/overview/overview)
299
+
300
+ ## Example Usage
301
+ ### Secure Source Manager Instance Basic
302
+
303
+ ```python
304
+ import pulumi
305
+ import pulumi_gcp as gcp
306
+
307
+ default = gcp.securesourcemanager.Instance("default",
308
+ instance_id="my-instance",
309
+ labels={
310
+ "foo": "bar",
311
+ },
312
+ location="us-central1")
313
+ ```
314
+
315
+ ## Import
316
+
317
+ Instance can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/instances/{{instance_id}}` * `{{project}}/{{location}}/{{instance_id}}` * `{{location}}/{{instance_id}}` * `{{instance_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Instance using one of the formats above. For exampletf import {
318
+
319
+ id = "projects/{{project}}/locations/{{location}}/instances/{{instance_id}}"
320
+
321
+ to = google_secure_source_manager_instance.default }
322
+
323
+ ```sh
324
+ $ pulumi import gcp:securesourcemanager/instance:Instance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Instance can be imported using one of the formats above. For example
325
+ ```
326
+
327
+ ```sh
328
+ $ pulumi import gcp:securesourcemanager/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{instance_id}}
329
+ ```
330
+
331
+ ```sh
332
+ $ pulumi import gcp:securesourcemanager/instance:Instance default {{project}}/{{location}}/{{instance_id}}
333
+ ```
334
+
335
+ ```sh
336
+ $ pulumi import gcp:securesourcemanager/instance:Instance default {{location}}/{{instance_id}}
337
+ ```
338
+
339
+ ```sh
340
+ $ pulumi import gcp:securesourcemanager/instance:Instance default {{instance_id}}
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] instance_id: The name for the Instance.
346
+
347
+
348
+ - - -
349
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
350
+
351
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
352
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
353
+ :param pulumi.Input[str] location: The location for the Instance.
354
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
355
+ If it is not provided, the provider project is used.
356
+ """
357
+ ...
358
+ @overload
359
+ def __init__(__self__,
360
+ resource_name: str,
361
+ args: InstanceArgs,
362
+ opts: Optional[pulumi.ResourceOptions] = None):
363
+ """
364
+ Instances are deployed to an available Google Cloud region and are accessible via their web interface.
365
+
366
+ To get more information about Instance, see:
367
+
368
+ * How-to Guides
369
+ * [Official Documentation](https://cloud.google.com/secure-source-manager/overview/overview)
370
+
371
+ ## Example Usage
372
+ ### Secure Source Manager Instance Basic
373
+
374
+ ```python
375
+ import pulumi
376
+ import pulumi_gcp as gcp
377
+
378
+ default = gcp.securesourcemanager.Instance("default",
379
+ instance_id="my-instance",
380
+ labels={
381
+ "foo": "bar",
382
+ },
383
+ location="us-central1")
384
+ ```
385
+
386
+ ## Import
387
+
388
+ Instance can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/instances/{{instance_id}}` * `{{project}}/{{location}}/{{instance_id}}` * `{{location}}/{{instance_id}}` * `{{instance_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Instance using one of the formats above. For exampletf import {
389
+
390
+ id = "projects/{{project}}/locations/{{location}}/instances/{{instance_id}}"
391
+
392
+ to = google_secure_source_manager_instance.default }
393
+
394
+ ```sh
395
+ $ pulumi import gcp:securesourcemanager/instance:Instance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Instance can be imported using one of the formats above. For example
396
+ ```
397
+
398
+ ```sh
399
+ $ pulumi import gcp:securesourcemanager/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{instance_id}}
400
+ ```
401
+
402
+ ```sh
403
+ $ pulumi import gcp:securesourcemanager/instance:Instance default {{project}}/{{location}}/{{instance_id}}
404
+ ```
405
+
406
+ ```sh
407
+ $ pulumi import gcp:securesourcemanager/instance:Instance default {{location}}/{{instance_id}}
408
+ ```
409
+
410
+ ```sh
411
+ $ pulumi import gcp:securesourcemanager/instance:Instance default {{instance_id}}
412
+ ```
413
+
414
+ :param str resource_name: The name of the resource.
415
+ :param InstanceArgs args: The arguments to use to populate this resource's properties.
416
+ :param pulumi.ResourceOptions opts: Options for the resource.
417
+ """
418
+ ...
419
+ def __init__(__self__, resource_name: str, *args, **kwargs):
420
+ resource_args, opts = _utilities.get_resource_args_opts(InstanceArgs, pulumi.ResourceOptions, *args, **kwargs)
421
+ if resource_args is not None:
422
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
423
+ else:
424
+ __self__._internal_init(resource_name, *args, **kwargs)
425
+
426
+ def _internal_init(__self__,
427
+ resource_name: str,
428
+ opts: Optional[pulumi.ResourceOptions] = None,
429
+ instance_id: Optional[pulumi.Input[str]] = None,
430
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
431
+ location: 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__ = InstanceArgs.__new__(InstanceArgs)
441
+
442
+ if instance_id is None and not opts.urn:
443
+ raise TypeError("Missing required property 'instance_id'")
444
+ __props__.__dict__["instance_id"] = instance_id
445
+ __props__.__dict__["labels"] = labels
446
+ if location is None and not opts.urn:
447
+ raise TypeError("Missing required property 'location'")
448
+ __props__.__dict__["location"] = location
449
+ __props__.__dict__["project"] = project
450
+ __props__.__dict__["create_time"] = None
451
+ __props__.__dict__["effective_labels"] = None
452
+ __props__.__dict__["name"] = None
453
+ __props__.__dict__["pulumi_labels"] = None
454
+ __props__.__dict__["state"] = None
455
+ __props__.__dict__["update_time"] = None
456
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
457
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
458
+ super(Instance, __self__).__init__(
459
+ 'gcp:securesourcemanager/instance:Instance',
460
+ resource_name,
461
+ __props__,
462
+ opts)
463
+
464
+ @staticmethod
465
+ def get(resource_name: str,
466
+ id: pulumi.Input[str],
467
+ opts: Optional[pulumi.ResourceOptions] = None,
468
+ create_time: Optional[pulumi.Input[str]] = None,
469
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
470
+ instance_id: Optional[pulumi.Input[str]] = None,
471
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
472
+ location: Optional[pulumi.Input[str]] = None,
473
+ name: Optional[pulumi.Input[str]] = None,
474
+ project: Optional[pulumi.Input[str]] = None,
475
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
476
+ state: Optional[pulumi.Input[str]] = None,
477
+ update_time: Optional[pulumi.Input[str]] = None) -> 'Instance':
478
+ """
479
+ Get an existing Instance resource's state with the given name, id, and optional extra
480
+ properties used to qualify the lookup.
481
+
482
+ :param str resource_name: The unique name of the resulting resource.
483
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
484
+ :param pulumi.ResourceOptions opts: Options for the resource.
485
+ :param pulumi.Input[str] create_time: Time the Instance was created in UTC.
486
+ :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.
487
+ :param pulumi.Input[str] instance_id: The name for the Instance.
488
+
489
+
490
+ - - -
491
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
492
+
493
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
494
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
495
+ :param pulumi.Input[str] location: The location for the Instance.
496
+ :param pulumi.Input[str] name: The resource name for the Instance.
497
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
498
+ If it is not provided, the provider project is used.
499
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
500
+ and default labels configured on the provider.
501
+ :param pulumi.Input[str] state: The current state of the Instance.
502
+ :param pulumi.Input[str] update_time: Time the Instance was updated in UTC.
503
+ """
504
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
505
+
506
+ __props__ = _InstanceState.__new__(_InstanceState)
507
+
508
+ __props__.__dict__["create_time"] = create_time
509
+ __props__.__dict__["effective_labels"] = effective_labels
510
+ __props__.__dict__["instance_id"] = instance_id
511
+ __props__.__dict__["labels"] = labels
512
+ __props__.__dict__["location"] = location
513
+ __props__.__dict__["name"] = name
514
+ __props__.__dict__["project"] = project
515
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
516
+ __props__.__dict__["state"] = state
517
+ __props__.__dict__["update_time"] = update_time
518
+ return Instance(resource_name, opts=opts, __props__=__props__)
519
+
520
+ @property
521
+ @pulumi.getter(name="createTime")
522
+ def create_time(self) -> pulumi.Output[str]:
523
+ """
524
+ Time the Instance was created in UTC.
525
+ """
526
+ return pulumi.get(self, "create_time")
527
+
528
+ @property
529
+ @pulumi.getter(name="effectiveLabels")
530
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
531
+ """
532
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
533
+ """
534
+ return pulumi.get(self, "effective_labels")
535
+
536
+ @property
537
+ @pulumi.getter(name="instanceId")
538
+ def instance_id(self) -> pulumi.Output[str]:
539
+ """
540
+ The name for the Instance.
541
+
542
+
543
+ - - -
544
+ """
545
+ return pulumi.get(self, "instance_id")
546
+
547
+ @property
548
+ @pulumi.getter
549
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
550
+ """
551
+ Labels as key value pairs.
552
+
553
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
554
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
555
+ """
556
+ return pulumi.get(self, "labels")
557
+
558
+ @property
559
+ @pulumi.getter
560
+ def location(self) -> pulumi.Output[str]:
561
+ """
562
+ The location for the Instance.
563
+ """
564
+ return pulumi.get(self, "location")
565
+
566
+ @property
567
+ @pulumi.getter
568
+ def name(self) -> pulumi.Output[str]:
569
+ """
570
+ The resource name for the Instance.
571
+ """
572
+ return pulumi.get(self, "name")
573
+
574
+ @property
575
+ @pulumi.getter
576
+ def project(self) -> pulumi.Output[str]:
577
+ """
578
+ The ID of the project in which the resource belongs.
579
+ If it is not provided, the provider project is used.
580
+ """
581
+ return pulumi.get(self, "project")
582
+
583
+ @property
584
+ @pulumi.getter(name="pulumiLabels")
585
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
586
+ """
587
+ The combination of labels configured directly on the resource
588
+ and default labels configured on the provider.
589
+ """
590
+ return pulumi.get(self, "pulumi_labels")
591
+
592
+ @property
593
+ @pulumi.getter
594
+ def state(self) -> pulumi.Output[str]:
595
+ """
596
+ The current state of the Instance.
597
+ """
598
+ return pulumi.get(self, "state")
599
+
600
+ @property
601
+ @pulumi.getter(name="updateTime")
602
+ def update_time(self) -> pulumi.Output[str]:
603
+ """
604
+ Time the Instance was updated in UTC.
605
+ """
606
+ return pulumi.get(self, "update_time")
607
+