os_images
Creates, updates, deletes, gets or lists a os_images
resource.
Overview
Name | os_images |
Type | Resource |
Id | google.baremetalsolution.os_images |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. OS Image's unique name. |
description | string | OS Image description. |
applicableInstanceTypes | array | Instance types this image is applicable to. Available types |
code | string | OS Image code. |
supportedNetworkTemplates | array | Network templates that can be used with this OS Image. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, osImagesId, projectsId | Get details of a single OS image. |
list | SELECT | locationsId, projectsId | Retrieves the list of OS images which are currently approved. |
SELECT
examples
Retrieves the list of OS images which are currently approved.
SELECT
name,
description,
applicableInstanceTypes,
code,
supportedNetworkTemplates
FROM google.baremetalsolution.os_images
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';