add guest os features to compute image

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
megan07 2019-09-18 15:36:04 +00:00 committed by Modular Magician
parent 3995757a08
commit 75ebbfc88f
2 changed files with 14 additions and 39 deletions

View file

@ -79,24 +79,17 @@ options:
type: str type: str
guest_os_features: guest_os_features:
description: description:
- A list of features to enable on the guest OS. Applicable for bootable images - A list of features to enable on the guest operating system.
only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which - Applicable only for bootable images.
allows each virtual CPU to have its own queue. For Windows images, you can only
enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher.
Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.
- For new Windows images, the server might also populate this field with the value
WINDOWS, to indicate that this is a Windows image.
- This value is purely informational and does not enable or disable any features.
required: false required: false
type: list type: list
suboptions: suboptions:
type: type:
description: description:
- The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is - The type of supported feature. Read [Enabling guest operating system features](U(https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features))
supported. For newer Windows images, the server might also populate this to see a list of available options.
property with the value WINDOWS to indicate that this is a Windows image. - 'Some valid choices include: "MULTI_IP_SUBNET", "SECURE_BOOT", "UEFI_COMPATIBLE",
This value is purely informational and does not enable or disable any features. "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS"'
- 'Some valid choices include: "VIRTIO_SCSI_MULTIQUEUE"'
required: false required: false
type: str type: str
image_encryption_key: image_encryption_key:
@ -347,23 +340,15 @@ family:
type: str type: str
guestOsFeatures: guestOsFeatures:
description: description:
- A list of features to enable on the guest OS. Applicable for bootable images only. - A list of features to enable on the guest operating system.
Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows - Applicable only for bootable images.
each virtual CPU to have its own queue. For Windows images, you can only enable
VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux
images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.
- For new Windows images, the server might also populate this field with the value
WINDOWS, to indicate that this is a Windows image.
- This value is purely informational and does not enable or disable any features.
returned: success returned: success
type: complex type: complex
contains: contains:
type: type:
description: description:
- The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. - The type of supported feature. Read [Enabling guest operating system features](U(https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features))
For newer Windows images, the server might also populate this property with to see a list of available options.
the value WINDOWS to indicate that this is a Windows image. This value is
purely informational and does not enable or disable any features.
returned: success returned: success
type: str type: str
id: id:

View file

@ -188,25 +188,15 @@ resources:
type: str type: str
guestOsFeatures: guestOsFeatures:
description: description:
- A list of features to enable on the guest OS. Applicable for bootable images - A list of features to enable on the guest operating system.
only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, - Applicable only for bootable images.
which allows each virtual CPU to have its own queue. For Windows images, you
can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621
or higher. Linux images with kernel versions 3.17 and higher will support
VIRTIO_SCSI_MULTIQUEUE.
- For new Windows images, the server might also populate this field with the
value WINDOWS, to indicate that this is a Windows image.
- This value is purely informational and does not enable or disable any features.
returned: success returned: success
type: complex type: complex
contains: contains:
type: type:
description: description:
- The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is - The type of supported feature. Read [Enabling guest operating system features](U(https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features))
supported. For newer Windows images, the server might also populate this to see a list of available options.
property with the value WINDOWS to indicate that this is a Windows image.
This value is purely informational and does not enable or disable any
features.
returned: success returned: success
type: str type: str
id: id: