Share via


ApplicationPackage Constructors

Definition

Overloads

ApplicationPackage()

Initializes a new instance of the ApplicationPackage class.

ApplicationPackage(String, String, String, String, Nullable<PackageState>, String, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the ApplicationPackage class.

ApplicationPackage()

Initializes a new instance of the ApplicationPackage class.

public ApplicationPackage ();
Public Sub New ()

Applies to

ApplicationPackage(String, String, String, String, Nullable<PackageState>, String, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the ApplicationPackage class.

public ApplicationPackage (string id = default, string name = default, string type = default, string etag = default, Microsoft.Azure.Management.Batch.Models.PackageState? state = default, string format = default, string storageUrl = default, DateTime? storageUrlExpiry = default, DateTime? lastActivationTime = default);
new Microsoft.Azure.Management.Batch.Models.ApplicationPackage : string * string * string * string * Nullable<Microsoft.Azure.Management.Batch.Models.PackageState> * string * string * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.Batch.Models.ApplicationPackage
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional state As Nullable(Of PackageState) = Nothing, Optional format As String = Nothing, Optional storageUrl As String = Nothing, Optional storageUrlExpiry As Nullable(Of DateTime) = Nothing, Optional lastActivationTime As Nullable(Of DateTime) = Nothing)

Parameters

id
String

The ID of the resource.

name
String

The name of the resource.

type
String

The type of the resource.

etag
String

The ETag of the resource, used for concurrency statements.

state
Nullable<PackageState>

The current state of the application package. Possible values include: 'Pending', 'Active'

format
String

The format of the application package, if the package is active.

storageUrl
String

The URL for the application package in Azure Storage.

storageUrlExpiry
Nullable<DateTime>

The UTC time at which the Azure Storage URL will expire.

lastActivationTime
Nullable<DateTime>

The time at which the package was last activated, if the package is active.

Applies to