ApplicationPackagesInner Class
- java.
lang. Object - com.
microsoft. azure. management. batch. implementation. ApplicationPackagesInner
- com.
public class ApplicationPackagesInner
An instance of this class provides access to all the operations defined in ApplicationPackages.
Constructor Summary
Constructor | Description |
---|---|
ApplicationPackagesInner(Retrofit retrofit, BatchManagementClientImpl client) |
Initializes an instance of ApplicationPackagesInner. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Application |
activate(String resourceGroupName, String accountName, String applicationName, String versionName, String format)
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. |
Observable<Application |
activateAsync(String resourceGroupName, String accountName, String applicationName, String versionName, String format)
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. |
ServiceFuture<Application |
activateAsync(String resourceGroupName, String accountName, String applicationName, String versionName, String format, final ServiceCallback<ApplicationPackageInner> serviceCallback)
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. |
Observable<ServiceResponse<Application |
activateWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationName, String versionName, String format)
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. |
Application |
create(String resourceGroupName, String accountName, String applicationName, String versionName)
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS. |
Observable<Application |
createAsync(String resourceGroupName, String accountName, String applicationName, String versionName)
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS. |
ServiceFuture<Application |
createAsync(String resourceGroupName, String accountName, String applicationName, String versionName, final ServiceCallback<ApplicationPackageInner> serviceCallback)
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS. |
Observable<ServiceResponse<Application |
createWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationName, String versionName)
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS. |
void |
delete(String resourceGroupName, String accountName, String applicationName, String versionName)
Deletes an application package record and its associated binary file. |
Observable<Void> |
deleteAsync(String resourceGroupName, String accountName, String applicationName, String versionName)
Deletes an application package record and its associated binary file. |
ServiceFuture<Void> |
deleteAsync(String resourceGroupName, String accountName, String applicationName, String versionName, final ServiceCallback<Void> serviceCallback)
Deletes an application package record and its associated binary file. |
Observable<ServiceResponse<Void>> |
deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationName, String versionName)
Deletes an application package record and its associated binary file. |
Application |
get(String resourceGroupName, String accountName, String applicationName, String versionName)
Gets information about the specified application package. |
Observable<Application |
getAsync(String resourceGroupName, String accountName, String applicationName, String versionName)
Gets information about the specified application package. |
ServiceFuture<Application |
getAsync(String resourceGroupName, String accountName, String applicationName, String versionName, final ServiceCallback<ApplicationPackageInner> serviceCallback)
Gets information about the specified application package. |
Observable<ServiceResponse<Application |
getWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationName, String versionName)
Gets information about the specified application package. |
PagedList<Application |
list(final String resourceGroupName, final String accountName, final String applicationName)
Lists all of the application packages in the specified application. |
PagedList<Application |
list(final String resourceGroupName, final String accountName, final String applicationName, final Integer maxresults)
Lists all of the application packages in the specified application. |
Observable<Page<Application |
listAsync(final String resourceGroupName, final String accountName, final String applicationName)
Lists all of the application packages in the specified application. |
Observable<Page<Application |
listAsync(final String resourceGroupName, final String accountName, final String applicationName, final Integer maxresults)
Lists all of the application packages in the specified application. |
ServiceFuture<List<Application |
listAsync(final String resourceGroupName, final String accountName, final String applicationName, final Integer maxresults, final ListOperationCallback<ApplicationPackageInner> serviceCallback)
Lists all of the application packages in the specified application. |
ServiceFuture<List<Application |
listAsync(final String resourceGroupName, final String accountName, final String applicationName, final ListOperationCallback<ApplicationPackageInner> serviceCallback)
Lists all of the application packages in the specified application. |
PagedList<Application |
listNext(final String nextPageLink)
Lists all of the application packages in the specified application. |
Observable<Page<Application |
listNextAsync(final String nextPageLink)
Lists all of the application packages in the specified application. |
ServiceFuture<List<Application |
listNextAsync(final String nextPageLink, final ServiceFuture<List<ApplicationPackageInner>> serviceFuture, final ListOperationCallback<ApplicationPackageInner> serviceCallback)
Lists all of the application packages in the specified application. |
Observable<ServiceResponse<Page<Application |
listNextSinglePageAsync(final String nextPageLink)
Lists all of the application packages in the specified application. ServiceResponse<PageImpl<ApplicationPackageInner>> * |
Observable<ServiceResponse<Page<Application |
listNextWithServiceResponseAsync(final String nextPageLink)
Lists all of the application packages in the specified application. |
Observable<ServiceResponse<Page<Application |
listSinglePageAsync(final String resourceGroupName, final String accountName, final String applicationName)
Lists all of the application packages in the specified application. |
Observable<ServiceResponse<Page<Application |
listSinglePageAsync(final String resourceGroupName, final String accountName, final String applicationName, final Integer maxresults)
Lists all of the application packages in the specified application. ServiceResponse<PageImpl<ApplicationPackageInner>> * |
Observable<ServiceResponse<Page<Application |
listWithServiceResponseAsync(final String resourceGroupName, final String accountName, final String applicationName)
Lists all of the application packages in the specified application. |
Observable<ServiceResponse<Page<Application |
listWithServiceResponseAsync(final String resourceGroupName, final String accountName, final String applicationName, final Integer maxresults)
Lists all of the application packages in the specified application. |
Constructor Details
ApplicationPackagesInner
public ApplicationPackagesInner(Retrofit retrofit, BatchManagementClientImpl client)
Initializes an instance of ApplicationPackagesInner.
Parameters:
Method Details
activate
public ApplicationPackageInner activate(String resourceGroupName, String accountName, String applicationName, String versionName, String format)
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:
Throws:
activateAsync
public Observable
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:
Throws:
activateAsync
public ServiceFuture
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:
Throws:
activateWithServiceResponseAsync
public Observable
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:
Throws:
create
public ApplicationPackageInner create(String resourceGroupName, String accountName, String applicationName, String versionName)
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS.
Parameters:
Returns:
Throws:
createAsync
public Observable
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS.
Parameters:
Returns:
Throws:
createAsync
public ServiceFuture
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS.
Parameters:
Returns:
Throws:
createWithServiceResponseAsync
public Observable
Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS.
Parameters:
Returns:
Throws:
delete
public void delete(String resourceGroupName, String accountName, String applicationName, String versionName)
Deletes an application package record and its associated binary file.
Parameters:
Throws:
deleteAsync
public Observable
Deletes an application package record and its associated binary file.
Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Deletes an application package record and its associated binary file.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable
Deletes an application package record and its associated binary file.
Parameters:
Returns:
Throws:
get
public ApplicationPackageInner get(String resourceGroupName, String accountName, String applicationName, String versionName)
Gets information about the specified application package.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets information about the specified application package.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Gets information about the specified application package.
Parameters:
Returns:
Throws:
getWithServiceResponseAsync
public Observable
Gets information about the specified application package.
Parameters:
Returns:
Throws:
list
public PagedList
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
list
public PagedList
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listAsync
public ServiceFuture> listAsync(final String resourceGroupName, final String accountName, final String applicationName, final Integer maxresults, final ListOperationCallback
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listAsync
public ServiceFuture> listAsync(final String resourceGroupName, final String accountName, final String applicationName, final ListOperationCallback
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listNext
public PagedList
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listNextAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listNextAsync
public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture
> serviceFuture, final ListOperationCallback
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listNextSinglePageAsync
public Observable
Lists all of the application packages in the specified application.
ServiceResponse<PageImpl<ApplicationPackageInner>> *
Parameters:
Returns:
Throws:
listNextWithServiceResponseAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listSinglePageAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listSinglePageAsync
public Observable
Lists all of the application packages in the specified application.
ServiceResponse<PageImpl<ApplicationPackageInner>> *
Parameters:
Returns:
Throws:
listWithServiceResponseAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
listWithServiceResponseAsync
public Observable
Lists all of the application packages in the specified application.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java