images
Creates, updates, deletes, gets or lists an images
resource.
Overview
Name | images |
Type | Resource |
Id | azure.lab_services.images |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_lab_plan
The request was successful; the image is returned
Name | Datatype | Description |
---|---|---|
properties | object | Image resource properties |
systemData | object | Metadata pertaining to creation and last modification of the image. |
The request was successful; a list of images is returned
Name | Datatype | Description |
---|---|---|
properties | object | Image resource properties |
systemData | object | Metadata pertaining to creation and last modification of the image. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | Gets an image resource. | ||
list_by_lab_plan | select | Gets all images from galleries attached to a lab plan. | ||
create_or_update | insert | data__properties | Updates an image resource via PUT. Creating new resources via PUT will not function. | |
update | update | Updates an image resource. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|
SELECT
examples
- get
- list_by_lab_plan
Gets an image resource.
SELECT
properties,
systemData
FROM azure.lab_services.images
;
Gets all images from galleries attached to a lab plan.
SELECT
properties,
systemData
FROM azure.lab_services.images
;
INSERT
examples
- create_or_update
- Manifest
Updates an image resource via PUT. Creating new resources via PUT will not function.
INSERT INTO azure.lab_services.images (
data__properties
)
SELECT
'{{ properties }}' /* required */
RETURNING
properties,
systemData
;
# Description fields are for documentation purposes
- name: images
props:
- name: properties
value: object
description: |
Image resource properties
UPDATE
examples
- update
Updates an image resource.
UPDATE azure.lab_services.images
SET
data__properties = '{{ properties }}'
RETURNING
properties,
systemData;