Show / Hide Table of Contents

Class VirtualMachineConfig

The config settings for virtual machine.

Inheritance
object
VirtualMachineConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AIPlatformNotebooks.v1.Data
Assembly: Google.Apis.AIPlatformNotebooks.v1.dll
Syntax
public class VirtualMachineConfig : IDirectResponseSchema

Properties

AcceleratorConfig

Optional. The Compute Engine accelerator configuration for this runtime.

Declaration
[JsonProperty("acceleratorConfig")]
public virtual RuntimeAcceleratorConfig AcceleratorConfig { get; set; }
Property Value
Type Description
RuntimeAcceleratorConfig

BootImage

Optional. Boot image metadata used for runtime upgradeability.

Declaration
[JsonProperty("bootImage")]
public virtual BootImage BootImage { get; set; }
Property Value
Type Description
BootImage

ContainerImages

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

Declaration
[JsonProperty("containerImages")]
public virtual IList<ContainerImage> ContainerImages { get; set; }
Property Value
Type Description
IList<ContainerImage>

DataDisk

Required. Data disk option configuration settings.

Declaration
[JsonProperty("dataDisk")]
public virtual LocalDisk DataDisk { get; set; }
Property Value
Type Description
LocalDisk

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EncryptionConfig

Optional. Encryption settings for virtual machine data disk.

Declaration
[JsonProperty("encryptionConfig")]
public virtual EncryptionConfig EncryptionConfig { get; set; }
Property Value
Type Description
EncryptionConfig

GuestAttributes

Output only. The Compute Engine guest attributes. (see Project and instance guest attributes).

Declaration
[JsonProperty("guestAttributes")]
public virtual IDictionary<string, string> GuestAttributes { get; set; }
Property Value
Type Description
IDictionary<string, string>

InternalIpOnly

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.

Declaration
[JsonProperty("internalIpOnly")]
public virtual bool? InternalIpOnly { get; set; }
Property Value
Type Description
bool?

Labels

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.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

MachineType

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

Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type Description
string

Metadata

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

Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, string> Metadata { get; set; }
Property Value
Type Description
IDictionary<string, string>

Network

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 &amp; subnet are empty) * Consumer Project VPC (network &amp; subnet are required). Requires configuring Private Service Access. * Shared VPC (network &amp; subnet are required). Requires configuring Private Service Access.

Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type Description
string

NicType

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

Declaration
[JsonProperty("nicType")]
public virtual string NicType { get; set; }
Property Value
Type Description
string

ReservedIpRange

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

Declaration
[JsonProperty("reservedIpRange")]
public virtual string ReservedIpRange { get; set; }
Property Value
Type Description
string

ShieldedInstanceConfig

Optional. Shielded VM Instance configuration settings.

Declaration
[JsonProperty("shieldedInstanceConfig")]
public virtual RuntimeShieldedInstanceConfig ShieldedInstanceConfig { get; set; }
Property Value
Type Description
RuntimeShieldedInstanceConfig

Subnet

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

Declaration
[JsonProperty("subnet")]
public virtual string Subnet { get; set; }
Property Value
Type Description
string

Tags

Optional. The Compute Engine network tags to add to runtime (see Add network tags).

Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
Type Description
IList<string>

Zone

Output only. 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-b

Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX