AI Platform Notebooks v1 API - Class LocalDiskInitializeParams (2.3.0)

public sealed class LocalDiskInitializeParams : IMessage<LocalDiskInitializeParams>, IEquatable<LocalDiskInitializeParams>, IDeepCloneable<LocalDiskInitializeParams>, IBufferMessage, IMessage

Reference documentation and code samples for the AI Platform Notebooks v1 API class LocalDiskInitializeParams.

Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both.

Inheritance

object > LocalDiskInitializeParams

Namespace

Google.Cloud.Notebooks.V1

Assembly

Google.Cloud.Notebooks.V1.dll

Constructors

LocalDiskInitializeParams()

public LocalDiskInitializeParams()

LocalDiskInitializeParams(LocalDiskInitializeParams)

public LocalDiskInitializeParams(LocalDiskInitializeParams other)
Parameter
NameDescription
otherLocalDiskInitializeParams

Properties

Description

public string Description { get; set; }

Optional. Provide this property when creating the disk.

Property Value
TypeDescription
string

DiskName

public string DiskName { get; set; }

Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.

Property Value
TypeDescription
string

DiskSizeGb

public long DiskSizeGb { get; set; }

Optional. Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.

Property Value
TypeDescription
long

DiskType

public LocalDiskInitializeParams.Types.DiskType DiskType { get; set; }

Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (PD_STANDARD).

Property Value
TypeDescription
LocalDiskInitializeParamsTypesDiskType

Labels

public MapField<string, string> Labels { get; }

Optional. Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.

Property Value
TypeDescription
MapFieldstringstring