VirtualMachineConfigArgs

data class VirtualMachineConfigArgs(val acceleratorConfig: Output<RuntimeAcceleratorConfigArgs>? = null, val bootImage: Output<BootImageArgs>? = null, val containerImages: Output<List<ContainerImageArgs>>? = null, val dataDisk: Output<LocalDiskArgs>, val encryptionConfig: Output<EncryptionConfigArgs>? = null, val internalIpOnly: Output<Boolean>? = null, val labels: Output<Map<String, String>>? = null, val machineType: Output<String>, val metadata: Output<Map<String, String>>? = null, val network: Output<String>? = null, val nicType: Output<VirtualMachineConfigNicType>? = null, val reservedIpRange: Output<String>? = null, val shieldedInstanceConfig: Output<RuntimeShieldedInstanceConfigArgs>? = null, val subnet: Output<String>? = null, val tags: Output<List<String>>? = null) : ConvertibleToJava<VirtualMachineConfigArgs>

The config settings for virtual machine.

Constructors

Link copied to clipboard
fun VirtualMachineConfigArgs(acceleratorConfig: Output<RuntimeAcceleratorConfigArgs>? = null, bootImage: Output<BootImageArgs>? = null, containerImages: Output<List<ContainerImageArgs>>? = null, dataDisk: Output<LocalDiskArgs>, encryptionConfig: Output<EncryptionConfigArgs>? = null, internalIpOnly: Output<Boolean>? = null, labels: Output<Map<String, String>>? = null, machineType: Output<String>, metadata: Output<Map<String, String>>? = null, network: Output<String>? = null, nicType: Output<VirtualMachineConfigNicType>? = null, reservedIpRange: Output<String>? = null, shieldedInstanceConfig: Output<RuntimeShieldedInstanceConfigArgs>? = null, subnet: Output<String>? = null, tags: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VirtualMachineConfigArgs

Properties

Link copied to clipboard

Optional. The Compute Engine accelerator configuration for this runtime.

Link copied to clipboard
val bootImage: Output<BootImageArgs>? = null

Optional. Boot image metadata used for runtime upgradeability.

Link copied to clipboard

Optional. Use a list of container images to use as Kernels in the notebook instance.

Link copied to clipboard
val dataDisk: Output<LocalDiskArgs>

Data disk option configuration settings.

Link copied to clipboard

Optional. Encryption settings for virtual machine data disk.

Link copied to clipboard
val internalIpOnly: Output<Boolean>? = null

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_only restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val machineType: Output<String>

The Compute Engine machine type used for runtimes. Short name is valid. Examples: * n1-standard-2 * e2-standard-8

Link copied to clipboard
val metadata: Output<Map<String, String>>? = null

Optional. The Compute Engine metadata entries to add to virtual machine. (see Project and instance metadata).

Link copied to clipboard
val network: Output<String>? = null

Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither network nor subnet is 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/default Runtimes 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.

Link copied to clipboard

Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

Link copied to clipboard
val reservedIpRange: Output<String>? = null

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-c

Link copied to clipboard

Optional. Shielded VM Instance configuration settings.

Link copied to clipboard
val subnet: Output<String>? = null

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/sub0

Link copied to clipboard
val tags: Output<List<String>>? = null

Optional. The Compute Engine tags to add to runtime (see Tagging instances).