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.
@@ -41,11 +41,14 @@ class RegionDiskIamMemberArgs:
41
41
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
42
42
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
43
43
  :param pulumi.Input[str] role: The role that should be applied. Only one
44
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
44
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
45
45
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
46
46
  :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
47
47
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
48
48
  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.
49
+ :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,
50
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
51
+ region is specified, it is taken from the provider configuration.
49
52
  """
50
53
  pulumi.set(__self__, "member", member)
51
54
  pulumi.set(__self__, "role", role)
@@ -85,7 +88,7 @@ class RegionDiskIamMemberArgs:
85
88
  def role(self) -> pulumi.Input[str]:
86
89
  """
87
90
  The role that should be applied. Only one
88
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
91
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
89
92
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
90
93
  """
91
94
  return pulumi.get(self, "role")
@@ -131,6 +134,11 @@ class RegionDiskIamMemberArgs:
131
134
  @property
132
135
  @pulumi.getter
133
136
  def region(self) -> Optional[pulumi.Input[str]]:
137
+ """
138
+ A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
139
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
140
+ region is specified, it is taken from the provider configuration.
141
+ """
134
142
  return pulumi.get(self, "region")
135
143
 
136
144
  @region.setter
@@ -165,8 +173,11 @@ class _RegionDiskIamMemberState:
165
173
  :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
166
174
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
167
175
  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.
176
+ :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,
177
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
178
+ region is specified, it is taken from the provider configuration.
168
179
  :param pulumi.Input[str] role: The role that should be applied. Only one
169
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
180
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
170
181
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
171
182
  """
172
183
  if condition is not None:
@@ -255,6 +266,11 @@ class _RegionDiskIamMemberState:
255
266
  @property
256
267
  @pulumi.getter
257
268
  def region(self) -> Optional[pulumi.Input[str]]:
269
+ """
270
+ A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
271
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
272
+ region is specified, it is taken from the provider configuration.
273
+ """
258
274
  return pulumi.get(self, "region")
259
275
 
260
276
  @region.setter
@@ -266,7 +282,7 @@ class _RegionDiskIamMemberState:
266
282
  def role(self) -> Optional[pulumi.Input[str]]:
267
283
  """
268
284
  The role that should be applied. Only one
269
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
285
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
270
286
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
271
287
  """
272
288
  return pulumi.get(self, "role")
@@ -289,21 +305,21 @@ class RegionDiskIamMember(pulumi.CustomResource):
289
305
  role: Optional[pulumi.Input[str]] = None,
290
306
  __props__=None):
