Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down