ApplicationPackage Interface
Implements
public interface ApplicationPackage
extends ExternalChildResource<ApplicationPackage,Application>, HasInner<ApplicationPackageInner>
An immutable client-side representation of an Azure Batch application package.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
activate(String format)
Activates the application package. |
abstract rx.Completable |
activateAsync(String format)
Activates the application package asynchronously. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
activateAsync(String format, ServiceCallback<Void> callback)
Activates the application package asynchronously. |
abstract void |
delete()
Deletes the application package. |
abstract java.lang.String | format() |
abstract org.joda.time.DateTime | lastActivationTime() |
abstract
Package |
state() |
abstract java.lang.String | storageUrl() |
abstract org.joda.time.DateTime | storageUrlExpiry() |
Method Details
activate
public abstract void activate(String format)
Activates the application package.
Parameters:
activateAsync
public abstract Completable activateAsync(String format)
Activates the application package asynchronously.
Parameters:
Returns:
activateAsync
public abstract ServiceFuture
Activates the application package asynchronously.
Parameters:
Returns:
delete
public abstract void delete()
Deletes the application package.
format
public abstract String format()
Returns:
lastActivationTime
public abstract DateTime lastActivationTime()
Returns:
state
public abstract PackageState state()
Returns:
storageUrl
public abstract String storageUrl()
Returns:
storageUrlExpiry
public abstract DateTime storageUrlExpiry()
Returns:
Applies to
Azure SDK for Java