Skip to main content

consoles

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

Overview

Nameconsoles
TypeResource
Idazure.cloud_shell.consoles

Fields

NameDatatypeDescription
consoleNametextfield from the properties object
os_typetextfield from the properties object
provisioning_statetextfield from the properties object
uritextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconsoleNameGets the console for the user.
deleteDELETEconsoleNameDeletes the console
putREPLACEconsoleName, data__propertiesPuts a request for a console
keep_aliveEXECconsoleNameKeep console alive
keep_alive_with_locationEXECconsoleName, locationKeep console alive
put_with_locationEXECconsoleName, locationPuts a request for a console

SELECT examples

Gets the console for the user.

SELECT
consoleName,
os_type,
provisioning_state,
uri
FROM azure.cloud_shell.vw_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 }}';