pulumi-gcp 8.21.0a1741156431__py3-none-any.whl → 8.22.0__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 +96 -0
- pulumi_gcp/alloydb/_inputs.py +66 -0
- pulumi_gcp/alloydb/cluster.py +148 -0
- pulumi_gcp/alloydb/instance.py +28 -28
- pulumi_gcp/alloydb/outputs.py +95 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/host_project_registration.py +535 -0
- pulumi_gcp/backupdisasterrecovery/_inputs.py +3 -3
- pulumi_gcp/backupdisasterrecovery/outputs.py +4 -4
- pulumi_gcp/bigquery/table.py +1 -1
- pulumi_gcp/certificatemanager/certificate.py +53 -7
- pulumi_gcp/certificatemanager/outputs.py +8 -2
- pulumi_gcp/compute/__init__.py +6 -0
- pulumi_gcp/compute/_inputs.py +1370 -17
- pulumi_gcp/compute/backend_service.py +209 -14
- pulumi_gcp/compute/ca_external_account_key.py +48 -3
- pulumi_gcp/compute/disk.py +403 -0
- pulumi_gcp/compute/firewall_policy_association.py +28 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_disk.py +78 -1
- pulumi_gcp/compute/get_instant_snapshot_iam_policy.py +182 -0
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_region_ssl_policy.py +203 -0
- pulumi_gcp/compute/instant_snapshot.py +796 -0
- pulumi_gcp/compute/instant_snapshot_iam_binding.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_member.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_policy.py +906 -0
- pulumi_gcp/compute/outputs.py +1952 -29
- pulumi_gcp/compute/region_backend_service.py +207 -14
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/route.py +228 -2
- pulumi_gcp/compute/shared_vpc_service_project.py +0 -4
- pulumi_gcp/compute/subnetwork.py +147 -0
- pulumi_gcp/compute/url_map.py +8 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/datacatalog/entry.py +4 -0
- pulumi_gcp/datacatalog/tag.py +4 -0
- pulumi_gcp/dataproc/_inputs.py +12 -15
- pulumi_gcp/dataproc/outputs.py +8 -10
- pulumi_gcp/datastream/_inputs.py +273 -0
- pulumi_gcp/datastream/connection_profile.py +54 -2
- pulumi_gcp/datastream/outputs.py +224 -0
- pulumi_gcp/discoveryengine/target_site.py +4 -4
- pulumi_gcp/eventarc/__init__.py +2 -0
- pulumi_gcp/eventarc/_inputs.py +80 -0
- pulumi_gcp/eventarc/channel.py +85 -93
- pulumi_gcp/eventarc/google_api_source.py +997 -0
- pulumi_gcp/eventarc/message_bus.py +927 -0
- pulumi_gcp/eventarc/outputs.py +82 -0
- pulumi_gcp/firebase/data_connect_service.py +40 -2
- pulumi_gcp/gemini/__init__.py +1 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +20 -8
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +6 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +734 -0
- pulumi_gcp/gemini/logging_setting_binding.py +7 -7
- pulumi_gcp/iam/__init__.py +2 -0
- pulumi_gcp/iam/_inputs.py +84 -27
- pulumi_gcp/iam/folders_policy_binding.py +10 -26
- pulumi_gcp/iam/oauth_client.py +979 -0
- pulumi_gcp/iam/oauth_client_credential.py +641 -0
- pulumi_gcp/iam/organizations_policy_binding.py +8 -24
- pulumi_gcp/iam/outputs.py +56 -18
- pulumi_gcp/iam/principal_access_boundary_policy.py +58 -22
- pulumi_gcp/iam/projects_policy_binding.py +8 -24
- pulumi_gcp/iam/workforce_pool_provider.py +2 -2
- pulumi_gcp/kms/crypto_key_version.py +14 -7
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/get_instance.py +425 -0
- pulumi_gcp/memorystore/outputs.py +582 -0
- pulumi_gcp/monitoring/_inputs.py +15 -18
- pulumi_gcp/monitoring/alert_policy.py +46 -0
- pulumi_gcp/monitoring/outputs.py +10 -12
- pulumi_gcp/networkconnectivity/hub.py +84 -0
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/_inputs.py +30 -18
- pulumi_gcp/networksecurity/backend_authentication_config.py +847 -0
- pulumi_gcp/networksecurity/intercept_deployment.py +178 -94
- pulumi_gcp/networksecurity/intercept_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +161 -66
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +137 -80
- pulumi_gcp/networksecurity/mirroring_deployment.py +178 -94
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +161 -80
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +137 -105
- pulumi_gcp/networksecurity/outputs.py +20 -12
- pulumi_gcp/networkservices/endpoint_policy.py +12 -0
- pulumi_gcp/networkservices/grpc_route.py +128 -12
- pulumi_gcp/networkservices/http_route.py +16 -0
- pulumi_gcp/networkservices/mesh.py +16 -0
- pulumi_gcp/networkservices/service_binding.py +14 -0
- pulumi_gcp/networkservices/tcp_route.py +16 -0
- pulumi_gcp/networkservices/tls_route.py +12 -0
- pulumi_gcp/notebooks/location.py +4 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +74 -0
- pulumi_gcp/storage/anywhere_cache.py +552 -0
- pulumi_gcp/storage/outputs.py +65 -0
- pulumi_gcp/storage/transfer_job.py +67 -0
- pulumi_gcp/tpu/_inputs.py +21 -1
- pulumi_gcp/tpu/outputs.py +13 -1
- pulumi_gcp/tpu/v2_vm.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +6 -0
- pulumi_gcp/vmwareengine/outputs.py +8 -0
- pulumi_gcp/workstations/workstation_cluster.py +137 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/RECORD +110 -95
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,8 @@ class RegionDiskArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
replica_zones: pulumi.Input[Sequence[pulumi.Input[str]]],
|
25
25
|
async_primary_disk: Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']] = None,
|
26
|
+
create_snapshot_before_destroy: Optional[pulumi.Input[bool]] = None,
|
27
|
+
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[str]] = None,
|
26
28
|
description: Optional[pulumi.Input[str]] = None,
|
27
29
|
disk_encryption_key: Optional[pulumi.Input['RegionDiskDiskEncryptionKeyArgs']] = None,
|
28
30
|
guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input['RegionDiskGuestOsFeatureArgs']]]] = None,
|
@@ -46,6 +48,10 @@ class RegionDiskArgs:
|
|
46
48
|
- - -
|
47
49
|
:param pulumi.Input['RegionDiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource.
|
48
50
|
Structure is documented below.
|
51
|
+
:param pulumi.Input[bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
52
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
53
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
54
|
+
:param pulumi.Input[str] create_snapshot_before_destroy_prefix: This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
49
55
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
50
56
|
you create the resource.
|
51
57
|
:param pulumi.Input['RegionDiskDiskEncryptionKeyArgs'] disk_encryption_key: Encrypts the disk using a customer-supplied encryption key.
|
@@ -115,6 +121,10 @@ class RegionDiskArgs:
|
|
115
121
|
pulumi.set(__self__, "replica_zones", replica_zones)
|
116
122
|
if async_primary_disk is not None:
|
117
123
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
124
|
+
if create_snapshot_before_destroy is not None:
|
125
|
+
pulumi.set(__self__, "create_snapshot_before_destroy", create_snapshot_before_destroy)
|
126
|
+
if create_snapshot_before_destroy_prefix is not None:
|
127
|
+
pulumi.set(__self__, "create_snapshot_before_destroy_prefix", create_snapshot_before_destroy_prefix)
|
118
128
|
if description is not None:
|
119
129
|
pulumi.set(__self__, "description", description)
|
120
130
|
if disk_encryption_key is not None:
|
@@ -177,6 +187,32 @@ class RegionDiskArgs:
|
|
177
187
|
def async_primary_disk(self, value: Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']]):
|
178
188
|
pulumi.set(self, "async_primary_disk", value)
|
179
189
|
|
190
|
+
@property
|
191
|
+
@pulumi.getter(name="createSnapshotBeforeDestroy")
|
192
|
+
def create_snapshot_before_destroy(self) -> Optional[pulumi.Input[bool]]:
|
193
|
+
"""
|
194
|
+
If set to true, a snapshot of the disk will be created before it is destroyed.
|
195
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
196
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "create_snapshot_before_destroy")
|
199
|
+
|
200
|
+
@create_snapshot_before_destroy.setter
|
201
|
+
def create_snapshot_before_destroy(self, value: Optional[pulumi.Input[bool]]):
|
202
|
+
pulumi.set(self, "create_snapshot_before_destroy", value)
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="createSnapshotBeforeDestroyPrefix")
|
206
|
+
def create_snapshot_before_destroy_prefix(self) -> Optional[pulumi.Input[str]]:
|
207
|
+
"""
|
208
|
+
This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "create_snapshot_before_destroy_prefix")
|
211
|
+
|
212
|
+
@create_snapshot_before_destroy_prefix.setter
|
213
|
+
def create_snapshot_before_destroy_prefix(self, value: Optional[pulumi.Input[str]]):
|
214
|
+
pulumi.set(self, "create_snapshot_before_destroy_prefix", value)
|
215
|
+
|
180
216
|
@property
|
181
217
|
@pulumi.getter
|
182
218
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -413,6 +449,8 @@ class RegionDiskArgs:
|
|
413
449
|
class _RegionDiskState:
|
414
450
|
def __init__(__self__, *,
|
415
451
|
async_primary_disk: Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']] = None,
|
452
|
+
create_snapshot_before_destroy: Optional[pulumi.Input[bool]] = None,
|
453
|
+
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[str]] = None,
|
416
454
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
417
455
|
description: Optional[pulumi.Input[str]] = None,
|
418
456
|
disk_encryption_key: Optional[pulumi.Input['RegionDiskDiskEncryptionKeyArgs']] = None,
|
@@ -443,6 +481,10 @@ class _RegionDiskState:
|
|
443
481
|
Input properties used for looking up and filtering RegionDisk resources.
|
444
482
|
:param pulumi.Input['RegionDiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource.
|
445
483
|
Structure is documented below.
|
484
|
+
:param pulumi.Input[bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
485
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
486
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
487
|
+
:param pulumi.Input[str] create_snapshot_before_destroy_prefix: This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
446
488
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
447
489
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
448
490
|
you create the resource.
|
@@ -535,6 +577,10 @@ class _RegionDiskState:
|
|
535
577
|
"""
|
536
578
|
if async_primary_disk is not None:
|
537
579
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
580
|
+
if create_snapshot_before_destroy is not None:
|
581
|
+
pulumi.set(__self__, "create_snapshot_before_destroy", create_snapshot_before_destroy)
|
582
|
+
if create_snapshot_before_destroy_prefix is not None:
|
583
|
+
pulumi.set(__self__, "create_snapshot_before_destroy_prefix", create_snapshot_before_destroy_prefix)
|
538
584
|
if creation_timestamp is not None:
|
539
585
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
540
586
|
if description is not None:
|
@@ -604,6 +650,32 @@ class _RegionDiskState:
|
|
604
650
|
def async_primary_disk(self, value: Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']]):
|
605
651
|
pulumi.set(self, "async_primary_disk", value)
|
606
652
|
|
653
|
+
@property
|
654
|
+
@pulumi.getter(name="createSnapshotBeforeDestroy")
|
655
|
+
def create_snapshot_before_destroy(self) -> Optional[pulumi.Input[bool]]:
|
656
|
+
"""
|
657
|
+
If set to true, a snapshot of the disk will be created before it is destroyed.
|
658
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
659
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
660
|
+
"""
|
661
|
+
return pulumi.get(self, "create_snapshot_before_destroy")
|
662
|
+
|
663
|
+
@create_snapshot_before_destroy.setter
|
664
|
+
def create_snapshot_before_destroy(self, value: Optional[pulumi.Input[bool]]):
|
665
|
+
pulumi.set(self, "create_snapshot_before_destroy", value)
|
666
|
+
|
667
|
+
@property
|
668
|
+
@pulumi.getter(name="createSnapshotBeforeDestroyPrefix")
|
669
|
+
def create_snapshot_before_destroy_prefix(self) -> Optional[pulumi.Input[str]]:
|
670
|
+
"""
|
671
|
+
This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
672
|
+
"""
|
673
|
+
return pulumi.get(self, "create_snapshot_before_destroy_prefix")
|
674
|
+
|
675
|
+
@create_snapshot_before_destroy_prefix.setter
|
676
|
+
def create_snapshot_before_destroy_prefix(self, value: Optional[pulumi.Input[str]]):
|
677
|
+
pulumi.set(self, "create_snapshot_before_destroy_prefix", value)
|
678
|
+
|
607
679
|
@property
|
608
680
|
@pulumi.getter(name="creationTimestamp")
|
609
681
|
def creation_timestamp(self) -> Optional[pulumi.Input[str]]:
|
@@ -987,6 +1059,8 @@ class RegionDisk(pulumi.CustomResource):
|
|
987
1059
|
resource_name: str,
|
988
1060
|
opts: Optional[pulumi.ResourceOptions] = None,
|
989
1061
|
async_primary_disk: Optional[pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']]] = None,
|
1062
|
+
create_snapshot_before_destroy: Optional[pulumi.Input[bool]] = None,
|
1063
|
+
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[str]] = None,
|
990
1064
|
description: Optional[pulumi.Input[str]] = None,
|
991
1065
|
disk_encryption_key: Optional[pulumi.Input[Union['RegionDiskDiskEncryptionKeyArgs', 'RegionDiskDiskEncryptionKeyArgsDict']]] = None,
|
992
1066
|
guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionDiskGuestOsFeatureArgs', 'RegionDiskGuestOsFeatureArgsDict']]]]] = None,
|
@@ -1027,6 +1101,9 @@ class RegionDisk(pulumi.CustomResource):
|
|
1027
1101
|
* How-to Guides
|
1028
1102
|
* [Adding or Resizing Regional Persistent Disks](https://cloud.google.com/compute/docs/disks/regional-persistent-disk)
|
1029
1103
|
|
1104
|
+
> **Warning:** All arguments including the following potentially sensitive
|
1105
|
+
values will be stored in the raw state as plain text: `disk_encryption_key.raw_key`, `disk_encryption_key.rsa_encrypted_key`.
|
1106
|
+
|
1030
1107
|
## Example Usage
|
1031
1108
|
|
1032
1109
|
### Region Disk Basic
|
@@ -1147,6 +1224,10 @@ class RegionDisk(pulumi.CustomResource):
|
|
1147
1224
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1148
1225
|
:param pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource.
|
1149
1226
|
Structure is documented below.
|
1227
|
+
:param pulumi.Input[bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
1228
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
1229
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
1230
|
+
:param pulumi.Input[str] create_snapshot_before_destroy_prefix: This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
1150
1231
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
1151
1232
|
you create the resource.
|
1152
1233
|
:param pulumi.Input[Union['RegionDiskDiskEncryptionKeyArgs', 'RegionDiskDiskEncryptionKeyArgsDict']] disk_encryption_key: Encrypts the disk using a customer-supplied encryption key.
|
@@ -1246,6 +1327,9 @@ class RegionDisk(pulumi.CustomResource):
|
|
1246
1327
|
* How-to Guides
|
1247
1328
|
* [Adding or Resizing Regional Persistent Disks](https://cloud.google.com/compute/docs/disks/regional-persistent-disk)
|
1248
1329
|
|
1330
|
+
> **Warning:** All arguments including the following potentially sensitive
|
1331
|
+
values will be stored in the raw state as plain text: `disk_encryption_key.raw_key`, `disk_encryption_key.rsa_encrypted_key`.
|
1332
|
+
|
1249
1333
|
## Example Usage
|
1250
1334
|
|
1251
1335
|
### Region Disk Basic
|
@@ -1378,6 +1462,8 @@ class RegionDisk(pulumi.CustomResource):
|
|
1378
1462
|
resource_name: str,
|
1379
1463
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1380
1464
|
async_primary_disk: Optional[pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']]] = None,
|
1465
|
+
create_snapshot_before_destroy: Optional[pulumi.Input[bool]] = None,
|
1466
|
+
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[str]] = None,
|
1381
1467
|
description: Optional[pulumi.Input[str]] = None,
|
1382
1468
|
disk_encryption_key: Optional[pulumi.Input[Union['RegionDiskDiskEncryptionKeyArgs', 'RegionDiskDiskEncryptionKeyArgsDict']]] = None,
|
1383
1469
|
guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionDiskGuestOsFeatureArgs', 'RegionDiskGuestOsFeatureArgsDict']]]]] = None,
|
@@ -1404,6 +1490,8 @@ class RegionDisk(pulumi.CustomResource):
|
|
1404
1490
|
__props__ = RegionDiskArgs.__new__(RegionDiskArgs)
|
1405
1491
|
|
1406
1492
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
1493
|
+
__props__.__dict__["create_snapshot_before_destroy"] = create_snapshot_before_destroy
|
1494
|
+
__props__.__dict__["create_snapshot_before_destroy_prefix"] = create_snapshot_before_destroy_prefix
|
1407
1495
|
__props__.__dict__["description"] = description
|
1408
1496
|
__props__.__dict__["disk_encryption_key"] = disk_encryption_key
|
1409
1497
|
__props__.__dict__["guest_os_features"] = guest_os_features
|
@@ -1445,6 +1533,8 @@ class RegionDisk(pulumi.CustomResource):
|
|
1445
1533
|
id: pulumi.Input[str],
|
1446
1534
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1447
1535
|
async_primary_disk: Optional[pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']]] = None,
|
1536
|
+
create_snapshot_before_destroy: Optional[pulumi.Input[bool]] = None,
|
1537
|
+
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[str]] = None,
|
1448
1538
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
1449
1539
|
description: Optional[pulumi.Input[str]] = None,
|
1450
1540
|
disk_encryption_key: Optional[pulumi.Input[Union['RegionDiskDiskEncryptionKeyArgs', 'RegionDiskDiskEncryptionKeyArgsDict']]] = None,
|
@@ -1480,6 +1570,10 @@ class RegionDisk(pulumi.CustomResource):
|
|
1480
1570
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1481
1571
|
:param pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource.
|
1482
1572
|
Structure is documented below.
|
1573
|
+
:param pulumi.Input[bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
1574
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
1575
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
1576
|
+
:param pulumi.Input[str] create_snapshot_before_destroy_prefix: This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
1483
1577
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
1484
1578
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
1485
1579
|
you create the resource.
|
@@ -1575,6 +1669,8 @@ class RegionDisk(pulumi.CustomResource):
|
|
1575
1669
|
__props__ = _RegionDiskState.__new__(_RegionDiskState)
|
1576
1670
|
|
1577
1671
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
1672
|
+
__props__.__dict__["create_snapshot_before_destroy"] = create_snapshot_before_destroy
|
1673
|
+
__props__.__dict__["create_snapshot_before_destroy_prefix"] = create_snapshot_before_destroy_prefix
|
1578
1674
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
1579
1675
|
__props__.__dict__["description"] = description
|
1580
1676
|
__props__.__dict__["disk_encryption_key"] = disk_encryption_key
|
@@ -1612,6 +1708,24 @@ class RegionDisk(pulumi.CustomResource):
|
|
1612
1708
|
"""
|
1613
1709
|
return pulumi.get(self, "async_primary_disk")
|
1614
1710
|
|
1711
|
+
@property
|
1712
|
+
@pulumi.getter(name="createSnapshotBeforeDestroy")
|
1713
|
+
def create_snapshot_before_destroy(self) -> pulumi.Output[Optional[bool]]:
|
1714
|
+
"""
|
1715
|
+
If set to true, a snapshot of the disk will be created before it is destroyed.
|
1716
|
+
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
|
1717
|
+
The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
|
1718
|
+
"""
|
1719
|
+
return pulumi.get(self, "create_snapshot_before_destroy")
|
1720
|
+
|
1721
|
+
@property
|
1722
|
+
@pulumi.getter(name="createSnapshotBeforeDestroyPrefix")
|
1723
|
+
def create_snapshot_before_destroy_prefix(self) -> pulumi.Output[Optional[str]]:
|
1724
|
+
"""
|
1725
|
+
This will set a custom name prefix for the snapshot that's created when the disk is deleted.
|
1726
|
+
"""
|
1727
|
+
return pulumi.get(self, "create_snapshot_before_destroy_prefix")
|
1728
|
+
|
1615
1729
|
@property
|
1616
1730
|
@pulumi.getter(name="creationTimestamp")
|
1617
1731
|
def creation_timestamp(self) -> pulumi.Output[str]:
|