Skip to main content

images

Creates, updates, deletes, gets or lists an images resource.

Overview

Nameimages
TypeResource
Idazure.lab_services.images

Fields

The following fields are returned by SELECT queries:

The request was successful; the image is returned

NameDatatypeDescription
propertiesobjectImage resource properties
systemDataobjectMetadata pertaining to creation and last modification of the image.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets an image resource.
list_by_lab_planselectGets all images from galleries attached to a lab plan.
create_or_updateinsertdata__propertiesUpdates an image resource via PUT. Creating new resources via PUT will not function.
updateupdateUpdates 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.

NameDatatypeDescription

SELECT examples

Gets an image resource.

SELECT
properties,
systemData
FROM azure.lab_services.images
;

INSERT examples

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
;

UPDATE examples

Updates an image resource.

UPDATE azure.lab_services.images
SET
data__properties = '{{ properties }}'
RETURNING
properties,
systemData;