Class GceSetup
The definition of how to configure a VM instance outside of Resources and Identity.
Implements
Inherited Members
Namespace: Google.Apis.AIPlatformNotebooks.v2.Data
Assembly: Google.Apis.AIPlatformNotebooks.v2.dll
Syntax
public class GceSetup : IDirectResponseSchema
Properties
AcceleratorConfigs
Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your
configuration has enough vCPUs and memory to support the machine_type
you have
selected. Currently supports only one accelerator
configuration.
Declaration
[JsonProperty("acceleratorConfigs")]
public virtual IList<AcceleratorConfig> AcceleratorConfigs { get; set; }
Property Value
Type | Description |
---|---|
IList<AcceleratorConfig> |
BootDisk
Optional. The boot disk for the VM.
Declaration
[JsonProperty("bootDisk")]
public virtual BootDisk BootDisk { get; set; }
Property Value
Type | Description |
---|---|
BootDisk |
ContainerImage
Optional. Use a container image to start the notebook instance.
Declaration
[JsonProperty("containerImage")]
public virtual ContainerImage ContainerImage { get; set; }
Property Value
Type | Description |
---|---|
ContainerImage |
DataDisks
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
Declaration
[JsonProperty("dataDisks")]
public virtual IList<DataDisk> DataDisks { get; set; }
Property Value
Type | Description |
---|---|
IList<DataDisk> |
DisablePublicIp
Optional. If true, no external IP will be assigned to this VM instance.
Declaration
[JsonProperty("disablePublicIp")]
public virtual bool? DisablePublicIp { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableIpForwarding
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
Declaration
[JsonProperty("enableIpForwarding")]
public virtual bool? EnableIpForwarding { get; set; }
Property Value
Type | Description |
---|---|
bool? |
GpuDriverConfig
Optional. Configuration for GPU drivers.
Declaration
[JsonProperty("gpuDriverConfig")]
public virtual GPUDriverConfig GpuDriverConfig { get; set; }
Property Value
Type | Description |
---|---|
GPUDriverConfig |
MachineType
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Optional. Custom metadata to apply to this instance.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, string> Metadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
MinCpuPlatform
Optional. The minimum CPU platform to use for this instance. The list of valid values can be found in https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones
Declaration
[JsonProperty("minCpuPlatform")]
public virtual string MinCpuPlatform { get; set; }
Property Value
Type | Description |
---|---|
string |
NetworkInterfaces
Optional. The network interfaces for the VM. Supports only one interface.
Declaration
[JsonProperty("networkInterfaces")]
public virtual IList<NetworkInterface> NetworkInterfaces { get; set; }
Property Value
Type | Description |
---|---|
IList<NetworkInterface> |
ServiceAccounts
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
Declaration
[JsonProperty("serviceAccounts")]
public virtual IList<ServiceAccount> ServiceAccounts { get; set; }
Property Value
Type | Description |
---|---|
IList<ServiceAccount> |
ShieldedInstanceConfig
Optional. Shielded VM configuration. Images using supported Shielded VM features.
Declaration
[JsonProperty("shieldedInstanceConfig")]
public virtual ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }
Property Value
Type | Description |
---|---|
ShieldedInstanceConfig |
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> |
VmImage
Optional. Use a Compute Engine VM image to start the notebook instance.
Declaration
[JsonProperty("vmImage")]
public virtual VmImage VmImage { get; set; }
Property Value
Type | Description |
---|---|
VmImage |