pulumi-gcp 7.16.0a1711520590__py3-none-any.whl → 7.16.0a1711535676__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 +8 -0
- pulumi_gcp/accesscontextmanager/__init__.py +1 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +345 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +80 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +86 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +4 -2
- pulumi_gcp/cloudquota/__init__.py +1 -0
- pulumi_gcp/cloudquota/get_s_quota_infos.py +136 -0
- pulumi_gcp/cloudquota/outputs.py +270 -0
- pulumi_gcp/cloudrunv2/_inputs.py +59 -2
- pulumi_gcp/cloudrunv2/outputs.py +107 -4
- pulumi_gcp/cloudrunv2/service.py +6 -6
- pulumi_gcp/composer/_inputs.py +16 -0
- pulumi_gcp/composer/outputs.py +23 -0
- pulumi_gcp/compute/_inputs.py +105 -7
- pulumi_gcp/compute/outputs.py +140 -9
- pulumi_gcp/compute/region_url_map.py +152 -0
- pulumi_gcp/dataform/repository.py +4 -74
- pulumi_gcp/firebase/android_app.py +41 -40
- pulumi_gcp/firestore/index.py +34 -48
- pulumi_gcp/monitoring/_inputs.py +2 -0
- pulumi_gcp/monitoring/outputs.py +2 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +48 -0
- pulumi_gcp/pubsub/_inputs.py +108 -0
- pulumi_gcp/pubsub/get_topic.py +11 -1
- pulumi_gcp/pubsub/outputs.py +213 -0
- pulumi_gcp/pubsub/topic.py +92 -0
- pulumi_gcp/storage/_inputs.py +40 -0
- pulumi_gcp/storage/bucket.py +54 -0
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/outputs.py +81 -0
- pulumi_gcp/workstations/_inputs.py +113 -0
- pulumi_gcp/workstations/outputs.py +109 -1
- pulumi_gcp/workstations/workstation_config.py +106 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.16.0a1711535676.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.16.0a1711535676.dist-info}/RECORD +38 -36
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.16.0a1711535676.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.16.0a1711535676.dist-info}/top_level.txt +0 -0
pulumi_gcp/storage/bucket.py
CHANGED
@@ -33,6 +33,7 @@ class BucketArgs:
|
|
33
33
|
requester_pays: Optional[pulumi.Input[bool]] = None,
|
34
34
|
retention_policy: Optional[pulumi.Input['BucketRetentionPolicyArgs']] = None,
|
35
35
|
rpo: Optional[pulumi.Input[str]] = None,
|
36
|
+
soft_delete_policy: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']] = None,
|
36
37
|
storage_class: Optional[pulumi.Input[str]] = None,
|
37
38
|
uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
|
38
39
|
versioning: Optional[pulumi.Input['BucketVersioningArgs']] = None,
|
@@ -61,6 +62,8 @@ class BucketArgs:
|
|
61
62
|
:param pulumi.Input[bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
|
62
63
|
:param pulumi.Input['BucketRetentionPolicyArgs'] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
63
64
|
:param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
65
|
+
:param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
66
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
64
67
|
:param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
65
68
|
:param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
66
69
|
:param pulumi.Input['BucketVersioningArgs'] versioning: The bucket's [Versioning](https://cloud.google.com/storage/docs/object-versioning) configuration. Structure is documented below.
|
@@ -99,6 +102,8 @@ class BucketArgs:
|
|
99
102
|
pulumi.set(__self__, "retention_policy", retention_policy)
|
100
103
|
if rpo is not None:
|
101
104
|
pulumi.set(__self__, "rpo", rpo)
|
105
|
+
if soft_delete_policy is not None:
|
106
|
+
pulumi.set(__self__, "soft_delete_policy", soft_delete_policy)
|
102
107
|
if storage_class is not None:
|
103
108
|
pulumi.set(__self__, "storage_class", storage_class)
|
104
109
|
if uniform_bucket_level_access is not None:
|
@@ -317,6 +322,19 @@ class BucketArgs:
|
|
317
322
|
def rpo(self, value: Optional[pulumi.Input[str]]):
|
318
323
|
pulumi.set(self, "rpo", value)
|
319
324
|
|
325
|
+
@property
|
326
|
+
@pulumi.getter(name="softDeletePolicy")
|
327
|
+
def soft_delete_policy(self) -> Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]:
|
328
|
+
"""
|
329
|
+
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
330
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
331
|
+
"""
|
332
|
+
return pulumi.get(self, "soft_delete_policy")
|
333
|
+
|
334
|
+
@soft_delete_policy.setter
|
335
|
+
def soft_delete_policy(self, value: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]):
|
336
|
+
pulumi.set(self, "soft_delete_policy", value)
|
337
|
+
|
320
338
|
@property
|
321
339
|
@pulumi.getter(name="storageClass")
|
322
340
|
def storage_class(self) -> Optional[pulumi.Input[str]]:
|
@@ -389,6 +407,7 @@ class _BucketState:
|
|
389
407
|
retention_policy: Optional[pulumi.Input['BucketRetentionPolicyArgs']] = None,
|
390
408
|
rpo: Optional[pulumi.Input[str]] = None,
|
391
409
|
self_link: Optional[pulumi.Input[str]] = None,
|
410
|
+
soft_delete_policy: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']] = None,
|
392
411
|
storage_class: Optional[pulumi.Input[str]] = None,
|
393
412
|
uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
|
394
413
|
url: Optional[pulumi.Input[str]] = None,
|
@@ -422,6 +441,8 @@ class _BucketState:
|
|
422
441
|
:param pulumi.Input['BucketRetentionPolicyArgs'] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
423
442
|
:param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
424
443
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
444
|
+
:param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
445
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
425
446
|
:param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
426
447
|
:param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
427
448
|
:param pulumi.Input[str] url: The base URL of the bucket, in the format `gs://<bucket-name>`.
|
@@ -468,6 +489,8 @@ class _BucketState:
|
|
468
489
|
pulumi.set(__self__, "rpo", rpo)
|
469
490
|
if self_link is not None:
|
470
491
|
pulumi.set(__self__, "self_link", self_link)
|
492
|
+
if soft_delete_policy is not None:
|
493
|
+
pulumi.set(__self__, "soft_delete_policy", soft_delete_policy)
|
471
494
|
if storage_class is not None:
|
472
495
|
pulumi.set(__self__, "storage_class", storage_class)
|
473
496
|
if uniform_bucket_level_access is not None:
|
@@ -725,6 +748,19 @@ class _BucketState:
|
|
725
748
|
def self_link(self, value: Optional[pulumi.Input[str]]):
|
726
749
|
pulumi.set(self, "self_link", value)
|
727
750
|
|
751
|
+
@property
|
752
|
+
@pulumi.getter(name="softDeletePolicy")
|
753
|
+
def soft_delete_policy(self) -> Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]:
|
754
|
+
"""
|
755
|
+
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
756
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
757
|
+
"""
|
758
|
+
return pulumi.get(self, "soft_delete_policy")
|
759
|
+
|
760
|
+
@soft_delete_policy.setter
|
761
|
+
def soft_delete_policy(self, value: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]):
|
762
|
+
pulumi.set(self, "soft_delete_policy", value)
|
763
|
+
|
728
764
|
@property
|
729
765
|
@pulumi.getter(name="storageClass")
|
730
766
|
def storage_class(self) -> Optional[pulumi.Input[str]]:
|
@@ -808,6 +844,7 @@ class Bucket(pulumi.CustomResource):
|
|
808
844
|
requester_pays: Optional[pulumi.Input[bool]] = None,
|
809
845
|
retention_policy: Optional[pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']]] = None,
|
810
846
|
rpo: Optional[pulumi.Input[str]] = None,
|
847
|
+
soft_delete_policy: Optional[pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']]] = None,
|
811
848
|
storage_class: Optional[pulumi.Input[str]] = None,
|
812
849
|
uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
|
813
850
|
versioning: Optional[pulumi.Input[pulumi.InputType['BucketVersioningArgs']]] = None,
|
@@ -959,6 +996,8 @@ class Bucket(pulumi.CustomResource):
|
|
959
996
|
:param pulumi.Input[bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
|
960
997
|
:param pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
961
998
|
:param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
999
|
+
:param pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1000
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
962
1001
|
:param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
963
1002
|
:param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
964
1003
|
:param pulumi.Input[pulumi.InputType['BucketVersioningArgs']] versioning: The bucket's [Versioning](https://cloud.google.com/storage/docs/object-versioning) configuration. Structure is documented below.
|
@@ -1124,6 +1163,7 @@ class Bucket(pulumi.CustomResource):
|
|
1124
1163
|
requester_pays: Optional[pulumi.Input[bool]] = None,
|
1125
1164
|
retention_policy: Optional[pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']]] = None,
|
1126
1165
|
rpo: Optional[pulumi.Input[str]] = None,
|
1166
|
+
soft_delete_policy: Optional[pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']]] = None,
|
1127
1167
|
storage_class: Optional[pulumi.Input[str]] = None,
|
1128
1168
|
uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
|
1129
1169
|
versioning: Optional[pulumi.Input[pulumi.InputType['BucketVersioningArgs']]] = None,
|
@@ -1156,6 +1196,7 @@ class Bucket(pulumi.CustomResource):
|
|
1156
1196
|
__props__.__dict__["requester_pays"] = requester_pays
|
1157
1197
|
__props__.__dict__["retention_policy"] = retention_policy
|
1158
1198
|
__props__.__dict__["rpo"] = rpo
|
1199
|
+
__props__.__dict__["soft_delete_policy"] = soft_delete_policy
|
1159
1200
|
__props__.__dict__["storage_class"] = storage_class
|
1160
1201
|
__props__.__dict__["uniform_bucket_level_access"] = uniform_bucket_level_access
|
1161
1202
|
__props__.__dict__["versioning"] = versioning
|
@@ -1196,6 +1237,7 @@ class Bucket(pulumi.CustomResource):
|
|
1196
1237
|
retention_policy: Optional[pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']]] = None,
|
1197
1238
|
rpo: Optional[pulumi.Input[str]] = None,
|
1198
1239
|
self_link: Optional[pulumi.Input[str]] = None,
|
1240
|
+
soft_delete_policy: Optional[pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']]] = None,
|
1199
1241
|
storage_class: Optional[pulumi.Input[str]] = None,
|
1200
1242
|
uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
|
1201
1243
|
url: Optional[pulumi.Input[str]] = None,
|
@@ -1234,6 +1276,8 @@ class Bucket(pulumi.CustomResource):
|
|
1234
1276
|
:param pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
1235
1277
|
:param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
1236
1278
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
1279
|
+
:param pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1280
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
1237
1281
|
:param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
1238
1282
|
:param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
1239
1283
|
:param pulumi.Input[str] url: The base URL of the bucket, in the format `gs://<bucket-name>`.
|
@@ -1264,6 +1308,7 @@ class Bucket(pulumi.CustomResource):
|
|
1264
1308
|
__props__.__dict__["retention_policy"] = retention_policy
|
1265
1309
|
__props__.__dict__["rpo"] = rpo
|
1266
1310
|
__props__.__dict__["self_link"] = self_link
|
1311
|
+
__props__.__dict__["soft_delete_policy"] = soft_delete_policy
|
1267
1312
|
__props__.__dict__["storage_class"] = storage_class
|
1268
1313
|
__props__.__dict__["uniform_bucket_level_access"] = uniform_bucket_level_access
|
1269
1314
|
__props__.__dict__["url"] = url
|
@@ -1437,6 +1482,15 @@ class Bucket(pulumi.CustomResource):
|
|
1437
1482
|
"""
|
1438
1483
|
return pulumi.get(self, "self_link")
|
1439
1484
|
|
1485
|
+
@property
|
1486
|
+
@pulumi.getter(name="softDeletePolicy")
|
1487
|
+
def soft_delete_policy(self) -> pulumi.Output['outputs.BucketSoftDeletePolicy']:
|
1488
|
+
"""
|
1489
|
+
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1490
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
1491
|
+
"""
|
1492
|
+
return pulumi.get(self, "soft_delete_policy")
|
1493
|
+
|
1440
1494
|
@property
|
1441
1495
|
@pulumi.getter(name="storageClass")
|
1442
1496
|
def storage_class(self) -> pulumi.Output[Optional[str]]:
|
pulumi_gcp/storage/get_bucket.py
CHANGED
@@ -22,7 +22,7 @@ class GetBucketResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getBucket.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
25
|
+
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
26
26
|
if autoclasses and not isinstance(autoclasses, list):
|
27
27
|
raise TypeError("Expected argument 'autoclasses' to be a list")
|
28
28
|
pulumi.set(__self__, "autoclasses", autoclasses)
|
@@ -86,6 +86,9 @@ class GetBucketResult:
|
|
86
86
|
if self_link and not isinstance(self_link, str):
|
87
87
|
raise TypeError("Expected argument 'self_link' to be a str")
|
88
88
|
pulumi.set(__self__, "self_link", self_link)
|
89
|
+
if soft_delete_policies and not isinstance(soft_delete_policies, list):
|
90
|
+
raise TypeError("Expected argument 'soft_delete_policies' to be a list")
|
91
|
+
pulumi.set(__self__, "soft_delete_policies", soft_delete_policies)
|
89
92
|
if storage_class and not isinstance(storage_class, str):
|
90
93
|
raise TypeError("Expected argument 'storage_class' to be a str")
|
91
94
|
pulumi.set(__self__, "storage_class", storage_class)
|
@@ -210,6 +213,11 @@ class GetBucketResult:
|
|
210
213
|
def self_link(self) -> str:
|
211
214
|
return pulumi.get(self, "self_link")
|
212
215
|
|
216
|
+
@property
|
217
|
+
@pulumi.getter(name="softDeletePolicies")
|
218
|
+
def soft_delete_policies(self) -> Sequence['outputs.GetBucketSoftDeletePolicyResult']:
|
219
|
+
return pulumi.get(self, "soft_delete_policies")
|
220
|
+
|
213
221
|
@property
|
214
222
|
@pulumi.getter(name="storageClass")
|
215
223
|
def storage_class(self) -> str:
|
@@ -263,6 +271,7 @@ class AwaitableGetBucketResult(GetBucketResult):
|
|
263
271
|
retention_policies=self.retention_policies,
|
264
272
|
rpo=self.rpo,
|
265
273
|
self_link=self.self_link,
|
274
|
+
soft_delete_policies=self.soft_delete_policies,
|
266
275
|
storage_class=self.storage_class,
|
267
276
|
uniform_bucket_level_access=self.uniform_bucket_level_access,
|
268
277
|
url=self.url,
|
@@ -319,6 +328,7 @@ def get_bucket(name: Optional[str] = None,
|
|
319
328
|
retention_policies=pulumi.get(__ret__, 'retention_policies'),
|
320
329
|
rpo=pulumi.get(__ret__, 'rpo'),
|
321
330
|
self_link=pulumi.get(__ret__, 'self_link'),
|
331
|
+
soft_delete_policies=pulumi.get(__ret__, 'soft_delete_policies'),
|
322
332
|
storage_class=pulumi.get(__ret__, 'storage_class'),
|
323
333
|
uniform_bucket_level_access=pulumi.get(__ret__, 'uniform_bucket_level_access'),
|
324
334
|
url=pulumi.get(__ret__, 'url'),
|
pulumi_gcp/storage/outputs.py
CHANGED
@@ -24,6 +24,7 @@ __all__ = [
|
|
24
24
|
'BucketObjectCustomerEncryption',
|
25
25
|
'BucketObjectRetention',
|
26
26
|
'BucketRetentionPolicy',
|
27
|
+
'BucketSoftDeletePolicy',
|
27
28
|
'BucketVersioning',
|
28
29
|
'BucketWebsite',
|
29
30
|
'DefaultObjectAccessControlProjectTeam',
|
@@ -67,6 +68,7 @@ __all__ = [
|
|
67
68
|
'GetBucketObjectCustomerEncryptionResult',
|
68
69
|
'GetBucketObjectRetentionResult',
|
69
70
|
'GetBucketRetentionPolicyResult',
|
71
|
+
'GetBucketSoftDeletePolicyResult',
|
70
72
|
'GetBucketVersioningResult',
|
71
73
|
'GetBucketWebsiteResult',
|
72
74
|
]
|
@@ -849,6 +851,56 @@ class BucketRetentionPolicy(dict):
|
|
849
851
|
return pulumi.get(self, "is_locked")
|
850
852
|
|
851
853
|
|
854
|
+
@pulumi.output_type
|
855
|
+
class BucketSoftDeletePolicy(dict):
|
856
|
+
@staticmethod
|
857
|
+
def __key_warning(key: str):
|
858
|
+
suggest = None
|
859
|
+
if key == "effectiveTime":
|
860
|
+
suggest = "effective_time"
|
861
|
+
elif key == "retentionDurationSeconds":
|
862
|
+
suggest = "retention_duration_seconds"
|
863
|
+
|
864
|
+
if suggest:
|
865
|
+
pulumi.log.warn(f"Key '{key}' not found in BucketSoftDeletePolicy. Access the value via the '{suggest}' property getter instead.")
|
866
|
+
|
867
|
+
def __getitem__(self, key: str) -> Any:
|
868
|
+
BucketSoftDeletePolicy.__key_warning(key)
|
869
|
+
return super().__getitem__(key)
|
870
|
+
|
871
|
+
def get(self, key: str, default = None) -> Any:
|
872
|
+
BucketSoftDeletePolicy.__key_warning(key)
|
873
|
+
return super().get(key, default)
|
874
|
+
|
875
|
+
def __init__(__self__, *,
|
876
|
+
effective_time: Optional[str] = None,
|
877
|
+
retention_duration_seconds: Optional[int] = None):
|
878
|
+
"""
|
879
|
+
:param str effective_time: Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
|
880
|
+
:param int retention_duration_seconds: The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). **Note**: To disable the soft delete policy on a bucket, This field must be set to 0.
|
881
|
+
"""
|
882
|
+
if effective_time is not None:
|
883
|
+
pulumi.set(__self__, "effective_time", effective_time)
|
884
|
+
if retention_duration_seconds is not None:
|
885
|
+
pulumi.set(__self__, "retention_duration_seconds", retention_duration_seconds)
|
886
|
+
|
887
|
+
@property
|
888
|
+
@pulumi.getter(name="effectiveTime")
|
889
|
+
def effective_time(self) -> Optional[str]:
|
890
|
+
"""
|
891
|
+
Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
|
892
|
+
"""
|
893
|
+
return pulumi.get(self, "effective_time")
|
894
|
+
|
895
|
+
@property
|
896
|
+
@pulumi.getter(name="retentionDurationSeconds")
|
897
|
+
def retention_duration_seconds(self) -> Optional[int]:
|
898
|
+
"""
|
899
|
+
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). **Note**: To disable the soft delete policy on a bucket, This field must be set to 0.
|
900
|
+
"""
|
901
|
+
return pulumi.get(self, "retention_duration_seconds")
|
902
|
+
|
903
|
+
|
852
904
|
@pulumi.output_type
|
853
905
|
class BucketVersioning(dict):
|
854
906
|
def __init__(__self__, *,
|
@@ -3040,6 +3092,35 @@ class GetBucketRetentionPolicyResult(dict):
|
|
3040
3092
|
return pulumi.get(self, "retention_period")
|
3041
3093
|
|
3042
3094
|
|
3095
|
+
@pulumi.output_type
|
3096
|
+
class GetBucketSoftDeletePolicyResult(dict):
|
3097
|
+
def __init__(__self__, *,
|
3098
|
+
effective_time: str,
|
3099
|
+
retention_duration_seconds: int):
|
3100
|
+
"""
|
3101
|
+
:param str effective_time: Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
|
3102
|
+
:param int retention_duration_seconds: The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
|
3103
|
+
"""
|
3104
|
+
pulumi.set(__self__, "effective_time", effective_time)
|
3105
|
+
pulumi.set(__self__, "retention_duration_seconds", retention_duration_seconds)
|
3106
|
+
|
3107
|
+
@property
|
3108
|
+
@pulumi.getter(name="effectiveTime")
|
3109
|
+
def effective_time(self) -> str:
|
3110
|
+
"""
|
3111
|
+
Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
|
3112
|
+
"""
|
3113
|
+
return pulumi.get(self, "effective_time")
|
3114
|
+
|
3115
|
+
@property
|
3116
|
+
@pulumi.getter(name="retentionDurationSeconds")
|
3117
|
+
def retention_duration_seconds(self) -> int:
|
3118
|
+
"""
|
3119
|
+
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
|
3120
|
+
"""
|
3121
|
+
return pulumi.get(self, "retention_duration_seconds")
|
3122
|
+
|
3123
|
+
|
3043
3124
|
@pulumi.output_type
|
3044
3125
|
class GetBucketVersioningResult(dict):
|
3045
3126
|
def __init__(__self__, *,
|
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'WorkstationConfigHostArgs',
|
22
22
|
'WorkstationConfigHostGceInstanceArgs',
|
23
23
|
'WorkstationConfigHostGceInstanceAcceleratorArgs',
|
24
|
+
'WorkstationConfigHostGceInstanceBoostConfigArgs',
|
25
|
+
'WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs',
|
24
26
|
'WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs',
|
25
27
|
'WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs',
|
26
28
|
'WorkstationConfigIamBindingConditionArgs',
|
@@ -553,6 +555,7 @@ class WorkstationConfigHostArgs:
|
|
553
555
|
class WorkstationConfigHostGceInstanceArgs:
|
554
556
|
def __init__(__self__, *,
|
555
557
|
accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceAcceleratorArgs']]]] = None,
|
558
|
+
boost_configs: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]]] = None,
|
556
559
|
boot_disk_size_gb: Optional[pulumi.Input[int]] = None,
|
557
560
|
confidential_instance_config: Optional[pulumi.Input['WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs']] = None,
|
558
561
|
disable_public_ip_addresses: Optional[pulumi.Input[bool]] = None,
|
@@ -567,6 +570,8 @@ class WorkstationConfigHostGceInstanceArgs:
|
|
567
570
|
"""
|
568
571
|
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceAcceleratorArgs']]] accelerators: An accelerator card attached to the instance.
|
569
572
|
Structure is documented below.
|
573
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]] boost_configs: A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
|
574
|
+
Structure is documented below.
|
570
575
|
:param pulumi.Input[int] boot_disk_size_gb: Size of the boot disk in GB.
|
571
576
|
:param pulumi.Input['WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs'] confidential_instance_config: A set of Compute Engine Confidential VM instance options.
|
572
577
|
Structure is documented below.
|
@@ -584,6 +589,8 @@ class WorkstationConfigHostGceInstanceArgs:
|
|
584
589
|
"""
|
585
590
|
if accelerators is not None:
|
586
591
|
pulumi.set(__self__, "accelerators", accelerators)
|
592
|
+
if boost_configs is not None:
|
593
|
+
pulumi.set(__self__, "boost_configs", boost_configs)
|
587
594
|
if boot_disk_size_gb is not None:
|
588
595
|
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
589
596
|
if confidential_instance_config is not None:
|
@@ -620,6 +627,19 @@ class WorkstationConfigHostGceInstanceArgs:
|
|
620
627
|
def accelerators(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceAcceleratorArgs']]]]):
|
621
628
|
pulumi.set(self, "accelerators", value)
|
622
629
|
|
630
|
+
@property
|
631
|
+
@pulumi.getter(name="boostConfigs")
|
632
|
+
def boost_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]]]:
|
633
|
+
"""
|
634
|
+
A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
|
635
|
+
Structure is documented below.
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "boost_configs")
|
638
|
+
|
639
|
+
@boost_configs.setter
|
640
|
+
def boost_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]]]):
|
641
|
+
pulumi.set(self, "boost_configs", value)
|
642
|
+
|
623
643
|
@property
|
624
644
|
@pulumi.getter(name="bootDiskSizeGb")
|
625
645
|
def boot_disk_size_gb(self) -> Optional[pulumi.Input[int]]:
|
@@ -793,6 +813,99 @@ class WorkstationConfigHostGceInstanceAcceleratorArgs:
|
|
793
813
|
pulumi.set(self, "type", value)
|
794
814
|
|
795
815
|
|
816
|
+
@pulumi.input_type
|
817
|
+
class WorkstationConfigHostGceInstanceBoostConfigArgs:
|
818
|
+
def __init__(__self__, *,
|
819
|
+
id: pulumi.Input[str],
|
820
|
+
accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]] = None,
|
821
|
+
machine_type: Optional[pulumi.Input[str]] = None):
|
822
|
+
"""
|
823
|
+
:param pulumi.Input[str] id: The id to be used for the boost config.
|
824
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]] accelerators: An accelerator card attached to the boost instance.
|
825
|
+
Structure is documented below.
|
826
|
+
:param pulumi.Input[str] machine_type: The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
|
827
|
+
"""
|
828
|
+
pulumi.set(__self__, "id", id)
|
829
|
+
if accelerators is not None:
|
830
|
+
pulumi.set(__self__, "accelerators", accelerators)
|
831
|
+
if machine_type is not None:
|
832
|
+
pulumi.set(__self__, "machine_type", machine_type)
|
833
|
+
|
834
|
+
@property
|
835
|
+
@pulumi.getter
|
836
|
+
def id(self) -> pulumi.Input[str]:
|
837
|
+
"""
|
838
|
+
The id to be used for the boost config.
|
839
|
+
"""
|
840
|
+
return pulumi.get(self, "id")
|
841
|
+
|
842
|
+
@id.setter
|
843
|
+
def id(self, value: pulumi.Input[str]):
|
844
|
+
pulumi.set(self, "id", value)
|
845
|
+
|
846
|
+
@property
|
847
|
+
@pulumi.getter
|
848
|
+
def accelerators(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]]:
|
849
|
+
"""
|
850
|
+
An accelerator card attached to the boost instance.
|
851
|
+
Structure is documented below.
|
852
|
+
"""
|
853
|
+
return pulumi.get(self, "accelerators")
|
854
|
+
|
855
|
+
@accelerators.setter
|
856
|
+
def accelerators(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]]):
|
857
|
+
pulumi.set(self, "accelerators", value)
|
858
|
+
|
859
|
+
@property
|
860
|
+
@pulumi.getter(name="machineType")
|
861
|
+
def machine_type(self) -> Optional[pulumi.Input[str]]:
|
862
|
+
"""
|
863
|
+
The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
|
864
|
+
"""
|
865
|
+
return pulumi.get(self, "machine_type")
|
866
|
+
|
867
|
+
@machine_type.setter
|
868
|
+
def machine_type(self, value: Optional[pulumi.Input[str]]):
|
869
|
+
pulumi.set(self, "machine_type", value)
|
870
|
+
|
871
|
+
|
872
|
+
@pulumi.input_type
|
873
|
+
class WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs:
|
874
|
+
def __init__(__self__, *,
|
875
|
+
count: pulumi.Input[int],
|
876
|
+
type: pulumi.Input[str]):
|
877
|
+
"""
|
878
|
+
:param pulumi.Input[int] count: Number of accelerator cards exposed to the instance.
|
879
|
+
:param pulumi.Input[str] type: Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
|
880
|
+
"""
|
881
|
+
pulumi.set(__self__, "count", count)
|
882
|
+
pulumi.set(__self__, "type", type)
|
883
|
+
|
884
|
+
@property
|
885
|
+
@pulumi.getter
|
886
|
+
def count(self) -> pulumi.Input[int]:
|
887
|
+
"""
|
888
|
+
Number of accelerator cards exposed to the instance.
|
889
|
+
"""
|
890
|
+
return pulumi.get(self, "count")
|
891
|
+
|
892
|
+
@count.setter
|
893
|
+
def count(self, value: pulumi.Input[int]):
|
894
|
+
pulumi.set(self, "count", value)
|
895
|
+
|
896
|
+
@property
|
897
|
+
@pulumi.getter
|
898
|
+
def type(self) -> pulumi.Input[str]:
|
899
|
+
"""
|
900
|
+
Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
|
901
|
+
"""
|
902
|
+
return pulumi.get(self, "type")
|
903
|
+
|
904
|
+
@type.setter
|
905
|
+
def type(self, value: pulumi.Input[str]):
|
906
|
+
pulumi.set(self, "type", value)
|
907
|
+
|
908
|
+
|
796
909
|
@pulumi.input_type
|
797
910
|
class WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs:
|
798
911
|
def __init__(__self__, *,
|
@@ -22,6 +22,8 @@ __all__ = [
|
|
22
22
|
'WorkstationConfigHost',
|
23
23
|
'WorkstationConfigHostGceInstance',
|
24
24
|
'WorkstationConfigHostGceInstanceAccelerator',
|
25
|
+
'WorkstationConfigHostGceInstanceBoostConfig',
|
26
|
+
'WorkstationConfigHostGceInstanceBoostConfigAccelerator',
|
25
27
|
'WorkstationConfigHostGceInstanceConfidentialInstanceConfig',
|
26
28
|
'WorkstationConfigHostGceInstanceShieldedInstanceConfig',
|
27
29
|
'WorkstationConfigIamBindingCondition',
|
@@ -571,7 +573,9 @@ class WorkstationConfigHostGceInstance(dict):
|
|
571
573
|
@staticmethod
|
572
574
|
def __key_warning(key: str):
|
573
575
|
suggest = None
|
574
|
-
if key == "
|
576
|
+
if key == "boostConfigs":
|
577
|
+
suggest = "boost_configs"
|
578
|
+
elif key == "bootDiskSizeGb":
|
575
579
|
suggest = "boot_disk_size_gb"
|
576
580
|
elif key == "confidentialInstanceConfig":
|
577
581
|
suggest = "confidential_instance_config"
|
@@ -605,6 +609,7 @@ class WorkstationConfigHostGceInstance(dict):
|
|
605
609
|
|
606
610
|
def __init__(__self__, *,
|
607
611
|
accelerators: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceAccelerator']] = None,
|
612
|
+
boost_configs: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfig']] = None,
|
608
613
|
boot_disk_size_gb: Optional[int] = None,
|
609
614
|
confidential_instance_config: Optional['outputs.WorkstationConfigHostGceInstanceConfidentialInstanceConfig'] = None,
|
610
615
|
disable_public_ip_addresses: Optional[bool] = None,
|
@@ -619,6 +624,8 @@ class WorkstationConfigHostGceInstance(dict):
|
|
619
624
|
"""
|
620
625
|
:param Sequence['WorkstationConfigHostGceInstanceAcceleratorArgs'] accelerators: An accelerator card attached to the instance.
|
621
626
|
Structure is documented below.
|
627
|
+
:param Sequence['WorkstationConfigHostGceInstanceBoostConfigArgs'] boost_configs: A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
|
628
|
+
Structure is documented below.
|
622
629
|
:param int boot_disk_size_gb: Size of the boot disk in GB.
|
623
630
|
:param 'WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs' confidential_instance_config: A set of Compute Engine Confidential VM instance options.
|
624
631
|
Structure is documented below.
|
@@ -636,6 +643,8 @@ class WorkstationConfigHostGceInstance(dict):
|
|
636
643
|
"""
|
637
644
|
if accelerators is not None:
|
638
645
|
pulumi.set(__self__, "accelerators", accelerators)
|
646
|
+
if boost_configs is not None:
|
647
|
+
pulumi.set(__self__, "boost_configs", boost_configs)
|
639
648
|
if boot_disk_size_gb is not None:
|
640
649
|
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
641
650
|
if confidential_instance_config is not None:
|
@@ -668,6 +677,15 @@ class WorkstationConfigHostGceInstance(dict):
|
|
668
677
|
"""
|
669
678
|
return pulumi.get(self, "accelerators")
|
670
679
|
|
680
|
+
@property
|
681
|
+
@pulumi.getter(name="boostConfigs")
|
682
|
+
def boost_configs(self) -> Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfig']]:
|
683
|
+
"""
|
684
|
+
A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
|
685
|
+
Structure is documented below.
|
686
|
+
"""
|
687
|
+
return pulumi.get(self, "boost_configs")
|
688
|
+
|
671
689
|
@property
|
672
690
|
@pulumi.getter(name="bootDiskSizeGb")
|
673
691
|
def boot_disk_size_gb(self) -> Optional[int]:
|
@@ -789,6 +807,96 @@ class WorkstationConfigHostGceInstanceAccelerator(dict):
|
|
789
807
|
return pulumi.get(self, "type")
|
790
808
|
|
791
809
|
|
810
|
+
@pulumi.output_type
|
811
|
+
class WorkstationConfigHostGceInstanceBoostConfig(dict):
|
812
|
+
@staticmethod
|
813
|
+
def __key_warning(key: str):
|
814
|
+
suggest = None
|
815
|
+
if key == "machineType":
|
816
|
+
suggest = "machine_type"
|
817
|
+
|
818
|
+
if suggest:
|
819
|
+
pulumi.log.warn(f"Key '{key}' not found in WorkstationConfigHostGceInstanceBoostConfig. Access the value via the '{suggest}' property getter instead.")
|
820
|
+
|
821
|
+
def __getitem__(self, key: str) -> Any:
|
822
|
+
WorkstationConfigHostGceInstanceBoostConfig.__key_warning(key)
|
823
|
+
return super().__getitem__(key)
|
824
|
+
|
825
|
+
def get(self, key: str, default = None) -> Any:
|
826
|
+
WorkstationConfigHostGceInstanceBoostConfig.__key_warning(key)
|
827
|
+
return super().get(key, default)
|
828
|
+
|
829
|
+
def __init__(__self__, *,
|
830
|
+
id: str,
|
831
|
+
accelerators: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfigAccelerator']] = None,
|
832
|
+
machine_type: Optional[str] = None):
|
833
|
+
"""
|
834
|
+
:param str id: The id to be used for the boost config.
|
835
|
+
:param Sequence['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs'] accelerators: An accelerator card attached to the boost instance.
|
836
|
+
Structure is documented below.
|
837
|
+
:param str machine_type: The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
|
838
|
+
"""
|
839
|
+
pulumi.set(__self__, "id", id)
|
840
|
+
if accelerators is not None:
|
841
|
+
pulumi.set(__self__, "accelerators", accelerators)
|
842
|
+
if machine_type is not None:
|
843
|
+
pulumi.set(__self__, "machine_type", machine_type)
|
844
|
+
|
845
|
+
@property
|
846
|
+
@pulumi.getter
|
847
|
+
def id(self) -> str:
|
848
|
+
"""
|
849
|
+
The id to be used for the boost config.
|
850
|
+
"""
|
851
|
+
return pulumi.get(self, "id")
|
852
|
+
|
853
|
+
@property
|
854
|
+
@pulumi.getter
|
855
|
+
def accelerators(self) -> Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfigAccelerator']]:
|
856
|
+
"""
|
857
|
+
An accelerator card attached to the boost instance.
|
858
|
+
Structure is documented below.
|
859
|
+
"""
|
860
|
+
return pulumi.get(self, "accelerators")
|
861
|
+
|
862
|
+
@property
|
863
|
+
@pulumi.getter(name="machineType")
|
864
|
+
def machine_type(self) -> Optional[str]:
|
865
|
+
"""
|
866
|
+
The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
|
867
|
+
"""
|
868
|
+
return pulumi.get(self, "machine_type")
|
869
|
+
|
870
|
+
|
871
|
+
@pulumi.output_type
|
872
|
+
class WorkstationConfigHostGceInstanceBoostConfigAccelerator(dict):
|
873
|
+
def __init__(__self__, *,
|
874
|
+
count: int,
|
875
|
+
type: str):
|
876
|
+
"""
|
877
|
+
:param int count: Number of accelerator cards exposed to the instance.
|
878
|
+
:param str type: Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
|
879
|
+
"""
|
880
|
+
pulumi.set(__self__, "count", count)
|
881
|
+
pulumi.set(__self__, "type", type)
|
882
|
+
|
883
|
+
@property
|
884
|
+
@pulumi.getter
|
885
|
+
def count(self) -> int:
|
886
|
+
"""
|
887
|
+
Number of accelerator cards exposed to the instance.
|
888
|
+
"""
|
889
|
+
return pulumi.get(self, "count")
|
890
|
+
|
891
|
+
@property
|
892
|
+
@pulumi.getter
|
893
|
+
def type(self) -> str:
|
894
|
+
"""
|
895
|
+
Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
|
896
|
+
"""
|
897
|
+
return pulumi.get(self, "type")
|
898
|
+
|
899
|
+
|
792
900
|
@pulumi.output_type
|
793
901
|
class WorkstationConfigHostGceInstanceConfidentialInstanceConfig(dict):
|
794
902
|
@staticmethod
|