Share via


ApplicationPackageOperations interface

Interface representing a ApplicationPackage operations.

Properties

activate

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.

create

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.

delete
get

Gets information about the specified application package.

list

Lists all of the application packages in the specified application.

Property Details

activate

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.

activate: (resourceGroupName: string, accountName: string, applicationName: string, versionName: string, parameters: ActivateApplicationPackageParameters, options?: ApplicationPackageActivateOptionalParams) => Promise<ApplicationPackage>

Property Value

(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, parameters: ActivateApplicationPackageParameters, options?: ApplicationPackageActivateOptionalParams) => Promise<ApplicationPackage>

create

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.

create: (resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageCreateOptionalParams) => Promise<ApplicationPackage>

Property Value

(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageCreateOptionalParams) => Promise<ApplicationPackage>

delete

delete: (resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageDeleteOptionalParams) => Promise<void>

get

Gets information about the specified application package.

get: (resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageGetOptionalParams) => Promise<ApplicationPackage>

Property Value

(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageGetOptionalParams) => Promise<ApplicationPackage>

list

Lists all of the application packages in the specified application.

list: (resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationPackageListOptionalParams) => PagedAsyncIterableIterator<ApplicationPackage, ApplicationPackage[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationPackageListOptionalParams) => PagedAsyncIterableIterator<ApplicationPackage, ApplicationPackage[], PageSettings>