VirtualMachineConfigResponse class
The config settings for virtual machine.
Constructors
-
VirtualMachineConfigResponse({required Input<
RuntimeAcceleratorConfigResponse> acceleratorConfig, required Input<Map< bootImage, required Input<String, dynamic> >List< containerImages, required Input<ContainerImageResponse> >LocalDiskResponse> dataDisk, required Input<EncryptionConfigResponse> encryptionConfig, required Input<Map< guestAttributes, required Input<String, String> >bool> internalIpOnly, required Input<Map< labels, required Input<String, String> >String> machineType, required Input<Map< metadata, required Input<String, String> >String> network, required Input<String> nicType, required Input<String> reservedIpRange, required Input<RuntimeShieldedInstanceConfigResponse> shieldedInstanceConfig, required Input<String> subnet, required Input<List< tags, required Input<String> >String> zone}) -
Creates a new VirtualMachineConfigResponse.
acceleratorConfigOptional. The Compute Engine accelerator configuration for this runtime.bootImageOptional. Boot image metadata used for runtime upgradeability.containerImagesOptional. Use a list of container images to use as Kernels in the notebook instance.dataDiskData disk option configuration settings.encryptionConfigOptional. Encryption settings for virtual machine data disk.guestAttributesThe Compute Engine guest attributes. (see Project and instance guest attributes).internalIpOnlyOptional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. Thisinternal_ip_onlyrestriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.labelsOptional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.machineTypeThe Compute Engine machine type used for runtimes. Short name is valid. Examples: *n1-standard-2*e2-standard-8metadataOptional. The Compute Engine metadata entries to add to virtual machine. (see Project and instance metadata).networkOptional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neithernetworknorsubnetis specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: *https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default*projects/[project_id]/global/networks/defaultRuntimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.nicTypeOptional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.reservedIpRangeOptional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range name if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be:managed-notebooks-range-cshieldedInstanceConfigOptional. Shielded VM Instance configuration settings.subnetOptional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: *https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0*projects/[project_id]/regions/us-east1/subnetworks/sub0tagsOptional. The Compute Engine tags to add to runtime (see Tagging instances).zoneThe zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: *us-central1-bconst -
VirtualMachineConfigResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
acceleratorConfig
→ Input<
RuntimeAcceleratorConfigResponse> -
Optional. The Compute Engine accelerator configuration for this runtime.
final
-
bootImage
→ Input<
Map< String, dynamic> > -
Optional. Boot image metadata used for runtime upgradeability.
final
-
containerImages
→ Input<
List< ContainerImageResponse> > -
Optional. Use a list of container images to use as Kernels in the notebook instance.
final
-
dataDisk
→ Input<
LocalDiskResponse> -
Data disk option configuration settings.
final
-
encryptionConfig
→ Input<
EncryptionConfigResponse> -
Optional. Encryption settings for virtual machine data disk.
final
-
guestAttributes
→ Input<
Map< String, String> > -
The Compute Engine guest attributes. (see Project and instance guest attributes).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
internalIpOnly
→ Input<
bool> -
Optional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This
internal_ip_onlyrestriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.final -
labels
→ Input<
Map< String, String> > -
Optional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
final
-
machineType
→ Input<
String> -
The Compute Engine machine type used for runtimes. Short name is valid. Examples: *
n1-standard-2*e2-standard-8final -
metadata
→ Input<
Map< String, String> > -
Optional. The Compute Engine metadata entries to add to virtual machine. (see Project and instance metadata).
final
-
network
→ Input<
String> -
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither
networknorsubnetis specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: *https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default*projects/[project_id]/global/networks/defaultRuntimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.final -
nicType
→ Input<
String> -
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
final
-
reservedIpRange
→ Input<
String> -
Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range name if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be:
managed-notebooks-range-cfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shieldedInstanceConfig
→ Input<
RuntimeShieldedInstanceConfigResponse> -
Optional. Shielded VM Instance configuration settings.
final
-
subnet
→ Input<
String> -
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: *
https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0*projects/[project_id]/regions/us-east1/subnetworks/sub0final -
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
final
-
zone
→ Input<
String> -
The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: *
us-central1-bfinal
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