pulumi-gcp 7.15.0a1711031093__py3-none-any.whl → 7.15.0a1711123513__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 +94 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +74 -58
- pulumi_gcp/accesscontextmanager/outputs.py +74 -58
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/apphub/__init__.py +15 -0
- pulumi_gcp/apphub/_inputs.py +1016 -0
- pulumi_gcp/apphub/application.py +775 -0
- pulumi_gcp/apphub/get_discovered_service.py +180 -0
- pulumi_gcp/apphub/get_discovered_workload.py +180 -0
- pulumi_gcp/apphub/outputs.py +1206 -0
- pulumi_gcp/apphub/service.py +1121 -0
- pulumi_gcp/apphub/service_project_attachment.py +516 -0
- pulumi_gcp/apphub/workload.py +1197 -0
- pulumi_gcp/cloudquota/__init__.py +9 -0
- pulumi_gcp/cloudquota/get_s_quota_info.py +322 -0
- pulumi_gcp/cloudquota/outputs.py +105 -0
- pulumi_gcp/cloudrunv2/_inputs.py +26 -2
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/outputs.py +58 -2
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/compute/_inputs.py +4 -4
- pulumi_gcp/compute/outputs.py +4 -4
- pulumi_gcp/compute/region_network_endpoint_group.py +30 -0
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/app_check_device_check_config.py +572 -0
- pulumi_gcp/firestore/_inputs.py +69 -0
- pulumi_gcp/firestore/database.py +206 -0
- pulumi_gcp/firestore/outputs.py +80 -0
- pulumi_gcp/gkeonprem/_inputs.py +1 -3
- pulumi_gcp/gkeonprem/outputs.py +1 -3
- pulumi_gcp/gkeonprem/v_mware_cluster.py +2 -0
- pulumi_gcp/iap/__init__.py +5 -0
- pulumi_gcp/iap/_inputs.py +100 -0
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +172 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/tunnel_dest_group.py +524 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +858 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +858 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +760 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/_inputs.py +246 -0
- pulumi_gcp/kms/ekm_connection.py +610 -0
- pulumi_gcp/kms/outputs.py +242 -0
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +753 -0
- pulumi_gcp/notebooks/instance.py +8 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/securityposture/posture.py +2 -2
- pulumi_gcp/securityposture/posture_deployment.py +2 -2
- pulumi_gcp/storage/_inputs.py +32 -15
- pulumi_gcp/storage/outputs.py +29 -14
- pulumi_gcp/workstations/_inputs.py +134 -4
- pulumi_gcp/workstations/outputs.py +152 -4
- pulumi_gcp/workstations/workstation_config.py +54 -0
- {pulumi_gcp-7.15.0a1711031093.dist-info → pulumi_gcp-7.15.0a1711123513.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.15.0a1711031093.dist-info → pulumi_gcp-7.15.0a1711123513.dist-info}/RECORD +62 -42
- {pulumi_gcp-7.15.0a1711031093.dist-info → pulumi_gcp-7.15.0a1711123513.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.15.0a1711031093.dist-info → pulumi_gcp-7.15.0a1711123513.dist-info}/top_level.txt +0 -0
@@ -17,6 +17,8 @@ __all__ = [
|
|
17
17
|
'WorkstationConfigCondition',
|
18
18
|
'WorkstationConfigContainer',
|
19
19
|
'WorkstationConfigEncryptionKey',
|
20
|
+
'WorkstationConfigEphemeralDirectory',
|
21
|
+
'WorkstationConfigEphemeralDirectoryGcePd',
|
20
22
|
'WorkstationConfigHost',
|
21
23
|
'WorkstationConfigHostGceInstance',
|
22
24
|
'WorkstationConfigHostGceInstanceAccelerator',
|
@@ -386,6 +388,146 @@ class WorkstationConfigEncryptionKey(dict):
|
|
386
388
|
return pulumi.get(self, "kms_key_service_account")
|
387
389
|
|
388
390
|
|
391
|
+
@pulumi.output_type
|
392
|
+
class WorkstationConfigEphemeralDirectory(dict):
|
393
|
+
@staticmethod
|
394
|
+
def __key_warning(key: str):
|
395
|
+
suggest = None
|
396
|
+
if key == "gcePd":
|
397
|
+
suggest = "gce_pd"
|
398
|
+
elif key == "mountPath":
|
399
|
+
suggest = "mount_path"
|
400
|
+
|
401
|
+
if suggest:
|
402
|
+
pulumi.log.warn(f"Key '{key}' not found in WorkstationConfigEphemeralDirectory. Access the value via the '{suggest}' property getter instead.")
|
403
|
+
|
404
|
+
def __getitem__(self, key: str) -> Any:
|
405
|
+
WorkstationConfigEphemeralDirectory.__key_warning(key)
|
406
|
+
return super().__getitem__(key)
|
407
|
+
|
408
|
+
def get(self, key: str, default = None) -> Any:
|
409
|
+
WorkstationConfigEphemeralDirectory.__key_warning(key)
|
410
|
+
return super().get(key, default)
|
411
|
+
|
412
|
+
def __init__(__self__, *,
|
413
|
+
gce_pd: Optional['outputs.WorkstationConfigEphemeralDirectoryGcePd'] = None,
|
414
|
+
mount_path: Optional[str] = None):
|
415
|
+
"""
|
416
|
+
:param 'WorkstationConfigEphemeralDirectoryGcePdArgs' gce_pd: An EphemeralDirectory backed by a Compute Engine persistent disk.
|
417
|
+
Structure is documented below.
|
418
|
+
:param str mount_path: Location of this directory in the running workstation.
|
419
|
+
"""
|
420
|
+
if gce_pd is not None:
|
421
|
+
pulumi.set(__self__, "gce_pd", gce_pd)
|
422
|
+
if mount_path is not None:
|
423
|
+
pulumi.set(__self__, "mount_path", mount_path)
|
424
|
+
|
425
|
+
@property
|
426
|
+
@pulumi.getter(name="gcePd")
|
427
|
+
def gce_pd(self) -> Optional['outputs.WorkstationConfigEphemeralDirectoryGcePd']:
|
428
|
+
"""
|
429
|
+
An EphemeralDirectory backed by a Compute Engine persistent disk.
|
430
|
+
Structure is documented below.
|
431
|
+
"""
|
432
|
+
return pulumi.get(self, "gce_pd")
|
433
|
+
|
434
|
+
@property
|
435
|
+
@pulumi.getter(name="mountPath")
|
436
|
+
def mount_path(self) -> Optional[str]:
|
437
|
+
"""
|
438
|
+
Location of this directory in the running workstation.
|
439
|
+
"""
|
440
|
+
return pulumi.get(self, "mount_path")
|
441
|
+
|
442
|
+
|
443
|
+
@pulumi.output_type
|
444
|
+
class WorkstationConfigEphemeralDirectoryGcePd(dict):
|
445
|
+
@staticmethod
|
446
|
+
def __key_warning(key: str):
|
447
|
+
suggest = None
|
448
|
+
if key == "diskType":
|
449
|
+
suggest = "disk_type"
|
450
|
+
elif key == "readOnly":
|
451
|
+
suggest = "read_only"
|
452
|
+
elif key == "sourceImage":
|
453
|
+
suggest = "source_image"
|
454
|
+
elif key == "sourceSnapshot":
|
455
|
+
suggest = "source_snapshot"
|
456
|
+
|
457
|
+
if suggest:
|
458
|
+
pulumi.log.warn(f"Key '{key}' not found in WorkstationConfigEphemeralDirectoryGcePd. Access the value via the '{suggest}' property getter instead.")
|
459
|
+
|
460
|
+
def __getitem__(self, key: str) -> Any:
|
461
|
+
WorkstationConfigEphemeralDirectoryGcePd.__key_warning(key)
|
462
|
+
return super().__getitem__(key)
|
463
|
+
|
464
|
+
def get(self, key: str, default = None) -> Any:
|
465
|
+
WorkstationConfigEphemeralDirectoryGcePd.__key_warning(key)
|
466
|
+
return super().get(key, default)
|
467
|
+
|
468
|
+
def __init__(__self__, *,
|
469
|
+
disk_type: Optional[str] = None,
|
470
|
+
read_only: Optional[bool] = None,
|
471
|
+
source_image: Optional[str] = None,
|
472
|
+
source_snapshot: Optional[str] = None):
|
473
|
+
"""
|
474
|
+
:param str disk_type: Type of the disk to use. Defaults to `"pd-standard"`.
|
475
|
+
:param bool read_only: Whether the disk is read only. If true, the disk may be shared by multiple VMs and `sourceSnapshot` must be set.
|
476
|
+
:param str source_image: Name of the disk image to use as the source for the disk.
|
477
|
+
Must be empty `sourceSnapshot` is set.
|
478
|
+
Updating `sourceImage` will update content in the ephemeral directory after the workstation is restarted.
|
479
|
+
:param str source_snapshot: Name of the snapshot to use as the source for the disk.
|
480
|
+
Must be empty if `sourceImage` is set.
|
481
|
+
Must be empty if `read_only` is false.
|
482
|
+
Updating `source_snapshot` will update content in the ephemeral directory after the workstation is restarted.
|
483
|
+
"""
|
484
|
+
if disk_type is not None:
|
485
|
+
pulumi.set(__self__, "disk_type", disk_type)
|
486
|
+
if read_only is not None:
|
487
|
+
pulumi.set(__self__, "read_only", read_only)
|
488
|
+
if source_image is not None:
|
489
|
+
pulumi.set(__self__, "source_image", source_image)
|
490
|
+
if source_snapshot is not None:
|
491
|
+
pulumi.set(__self__, "source_snapshot", source_snapshot)
|
492
|
+
|
493
|
+
@property
|
494
|
+
@pulumi.getter(name="diskType")
|
495
|
+
def disk_type(self) -> Optional[str]:
|
496
|
+
"""
|
497
|
+
Type of the disk to use. Defaults to `"pd-standard"`.
|
498
|
+
"""
|
499
|
+
return pulumi.get(self, "disk_type")
|
500
|
+
|
501
|
+
@property
|
502
|
+
@pulumi.getter(name="readOnly")
|
503
|
+
def read_only(self) -> Optional[bool]:
|
504
|
+
"""
|
505
|
+
Whether the disk is read only. If true, the disk may be shared by multiple VMs and `sourceSnapshot` must be set.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "read_only")
|
508
|
+
|
509
|
+
@property
|
510
|
+
@pulumi.getter(name="sourceImage")
|
511
|
+
def source_image(self) -> Optional[str]:
|
512
|
+
"""
|
513
|
+
Name of the disk image to use as the source for the disk.
|
514
|
+
Must be empty `sourceSnapshot` is set.
|
515
|
+
Updating `sourceImage` will update content in the ephemeral directory after the workstation is restarted.
|
516
|
+
"""
|
517
|
+
return pulumi.get(self, "source_image")
|
518
|
+
|
519
|
+
@property
|
520
|
+
@pulumi.getter(name="sourceSnapshot")
|
521
|
+
def source_snapshot(self) -> Optional[str]:
|
522
|
+
"""
|
523
|
+
Name of the snapshot to use as the source for the disk.
|
524
|
+
Must be empty if `sourceImage` is set.
|
525
|
+
Must be empty if `read_only` is false.
|
526
|
+
Updating `source_snapshot` will update content in the ephemeral directory after the workstation is restarted.
|
527
|
+
"""
|
528
|
+
return pulumi.get(self, "source_snapshot")
|
529
|
+
|
530
|
+
|
389
531
|
@pulumi.output_type
|
390
532
|
class WorkstationConfigHost(dict):
|
391
533
|
@staticmethod
|
@@ -887,13 +1029,16 @@ class WorkstationConfigPersistentDirectoryGcePd(dict):
|
|
887
1029
|
size_gb: Optional[int] = None,
|
888
1030
|
source_snapshot: Optional[str] = None):
|
889
1031
|
"""
|
890
|
-
:param str disk_type:
|
1032
|
+
:param str disk_type: Type of the disk to use. Defaults to `"pd-standard"`.
|
891
1033
|
:param str fs_type: Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if `sourceSnapshot` is set. Defaults to `ext4`.
|
892
1034
|
:param str reclaim_policy: Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
|
893
1035
|
Possible values are: `DELETE`, `RETAIN`.
|
894
1036
|
:param int size_gb: The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if `sourceSnapshot` is set.
|
895
1037
|
Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`.
|
896
|
-
:param str source_snapshot: Name of the snapshot to use as the source for the disk.
|
1038
|
+
:param str source_snapshot: Name of the snapshot to use as the source for the disk.
|
1039
|
+
Must be empty if `sourceImage` is set.
|
1040
|
+
Must be empty if `read_only` is false.
|
1041
|
+
Updating `source_snapshot` will update content in the ephemeral directory after the workstation is restarted.
|
897
1042
|
"""
|
898
1043
|
if disk_type is not None:
|
899
1044
|
pulumi.set(__self__, "disk_type", disk_type)
|
@@ -910,7 +1055,7 @@ class WorkstationConfigPersistentDirectoryGcePd(dict):
|
|
910
1055
|
@pulumi.getter(name="diskType")
|
911
1056
|
def disk_type(self) -> Optional[str]:
|
912
1057
|
"""
|
913
|
-
|
1058
|
+
Type of the disk to use. Defaults to `"pd-standard"`.
|
914
1059
|
"""
|
915
1060
|
return pulumi.get(self, "disk_type")
|
916
1061
|
|
@@ -944,7 +1089,10 @@ class WorkstationConfigPersistentDirectoryGcePd(dict):
|
|
944
1089
|
@pulumi.getter(name="sourceSnapshot")
|
945
1090
|
def source_snapshot(self) -> Optional[str]:
|
946
1091
|
"""
|
947
|
-
Name of the snapshot to use as the source for the disk.
|
1092
|
+
Name of the snapshot to use as the source for the disk.
|
1093
|
+
Must be empty if `sourceImage` is set.
|
1094
|
+
Must be empty if `read_only` is false.
|
1095
|
+
Updating `source_snapshot` will update content in the ephemeral directory after the workstation is restarted.
|
948
1096
|
"""
|
949
1097
|
return pulumi.get(self, "source_snapshot")
|
950
1098
|
|
@@ -25,6 +25,7 @@ class WorkstationConfigArgs:
|
|
25
25
|
display_name: Optional[pulumi.Input[str]] = None,
|
26
26
|
enable_audit_agent: Optional[pulumi.Input[bool]] = None,
|
27
27
|
encryption_key: Optional[pulumi.Input['WorkstationConfigEncryptionKeyArgs']] = None,
|
28
|
+
ephemeral_directories: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]]] = None,
|
28
29
|
host: Optional[pulumi.Input['WorkstationConfigHostArgs']] = None,
|
29
30
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
30
31
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -54,6 +55,8 @@ class WorkstationConfigArgs:
|
|
54
55
|
If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost.
|
55
56
|
If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours.
|
56
57
|
Structure is documented below.
|
58
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]] ephemeral_directories: Ephemeral directories which won't persist across workstation sessions.
|
59
|
+
Structure is documented below.
|
57
60
|
:param pulumi.Input['WorkstationConfigHostArgs'] host: Runtime host for a workstation.
|
58
61
|
Structure is documented below.
|
59
62
|
:param pulumi.Input[str] idle_timeout: How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes.
|
@@ -87,6 +90,8 @@ class WorkstationConfigArgs:
|
|
87
90
|
pulumi.set(__self__, "enable_audit_agent", enable_audit_agent)
|
88
91
|
if encryption_key is not None:
|
89
92
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
93
|
+
if ephemeral_directories is not None:
|
94
|
+
pulumi.set(__self__, "ephemeral_directories", ephemeral_directories)
|
90
95
|
if host is not None:
|
91
96
|
pulumi.set(__self__, "host", host)
|
92
97
|
if idle_timeout is not None:
|
@@ -222,6 +227,19 @@ class WorkstationConfigArgs:
|
|
222
227
|
def encryption_key(self, value: Optional[pulumi.Input['WorkstationConfigEncryptionKeyArgs']]):
|
223
228
|
pulumi.set(self, "encryption_key", value)
|
224
229
|
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="ephemeralDirectories")
|
232
|
+
def ephemeral_directories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]]]:
|
233
|
+
"""
|
234
|
+
Ephemeral directories which won't persist across workstation sessions.
|
235
|
+
Structure is documented below.
|
236
|
+
"""
|
237
|
+
return pulumi.get(self, "ephemeral_directories")
|
238
|
+
|
239
|
+
@ephemeral_directories.setter
|
240
|
+
def ephemeral_directories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]]]):
|
241
|
+
pulumi.set(self, "ephemeral_directories", value)
|
242
|
+
|
225
243
|
@property
|
226
244
|
@pulumi.getter
|
227
245
|
def host(self) -> Optional[pulumi.Input['WorkstationConfigHostArgs']]:
|
@@ -342,6 +360,7 @@ class _WorkstationConfigState:
|
|
342
360
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
343
361
|
enable_audit_agent: Optional[pulumi.Input[bool]] = None,
|
344
362
|
encryption_key: Optional[pulumi.Input['WorkstationConfigEncryptionKeyArgs']] = None,
|
363
|
+
ephemeral_directories: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]]] = None,
|
345
364
|
etag: Optional[pulumi.Input[str]] = None,
|
346
365
|
host: Optional[pulumi.Input['WorkstationConfigHostArgs']] = None,
|
347
366
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
@@ -379,6 +398,8 @@ class _WorkstationConfigState:
|
|
379
398
|
If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost.
|
380
399
|
If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours.
|
381
400
|
Structure is documented below.
|
401
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]] ephemeral_directories: Ephemeral directories which won't persist across workstation sessions.
|
402
|
+
Structure is documented below.
|
382
403
|
:param pulumi.Input[str] etag: Checksum computed by the server.
|
383
404
|
May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
|
384
405
|
:param pulumi.Input['WorkstationConfigHostArgs'] host: Runtime host for a workstation.
|
@@ -431,6 +452,8 @@ class _WorkstationConfigState:
|
|
431
452
|
pulumi.set(__self__, "enable_audit_agent", enable_audit_agent)
|
432
453
|
if encryption_key is not None:
|
433
454
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
455
|
+
if ephemeral_directories is not None:
|
456
|
+
pulumi.set(__self__, "ephemeral_directories", ephemeral_directories)
|
434
457
|
if etag is not None:
|
435
458
|
pulumi.set(__self__, "etag", etag)
|
436
459
|
if host is not None:
|
@@ -603,6 +626,19 @@ class _WorkstationConfigState:
|
|
603
626
|
def encryption_key(self, value: Optional[pulumi.Input['WorkstationConfigEncryptionKeyArgs']]):
|
604
627
|
pulumi.set(self, "encryption_key", value)
|
605
628
|
|
629
|
+
@property
|
630
|
+
@pulumi.getter(name="ephemeralDirectories")
|
631
|
+
def ephemeral_directories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]]]:
|
632
|
+
"""
|
633
|
+
Ephemeral directories which won't persist across workstation sessions.
|
634
|
+
Structure is documented below.
|
635
|
+
"""
|
636
|
+
return pulumi.get(self, "ephemeral_directories")
|
637
|
+
|
638
|
+
@ephemeral_directories.setter
|
639
|
+
def ephemeral_directories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigEphemeralDirectoryArgs']]]]):
|
640
|
+
pulumi.set(self, "ephemeral_directories", value)
|
641
|
+
|
606
642
|
@property
|
607
643
|
@pulumi.getter
|
608
644
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
@@ -809,6 +845,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
809
845
|
display_name: Optional[pulumi.Input[str]] = None,
|
810
846
|
enable_audit_agent: Optional[pulumi.Input[bool]] = None,
|
811
847
|
encryption_key: Optional[pulumi.Input[pulumi.InputType['WorkstationConfigEncryptionKeyArgs']]] = None,
|
848
|
+
ephemeral_directories: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkstationConfigEphemeralDirectoryArgs']]]]] = None,
|
812
849
|
host: Optional[pulumi.Input[pulumi.InputType['WorkstationConfigHostArgs']]] = None,
|
813
850
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
814
851
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1199,6 +1236,8 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1199
1236
|
If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost.
|
1200
1237
|
If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours.
|
1201
1238
|
Structure is documented below.
|
1239
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkstationConfigEphemeralDirectoryArgs']]]] ephemeral_directories: Ephemeral directories which won't persist across workstation sessions.
|
1240
|
+
Structure is documented below.
|
1202
1241
|
:param pulumi.Input[pulumi.InputType['WorkstationConfigHostArgs']] host: Runtime host for a workstation.
|
1203
1242
|
Structure is documented below.
|
1204
1243
|
:param pulumi.Input[str] idle_timeout: How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes.
|
@@ -1613,6 +1652,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1613
1652
|
display_name: Optional[pulumi.Input[str]] = None,
|
1614
1653
|
enable_audit_agent: Optional[pulumi.Input[bool]] = None,
|
1615
1654
|
encryption_key: Optional[pulumi.Input[pulumi.InputType['WorkstationConfigEncryptionKeyArgs']]] = None,
|
1655
|
+
ephemeral_directories: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkstationConfigEphemeralDirectoryArgs']]]]] = None,
|
1616
1656
|
host: Optional[pulumi.Input[pulumi.InputType['WorkstationConfigHostArgs']]] = None,
|
1617
1657
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
1618
1658
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1639,6 +1679,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1639
1679
|
__props__.__dict__["display_name"] = display_name
|
1640
1680
|
__props__.__dict__["enable_audit_agent"] = enable_audit_agent
|
1641
1681
|
__props__.__dict__["encryption_key"] = encryption_key
|
1682
|
+
__props__.__dict__["ephemeral_directories"] = ephemeral_directories
|
1642
1683
|
__props__.__dict__["host"] = host
|
1643
1684
|
__props__.__dict__["idle_timeout"] = idle_timeout
|
1644
1685
|
__props__.__dict__["labels"] = labels
|
@@ -1688,6 +1729,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1688
1729
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1689
1730
|
enable_audit_agent: Optional[pulumi.Input[bool]] = None,
|
1690
1731
|
encryption_key: Optional[pulumi.Input[pulumi.InputType['WorkstationConfigEncryptionKeyArgs']]] = None,
|
1732
|
+
ephemeral_directories: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkstationConfigEphemeralDirectoryArgs']]]]] = None,
|
1691
1733
|
etag: Optional[pulumi.Input[str]] = None,
|
1692
1734
|
host: Optional[pulumi.Input[pulumi.InputType['WorkstationConfigHostArgs']]] = None,
|
1693
1735
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
@@ -1730,6 +1772,8 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1730
1772
|
If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost.
|
1731
1773
|
If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours.
|
1732
1774
|
Structure is documented below.
|
1775
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkstationConfigEphemeralDirectoryArgs']]]] ephemeral_directories: Ephemeral directories which won't persist across workstation sessions.
|
1776
|
+
Structure is documented below.
|
1733
1777
|
:param pulumi.Input[str] etag: Checksum computed by the server.
|
1734
1778
|
May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
|
1735
1779
|
:param pulumi.Input[pulumi.InputType['WorkstationConfigHostArgs']] host: Runtime host for a workstation.
|
@@ -1775,6 +1819,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1775
1819
|
__props__.__dict__["effective_labels"] = effective_labels
|
1776
1820
|
__props__.__dict__["enable_audit_agent"] = enable_audit_agent
|
1777
1821
|
__props__.__dict__["encryption_key"] = encryption_key
|
1822
|
+
__props__.__dict__["ephemeral_directories"] = ephemeral_directories
|
1778
1823
|
__props__.__dict__["etag"] = etag
|
1779
1824
|
__props__.__dict__["host"] = host
|
1780
1825
|
__props__.__dict__["idle_timeout"] = idle_timeout
|
@@ -1889,6 +1934,15 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1889
1934
|
"""
|
1890
1935
|
return pulumi.get(self, "encryption_key")
|
1891
1936
|
|
1937
|
+
@property
|
1938
|
+
@pulumi.getter(name="ephemeralDirectories")
|
1939
|
+
def ephemeral_directories(self) -> pulumi.Output[Sequence['outputs.WorkstationConfigEphemeralDirectory']]:
|
1940
|
+
"""
|
1941
|
+
Ephemeral directories which won't persist across workstation sessions.
|
1942
|
+
Structure is documented below.
|
1943
|
+
"""
|
1944
|
+
return pulumi.get(self, "ephemeral_directories")
|
1945
|
+
|
1892
1946
|
@property
|
1893
1947
|
@pulumi.getter
|
1894
1948
|
def etag(self) -> pulumi.Output[str]:
|