projects
Creates, updates, deletes, gets or lists a projects resource.
Overview
| Name | projects |
| Type | Resource |
| Id | azure.developer_devcenter.projects |
Fields
The following fields are returned by SELECT queries:
- get_project
- list_projects
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the project. Required. |
description | string | Description of the project. |
maxDevBoxesPerUser | integer | When specified, indicates the maximum number of Dev Boxes a single user can create across all pools in the project. |
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the project. Required. |
description | string | Description of the project. |
maxDevBoxesPerUser | integer | When specified, indicates the maximum number of Dev Boxes a single user can create across all pools in the project. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_project | select | project_name, endpoint | Gets a project. | |
list_projects | select | endpoint | Lists all projects. |
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 |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
project_name | string | Name of the project. Required. |
SELECT examples
- get_project
- list_projects
Gets a project.
SELECT
name,
description,
maxDevBoxesPerUser
FROM azure.developer_devcenter.projects
WHERE project_name = '{{ project_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;
Lists all projects.
SELECT
name,
description,
maxDevBoxesPerUser
FROM azure.developer_devcenter.projects
WHERE endpoint = '{{ endpoint }}' -- required
;