pulumi-gcp 7.30.0__py3-none-any.whl → 7.30.0a1719513455__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.
- pulumi_gcp/__init__.py +0 -32
- pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
- pulumi_gcp/bigtable/gc_policy.py +14 -68
- pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -97
- pulumi_gcp/cloudfunctionsv2/function.py +0 -232
- pulumi_gcp/cloudfunctionsv2/outputs.py +1 -129
- pulumi_gcp/compute/_inputs.py +0 -622
- pulumi_gcp/compute/address.py +7 -0
- pulumi_gcp/compute/backend_service.py +14 -0
- pulumi_gcp/compute/forwarding_rule.py +21 -0
- pulumi_gcp/compute/global_forwarding_rule.py +21 -0
- pulumi_gcp/compute/managed_ssl_certificate.py +7 -0
- pulumi_gcp/compute/manged_ssl_certificate.py +7 -0
- pulumi_gcp/compute/network_attachment.py +0 -16
- pulumi_gcp/compute/outputs.py +8 -504
- pulumi_gcp/compute/region_backend_service.py +14 -0
- pulumi_gcp/compute/region_disk_iam_binding.py +95 -122
- pulumi_gcp/compute/region_disk_iam_member.py +95 -122
- pulumi_gcp/compute/region_disk_iam_policy.py +88 -115
- pulumi_gcp/compute/region_ssl_certificate.py +7 -0
- pulumi_gcp/compute/ssl_certificate.py +7 -0
- pulumi_gcp/compute/target_https_proxy.py +1 -76
- pulumi_gcp/compute/url_map.py +0 -255
- pulumi_gcp/container/aws_cluster.py +2 -2
- pulumi_gcp/container/aws_node_pool.py +2 -2
- pulumi_gcp/container/azure_client.py +2 -2
- pulumi_gcp/container/azure_cluster.py +2 -2
- pulumi_gcp/container/azure_node_pool.py +2 -2
- pulumi_gcp/datafusion/_inputs.py +11 -163
- pulumi_gcp/datafusion/instance.py +0 -64
- pulumi_gcp/datafusion/outputs.py +7 -127
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +953 -238
- pulumi_gcp/healthcare/_inputs.py +0 -43
- pulumi_gcp/healthcare/dataset.py +0 -110
- pulumi_gcp/healthcare/outputs.py +0 -43
- pulumi_gcp/identityplatform/config.py +1 -1
- pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
- pulumi_gcp/logging/folder_bucket_config.py +1 -1
- pulumi_gcp/logging/organization_bucket_config.py +1 -1
- pulumi_gcp/monitoring/_inputs.py +0 -77
- pulumi_gcp/monitoring/outputs.py +0 -63
- pulumi_gcp/networksecurity/address_group_iam_binding.py +2 -289
- pulumi_gcp/networksecurity/address_group_iam_member.py +2 -289
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/instance_iam_binding.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_member.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_policy.py +0 -64
- pulumi_gcp/sourcerepo/repository_iam_binding.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_member.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_policy.py +76 -85
- pulumi_gcp/storage/__init__.py +0 -5
- pulumi_gcp/storage/_inputs.py +0 -130
- pulumi_gcp/storage/outputs.py +0 -76
- pulumi_gcp/vertex/_inputs.py +3 -3
- pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
- pulumi_gcp/vertex/outputs.py +2 -2
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/RECORD +62 -67
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/WHEEL +1 -1
- pulumi_gcp/storage/get_managed_folder_iam_policy.py +0 -115
- pulumi_gcp/storage/managed_folder.py +0 -440
- pulumi_gcp/storage/managed_folder_iam_binding.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_member.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_policy.py +0 -766
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/top_level.txt +0 -0
@@ -30,9 +30,6 @@ class RegionDiskIamPolicyArgs:
|
|
30
30
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
31
31
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
32
32
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
33
|
-
:param pulumi.Input[str] region: A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
34
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
35
|
-
region is specified, it is taken from the provider configuration.
|
36
33
|
"""
|
37
34
|
pulumi.set(__self__, "policy_data", policy_data)
|
38
35
|
if name is not None:
|
@@ -83,11 +80,6 @@ class RegionDiskIamPolicyArgs:
|
|
83
80
|
@property
|
84
81
|
@pulumi.getter
|
85
82
|
def region(self) -> Optional[pulumi.Input[str]]:
|
86
|
-
"""
|
87
|
-
A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
88
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
89
|
-
region is specified, it is taken from the provider configuration.
|
90
|
-
"""
|
91
83
|
return pulumi.get(self, "region")
|
92
84
|
|
93
85
|
@region.setter
|
@@ -111,9 +103,6 @@ class _RegionDiskIamPolicyState:
|
|
111
103
|
a `organizations_get_iam_policy` data source.
|
112
104
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
113
105
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
114
|
-
:param pulumi.Input[str] region: A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
115
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
116
|
-
region is specified, it is taken from the provider configuration.
|
117
106
|
"""
|
118
107
|
if etag is not None:
|
119
108
|
pulumi.set(__self__, "etag", etag)
|
@@ -179,11 +168,6 @@ class _RegionDiskIamPolicyState:
|
|
179
168
|
@property
|
180
169
|
@pulumi.getter
|
181
170
|
def region(self) -> Optional[pulumi.Input[str]]:
|
182
|
-
"""
|
183
|
-
A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
184
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
185
|
-
region is specified, it is taken from the provider configuration.
|
186
|
-
"""
|
187
171
|
return pulumi.get(self, "region")
|
188
172
|
|
189
173
|
@region.setter
|
@@ -202,21 +186,21 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
202
186
|
region: Optional[pulumi.Input[str]] = None,
|
203
187
|
__props__=None):
|
204
188
|
"""
|
205
|
-
Three different resources help you manage your IAM policy for Compute Engine
|
189
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
206
190
|
|
207
|
-
* `compute.
|
208
|
-
* `compute.
|
209
|
-
* `compute.
|
191
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
192
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
193
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
210
194
|
|
211
195
|
A data source can be used to retrieve policy data in advent you do not need creation
|
212
196
|
|
213
|
-
* `compute.
|
197
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
214
198
|
|
215
|
-
> **Note:** `compute.
|
199
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
216
200
|
|
217
|
-
> **Note:** `compute.
|
201
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
218
202
|
|
219
|
-
## compute.
|
203
|
+
## compute.DiskIamPolicy
|
220
204
|
|
221
205
|
```python
|
222
206
|
import pulumi
|
@@ -226,42 +210,42 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
226
210
|
"role": "roles/viewer",
|
227
211
|
"members": ["user:jane@example.com"],
|
228
212
|
}])
|
229
|
-
policy = gcp.compute.
|
230
|
-
project=
|
231
|
-
|
232
|
-
name=
|
213
|
+
policy = gcp.compute.DiskIamPolicy("policy",
|
214
|
+
project=default["project"],
|
215
|
+
zone=default["zone"],
|
216
|
+
name=default["name"],
|
233
217
|
policy_data=admin.policy_data)
|
234
218
|
```
|
235
219
|
|
236
|
-
## compute.
|
220
|
+
## compute.DiskIamBinding
|
237
221
|
|
238
222
|
```python
|
239
223
|
import pulumi
|
240
224
|
import pulumi_gcp as gcp
|
241
225
|
|
242
|
-
binding = gcp.compute.
|
243
|
-
project=
|
244
|
-
|
245
|
-
name=
|
226
|
+
binding = gcp.compute.DiskIamBinding("binding",
|
227
|
+
project=default["project"],
|
228
|
+
zone=default["zone"],
|
229
|
+
name=default["name"],
|
246
230
|
role="roles/viewer",
|
247
231
|
members=["user:jane@example.com"])
|
248
232
|
```
|
249
233
|
|
250
|
-
## compute.
|
234
|
+
## compute.DiskIamMember
|
251
235
|
|
252
236
|
```python
|
253
237
|
import pulumi
|
254
238
|
import pulumi_gcp as gcp
|
255
239
|
|
256
|
-
member = gcp.compute.
|
257
|
-
project=
|
258
|
-
|
259
|
-
name=
|
240
|
+
member = gcp.compute.DiskIamMember("member",
|
241
|
+
project=default["project"],
|
242
|
+
zone=default["zone"],
|
243
|
+
name=default["name"],
|
260
244
|
role="roles/viewer",
|
261
245
|
member="user:jane@example.com")
|
262
246
|
```
|
263
247
|
|
264
|
-
## compute.
|
248
|
+
## compute.DiskIamPolicy
|
265
249
|
|
266
250
|
```python
|
267
251
|
import pulumi
|
@@ -271,37 +255,37 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
271
255
|
"role": "roles/viewer",
|
272
256
|
"members": ["user:jane@example.com"],
|
273
257
|
}])
|
274
|
-
policy = gcp.compute.
|
275
|
-
project=
|
276
|
-
|
277
|
-
name=
|
258
|
+
policy = gcp.compute.DiskIamPolicy("policy",
|
259
|
+
project=default["project"],
|
260
|
+
zone=default["zone"],
|
261
|
+
name=default["name"],
|
278
262
|
policy_data=admin.policy_data)
|
279
263
|
```
|
280
264
|
|
281
|
-
## compute.
|
265
|
+
## compute.DiskIamBinding
|
282
266
|
|
283
267
|
```python
|
284
268
|
import pulumi
|
285
269
|
import pulumi_gcp as gcp
|
286
270
|
|
287
|
-
binding = gcp.compute.
|
288
|
-
project=
|
289
|
-
|
290
|
-
name=
|
271
|
+
binding = gcp.compute.DiskIamBinding("binding",
|
272
|
+
project=default["project"],
|
273
|
+
zone=default["zone"],
|
274
|
+
name=default["name"],
|
291
275
|
role="roles/viewer",
|
292
276
|
members=["user:jane@example.com"])
|
293
277
|
```
|
294
278
|
|
295
|
-
## compute.
|
279
|
+
## compute.DiskIamMember
|
296
280
|
|
297
281
|
```python
|
298
282
|
import pulumi
|
299
283
|
import pulumi_gcp as gcp
|
300
284
|
|
301
|
-
member = gcp.compute.
|
302
|
-
project=
|
303
|
-
|
304
|
-
name=
|
285
|
+
member = gcp.compute.DiskIamMember("member",
|
286
|
+
project=default["project"],
|
287
|
+
zone=default["zone"],
|
288
|
+
name=default["name"],
|
305
289
|
role="roles/viewer",
|
306
290
|
member="user:jane@example.com")
|
307
291
|
```
|
@@ -310,34 +294,34 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
310
294
|
|
311
295
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
312
296
|
|
313
|
-
* projects/{{project}}/
|
297
|
+
* projects/{{project}}/zones/{{zone}}/disks/{{name}}
|
314
298
|
|
315
|
-
* {{project}}/{{
|
299
|
+
* {{project}}/{{zone}}/{{name}}
|
316
300
|
|
317
|
-
* {{
|
301
|
+
* {{zone}}/{{name}}
|
318
302
|
|
319
303
|
* {{name}}
|
320
304
|
|
321
305
|
Any variables not passed in the import command will be taken from the provider configuration.
|
322
306
|
|
323
|
-
Compute Engine
|
307
|
+
Compute Engine disk IAM resources can be imported using the resource identifiers, role, and member.
|
324
308
|
|
325
309
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
326
310
|
|
327
311
|
```sh
|
328
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
312
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer user:jane@example.com"
|
329
313
|
```
|
330
314
|
|
331
315
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
332
316
|
|
333
317
|
```sh
|
334
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
318
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer"
|
335
319
|
```
|
336
320
|
|
337
321
|
IAM policy imports use the identifier of the resource in question, e.g.
|
338
322
|
|
339
323
|
```sh
|
340
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/
|
324
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/zones/{{zone}}/disks/{{disk}}
|
341
325
|
```
|
342
326
|
|
343
327
|
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -351,9 +335,6 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
351
335
|
a `organizations_get_iam_policy` data source.
|
352
336
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
353
337
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
354
|
-
:param pulumi.Input[str] region: A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
355
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
356
|
-
region is specified, it is taken from the provider configuration.
|
357
338
|
"""
|
358
339
|
...
|
359
340
|
@overload
|
@@ -362,21 +343,21 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
362
343
|
args: RegionDiskIamPolicyArgs,
|
363
344
|
opts: Optional[pulumi.ResourceOptions] = None):
|
364
345
|
"""
|
365
|
-
Three different resources help you manage your IAM policy for Compute Engine
|
346
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
366
347
|
|
367
|
-
* `compute.
|
368
|
-
* `compute.
|
369
|
-
* `compute.
|
348
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
349
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
350
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
370
351
|
|
371
352
|
A data source can be used to retrieve policy data in advent you do not need creation
|
372
353
|
|
373
|
-
* `compute.
|
354
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
374
355
|
|
375
|
-
> **Note:** `compute.
|
356
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
376
357
|
|
377
|
-
> **Note:** `compute.
|
358
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
378
359
|
|
379
|
-
## compute.
|
360
|
+
## compute.DiskIamPolicy
|
380
361
|
|
381
362
|
```python
|
382
363
|
import pulumi
|
@@ -386,42 +367,42 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
386
367
|
"role": "roles/viewer",
|
387
368
|
"members": ["user:jane@example.com"],
|
388
369
|
}])
|
389
|
-
policy = gcp.compute.
|
390
|
-
project=
|
391
|
-
|
392
|
-
name=
|
370
|
+
policy = gcp.compute.DiskIamPolicy("policy",
|
371
|
+
project=default["project"],
|
372
|
+
zone=default["zone"],
|
373
|
+
name=default["name"],
|
393
374
|
policy_data=admin.policy_data)
|
394
375
|
```
|
395
376
|
|
396
|
-
## compute.
|
377
|
+
## compute.DiskIamBinding
|
397
378
|
|
398
379
|
```python
|
399
380
|
import pulumi
|
400
381
|
import pulumi_gcp as gcp
|
401
382
|
|
402
|
-
binding = gcp.compute.
|
403
|
-
project=
|
404
|
-
|
405
|
-
name=
|
383
|
+
binding = gcp.compute.DiskIamBinding("binding",
|
384
|
+
project=default["project"],
|
385
|
+
zone=default["zone"],
|
386
|
+
name=default["name"],
|
406
387
|
role="roles/viewer",
|
407
388
|
members=["user:jane@example.com"])
|
408
389
|
```
|
409
390
|
|
410
|
-
## compute.
|
391
|
+
## compute.DiskIamMember
|
411
392
|
|
412
393
|
```python
|
413
394
|
import pulumi
|
414
395
|
import pulumi_gcp as gcp
|
415
396
|
|
416
|
-
member = gcp.compute.
|
417
|
-
project=
|
418
|
-
|
419
|
-
name=
|
397
|
+
member = gcp.compute.DiskIamMember("member",
|
398
|
+
project=default["project"],
|
399
|
+
zone=default["zone"],
|
400
|
+
name=default["name"],
|
420
401
|
role="roles/viewer",
|
421
402
|
member="user:jane@example.com")
|
422
403
|
```
|
423
404
|
|
424
|
-
## compute.
|
405
|
+
## compute.DiskIamPolicy
|
425
406
|
|
426
407
|
```python
|
427
408
|
import pulumi
|
@@ -431,37 +412,37 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
431
412
|
"role": "roles/viewer",
|
432
413
|
"members": ["user:jane@example.com"],
|
433
414
|
}])
|
434
|
-
policy = gcp.compute.
|
435
|
-
project=
|
436
|
-
|
437
|
-
name=
|
415
|
+
policy = gcp.compute.DiskIamPolicy("policy",
|
416
|
+
project=default["project"],
|
417
|
+
zone=default["zone"],
|
418
|
+
name=default["name"],
|
438
419
|
policy_data=admin.policy_data)
|
439
420
|
```
|
440
421
|
|
441
|
-
## compute.
|
422
|
+
## compute.DiskIamBinding
|
442
423
|
|
443
424
|
```python
|
444
425
|
import pulumi
|
445
426
|
import pulumi_gcp as gcp
|
446
427
|
|
447
|
-
binding = gcp.compute.
|
448
|
-
project=
|
449
|
-
|
450
|
-
name=
|
428
|
+
binding = gcp.compute.DiskIamBinding("binding",
|
429
|
+
project=default["project"],
|
430
|
+
zone=default["zone"],
|
431
|
+
name=default["name"],
|
451
432
|
role="roles/viewer",
|
452
433
|
members=["user:jane@example.com"])
|
453
434
|
```
|
454
435
|
|
455
|
-
## compute.
|
436
|
+
## compute.DiskIamMember
|
456
437
|
|
457
438
|
```python
|
458
439
|
import pulumi
|
459
440
|
import pulumi_gcp as gcp
|
460
441
|
|
461
|
-
member = gcp.compute.
|
462
|
-
project=
|
463
|
-
|
464
|
-
name=
|
442
|
+
member = gcp.compute.DiskIamMember("member",
|
443
|
+
project=default["project"],
|
444
|
+
zone=default["zone"],
|
445
|
+
name=default["name"],
|
465
446
|
role="roles/viewer",
|
466
447
|
member="user:jane@example.com")
|
467
448
|
```
|
@@ -470,34 +451,34 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
470
451
|
|
471
452
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
472
453
|
|
473
|
-
* projects/{{project}}/
|
454
|
+
* projects/{{project}}/zones/{{zone}}/disks/{{name}}
|
474
455
|
|
475
|
-
* {{project}}/{{
|
456
|
+
* {{project}}/{{zone}}/{{name}}
|
476
457
|
|
477
|
-
* {{
|
458
|
+
* {{zone}}/{{name}}
|
478
459
|
|
479
460
|
* {{name}}
|
480
461
|
|
481
462
|
Any variables not passed in the import command will be taken from the provider configuration.
|
482
463
|
|
483
|
-
Compute Engine
|
464
|
+
Compute Engine disk IAM resources can be imported using the resource identifiers, role, and member.
|
484
465
|
|
485
466
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
486
467
|
|
487
468
|
```sh
|
488
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
469
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer user:jane@example.com"
|
489
470
|
```
|
490
471
|
|
491
472
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
492
473
|
|
493
474
|
```sh
|
494
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
475
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer"
|
495
476
|
```
|
496
477
|
|
497
478
|
IAM policy imports use the identifier of the resource in question, e.g.
|
498
479
|
|
499
480
|
```sh
|
500
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/
|
481
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/zones/{{zone}}/disks/{{disk}}
|
501
482
|
```
|
502
483
|
|
503
484
|
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -567,9 +548,6 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
567
548
|
a `organizations_get_iam_policy` data source.
|
568
549
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
569
550
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
570
|
-
:param pulumi.Input[str] region: A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
571
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
572
|
-
region is specified, it is taken from the provider configuration.
|
573
551
|
"""
|
574
552
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
575
553
|
|
@@ -619,10 +597,5 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
619
597
|
@property
|
620
598
|
@pulumi.getter
|
621
599
|
def region(self) -> pulumi.Output[str]:
|
622
|
-
"""
|
623
|
-
A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
624
|
-
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
625
|
-
region is specified, it is taken from the provider configuration.
|
626
|
-
"""
|
627
600
|
return pulumi.get(self, "region")
|
628
601
|
|
@@ -45,6 +45,7 @@ class RegionSslCertificateArgs:
|
|
45
45
|
first character must be a lowercase letter, and all following
|
46
46
|
characters must be a dash, lowercase letter, or digit, except the last
|
47
47
|
character, which cannot be a dash.
|
48
|
+
|
48
49
|
These are in the same namespace as the managed SSL certificates.
|
49
50
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
50
51
|
specified prefix. Conflicts with `name`.
|
@@ -120,6 +121,7 @@ class RegionSslCertificateArgs:
|
|
120
121
|
first character must be a lowercase letter, and all following
|
121
122
|
characters must be a dash, lowercase letter, or digit, except the last
|
122
123
|
character, which cannot be a dash.
|
124
|
+
|
123
125
|
These are in the same namespace as the managed SSL certificates.
|
124
126
|
"""
|
125
127
|
return pulumi.get(self, "name")
|
@@ -199,6 +201,7 @@ class _RegionSslCertificateState:
|
|
199
201
|
first character must be a lowercase letter, and all following
|
200
202
|
characters must be a dash, lowercase letter, or digit, except the last
|
201
203
|
character, which cannot be a dash.
|
204
|
+
|
202
205
|
These are in the same namespace as the managed SSL certificates.
|
203
206
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
204
207
|
specified prefix. Conflicts with `name`.
|
@@ -310,6 +313,7 @@ class _RegionSslCertificateState:
|
|
310
313
|
first character must be a lowercase letter, and all following
|
311
314
|
characters must be a dash, lowercase letter, or digit, except the last
|
312
315
|
character, which cannot be a dash.
|
316
|
+
|
313
317
|
These are in the same namespace as the managed SSL certificates.
|
314
318
|
"""
|
315
319
|
return pulumi.get(self, "name")
|
@@ -456,6 +460,7 @@ class RegionSslCertificate(pulumi.CustomResource):
|
|
456
460
|
first character must be a lowercase letter, and all following
|
457
461
|
characters must be a dash, lowercase letter, or digit, except the last
|
458
462
|
character, which cannot be a dash.
|
463
|
+
|
459
464
|
These are in the same namespace as the managed SSL certificates.
|
460
465
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
461
466
|
specified prefix. Conflicts with `name`.
|
@@ -609,6 +614,7 @@ class RegionSslCertificate(pulumi.CustomResource):
|
|
609
614
|
first character must be a lowercase letter, and all following
|
610
615
|
characters must be a dash, lowercase letter, or digit, except the last
|
611
616
|
character, which cannot be a dash.
|
617
|
+
|
612
618
|
These are in the same namespace as the managed SSL certificates.
|
613
619
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
614
620
|
specified prefix. Conflicts with `name`.
|
@@ -694,6 +700,7 @@ class RegionSslCertificate(pulumi.CustomResource):
|
|
694
700
|
first character must be a lowercase letter, and all following
|
695
701
|
characters must be a dash, lowercase letter, or digit, except the last
|
696
702
|
character, which cannot be a dash.
|
703
|
+
|
697
704
|
These are in the same namespace as the managed SSL certificates.
|
698
705
|
"""
|
699
706
|
return pulumi.get(self, "name")
|
@@ -44,6 +44,7 @@ class SSLCertificateArgs:
|
|
44
44
|
first character must be a lowercase letter, and all following
|
45
45
|
characters must be a dash, lowercase letter, or digit, except the last
|
46
46
|
character, which cannot be a dash.
|
47
|
+
|
47
48
|
These are in the same namespace as the managed SSL certificates.
|
48
49
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
49
50
|
specified prefix. Conflicts with `name`.
|
@@ -115,6 +116,7 @@ class SSLCertificateArgs:
|
|
115
116
|
first character must be a lowercase letter, and all following
|
116
117
|
characters must be a dash, lowercase letter, or digit, except the last
|
117
118
|
character, which cannot be a dash.
|
119
|
+
|
118
120
|
These are in the same namespace as the managed SSL certificates.
|
119
121
|
"""
|
120
122
|
return pulumi.get(self, "name")
|
@@ -180,6 +182,7 @@ class _SSLCertificateState:
|
|
180
182
|
first character must be a lowercase letter, and all following
|
181
183
|
characters must be a dash, lowercase letter, or digit, except the last
|
182
184
|
character, which cannot be a dash.
|
185
|
+
|
183
186
|
These are in the same namespace as the managed SSL certificates.
|
184
187
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
185
188
|
specified prefix. Conflicts with `name`.
|
@@ -287,6 +290,7 @@ class _SSLCertificateState:
|
|
287
290
|
first character must be a lowercase letter, and all following
|
288
291
|
characters must be a dash, lowercase letter, or digit, except the last
|
289
292
|
character, which cannot be a dash.
|
293
|
+
|
290
294
|
These are in the same namespace as the managed SSL certificates.
|
291
295
|
"""
|
292
296
|
return pulumi.get(self, "name")
|
@@ -413,6 +417,7 @@ class SSLCertificate(pulumi.CustomResource):
|
|
413
417
|
first character must be a lowercase letter, and all following
|
414
418
|
characters must be a dash, lowercase letter, or digit, except the last
|
415
419
|
character, which cannot be a dash.
|
420
|
+
|
416
421
|
These are in the same namespace as the managed SSL certificates.
|
417
422
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
418
423
|
specified prefix. Conflicts with `name`.
|
@@ -555,6 +560,7 @@ class SSLCertificate(pulumi.CustomResource):
|
|
555
560
|
first character must be a lowercase letter, and all following
|
556
561
|
characters must be a dash, lowercase letter, or digit, except the last
|
557
562
|
character, which cannot be a dash.
|
563
|
+
|
558
564
|
These are in the same namespace as the managed SSL certificates.
|
559
565
|
:param pulumi.Input[str] name_prefix: Creates a unique name beginning with the
|
560
566
|
specified prefix. Conflicts with `name`.
|
@@ -637,6 +643,7 @@ class SSLCertificate(pulumi.CustomResource):
|
|
637
643
|
first character must be a lowercase letter, and all following
|
638
644
|
characters must be a dash, lowercase letter, or digit, except the last
|
639
645
|
character, which cannot be a dash.
|
646
|
+
|
640
647
|
These are in the same namespace as the managed SSL certificates.
|
641
648
|
"""
|
642
649
|
return pulumi.get(self, "name")
|