ApplicationPackage Interface
public interface ApplicationPackage extends ExternalChildResource<ApplicationPackage, Application>,HasInner
An immutable client-side representation of an Azure Batch application package.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
activate(String format)
Activates the application package. |
Completable |
activateAsync(String format)
Activates the application package asynchronously. |
ServiceFuture<Void> |
activateAsync(String format, ServiceCallback<Void> callback)
Activates the application package asynchronously. |
void |
delete()
Deletes the application package. |
String | format() |
DateTime | lastActivationTime() |
Package |
state() |
String | storageUrl() |
DateTime | storageUrlExpiry() |
Inherited Members
Method Details
activate
public void activate(String format)
Activates the application package.
Parameters:
activateAsync
public Completable activateAsync(String format)
Activates the application package asynchronously.
Parameters:
Returns:
activateAsync
public ServiceFuture
Activates the application package asynchronously.
Parameters:
Returns:
delete
public void delete()
Deletes the application package.
format
public String format()
Returns:
lastActivationTime
public DateTime lastActivationTime()
Returns:
state
public PackageState state()
Returns:
storageUrl
public String storageUrl()
Returns:
storageUrlExpiry
public DateTime storageUrlExpiry()
Returns: