你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchJobCreateContent(String, BatchPoolInfo) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BatchJobCreateContent.
public BatchJobCreateContent (string id, Azure.Compute.Batch.BatchPoolInfo poolInfo);
new Azure.Compute.Batch.BatchJobCreateContent : string * Azure.Compute.Batch.BatchPoolInfo -> Azure.Compute.Batch.BatchJobCreateContent
Public Sub New (id As String, poolInfo As BatchPoolInfo)
Parameters
- id
- String
A string that uniquely identifies the Job within the Account. The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case).
- poolInfo
- BatchPoolInfo
The Pool on which the Batch service runs the Job's Tasks.
Exceptions
id
or poolInfo
is null.