Skip to main content

pools

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

Overview

Namepools
TypeResource
Idazure.developer_devcenter.pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringPool name. Required.
hardwareProfileobjectHardware settings for the Dev Boxes created in this pool.
healthStatusstringOverall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. Required. Known values are: "Unknown", "Pending", "Healthy", "Warning", and "Unhealthy". (Unknown, Pending, Healthy, Warning, Unhealthy)
hibernateSupportstringIndicates whether hibernate is enabled/disabled or unknown. Known values are: "Enabled", "Disabled", and "OsUnsupported". (Enabled, Disabled, OsUnsupported)
imageReferenceobjectImage settings for Dev Boxes create in this pool.
localAdministratorstringIndicates whether owners of Dev Boxes in this pool are local administrators on the Dev Boxes. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
locationstringAzure region where Dev Boxes in the pool are located. Required.
osTypestringThe operating system type of Dev Boxes in this pool. "Windows" (Windows)
stopOnDisconnectobjectStop on disconnect configuration settings for Dev Boxes created in this pool.
storageProfileobjectStorage settings for Dev Box created in this pool.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_poolselectproject_name, pool_name, endpointGets a pool.
list_poolsselectproject_name, endpointLists available pools.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
pool_namestringPool name. Required.
project_namestringName of the project. Required.

SELECT examples

Gets a pool.

SELECT
name,
hardwareProfile,
healthStatus,
hibernateSupport,
imageReference,
localAdministrator,
location,
osType,
stopOnDisconnect,
storageProfile
FROM azure.developer_devcenter.pools
WHERE project_name = '{{ project_name }}' -- required
AND pool_name = '{{ pool_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;