你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ComputeBatchModelFactory.BatchApplication Method
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 BatchApplication.
public static Azure.Compute.Batch.BatchApplication BatchApplication (string id = default, string displayName = default, System.Collections.Generic.IEnumerable<string> versions = default);
static member BatchApplication : string * string * seq<string> -> Azure.Compute.Batch.BatchApplication
Public Shared Function BatchApplication (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional versions As IEnumerable(Of String) = Nothing) As BatchApplication
Parameters
- id
- String
A string that uniquely identifies the application within the Account.
- displayName
- String
The display name for the application.
- versions
- IEnumerable<String>
The list of available versions of the application.
Returns
A new BatchApplication instance for mocking.