azure.mgmt.serialconsole.operations module

class azure.mgmt.serialconsole.operations.ListOperations(client, config, serializer, deserializer)[source]

Bases: object

ListOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The API version to use for this operation. Constant value: “2018-05-01”.

operations(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of Serial Console API operations.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SerialConsoleOperations or ClientRawResponse if raw=true

Return type

SerialConsoleOperations or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.serialconsole.models' from '/home/vsts/work/1/s/sdk/serialconsole/azure-mgmt-serialconsole/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/serialconsole/models/__init__.py'>
class azure.mgmt.serialconsole.operations.ListConsoleOperations(client, config, serializer, deserializer)[source]

Bases: object

ListConsoleOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables
  • api_version – The API version to use for this operation. Constant value: “2018-05-01”.

  • default – Default string modeled as parameter for URL to work correctly. Constant value: “default”.

disabled(custom_headers=None, raw=False, **operation_config)[source]

Gets if Serial Console is disabled for a subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

GetDisabledResult or ClientRawResponse if raw=true

Return type

GetDisabledResult or ClientRawResponse

Raises

DeploymentValidateResultException

models = <module 'azure.mgmt.serialconsole.models' from '/home/vsts/work/1/s/sdk/serialconsole/azure-mgmt-serialconsole/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/serialconsole/models/__init__.py'>
class azure.mgmt.serialconsole.operations.ConsoleOperations(client, config, serializer, deserializer)[source]

Bases: object

ConsoleOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables
  • api_version – The API version to use for this operation. Constant value: “2018-05-01”.

  • default – Default string modeled as parameter for URL to work correctly. Constant value: “default”.

disable_console(custom_headers=None, raw=False, **operation_config)[source]

Disables Serial Console for a subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SetDisabledResult or ClientRawResponse if raw=true

Return type

SetDisabledResult or ClientRawResponse

Raises

DeploymentValidateResultException

enable_console(custom_headers=None, raw=False, **operation_config)[source]

Enables Serial Console for a subscription.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SetDisabledResult or ClientRawResponse if raw=true

Return type

SetDisabledResult or ClientRawResponse

Raises

DeploymentValidateResultException

models = <module 'azure.mgmt.serialconsole.models' from '/home/vsts/work/1/s/sdk/serialconsole/azure-mgmt-serialconsole/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/serialconsole/models/__init__.py'>