Skip to main content

dev_box_definitions

Creates, updates, deletes, gets or lists a dev_box_definitions resource.

Overview

Namedev_box_definitions
TypeResource
Idazure.dev_center.dev_box_definitions

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectDev Box definition properties
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets a Dev Box definition
get_by_projectselectGets a Dev Box definition configured for a project
list_by_dev_centerselectList Dev Box definitions for a devcenter.
list_by_projectselectList Dev Box definitions configured for a project.
create_or_updateinsertCreates or updates a Dev Box definition.
updateupdatePartially updates a Dev Box definition.
deletedeleteDeletes a Dev Box definition

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 a Dev Box definition

SELECT
location,
properties,
tags
FROM azure.dev_center.dev_box_definitions
;

INSERT examples

Creates or updates a Dev Box definition.

INSERT INTO azure.dev_center.dev_box_definitions (
data__tags,
data__location,
data__properties
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Partially updates a Dev Box definition.

UPDATE azure.dev_center.dev_box_definitions
SET
data__tags = '{{ tags }}',
data__location = '{{ location }}',
data__properties = '{{ properties }}'
RETURNING
location,
properties,
tags;

DELETE examples

Deletes a Dev Box definition

DELETE FROM azure.dev_center.dev_box_definitions
;