Skip to content

Latest commit

 

History

History
147 lines (107 loc) · 3.63 KB

Get-AzBatchApplicationPackage.md

File metadata and controls

147 lines (107 loc) · 3.63 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.PowerShell.Cmdlets.Batch.dll-Help.xml
Az.Batch
17653793-3CE1-465F-87F7-20B4B8F56193
2.0.0

Get-AzBatchApplicationPackage

SYNOPSIS

Gets information about an application package in a Batch account.

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

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

-AccountName

Specifies the name of the Batch account from which this cmdlet gets information.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ApplicationName

Specifies the name of the application.

Type: System.String
Parameter Sets: (All)
Aliases: ApplicationId

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ApplicationVersion

Specifies the version of the application.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResourceGroupName

Specifies the name of the resource group that contains the Batch account.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage

NOTES

RELATED LINKS

Get-AzBatchApplication

New-AzBatchApplication

New-AzBatchApplicationPackage

Remove-AzBatchApplication

Remove-AzBatchApplicationPackage

Set-AzBatchApplication