次の方法で共有


VirtualMachineRunCommandsOperations クラス

警告

このクラスを直接インスタンス化しないでください。

代わりに、次の操作にアクセスする必要があります。

ComputeManagementClient's

<xref:virtual_machine_run_commands> 属性を使用する。

継承
builtins.object
VirtualMachineRunCommandsOperations

コンストラクター

VirtualMachineRunCommandsOperations(*args, **kwargs)

メソッド

get

ある場所のサブスクリプションに対する特定の実行コマンドを取得します。

list

ある場所のサブスクリプションで使用可能なすべての実行コマンドを一覧表示します。

get

ある場所のサブスクリプションに対する特定の実行コマンドを取得します。

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

パラメーター

location
str
必須

実行コマンドのクエリを実行する場所。 必須です。

command_id
str
必須

コマンド ID。必須。

cls
callable

直接応答に渡されるカスタム型または関数

戻り値

RunCommandDocument または cls(response) の結果

の戻り値の型 :

例外

list

ある場所のサブスクリプションで使用可能なすべての実行コマンドを一覧表示します。

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

パラメーター

location
str
必須

実行コマンドのクエリを実行する場所。 必須です。

cls
callable

直接応答に渡されるカスタム型または関数

戻り値

RunCommandDocumentBase または cls(response) の結果のいずれかのインスタンスのような反復子

の戻り値の型 :

例外

属性

models

models = <module 'azure.mgmt.compute.v2018_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.7\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2018_04_01\\models\\__init__.py'>