pulumi-gcp 7.36.0a1723631483__py3-none-any.whl → 7.37.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 +72 -0
- pulumi_gcp/accesscontextmanager/__init__.py +2 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +780 -0
- pulumi_gcp/accesscontextmanager/outputs.py +601 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +323 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +332 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +2 -24
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +2 -24
- pulumi_gcp/applicationintegration/client.py +2 -2
- pulumi_gcp/clouddeploy/_inputs.py +21 -1
- pulumi_gcp/clouddeploy/outputs.py +15 -1
- pulumi_gcp/cloudrunv2/_inputs.py +40 -0
- pulumi_gcp/cloudrunv2/outputs.py +46 -0
- pulumi_gcp/compute/region_target_https_proxy.py +28 -0
- pulumi_gcp/container/_inputs.py +26 -0
- pulumi_gcp/container/outputs.py +29 -0
- pulumi_gcp/dataform/repository.py +80 -2
- pulumi_gcp/discoveryengine/data_store.py +93 -2
- pulumi_gcp/gkehub/_inputs.py +63 -0
- pulumi_gcp/gkehub/outputs.py +38 -0
- pulumi_gcp/logging/get_log_view_iam_policy.py +28 -2
- pulumi_gcp/logging/log_view_iam_binding.py +512 -0
- pulumi_gcp/logging/log_view_iam_member.py +512 -0
- pulumi_gcp/logging/log_view_iam_policy.py +512 -0
- pulumi_gcp/netapp/_inputs.py +6 -6
- pulumi_gcp/netapp/outputs.py +4 -4
- pulumi_gcp/networkconnectivity/regional_endpoint.py +6 -6
- pulumi_gcp/organizations/get_project.py +11 -1
- pulumi_gcp/organizations/project.py +76 -21
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +8 -0
- pulumi_gcp/securitycenter/_inputs.py +191 -0
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +146 -0
- pulumi_gcp/securitycenter/outputs.py +115 -0
- pulumi_gcp/securitycenter/v2_folder_mute_config.py +679 -0
- pulumi_gcp/securitycenter/v2_organization_source.py +416 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +722 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +722 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +561 -0
- pulumi_gcp/securitycenter/v2_project_mute_config.py +684 -0
- pulumi_gcp/securitycenter/v2_project_notification_config.py +559 -0
- pulumi_gcp/spanner/instance.py +0 -7
- pulumi_gcp/sql/_inputs.py +3 -3
- pulumi_gcp/sql/outputs.py +6 -6
- pulumi_gcp/storage/bucket_object.py +28 -0
- pulumi_gcp/storage/get_bucket_object.py +14 -1
- pulumi_gcp/storage/get_bucket_object_content.py +11 -1
- pulumi_gcp/storage/managed_folder.py +72 -2
- pulumi_gcp/vmwareengine/network_policy.py +6 -6
- {pulumi_gcp-7.36.0a1723631483.dist-info → pulumi_gcp-7.37.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.36.0a1723631483.dist-info → pulumi_gcp-7.37.0.dist-info}/RECORD +53 -43
- {pulumi_gcp-7.36.0a1723631483.dist-info → pulumi_gcp-7.37.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.36.0a1723631483.dist-info → pulumi_gcp-7.37.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/outputs.py
CHANGED
@@ -704,7 +704,7 @@ class DatabaseInstanceSettings(dict):
|
|
704
704
|
For Postgres and SQL Server instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled`
|
705
705
|
is set to `true`. Defaults to `ZONAL`.
|
706
706
|
:param str collation: The name of server instance collation.
|
707
|
-
:param str connector_enforcement:
|
707
|
+
:param str connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
708
708
|
:param 'DatabaseInstanceSettingsDataCacheConfigArgs' data_cache_config: Data cache configurations.
|
709
709
|
:param bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
710
710
|
:param bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
@@ -839,7 +839,7 @@ class DatabaseInstanceSettings(dict):
|
|
839
839
|
@pulumi.getter(name="connectorEnforcement")
|
840
840
|
def connector_enforcement(self) -> Optional[str]:
|
841
841
|
"""
|
842
|
-
|
842
|
+
Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
843
843
|
"""
|
844
844
|
return pulumi.get(self, "connector_enforcement")
|
845
845
|
|
@@ -2596,7 +2596,7 @@ class GetDatabaseInstanceSettingResult(dict):
|
|
2596
2596
|
For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled
|
2597
2597
|
is set to true. Defaults to ZONAL.
|
2598
2598
|
:param str collation: The name of server instance collation.
|
2599
|
-
:param str connector_enforcement:
|
2599
|
+
:param str connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
2600
2600
|
:param Sequence['GetDatabaseInstanceSettingDataCacheConfigArgs'] data_cache_configs: Data cache configurations.
|
2601
2601
|
:param bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
2602
2602
|
:param bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to true.
|
@@ -2692,7 +2692,7 @@ class GetDatabaseInstanceSettingResult(dict):
|
|
2692
2692
|
@pulumi.getter(name="connectorEnforcement")
|
2693
2693
|
def connector_enforcement(self) -> str:
|
2694
2694
|
"""
|
2695
|
-
|
2695
|
+
Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
2696
2696
|
"""
|
2697
2697
|
return pulumi.get(self, "connector_enforcement")
|
2698
2698
|
|
@@ -4099,7 +4099,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
|
|
4099
4099
|
For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled
|
4100
4100
|
is set to true. Defaults to ZONAL.
|
4101
4101
|
:param str collation: The name of server instance collation.
|
4102
|
-
:param str connector_enforcement:
|
4102
|
+
:param str connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
4103
4103
|
:param Sequence['GetDatabaseInstancesInstanceSettingDataCacheConfigArgs'] data_cache_configs: Data cache configurations.
|
4104
4104
|
:param bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
4105
4105
|
:param bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to true.
|
@@ -4195,7 +4195,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
|
|
4195
4195
|
@pulumi.getter(name="connectorEnforcement")
|
4196
4196
|
def connector_enforcement(self) -> str:
|
4197
4197
|
"""
|
4198
|
-
|
4198
|
+
Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
4199
4199
|
"""
|
4200
4200
|
return pulumi.get(self, "connector_enforcement")
|
4201
4201
|
|
@@ -325,6 +325,7 @@ class _BucketObjectState:
|
|
325
325
|
customer_encryption: Optional[pulumi.Input['BucketObjectCustomerEncryptionArgs']] = None,
|
326
326
|
detect_md5hash: Optional[pulumi.Input[str]] = None,
|
327
327
|
event_based_hold: Optional[pulumi.Input[bool]] = None,
|
328
|
+
generation: Optional[pulumi.Input[int]] = None,
|
328
329
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
329
330
|
md5hash: Optional[pulumi.Input[str]] = None,
|
330
331
|
media_link: Optional[pulumi.Input[str]] = None,
|
@@ -350,6 +351,7 @@ class _BucketObjectState:
|
|
350
351
|
:param pulumi.Input['BucketObjectCustomerEncryptionArgs'] customer_encryption: Enables object encryption with Customer-Supplied Encryption Key (CSEK). Google [documentation about CSEK.](https://cloud.google.com/storage/docs/encryption/customer-supplied-keys)
|
351
352
|
Structure is documented below.
|
352
353
|
:param pulumi.Input[bool] event_based_hold: Whether an object is under [event-based hold](https://cloud.google.com/storage/docs/object-holds#hold-types). Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
|
354
|
+
:param pulumi.Input[int] generation: (Computed) The content generation of this object. Used for object [versioning](https://cloud.google.com/storage/docs/object-versioning) and [soft delete](https://cloud.google.com/storage/docs/soft-delete).
|
353
355
|
:param pulumi.Input[str] kms_key_name: The resource name of the Cloud KMS key that will be used to [encrypt](https://cloud.google.com/storage/docs/encryption/using-customer-managed-keys) the object.
|
354
356
|
:param pulumi.Input[str] md5hash: (Computed) Base 64 MD5 hash of the uploaded data.
|
355
357
|
:param pulumi.Input[str] media_link: (Computed) A url reference to download this object.
|
@@ -392,6 +394,8 @@ class _BucketObjectState:
|
|
392
394
|
pulumi.set(__self__, "detect_md5hash", detect_md5hash)
|
393
395
|
if event_based_hold is not None:
|
394
396
|
pulumi.set(__self__, "event_based_hold", event_based_hold)
|
397
|
+
if generation is not None:
|
398
|
+
pulumi.set(__self__, "generation", generation)
|
395
399
|
if kms_key_name is not None:
|
396
400
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
397
401
|
if md5hash is not None:
|
@@ -546,6 +550,18 @@ class _BucketObjectState:
|
|
546
550
|
def event_based_hold(self, value: Optional[pulumi.Input[bool]]):
|
547
551
|
pulumi.set(self, "event_based_hold", value)
|
548
552
|
|
553
|
+
@property
|
554
|
+
@pulumi.getter
|
555
|
+
def generation(self) -> Optional[pulumi.Input[int]]:
|
556
|
+
"""
|
557
|
+
(Computed) The content generation of this object. Used for object [versioning](https://cloud.google.com/storage/docs/object-versioning) and [soft delete](https://cloud.google.com/storage/docs/soft-delete).
|
558
|
+
"""
|
559
|
+
return pulumi.get(self, "generation")
|
560
|
+
|
561
|
+
@generation.setter
|
562
|
+
def generation(self, value: Optional[pulumi.Input[int]]):
|
563
|
+
pulumi.set(self, "generation", value)
|
564
|
+
|
549
565
|
@property
|
550
566
|
@pulumi.getter(name="kmsKeyName")
|
551
567
|
def kms_key_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -881,6 +897,7 @@ class BucketObject(pulumi.CustomResource):
|
|
881
897
|
__props__.__dict__["storage_class"] = storage_class
|
882
898
|
__props__.__dict__["temporary_hold"] = temporary_hold
|
883
899
|
__props__.__dict__["crc32c"] = None
|
900
|
+
__props__.__dict__["generation"] = None
|
884
901
|
__props__.__dict__["md5hash"] = None
|
885
902
|
__props__.__dict__["media_link"] = None
|
886
903
|
__props__.__dict__["output_name"] = None
|
@@ -908,6 +925,7 @@ class BucketObject(pulumi.CustomResource):
|
|
908
925
|
customer_encryption: Optional[pulumi.Input[Union['BucketObjectCustomerEncryptionArgs', 'BucketObjectCustomerEncryptionArgsDict']]] = None,
|
909
926
|
detect_md5hash: Optional[pulumi.Input[str]] = None,
|
910
927
|
event_based_hold: Optional[pulumi.Input[bool]] = None,
|
928
|
+
generation: Optional[pulumi.Input[int]] = None,
|
911
929
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
912
930
|
md5hash: Optional[pulumi.Input[str]] = None,
|
913
931
|
media_link: Optional[pulumi.Input[str]] = None,
|
@@ -938,6 +956,7 @@ class BucketObject(pulumi.CustomResource):
|
|
938
956
|
:param pulumi.Input[Union['BucketObjectCustomerEncryptionArgs', 'BucketObjectCustomerEncryptionArgsDict']] customer_encryption: Enables object encryption with Customer-Supplied Encryption Key (CSEK). Google [documentation about CSEK.](https://cloud.google.com/storage/docs/encryption/customer-supplied-keys)
|
939
957
|
Structure is documented below.
|
940
958
|
:param pulumi.Input[bool] event_based_hold: Whether an object is under [event-based hold](https://cloud.google.com/storage/docs/object-holds#hold-types). Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
|
959
|
+
:param pulumi.Input[int] generation: (Computed) The content generation of this object. Used for object [versioning](https://cloud.google.com/storage/docs/object-versioning) and [soft delete](https://cloud.google.com/storage/docs/soft-delete).
|
941
960
|
:param pulumi.Input[str] kms_key_name: The resource name of the Cloud KMS key that will be used to [encrypt](https://cloud.google.com/storage/docs/encryption/using-customer-managed-keys) the object.
|
942
961
|
:param pulumi.Input[str] md5hash: (Computed) Base 64 MD5 hash of the uploaded data.
|
943
962
|
:param pulumi.Input[str] media_link: (Computed) A url reference to download this object.
|
@@ -973,6 +992,7 @@ class BucketObject(pulumi.CustomResource):
|
|
973
992
|
__props__.__dict__["customer_encryption"] = customer_encryption
|
974
993
|
__props__.__dict__["detect_md5hash"] = detect_md5hash
|
975
994
|
__props__.__dict__["event_based_hold"] = event_based_hold
|
995
|
+
__props__.__dict__["generation"] = generation
|
976
996
|
__props__.__dict__["kms_key_name"] = kms_key_name
|
977
997
|
__props__.__dict__["md5hash"] = md5hash
|
978
998
|
__props__.__dict__["media_link"] = media_link
|
@@ -1073,6 +1093,14 @@ class BucketObject(pulumi.CustomResource):
|
|
1073
1093
|
"""
|
1074
1094
|
return pulumi.get(self, "event_based_hold")
|
1075
1095
|
|
1096
|
+
@property
|
1097
|
+
@pulumi.getter
|
1098
|
+
def generation(self) -> pulumi.Output[int]:
|
1099
|
+
"""
|
1100
|
+
(Computed) The content generation of this object. Used for object [versioning](https://cloud.google.com/storage/docs/object-versioning) and [soft delete](https://cloud.google.com/storage/docs/soft-delete).
|
1101
|
+
"""
|
1102
|
+
return pulumi.get(self, "generation")
|
1103
|
+
|
1076
1104
|
@property
|
1077
1105
|
@pulumi.getter(name="kmsKeyName")
|
1078
1106
|
def kms_key_name(self) -> pulumi.Output[str]:
|
@@ -27,7 +27,7 @@ class GetBucketObjectResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getBucketObject.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, bucket=None, cache_control=None, content=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, crc32c=None, customer_encryptions=None, detect_md5hash=None, event_based_hold=None, id=None, kms_key_name=None, md5hash=None, media_link=None, metadata=None, name=None, output_name=None, retentions=None, self_link=None, source=None, storage_class=None, temporary_hold=None):
|
30
|
+
def __init__(__self__, bucket=None, cache_control=None, content=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, crc32c=None, customer_encryptions=None, detect_md5hash=None, event_based_hold=None, generation=None, id=None, kms_key_name=None, md5hash=None, media_link=None, metadata=None, name=None, output_name=None, retentions=None, self_link=None, source=None, storage_class=None, temporary_hold=None):
|
31
31
|
if bucket and not isinstance(bucket, str):
|
32
32
|
raise TypeError("Expected argument 'bucket' to be a str")
|
33
33
|
pulumi.set(__self__, "bucket", bucket)
|
@@ -61,6 +61,9 @@ class GetBucketObjectResult:
|
|
61
61
|
if event_based_hold and not isinstance(event_based_hold, bool):
|
62
62
|
raise TypeError("Expected argument 'event_based_hold' to be a bool")
|
63
63
|
pulumi.set(__self__, "event_based_hold", event_based_hold)
|
64
|
+
if generation and not isinstance(generation, int):
|
65
|
+
raise TypeError("Expected argument 'generation' to be a int")
|
66
|
+
pulumi.set(__self__, "generation", generation)
|
64
67
|
if id and not isinstance(id, str):
|
65
68
|
raise TypeError("Expected argument 'id' to be a str")
|
66
69
|
pulumi.set(__self__, "id", id)
|
@@ -175,6 +178,14 @@ class GetBucketObjectResult:
|
|
175
178
|
"""
|
176
179
|
return pulumi.get(self, "event_based_hold")
|
177
180
|
|
181
|
+
@property
|
182
|
+
@pulumi.getter
|
183
|
+
def generation(self) -> int:
|
184
|
+
"""
|
185
|
+
(Computed) The content generation of this object. Used for object [versioning](https://cloud.google.com/storage/docs/object-versioning) and [soft delete](https://cloud.google.com/storage/docs/soft-delete).
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "generation")
|
188
|
+
|
178
189
|
@property
|
179
190
|
@pulumi.getter
|
180
191
|
def id(self) -> str:
|
@@ -273,6 +284,7 @@ class AwaitableGetBucketObjectResult(GetBucketObjectResult):
|
|
273
284
|
customer_encryptions=self.customer_encryptions,
|
274
285
|
detect_md5hash=self.detect_md5hash,
|
275
286
|
event_based_hold=self.event_based_hold,
|
287
|
+
generation=self.generation,
|
276
288
|
id=self.id,
|
277
289
|
kms_key_name=self.kms_key_name,
|
278
290
|
md5hash=self.md5hash,
|
@@ -330,6 +342,7 @@ def get_bucket_object(bucket: Optional[str] = None,
|
|
330
342
|
customer_encryptions=pulumi.get(__ret__, 'customer_encryptions'),
|
331
343
|
detect_md5hash=pulumi.get(__ret__, 'detect_md5hash'),
|
332
344
|
event_based_hold=pulumi.get(__ret__, 'event_based_hold'),
|
345
|
+
generation=pulumi.get(__ret__, 'generation'),
|
333
346
|
id=pulumi.get(__ret__, 'id'),
|
334
347
|
kms_key_name=pulumi.get(__ret__, 'kms_key_name'),
|
335
348
|
md5hash=pulumi.get(__ret__, 'md5hash'),
|
@@ -27,7 +27,7 @@ class GetBucketObjectContentResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getBucketObjectContent.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, bucket=None, cache_control=None, content=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, crc32c=None, customer_encryptions=None, detect_md5hash=None, event_based_hold=None, id=None, kms_key_name=None, md5hash=None, media_link=None, metadata=None, name=None, output_name=None, retentions=None, self_link=None, source=None, storage_class=None, temporary_hold=None):
|
30
|
+
def __init__(__self__, bucket=None, cache_control=None, content=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, crc32c=None, customer_encryptions=None, detect_md5hash=None, event_based_hold=None, generation=None, id=None, kms_key_name=None, md5hash=None, media_link=None, metadata=None, name=None, output_name=None, retentions=None, self_link=None, source=None, storage_class=None, temporary_hold=None):
|
31
31
|
if bucket and not isinstance(bucket, str):
|
32
32
|
raise TypeError("Expected argument 'bucket' to be a str")
|
33
33
|
pulumi.set(__self__, "bucket", bucket)
|
@@ -61,6 +61,9 @@ class GetBucketObjectContentResult:
|
|
61
61
|
if event_based_hold and not isinstance(event_based_hold, bool):
|
62
62
|
raise TypeError("Expected argument 'event_based_hold' to be a bool")
|
63
63
|
pulumi.set(__self__, "event_based_hold", event_based_hold)
|
64
|
+
if generation and not isinstance(generation, int):
|
65
|
+
raise TypeError("Expected argument 'generation' to be a int")
|
66
|
+
pulumi.set(__self__, "generation", generation)
|
64
67
|
if id and not isinstance(id, str):
|
65
68
|
raise TypeError("Expected argument 'id' to be a str")
|
66
69
|
pulumi.set(__self__, "id", id)
|
@@ -156,6 +159,11 @@ class GetBucketObjectContentResult:
|
|
156
159
|
def event_based_hold(self) -> bool:
|
157
160
|
return pulumi.get(self, "event_based_hold")
|
158
161
|
|
162
|
+
@property
|
163
|
+
@pulumi.getter
|
164
|
+
def generation(self) -> int:
|
165
|
+
return pulumi.get(self, "generation")
|
166
|
+
|
159
167
|
@property
|
160
168
|
@pulumi.getter
|
161
169
|
def id(self) -> str:
|
@@ -237,6 +245,7 @@ class AwaitableGetBucketObjectContentResult(GetBucketObjectContentResult):
|
|
237
245
|
customer_encryptions=self.customer_encryptions,
|
238
246
|
detect_md5hash=self.detect_md5hash,
|
239
247
|
event_based_hold=self.event_based_hold,
|
248
|
+
generation=self.generation,
|
240
249
|
id=self.id,
|
241
250
|
kms_key_name=self.kms_key_name,
|
242
251
|
md5hash=self.md5hash,
|
@@ -300,6 +309,7 @@ def get_bucket_object_content(bucket: Optional[str] = None,
|
|
300
309
|
customer_encryptions=pulumi.get(__ret__, 'customer_encryptions'),
|
301
310
|
detect_md5hash=pulumi.get(__ret__, 'detect_md5hash'),
|
302
311
|
event_based_hold=pulumi.get(__ret__, 'event_based_hold'),
|
312
|
+
generation=pulumi.get(__ret__, 'generation'),
|
303
313
|
id=pulumi.get(__ret__, 'id'),
|
304
314
|
kms_key_name=pulumi.get(__ret__, 'kms_key_name'),
|
305
315
|
md5hash=pulumi.get(__ret__, 'md5hash'),
|
@@ -20,10 +20,15 @@ __all__ = ['ManagedFolderArgs', 'ManagedFolder']
|
|
20
20
|
class ManagedFolderArgs:
|
21
21
|
def __init__(__self__, *,
|
22
22
|
bucket: pulumi.Input[str],
|
23
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
23
24
|
name: Optional[pulumi.Input[str]] = None):
|
24
25
|
"""
|
25
26
|
The set of arguments for constructing a ManagedFolder resource.
|
26
27
|
:param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder.
|
28
|
+
:param pulumi.Input[bool] force_destroy: Allows the deletion of a managed folder even if contains
|
29
|
+
objects. If a non-empty managed folder is deleted, any objects
|
30
|
+
within the folder will remain in a simulated folder with the
|
31
|
+
same name.
|
27
32
|
:param pulumi.Input[str] name: The name of the managed folder expressed as a path. Must include
|
28
33
|
trailing '/'. For example, `example_dir/example_dir2/`.
|
29
34
|
|
@@ -31,6 +36,8 @@ class ManagedFolderArgs:
|
|
31
36
|
- - -
|
32
37
|
"""
|
33
38
|
pulumi.set(__self__, "bucket", bucket)
|
39
|
+
if force_destroy is not None:
|
40
|
+
pulumi.set(__self__, "force_destroy", force_destroy)
|
34
41
|
if name is not None:
|
35
42
|
pulumi.set(__self__, "name", name)
|
36
43
|
|
@@ -46,6 +53,21 @@ class ManagedFolderArgs:
|
|
46
53
|
def bucket(self, value: pulumi.Input[str]):
|
47
54
|
pulumi.set(self, "bucket", value)
|
48
55
|
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="forceDestroy")
|
58
|
+
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
59
|
+
"""
|
60
|
+
Allows the deletion of a managed folder even if contains
|
61
|
+
objects. If a non-empty managed folder is deleted, any objects
|
62
|
+
within the folder will remain in a simulated folder with the
|
63
|
+
same name.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "force_destroy")
|
66
|
+
|
67
|
+
@force_destroy.setter
|
68
|
+
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
69
|
+
pulumi.set(self, "force_destroy", value)
|
70
|
+
|
49
71
|
@property
|
50
72
|
@pulumi.getter
|
51
73
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -68,6 +90,7 @@ class _ManagedFolderState:
|
|
68
90
|
def __init__(__self__, *,
|
69
91
|
bucket: Optional[pulumi.Input[str]] = None,
|
70
92
|
create_time: Optional[pulumi.Input[str]] = None,
|
93
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
71
94
|
metageneration: Optional[pulumi.Input[str]] = None,
|
72
95
|
name: Optional[pulumi.Input[str]] = None,
|
73
96
|
self_link: Optional[pulumi.Input[str]] = None,
|
@@ -76,6 +99,10 @@ class _ManagedFolderState:
|
|
76
99
|
Input properties used for looking up and filtering ManagedFolder resources.
|
77
100
|
:param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder.
|
78
101
|
:param pulumi.Input[str] create_time: The timestamp at which this managed folder was created.
|
102
|
+
:param pulumi.Input[bool] force_destroy: Allows the deletion of a managed folder even if contains
|
103
|
+
objects. If a non-empty managed folder is deleted, any objects
|
104
|
+
within the folder will remain in a simulated folder with the
|
105
|
+
same name.
|
79
106
|
:param pulumi.Input[str] metageneration: The metadata generation of the managed folder.
|
80
107
|
:param pulumi.Input[str] name: The name of the managed folder expressed as a path. Must include
|
81
108
|
trailing '/'. For example, `example_dir/example_dir2/`.
|
@@ -89,6 +116,8 @@ class _ManagedFolderState:
|
|
89
116
|
pulumi.set(__self__, "bucket", bucket)
|
90
117
|
if create_time is not None:
|
91
118
|
pulumi.set(__self__, "create_time", create_time)
|
119
|
+
if force_destroy is not None:
|
120
|
+
pulumi.set(__self__, "force_destroy", force_destroy)
|
92
121
|
if metageneration is not None:
|
93
122
|
pulumi.set(__self__, "metageneration", metageneration)
|
94
123
|
if name is not None:
|
@@ -122,6 +151,21 @@ class _ManagedFolderState:
|
|
122
151
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
123
152
|
pulumi.set(self, "create_time", value)
|
124
153
|
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="forceDestroy")
|
156
|
+
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
157
|
+
"""
|
158
|
+
Allows the deletion of a managed folder even if contains
|
159
|
+
objects. If a non-empty managed folder is deleted, any objects
|
160
|
+
within the folder will remain in a simulated folder with the
|
161
|
+
same name.
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "force_destroy")
|
164
|
+
|
165
|
+
@force_destroy.setter
|
166
|
+
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
167
|
+
pulumi.set(self, "force_destroy", value)
|
168
|
+
|
125
169
|
@property
|
126
170
|
@pulumi.getter
|
127
171
|
def metageneration(self) -> Optional[pulumi.Input[str]]:
|
@@ -181,6 +225,7 @@ class ManagedFolder(pulumi.CustomResource):
|
|
181
225
|
resource_name: str,
|
182
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
183
227
|
bucket: Optional[pulumi.Input[str]] = None,
|
228
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
184
229
|
name: Optional[pulumi.Input[str]] = None,
|
185
230
|
__props__=None):
|
186
231
|
"""
|
@@ -216,7 +261,8 @@ class ManagedFolder(pulumi.CustomResource):
|
|
216
261
|
uniform_bucket_level_access=True)
|
217
262
|
folder = gcp.storage.ManagedFolder("folder",
|
218
263
|
bucket=bucket.name,
|
219
|
-
name="managed/folder/name/"
|
264
|
+
name="managed/folder/name/",
|
265
|
+
force_destroy=True)
|
220
266
|
```
|
221
267
|
|
222
268
|
## Import
|
@@ -240,6 +286,10 @@ class ManagedFolder(pulumi.CustomResource):
|
|
240
286
|
:param str resource_name: The name of the resource.
|
241
287
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
242
288
|
:param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder.
|
289
|
+
:param pulumi.Input[bool] force_destroy: Allows the deletion of a managed folder even if contains
|
290
|
+
objects. If a non-empty managed folder is deleted, any objects
|
291
|
+
within the folder will remain in a simulated folder with the
|
292
|
+
same name.
|
243
293
|
:param pulumi.Input[str] name: The name of the managed folder expressed as a path. Must include
|
244
294
|
trailing '/'. For example, `example_dir/example_dir2/`.
|
245
295
|
|
@@ -285,7 +335,8 @@ class ManagedFolder(pulumi.CustomResource):
|
|
285
335
|
uniform_bucket_level_access=True)
|
286
336
|
folder = gcp.storage.ManagedFolder("folder",
|
287
337
|
bucket=bucket.name,
|
288
|
-
name="managed/folder/name/"
|
338
|
+
name="managed/folder/name/",
|
339
|
+
force_destroy=True)
|
289
340
|
```
|
290
341
|
|
291
342
|
## Import
|
@@ -322,6 +373,7 @@ class ManagedFolder(pulumi.CustomResource):
|
|
322
373
|
resource_name: str,
|
323
374
|
opts: Optional[pulumi.ResourceOptions] = None,
|
324
375
|
bucket: Optional[pulumi.Input[str]] = None,
|
376
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
325
377
|
name: Optional[pulumi.Input[str]] = None,
|
326
378
|
__props__=None):
|
327
379
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -335,6 +387,7 @@ class ManagedFolder(pulumi.CustomResource):
|
|
335
387
|
if bucket is None and not opts.urn:
|
336
388
|
raise TypeError("Missing required property 'bucket'")
|
337
389
|
__props__.__dict__["bucket"] = bucket
|
390
|
+
__props__.__dict__["force_destroy"] = force_destroy
|
338
391
|
__props__.__dict__["name"] = name
|
339
392
|
__props__.__dict__["create_time"] = None
|
340
393
|
__props__.__dict__["metageneration"] = None
|
@@ -352,6 +405,7 @@ class ManagedFolder(pulumi.CustomResource):
|
|
352
405
|
opts: Optional[pulumi.ResourceOptions] = None,
|
353
406
|
bucket: Optional[pulumi.Input[str]] = None,
|
354
407
|
create_time: Optional[pulumi.Input[str]] = None,
|
408
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
355
409
|
metageneration: Optional[pulumi.Input[str]] = None,
|
356
410
|
name: Optional[pulumi.Input[str]] = None,
|
357
411
|
self_link: Optional[pulumi.Input[str]] = None,
|
@@ -365,6 +419,10 @@ class ManagedFolder(pulumi.CustomResource):
|
|
365
419
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
366
420
|
:param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder.
|
367
421
|
:param pulumi.Input[str] create_time: The timestamp at which this managed folder was created.
|
422
|
+
:param pulumi.Input[bool] force_destroy: Allows the deletion of a managed folder even if contains
|
423
|
+
objects. If a non-empty managed folder is deleted, any objects
|
424
|
+
within the folder will remain in a simulated folder with the
|
425
|
+
same name.
|
368
426
|
:param pulumi.Input[str] metageneration: The metadata generation of the managed folder.
|
369
427
|
:param pulumi.Input[str] name: The name of the managed folder expressed as a path. Must include
|
370
428
|
trailing '/'. For example, `example_dir/example_dir2/`.
|
@@ -380,6 +438,7 @@ class ManagedFolder(pulumi.CustomResource):
|
|
380
438
|
|
381
439
|
__props__.__dict__["bucket"] = bucket
|
382
440
|
__props__.__dict__["create_time"] = create_time
|
441
|
+
__props__.__dict__["force_destroy"] = force_destroy
|
383
442
|
__props__.__dict__["metageneration"] = metageneration
|
384
443
|
__props__.__dict__["name"] = name
|
385
444
|
__props__.__dict__["self_link"] = self_link
|
@@ -402,6 +461,17 @@ class ManagedFolder(pulumi.CustomResource):
|
|
402
461
|
"""
|
403
462
|
return pulumi.get(self, "create_time")
|
404
463
|
|
464
|
+
@property
|
465
|
+
@pulumi.getter(name="forceDestroy")
|
466
|
+
def force_destroy(self) -> pulumi.Output[Optional[bool]]:
|
467
|
+
"""
|
468
|
+
Allows the deletion of a managed folder even if contains
|
469
|
+
objects. If a non-empty managed folder is deleted, any objects
|
470
|
+
within the folder will remain in a simulated folder with the
|
471
|
+
same name.
|
472
|
+
"""
|
473
|
+
return pulumi.get(self, "force_destroy")
|
474
|
+
|
405
475
|
@property
|
406
476
|
@pulumi.getter
|
407
477
|
def metageneration(self) -> pulumi.Output[str]:
|
@@ -443,7 +443,7 @@ class NetworkPolicy(pulumi.CustomResource):
|
|
443
443
|
import pulumi_gcp as gcp
|
444
444
|
|
445
445
|
network_policy_nw = gcp.vmwareengine.Network("network-policy-nw",
|
446
|
-
name="
|
446
|
+
name="sample-network",
|
447
447
|
location="global",
|
448
448
|
type="STANDARD",
|
449
449
|
description="VMwareEngine standard network sample")
|
@@ -460,13 +460,13 @@ class NetworkPolicy(pulumi.CustomResource):
|
|
460
460
|
import pulumi_gcp as gcp
|
461
461
|
|
462
462
|
network_policy_nw = gcp.vmwareengine.Network("network-policy-nw",
|
463
|
-
name="
|
463
|
+
name="sample-network",
|
464
464
|
location="global",
|
465
465
|
type="STANDARD",
|
466
466
|
description="VMwareEngine standard network sample")
|
467
467
|
vmw_engine_network_policy = gcp.vmwareengine.NetworkPolicy("vmw-engine-network-policy",
|
468
468
|
location="us-west1",
|
469
|
-
name="sample-network-policy
|
469
|
+
name="sample-network-policy",
|
470
470
|
edge_services_cidr="192.168.30.0/26",
|
471
471
|
vmware_engine_network=network_policy_nw.id,
|
472
472
|
description="Sample Network Policy",
|
@@ -548,7 +548,7 @@ class NetworkPolicy(pulumi.CustomResource):
|
|
548
548
|
import pulumi_gcp as gcp
|
549
549
|
|
550
550
|
network_policy_nw = gcp.vmwareengine.Network("network-policy-nw",
|
551
|
-
name="
|
551
|
+
name="sample-network",
|
552
552
|
location="global",
|
553
553
|
type="STANDARD",
|
554
554
|
description="VMwareEngine standard network sample")
|
@@ -565,13 +565,13 @@ class NetworkPolicy(pulumi.CustomResource):
|
|
565
565
|
import pulumi_gcp as gcp
|
566
566
|
|
567
567
|
network_policy_nw = gcp.vmwareengine.Network("network-policy-nw",
|
568
|
-
name="
|
568
|
+
name="sample-network",
|
569
569
|
location="global",
|
570
570
|
type="STANDARD",
|
571
571
|
description="VMwareEngine standard network sample")
|
572
572
|
vmw_engine_network_policy = gcp.vmwareengine.NetworkPolicy("vmw-engine-network-policy",
|
573
573
|
location="us-west1",
|
574
|
-
name="sample-network-policy
|
574
|
+
name="sample-network-policy",
|
575
575
|
edge_services_cidr="192.168.30.0/26",
|
576
576
|
vmware_engine_network=network_policy_nw.id,
|
577
577
|
description="Sample Network Policy",
|