VirtualMachineBlockDeviceAttachment

Scope: Namespaced
Version: v1alpha2

VirtualMachineBlockDeviceAttachment provides a hot plug for connecting a disk to a virtual machine.

  • apiVersion
    string

    APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

  • kind
    string

    Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  • metadata
    object
  • spec
    object

    Required value

    • spec.blockDeviceRef
      object

      Required value

      A block device that will be connected to the VM as a hot Plug disk.

      • spec.blockDeviceRef.kind
        string

        The type of the block device. Options are:

        • VirtualDisk — use VirtualDisk as the disk. This type is always mounted in RW mode.

        Allowed values: VirtualDisk

      • spec.blockDeviceRef.name
        string

        The name of block device to attach.

    • spec.virtualMachineName
      string

      Required value

      The name of the virtual machine to which the disk or image should be connected.