是否有用于这些AWS CLI功能的Azure命令行界面

时间:2015-11-22 09:36:38

标签: powershell azure amazon-web-services command-line-interface

我有一个应用程序,它使用Aamzon命令行界面来描述,启动,停止和重新启动实例。我想在Azure上构建一个版本。有没有人知道以下是否有适用于Azure的界面的CLI?

ec2-describe-instances

ec2-reboot-instances

ec2-start-instances

ec2-stop-instances

1 个答案:

答案 0 :(得分:0)

您可以使用azure powershell或azure xcli

在azure xcli上这些命令是

azure vm show
azure vm restart
azure vm start
azure vm stop

您可以使用

列表
azure vm list

Powershell命令

Get-AzureVM
Restart-AzureVM
Start-AzureVM
Stop-AzureVM