最佳答案
注意:无法通过 Azure CLI 重新启动 Azure 云服务实例。
正如 Walter 所说,您可以使用 Azure CLI 1.0 创建和管理 Azure 云服务,但无法重新启动实例。
您可以使用 Azure CLI 1.0 检查 Azure 云服务的可用选项:
Azure CLI Options for Cloud Services
您可以使用 Azure PowerShell 重新启动云服务实例:
PS C:> ReSet-AzureRoleInstance -ServiceName "MySvc01"-Slot "Staging"-InstanceName "MyWebRole_IN_0"-Reboot
关于azure - 使用 Azure CLI 重新启动 Azure 云服务实例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44790959/