WorkstationConfigHostGceInstance class
Constructors
-
WorkstationConfigHostGceInstance({Input<
List< ? accelerators, Input<WorkstationConfigHostGceInstanceAccelerator> ?>List< ? boostConfigs, Input<WorkstationConfigHostGceInstanceBoostConfig> ?>int?> ? bootDiskSizeGb, Input<WorkstationConfigHostGceInstanceConfidentialInstanceConfig?> ? confidentialInstanceConfig, Input<bool?> ? disablePublicIpAddresses, Input<bool?> ? disableSsh, Input<bool?> ? enableNestedVirtualization, Input<Map< ? instanceMetadata, Input<String, String> ?>String?> ? machineType, Input<int?> ? poolSize, Input<String?> ? serviceAccount, Input<List< ? serviceAccountScopes, Input<String> ?>WorkstationConfigHostGceInstanceShieldedInstanceConfig?> ? shieldedInstanceConfig, Input<List< ? tags, Input<String> ?>Map< ? vmTags})String, String> ?> -
Creates a new WorkstationConfigHostGceInstance.
acceleratorsAn accelerator card attached to the instance.boostConfigsA list of the boost configurations that workstations created using this workstation configuration are allowed to use.bootDiskSizeGbSize of the boot disk in GB.confidentialInstanceConfigA set of Compute Engine Confidential VM instance options.disablePublicIpAddressesWhether instances have no public IP address.disableSshWhether to disable SSH access to the VM.enableNestedVirtualizationWhether to enable nested virtualization on the Compute Engine VMs backing the Workstations.instanceMetadataClient-specified metadata key-value pairs, to be passed to the start-up script in the VM.machineTypeThe name of a Compute Engine machine type.poolSizeNumber of instances to pool for faster workstation startup.serviceAccountEmail address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image. If not set, VMs will run without a service account, in which case the image must be publicly accessible.serviceAccountScopesScopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must haveiam.serviceAccounts.actAson the service account.shieldedInstanceConfigA set of Compute Engine Shielded instance options.tagsNetwork tags to add to the Compute Engine machines backing the Workstations.vmTagsResource manager tags to be bound to the VM instances backing the Workstations.const -
WorkstationConfigHostGceInstance.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accelerators
→ Input<
List< ?WorkstationConfigHostGceInstanceAccelerator> ?> -
An accelerator card attached to the instance.
Structure is documented below.
final
-
boostConfigs
→ Input<
List< ?WorkstationConfigHostGceInstanceBoostConfig> ?> -
A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
Structure is documented below.
final
-
bootDiskSizeGb
→ Input<
int?> ? -
Size of the boot disk in GB.
final
-
confidentialInstanceConfig
→ Input<
WorkstationConfigHostGceInstanceConfidentialInstanceConfig?> ? -
A set of Compute Engine Confidential VM instance options.
Structure is documented below.
final
-
disablePublicIpAddresses
→ Input<
bool?> ? -
Whether instances have no public IP address.
final
-
disableSsh
→ Input<
bool?> ? -
Whether to disable SSH access to the VM.
final
-
enableNestedVirtualization
→ Input<
bool?> ? -
Whether to enable nested virtualization on the Compute Engine VMs backing the Workstations.
See https://cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceMetadata
→ Input<
Map< ?String, String> ?> -
Client-specified metadata key-value pairs, to be passed to the start-up script in the VM.
final
-
machineType
→ Input<
String?> ? -
The name of a Compute Engine machine type.
final
-
poolSize
→ Input<
int?> ? -
Number of instances to pool for faster workstation startup.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
→ Input<
String?> ? -
Email address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image. If not set, VMs will run without a service account, in which case the image must be publicly accessible.
final
-
serviceAccountScopes
→ Input<
List< ?String> ?> -
Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have
iam.serviceAccounts.actAson the service account.final -
shieldedInstanceConfig
→ Input<
WorkstationConfigHostGceInstanceShieldedInstanceConfig?> ? -
A set of Compute Engine Shielded instance options.
Structure is documented below.
final
-
Network tags to add to the Compute Engine machines backing the Workstations.
final
-
vmTags
→ Input<
Map< ?String, String> ?> -
Resource manager tags to be bound to the VM instances backing the Workstations.
Tag keys and values have the same definition as
https://docs.cloud.google.com/resource-manager/docs/tags/tags-overview
Keys must be in the format
tagKeys/{tag_key_id}, and values are in the formattagValues/456.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited