Share via


VirtualMachineRunCommandsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:virtual_machine_run_commands> attribute.

Constructor

VirtualMachineRunCommandsOperations(*args, **kwargs)

Methods

get

Gets specific run command for a subscription in a ___location.

list

Lists all available run commands for a subscription in a ___location.

get

Gets specific run command for a subscription in a ___location.

get(___location: str, command_id: str, **kwargs: Any) -> RunCommandDocument

Parameters

Name Description
___location
Required
str

The ___location upon which run commands is queried. Required.

command_id
Required
str

The command id. Required.

Returns

Type Description

RunCommandDocument or the result of cls(response)

Exceptions

Type Description

list

Lists all available run commands for a subscription in a ___location.

list(___location: str, **kwargs: Any) -> Iterable[RunCommandDocumentBase]

Parameters

Name Description
___location
Required
str

The ___location upon which run commands is queried. Required.

Returns

Type Description

An iterator like instance of either RunCommandDocumentBase or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2019_07_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv86\\Lib\\site-packages\\azure\\mgmt\\compute\\v2019_07_01\\models\\__init__.py'>