< Back

Set-AzureRmBatchApplication

Tue Jan 29, 2019 9:36 pm

NAME Set-AzureRmBatchApplication



SYNOPSIS

Updates settings for the specified application.





SYNTAX

Set-AzureRmBatchApplication [-AccountName] <String> [-ResourceGroupName] <String> [-ApplicationId] <String> [[-DisplayName] <String>]

[[-DefaultVersion] <String>] [[-AllowUpdates] <Boolean>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmBatchApplication cmdlet modifies settings for the specified Azure Batch application.





PARAMETERS

-AccountName <String>

Specifies the name of the Batch account for which this cmdlet modifies an application.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-AllowUpdates <Boolean>

Specifies whether packages within the application can be overwritten using the same version string.



Required? false

Position? 5

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ApplicationId <String>

Specifies the ID of the application.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultVersion <String>

Specifies which package to use if a client requests the application but does not specify a version.



Required? false

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DisplayName <String>

Specifies the display name for the application.



Required? false

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS



NOTES









Example 1: Update an application in a Batch account



PS C:\\>Set-AzureRmBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationId "Litware" -AllowUpdates $False



This command changes whether the Llitware application in the ContosoBatch account allows updates. The command does not change the default version

or display name of the application.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... pplication

Get-AzureRmBatchApplicationPackage

Get-AzureRmBatchApplicationPackage

New-AzureRmBatchApplicationPackage

New-AzureRmBatchApplicationPackage

Remove-AzureRmBatchApplicationPackage

Remove-AzureRmBatchApplicationPackage