291
307
  """
292
- Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
308
+ Three different resources help you manage your IAM policy for Compute Engine RegionDisk. Each of these resources serves a different use case:
293
309
 
294
- * `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
295
- * `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.
296
- * `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.
310
+ * `compute.RegionDiskIamPolicy`: Authoritative. Sets the IAM policy for the regiondisk and replaces any existing policy already attached.
311
+ * `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.
312
+ * `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.
297
313
 
298
314
  A data source can be used to retrieve policy data in advent you do not need creation
299
315
 
300
- * `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
316
+ * `compute.RegionDiskIamPolicy`: Retrieves the IAM policy for the regiondisk
301
317
 
302
- > **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
318
+ > **Note:** `compute.RegionDiskIamPolicy` **cannot** be used in conjunction with `compute.RegionDiskIamBinding` and `compute.RegionDiskIamMember` or they will fight over what your policy should be.
303
319
 
304
- > **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
320
+ > **Note:** `compute.RegionDiskIamBinding` resources **can be** used in conjunction with `compute.RegionDiskIamMember` resources **only if** they do not grant privilege to the same role.
305
321
 
306
- ## compute.DiskIamPolicy
322
+ ## compute.RegionDiskIamPolicy
307
323
 
308
324
  ```python
309
325
  import pulumi
@@ -313,42 +329,42 @@ class RegionDiskIamMember(pulumi.CustomResource):
313
329
  "role": "roles/viewer",
314
330
  "members": ["user:jane@example.com"],
315
331
  }])
316
- policy = gcp.compute.DiskIamPolicy("policy",
317
- project=default["project"],
318
- zone=default["zone"],
319
- name=default["name"],
332
+ policy = gcp.compute.RegionDiskIamPolicy("policy",
333
+ project=regiondisk["project"],
334
+ region=regiondisk["region"],
335
+ name=regiondisk["name"],
320
336
  policy_data=admin.policy_data)
321
337
  ```
322
338
 
323
- ## compute.DiskIamBinding
339
+ ## compute.RegionDiskIamBinding
324
340
 
325
341
  ```python
326
342
  import pulumi
327
343
  import pulumi_gcp as gcp
328
344
 
329
- binding = gcp.compute.DiskIamBinding("binding",
330
- project=default["project"],
331
- zone=default["zone"],
332
- name=default["name"],
345
+ binding = gcp.compute.RegionDiskIamBinding("binding",
346
+ project=regiondisk["project"],
347
+ region=regiondisk["region"],
348
+ name=regiondisk["name"],
333
349
  role="roles/viewer",
334
350
  members=["user:jane@example.com"])
335
351
  ```
336
352
 
337
- ## compute.DiskIamMember
353
+ ## compute.RegionDiskIamMember
338
354
 
339
355
  ```python
340
356
  import pulumi
341
357
  import pulumi_gcp as gcp
342
358
 
343
- member = gcp.compute.DiskIamMember("member",
344
- project=default["project"],
345
- zone=default["zone"],
346
- name=default["name"],
359
+ member = gcp.compute.RegionDiskIamMember("member",
360
+ project=regiondisk["project"],
361
+ region=regiondisk["region"],
362
+ name=regiondisk["name"],
347
363
  role="roles/viewer",
348
364
  member="user:jane@example.com")
349
365
  ```
350
366
 
351
- ## compute.DiskIamPolicy
367
+ ## compute.RegionDiskIamPolicy
352
368
 
353
369
  ```python
354
370
  import pulumi
@@ -358,37 +374,37 @@ class RegionDiskIamMember(pulumi.CustomResource):
358
374
  "role": "roles/viewer",
359
375
  "members": ["user:jane@example.com"],
360
376
  }])
361
- policy = gcp.compute.DiskIamPolicy("policy",
362
- project=default["project"],
363
- zone=default["zone"],
364
- name=default["name"],
377
+ policy = gcp.compute.RegionDiskIamPolicy("policy",
378
+ project=regiondisk["project"],
379
+ region=regiondisk["region"],
380
+ name=regiondisk["name"],
365
381
  policy_data=admin.policy_data)
366
382
  ```
367
383
 
368
- ## compute.DiskIamBinding
384
+ ## compute.RegionDiskIamBinding
369
385
 
370
386
  ```python
371
387
  import pulumi
372
388
  import pulumi_gcp as gcp
373
389
 
374
- binding = gcp.compute.DiskIamBinding("binding",
375
- project=default["project"],
376
- zone=default["zone"],
377
- name=default["name"],
390
+ binding = gcp.compute.RegionDiskIamBinding("binding",
391
+ project=regiondisk["project"],
392
+ region=regiondisk["region"],
393
+ name=regiondisk["name"],
378
394
  role="roles/viewer",
379
395
  members=["user:jane@example.com"])
380
396
  ```
381
397
 
382
- ## compute.DiskIamMember
398
+ ## compute.RegionDiskIamMember
383
399
 
384
400
  ```python
385
401
  import pulumi
386
402
  import pulumi_gcp as gcp
387
403
 
388
- member = gcp.compute.DiskIamMember("member",
389
- project=default["project"],
390
- zone=default["zone"],
391
- name=default["name"],
404
+ member = gcp.compute.RegionDiskIamMember("member",
405
+ project=regiondisk["project"],
406
+ region=regiondisk["region"],
407
+ name=regiondisk["name"],
392
408
  role="roles/viewer",
393
409
  member="user:jane@example.com")
394
410
  ```
@@ -397,34 +413,34 @@ class RegionDiskIamMember(pulumi.CustomResource):
397
413
 
398
414
  For all import syntaxes, the "resource in question" can take any of the following forms:
399
415
 
400
- * projects/{{project}}/zones/{{zone}}/disks/{{name}}
416
+ * projects/{{project}}/regions/{{region}}/disks/{{name}}
401
417
 
402
- * {{project}}/{{zone}}/{{name}}
418
+ * {{project}}/{{region}}/{{name}}
403
419
 
404
- * {{zone}}/{{name}}
420
+ * {{region}}/{{name}}
405
421
 
406
422
  * {{name}}
407
423
 
408
424
  Any variables not passed in the import command will be taken from the provider configuration.
409
425
 
410
- Compute Engine disk IAM resources can be imported using the resource identifiers, role, and member.
426
+ Compute Engine regiondisk IAM resources can be imported using the resource identifiers, role, and member.
411
427
 
412
428
  IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
413
429
 
414
430
  ```sh
415
- $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer user:jane@example.com"
431
+ $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer user:jane@example.com"
416
432
  ```
417
433
 
418
434
  IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
419
435
 
420
436
  ```sh
421
- $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer"
437
+ $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer"
422
438
  ```
423
439
 
424
440
  IAM policy imports use the identifier of the resource in question, e.g.
425
441
 
426
442
  ```sh
427
- $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor projects/{{project}}/zones/{{zone}}/disks/{{disk}}
443
+ $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor projects/{{project}}/regions/{{region}}/disks/{{region_disk}}
428
444
  ```
429
445
 
430
446
  -> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
@@ -447,8 +463,11 @@ class RegionDiskIamMember(pulumi.CustomResource):
447
463
  :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
448
464
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
449
465
  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.
466
+ :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,
467
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
468
+ region is specified, it is taken from the provider configuration.
450
469
  :param pulumi.Input[str] role: The role that should be applied. Only one
451
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
470
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
452
471
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
453
472
  """
