ApplicationPackage Interface
public interface ApplicationPackage
An immutable client-side representation of ApplicationPackage.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Application |
activate(ActivateApplicationPackageParameters parameters)
Activates the specified application package. |
|
abstract
Response<Application |
activateWithResponse(ActivateApplicationPackageParameters parameters, Context context)
Activates the specified application package. |
| abstract String |
etag()
Gets the etag property: The ETag of the resource, used for concurrency statements. |
| abstract String |
format()
Gets the format property: The format of the application package, if the package is active. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Application |
innerModel()
Gets the inner com. |
|
abstract
Offset |
lastActivationTime()
Gets the last |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Application |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Application |
refresh(Context context)
Refreshes the resource to sync with Azure. |
|
abstract
Package |
state()
Gets the state property: The current state of the application package. |
| abstract String |
storageUrl()
Gets the storage |
|
abstract
Offset |
storageUrlExpiry()
Gets the storage |
| abstract Map<String,String> |
tags()
Gets the tags property: The tags of the resource. |
| abstract String |
type()
Gets the type property: The type of the resource. |
Method Details
activate
public abstract ApplicationPackage activate(ActivateApplicationPackageParameters parameters)
Activates the specified application package. This should be done after the `ApplicationPackage` was created and uploaded. This needs to be done before an `ApplicationPackage` can be used on Pools or Tasks.
Parameters:
Returns:
activateWithResponse
public abstract Response<ApplicationPackage> activateWithResponse(ActivateApplicationPackageParameters parameters, Context context)
Activates the specified application package. This should be done after the `ApplicationPackage` was created and uploaded. This needs to be done before an `ApplicationPackage` can be used on Pools or Tasks.
Parameters:
Returns:
etag
public abstract String etag()
Gets the etag property: The ETag of the resource, used for concurrency statements.
Returns:
format
public abstract String format()
Gets the format property: The format of the application package, if the package is active.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract ApplicationPackageInner innerModel()
Gets the inner com.azure.resourcemanager.batch.fluent.models.ApplicationPackageInner object.
Returns:
lastActivationTime
public abstract OffsetDateTime lastActivationTime()
Gets the lastActivationTime property: The time at which the package was last activated, if the package is active.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
refresh
public abstract ApplicationPackage refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract ApplicationPackage refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
state
public abstract PackageState state()
Gets the state property: The current state of the application package.
Returns:
storageUrl
public abstract String storageUrl()
Gets the storageUrl property: The URL for the application package in Azure Storage.
Returns:
storageUrlExpiry
public abstract OffsetDateTime storageUrlExpiry()
Gets the storageUrlExpiry property: The UTC time at which the Azure Storage URL will expire.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: The tags of the resource.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns: