public interface ApplicationPackage extends ExternalChildResource<ApplicationPackage,Application>, HasInner<com.microsoft.azure.management.batch.implementation.ApplicationPackageInner>
Modifier and Type | Method and Description |
---|---|
void |
activate(String format)
Activates the application package.
|
rx.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() |
org.joda.time.DateTime |
lastActivationTime() |
PackageState |
state() |
String |
storageUrl() |
org.joda.time.DateTime |
storageUrlExpiry() |
id
key
name
parent
refresh, refreshAsync
PackageState state()
String format()
String storageUrl()
org.joda.time.DateTime storageUrlExpiry()
org.joda.time.DateTime lastActivationTime()
@Beta void activate(String format)
format
- the format of the uploaded Batch application package, either "zip" or "tar"@Beta rx.Completable activateAsync(String format)
format
- the format of the uploaded Batch application package, either "zip" or "tar"@Beta ServiceFuture<Void> activateAsync(String format, ServiceCallback<Void> callback)
format
- the format of the uploaded Batch application package, either "zip" or "tar"callback
- the callback to call on success or failurevoid delete()
Copyright © 2019. All rights reserved.