Set-​Azure​Rm​Batch​Account

Updates a Batch account.

Syntax

Set-AzureRmBatchAccount
   [-AccountName] <String>
   [-Tag] <Hashtable>
   [-AutoStorageAccountId <String>]
   [-ResourceGroupName <String>]
   [<CommonParameters>]

Description

The Set-AzureRmBatchAccount cmdlet updates an Azure Batch account. Currently, this cmdlet can update only tags.

Examples

Example 1: Update the tags on a Batch account

PS C:\>Set-AzureRmBatchAccount -AccountName "cmdletexample" -Tag @(@{Name = "tag1";Value = "value1"},@{Name = "tag2";Value = "value2"})
AccountName                  : cmdletexample

Location                     : westus

ResourceGroupName            : CmdletExampleRG

CoreQuota                    : 20

PoolQuota                    : 20

ActiveJobAndJobScheduleQuota : 20

Tags                         : 

                               Name  Value

                               ====  ======

                               tag1  value1

                               tag2  value2

TaskTenantUrl                : https://cmdletexample.westus.batch.azure.com

This command updates the tags on the account named pfuller.

Required Parameters

-AccountName

Specifies the name of the Batch account that this cmdlet updates.

Type:String
Aliases:Name
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Tag

Specifies an array of hash tables of tags for the account.

Type:Hashtable
Aliases:Tags
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AutoStorageAccountId

Specifies the resource ID of the storage account to be used for auto storage.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the resource group of the account that this cmdlet updates.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

BatchAccountContext