Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class BootDiskDefaults.
BootDiskDefaults hold information about the boot disk of a VM.
Generated from protobuf message google.cloud.vmmigration.v1.BootDiskDefaults
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ image
↳ disk_name
string
Optional. The name of the disk.
↳ disk_type
int
Optional. The type of disk provisioning to use for the VM.
↳ device_name
string
Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
↳ encryption
getImage
The image to use when creating the disk.
hasImage
setImage
The image to use when creating the disk.
$this
getDiskName
Optional. The name of the disk.
string
setDiskName
Optional. The name of the disk.
var
string
$this
getDiskType
Optional. The type of disk provisioning to use for the VM.
setDiskType
Optional. The type of disk provisioning to use for the VM.
$this
getDeviceName
Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
string
setDeviceName
Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
var
string
$this
getEncryption
Optional. The encryption to apply to the boot disk.
hasEncryption
clearEncryption
setEncryption
Optional. The encryption to apply to the boot disk.
$this
getSource
string

