pulumi-gcp 7.30.0a1719958694__py3-none-any.whl → 7.30.0a1720039709__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/compute/region_disk_iam_binding.py +122 -95
- pulumi_gcp/compute/region_disk_iam_member.py +122 -95
- pulumi_gcp/compute/region_disk_iam_policy.py +115 -88
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +328 -953
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +328 -953
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +238 -953
- pulumi_gcp/networksecurity/address_group_iam_binding.py +289 -2
- pulumi_gcp/networksecurity/address_group_iam_member.py +289 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sourcerepo/repository_iam_binding.py +92 -83
- pulumi_gcp/sourcerepo/repository_iam_member.py +92 -83
- pulumi_gcp/sourcerepo/repository_iam_policy.py +85 -76
- {pulumi_gcp-7.30.0a1719958694.dist-info → pulumi_gcp-7.30.0a1720039709.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.30.0a1719958694.dist-info → pulumi_gcp-7.30.0a1720039709.dist-info}/RECORD +16 -16
- {pulumi_gcp-7.30.0a1719958694.dist-info → pulumi_gcp-7.30.0a1720039709.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.30.0a1719958694.dist-info → pulumi_gcp-7.30.0a1720039709.dist-info}/top_level.txt +0 -0
@@ -30,6 +30,9 @@ 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.
|
33
36
|
"""
|
34
37
|
pulumi.set(__self__, "policy_data", policy_data)
|
35
38
|
if name is not None:
|
@@ -80,6 +83,11 @@ class RegionDiskIamPolicyArgs:
|
|
80
83
|
@property
|
81
84
|
@pulumi.getter
|
82
85
|
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
|
+
"""
|
83
91
|
return pulumi.get(self, "region")
|
84
92
|
|
85
93
|
@region.setter
|
@@ -103,6 +111,9 @@ class _RegionDiskIamPolicyState:
|
|
103
111
|
a `organizations_get_iam_policy` data source.
|
104
112
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
105
113
|
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.
|
106
117
|
"""
|
107
118
|
if etag is not None:
|
108
119
|
pulumi.set(__self__, "etag", etag)
|
@@ -168,6 +179,11 @@ class _RegionDiskIamPolicyState:
|
|
168
179
|
@property
|
169
180
|
@pulumi.getter
|
170
181
|
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
|
+
"""
|
171
187
|
return pulumi.get(self, "region")
|
172
188
|
|
173
189
|
@region.setter
|
@@ -186,21 +202,21 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
186
202
|
region: Optional[pulumi.Input[str]] = None,
|
187
203
|
__props__=None):
|
188
204
|
"""
|
189
|
-
Three different resources help you manage your IAM policy for Compute Engine
|
205
|
+
Three different resources help you manage your IAM policy for Compute Engine RegionDisk. Each of these resources serves a different use case:
|
190
206
|
|
191
|
-
* `compute.
|
192
|
-
* `compute.
|
193
|
-
* `compute.
|
207
|
+
* `compute.RegionDiskIamPolicy`: Authoritative. Sets the IAM policy for the regiondisk and replaces any existing policy already attached.
|
208
|
+
* `compute.RegionDiskIamBinding`: 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 regiondisk are preserved.
|
209
|
+
* `compute.RegionDiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regiondisk are preserved.
|
194
210
|
|
195
211
|
A data source can be used to retrieve policy data in advent you do not need creation
|
196
212
|
|
197
|
-
* `compute.
|
213
|
+
* `compute.RegionDiskIamPolicy`: Retrieves the IAM policy for the regiondisk
|
198
214
|
|
199
|
-
> **Note:** `compute.
|
215
|
+
> **Note:** `compute.RegionDiskIamPolicy` **cannot** be used in conjunction with `compute.RegionDiskIamBinding` and `compute.RegionDiskIamMember` or they will fight over what your policy should be.
|
200
216
|
|
201
|
-
> **Note:** `compute.
|
217
|
+
> **Note:** `compute.RegionDiskIamBinding` resources **can be** used in conjunction with `compute.RegionDiskIamMember` resources **only if** they do not grant privilege to the same role.
|
202
218
|
|
203
|
-
## compute.
|
219
|
+
## compute.RegionDiskIamPolicy
|
204
220
|
|
205
221
|
```python
|
206
222
|
import pulumi
|
@@ -210,42 +226,42 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
210
226
|
"role": "roles/viewer",
|
211
227
|
"members": ["user:jane@example.com"],
|
212
228
|
}])
|
213
|
-
policy = gcp.compute.
|
214
|
-
project=
|
215
|
-
|
216
|
-
name=
|
229
|
+
policy = gcp.compute.RegionDiskIamPolicy("policy",
|
230
|
+
project=regiondisk["project"],
|
231
|
+
region=regiondisk["region"],
|
232
|
+
name=regiondisk["name"],
|
217
233
|
policy_data=admin.policy_data)
|
218
234
|
```
|
219
235
|
|
220
|
-
## compute.
|
236
|
+
## compute.RegionDiskIamBinding
|
221
237
|
|
222
238
|
```python
|
223
239
|
import pulumi
|
224
240
|
import pulumi_gcp as gcp
|
225
241
|
|
226
|
-
binding = gcp.compute.
|
227
|
-
project=
|
228
|
-
|
229
|
-
name=
|
242
|
+
binding = gcp.compute.RegionDiskIamBinding("binding",
|
243
|
+
project=regiondisk["project"],
|
244
|
+
region=regiondisk["region"],
|
245
|
+
name=regiondisk["name"],
|
230
246
|
role="roles/viewer",
|
231
247
|
members=["user:jane@example.com"])
|
232
248
|
```
|
233
249
|
|
234
|
-
## compute.
|
250
|
+
## compute.RegionDiskIamMember
|
235
251
|
|
236
252
|
```python
|
237
253
|
import pulumi
|
238
254
|
import pulumi_gcp as gcp
|
239
255
|
|
240
|
-
member = gcp.compute.
|
241
|
-
project=
|
242
|
-
|
243
|
-
name=
|
256
|
+
member = gcp.compute.RegionDiskIamMember("member",
|
257
|
+
project=regiondisk["project"],
|
258
|
+
region=regiondisk["region"],
|
259
|
+
name=regiondisk["name"],
|
244
260
|
role="roles/viewer",
|
245
261
|
member="user:jane@example.com")
|
246
262
|
```
|
247
263
|
|
248
|
-
## compute.
|
264
|
+
## compute.RegionDiskIamPolicy
|
249
265
|
|
250
266
|
```python
|
251
267
|
import pulumi
|
@@ -255,37 +271,37 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
255
271
|
"role": "roles/viewer",
|
256
272
|
"members": ["user:jane@example.com"],
|
257
273
|
}])
|
258
|
-
policy = gcp.compute.
|
259
|
-
project=
|
260
|
-
|
261
|
-
name=
|
274
|
+
policy = gcp.compute.RegionDiskIamPolicy("policy",
|
275
|
+
project=regiondisk["project"],
|
276
|
+
region=regiondisk["region"],
|
277
|
+
name=regiondisk["name"],
|
262
278
|
policy_data=admin.policy_data)
|
263
279
|
```
|
264
280
|
|
265
|
-
## compute.
|
281
|
+
## compute.RegionDiskIamBinding
|
266
282
|
|
267
283
|
```python
|
268
284
|
import pulumi
|
269
285
|
import pulumi_gcp as gcp
|
270
286
|
|
271
|
-
binding = gcp.compute.
|
272
|
-
project=
|
273
|
-
|
274
|
-
name=
|
287
|
+
binding = gcp.compute.RegionDiskIamBinding("binding",
|
288
|
+
project=regiondisk["project"],
|
289
|
+
region=regiondisk["region"],
|
290
|
+
name=regiondisk["name"],
|
275
291
|
role="roles/viewer",
|
276
292
|
members=["user:jane@example.com"])
|
277
293
|
```
|
278
294
|
|
279
|
-
## compute.
|
295
|
+
## compute.RegionDiskIamMember
|
280
296
|
|
281
297
|
```python
|
282
298
|
import pulumi
|
283
299
|
import pulumi_gcp as gcp
|
284
300
|
|
285
|
-
member = gcp.compute.
|
286
|
-
project=
|
287
|
-
|
288
|
-
name=
|
301
|
+
member = gcp.compute.RegionDiskIamMember("member",
|
302
|
+
project=regiondisk["project"],
|
303
|
+
region=regiondisk["region"],
|
304
|
+
name=regiondisk["name"],
|
289
305
|
role="roles/viewer",
|
290
306
|
member="user:jane@example.com")
|
291
307
|
```
|
@@ -294,34 +310,34 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
294
310
|
|
295
311
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
296
312
|
|
297
|
-
* projects/{{project}}/
|
313
|
+
* projects/{{project}}/regions/{{region}}/disks/{{name}}
|
298
314
|
|
299
|
-
* {{project}}/{{
|
315
|
+
* {{project}}/{{region}}/{{name}}
|
300
316
|
|
301
|
-
* {{
|
317
|
+
* {{region}}/{{name}}
|
302
318
|
|
303
319
|
* {{name}}
|
304
320
|
|
305
321
|
Any variables not passed in the import command will be taken from the provider configuration.
|
306
322
|
|
307
|
-
Compute Engine
|
323
|
+
Compute Engine regiondisk IAM resources can be imported using the resource identifiers, role, and member.
|
308
324
|
|
309
325
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
310
326
|
|
311
327
|
```sh
|
312
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
328
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer user:jane@example.com"
|
313
329
|
```
|
314
330
|
|
315
331
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
316
332
|
|
317
333
|
```sh
|
318
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
334
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer"
|
319
335
|
```
|
320
336
|
|
321
337
|
IAM policy imports use the identifier of the resource in question, e.g.
|
322
338
|
|
323
339
|
```sh
|
324
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/
|
340
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/regions/{{region}}/disks/{{region_disk}}
|
325
341
|
```
|
326
342
|
|
327
343
|
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -335,6 +351,9 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
335
351
|
a `organizations_get_iam_policy` data source.
|
336
352
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
337
353
|
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.
|
338
357
|
"""
|
339
358
|
...
|
340
359
|
@overload
|
@@ -343,21 +362,21 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
343
362
|
args: RegionDiskIamPolicyArgs,
|
344
363
|
opts: Optional[pulumi.ResourceOptions] = None):
|
345
364
|
"""
|
346
|
-
Three different resources help you manage your IAM policy for Compute Engine
|
365
|
+
Three different resources help you manage your IAM policy for Compute Engine RegionDisk. Each of these resources serves a different use case:
|
347
366
|
|
348
|
-
* `compute.
|
349
|
-
* `compute.
|
350
|
-
* `compute.
|
367
|
+
* `compute.RegionDiskIamPolicy`: Authoritative. Sets the IAM policy for the regiondisk and replaces any existing policy already attached.
|
368
|
+
* `compute.RegionDiskIamBinding`: 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 regiondisk are preserved.
|
369
|
+
* `compute.RegionDiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regiondisk are preserved.
|
351
370
|
|
352
371
|
A data source can be used to retrieve policy data in advent you do not need creation
|
353
372
|
|
354
|
-
* `compute.
|
373
|
+
* `compute.RegionDiskIamPolicy`: Retrieves the IAM policy for the regiondisk
|
355
374
|
|
356
|
-
> **Note:** `compute.
|
375
|
+
> **Note:** `compute.RegionDiskIamPolicy` **cannot** be used in conjunction with `compute.RegionDiskIamBinding` and `compute.RegionDiskIamMember` or they will fight over what your policy should be.
|
357
376
|
|
358
|
-
> **Note:** `compute.
|
377
|
+
> **Note:** `compute.RegionDiskIamBinding` resources **can be** used in conjunction with `compute.RegionDiskIamMember` resources **only if** they do not grant privilege to the same role.
|
359
378
|
|
360
|
-
## compute.
|
379
|
+
## compute.RegionDiskIamPolicy
|
361
380
|
|
362
381
|
```python
|
363
382
|
import pulumi
|
@@ -367,42 +386,42 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
367
386
|
"role": "roles/viewer",
|
368
387
|
"members": ["user:jane@example.com"],
|
369
388
|
}])
|
370
|
-
policy = gcp.compute.
|
371
|
-
project=
|
372
|
-
|
373
|
-
name=
|
389
|
+
policy = gcp.compute.RegionDiskIamPolicy("policy",
|
390
|
+
project=regiondisk["project"],
|
391
|
+
region=regiondisk["region"],
|
392
|
+
name=regiondisk["name"],
|
374
393
|
policy_data=admin.policy_data)
|
375
394
|
```
|
376
395
|
|
377
|
-
## compute.
|
396
|
+
## compute.RegionDiskIamBinding
|
378
397
|
|
379
398
|
```python
|
380
399
|
import pulumi
|
381
400
|
import pulumi_gcp as gcp
|
382
401
|
|
383
|
-
binding = gcp.compute.
|
384
|
-
project=
|
385
|
-
|
386
|
-
name=
|
402
|
+
binding = gcp.compute.RegionDiskIamBinding("binding",
|
403
|
+
project=regiondisk["project"],
|
404
|
+
region=regiondisk["region"],
|
405
|
+
name=regiondisk["name"],
|
387
406
|
role="roles/viewer",
|
388
407
|
members=["user:jane@example.com"])
|
389
408
|
```
|
390
409
|
|
391
|
-
## compute.
|
410
|
+
## compute.RegionDiskIamMember
|
392
411
|
|
393
412
|
```python
|
394
413
|
import pulumi
|
395
414
|
import pulumi_gcp as gcp
|
396
415
|
|
397
|
-
member = gcp.compute.
|
398
|
-
project=
|
399
|
-
|
400
|
-
name=
|
416
|
+
member = gcp.compute.RegionDiskIamMember("member",
|
417
|
+
project=regiondisk["project"],
|
418
|
+
region=regiondisk["region"],
|
419
|
+
name=regiondisk["name"],
|
401
420
|
role="roles/viewer",
|
402
421
|
member="user:jane@example.com")
|
403
422
|
```
|
404
423
|
|
405
|
-
## compute.
|
424
|
+
## compute.RegionDiskIamPolicy
|
406
425
|
|
407
426
|
```python
|
408
427
|
import pulumi
|
@@ -412,37 +431,37 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
412
431
|
"role": "roles/viewer",
|
413
432
|
"members": ["user:jane@example.com"],
|
414
433
|
}])
|
415
|
-
policy = gcp.compute.
|
416
|
-
project=
|
417
|
-
|
418
|
-
name=
|
434
|
+
policy = gcp.compute.RegionDiskIamPolicy("policy",
|
435
|
+
project=regiondisk["project"],
|
436
|
+
region=regiondisk["region"],
|
437
|
+
name=regiondisk["name"],
|
419
438
|
policy_data=admin.policy_data)
|
420
439
|
```
|
421
440
|
|
422
|
-
## compute.
|
441
|
+
## compute.RegionDiskIamBinding
|
423
442
|
|
424
443
|
```python
|
425
444
|
import pulumi
|
426
445
|
import pulumi_gcp as gcp
|
427
446
|
|
428
|
-
binding = gcp.compute.
|
429
|
-
project=
|
430
|
-
|
431
|
-
name=
|
447
|
+
binding = gcp.compute.RegionDiskIamBinding("binding",
|
448
|
+
project=regiondisk["project"],
|
449
|
+
region=regiondisk["region"],
|
450
|
+
name=regiondisk["name"],
|
432
451
|
role="roles/viewer",
|
433
452
|
members=["user:jane@example.com"])
|
434
453
|
```
|
435
454
|
|
436
|
-
## compute.
|
455
|
+
## compute.RegionDiskIamMember
|
437
456
|
|
438
457
|
```python
|
439
458
|
import pulumi
|
440
459
|
import pulumi_gcp as gcp
|
441
460
|
|
442
|
-
member = gcp.compute.
|
443
|
-
project=
|
444
|
-
|
445
|
-
name=
|
461
|
+
member = gcp.compute.RegionDiskIamMember("member",
|
462
|
+
project=regiondisk["project"],
|
463
|
+
region=regiondisk["region"],
|
464
|
+
name=regiondisk["name"],
|
446
465
|
role="roles/viewer",
|
447
466
|
member="user:jane@example.com")
|
448
467
|
```
|
@@ -451,34 +470,34 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
451
470
|
|
452
471
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
453
472
|
|
454
|
-
* projects/{{project}}/
|
473
|
+
* projects/{{project}}/regions/{{region}}/disks/{{name}}
|
455
474
|
|
456
|
-
* {{project}}/{{
|
475
|
+
* {{project}}/{{region}}/{{name}}
|
457
476
|
|
458
|
-
* {{
|
477
|
+
* {{region}}/{{name}}
|
459
478
|
|
460
479
|
* {{name}}
|
461
480
|
|
462
481
|
Any variables not passed in the import command will be taken from the provider configuration.
|
463
482
|
|
464
|
-
Compute Engine
|
483
|
+
Compute Engine regiondisk IAM resources can be imported using the resource identifiers, role, and member.
|
465
484
|
|
466
485
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
467
486
|
|
468
487
|
```sh
|
469
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
488
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer user:jane@example.com"
|
470
489
|
```
|
471
490
|
|
472
491
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
473
492
|
|
474
493
|
```sh
|
475
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/
|
494
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer"
|
476
495
|
```
|
477
496
|
|
478
497
|
IAM policy imports use the identifier of the resource in question, e.g.
|
479
498
|
|
480
499
|
```sh
|
481
|
-
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/
|
500
|
+
$ pulumi import gcp:compute/regionDiskIamPolicy:RegionDiskIamPolicy editor projects/{{project}}/regions/{{region}}/disks/{{region_disk}}
|
482
501
|
```
|
483
502
|
|
484
503
|
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -548,6 +567,9 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
548
567
|
a `organizations_get_iam_policy` data source.
|
549
568
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
550
569
|
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.
|
551
573
|
"""
|
552
574
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
553
575
|
|
@@ -597,5 +619,10 @@ class RegionDiskIamPolicy(pulumi.CustomResource):
|
|
597
619
|
@property
|
598
620
|
@pulumi.getter
|
599
621
|
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
|
+
"""
|
600
627
|
return pulumi.get(self, "region")
|
601
628
|
|