454
473
  ...
@@ -458,21 +477,21 @@ class RegionDiskIamMember(pulumi.CustomResource):
458
477
  args: RegionDiskIamMemberArgs,
459
478
  opts: Optional[pulumi.ResourceOptions] = None):
460
479
  """
461
- Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
480
+ Three different resources help you manage your IAM policy for Compute Engine RegionDisk. Each of these resources serves a different use case:
462
481
 
463
- * `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
464
- * `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.
465
- * `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.
482
+ * `compute.RegionDiskIamPolicy`: Authoritative. Sets the IAM policy for the regiondisk and replaces any existing policy already attached.
483
+ * `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.
484
+ * `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.
466
485
 
467
486
  A data source can be used to retrieve policy data in advent you do not need creation
468
487
 
469
- * `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
488
+ * `compute.RegionDiskIamPolicy`: Retrieves the IAM policy for the regiondisk
470
489
 
471
- > **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
490
+ > **Note:** `compute.RegionDiskIamPolicy` **cannot** be used in conjunction with `compute.RegionDiskIamBinding` and `compute.RegionDiskIamMember` or they will fight over what your policy should be.
472
491
 
473
- > **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
492
+ > **Note:** `compute.RegionDiskIamBinding` resources **can be** used in conjunction with `compute.RegionDiskIamMember` resources **only if** they do not grant privilege to the same role.
474
493
 
475
- ## compute.DiskIamPolicy
494
+ ## compute.RegionDiskIamPolicy
476
495
 
477
496
  ```python
478
497
  import pulumi
@@ -482,42 +501,42 @@ class RegionDiskIamMember(pulumi.CustomResource):
482
501
  "role": "roles/viewer",
483
502
  "members": ["user:jane@example.com"],
484
503
  }])
485
- policy = gcp.compute.DiskIamPolicy("policy",
486
- project=default["project"],
487
- zone=default["zone"],
488
- name=default["name"],
504
+ policy = gcp.compute.RegionDiskIamPolicy("policy",
505
+ project=regiondisk["project"],
506
+ region=regiondisk["region"],
507
+ name=regiondisk["name"],
489
508
  policy_data=admin.policy_data)
490
509
  ```
491
510
 
492
- ## compute.DiskIamBinding
511
+ ## compute.RegionDiskIamBinding
493
512
 
494
513
  ```python
495
514
  import pulumi
496
515
  import pulumi_gcp as gcp
497
516
 
498
- binding = gcp.compute.DiskIamBinding("binding",
499
- project=default["project"],
500
- zone=default["zone"],
501
- name=default["name"],
517
+ binding = gcp.compute.RegionDiskIamBinding("binding",
518
+ project=regiondisk["project"],
519
+ region=regiondisk["region"],
520
+ name=regiondisk["name"],
502
521
  role="roles/viewer",
503
522
  members=["user:jane@example.com"])
504
523
  ```
505
524
 
506
- ## compute.DiskIamMember
525
+ ## compute.RegionDiskIamMember
507
526
 
508
527
  ```python
509
528
  import pulumi
510
529
  import pulumi_gcp as gcp
511
530
 
512
- member = gcp.compute.DiskIamMember("member",
513
- project=default["project"],
514
- zone=default["zone"],
515
- name=default["name"],
531
+ member = gcp.compute.RegionDiskIamMember("member",
532
+ project=regiondisk["project"],
533
+ region=regiondisk["region"],
534
+ name=regiondisk["name"],
516
535
  role="roles/viewer",
517
536
  member="user:jane@example.com")
518
537
  ```
519
538
 
520
- ## compute.DiskIamPolicy
539
+ ## compute.RegionDiskIamPolicy
521
540
 
522
541
  ```python
523
542
  import pulumi
@@ -527,37 +546,37 @@ class RegionDiskIamMember(pulumi.CustomResource):
527
546
  "role": "roles/viewer",
528
547
  "members": ["user:jane@example.com"],
529
548
  }])
530
- policy = gcp.compute.DiskIamPolicy("policy",
531
- project=default["project"],
532
- zone=default["zone"],
533
- name=default["name"],
549
+ policy = gcp.compute.RegionDiskIamPolicy("policy",
550
+ project=regiondisk["project"],
551
+ region=regiondisk["region"],
552
+ name=regiondisk["name"],
534
553
  policy_data=admin.policy_data)
535
554
  ```
536
555
 
537
- ## compute.DiskIamBinding
556
+ ## compute.RegionDiskIamBinding
538
557
 
539
558
  ```python
540
559
  import pulumi
541
560
  import pulumi_gcp as gcp
542
561
 
543
- binding = gcp.compute.DiskIamBinding("binding",
544
- project=default["project"],
545
- zone=default["zone"],
546
- name=default["name"],
562
+ binding = gcp.compute.RegionDiskIamBinding("binding",
563
+ project=regiondisk["project"],
564
+ region=regiondisk["region"],
565
+ name=regiondisk["name"],
547
566
  role="roles/viewer",
548
567
  members=["user:jane@example.com"])
549
568
  ```
550
569
 
551
- ## compute.DiskIamMember
570
+ ## compute.RegionDiskIamMember
552
571
 
553
572
  ```python
554
573
  import pulumi
555
574
  import pulumi_gcp as gcp
556
575
 
557
- member = gcp.compute.DiskIamMember("member",
558
- project=default["project"],
559
- zone=default["zone"],
560
- name=default["name"],
576
+ member = gcp.compute.RegionDiskIamMember("member",
577
+ project=regiondisk["project"],
578
+ region=regiondisk["region"],
579
+ name=regiondisk["name"],
561
580
  role="roles/viewer",
562
581
  member="user:jane@example.com")
563
582
  ```
@@ -566,34 +585,34 @@ class RegionDiskIamMember(pulumi.CustomResource):
566
585
 
567
586
  For all import syntaxes, the "resource in question" can take any of the following forms:
568
587
 
569
- * projects/{{project}}/zones/{{zone}}/disks/{{name}}
588
+ * projects/{{project}}/regions/{{region}}/disks/{{name}}
570
589
 
571
- * {{project}}/{{zone}}/{{name}}
590
+ * {{project}}/{{region}}/{{name}}
572
591
 
573
- * {{zone}}/{{name}}
592
+ * {{region}}/{{name}}
574
593
 
575
594
  * {{name}}
576
595
 
577
596
  Any variables not passed in the import command will be taken from the provider configuration.
578
597
 
579
- Compute Engine disk IAM resources can be imported using the resource identifiers, role, and member.
598
+ Compute Engine regiondisk IAM resources can be imported using the resource identifiers, role, and member.
580
599
 
581
600
  IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
582
601
 
583
602
  ```sh
584
- $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer user:jane@example.com"
603
+ $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer user:jane@example.com"
585
604
  ```
586
605
 
587
606
  IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
588
607
 
589
608
  ```sh
590
- $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/zones/{{zone}}/disks/{{disk}} roles/viewer"
609
+ $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor "projects/{{project}}/regions/{{region}}/disks/{{region_disk}} roles/viewer"
591
610
  ```
592
611
 
593
612
  IAM policy imports use the identifier of the resource in question, e.g.
594
613
 
595
614
  ```sh
596
- $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor projects/{{project}}/zones/{{zone}}/disks/{{disk}}
615
+ $ pulumi import gcp:compute/regionDiskIamMember:RegionDiskIamMember editor projects/{{project}}/regions/{{region}}/disks/{{region_disk}}
597
616
  ```
598
617
 
599
618
  -> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
@@ -680,8 +699,11 @@ class RegionDiskIamMember(pulumi.CustomResource):
680
699
  :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
681
700
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
682
701
  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.
702
+ :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,
703
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
704
+ region is specified, it is taken from the provider configuration.
683
705
  :param pulumi.Input[str] role: The role that should be applied. Only one
684
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
706
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
685
707
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
686
708
  """
687
709
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -748,6 +770,11 @@ class RegionDiskIamMember(pulumi.CustomResource):
748
770
  @property
749
771
  @pulumi.getter
750
772
  def region(self) -> pulumi.Output[str]:
773
+ """
774
+ A reference to the region where the disk resides. Used to find the parent resource to bind the IAM policy to. If not specified,
775
+ the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
776
+ region is specified, it is taken from the provider configuration.
777
+ """
751
778
  return pulumi.get(self, "region")
752
779
 
753
780
  @property
@@ -755,7 +782,7 @@ class RegionDiskIamMember(pulumi.CustomResource):
755
782
  def role(self) -> pulumi.Output[str]:
756
783
  """
757
784
  The role that should be applied. Only one
758
- `compute.DiskIamBinding` can be used per role. Note that custom roles must be of the format
785
+ `compute.RegionDiskIamBinding` can be used per role. Note that custom roles must be of the format
759
786
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
760
787
  """
761
788
  return pulumi.get(self, "role")