MicrosoftSerialConsoleClient Class

The Azure Serial Console allows you to access the serial console of a Virtual Machine or VM scale set instance.

Inheritance
azure.mgmt.serialconsole.operations._microsoft_serial_console_client_operations.MicrosoftSerialConsoleClientOperationsMixin
MicrosoftSerialConsoleClient

Constructor

MicrosoftSerialConsoleClient(credential: TokenCredential, subscription_id: str, base_url: Optional[str] = None, **kwargs: Any)

Parameters

credential
TokenCredential
Required

Credential needed for the client to connect to Azure.

subscription_id
str
Required

Subscription ID which uniquely identifies the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call requiring it.

base_url
str
default value: None

Service URL

Variables

serial_ports
SerialPortsOperations

SerialPortsOperations operations

Methods

close

close

close() -> None