适用于 Azure Batch 的 Azure CLI 示例Azure CLI examples for Azure Batch

下表包括 Azure Batch 的 Azure CLI 示例的链接。The following table includes links to Azure CLI examples for Azure Batch.

创建批处理帐户Create a Batch account
在 Batch 服务模式下创建 Batch 帐户Create a Batch account in Batch service mode 在默认模式下创建 Batch 帐户并将其与存储帐户相关联。Creates a Batch account in the default mode and associates it with a storage account.
在用户订阅模式下创建 Batch 帐户Create a Batch account in user subscription mode 在用户订阅模式下创建 Batch 帐户。Creates a Batch account in user subscription mode.
添加应用程序Add an application
向 Batch 帐户添加应用程序Add an application to a Batch account 添加应用程序,并上传打包的二进制文件。Adds an application and uploads packaged binaries.
创建和管理计算节点池Create and manage pools of compute nodes
创建和管理 Linux 池Create and manage a Linux pool 演示如何创建、管理 Linux 池并调整其大小。Demonstrates creating, resizing, and managing a Linux pool.
创建和管理 Windows 池Create and manage a Windows pool 演示如何创建、管理 Windows 池并调整其大小。Demonstrates creating, resizing, and managing a Windows pool.
运行作业和任务Run jobs and tasks
使用批处理运行作业和任务Run a job and tasks with Batch 演示如何运行作业和添加任务。Demonstrates running a job and adding tasks.