Class RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder

    • Method Detail

      • autoDelete

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder autoDelete​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.Boolean> autoDelete)
        Parameters:
        autoDelete - (Output) Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
        Returns:
        builder
      • autoDelete

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder autoDelete​(java.lang.Boolean autoDelete)
        Parameters:
        autoDelete - (Output) Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
        Returns:
        builder
      • boot

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder boot​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.Boolean> boot)
        Parameters:
        boot - (Output) Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
        Returns:
        builder
      • deviceName

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder deviceName​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.String> deviceName)
        Parameters:
        deviceName - (Output) 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. This name can be used to reference the device for mounting, resizing, and so on, from 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.
        Returns:
        builder
      • deviceName

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder deviceName​(java.lang.String deviceName)
        Parameters:
        deviceName - (Output) 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. This name can be used to reference the device for mounting, resizing, and so on, from 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.
        Returns:
        builder
      • guestOsFeatures

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder guestOsFeatures​(@Nullable
                                                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> guestOsFeatures)
        Parameters:
        guestOsFeatures - (Output) Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available features, read `https://cloud.google.com/compute/docs/ images/create-delete-deprecate-private-images#guest-os-features` options. ``
        Returns:
        builder
      • guestOsFeatures

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder guestOsFeatures​(java.util.List<java.lang.String> guestOsFeatures)
        Parameters:
        guestOsFeatures - (Output) Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available features, read `https://cloud.google.com/compute/docs/ images/create-delete-deprecate-private-images#guest-os-features` options. ``
        Returns:
        builder
      • guestOsFeatures

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder guestOsFeatures​(java.lang.String... guestOsFeatures)
        Parameters:
        guestOsFeatures - (Output) Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available features, read `https://cloud.google.com/compute/docs/ images/create-delete-deprecate-private-images#guest-os-features` options. ``
        Returns:
        builder
      • index

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder index​(@Nullable
                                                                                   com.pulumi.core.Output<java.lang.Integer> index)
        Parameters:
        index - (Output) Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.
        Returns:
        builder
      • index

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder index​(java.lang.Integer index)
        Parameters:
        index - (Output) Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.
        Returns:
        builder
      • interface_

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder interface_​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.String> interface_)
        Parameters:
        interface_ - "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI".
        Returns:
        builder
      • interface_

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder interface_​(java.lang.String interface_)
        Parameters:
        interface_ - "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI".
        Returns:
        builder
      • mode

        public RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs.Builder mode​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.String> mode)
        Parameters:
        mode - The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
        Returns:
        builder