你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchApplicationPackageReference(String) Constructor

Definition

Initializes a new instance of BatchApplicationPackageReference.

public BatchApplicationPackageReference (string applicationId);
new Azure.Compute.Batch.BatchApplicationPackageReference : string -> Azure.Compute.Batch.BatchApplicationPackageReference
Public Sub New (applicationId As String)

Parameters

applicationId
String

The ID of the application to deploy. When creating a pool, the package's application ID must be fully qualified (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}).

Exceptions

applicationId is null.

Applies to