consoles
Creates, updates, deletes, gets or lists a consoles
resource.
Overview
Name | consoles |
Type | Resource |
Id | azure.cloud_shell.consoles |
Fields
- vw_consoles
- consoles
Name | Datatype | Description |
---|---|---|
consoleName | text | field from the properties object |
os_type | text | field from the properties object |
provisioning_state | text | field from the properties object |
uri | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Cloud shell console properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | consoleName | Gets the console for the user. |
delete | DELETE | consoleName | Deletes the console |
put | REPLACE | consoleName, data__properties | Puts a request for a console |
keep_alive | EXEC | consoleName | Keep console alive |
keep_alive_with_location | EXEC | consoleName, location | Keep console alive |
put_with_location | EXEC | consoleName, location | Puts a request for a console |
SELECT
examples
Gets the console for the user.
- vw_consoles
- consoles
SELECT
consoleName,
os_type,
provisioning_state,
uri
FROM azure.cloud_shell.vw_consoles
WHERE consoleName = '{{ consoleName }}';
SELECT
properties
FROM azure.cloud_shell.consoles
WHERE consoleName = '{{ consoleName }}';
REPLACE
example
Replaces all fields in the specified consoles
resource.
/*+ update */
REPLACE azure.cloud_shell.consoles
SET
properties = '{{ properties }}'
WHERE
consoleName = '{{ consoleName }}'
AND data__properties = '{{ data__properties }}';
DELETE
example
Deletes the specified consoles
resource.
/*+ delete */
DELETE FROM azure.cloud_shell.consoles
WHERE consoleName = '{{ consoleName }}';