diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 index 1a2070f8896d..d09ffbb343ef 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 @@ -49,7 +49,7 @@ function Test-UpdateComputeNodeUser { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$userName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Basically just validating that we can set the parameters and execute the cmdlet without error. # If a Get user API is added, we can validate that the properties were actually updated. diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 index b79c8db0eb71..24d61fd55cdd 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 @@ -336,7 +336,7 @@ function Test-UpdateJobSchedule { param([string]$accountName, [string]$jobScheduleId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 index b15cb926ad8b..b4856c028c7d 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 @@ -333,7 +333,7 @@ function Test-UpdateJob { param([string]$accountName, [string]$jobId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Create the job with an auto pool $poolSpec = New-Object Microsoft.Azure.Commands.Batch.Models.PSPoolSpecification diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 index 0691a39b03a3..d777942ed99a 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 @@ -172,7 +172,7 @@ function Test-UpdatePool { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 index 01cd2dd1cf2f..b1a0a15559cb 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 @@ -183,7 +183,7 @@ function Test-UpdateTask { param([string]$accountName, [string]$jobId, [string]$taskId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $task = Get-AzureBatchTask_ST $jobId $taskId -BatchContext $context diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountCommand.cs index c44be7f1441d..c96b3d129008 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Batch { - [Cmdlet(VerbsCommon.Get, Constants.AzureRMBatchAccount), OutputType(typeof(BatchAccountContext))] + [Cmdlet(VerbsCommon.Get, Constants.AzureRmBatchAccount), OutputType(typeof(BatchAccountContext))] public class GetBatchAccountCommand : BatchCmdletBase { [Alias("Name")] diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs index 4aebcda70028..59f857894aa3 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Batch { - [Cmdlet(VerbsCommon.Get, Constants.AzureRMBatchAccountKeys), OutputType(typeof(BatchAccountContext))] + [Cmdlet(VerbsCommon.Get, Constants.AzureRmBatchAccountKeys), OutputType(typeof(BatchAccountContext))] public class GetBatchAccountKeysCommand : BatchCmdletBase { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountCommand.cs index ecd36b03e35a..40af1c9f1fe2 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Batch { - [Cmdlet(VerbsCommon.New, Constants.AzureRMBatchAccount), OutputType(typeof(BatchAccountContext))] + [Cmdlet(VerbsCommon.New, Constants.AzureRmBatchAccount), OutputType(typeof(BatchAccountContext))] public class NewBatchAccountCommand : BatchCmdletBase { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs index 14bb82c62ffe..6bdcb76a690b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Batch { - [Cmdlet(VerbsCommon.New, Constants.AzureRMBatchAccountKey), OutputType(typeof(BatchAccountContext))] + [Cmdlet(VerbsCommon.New, Constants.AzureRmBatchAccountKey), OutputType(typeof(BatchAccountContext))] public class RegenBatchAccountKeyCommand : BatchCmdletBase { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs index 8c5862fcbd09..ea7571a638b7 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Batch { - [Cmdlet(VerbsCommon.Remove, Constants.AzureRMBatchAccount)] + [Cmdlet(VerbsCommon.Remove, Constants.AzureRmBatchAccount)] public class RemoveBatchAccountCommand : BatchCmdletBase { private static string mamlCall = "RemoveAccount"; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/SetBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/SetBatchAccountCommand.cs index fe5dc2aa071d..ffd5a5213d83 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/SetBatchAccountCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/SetBatchAccountCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Batch { - [Cmdlet(VerbsCommon.Set, Constants.AzureRMBatchAccount), OutputType(typeof(BatchAccountContext))] + [Cmdlet(VerbsCommon.Set, Constants.AzureRmBatchAccount), OutputType(typeof(BatchAccountContext))] public class SetBatchAccountCommand : BatchCmdletBase { [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs index f2047a0a96d1..c038c2208b5e 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs @@ -19,9 +19,9 @@ public class Constants public const int DefaultMaxCount = 1000; // ARM cmdlet nouns - public const string AzureRMBatchAccount = "AzureRmBatchAccount"; - public const string AzureRMBatchAccountKey = "AzureRmBatchAccountKey"; - public const string AzureRMBatchAccountKeys = "AzureRmBatchAccountKeys"; + public const string AzureRmBatchAccount = "AzureRmBatchAccount"; + public const string AzureRmBatchAccountKey = "AzureRmBatchAccountKey"; + public const string AzureRmBatchAccountKeys = "AzureRmBatchAccountKeys"; // Batch Service cmdlet nouns public const string AzureBatchPool = "AzureBatchPool";