Share via


ApplicationPackageReference Constructors

Definition

Overloads

ApplicationPackageReference()

Initializes a new instance of the ApplicationPackageReference class.

ApplicationPackageReference(String, String)

Initializes a new instance of the ApplicationPackageReference class.

ApplicationPackageReference()

Initializes a new instance of the ApplicationPackageReference class.

public ApplicationPackageReference ();
Public Sub New ()

Applies to

ApplicationPackageReference(String, String)

Initializes a new instance of the ApplicationPackageReference class.

public ApplicationPackageReference (string id, string version = default);
new Microsoft.Azure.Management.Batch.Models.ApplicationPackageReference : string * string -> Microsoft.Azure.Management.Batch.Models.ApplicationPackageReference
Public Sub New (id As String, Optional version As String = Nothing)

Parameters

id
String

The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.

version
String

The version of the application to deploy. If omitted, the default version is deployed.

Applies to