Skip to main content

consoles

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

Overview

Nameconsoles
TypeResource
Idazure.serial_console.consoles

Fields

NameDatatypeDescription
propertiesobject

Methods

NameAccessible byRequired ParamsDescription
get_statusSELECTdefault, subscriptionIdGets whether or not Serial Console is disabled for a given subscription
disableEXECdefault, subscriptionIdDisables the Serial Console service for all VMs and VM scale sets in the provided subscription
enableEXECdefault, subscriptionIdEnables the Serial Console service for all VMs and VM scale sets in the provided subscription

SELECT examples

Gets whether or not Serial Console is disabled for a given subscription

SELECT
properties
FROM azure.serial_console.consoles
WHERE default = '{{ default }}'
AND subscriptionId = '{{ subscriptionId }}';