Get-AzBatchApplicationPackage
Gets information about an application package in a Batch account.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzBatchApplicationPackage
[-AccountName] <String>
[-ResourceGroupName] <String>
[-ApplicationName] <String>
[[-ApplicationVersion] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzBatchApplicationPackage cmdlet gets information about an application package in an Azure Batch account.
Examples
Example 1: Get details of an application package in a Batch account
PS C:\>Get-AzBatchApplicationPackage -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationName "Litware" -ApplicationVersion "1.0"
Format : zip
State : Active
Version : 1.0
LastActivationTime : 13/05/2016 4:03:24 AM
StorageUrl : https://contosobatch.blob.core.windows.net/app-test
StorageUrlExpiry : 13/05/2016 8:04:44 AM
Id : litware
This command gets the details of version 1.0 of the Litware package.
Parameters
Specifies the name of the Batch account from which this cmdlet gets information.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the name of the application.
| Type: | String |
| Aliases: | ApplicationId |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the version of the application.
| Type: | String |
| Position: | 3 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the name of the resource group that contains the Batch account.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |