pulumi-gcp 7.27.0a1718103841__py3-none-any.whl → 7.27.0a1718279079__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 +32 -0
- pulumi_gcp/appengine/_inputs.py +40 -0
- pulumi_gcp/appengine/flexible_app_version.py +47 -0
- pulumi_gcp/appengine/outputs.py +51 -0
- pulumi_gcp/bigtable/instance.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +16 -0
- pulumi_gcp/clouddeploy/outputs.py +12 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +84 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/disk.py +68 -0
- pulumi_gcp/compute/get_backend_service.py +11 -1
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +31 -1
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_security_policy.py +214 -0
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +47 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/instance_group_manager.py +185 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/outputs.py +1039 -0
- pulumi_gcp/compute/project_cloud_armor_tier.py +336 -0
- pulumi_gcp/compute/region_instance_group_manager.py +185 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +33 -4
- pulumi_gcp/container/cluster.py +61 -0
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +48 -4
- pulumi_gcp/dataloss/_inputs.py +185 -19
- pulumi_gcp/dataloss/outputs.py +206 -17
- pulumi_gcp/dataloss/prevention_inspect_template.py +54 -0
- pulumi_gcp/gkebackup/_inputs.py +282 -7
- pulumi_gcp/gkebackup/backup_plan.py +100 -0
- pulumi_gcp/gkebackup/outputs.py +312 -7
- pulumi_gcp/gkebackup/restore_plan.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +326 -0
- pulumi_gcp/healthcare/_inputs.py +17 -1
- pulumi_gcp/healthcare/dicom_store.py +2 -0
- pulumi_gcp/healthcare/fhir_store.py +44 -60
- pulumi_gcp/healthcare/outputs.py +15 -1
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +47 -0
- pulumi_gcp/kms/crypto_key.py +14 -7
- pulumi_gcp/netapp/_inputs.py +58 -0
- pulumi_gcp/netapp/outputs.py +67 -0
- pulumi_gcp/netapp/volume.py +54 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +47 -0
- pulumi_gcp/networkservices/outputs.py +56 -0
- pulumi_gcp/networkservices/service_lb_policies.py +782 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +44 -0
- pulumi_gcp/redis/cluster.py +128 -3
- pulumi_gcp/redis/outputs.py +36 -0
- pulumi_gcp/secretmanager/_inputs.py +20 -0
- pulumi_gcp/secretmanager/outputs.py +20 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +224 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +568 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/instance_config.py +569 -0
- pulumi_gcp/spanner/outputs.py +73 -0
- pulumi_gcp/sql/_inputs.py +8 -2
- pulumi_gcp/sql/outputs.py +9 -6
- pulumi_gcp/workstations/_inputs.py +51 -1
- pulumi_gcp/workstations/outputs.py +46 -2
- pulumi_gcp/workstations/workstation_config.py +10 -4
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/RECORD +81 -76
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -1399,7 +1399,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1399
1399
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1400
1400
|
This setting can be updated, but it cannot be removed after it is set.
|
1401
1401
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
|
1402
|
-
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1402
|
+
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1403
1403
|
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1404
1404
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1405
1405
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
@@ -1417,6 +1417,9 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1417
1417
|
pulumi.set(__self__, "private_network", private_network)
|
1418
1418
|
if psc_configs is not None:
|
1419
1419
|
pulumi.set(__self__, "psc_configs", psc_configs)
|
1420
|
+
if require_ssl is not None:
|
1421
|
+
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1422
|
+
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1420
1423
|
if require_ssl is not None:
|
1421
1424
|
pulumi.set(__self__, "require_ssl", require_ssl)
|
1422
1425
|
if ssl_mode is not None:
|
@@ -1501,8 +1504,11 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1501
1504
|
@pulumi.getter(name="requireSsl")
|
1502
1505
|
def require_ssl(self) -> Optional[pulumi.Input[bool]]:
|
1503
1506
|
"""
|
1504
|
-
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1507
|
+
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1505
1508
|
"""
|
1509
|
+
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1510
|
+
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1511
|
+
|
1506
1512
|
return pulumi.get(self, "require_ssl")
|
1507
1513
|
|
1508
1514
|
@require_ssl.setter
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -1473,7 +1473,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1473
1473
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1474
1474
|
This setting can be updated, but it cannot be removed after it is set.
|
1475
1475
|
:param Sequence['DatabaseInstanceSettingsIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
1476
|
-
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1476
|
+
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1477
1477
|
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1478
1478
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1479
1479
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
@@ -1551,8 +1551,11 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1551
1551
|
@pulumi.getter(name="requireSsl")
|
1552
1552
|
def require_ssl(self) -> Optional[bool]:
|
1553
1553
|
"""
|
1554
|
-
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1554
|
+
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1555
1555
|
"""
|
1556
|
+
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1557
|
+
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1558
|
+
|
1556
1559
|
return pulumi.get(self, "require_ssl")
|
1557
1560
|
|
1558
1561
|
@property
|
@@ -3136,7 +3139,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
3136
3139
|
:param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
|
3137
3140
|
:param Sequence['GetDatabaseInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
3138
3141
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
|
3139
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
3142
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
3140
3143
|
"""
|
3141
3144
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
3142
3145
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
@@ -3204,7 +3207,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
3204
3207
|
@pulumi.getter(name="sslMode")
|
3205
3208
|
def ssl_mode(self) -> str:
|
3206
3209
|
"""
|
3207
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
3210
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
3208
3211
|
"""
|
3209
3212
|
return pulumi.get(self, "ssl_mode")
|
3210
3213
|
|
@@ -4628,7 +4631,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
4628
4631
|
:param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
|
4629
4632
|
:param Sequence['GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
4630
4633
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
|
4631
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
4634
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
4632
4635
|
"""
|
4633
4636
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
4634
4637
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
@@ -4696,7 +4699,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
4696
4699
|
@pulumi.getter(name="sslMode")
|
4697
4700
|
def ssl_mode(self) -> str:
|
4698
4701
|
"""
|
4699
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
4702
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
4700
4703
|
"""
|
4701
4704
|
return pulumi.get(self, "ssl_mode")
|
4702
4705
|
|
@@ -818,18 +818,31 @@ class WorkstationConfigHostGceInstanceBoostConfigArgs:
|
|
818
818
|
def __init__(__self__, *,
|
819
819
|
id: pulumi.Input[str],
|
820
820
|
accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]] = None,
|
821
|
-
|
821
|
+
boot_disk_size_gb: Optional[pulumi.Input[int]] = None,
|
822
|
+
enable_nested_virtualization: Optional[pulumi.Input[bool]] = None,
|
823
|
+
machine_type: Optional[pulumi.Input[str]] = None,
|
824
|
+
pool_size: Optional[pulumi.Input[int]] = None):
|
822
825
|
"""
|
823
826
|
:param pulumi.Input[str] id: The id to be used for the boost config.
|
824
827
|
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]] accelerators: An accelerator card attached to the boost instance.
|
825
828
|
Structure is documented below.
|
829
|
+
:param pulumi.Input[int] boot_disk_size_gb: Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB.
|
830
|
+
:param pulumi.Input[bool] enable_nested_virtualization: Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations.
|
831
|
+
See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
|
826
832
|
: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.
|
833
|
+
:param pulumi.Input[int] pool_size: Number of instances to pool for faster workstation boosting.
|
827
834
|
"""
|
828
835
|
pulumi.set(__self__, "id", id)
|
829
836
|
if accelerators is not None:
|
830
837
|
pulumi.set(__self__, "accelerators", accelerators)
|
838
|
+
if boot_disk_size_gb is not None:
|
839
|
+
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
840
|
+
if enable_nested_virtualization is not None:
|
841
|
+
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
831
842
|
if machine_type is not None:
|
832
843
|
pulumi.set(__self__, "machine_type", machine_type)
|
844
|
+
if pool_size is not None:
|
845
|
+
pulumi.set(__self__, "pool_size", pool_size)
|
833
846
|
|
834
847
|
@property
|
835
848
|
@pulumi.getter
|
@@ -856,6 +869,31 @@ class WorkstationConfigHostGceInstanceBoostConfigArgs:
|
|
856
869
|
def accelerators(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]]):
|
857
870
|
pulumi.set(self, "accelerators", value)
|
858
871
|
|
872
|
+
@property
|
873
|
+
@pulumi.getter(name="bootDiskSizeGb")
|
874
|
+
def boot_disk_size_gb(self) -> Optional[pulumi.Input[int]]:
|
875
|
+
"""
|
876
|
+
Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB.
|
877
|
+
"""
|
878
|
+
return pulumi.get(self, "boot_disk_size_gb")
|
879
|
+
|
880
|
+
@boot_disk_size_gb.setter
|
881
|
+
def boot_disk_size_gb(self, value: Optional[pulumi.Input[int]]):
|
882
|
+
pulumi.set(self, "boot_disk_size_gb", value)
|
883
|
+
|
884
|
+
@property
|
885
|
+
@pulumi.getter(name="enableNestedVirtualization")
|
886
|
+
def enable_nested_virtualization(self) -> Optional[pulumi.Input[bool]]:
|
887
|
+
"""
|
888
|
+
Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations.
|
889
|
+
See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
|
890
|
+
"""
|
891
|
+
return pulumi.get(self, "enable_nested_virtualization")
|
892
|
+
|
893
|
+
@enable_nested_virtualization.setter
|
894
|
+
def enable_nested_virtualization(self, value: Optional[pulumi.Input[bool]]):
|
895
|
+
pulumi.set(self, "enable_nested_virtualization", value)
|
896
|
+
|
859
897
|
@property
|
860
898
|
@pulumi.getter(name="machineType")
|
861
899
|
def machine_type(self) -> Optional[pulumi.Input[str]]:
|
@@ -868,6 +906,18 @@ class WorkstationConfigHostGceInstanceBoostConfigArgs:
|
|
868
906
|
def machine_type(self, value: Optional[pulumi.Input[str]]):
|
869
907
|
pulumi.set(self, "machine_type", value)
|
870
908
|
|
909
|
+
@property
|
910
|
+
@pulumi.getter(name="poolSize")
|
911
|
+
def pool_size(self) -> Optional[pulumi.Input[int]]:
|
912
|
+
"""
|
913
|
+
Number of instances to pool for faster workstation boosting.
|
914
|
+
"""
|
915
|
+
return pulumi.get(self, "pool_size")
|
916
|
+
|
917
|
+
@pool_size.setter
|
918
|
+
def pool_size(self, value: Optional[pulumi.Input[int]]):
|
919
|
+
pulumi.set(self, "pool_size", value)
|
920
|
+
|
871
921
|
|
872
922
|
@pulumi.input_type
|
873
923
|
class WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs:
|
@@ -812,8 +812,14 @@ class WorkstationConfigHostGceInstanceBoostConfig(dict):
|
|
812
812
|
@staticmethod
|
813
813
|
def __key_warning(key: str):
|
814
814
|
suggest = None
|
815
|
-
if key == "
|
815
|
+
if key == "bootDiskSizeGb":
|
816
|
+
suggest = "boot_disk_size_gb"
|
817
|
+
elif key == "enableNestedVirtualization":
|
818
|
+
suggest = "enable_nested_virtualization"
|
819
|
+
elif key == "machineType":
|
816
820
|
suggest = "machine_type"
|
821
|
+
elif key == "poolSize":
|
822
|
+
suggest = "pool_size"
|
817
823
|
|
818
824
|
if suggest:
|
819
825
|
pulumi.log.warn(f"Key '{key}' not found in WorkstationConfigHostGceInstanceBoostConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -829,18 +835,31 @@ class WorkstationConfigHostGceInstanceBoostConfig(dict):
|
|
829
835
|
def __init__(__self__, *,
|
830
836
|
id: str,
|
831
837
|
accelerators: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfigAccelerator']] = None,
|
832
|
-
|
838
|
+
boot_disk_size_gb: Optional[int] = None,
|
839
|
+
enable_nested_virtualization: Optional[bool] = None,
|
840
|
+
machine_type: Optional[str] = None,
|
841
|
+
pool_size: Optional[int] = None):
|
833
842
|
"""
|
834
843
|
:param str id: The id to be used for the boost config.
|
835
844
|
:param Sequence['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs'] accelerators: An accelerator card attached to the boost instance.
|
836
845
|
Structure is documented below.
|
846
|
+
:param int boot_disk_size_gb: Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB.
|
847
|
+
:param bool enable_nested_virtualization: Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations.
|
848
|
+
See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
|
837
849
|
: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.
|
850
|
+
:param int pool_size: Number of instances to pool for faster workstation boosting.
|
838
851
|
"""
|
839
852
|
pulumi.set(__self__, "id", id)
|
840
853
|
if accelerators is not None:
|
841
854
|
pulumi.set(__self__, "accelerators", accelerators)
|
855
|
+
if boot_disk_size_gb is not None:
|
856
|
+
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
857
|
+
if enable_nested_virtualization is not None:
|
858
|
+
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
842
859
|
if machine_type is not None:
|
843
860
|
pulumi.set(__self__, "machine_type", machine_type)
|
861
|
+
if pool_size is not None:
|
862
|
+
pulumi.set(__self__, "pool_size", pool_size)
|
844
863
|
|
845
864
|
@property
|
846
865
|
@pulumi.getter
|
@@ -859,6 +878,23 @@ class WorkstationConfigHostGceInstanceBoostConfig(dict):
|
|
859
878
|
"""
|
860
879
|
return pulumi.get(self, "accelerators")
|
861
880
|
|
881
|
+
@property
|
882
|
+
@pulumi.getter(name="bootDiskSizeGb")
|
883
|
+
def boot_disk_size_gb(self) -> Optional[int]:
|
884
|
+
"""
|
885
|
+
Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB.
|
886
|
+
"""
|
887
|
+
return pulumi.get(self, "boot_disk_size_gb")
|
888
|
+
|
889
|
+
@property
|
890
|
+
@pulumi.getter(name="enableNestedVirtualization")
|
891
|
+
def enable_nested_virtualization(self) -> Optional[bool]:
|
892
|
+
"""
|
893
|
+
Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations.
|
894
|
+
See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
|
895
|
+
"""
|
896
|
+
return pulumi.get(self, "enable_nested_virtualization")
|
897
|
+
|
862
898
|
@property
|
863
899
|
@pulumi.getter(name="machineType")
|
864
900
|
def machine_type(self) -> Optional[str]:
|
@@ -867,6 +903,14 @@ class WorkstationConfigHostGceInstanceBoostConfig(dict):
|
|
867
903
|
"""
|
868
904
|
return pulumi.get(self, "machine_type")
|
869
905
|
|
906
|
+
@property
|
907
|
+
@pulumi.getter(name="poolSize")
|
908
|
+
def pool_size(self) -> Optional[int]:
|
909
|
+
"""
|
910
|
+
Number of instances to pool for faster workstation boosting.
|
911
|
+
"""
|
912
|
+
return pulumi.get(self, "pool_size")
|
913
|
+
|
870
914
|
|
871
915
|
@pulumi.output_type
|
872
916
|
class WorkstationConfigHostGceInstanceBoostConfigAccelerator(dict):
|
@@ -1166,8 +1166,11 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1166
1166
|
)],
|
1167
1167
|
),
|
1168
1168
|
gcp.workstations.WorkstationConfigHostGceInstanceBoostConfigArgs(
|
1169
|
-
id="boost-
|
1170
|
-
machine_type="
|
1169
|
+
id="boost-2",
|
1170
|
+
machine_type="n1-standard-2",
|
1171
|
+
pool_size=2,
|
1172
|
+
boot_disk_size_gb=30,
|
1173
|
+
enable_nested_virtualization=True,
|
1171
1174
|
),
|
1172
1175
|
],
|
1173
1176
|
),
|
@@ -1613,8 +1616,11 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1613
1616
|
)],
|
1614
1617
|
),
|
1615
1618
|
gcp.workstations.WorkstationConfigHostGceInstanceBoostConfigArgs(
|
1616
|
-
id="boost-
|
1617
|
-
machine_type="
|
1619
|
+
id="boost-2",
|
1620
|
+
machine_type="n1-standard-2",
|
1621
|
+
pool_size=2,
|
1622
|
+
boot_disk_size_gb=30,
|
1623
|
+
enable_nested_virtualization=True,
|
1618
1624
|
),
|
1619
1625
|
],
|
1620
1626
|
),
|