Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IVirtualMachinesBeta 接口

定义

虚拟机管理 API 的入口点。

public interface IVirtualMachinesBeta : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IVirtualMachinesBeta = interface
    interface IBeta
Public Interface IVirtualMachinesBeta
Implements IBeta
派生
实现

方法

RunCommand(String, String, RunCommandInput)

在虚拟机中运行命令。

RunCommandAsync(String, String, RunCommandInput, CancellationToken)

在虚拟机中异步运行命令。

RunPowerShellScript(String, String, IList<String>, IList<RunCommandInputParameter>)

在虚拟机中运行 shell 脚本。

RunPowerShellScriptAsync(String, String, IList<String>, IList<RunCommandInputParameter>, CancellationToken)

在虚拟机中异步运行 shell 脚本。

RunShellScript(String, String, IList<String>, IList<RunCommandInputParameter>)

在虚拟机中运行 shell 脚本。

RunShellScriptAsync(String, String, IList<String>, IList<RunCommandInputParameter>, CancellationToken)

在虚拟机中异步运行 shell 脚本。

适用于